WO2022067795A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2022067795A1
WO2022067795A1 PCT/CN2020/119719 CN2020119719W WO2022067795A1 WO 2022067795 A1 WO2022067795 A1 WO 2022067795A1 CN 2020119719 W CN2020119719 W CN 2020119719W WO 2022067795 A1 WO2022067795 A1 WO 2022067795A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
data
indication information
information
data packet
Prior art date
Application number
PCT/CN2020/119719
Other languages
French (fr)
Chinese (zh)
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/CN2020/119719 priority Critical patent/WO2022067795A1/en
Priority to CN202080103825.XA priority patent/CN116114207A/en
Publication of WO2022067795A1 publication Critical patent/WO2022067795A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Definitions

  • the present application relates to the field of wireless communication technologies, and in particular, to a communication method and device.
  • the data sender such as a terminal device
  • the base station sends it to the core network
  • the core network sends the data to the receiver.
  • the serving base station of the terminal the serving base station then sends the data to the data receiving terminal (such as another terminal device).
  • Embodiments of the present application provide a communication method and apparatus, which are used to reduce air interface resource consumption in downlink service transmission.
  • a communication method is provided.
  • the method may be performed by a first communication apparatus, and the first communication apparatus may be a communication apparatus or a communication apparatus, such as a chip, capable of supporting the functions required by the communication apparatus to implement the method.
  • the first communication device is a first network device (such as a core network device, a server, etc.), or a chip configured in the first network device for implementing the functions of the network device, or a chip for implementing a network device. other parts of the function of the device.
  • the first communication device is the first network device as an example for description.
  • the method includes: the first network device can receive a first data packet from the first terminal device, where the first data packet includes first indication information and first data. And, receiving a second data packet from the second terminal device, where the second data packet includes second indication information and second data.
  • the first network device may send a third data packet to the first terminal device and the second terminal device, where the third data packet includes the first indication information, the second indication information and third data, the third data, There is an exclusive OR relationship between the second data and the first data.
  • the network device when the first terminal device and the second terminal device communicate with each other, performs XOR processing on the first data sent by the first terminal device and the second data sent by the second terminal device to form third data, and send a third data packet including the third data to the first terminal device and/or the second terminal device.
  • the first terminal device processes the third data and the first data to obtain the second data according to the first indication information
  • the second terminal device processes the third data and the second data to obtain the first data according to the second indication information.
  • data which can reduce air interface consumption during downlink transmission.
  • the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes, or in other words, indicating that the first terminal device and the Service interaction is performed between the second terminal devices; and/or fourth indication information, where the fourth indication information is used to indicate that the first data has not undergone XOR processing.
  • the second data packet may include third indication information and or fourth indication information.
  • the third indication information in the second data packet may indicate that the first terminal device and the second terminal device are mutual target nodes.
  • the fourth indication information in the second data packet may be used to indicate that the second data has not undergone XOR processing.
  • the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing, or the fifth indication information is used to indicate the XOR relationship.
  • the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
  • the first indication information is carried in a specific protocol layer, where the specific protocol layer includes an application layer or an XOR layer, and the XOR layer is located between the PDCP layer and the APP layer.
  • the first network device may receive first information from the first terminal device, where the first information includes at least one of the following information:
  • the target address of the service to which the first data belongs is the target address of the service to which the first data belongs.
  • the source address of the service to which the first data belongs is the source address of the service to which the first data belongs.
  • the first network device may send second information to the first terminal device; the second information includes at least one of the following information: third indication information, where the third indication information is used to indicate the The first terminal device and the second terminal device are mutual target nodes; or, information used to indicate that the second data is obtained according to the third data and the first data; or, a multicast service identifier, the multicast service
  • the identifier is used for the reception of the second data packet; or, the target address of the multicast service, and the target address of the multicast service is the target address of the third data packet; or, used to indicate the first terminal device and the third data packet
  • the information of the sequence between the two terminal devices, the sequence is used to determine the position of the first indication information in the third data packet; or, the PDU session ID of the third data packet; or, the third data packet
  • the first network device may send the second data packet to the first terminal device and the second terminal device in a multicast manner.
  • the first network device includes a UPF
  • the first network device may send third information to the second network device, where the third information is used to request the cell identity of the first terminal device and the second cell identification of the terminal equipment; receiving the cell identification of the first terminal equipment and the cell identification of the second terminal equipment from the second network equipment; determining that the cell identification of the first terminal equipment is the same as the cell identification of the second terminal equipment .
  • the first network device includes a UPF
  • the first network device may further send fourth information to the second network device, where the fourth information is used to indicate the first terminal device and the second terminal device target nodes for each other; receiving fifth information from the second network device, where the fifth information is used to instruct the first network device to determine that the cell identifier of the first terminal device is the same as the cell identifier of the second terminal device, Or, the fifth information is used to determine to send the second data packet to the first terminal device and the second terminal device by multicast.
  • the fourth information includes identification information of the first terminal device and identification information of the second terminal device.
  • the fifth information includes at least one of the following information: the identifier of the first terminal device; or, the identifier of the second terminal device; or, the PDU session information of the first terminal device; Or, the information of the PDU session of the second terminal device.
  • the first network device includes a UPF
  • the first network device may further send fourth information to the second network device, where the fourth information is used to indicate the first terminal device and the second terminal device target nodes for each other.
  • the first network device includes a server or a UPF.
  • the second network device includes an AMF.
  • a communication method is provided.
  • the method may be performed by a second communication device, which may be a communication device or a communication device, such as a chip, capable of supporting the functions required by the communication device to implement the method.
  • the second communication device is a first terminal device (or a second terminal device), or a chip provided in the first terminal device (or a second terminal device) for implementing the function of the network device, or For other components used to realize the function of the network device.
  • the second communication apparatus is the first terminal device as an example for description.
  • the method includes: a first terminal device sends a first data packet, the first data packet includes first indication information and first data, and receives a third data packet from a first network device, the third data packet includes the first indication information and third data, and obtain second data according to the first indication information, wherein the third data, the second data and the first data have an exclusive OR relationship.
  • the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing.
  • the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
  • the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
  • a specific protocol layer of the first terminal device stores the first indication information and the first data.
  • the specific protocol layer of the first terminal device obtains the second data according to the third data and the first data. and / or,
  • the specific protocol layer of the first terminal device determines that the third data packet includes the first indication information; the specific protocol layer of the first terminal device obtains the second data according to the third data and the first data.
  • the specific protocol layer includes an application layer or an XOR layer, where the XOR layer is located between the PDCP layer and the APP layer.
  • the first terminal device may also send first information to the first network device, where the first information includes at least one of the following information: a cell identifier of the first terminal device; or, the first information The destination address of the service to which the data belongs; or, the source address of the service to which the first data belongs.
  • the first terminal device may also receive second information from the first network device or a second network device (eg, AMF), and the second network device is connected to the first network device; the The second information includes at least one of the following information: third indication information, where the third indication information is used to indicate that the first terminal device and the second terminal device are mutual target nodes; or, used to indicate that according to the third data and the first data to obtain the information of the second data; or, the multicast service identifier, the multicast service identifier is used for receiving the second data packet; or, the target address of the multicast service, the The destination address is the destination address of the second data packet; or, information used to indicate the sequence (or primary and secondary sequence) between the first terminal device and the second terminal device, and the sequence is used to determine the first terminal device.
  • the first network device includes a server or a UPF.
  • the second network device includes an AMF.
  • a communication device is provided, for example, the communication device is the first communication device shown above.
  • the first communication apparatus is configured to execute the method in the above-mentioned first aspect or any possible implementation manner thereof.
  • the first communication apparatus may include a module for performing the method in the first aspect or any possible implementation manner thereof, for example, including a processing module and a transceiver module.
  • the transceiver module may include a sending module and a receiving module, and the sending module and the receiving module may be different functional modules, or may be the same functional module, but can implement different functions.
  • the first communication apparatus is a communication device, or a chip or other component provided in the communication device.
  • the communication device is a first network device.
  • the first communication apparatus is the first network device.
  • the transceiver module can be implemented by a transceiver, and the processing module can be implemented by a processor.
  • the sending module may be implemented by a transmitter
  • the receiving module may be implemented by a receiver
  • the transmitter and the receiver may be different functional modules, or may be the same functional module but capable of implementing different functions.
  • the transceiver is implemented by, for example, an antenna, a feeder, a codec and the like in the communication device.
  • the transceiver (or the transmitter and the receiver) is, for example, a communication interface in the chip, and the communication interface is connected with the radio frequency transceiver component in the communication device to Send and receive information through radio frequency transceiver components.
  • the first communication device is taken as the first network device, and the processing module and the transceiver module are taken as examples for introduction.
  • the transceiver module may receive a first data packet from the first terminal device by the first network device, where the first data packet includes the first indication information and the first data, and , receiving a second data packet from the second terminal device, where the second data packet includes second indication information and second data.
  • the transceiver module can also send a third data packet to the first terminal device and the second terminal device, the third data packet includes the first indication information, the second indication information and third data, the third data, the There is an exclusive OR relationship between the second data and the first data.
  • the processing module may be configured to obtain third data according to the first data and the second data, for example, perform XOR processing on the first data and the second data to obtain the third data.
  • the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing.
  • the second data packet may include third indication information and or fourth indication information.
  • the third indication information in the second data packet may indicate that the first terminal device and the second terminal device are mutual target nodes.
  • the fourth indication information in the second data packet may be used to indicate that the second data has not undergone XOR processing.
  • the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
  • the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
  • the first indication information is carried in a specific protocol layer, where the specific protocol layer includes an application layer or an XOR layer, and the XOR layer is located between the PDCP layer and the APP layer.
  • the transceiver module may receive first information from the first terminal device, where the first information includes at least one of the following information:
  • the target address of the service to which the first data belongs is the target address of the service to which the first data belongs.
  • the source address of the service to which the first data belongs is the source address of the service to which the first data belongs.
  • the transceiver module may send second information to the first terminal device; the second information includes at least one of the following information: third indication information, where the third indication information is used to indicate the first terminal device
  • the terminal device and the second terminal device are each other's target nodes; or, the information used to indicate that the second data is obtained according to the third data and the first data; or, the multicast service identifier, the multicast service identifier is used for upon receipt of the second data packet; or, the target address of the multicast service, which is the target address of the third data packet; or, used to indicate the first terminal device and the second terminal
  • the information of the sequence between devices the sequence is used to determine the position of the first indication information in the third data packet; or, the PDU session ID of the third data packet; or, the third data packet's PDU session ID The ID of the QoS flow; or, the ID of the DRB of the third data packet.
  • the transceiver module may send the second data packet to the first terminal device and the second terminal device in a multicast manner.
  • the first network device includes a UPF
  • the transceiver module may send third information to the second network device, where the third information is used to request the cell identity of the first terminal device and the second terminal device receiving the cell identity of the first terminal equipment and the cell identity of the second terminal equipment from the second network equipment; the processing module can determine the cell identity of the first terminal equipment and the cell identity of the second terminal equipment same.
  • the first network device includes a UPF
  • the transceiver module may further send fourth information to the second network device, where the fourth information is used to indicate that the first terminal device and the second terminal device are mutual target node; receiving fifth information from the second network device, where the fifth information is used to instruct the first network device to determine that the cell identifier of the first terminal device is the same as the cell identifier of the second terminal device, or, The fifth information is used to determine to send the second data packet to the first terminal device and the second terminal device by multicast.
  • the fourth information includes identification information of the first terminal device and identification information of the second terminal device.
  • the fifth information includes at least one of the following information: the identifier of the first terminal device; or, the identifier of the second terminal device; or, the PDU session information of the first terminal device; Or, the information of the PDU session of the second terminal device.
  • the first network device includes a UPF
  • the first network device may further send fourth information to the second network device, where the fourth information is used to indicate the first terminal device and the second terminal device target nodes for each other.
  • the first network device includes a server or a UPF.
  • the second network device includes an AMF.
  • a communication device is provided, for example, the communication device is the second communication device shown above.
  • the second communication apparatus is configured to perform the method in the second aspect or any possible implementation manner thereof.
  • the second communication apparatus may include a module for executing the method in the second aspect or any possible implementation manner thereof, for example, including a processing module and a transceiver module.
  • the transceiver module may include a sending module and a receiving module, and the sending module and the receiving module may be different functional modules, or may be the same functional module, but can implement different functions.
  • the second communication apparatus is a communication device, or a chip or other components provided in the communication device.
  • the communication device is a first terminal device (or a second terminal device).
  • the second communication apparatus is a first terminal device, for example, the first terminal device is a UE.
  • the transceiver module can also be implemented by a transceiver, and the processing module can also be implemented by a processor.
  • the sending module may be implemented by a transmitter
  • the receiving module may be implemented by a receiver
  • the transmitter and the receiver may be different functional modules, or may be the same functional module but capable of implementing different functions.
  • the transceiver is implemented by, for example, an antenna, a feeder, a codec and the like in the communication device.
  • the transceiver (or the transmitter and the receiver) is, for example, a communication interface in the chip, and the communication interface is connected with the radio frequency transceiver component in the communication device to Send and receive information through radio frequency transceiver components.
  • the second communication device is the first terminal device, and the processing module and the transceiver module are taken as examples for introduction.
  • the transceiver module may send a first data packet, where the first data packet includes first indication information and first data, and receive a third data packet from the first network device, the The third data packet includes the first indication information and the third data, and the processing module can obtain the second data according to the first indication information, wherein the third data, the second data and the first data are different from each other. or relationship.
  • the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing.
  • the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
  • the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
  • the processing module stores the first indication information and the first data in the specific protocol layer of the first terminal device; the processing module stores the first indication information and the first data in the specific protocol layer of the first terminal device according to the first The indication information and the first data are obtained, and the second data is obtained. and / or,
  • the processing module determines that the third data packet includes the first indication information according to the first indication information stored in the specific protocol layer of the first terminal device; the processing module determines according to the first indication information stored in the specific protocol layer of the first terminal device. data and the third data and the first data to obtain the second data.
  • the specific protocol layer includes an application layer or an XOR layer, where the XOR layer is located between the PDCP layer and the APP layer.
  • the transceiver module may also send first information to the first network device, where the first information includes at least one of the following information: a cell identifier of the first terminal device; or, the first data The destination address of the service to which the first data belongs; or, the source address of the service to which the first data belongs.
  • the transceiver module may also receive second information from the first network device or a second network device (eg, AMF), where the second network device is connected to the first network device; the second network device is connected to the first network device.
  • the information includes at least one of the following information: third indication information, which is used to indicate that the first terminal device and the second terminal device are mutual target nodes; or, is used to indicate that according to the third data and
  • the first data obtains the information of the second data; or, the multicast service identifier, the multicast service identifier is used for receiving the second data packet; or, the destination address of the multicast service, the destination address of the multicast service is the destination address of the second data packet; or, information used to indicate the sequence (or primary and secondary sequence) between the first terminal device and the second terminal device, and the sequence is used to determine the first indication
  • the first network device includes a server or a UPF.
  • the second network device includes an AMF.
  • a communication system including the communication device shown in the third aspect and the communication device shown in the fourth aspect.
  • a computer-readable storage medium is provided, the computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed on a computer, the computer is made to perform the above-mentioned first aspect or the second aspect or any of them.
  • a seventh aspect provides a computer program product comprising instructions, the computer program product including computer instructions, when the computer instructions are run on a computer, the computer is made to perform the above-mentioned first aspect or the second aspect or any one possibility thereof The method shown in the embodiment of .
  • a circuit is provided, the circuit being coupled to a memory, the circuit being used to perform the method shown in the first aspect or the second aspect or any one of the possible implementations thereof.
  • the circuitry may include chip circuitry.
  • FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a communication protocol stack architecture
  • FIG. 3 is a schematic diagram of another communication protocol stack architecture
  • FIG. 4 is a schematic diagram of the architecture of another communication system provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a data packet provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another data packet provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another data packet provided by an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of another data packet provided by an embodiment of the application.
  • FIG. 12 is a schematic structural diagram of another data packet provided by an embodiment of the application.
  • FIG. 13 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of a communication protocol stack architecture provided by an embodiment of the present application.
  • 15 is a schematic diagram of another communication protocol stack architecture provided by an embodiment of the present application.
  • FIG. 16 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • 17 is a schematic diagram of another communication protocol stack architecture provided by an embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 19 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 20 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 21 is a schematic structural diagram of another communication apparatus provided by an embodiment of the present application.
  • the communication method provided by the embodiment of the present application may be applied to a wireless communication system, and the wireless communication system may include a terminal device 101 and a network device 102 .
  • wireless communication system is applicable to both low frequency scenarios (sub 6G) and high frequency scenarios (above 6G).
  • Application scenarios of the wireless communication system include, but are not limited to, fifth-generation systems, new radio (NR) communication systems, or future evolved public land mobile network (PLMN) systems, and the like.
  • NR new radio
  • PLMN public land mobile network
  • the terminal device 101 shown above may be a user equipment (UE), a terminal (terminal), an access terminal, a terminal unit, a terminal station, a mobile station (mobile station, MS), a remote station, a remote terminal, a mobile terminal ( mobile terminal), wireless communication equipment, terminal agent or terminal equipment, etc.
  • the terminal device 101 may have a wireless transceiver function, which can communicate with one or more network devices of one or more communication systems (eg, wireless communication), and accept network services provided by the network devices, where the network devices include but not
  • the network device 102 is limited to the illustration.
  • the terminal device 101 may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) device, Handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks or terminal devices in future evolved PLMN networks, etc.
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • the terminal device 101 can be deployed on land, including indoor or outdoor, handheld or vehicle; the terminal device 101 can also be deployed on water (such as ships, etc.); the terminal device 101 can also be deployed in the air (such as aircraft, balloons and satellites) superior).
  • the terminal device 101 may specifically be a mobile phone (mobile phone), a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal, an augmented reality (augmented reality, AR) terminal, an industrial control (industrial control) wireless terminal in control), wireless terminal in self-driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety Terminals, wireless terminals in smart cities, wireless terminals in smart homes, etc.
  • the terminal device 101 may also be a communication chip with a communication module, a vehicle with a communication function, or an in-vehicle device (such as an in-vehicle communication device, an in-vehicle communication chip) or the like.
  • the network device 102 may be an access network device (or an access network point).
  • the access network device refers to a device that provides a network access function, such as a radio access network (radio access network, RAN) base station (or RAN device) and the like.
  • the network device 102 may specifically include a base station (base station, BS), or include a base station and a radio resource management device for controlling the base station, and the like.
  • the network device 102 may also include a relay station (relay device), an access point, a base station in a future 5G network, a base station in a future evolved PLMN network, or an NR base station, and the like.
  • the network device 102 may be a wearable device or a vehicle-mounted device.
  • the network device 102 may also be a communication chip with a communication module.
  • the network device 102 includes, but is not limited to: the next generation base station (g nodeB, gNB) in 5G, the evolved node B (evolved node B, eNB) in the long term evolution (long term evolution, LTE) system, radio network control radio network controller (RNC), wireless controller under cloud radio access network (CRAN) system, base station controller (BSC), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand unit, BBU), transmission point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, global aystem for mobile communication , GSM) or code division multiple access (code division multiple access, CDMA) network base transceiver station (base transceiver station, BTS), can also be wideband code division multiple access (wideband code division multiple access, WCDMA) in A node base station (NB) can also be an evolutional NB (eNB or eNodeB)
  • network devices may include centralized units (CUs) and distributed units (DUs).
  • the network equipment may also include an active antenna unit (AAU).
  • CU implements some functions of network equipment, and DU implements some functions of network equipment.
  • CU is responsible for processing non-real-time protocols and services, implementing radio resource control (RRC), packet data convergence layer protocol (packet data convergence protocol, PDCP) layer function.
  • RRC radio resource control
  • PDCP packet data convergence layer protocol
  • the DU is responsible for processing physical layer protocols and real-time services, and implementing the functions of the radio link control (RLC) layer, the media access control (MAC) layer and the physical (PHY) layer.
  • RLC radio link control
  • MAC media access control
  • PHY physical layer
  • the higher-layer signaling such as the RRC layer signaling
  • the network device may be a device including one or more of a CU node, a DU node, and an AAU node.
  • the CU can be divided into network devices in the access network (radio access network, RAN), and the CU can also be divided into network devices (may be referred to as CN devices) in the core network (core network, CN). This is not limited.
  • the network device 102 may be connected to a core network (core network, CN) device, and the core network device may be used to provide core network services for the terminal device 101 accessing the network device 102 .
  • Core network devices can correspond to different devices under different systems.
  • the core network equipment can correspond to the service support node (serving GPRS support node, SGSN) of general packet radio service technology (general packet radio service, GPRS) and/or the gateway support node of GPRS (gateway GPRS Support Node, GGSN) .
  • the core network device may correspond to a mobility management entity (mobility management entity, MME) and/or a serving gateway (serving gateway, S-GW).
  • MME mobility management entity
  • serving gateway serving gateway
  • core network equipment can correspond to access and mobility management function (AMF) entities, session management function (SMF) entities, or user plane function (UPF) entities, etc. .
  • AMF access and mobility management function
  • SMF session management function
  • UPF user plane function
  • FIG. 2 is a schematic diagram of a protocol stack structure of a network device and a terminal device.
  • the dotted line indicates that data is sent from the network device to the terminal device. It can be understood that this is only schematic, and the direction of data transmission may also be from the terminal device to the network device.
  • the control plane protocol stack structure may include a radio resource control (RRC) layer, a service data adaptation protocol (SDAP) layer, and a packet data convergence layer protocol (packet data convergence protocol).
  • RRC radio resource control
  • SDAP service data adaptation protocol
  • packet data convergence layer protocol packet data convergence protocol
  • the physical layer is located at the lowest layer (layer 1), the MAC layer, RLC layer, PDCP layer and SDAP layer belong to the second layer (layer 2), and the RRC layer belongs to the third layer (layer 3).
  • the data first arrives at the PDCP layer of the network device, and then is transmitted to the RLC layer and the MAC layer after being processed by the PDCP layer of the network device. After being processed, it is sent from the physical layer and transmitted to the terminal device through the air interface. Then, each protocol layer on the terminal device side sequentially performs corresponding processing on the data packets according to the processing sequence opposite to that of the network device.
  • the processing of data packets by various layers can be visually combined, which is called wireless bearer. For each data in the wireless bearer, it needs to be processed by each layer, and each layer has corresponding functions. entity to perform the corresponding function, such as the PDCP entity of the PDCP layer.
  • Each radio bearer configuration will contain a PDCP entity, and at the same time, the radio bearer configuration will be associated with at least one RLC entity, and each RLC entity corresponds to a logical channel.
  • the SDAP layer is responsible for mapping data from the core network to different bearers.
  • SDAP Secure Digital
  • PDCP Packet Control Protocol
  • RLC Radio Link Control
  • MAC packet headers need to be added before the original data is transmitted at the physical layer.
  • the headers of some layers are optional.
  • SDAP and RLC have transmission modes without headers.
  • PDCP, SDAP and original data packets are in one-to-one correspondence.
  • the RLC may cut a PDCP packet, and the MAC may cascade and send multiple RLC packets.
  • the protocol architecture (user plane protocol architecture) involved in cellular communication data transmission.
  • the data packet is first generated by the application (application, APP) layer, and the packet generated by the APP layer (hereinafter referred to as the APP layer packet) may include a packet header and a payload.
  • the APP layer packet can be a transmission control protocol (transmission control protocol, TCP)/Internet protocol (internet protocol, IP) packet (or in other words, the packet header of the APP layer packet is a TCP/IP packet header), or it can be an Ethernet (ethernet) protocol.
  • TCP transmission control protocol
  • IP Internet protocol
  • the MAC packet (or in other words, the packet header of the APP layer packet is the ethernet packet header) is not limited here.
  • the application layer of the server parses the data sent by the terminal device.
  • system and “network” in the embodiments of the present application may be used interchangeably.
  • “At least one” means one or more, and “plurality” means two or more.
  • “And/or”, which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • “At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example "at least one of A, B and C” includes A, B, C, AB, AC, BC or ABC.
  • ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority or importance of multiple objects degree.
  • first threshold and the second threshold are only for distinguishing different thresholds, and do not indicate the difference in priority or importance of the two thresholds.
  • FIG. 4 is a schematic diagram of a network architecture to which an embodiment of the present application is applied.
  • the terminal equipment 431 and the terminal equipment 432 can be connected to the RAN equipment 410 and the core network equipment (also referred to as CN equipment) 420, wherein the RAN equipment 410 is used to access the terminal equipment 431 and the terminal equipment 432 to the In the wireless network, the CN device 420 is used to manage the terminal device and provide a gateway for communication with the external network.
  • the terminal device 431 and the terminal device 432 send communication data to each other, and the terminal device 431 and the terminal device 432 may be referred to as a service pair.
  • the CN device 420 may be an AMF entity, an SMF entity or a UPF entity, etc.
  • the CN device 420 may be MME or S-GW etc.
  • the network architecture shown in Figure 4 above can be applied to communication systems of various radio access technologies (RATs), such as 5G (or NR) communication systems, or LTE communication systems and 5G communication.
  • RATs radio access technologies
  • the transition system between systems, the transition system can also be called a 4.5G communication system, and of course it can also be a future communication system following 5G.
  • the network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present application.
  • the evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • the communication method provided by the embodiment of the present application can be executed by the first terminal device, the second terminal device, and the first network device.
  • the first terminal device and the second terminal device may include the terminal device 101 shown in FIG. 1, and the first network device may include the core network device shown in FIG. 1; or, the first terminal device and the second terminal device may be respectively
  • the first network device may include the core network device 420 shown in FIG. 4 .
  • the core network device shown in FIG. 1 above or the core network device 420 shown in FIG. 4 may be a service server (server) (hereinafter referred to as a server) or a UPF.
  • server service server
  • UPF UPF
  • the method may include the following steps:
  • the first terminal device sends a first data packet, where the first data packet includes first indication information and first data.
  • the first network device receives the first data packet.
  • the second terminal device sends a second data packet, where the second data packet includes second indication information and second data.
  • the first network device receives the second data packet.
  • the first network device obtains third data according to the first data and the second data, and the third data, the second data and the first data have an exclusive OR relationship.
  • the first network device sends a third data packet, where the third data packet includes the first indication information, the second indication information, and the third data.
  • the first terminal device receives the third data packet
  • the second terminal device receives the third data packet
  • the first terminal device obtains the second data according to the first indication information.
  • the first terminal device may perform an XOR operation (or an inverse XOR operation) on the first data and the third data according to the first indication information to obtain the third data.
  • an XOR operation or an inverse XOR operation
  • the second terminal device obtains the first data according to the second indication information.
  • the second terminal device may perform an XOR operation (or an inverse XOR operation) on the second data and the third data according to the second indication information to obtain the first data.
  • the network device when the first terminal device and the second terminal device communicate with each other, performs XOR processing on the first data sent by the first terminal device and the second data sent by the second terminal device to form third data, and send a third data packet including the third data to the first terminal device and/or the second terminal device.
  • the first terminal device processes the third data and the first data to obtain the second data according to the first indication information
  • the second terminal device processes the third data and the second data to obtain the first data according to the second indication information. data. Therefore, when the first terminal device and the second terminal device communicate with each other, the first network device can send XOR-processed data to the first terminal device and the second terminal device for the first terminal device and the second terminal device.
  • the device obtains the data it needs separately, which can reduce the air interface consumption during downlink transmission.
  • the first network device may send the third data packet to the first terminal device and the second terminal device in a multicast manner, so as to further save air interface consumption.
  • the possible structure of the first data packet is described below by way of example.
  • SN sequence number
  • the first terminal device determines that the third data packet includes the first indication information, it can query the first data packet according to the first indication information to obtain the first data (or in other words, it can query the first data according to the first indication information) ) for determining the second data according to the first data.
  • the first data may include data that the first terminal device needs to send to the second terminal device.
  • the first data packet may further include third indication information and/or fourth indication information.
  • the third indication information can be used to indicate that the first terminal device and the second terminal device are target nodes to each other. Therefore, the indication information can be used to determine which data packets from which terminal devices need to be XORed.
  • the third indication information may include an address pair of the first terminal device and the second terminal device, that is, an address pair consisting of addresses of the first terminal device and the second terminal device respectively; or, the third indication information may include Service pair identifier (Pair ID), such as the identifier assigned by the network to the service pair formed by the first terminal device and the second terminal device; or, including the service identifier of the service transmitted between the first terminal device and the second terminal device, such as Temporary multicast group identifier (TMGI).
  • TMGI Temporary multicast group identifier
  • the fourth indication information may be used to indicate that the data in the first data packet has not undergone XOR processing, or in other words, the fourth indication information may be used to indicate that the data in the first data packet is original data.
  • the fourth indication information is represented by a specific bit in the first data packet, and when the bit is set to a specific value, it can indicate that the data in the first data packet has not undergone XOR processing.
  • the first data packet may carry the first indication information, the first data, the third indication information and the fourth indication information through different information elements, wherein the third indication The information and the fourth indication information are optional.
  • the cell structure shown in FIG. 6 is only a possible example, and the present application does not specifically limit the sequence of the arrangement of the first indication information, the first data, the third indication information and the fourth indication information.
  • at least two of the above first indication information, first data, third indication information and fourth indication information may also be carried in the same cell, for example, different bits in the same cell indicate that the above multiple at least two of the information.
  • the first data may be carried at the APP layer.
  • the first indication information, the third indication information and the fourth indication information may be carried in the APP layer or the XOR layer (wherein, the XOR layer may also have other names, and the specific names are not specifically limited in this application).
  • the XOR layer is a protocol layer above the PDCP layer and below the application layer.
  • the XOR layer is a protocol layer between the SDPA layer and the APP layer.
  • the first indication information, the third indication information and the fourth indication information are carried in the APP layer, as shown in FIG. 7 , the first indication information, the first data, the third indication information and the fourth indication information can be carried in the APP layer in the payload.
  • the fourth indication information and the third indication information are optional contents.
  • the first indication information, the third indication information and the fourth indication information are carried in the XOR layer, as shown in FIG. 8 , the first indication information, the third indication information and the fourth indication information can be carried in the packet header of the XOR layer, The first data can be carried in the payload of the APP layer packet, and the APP layer packet is used as the payload of the XOR layer.
  • the fourth indication information and the third indication information are optional contents.
  • the structure of the second data packet may refer to the structure of the first data packet.
  • the second data packet may include second indication information, second data, third indication information and/or fourth indication information.
  • the second indication information here is used to identify the second data packet sent by the second terminal device, and the setting method of the second indication information may be set with reference to the first indication information.
  • the second data is data sent by the second terminal device to the first terminal device.
  • the third indication information in the second data packet may be used to indicate that the first terminal device and the second terminal device are mutual target nodes, and the setting method may refer to the third indication information in the first data packet.
  • the fourth indication information in the second data packet may be used to indicate that the data in the second data packet has not undergone XOR processing, or in other words, the fourth indication information may be used to indicate that the data in the second data packet is original data.
  • the following example illustrates the manner in which the terminal device obtains the third indication information.
  • Manner 1 The first terminal device and/or the second network device receive the third indication information from the first network device.
  • the first terminal device When the first terminal device needs to transmit data of a certain service, the first terminal device sends first information to the first network device, where the first information may include the cell identifier of the first terminal device and the target address of the service to which the first data belongs. (that is, the destination address of the service to be sent, such as the address of the second terminal device) or at least one information in the source address of the service to which the first data belongs.
  • the cell identifier is, for example, a cell global identifier (cell global identifier, CGI) or a physical cell identifier (physical cell identifier, PCI).
  • the target address of the service is the address of the receiving end of the first data, here, for example, the address of the second terminal device.
  • the source address of the service is the address of the sending end of the first data, here, for example, the address of the first terminal device.
  • the target address and/or source address of the service include the IP address of the service; for the service carried by the ethernet protocol, the target address and/or source address of the service include the MAC address of the service; For services carried by other protocols, the destination address and/or source address of the service includes addresses corresponding to the protocol.
  • the second terminal device sends the first information to the first network device, which carries at least one of the cell identifier of the second terminal device, the destination address of the service to which the second data belongs, or the source address of the service to which the second data belongs,
  • the first network device which carries at least one of the cell identifier of the second terminal device, the destination address of the service to which the second data belongs, or the source address of the service to which the second data belongs.
  • the first network device When the first network device receives the first information from the first terminal device and from the second terminal device, if the first network device recognizes that the first terminal device and the second terminal device belong to the same cell, and the first terminal device When the service data is transmitted with the second terminal device, the data between the first terminal device and the second terminal device can be XORed and sent to the first terminal device and the second terminal device. XOR-processed data, that is, execute the flow shown in FIG. 5 .
  • the first network device may send the second information to the first terminal device and the second terminal device, respectively.
  • the second information may include the above-mentioned third indication information, information used to indicate that the second data is obtained according to the third data and the first data,
  • the multicast service identifier the destination address (or multicast address) of the multicast service, the information used to indicate the sequence (or primary and secondary sequence) between the first terminal device and the second terminal device, all
  • the third indication information may be used to indicate that the first terminal device and the second terminal device are mutual target nodes.
  • the information used for instructing to obtain the second data according to the third data and the first data may be used to instruct the first terminal device to obtain the data from the second terminal device according to the method shown in FIG. 5 .
  • the information can be used to start the execution of the data transmission method shown in FIG. 5 , and all the downlink data subsequently sent to the first terminal device and/or the second terminal device are XOR-processed data , instead of needing to indicate through the fifth indication information in the second data packet. In this way, when the first terminal device receives the third data packet, it can obtain the second data according to the method shown in FIG. 5 .
  • the information can be used to enable the data transmission method shown in FIG.
  • the data packets subsequently sent to the first terminal device and/or the second terminal device do not necessarily have to undergo XOR processing, It is still necessary to indicate whether the data in the data packet has undergone XOR processing through information similar to the fifth indication information in the downlink data packet.
  • the first terminal device receives the information indicating that the second data is obtained according to the third data and the first data, and determines that the third data packet includes fifth indication information, it can The second data is acquired according to the manner shown in FIG. 5 .
  • the multicast service identifier is, for example, the TMGI of the multicast service, which can be used for receiving the second data packet.
  • the first terminal device can receive the data of the multicast service according to the identifier, and the data of the multicast service includes the third data packet.
  • Data packets, or in other words, the multicast service is used to transmit XOR-processed data of the first terminal device and the second terminal device.
  • the destination address of the multicast service is the destination address of the third data packet, for example, the addresses of the first terminal device and/or the second terminal device.
  • the multicast address can be an IP address or a MAC address.
  • the information used to indicate the sequence (or the primary and secondary sequence) between the first terminal device and the second terminal device can be used to determine the position of the first indication information in the third data packet, For example, when the first network device arranges the first indication information and the second indication information in sequence in the third data packet, the information can be used to indicate that the first indication information is located before (or after) the second indication information, so as to facilitate the The first terminal device acquires the first indication information in the third data packet. For example, the value of a specific bit can be set as the first value (corresponding to: the first indication information in the third data packet is located before the second indication information), then the first terminal device can The value determines the first indication information.
  • the second information may further include at least one of the PDU session ID, QoS flow ID or DRB ID of the third data packet, for the first terminal device to receive the first terminal device according to the corresponding PDU session, QoS flow or DRB. Three packets.
  • the first network device may be a server or a UPF, or a network element in other core networks.
  • the first terminal device and/or the second network device can receive the third indication information from the second network device, and the second network device is another network device connected to the first network device.
  • Core network equipment such as AMF.
  • the source address of the data can be the application layer address of the first terminal device (such as the IP address or MAC address of the application layer, etc.), and the destination address is the application layer of the second terminal device.
  • Layer address for example, IP address or MAC address
  • the data is forwarded to the second terminal device through the UPF.
  • the data sent by the second terminal device to the first terminal device is also forwarded to the first terminal device through the UPF.
  • the UPF finds that there are two addresses that are the source address and the destination address of each other (or, plus the condition that the data transmission cycles of the source address and the destination address are mutually consistent), it determines that the services of the two terminal devices have potential Possibility of XOR operation.
  • the UPF when the UPF finds that there are two addresses that are the source address and the destination address of each other, the UPF can subsequently execute the first solution or the second solution or a combination of the two to execute the data between the first terminal device and the second terminal device. XOR transfer.
  • the UPF may send a first message to the AMF for requesting information about the cells where the first terminal equipment and the second terminal equipment are located, wherein the first message may carry the first terminal equipment and the second terminal equipment respectively
  • the identifier in the core network such as subscription permanent identifier (SUPI) or permanent equipment identifier (PEI).
  • the AMF sends a second message (or a response message to the first message) to the UPF.
  • the second message may include the respective serving cell identifiers of the first terminal equipment and the second terminal equipment, so the UPF can identify the first terminal equipment and the second terminal equipment. belong to the same community.
  • the UPF may send a third message to the AMF to notify the AMF of the result, that is, to notify the AMF to the first terminal device and the second terminal device.
  • the terminal device sends the XOR-processed data, or in other words, instructs the AMF to send the XOR-processed data to the first terminal device and the second terminal device, and the notification may include the respective identities of the first terminal device and the second terminal device .
  • the UPF can send the second information to the first terminal device and the second terminal device, for example, UPF
  • the second information may be sent after it is determined that the serving cells of the first terminal equipment and the second terminal equipment are the same; and/or the second information may be sent by the AMF to the first terminal equipment and the second terminal equipment, for example, the AMF is in After receiving the third message, the second information is sent to the first terminal device and the second terminal device.
  • the setting method of the second information please refer to the description in the first method. It should be understood that the present application does not limit the timing when the UPF (and/or AMF) sends the second information to the first terminal device and the second terminal device respectively.
  • the UPF may send a fourth message to the AMF, which is used to indicate that the first terminal device and the second terminal device are the source address and the destination address of data for each other.
  • the fourth message may include the respective identifiers of the first terminal device and the second terminal device (eg, core network identifiers), and may also include the identifiers of the respective PDU sessions of the first terminal device and the second terminal device, and the source of the PDU session. address, target address and other information, the AMF can query the respective serving cells of the first terminal device and the second terminal device according to the fourth message, and determine the first terminal device according to the respective serving cells of the first terminal device and the second terminal device.
  • the AMF can send the second information to the first terminal device and the second terminal device, for example, the AMF
  • the second information can be sent to the first terminal device and the second terminal device; and/or, the UPF can be used to send the second information to the first terminal device and the second terminal device.
  • the second information for example, after receiving the fifth message, the UPF sends the second information to the first terminal device and the second terminal device.
  • the setting method of the second information please refer to the description in the first method. It should be understood that the present application does not limit the timing when the UPF (and/or AMF) sends the second information to the first terminal device and the second terminal device respectively.
  • the third data packet may include part or all of the first indication information, the second indication information, the third indication information, the fifth indication information or the third data.
  • the third data packet when the third data packet is sent to the first terminal device and the second terminal device, the third data packet may include first indication information and second indication information, wherein the first indication information comes from the first terminal device.
  • the sent first data packet, and the second indication information comes from the second data packet sent by the second terminal device.
  • the third data packet can carry third indication information, and the third indication information can be used to identify the service between the first terminal device and the second terminal device. Therefore, the first terminal device can learn according to the third data packet according to the third indication information.
  • the third data in the packet can obtain the data sent by the second terminal device, and the second terminal device can obtain the data sent by the first terminal device according to the third data in the third data packet according to the third indication information.
  • the third data packet may include fifth indication information, and the fifth indication information may be used to indicate that the third data undergoes XOR processing.
  • the fifth indication information may be indicated by the same bit (or cell) as the fourth indication information, and the information carried by this bit may be called an exclusive or (XoR) indication.
  • XoR exclusive or
  • the third data may be carried at the APP layer.
  • the first indication information, the second indication information, the third indication information and the fifth indication information may be carried in the APP layer or the XOR layer.
  • the first indication information, the second indication information, the third indication information and the fifth indication information are carried in the APP layer, as shown in FIG. 11
  • the first indication information, the second indication information, the third indication information and the fifth indication information The information and third data can be carried in the APP layer payload.
  • the fifth indication information and the third indication information are optional contents.
  • the APP layer header shown in FIG. 11 may be a multicast header.
  • the first indication information, the third indication information and the fifth indication information are carried in the XOR layer, as shown in FIG. 12
  • the first indication information, the second indication information, the third indication information and the fifth indication information can be carried in the XOR layer
  • the third data can be carried in the payload of the APP layer packet
  • the APP layer packet is used as the payload of the XOR layer.
  • the fifth indication information and the third indication information are optional contents.
  • the APP layer header shown in FIG. 11 may be a multicast header.
  • the APP layer header shown in FIG. 12 may be a multicast header.
  • the first network device may be a server, the first terminal device and the second terminal device communicate with each other, and the first terminal device and the second terminal device may be connected to the same access network device.
  • the first terminal device and the second terminal device may be referred to as paired terminal devices.
  • the core network device is taken as an example for description.
  • 13 is a flowchart of a communication method provided by the first embodiment of the present application, and the method may include the following steps:
  • S201 The first terminal device and the second terminal device are respectively connected to the Internet, and a server is found. In other words, the first terminal device and the second terminal device are respectively connected to the server.
  • This step may also be referred to as server discovery.
  • the server corresponds to the data sent by the first terminal device and to the data sent by the second terminal device.
  • the server is a server of the service to which the data sent by the first terminal device belongs, and is a server of the service of the data sent by the second terminal device.
  • the first terminal device and the second terminal device respectively report at least one of the following information to the server: 1) The identity of the serving cell (or the cell where it is located), such as CGI and/or PCI. 2) The destination address of the data to be sent. If the service to which the data belongs is carried by the IP protocol, the service to which the data belongs is the IP address; if the service to which the data belongs is carried by the ethernet protocol, the target address is the MAC address; if the service to which the data belongs is carried by other protocols, the target address is the address corresponding to the protocol. 3) The source address of the data to be sent. Similarly, the source address can be an IP address, a MAC address, or an address corresponding to other protocols).
  • the above information reported to the server may be referred to as first information in this application.
  • S203 The server identifies that the first terminal device and the second terminal device satisfy at least condition 1 and condition 2, and determines that the XOR-processed data can be sent to the first terminal device and the second terminal device.
  • Condition 1 and Condition 2 can be expressed as:
  • the destination address of the data packet sent by the first terminal device is the second terminal device, and the destination address of the data packet sent by the second terminal device is the first terminal device.
  • the first terminal device and the second terminal device are the source address and the destination address of the data sent by each other.
  • the serving cell of the first terminal device and the serving cell of the second terminal device are the same serving cell, and/or the serving network device of the first terminal device and the serving network device of the second terminal device are the same serving network device .
  • the serving network device may be an access network device serving the first terminal device and/or the second terminal device.
  • the server when the server identifies, according to the respective serving cell identifiers of the first terminal device and the second terminal device, that the first terminal device and the second terminal device are in the same cell, and that the first terminal device and the second terminal device are services of each other.
  • the server can start the data XOR function, so S204 can be executed.
  • the server may also identify that the first terminal device and the second terminal device are in the same cell according to the respective serving cell identifiers of the first terminal device and the second terminal device from the core network.
  • the method for the server to obtain the respective serving cell identities of the first terminal device and the second terminal device from the core network can refer to the process shown in FIG. The way of identifying the respective serving cells of the terminal equipment.
  • S204 The server sends the second information to the first terminal device and the second terminal device.
  • the second information may include third indication information, information for instructing to obtain the second data according to the third data and the first data, a multicast service identifier, and a destination address of the multicast service (or called multicast address), information used to indicate the sequence between the first terminal device and the second terminal device, the ID of the PDU session of the third data packet, the ID of the QoS of the third data packet Or at least one piece of information in the ID of the DRB of the third data packet.
  • the server sends a multicast service start request to the core network device (such as AMF and/or UPF, etc.), which carries a multicast service identifier to start the multicast service.
  • the multicast service is used to transmit XOR-processed data of the first terminal device and the second terminal device.
  • the first terminal device and the second terminal device respectively send data packets (respectively the first data packet and the second data packet) to the server, and number the data packets respectively, for example, code them as ID1 (that is, the first indication information ) and ID2 (that is, the second indication information), and store the data packet (including the packet header) and the corresponding serial number at the APP layer or the XOR layer. And start a timer 1 and timer 2 respectively.
  • the first data packet and the second data packet respectively sent by the first terminal device and the second terminal device to the server may further include third indication information and/or fourth indication information.
  • third indication information for the contents carried by the first data packet and the second data packet, reference may be made to the foregoing description.
  • the structure of the data packet may be as shown in FIG. 7 .
  • the structure of the data packet may be as shown in FIG. 8 .
  • S207 After the server receives the data packets sent by the first terminal device and the second terminal device, if the time interval between the arrival of the two data packets is within the first duration The data in the device packet and the packet header part are XORed to generate a new data packet (that is, the third data packet), and sent to the core network through the link related to the multicast service identifier indicated to the terminal device in S204 The device (such as the UPF, etc.) and the access network device, the core network device and the access network device send the third data packet to the first terminal device and the second terminal device in a multicast manner.
  • the device such as the UPF, etc.
  • the new data packet may include first indication information, second indication information and third data.
  • the third data packet may further include third indication information and fifth indication information.
  • the content carried by the third data packet reference may be made to the foregoing description.
  • the structure of the new data packet may be as shown in FIG. 11 .
  • the structure of the new data packet may be as shown in FIG. 12 .
  • the target address of the third data packet can be set to the IP multicast address of the multicast service; if the header of the third data packet is the ethernet header, then the The destination address of the three packets is set to the MAC multicast address.
  • the first terminal device and the second terminal device use the second information received in S204 to receive the third data packet sent by multicast, and search for the data packets previously stored in the APP layer or respectively according to the numbers in the third data packets.
  • the XOR layer stores the data packets with the same number (including the packet header), obtains the data in the data packets, performs XOR operation on the third data packet according to the data, and obtains the data after the XOR operation.
  • the first terminal device and the second terminal device can respectively receive the multicast service associated with the TMGI according to the TMGI to obtain the third data packet.
  • the server can determine the data to be XORed to the first terminal device and the second terminal device, so as to reduce downlink overhead.
  • the protocol architecture (user plane protocol architecture) involved in the above data transmission process is shown in FIG. 14 .
  • the first terminal device and the second terminal device send data to the server, the first terminal device and the second terminal device can generate a data packet at the APP layer, and the data packet can have the structure shown in FIG.
  • a first data packet generated by a terminal device may include first data
  • a second data packet generated by a second terminal device may include second data.
  • the APP layer of the first terminal device may store the first indication information and the first data
  • the APP layer of the second terminal device may store the second indication information and the second data.
  • the server may generate a data packet at the APP layer, and the data packet may have the structure shown in FIG. 11 , wherein the payload of the data packet carries the third data packet. data, and then the server sends the third data packet to the first terminal device and the second terminal device.
  • the APP layer of the first terminal device can determine that the third data packet includes the first indication information according to the stored first indication information, and further perform an exclusive OR operation according to the third data and the stored first data to obtain the second data .
  • the APP layer of the second terminal device can determine that the third data packet includes the second indication information according to the stored second indication information, and further can perform an exclusive OR operation according to the third data and the stored second data to obtain the second data packet. data.
  • the protocol architecture (user plane protocol architecture) involved in the above data transmission process is shown in FIG. 15 .
  • the first terminal device and the second terminal device send data to the server, the first terminal device and the second terminal device can generate data packets at the APP layer, and the load of the data packets generated by the first terminal device can include the first data , the payload of the data packet generated by the first terminal device may include the second data; the XOR layers (which may also have other names) of the first terminal device and the second terminal device respectively use the data packet generated by the APP layer as the payload to generate the XOR layer Data packet, the structure of the XOR layer data packet is shown in Figure 8.
  • the XOR layer may use other layer data packets including the APP layer data packets as payloads to generate XOR layer data packets.
  • protocol layers such as TCP/user datagram protocol (UDP) layer, IP or MAC layer, etc.
  • the header of the XOR layer data packet generated by the first terminal device may include fourth indication information, first indication information, and third indication information, wherein the fourth indication information and the third indication information are optional;
  • the packet header of the XOR layer data packet generated by the second terminal device may include fourth indication information, first indication information, and third indication information, where the fourth indication information and the third indication information are optional.
  • the XOR layer of the first terminal device may store the first indication information and the first data
  • the XOR layer of the second terminal device may store the second indication information and the second data.
  • the XOR layer can use the APP layer data packet as a payload to generate an XOR layer data packet, and the XOR layer data packet can have the structure shown in FIG. 12 .
  • the packet header of the XOR layer data packet may include fifth indication information, first indication information, second indication information and third indication information, wherein the fifth indication information and the third indication information are optional.
  • the server may send the third data packet to the first terminal device and the second terminal device respectively. It can be determined by the XOR layer of the first terminal equipment that the third data packet includes the first indication information according to the stored first indication information, and further, an XOR operation can be performed according to the third data and the stored first data to obtain the second data.
  • the XOR layer of the second terminal device can determine that the third data packet includes the second indication information according to the stored second indication information, and can further perform an XOR operation according to the third data and the stored second data to obtain the second data packet. data.
  • the first network device may be a UPF.
  • the first terminal device and the second terminal device communicate with each other, and the first terminal device and the second terminal device may be connected to the same access network device.
  • the first terminal device and the second terminal device may be referred to as paired terminal devices.
  • FIG. 16 is a flowchart of a communication method provided by the second embodiment of the present application, and the method may include the following steps:
  • the first terminal device and the second terminal device respectively send data packets to the UPF (wherein, the data packet from the first terminal device may be referred to as the first data packet, and the data packet from the second terminal device may be referred to as the first data packet two packets).
  • the application layer address of the data packet (or data) sent by the first terminal device is the application layer address of the second terminal device, so the data needs to be forwarded by the UPF to reach the second terminal device.
  • the application layer address of the packet (or data) sent by the second terminal device is the application layer address of the first terminal device, so the data needs to be forwarded by the UPF to reach the first terminal device.
  • the UPF determines that the destination address of the data from the first terminal device is the address of the second terminal device, and the destination of the data from the second terminal device The address is the address of the first terminal device.
  • the first terminal device and the second terminal device are the source address and destination address of the data sent by each other, or in other words, it is determined that the destination address of the data packet sent by the first terminal device is the second terminal device, And the destination address of the data packet sent by the second terminal device is the first terminal device.
  • the UPF sends a first message to the AMF, which is used to request the identifiers of the respective serving cells of the first terminal device and the second terminal device.
  • the first message may carry the respective identifiers of the first terminal device and the second terminal device.
  • the UPF receives the second message from the AMF, which includes the identifiers of the respective serving cells of the first terminal device and the second terminal device.
  • the UPF determines, according to the identities of the respective serving cells of the first terminal device and the second terminal device, that the first terminal device and the second terminal device belong to the same serving cell.
  • the UPF sends a third message to the AMF, which is used to instruct to send the XOR-processed data to the first terminal device and the second terminal device.
  • the third message includes the respective identifiers of the first terminal device and the second terminal device.
  • the UPF sends a fourth message to the AMF, which is used to indicate that the first terminal device and the second terminal device are the source address and the destination address of each other's data.
  • the AMF determines, according to the fourth message, that the serving cells to which the first terminal device and the second terminal device belong are the same.
  • the AMF sends a fifth message to the UPF, which is used to instruct to send the XOR-processed data to the first terminal device and the second terminal device.
  • the UPF sends the second information to the first terminal device and the second terminal device.
  • the second information may include third indication information, information for instructing to obtain the second data according to the third data and the first data, a multicast service identifier, and a destination address of the multicast service (or called multicast address), information used to indicate the sequence between the first terminal device and the second terminal device, the ID of the PDU session of the third data packet, the ID of the QoS of the third data packet Or at least one piece of information in the ID of the DRB of the third data packet.
  • S311 The AMF sends the second information to the first terminal device and the second terminal device.
  • the second information may include third indication information, information for instructing to obtain the second data according to the third data and the first data, a multicast service identifier, and a destination address of the multicast service (or called multicast address), information used to indicate the sequence between the first terminal device and the second terminal device, the ID of the PDU session of the third data packet, the ID of the QoS of the third data packet Or at least one piece of information in the ID of the DRB of the third data packet.
  • the first terminal device and the second terminal device respectively send data packets (respectively the first data packet and the second data packet) to the UPF, and number the data packets respectively, for example, code them as ID1 (that is, the first indication information ) and ID2 (that is, the second indication information), and store the data packet (including the packet header) and the corresponding serial number at the APP layer or the XOR layer. And start a timer 1 and timer 2 respectively.
  • the first data packet and the second data packet respectively sent by the first terminal device and the second terminal device to the UPF may further include third indication information and/or fourth indication information.
  • the contents carried by the first data packet and the second data packet reference may be made to the foregoing description.
  • the structure of the data packet may be as shown in FIG. 7 .
  • the structure of the data packet may be as shown in FIG. 8 .
  • the data and the packet header part in the XOR operation are performed to generate a new data packet (that is, the third data packet), and sent to the core network equipment (such as UPF, etc.) and the access network device, the core network device and the access network device send the third data packet to the first terminal device and the second terminal device by multicast.
  • the first duration may be determined in a pre-configured manner, or indicated by the server.
  • the new data packet may include first indication information, second indication information and third data.
  • the third data packet may further include third indication information and fifth indication information.
  • the content carried by the third data packet reference may be made to the foregoing description.
  • the structure of the new data packet may be as shown in FIG. 11 .
  • the structure of the new data packet may be as shown in FIG. 12 .
  • the target address of the third data packet can be set to the IP multicast address of the multicast service; if the header of the third data packet is the ethernet header, then the The destination address of the three packets is set to the MAC multicast address.
  • S314 The first terminal device and the second terminal device use the second information received in S310 or S311 to receive the third data packet sent in a multicast manner, and search for the data packets previously stored in the The data packet (including the packet header) with the same number stored in the APP layer or the XOR layer is obtained, and the data in the data packet is obtained, and the XOR operation is performed on the third data packet according to the data to obtain the data after the XOR operation.
  • the first terminal device and the second terminal device can respectively receive the multicast service associated with the TMGI according to the TMGI to obtain the third data packet.
  • the UPF or the AMF can determine the data that has undergone XOR processing to the first terminal device and the second terminal device, so as to reduce downlink overhead.
  • the protocol architecture (user plane protocol architecture) involved in the above data transmission process is shown in FIG. 17 .
  • the first terminal device and the second terminal device send data to the UPF
  • the first terminal device and the second terminal device can generate data packets at the APP layer
  • the payload of the data packets generated by the first terminal device can include the first data
  • the payload of the data packet generated by the first terminal device may include the second data
  • the XOR layers (which may also have other names) of the first terminal device and the second terminal device respectively use the data packet generated by the APP layer as the payload to generate the XOR layer
  • the structure of the XOR layer data packet is shown in Figure 8.
  • the XOR layer may include the APP layer data packets. Other layer packets are used as payloads to generate XOR layer packets.
  • the header of the XOR layer data packet generated by the first terminal device may include fourth indication information, first indication information, and third indication information, wherein the fourth indication information and the third indication information are optional;
  • the packet header of the XOR layer data packet generated by the second terminal device may include fourth indication information, first indication information, and third indication information, where the fourth indication information and the third indication information are optional.
  • the XOR layer of the first terminal device may store the first indication information and the first data
  • the XOR layer of the second terminal device may store the second indication information and the second data.
  • the UPF may generate an APP layer data packet at the APP layer, and the load of the APP layer data packet may include the third data, and thereafter, the first network device's
  • the XOR layer can use the APP layer data packet as a payload to generate an XOR layer data packet, and the XOR layer data packet can have the structure shown in FIG. 12 .
  • the packet header of the XOR layer data packet may include fifth indication information, first indication information, second indication information and third indication information, wherein the fifth indication information and the third indication information are optional.
  • the UPF may send the third data packet to the first terminal device and the second terminal device, respectively.
  • the XOR layer of the first terminal device can determine that the third data packet includes the first indication information according to the stored first indication information, and further can perform an exclusive OR operation according to the third data and the stored first data to obtain the second data.
  • the XOR layer of the second terminal device can determine that the third data packet includes the second indication information according to the stored second indication information, and can further perform an XOR operation according to the third data and the stored second data to obtain the second data packet. data.
  • FIG. 18 is a schematic block diagram of a communication apparatus provided by an embodiment of the present application.
  • the communication device is, for example, the communication device 1800 shown in FIG. 18 .
  • the communication device 1800 includes a processing module 1810 and a transceiver module 1820 .
  • the communication apparatus 1800 may be the first network device, or may be a chip applied in the first network device (such as a server, UPF or other core network element) or other combined device having the function of the first network device. , components, etc.
  • the transceiver module 1820 may be a transceiver
  • the transceiver may include an antenna and a radio frequency circuit
  • the processing module 1810 may be a processor, such as a baseband processor, and the baseband processor may include one or more Multiple central processing units (CPUs).
  • CPUs Multiple central processing units
  • the transceiver module 1820 may be a radio frequency unit, and the processing module 1810 may be a processor, such as a baseband processor.
  • the transceiver module 1820 may be an input/output interface of a chip (eg, a baseband chip), and the processing module 1810 may be a processor of the system-on-chip, which may include one or more central processing units.
  • processing module 1810 in this embodiment of the present application may be implemented by a processor or a circuit component related to the processor, and the transceiver module 1820 may be implemented by a transceiver or a circuit component related to the transceiver.
  • the processing module 1810 may be configured to perform all operations performed by the first network device in the flow shown in FIG. 5 , FIG. 13 or FIG. 16 , except for the transceiving operation, such as the exclusive operation of the first data and the second data. or operations, S103, S203, S302, and S305, etc.; and/or other processes for supporting the techniques described herein, such as generating messages, information, and/or signaling sent by the transceiving module 1820, and Received messages, information and/or signaling are processed.
  • the transceiver module 1820 may be configured to perform all receiving and sending operations performed by the first network device in the embodiment shown in FIG. 5, FIG. 13 or FIG.
  • the transceiver module 1820 may be a functional module, and the function module can complete both the sending operation and the receiving operation.
  • the transceiver module 1820 may be used to perform the first operation in the embodiments shown in FIG. 5 , FIG. 13 or FIG. 16 . All sending and receiving operations performed by the network device.
  • the transceiver module 1820 when performing a sending operation, can be considered as a sending module, and when performing a receiving operation, the transceiver module 1820 can be considered as a receiving module; or, the transceiver module 1820 It can also be two functional modules.
  • the transceiver module 1820 can be regarded as a general term for these two functional modules. These two functional modules are respectively a sending module and a receiving module.
  • the sending module is used to complete the sending operation.
  • the sending module can be used to execute For all sending operations performed by the first network device in the embodiment shown in FIG. 5, FIG. 13 or FIG. 16, the receiving module is used to complete the receiving operation.
  • the receiving module can be used to perform the operations shown in FIG. 5, FIG. All receive operations performed by the first network device in the illustrated embodiment.
  • the transceiver module 1820 may receive the first data packet from the first terminal device by the first network device, where the first data packet includes the first indication information and the first data, and, A second data packet is received from the second terminal device, where the second data packet includes second indication information and second data.
  • the transceiver module 1820 may also send a third data packet to the first terminal device and the second terminal device, where the third data packet includes the first indication information, the second indication information and third data, the third data, There is an exclusive OR relationship between the second data and the first data.
  • the processing module 1810 may be configured to obtain third data according to the first data and the second data, for example, perform XOR processing on the first data and the second data to obtain the third data.
  • the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing.
  • the second data packet may include third indication information and or fourth indication information.
  • the third indication information in the second data packet may indicate that the first terminal device and the second terminal device are mutual target nodes.
  • the fourth indication information in the second data packet may be used to indicate that the second data has not undergone XOR processing.
  • the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
  • the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
  • the first indication information is carried in a specific protocol layer, where the specific protocol layer includes an application layer or an XOR layer, and the XOR layer is located between the PDCP layer and the APP layer.
  • the transceiver module 1820 may receive first information from the first terminal device, where the first information includes at least one of the following information:
  • the target address of the service to which the first data belongs is the target address of the service to which the first data belongs.
  • the source address of the service to which the first data belongs is the source address of the service to which the first data belongs.
  • the transceiver module 1820 may send second information to the first terminal device; the second information includes at least one of the following information: third indication information, where the third indication information is used to indicate the first terminal device.
  • a terminal device and a second terminal device are mutual target nodes; or, information used to indicate that the second data is obtained according to the third data and the first data; or a multicast service identifier, the multicast service identifier used for the reception of the second data packet; or, the target address of the multicast service, the target address of the multicast service is the target address of the third data packet; or, used to indicate the first terminal device and the second Information about the sequence between terminal devices, the sequence is used to determine the position of the first indication information in the third data packet; or, the PDU session ID of the third data packet; or, the third data packet The ID of the QoS flow; or, the ID of the DRB of the third data packet.
  • the transceiver module 1820 may send the second data packet to the first terminal device and the second terminal device in a multicast manner.
  • the first network device includes a UPF
  • the transceiver module 1820 may send third information to the second network device, where the third information is used to request the cell identity of the first terminal device and the second terminal
  • the cell identifier of the device; the cell identifier of the first terminal device and the cell identifier of the second terminal device are received from the second network device; the processing module 1810 can determine the cell identifier of the first terminal device and the cell identifier of the second terminal device.
  • the cell IDs are the same.
  • the first network device includes a UPF
  • the transceiver module 1820 may also send fourth information to the second network device, where the fourth information is used to instruct the first terminal device to communicate with the second terminal device is a target node; receives fifth information from the second network device, where the fifth information is used to instruct the first network device to determine that the cell identity of the first terminal device is the same as the cell identity of the second terminal device, or , and the fifth information is used to determine to send the second data packet to the first terminal device and the second terminal device by multicast.
  • the fourth information includes identification information of the first terminal device and identification information of the second terminal device.
  • the fifth information includes at least one of the following information: the identifier of the first terminal device; or, the identifier of the second terminal device; or, the PDU session information of the first terminal device; Or, the information of the PDU session of the second terminal device.
  • the first network device includes a UPF
  • the first network device may further send fourth information to the second network device, where the fourth information is used to indicate the first terminal device and the second terminal device target nodes for each other.
  • the first network device includes a server or a UPF.
  • the second network device includes an AMF.
  • the communication device 1900 includes a processing module 1910 and a transceiver module 1920 .
  • the communication apparatus 1900 may be the first terminal device (or the second terminal device), or may be a chip applied in the first terminal device (or the second terminal device), or other devices with the first terminal device (or the second terminal device). Combination devices, components, etc.
  • the transceiver module 1920 may be a transceiver
  • the transceiver may include an antenna and a radio frequency circuit, etc.
  • the processing module 1910 may be a processor, such as a baseband processor, a baseband
  • the processor may include one or more central processing units (CPUs).
  • the transceiver module 1920 may be a radio frequency unit, and the processing module 1910 may be a processor, such as a baseband processor.
  • the transceiver module 1920 may be an input/output interface of a chip (eg, a baseband chip), and the processing module 1910 may be a processor of the chip system, which may include one or more central processing units.
  • processing module 1910 in this embodiment of the present application may be implemented by a processor or a circuit component related to the processor, and the transceiver module 1920 may be implemented by a transceiver or a circuit component related to the transceiver.
  • the processing module 1910 may be configured to perform all operations except the transceiving operation performed by the first terminal device (or the second terminal device) in the flow shown in FIG. 5 , FIG. 13 or FIG. 16 , such as performing S103 , Steps such as S208 and S314; and/or other processes for supporting the techniques described herein, such as generating messages, information and/or signaling sent by the transceiving module 1920, and / or signaling for processing.
  • the transceiver module 1920 can be used to perform all the receiving and sending operations performed by the first terminal device (or the second terminal device) in the embodiment shown in FIG. 5, FIG. 13 or FIG. 16, such as S101, S102, S104-S105 and/or other processes for supporting the techniques described herein.
  • the transceiver module 1920 may be a functional module, and the function module can perform both sending and receiving operations.
  • the transceiver module 1920 may be used to perform the first operation in the embodiments shown in FIG. 5 , FIG. 13 or FIG. 16 . All sending and receiving operations performed by the terminal device (or the second terminal device).
  • the transceiver module 1920 when performing a sending operation, can be considered as a sending module, and when performing a receiving operation, the transceiver module 1920 can be considered as a receiving operation.
  • the transceiver module 1920 can also be two functional modules, and the transceiver module 1920 can be regarded as a general term for these two functional modules, these two functional modules are respectively a sending module and a receiving module, the sending module is used to complete the sending operation,
  • the sending module can be used to perform all sending operations performed by the first terminal device (or the second terminal device) in the embodiment shown in FIG. 5, FIG. 13 or FIG. 16
  • the receiving module can be used to complete receiving operations, such as receiving
  • the module can be used to perform all the receiving operations performed by the first terminal device (or the second terminal device) in the embodiment shown in FIG. 5 , FIG. 13 or FIG. 16 .
  • the transceiver module 1920 may send a first data packet, where the first data packet includes first indication information and first data, and receive a third data packet from the first network device, the first data packet
  • the three data packets include the first indication information and the third data
  • the processing module 1910 can obtain the second data according to the first indication information, wherein the third data, the second data and the first data are different from each other. or relationship.
  • the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing.
  • the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
  • the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
  • the processing module 1910 stores the first indication information and the first data in the specific protocol layer of the first terminal device; the processing module 1910 stores the first indication information and the first data in the specific protocol layer of the first terminal device according to the The first indication information and the first data are used to obtain the second data. and / or,
  • the processing module 1910 determines that the third data packet includes the first indication information according to the first indication information stored in the specific protocol layer of the first terminal device; the processing module determines that the third data packet includes the first indication information according to the first indication information stored in the specific protocol layer of the first terminal device.
  • One data and the third data and the first data, the second data is obtained.
  • the specific protocol layer includes an application layer or an XOR layer, where the XOR layer is located between the PDCP layer and the APP layer.
  • the transceiver module 1920 may also send first information to the first network device, where the first information includes at least one of the following information: a cell identifier of the first terminal device; or, the first information The destination address of the service to which the data belongs; or, the source address of the service to which the first data belongs.
  • the transceiver module 1920 may also receive second information from the first network device or a second network device (eg, AMF), and the second network device is connected to the first network device; the first network device is connected to the first network device.
  • the second information includes at least one of the following information: third indication information, where the third indication information is used to indicate that the first terminal device and the second terminal device are mutual target nodes; or, used to indicate that according to the third data and the first data to obtain the information of the second data; or, the multicast service identifier, the multicast service identifier is used for receiving the second data packet; or, the target address of the multicast service, the target address of the multicast service
  • the address is the destination address of the second data packet; or, information used to indicate the sequence (or primary and secondary sequence) between the first terminal device and the second terminal device, and the sequence is used to determine the first The position of the indication information in the second data packet; or, the PDU session ID of the third data packet; or, the ID of the QoS flow of the first
  • the first network device includes a server or a UPF.
  • the second network device includes an AMF.
  • FIG. 20 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application, and the communication apparatus may be implemented by hardware components.
  • the apparatus 2000 shown in FIG. 20 may be a first terminal device or a second terminal device, or may be a chip, a chip system, or a processor that supports the first terminal device or the second terminal device to implement the above method.
  • the apparatus 2000 can be used to implement the method performed by the first network device described in the method embodiment shown in FIG. 6 .
  • the apparatus 2000 includes a module or unit corresponding to the first network device performing the steps described in the embodiments of this application or means, the functions or units or means may be implemented by software, or by hardware, or by executing corresponding software by hardware, or by a combination of software and hardware.
  • the apparatus 2000 may include one or more processors 2001, and the processors 2001 may also be referred to as processing units, which may implement certain control functions.
  • the processor 2001 may be a general-purpose processor or a special-purpose processor or the like.
  • it may be a baseband processor or a central processing unit.
  • the baseband processor can be used to process communication protocols and communication data
  • the central processing unit can be used to process communication devices (eg, base stations, baseband chips, terminals, terminal chips, distributed units (DUs) or centralized units (centralized units). unit, CU), etc.) to control, execute software programs, and process data of software programs.
  • communication devices eg, base stations, baseband chips, terminals, terminal chips, distributed units (DUs) or centralized units (centralized units). unit, CU), etc.
  • the processor 2001 may store instructions 2003 and/or data, and the instructions 2003 and/or data may be executed by the processor, so that the apparatus 2000 executes the methods described in the foregoing method embodiments. Methods.
  • the processor 2001 may include a transceiver unit for implementing receiving and transmitting functions.
  • the transceiver unit may be a transceiver circuit, or an interface, or an interface circuit.
  • Transceiver circuits, interfaces or interface circuits used to implement receiving and transmitting functions may be separate or integrated.
  • the above-mentioned transceiver circuit, interface or interface circuit can be used for reading and writing code/data, or the above-mentioned transceiver circuit, interface or interface circuit can be used for signal transmission or transmission.
  • the apparatus 2000 may include a circuit, and the circuit may implement the function of sending or receiving or communicating in the foregoing method embodiments.
  • the apparatus 2000 may include one or more memories 2002 on which instructions 2004 may be stored, and the instructions may be executed on the processor, so that the apparatus 2000 executes the above method embodiments method described.
  • data may also be stored in the memory.
  • instructions and/or data may also be stored in the processor.
  • the processor and the memory can be provided separately or integrated together. For example, the corresponding relationship described in the above method embodiments may be stored in a memory or in a processor.
  • the apparatus 2000 may further include a transceiver 2005 and/or a communication interface 2006 .
  • the processor 2001 may be referred to as a processing unit, and controls the apparatus 2000 .
  • the transceiver 2005 can be used to implement wireless communication
  • the communication interface 2006 can be used to implement wired communication.
  • the transceiver 2005 and/or the communication interface 2006 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, a transceiver device, or a transceiver module, etc., for implementing a transceiver function.
  • the processor 2001 may be used to implement the function of the processing module 1810 shown in FIG. 18
  • the transceiver 2005 and/or the communication interface 2006 may be used to implement the function of the transceiver module 1820 shown in FIG. 18
  • the apparatus 2000 in this embodiment of the present application It can be used to execute the method implemented by the first network device described in the foregoing embodiments of the present application.
  • FIG. 21 shows a schematic structural diagram of a simplified terminal device.
  • the terminal device takes a mobile phone as an example.
  • the terminal device includes a processor, a memory, a radio frequency circuit, an antenna, and an input and output device.
  • the processor is mainly used to process communication protocols and communication data, control terminal equipment, execute software programs, and process data of software programs.
  • the memory is mainly used to store software programs and data.
  • the radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal.
  • Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves.
  • Input and output devices such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal equipment may not have input and output devices.
  • the processor When data needs to be sent, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit.
  • the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves.
  • the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data.
  • FIG. 21 only one memory and processor are shown in FIG. 21 . In an actual end device product, there may be one or more processors and one or more memories.
  • the memory may also be referred to as a storage medium or a storage device or the like.
  • the memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
  • the antenna and the radio frequency circuit with the transceiver function may be regarded as the transceiver unit of the terminal device (the transceiver unit may be a functional unit, and the function unit can realize the sending function and the receiving function; alternatively, the transceiver unit may also be It includes two functional units, namely a receiving unit capable of realizing a receiving function and a transmitting unit capable of realizing a transmitting function), and a processor with a processing function is regarded as a processing unit of the terminal device. As shown in FIG. 21 , the terminal device includes a transceiver unit 2110 and a processing unit 2120 .
  • the transceiver unit may also be referred to as a transceiver, a transceiver, a transceiver device, etc., and may include a radio frequency circuit and an antenna.
  • the processing unit may also be referred to as a processor, a processing single board, a processing module, a processing device, and the like.
  • the device for implementing the receiving function in the transceiver unit 2110 may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit 2110 may be regarded as a transmitting unit, that is, the transceiver unit 2110 includes a receiving unit and a transmitting unit.
  • the receiving unit may also sometimes be referred to as a receiver, receiver, or receiving circuit, or the like.
  • the transmitting unit may also sometimes be referred to as a transmitter, a transmitter, or a transmitting circuit, or the like.
  • transceiving unit 2110 is configured to perform the sending and receiving operations of the terminal device in the above method embodiments
  • processing unit 2120 is configured to perform other operations on the terminal device in the above method embodiments except the transceiving operations.
  • the processing unit 2120 may be used to implement the functions of the processing module 1910 shown in FIG. 19
  • the transceiver unit 2110 may be used to implement the functions of the transceiver module 1920 shown in FIG. 19
  • the apparatus 2000 in this embodiment of the present application may be used to execute the present application.
  • the methods described in the foregoing embodiments are implemented by the first network device.
  • Embodiments of the present application provide a communication system.
  • the communication system may include the first terminal device, the second terminal device, and the first network device involved in the above-mentioned embodiment shown in FIG. 1 or FIG. 4 .
  • the communication system may further include the second network device involved in this application.
  • the communication system may implement the communication method of FIG. 5 , FIG. 13 or FIG. 16 .
  • Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program.
  • the computer program When the computer program is executed by a computer, the computer can implement FIG. 5 , FIG. 13 or FIG. 16 provided by the foregoing method embodiments. Processes related to the first terminal device, the second terminal device and/or the first network device in the illustrated embodiment.
  • Embodiments of the present application further provide a computer program product, where the computer program product is used to store a computer program.
  • the computer program When the computer program is executed by a computer, the computer can implement the implementation shown in FIG. 5 , FIG. 13 or FIG. 16 provided by the above method embodiments.
  • the process related to the first terminal device, the second terminal device and/or the first network device In the example, the process related to the first terminal device, the second terminal device and/or the first network device.
  • An embodiment of the present application further provides a chip or a chip system (or circuit), where the chip may include a processor, and the processor may be configured to call a program or an instruction in a memory, and execute FIG. 5 , FIG. 13 or FIG. A process related to the first terminal device, the second terminal device and/or the first network device in the embodiment shown in FIG. 16 .
  • the chip system may include the chip and other components such as memory or transceivers.
  • processors mentioned in the embodiments of the present application may be a CPU, and may also be other general-purpose processors, digital signal processors (digital signal processors, DSPs), application specific integrated circuits (application specific integrated circuits, ASICs), ready-made Field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGA Field programmable gate array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • double data rate SDRAM double data rate SDRAM
  • DDR SDRAM enhanced synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SCRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module
  • memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
  • the disclosed communication method and communication device may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that makes a contribution or a part of the technical solution.
  • the computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) is caused to execute all or part of the steps of the methods of the various embodiments of the present application.
  • the aforementioned computer-readable storage medium can be any available medium that can be accessed by a computer.
  • the computer-readable medium may include random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (electrically erasable programmable read-only memory) read only memory, EEPROM), compact disc read-only memory (CD-ROM), universal serial bus flash disk (universal serial bus flash disk), removable hard disk, or other optical disk storage, disk storage A medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • CD-ROM compact disc read-only memory
  • universal serial bus flash disk universal serial bus flash disk
  • removable hard disk or other optical disk storage
  • disk storage A medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.

Abstract

Disclosed are a communication method and apparatus. When a first terminal device and a second terminal device communicate with each other, a network device performs exclusive-or processing on first data sent by the first terminal device and second data sent by the second terminal device to form third data, and sends a third data packet comprising the third data to the first terminal device and/or the second terminal device. According to first indication information, the first terminal device processes and obtains the second data according to the third data and the first data, and/or according to second indication information, the second terminal device processes and obtains the first data according to the third data and the second data. Thus, the air interface consumption during downlink transmission can be reduced.

Description

一种通信方法及装置A communication method and device 技术领域technical field
本申请涉及无线通信技术领域,特别涉及一种通信方法及装置。The present application relates to the field of wireless communication technologies, and in particular, to a communication method and device.
背景技术Background technique
目前在基于蜂窝的通讯系统中,通讯两端相互发送数据时,数据都是由数据发送端(如一个终端设备)先发送给基站,基站再发送给核心网,核心网将数据在发给接收端的服务基站,服务基站再将数据发送给数据接收端(如另一个终端设备)。At present, in a cellular-based communication system, when the two ends of the communication send data to each other, the data is first sent by the data sender (such as a terminal device) to the base station, and then the base station sends it to the core network, and the core network sends the data to the receiver. The serving base station of the terminal, the serving base station then sends the data to the data receiving terminal (such as another terminal device).
基于以上数据发送方式,在工业场景中,工业设备和控制器之间的通信必须通过基站和核心网进行转发才能完成。由于在工业场景中,通信业务对的可靠性、时延要求较高,按照上述数据发送方式会在空口需要耗费大量的资源才能保证较高的业务性能。因此如何在保证业务性能的前提下,降低空口资源的消耗是一个亟需解决的问题。Based on the above data transmission methods, in an industrial scenario, the communication between the industrial equipment and the controller must be forwarded through the base station and the core network to complete. In industrial scenarios, communication services have high requirements on reliability and delay. According to the above data transmission method, a large amount of resources will be expended on the air interface to ensure high service performance. Therefore, how to reduce the consumption of air interface resources on the premise of ensuring service performance is an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种通信方法及装置,用于降低下行业务传输中的空口资源的消耗。Embodiments of the present application provide a communication method and apparatus, which are used to reduce air interface resource consumption in downlink service transmission.
第一方面,提供一种通信方法。该方法可由第一通信装置执行,第一通信装置可以是通信设备或能够支持通信设备实现该方法所需的功能的通信装置,例如芯片。示例性地,该第一通信装置为第一网络设备(如核心网设备、服务器等),或者为设置在第一网络设备中的用于实现网络设备的功能的芯片,或者为用于实现网络设备的功能的其他部件。在下文的介绍过程中,以第一通信装置是第一网络设备为例进行说明。In a first aspect, a communication method is provided. The method may be performed by a first communication apparatus, and the first communication apparatus may be a communication apparatus or a communication apparatus, such as a chip, capable of supporting the functions required by the communication apparatus to implement the method. Exemplarily, the first communication device is a first network device (such as a core network device, a server, etc.), or a chip configured in the first network device for implementing the functions of the network device, or a chip for implementing a network device. other parts of the function of the device. In the following introduction process, the first communication device is the first network device as an example for description.
该方法包括:第一网络设备可接收来自于第一终端设备的第一数据包,该第一数据包包括第一指示信息和第一数据。以及,接收来自于第二终端设备的第二数据包,该第二数据包包括第二指示信息和第二数据。第一网络设备可向该第一终端设备以及该第二终端设备发送第三数据包,该第三数据包包括该第一指示信息、该第二指示信息以及第三数据,该第三数据、该第二数据和该第一数据之间具有异或关系。The method includes: the first network device can receive a first data packet from the first terminal device, where the first data packet includes first indication information and first data. And, receiving a second data packet from the second terminal device, where the second data packet includes second indication information and second data. The first network device may send a third data packet to the first terminal device and the second terminal device, where the third data packet includes the first indication information, the second indication information and third data, the third data, There is an exclusive OR relationship between the second data and the first data.
采用以上方法,当第一终端设备和第二终端设备互相进行通信时,网络设备对第一终端设备发送的第一数据和第二终端设备发送的第二数据进行异或处理形成第三数据,并向第一终端设备和/或第二终端设备发送包括第三数据的第三数据包。第一终端设备根据第一指示信息,根据第三数据和第一数据处理获得第二数据,和/或,第二终端设备根据第二指示信息,根据第三数据和第二数据处理获得第一数据,能够降低下行传输时的空口消耗。Using the above method, when the first terminal device and the second terminal device communicate with each other, the network device performs XOR processing on the first data sent by the first terminal device and the second data sent by the second terminal device to form third data, and send a third data packet including the third data to the first terminal device and/or the second terminal device. The first terminal device processes the third data and the first data to obtain the second data according to the first indication information, and/or the second terminal device processes the third data and the second data to obtain the first data according to the second indication information. data, which can reduce air interface consumption during downlink transmission.
在一种可能的示例中,该第一数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点,或者说,指示该第一终端设备以及该第二终端设备之间进行业务交互;和/或,第四指示信息,该第四指示信息用于指示该第一数据未经过异或处理。同理,第二数据包中可包括第三指示信息和或第四指示信息。第二数据包中的第三指示信息可指示该第一终端设备以及该第二终端设备之间互为目标节点。第二数据包中的第四指示信息可用于指示该第二数据未经过异或处理。In a possible example, the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes, or in other words, indicating that the first terminal device and the Service interaction is performed between the second terminal devices; and/or fourth indication information, where the fourth indication information is used to indicate that the first data has not undergone XOR processing. Similarly, the second data packet may include third indication information and or fourth indication information. The third indication information in the second data packet may indicate that the first terminal device and the second terminal device are mutual target nodes. The fourth indication information in the second data packet may be used to indicate that the second data has not undergone XOR processing.
在一种可能的示例中,该第三数据包还包括:第三指示信息,指示该第一终端设备以 及该第二终端设备之间互为目标节点;和/或,第五指示信息,该第五指示信息用于指示该第三数据经过异或处理,或者,第五指示信息用于指示该异或关系。In a possible example, the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing, or the fifth indication information is used to indicate the XOR relationship.
在一种可能的示例中,该第三指示信息包括由该第一终端设备的地址和该第二终端设备的地址组成的地址对。In a possible example, the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
在一种可能的示例中,该第一指示信息携带在特定协议层,该特定协议层包括应用层或XOR层,该XOR层位于PDCP层与APP层之间。In a possible example, the first indication information is carried in a specific protocol layer, where the specific protocol layer includes an application layer or an XOR layer, and the XOR layer is located between the PDCP layer and the APP layer.
在一种可能的示例中,第一网络设备可接收来自于该第一终端设备的第一信息,该第一信息包括以下信息中的至少一个:In a possible example, the first network device may receive first information from the first terminal device, where the first information includes at least one of the following information:
该第一终端设备的小区标识;the cell identifier of the first terminal device;
该第一数据所属业务的目标地址;或者,The target address of the service to which the first data belongs; or,
该第一数据所属业务的源地址。The source address of the service to which the first data belongs.
在一种可能的示例中,第一网络设备可向该第一终端设备发送第二信息;该第二信息包括以下信息中的至少一个:第三指示信息,该第三指示信息用于指示该第一终端设备以及第二终端设备之间互为目标节点;或者,用于指示根据该第三数据和该第一数据获得该第二数据的信息;或者,多播业务标识,该多播业务标识用于该第二数据包的接收;或者,多播业务的目标地址,该多播业务的目标地址为该第三数据包的目标地址;或者,用于指示该第一终端设备与该第二终端设备之间的先后顺序的信息,该先后顺序用于确定该第一指示信息在该第三数据包中的位置;或者,该第三数据包的PDU session ID;或者,该第三数据包的QoS flow的ID;或者,该第三数据包的DRB的ID。In a possible example, the first network device may send second information to the first terminal device; the second information includes at least one of the following information: third indication information, where the third indication information is used to indicate the The first terminal device and the second terminal device are mutual target nodes; or, information used to indicate that the second data is obtained according to the third data and the first data; or, a multicast service identifier, the multicast service The identifier is used for the reception of the second data packet; or, the target address of the multicast service, and the target address of the multicast service is the target address of the third data packet; or, used to indicate the first terminal device and the third data packet The information of the sequence between the two terminal devices, the sequence is used to determine the position of the first indication information in the third data packet; or, the PDU session ID of the third data packet; or, the third data packet The ID of the QoS flow of the packet; or, the ID of the DRB of the third data packet.
在一种可能的示例中,第一网络设备可通过多播方式向该第一终端设备以及该第二终端设备发送第二数据包。In a possible example, the first network device may send the second data packet to the first terminal device and the second terminal device in a multicast manner.
在一种可能的示例中,该第一网络设备包括UPF,第一网络设备可向第二网络设备发送第三信息,该第三信息用于请求该第一终端设备的小区标识和该第二终端设备的小区标识;从该第二网络设备接收该第一终端设备的小区标识和该第二终端设备的小区标识;确定该第一终端设备的小区标识与该第二终端设备的小区标识相同。In a possible example, the first network device includes a UPF, and the first network device may send third information to the second network device, where the third information is used to request the cell identity of the first terminal device and the second cell identification of the terminal equipment; receiving the cell identification of the first terminal equipment and the cell identification of the second terminal equipment from the second network equipment; determining that the cell identification of the first terminal equipment is the same as the cell identification of the second terminal equipment .
在一种可能的示例中,该第一网络设备包括UPF,第一网络设备还可向第二网络设备发送第四信息,该第四信息用于指示该第一终端设备与该第二终端设备互为目标节点;接收来自于该第二网络设备的第五信息,该第五信息用于指示该第一网络设备确定该第一终端设备的小区标识与该第二终端设备的小区标识相同,或者,该第五信息用于确定通过多播方式向该第一终端设备以及该第二终端设备发送第二数据包。In a possible example, the first network device includes a UPF, and the first network device may further send fourth information to the second network device, where the fourth information is used to indicate the first terminal device and the second terminal device target nodes for each other; receiving fifth information from the second network device, where the fifth information is used to instruct the first network device to determine that the cell identifier of the first terminal device is the same as the cell identifier of the second terminal device, Or, the fifth information is used to determine to send the second data packet to the first terminal device and the second terminal device by multicast.
在一种可能的示例中,该第四信息包括该第一终端设备的标识信息以及该第二终端设备的标识信息。In a possible example, the fourth information includes identification information of the first terminal device and identification information of the second terminal device.
在一种可能的示例中,该第五信息包括以下信息中的至少一个:该第一终端设备的标识;或者,该第二终端设备的标识;或者,该第一终端设备的PDU会话信息;或者,该第二终端设备的PDU会话的信息。In a possible example, the fifth information includes at least one of the following information: the identifier of the first terminal device; or, the identifier of the second terminal device; or, the PDU session information of the first terminal device; Or, the information of the PDU session of the second terminal device.
在一种可能的示例中,该第一网络设备包括UPF,第一网络设备还可向第二网络设备发送第四信息,该第四信息用于指示该第一终端设备与该第二终端设备互为目标节点。In a possible example, the first network device includes a UPF, and the first network device may further send fourth information to the second network device, where the fourth information is used to indicate the first terminal device and the second terminal device target nodes for each other.
在一种可能的示例中,该第一网络设备包括服务器或UPF。当第一网络设备包括UPF时,该第二网络设备包括AMF。In a possible example, the first network device includes a server or a UPF. When the first network device includes a UPF, the second network device includes an AMF.
第二方面,提供一种通信方法。该方法可由第二通信装置执行,第二通信装置可以是 通信设备或能够支持通信设备实现该方法所需的功能的通信装置,例如芯片。示例性地,该第二通信装置为第一终端设备(或第二终端设备),或者为设置在第一终端设备(或第二终端设备)中的用于实现网络设备的功能的芯片,或者为用于实现网络设备的功能的其他部件。在下文的介绍过程中,以第二通信装置是第一终端设备为例进行说明。In a second aspect, a communication method is provided. The method may be performed by a second communication device, which may be a communication device or a communication device, such as a chip, capable of supporting the functions required by the communication device to implement the method. Exemplarily, the second communication device is a first terminal device (or a second terminal device), or a chip provided in the first terminal device (or a second terminal device) for implementing the function of the network device, or For other components used to realize the function of the network device. In the following introduction process, the second communication apparatus is the first terminal device as an example for description.
该方法包括:第一终端设备发送第一数据包,该第一数据包包括第一指示信息和第一数据,从第一网络设备接收第三数据包,该第三数据包包括该第一指示信息和第三数据,根据该第一指示信息,获得第二数据,其中,该第三数据、该第二数据和该第一数据之间具有异或关系。The method includes: a first terminal device sends a first data packet, the first data packet includes first indication information and first data, and receives a third data packet from a first network device, the third data packet includes the first indication information and third data, and obtain second data according to the first indication information, wherein the third data, the second data and the first data have an exclusive OR relationship.
在一种可能的示例中,该第一数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第四指示信息,该第四指示信息用于指示该第一数据未经过异或处理。In a possible example, the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing.
在一种可能的示例中,该第三数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第五指示信息,该第五指示信息用于指示该第三数据经过异或处理。In a possible example, the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
在一种可能的示例中,该第三指示信息包括由该第一终端设备的地址和该第二终端设备的地址组成的地址对。In a possible example, the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
在一种可能的示例中,该第一终端设备的特定协议层存储该第一指示信息和第一数据。该第一终端设备的特定协议层根据该第三数据和该第一数据获得该第二数据。和/或,In a possible example, a specific protocol layer of the first terminal device stores the first indication information and the first data. The specific protocol layer of the first terminal device obtains the second data according to the third data and the first data. and / or,
该第一终端设备的特定协议层确定该第三数据包包括该第一指示信息;该第一终端设备的特定协议层根据该第三数据和该第一数据获得该第二数据。The specific protocol layer of the first terminal device determines that the third data packet includes the first indication information; the specific protocol layer of the first terminal device obtains the second data according to the third data and the first data.
在一种可能的示例中,该特定协议层包括应用层或XOR层,该XOR层位于PDCP层与APP层之间。In a possible example, the specific protocol layer includes an application layer or an XOR layer, where the XOR layer is located between the PDCP layer and the APP layer.
在一种可能的示例中,第一终端设备还可向该第一网络设备发送第一信息,该第一信息包括以下信息中的至少一个:该第一终端设备的小区标识;或者,该第一数据所属业务的目标地址;或者,该第一数据所属业务的源地址。In a possible example, the first terminal device may also send first information to the first network device, where the first information includes at least one of the following information: a cell identifier of the first terminal device; or, the first information The destination address of the service to which the data belongs; or, the source address of the service to which the first data belongs.
在一种可能的示例中,第一终端设备还可接收来自于该第一网络设备或第二网络设备(如AMF)的第二信息,该第二网络设备与该第一网络设备连接;该第二信息包括以下信息中的至少一个:第三指示信息,该第三指示信息用于指示该第一终端设备以及第二终端设备之间互为目标节点;或者,用于指示根据该第三数据和该第一数据获得该第二数据的信息;或者,多播业务标识,该多播业务标识用于该第二数据包的接收;或者,多播业务的目标地址,该多播业务的目标地址为该第二数据包的目标地址;或者,用于指示该第一终端设备与该第二终端设备之间的先后顺序(或主副顺序)的信息,该先后顺序用于确定该第一指示信息在该第二数据包中的位置;或者,该第三数据包的PDU session ID;或者,该第三数据包的QoS flow的ID;或者,该第三数据包的DRB的ID。In a possible example, the first terminal device may also receive second information from the first network device or a second network device (eg, AMF), and the second network device is connected to the first network device; the The second information includes at least one of the following information: third indication information, where the third indication information is used to indicate that the first terminal device and the second terminal device are mutual target nodes; or, used to indicate that according to the third data and the first data to obtain the information of the second data; or, the multicast service identifier, the multicast service identifier is used for receiving the second data packet; or, the target address of the multicast service, the The destination address is the destination address of the second data packet; or, information used to indicate the sequence (or primary and secondary sequence) between the first terminal device and the second terminal device, and the sequence is used to determine the first terminal device. The position of the indication information in the second data packet; or, the PDU session ID of the third data packet; or, the ID of the QoS flow of the third data packet; or, the ID of the DRB of the third data packet.
在一种可能的示例中,该第一网络设备包括服务器或UPF。当第一网络设备包括UPF时,该第二网络设备包括AMF。In a possible example, the first network device includes a server or a UPF. When the first network device includes a UPF, the second network device includes an AMF.
以上第二方面及其可能的设计所示方法的有益效果可参照第一方面及其可能的设计中的有益效果。For the beneficial effects of the method shown in the second aspect and its possible designs above, reference may be made to the beneficial effects in the first aspect and its possible designs.
第三方面,提供一种通信装置,例如该通信装置为如前所示的第一通信装置。该第一通信装置用于执行上述第一方面或其任一可能的实施方式中的方法。具体地,该第一通信 装置可以包括用于执行第一方面或其任一可能的实施方式中的方法的模块,例如包括处理模块和收发模块。示例性地,收发模块可以包括发送模块和接收模块,发送模块和接收模块可以是不同的功能模块,或者也可以是同一个功能模块,但能够实现不同的功能。示例性地,该第一通信装置为通信设备,或者为设置在通信设备中的芯片或其他部件。示例性地,该通信设备为第一网络设备。下面以第一通信装置是第一网络设备为例。例如,该收发模块可以通过收发器实现,该处理模块可以通过处理器实现。或者,发送模块可以通过发送器实现,接收模块可以通过接收器实现,发送器和接收器可以是不同的功能模块,或者也可以是同一个功能模块,但能够实现不同的功能。如果第一通信装置为通信设备,收发器例如通过通信设备中的天线、馈线和编解码器等实现。或者,如果第一通信装置为设置在通信设备中的芯片,那么收发器(或,发送器和接收器)例如为芯片中的通信接口,该通信接口与通信设备中的射频收发组件连接,以通过射频收发组件实现信息的收发。在第三方面的介绍过程中,以该第一通信装置是第一网络设备,以及,以该处理模块和该收发模块为例进行介绍。In a third aspect, a communication device is provided, for example, the communication device is the first communication device shown above. The first communication apparatus is configured to execute the method in the above-mentioned first aspect or any possible implementation manner thereof. Specifically, the first communication apparatus may include a module for performing the method in the first aspect or any possible implementation manner thereof, for example, including a processing module and a transceiver module. Exemplarily, the transceiver module may include a sending module and a receiving module, and the sending module and the receiving module may be different functional modules, or may be the same functional module, but can implement different functions. Exemplarily, the first communication apparatus is a communication device, or a chip or other component provided in the communication device. Exemplarily, the communication device is a first network device. In the following, it is taken as an example that the first communication apparatus is the first network device. For example, the transceiver module can be implemented by a transceiver, and the processing module can be implemented by a processor. Alternatively, the sending module may be implemented by a transmitter, the receiving module may be implemented by a receiver, and the transmitter and the receiver may be different functional modules, or may be the same functional module but capable of implementing different functions. If the first communication apparatus is a communication device, the transceiver is implemented by, for example, an antenna, a feeder, a codec and the like in the communication device. Alternatively, if the first communication device is a chip provided in the communication device, the transceiver (or the transmitter and the receiver) is, for example, a communication interface in the chip, and the communication interface is connected with the radio frequency transceiver component in the communication device to Send and receive information through radio frequency transceiver components. In the introduction process of the third aspect, the first communication device is taken as the first network device, and the processing module and the transceiver module are taken as examples for introduction.
其中,在执行上述第一方面所示方法时,收发模块可第一网络设备可接收来自于第一终端设备的第一数据包,该第一数据包包括第一指示信息和第一数据,以及,接收来自于第二终端设备的第二数据包,该第二数据包包括第二指示信息和第二数据。收发模块还可向该第一终端设备以及该第二终端设备发送第三数据包,该第三数据包包括该第一指示信息、该第二指示信息以及第三数据,该第三数据、该第二数据和该第一数据之间具有异或关系。处理模块可用于根据第一数据和第二数据获得第三数据,比如,对第一数据和第二数据进行异或处理,获得第三数据。Wherein, when the method shown in the first aspect is performed, the transceiver module may receive a first data packet from the first terminal device by the first network device, where the first data packet includes the first indication information and the first data, and , receiving a second data packet from the second terminal device, where the second data packet includes second indication information and second data. The transceiver module can also send a third data packet to the first terminal device and the second terminal device, the third data packet includes the first indication information, the second indication information and third data, the third data, the There is an exclusive OR relationship between the second data and the first data. The processing module may be configured to obtain third data according to the first data and the second data, for example, perform XOR processing on the first data and the second data to obtain the third data.
在一种可能的示例中,该第一数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第四指示信息,该第四指示信息用于指示该第一数据未经过异或处理。同理,第二数据包中可包括第三指示信息和或第四指示信息。第二数据包中的第三指示信息可指示该第一终端设备以及该第二终端设备之间互为目标节点。第二数据包中的第四指示信息可用于指示该第二数据未经过异或处理。In a possible example, the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing. Similarly, the second data packet may include third indication information and or fourth indication information. The third indication information in the second data packet may indicate that the first terminal device and the second terminal device are mutual target nodes. The fourth indication information in the second data packet may be used to indicate that the second data has not undergone XOR processing.
在一种可能的示例中,该第三数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第五指示信息,该第五指示信息用于指示该第三数据经过异或处理。In a possible example, the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
在一种可能的示例中,该第三指示信息包括由该第一终端设备的地址和该第二终端设备的地址组成的地址对。In a possible example, the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
在一种可能的示例中,该第一指示信息携带在特定协议层,该特定协议层包括应用层或XOR层,该XOR层位于PDCP层与APP层之间。In a possible example, the first indication information is carried in a specific protocol layer, where the specific protocol layer includes an application layer or an XOR layer, and the XOR layer is located between the PDCP layer and the APP layer.
在一种可能的示例中,收发模块可接收来自于该第一终端设备的第一信息,该第一信息包括以下信息中的至少一个:In a possible example, the transceiver module may receive first information from the first terminal device, where the first information includes at least one of the following information:
该第一终端设备的小区标识;the cell identifier of the first terminal device;
该第一数据所属业务的目标地址;或者,The target address of the service to which the first data belongs; or,
该第一数据所属业务的源地址。The source address of the service to which the first data belongs.
在一种可能的示例中,收发模块可向该第一终端设备发送第二信息;该第二信息包括以下信息中的至少一个:第三指示信息,该第三指示信息用于指示该第一终端设备以及第二终端设备之间互为目标节点;或者,用于指示根据该第三数据和该第一数据获得该第二 数据的信息;或者,多播业务标识,该多播业务标识用于该第二数据包的接收;或者,多播业务的目标地址,该多播业务的目标地址为该第三数据包的目标地址;或者,用于指示该第一终端设备与该第二终端设备之间的先后顺序的信息,该先后顺序用于确定该第一指示信息在该第三数据包中的位置;或者,该第三数据包的PDU session ID;或者,该第三数据包的QoS flow的ID;或者,该第三数据包的DRB的ID。In a possible example, the transceiver module may send second information to the first terminal device; the second information includes at least one of the following information: third indication information, where the third indication information is used to indicate the first terminal device The terminal device and the second terminal device are each other's target nodes; or, the information used to indicate that the second data is obtained according to the third data and the first data; or, the multicast service identifier, the multicast service identifier is used for upon receipt of the second data packet; or, the target address of the multicast service, which is the target address of the third data packet; or, used to indicate the first terminal device and the second terminal The information of the sequence between devices, the sequence is used to determine the position of the first indication information in the third data packet; or, the PDU session ID of the third data packet; or, the third data packet's PDU session ID The ID of the QoS flow; or, the ID of the DRB of the third data packet.
在一种可能的示例中,收发模块可通过多播方式向该第一终端设备以及该第二终端设备发送第二数据包。In a possible example, the transceiver module may send the second data packet to the first terminal device and the second terminal device in a multicast manner.
在一种可能的示例中,该第一网络设备包括UPF,收发模块可向第二网络设备发送第三信息,该第三信息用于请求该第一终端设备的小区标识和该第二终端设备的小区标识;从该第二网络设备接收该第一终端设备的小区标识和该第二终端设备的小区标识;处理模块可确定该第一终端设备的小区标识与该第二终端设备的小区标识相同。In a possible example, the first network device includes a UPF, and the transceiver module may send third information to the second network device, where the third information is used to request the cell identity of the first terminal device and the second terminal device receiving the cell identity of the first terminal equipment and the cell identity of the second terminal equipment from the second network equipment; the processing module can determine the cell identity of the first terminal equipment and the cell identity of the second terminal equipment same.
在一种可能的示例中,该第一网络设备包括UPF,收发模块还可向第二网络设备发送第四信息,该第四信息用于指示该第一终端设备与该第二终端设备互为目标节点;接收来自于该第二网络设备的第五信息,该第五信息用于指示该第一网络设备确定该第一终端设备的小区标识与该第二终端设备的小区标识相同,或者,该第五信息用于确定通过多播方式向该第一终端设备以及该第二终端设备发送第二数据包。In a possible example, the first network device includes a UPF, and the transceiver module may further send fourth information to the second network device, where the fourth information is used to indicate that the first terminal device and the second terminal device are mutual target node; receiving fifth information from the second network device, where the fifth information is used to instruct the first network device to determine that the cell identifier of the first terminal device is the same as the cell identifier of the second terminal device, or, The fifth information is used to determine to send the second data packet to the first terminal device and the second terminal device by multicast.
在一种可能的示例中,该第四信息包括该第一终端设备的标识信息以及该第二终端设备的标识信息。In a possible example, the fourth information includes identification information of the first terminal device and identification information of the second terminal device.
在一种可能的示例中,该第五信息包括以下信息中的至少一个:该第一终端设备的标识;或者,该第二终端设备的标识;或者,该第一终端设备的PDU会话信息;或者,该第二终端设备的PDU会话的信息。In a possible example, the fifth information includes at least one of the following information: the identifier of the first terminal device; or, the identifier of the second terminal device; or, the PDU session information of the first terminal device; Or, the information of the PDU session of the second terminal device.
在一种可能的示例中,该第一网络设备包括UPF,第一网络设备还可向第二网络设备发送第四信息,该第四信息用于指示该第一终端设备与该第二终端设备互为目标节点。In a possible example, the first network device includes a UPF, and the first network device may further send fourth information to the second network device, where the fourth information is used to indicate the first terminal device and the second terminal device target nodes for each other.
在一种可能的示例中,该第一网络设备包括服务器或UPF。当第一网络设备包括UPF时,该第二网络设备包括AMF。In a possible example, the first network device includes a server or a UPF. When the first network device includes a UPF, the second network device includes an AMF.
以上第三方面及其可能的设计所示方法的有益效果可参照第一方面及其可能的设计中的有益效果。For the beneficial effects of the method shown in the third aspect and its possible designs above, reference may be made to the beneficial effects in the first aspect and its possible designs.
第四方面,提供一种通信装置,例如该通信装置为如前所示的第二通信装置。该第二通信装置用于执行上述第二方面或其任一可能的实施方式中的方法。具体地,该第二通信装置可以包括用于执行第二方面或其任一可能的实施方式中的方法的模块,例如包括处理模块和收发模块。示例性地,收发模块可以包括发送模块和接收模块,发送模块和接收模块可以是不同的功能模块,或者也可以是同一个功能模块,但能够实现不同的功能。示例性地,该第二通信装置为通信设备,或者为设置在通信设备中的芯片或其他部件。示例性地,该通信设备为第一终端设备(或第二终端设备)。下面以第二通信装置是第一终端设备为例,例如该第一终端设备为UE。例如,该收发模块也可以通过收发器实现,该处理模块也可以通过处理器实现。或者,发送模块可以通过发送器实现,接收模块可以通过接收器实现,发送器和接收器可以是不同的功能模块,或者也可以是同一个功能模块,但能够实现不同的功能。如果第二通信装置为通信设备,收发器例如通过通信设备中的天线、馈线和编解码器等实现。或者,如果第二通信装置为设置在通信设备中的芯片,那么收发 器(或,发送器和接收器)例如为芯片中的通信接口,该通信接口与通信设备中的射频收发组件连接,以通过射频收发组件实现信息的收发。在第四方面的介绍过程中,以该第二通信装置是第一终端设备,以及,以该处理模块和该收发模块为例进行介绍。In a fourth aspect, a communication device is provided, for example, the communication device is the second communication device shown above. The second communication apparatus is configured to perform the method in the second aspect or any possible implementation manner thereof. Specifically, the second communication apparatus may include a module for executing the method in the second aspect or any possible implementation manner thereof, for example, including a processing module and a transceiver module. Exemplarily, the transceiver module may include a sending module and a receiving module, and the sending module and the receiving module may be different functional modules, or may be the same functional module, but can implement different functions. Exemplarily, the second communication apparatus is a communication device, or a chip or other components provided in the communication device. Exemplarily, the communication device is a first terminal device (or a second terminal device). In the following, it is taken as an example that the second communication apparatus is a first terminal device, for example, the first terminal device is a UE. For example, the transceiver module can also be implemented by a transceiver, and the processing module can also be implemented by a processor. Alternatively, the sending module may be implemented by a transmitter, the receiving module may be implemented by a receiver, and the transmitter and the receiver may be different functional modules, or may be the same functional module but capable of implementing different functions. If the second communication apparatus is a communication device, the transceiver is implemented by, for example, an antenna, a feeder, a codec and the like in the communication device. Or, if the second communication device is a chip provided in the communication device, the transceiver (or the transmitter and the receiver) is, for example, a communication interface in the chip, and the communication interface is connected with the radio frequency transceiver component in the communication device to Send and receive information through radio frequency transceiver components. In the introduction process of the fourth aspect, the second communication device is the first terminal device, and the processing module and the transceiver module are taken as examples for introduction.
其中,在执行上述第二方面所示方法时,收发模块可发送第一数据包,该第一数据包包括第一指示信息和第一数据,并从第一网络设备接收第三数据包,该第三数据包包括该第一指示信息和第三数据,处理模块可根据该第一指示信息,获得第二数据,其中,该第三数据、该第二数据和该第一数据之间具有异或关系。Wherein, when performing the method shown in the above second aspect, the transceiver module may send a first data packet, where the first data packet includes first indication information and first data, and receive a third data packet from the first network device, the The third data packet includes the first indication information and the third data, and the processing module can obtain the second data according to the first indication information, wherein the third data, the second data and the first data are different from each other. or relationship.
在一种可能的示例中,该第一数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第四指示信息,该第四指示信息用于指示该第一数据未经过异或处理。In a possible example, the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing.
在一种可能的示例中,该第三数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第五指示信息,该第五指示信息用于指示该第三数据经过异或处理。In a possible example, the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
在一种可能的示例中,该第三指示信息包括由该第一终端设备的地址和该第二终端设备的地址组成的地址对。In a possible example, the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
在一种可能的示例中,处理模块将该第一指示信息和第一数据存储至该第一终端设备的特定协议层;处理模块根据该第一终端设备的特定协议层中存储的该第一指示信息和第一数据,获得该第二数据。和/或,In a possible example, the processing module stores the first indication information and the first data in the specific protocol layer of the first terminal device; the processing module stores the first indication information and the first data in the specific protocol layer of the first terminal device according to the first The indication information and the first data are obtained, and the second data is obtained. and / or,
处理模块根据该第一终端设备的特定协议层中存储的第一指示信息,确定该第三数据包包括该第一指示信息;处理模块根据该第一终端设备的特定协议层中存储的第一数据和该第三数据和该第一数据,获得该第二数据。The processing module determines that the third data packet includes the first indication information according to the first indication information stored in the specific protocol layer of the first terminal device; the processing module determines according to the first indication information stored in the specific protocol layer of the first terminal device. data and the third data and the first data to obtain the second data.
在一种可能的示例中,该特定协议层包括应用层或XOR层,该XOR层位于PDCP层与APP层之间。In a possible example, the specific protocol layer includes an application layer or an XOR layer, where the XOR layer is located between the PDCP layer and the APP layer.
在一种可能的示例中,收发模块还可向该第一网络设备发送第一信息,该第一信息包括以下信息中的至少一个:该第一终端设备的小区标识;或者,该第一数据所属业务的目标地址;或者,该第一数据所属业务的源地址。In a possible example, the transceiver module may also send first information to the first network device, where the first information includes at least one of the following information: a cell identifier of the first terminal device; or, the first data The destination address of the service to which the first data belongs; or, the source address of the service to which the first data belongs.
在一种可能的示例中,收发模块还可接收来自于该第一网络设备或第二网络设备(如AMF)的第二信息,该第二网络设备与该第一网络设备连接;该第二信息包括以下信息中的至少一个:第三指示信息,该第三指示信息用于指示该第一终端设备以及第二终端设备之间互为目标节点;或者,用于指示根据该第三数据和该第一数据获得该第二数据的信息;或者,多播业务标识,该多播业务标识用于该第二数据包的接收;或者,多播业务的目标地址,该多播业务的目标地址为该第二数据包的目标地址;或者,用于指示该第一终端设备与该第二终端设备之间的先后顺序(或主副顺序)的信息,该先后顺序用于确定该第一指示信息在该第二数据包中的位置;或者,该第三数据包的PDU session ID;或者,该第三数据包的QoS flow的ID;或者,该第三数据包的DRB的ID。In a possible example, the transceiver module may also receive second information from the first network device or a second network device (eg, AMF), where the second network device is connected to the first network device; the second network device is connected to the first network device. The information includes at least one of the following information: third indication information, which is used to indicate that the first terminal device and the second terminal device are mutual target nodes; or, is used to indicate that according to the third data and The first data obtains the information of the second data; or, the multicast service identifier, the multicast service identifier is used for receiving the second data packet; or, the destination address of the multicast service, the destination address of the multicast service is the destination address of the second data packet; or, information used to indicate the sequence (or primary and secondary sequence) between the first terminal device and the second terminal device, and the sequence is used to determine the first indication The position of the information in the second data packet; or, the PDU session ID of the third data packet; or, the ID of the QoS flow of the third data packet; or, the ID of the DRB of the third data packet.
在一种可能的示例中,该第一网络设备包括服务器或UPF。当第一网络设备包括UPF时,该第二网络设备包括AMF。In a possible example, the first network device includes a server or a UPF. When the first network device includes a UPF, the second network device includes an AMF.
以上第四方面及其可能的设计所示方法的有益效果可参照第一方面及其可能的设计中的有益效果。For the beneficial effects of the method shown in the fourth aspect and its possible designs above, reference may be made to the beneficial effects in the first aspect and its possible designs.
第五方面,提供一种通信系统,该通信系统包括第三方面所示的通信装置以及第四方 面所示的通信装置。In a fifth aspect, a communication system is provided, the communication system including the communication device shown in the third aspect and the communication device shown in the fourth aspect.
第六方面,提供一种计算机可读存储介质,该计算机可读存储介质用于存储计算机指令,当该计算机指令在计算机上运行时,使得该计算机执行上述第一方面或第二方面或其任意一种可能的实施方式中所示的方法。In a sixth aspect, a computer-readable storage medium is provided, the computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed on a computer, the computer is made to perform the above-mentioned first aspect or the second aspect or any of them. The method shown in one possible implementation.
第七方面,提供一种包含指令的计算机程序产品,该计算机程序产品包括计算机指令,当该计算机指令在计算机上运行时,使得该计算机执行上述第一方面或第二方面或其任意一种可能的实施方式中所示的方法。A seventh aspect provides a computer program product comprising instructions, the computer program product including computer instructions, when the computer instructions are run on a computer, the computer is made to perform the above-mentioned first aspect or the second aspect or any one possibility thereof The method shown in the embodiment of .
第八方面,提供一种电路,该电路与存储器耦合,该电路被用于执行上述第一方面或第二方面或其任意一种可能的实施方式中所示的方法。该电路可包括芯片电路。In an eighth aspect, a circuit is provided, the circuit being coupled to a memory, the circuit being used to perform the method shown in the first aspect or the second aspect or any one of the possible implementations thereof. The circuitry may include chip circuitry.
附图说明Description of drawings
图1为本申请实施例提供的一种通信系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;
图2为一种通信协议栈架构的示意图;2 is a schematic diagram of a communication protocol stack architecture;
图3为另一种通信协议栈架构的示意图;3 is a schematic diagram of another communication protocol stack architecture;
图4为本申请实施例提供的另一种通信系统的架构示意图;FIG. 4 is a schematic diagram of the architecture of another communication system provided by an embodiment of the present application;
图5为本申请实施例提供的一种通信方法的流程示意图;FIG. 5 is a schematic flowchart of a communication method provided by an embodiment of the present application;
图6为本申请实施例提供的一种数据包的结构示意图;6 is a schematic structural diagram of a data packet provided by an embodiment of the present application;
图7为本申请实施例提供的另一种数据包的结构示意图;FIG. 7 is a schematic structural diagram of another data packet provided by an embodiment of the present application;
图8为本申请实施例提供的另一种数据包的结构示意图;FIG. 8 is a schematic structural diagram of another data packet provided by an embodiment of the present application;
图9为本申请实施例提供的另一种通信方法的流程示意图;FIG. 9 is a schematic flowchart of another communication method provided by an embodiment of the present application;
图10为本申请实施例提供的另一种通信方法的流程示意图;10 is a schematic flowchart of another communication method provided by an embodiment of the present application;
图11为本申请实施例提供的另一种数据包的结构示意图;FIG. 11 is a schematic structural diagram of another data packet provided by an embodiment of the application;
图12为本申请实施例提供的另一种数据包的结构示意图;FIG. 12 is a schematic structural diagram of another data packet provided by an embodiment of the application;
图13为本申请实施例提供的另一种通信方法的流程示意图;13 is a schematic flowchart of another communication method provided by an embodiment of the present application;
图14为本申请实施例提供的一种通信协议栈架构的示意图;14 is a schematic diagram of a communication protocol stack architecture provided by an embodiment of the present application;
图15为本申请实施例提供的另一种通信协议栈架构的示意图;15 is a schematic diagram of another communication protocol stack architecture provided by an embodiment of the present application;
图16为本申请实施例提供的另一种通信方法的流程示意图;FIG. 16 is a schematic flowchart of another communication method provided by an embodiment of the present application;
图17为本申请实施例提供的另一种通信协议栈架构的示意图;17 is a schematic diagram of another communication protocol stack architecture provided by an embodiment of the present application;
图18为本申请实施例提供的一种通信装置的结构示意图;FIG. 18 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图19为本申请实施例提供的另一种通信装置的结构示意图;FIG. 19 is a schematic structural diagram of another communication device provided by an embodiment of the present application;
图20为本申请实施例提供的另一种通信装置的结构示意图;FIG. 20 is a schematic structural diagram of another communication device provided by an embodiment of the present application;
图21为本申请实施例提供的另一种通信装置的结构示意图。FIG. 21 is a schematic structural diagram of another communication apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。方法实施例中的具体操作方法也可以应用于装置实施例或系统实施例中。In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The specific operation methods in the method embodiments may also be applied to the apparatus embodiments or the system embodiments.
如图1所示,本申请实施例提供的通信方法可应用于无线通信系统,该无线通信系统可以包括终端设备101以及网络设备102。As shown in FIG. 1 , the communication method provided by the embodiment of the present application may be applied to a wireless communication system, and the wireless communication system may include a terminal device 101 and a network device 102 .
应理解,以上无线通信系统既可适用于低频场景(sub 6G),也可适用于高频场景 (above6G)。无线通信系统的应用场景包括但不限于第五代系统、新无线(new radio,NR)通信系统或未来的演进的公共陆地移动网络(public land mobile network,PLMN)系统等。It should be understood that the above wireless communication system is applicable to both low frequency scenarios (sub 6G) and high frequency scenarios (above 6G). Application scenarios of the wireless communication system include, but are not limited to, fifth-generation systems, new radio (NR) communication systems, or future evolved public land mobile network (PLMN) systems, and the like.
以上所示终端设备101可以是用户设备(user equipment,UE)、终端(terminal)、接入终端、终端单元、终端站、移动台(mobile station,MS)、远方站、远程终端、移动终端(mobile terminal)、无线通信设备、终端代理或终端设备等。该终端设备101可具备无线收发功能,其能够与一个或多个通信系统的一个或多个网络设备进行通信(如无线通信),并接受网络设备提供的网络服务,这里的网络设备包括但不限于图示网络设备102。The terminal device 101 shown above may be a user equipment (UE), a terminal (terminal), an access terminal, a terminal unit, a terminal station, a mobile station (mobile station, MS), a remote station, a remote terminal, a mobile terminal ( mobile terminal), wireless communication equipment, terminal agent or terminal equipment, etc. The terminal device 101 may have a wireless transceiver function, which can communicate with one or more network devices of one or more communication systems (eg, wireless communication), and accept network services provided by the network devices, where the network devices include but not The network device 102 is limited to the illustration.
其中,终端设备101可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、未来5G网络中的终端装置或者未来演进的PLMN网络中的终端装置等。The terminal device 101 may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) device, Handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks or terminal devices in future evolved PLMN networks, etc.
另外,终端设备101可以部署在陆地上,包括室内或室外、手持或车载;终端设备101也可以部署在水面上(如轮船等);终端设备101还可以部署在空中(例如飞机、气球和卫星上等)。该终端设备101具体可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。终端设备101也可以是具有通信模块的通信芯片,也可以是具有通信功能的车辆,或者车载设备(如车载通信装置,车载通信芯片)等。In addition, the terminal device 101 can be deployed on land, including indoor or outdoor, handheld or vehicle; the terminal device 101 can also be deployed on water (such as ships, etc.); the terminal device 101 can also be deployed in the air (such as aircraft, balloons and satellites) superior). The terminal device 101 may specifically be a mobile phone (mobile phone), a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal, an augmented reality (augmented reality, AR) terminal, an industrial control (industrial control) wireless terminal in control), wireless terminal in self-driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety Terminals, wireless terminals in smart cities, wireless terminals in smart homes, etc. The terminal device 101 may also be a communication chip with a communication module, a vehicle with a communication function, or an in-vehicle device (such as an in-vehicle communication device, an in-vehicle communication chip) or the like.
网络设备102可以是接入网设备(或称接入网站点)。其中,接入网设备是指有提供网络接入功能的设备,如无线接入网(radio access network,RAN)基站(或称RAN设备)等等。网络设备102具体可包括基站(base station,BS),或包括基站以及用于控制基站的无线资源管理设备等。该网络设备102还可包括中继站(中继设备)、接入点以及未来5G网络中的基站、未来演进的PLMN网络中的基站或者NR基站等。网络设备102可以是可穿戴设备或车载设备。网络设备102也可以是具有通信模块的通信芯片。The network device 102 may be an access network device (or an access network point). The access network device refers to a device that provides a network access function, such as a radio access network (radio access network, RAN) base station (or RAN device) and the like. The network device 102 may specifically include a base station (base station, BS), or include a base station and a radio resource management device for controlling the base station, and the like. The network device 102 may also include a relay station (relay device), an access point, a base station in a future 5G network, a base station in a future evolved PLMN network, or an NR base station, and the like. The network device 102 may be a wearable device or a vehicle-mounted device. The network device 102 may also be a communication chip with a communication module.
比如,网络设备102包括但不限于:5G中的下一代基站(g nodeB,gNB)、长期演进(long term evolution,LTE)系统中的演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、云无线接入网络(cloud radio access network,CRAN)系统下的无线控制器、基站控制器(base station controller,BSC)、家庭基站(例如,home evolved nodeB,或home node B,HNB)、基带单元(baseBand unit,BBU)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心、全球移动通信系统(global aystem for mobile communication,GSM)或码分多址(code division multiple access,CDMA)网络中的基站收发信台(base transceiver station,BTS),也可以是宽带码分多址(wideband code division multiple access,WCDMA)中的节点基站(nodebase station,NB),还可以是LTE中的演进型(evolutional)NB(eNB或eNodeB),还可以是未来5G网络中的基站设备或者未来演进的PLMN网络中的接入网设备,还可以是可穿戴设备或车载设备。For example, the network device 102 includes, but is not limited to: the next generation base station (g nodeB, gNB) in 5G, the evolved node B (evolved node B, eNB) in the long term evolution (long term evolution, LTE) system, radio network control radio network controller (RNC), wireless controller under cloud radio access network (CRAN) system, base station controller (BSC), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand unit, BBU), transmission point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, global aystem for mobile communication , GSM) or code division multiple access (code division multiple access, CDMA) network base transceiver station (base transceiver station, BTS), can also be wideband code division multiple access (wideband code division multiple access, WCDMA) in A node base station (NB) can also be an evolutional NB (eNB or eNodeB) in LTE, and can also be a base station device in a future 5G network or an access network device in a future evolved PLMN network, It can also be a wearable device or a vehicle-mounted device.
在一些部署中,网络设备可以包括集中式单元(centralized unit,CU)和(distributed unit,DU)。网络设备还可以包括有源天线单元(active antenna unit,AAU)。CU实现网络设备 的部分功能,DU实现网络设备的部分功能,比如,CU负责处理非实时协议和服务,实现无线资源控制(radio resource control,RRC),分组数据汇聚层协议(packet data convergence protocol,PDCP)层的功能。DU负责处理物理层协议和实时服务,实现无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理(physical,PHY)层的功能。AAU实现部分物理层处理功能、射频处理及有源天线的相关功能。由于RRC层的信息最终会变成PHY层的信息,或者,由PHY层的信息转变而来,因而,在这种架构下,高层信令,如RRC层信令,也可以认为是由DU发送的,或者,由DU+AAU发送的。可以理解的是,网络设备可以为包括CU节点、DU节点、AAU节点中一项或多项的设备。此外,可以将CU划分为接入网(radio access network,RAN)中的网络设备,也可以将CU划分为核心网(core network,CN)中的网络设备(可称为CN设备),本申请对此不做限定。In some deployments, network devices may include centralized units (CUs) and distributed units (DUs). The network equipment may also include an active antenna unit (AAU). CU implements some functions of network equipment, and DU implements some functions of network equipment. For example, CU is responsible for processing non-real-time protocols and services, implementing radio resource control (RRC), packet data convergence layer protocol (packet data convergence protocol, PDCP) layer function. The DU is responsible for processing physical layer protocols and real-time services, and implementing the functions of the radio link control (RLC) layer, the media access control (MAC) layer and the physical (PHY) layer. AAU implements some physical layer processing functions, radio frequency processing and related functions of active antennas. Since the information of the RRC layer will eventually become the information of the PHY layer, or be transformed from the information of the PHY layer, therefore, in this architecture, the higher-layer signaling, such as the RRC layer signaling, can also be considered to be sent by the DU. , or, sent by DU+AAU. It can be understood that the network device may be a device including one or more of a CU node, a DU node, and an AAU node. In addition, the CU can be divided into network devices in the access network (radio access network, RAN), and the CU can also be divided into network devices (may be referred to as CN devices) in the core network (core network, CN). This is not limited.
此外,网络设备102可连接至核心网(core network,CN)设备,核心网设备可用于为接入网络设备102终端设备101提供核心网服务。核心网设备在不同的系统下可对应不同的设备。比如在3G中核心网设备可以对应通用分组无线服务技术(general packet radio service,GPRS)的服务支持节点(serving GPRS support node,SGSN)和/或GPRS的网关支持节点(gateway GPRS Support Node,GGSN)。在4G中核心网设备可以对应移动管理实体(mobility management entity,MME)和/或服务网关(serving gateway,S-GW)等。在5G中核心网设备可以对应接入和移动性管理功能(access and mobility management function,AMF)实体、会话管理功能(session management function,SMF)实体或者用户面功能(user plane function,UPF)实体等。In addition, the network device 102 may be connected to a core network (core network, CN) device, and the core network device may be used to provide core network services for the terminal device 101 accessing the network device 102 . Core network devices can correspond to different devices under different systems. For example, in 3G, the core network equipment can correspond to the service support node (serving GPRS support node, SGSN) of general packet radio service technology (general packet radio service, GPRS) and/or the gateway support node of GPRS (gateway GPRS Support Node, GGSN) . In 4G, the core network device may correspond to a mobility management entity (mobility management entity, MME) and/or a serving gateway (serving gateway, S-GW). In 5G, core network equipment can correspond to access and mobility management function (AMF) entities, session management function (SMF) entities, or user plane function (UPF) entities, etc. .
如图1所示的网络设备与终端设备可分别具有一定的协议栈结构,以用于相互通信。图2是一种网络设备和终端设备的协议栈结构的示意图。图2中,虚线表示数据从网络设备发送到终端设备,可以理解,这只是示意性的,数据传输的方向也可以是从终端设备到网络设备。如图2所示,例如控制面协议栈结构可以包括无线资源控制(radio resource control,RRC)层、业务数据适配(service data adaptation protocol,SDAP)层、分组数据汇聚层协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、媒体接入控制(media Access Link control,MAC)和物理层等。其中,物理层位于最低层(层一),MAC层、RLC层、PDCP层以及SDAP层属于第二层(层二),RRC层属于第三层(层三)。The network device and the terminal device as shown in FIG. 1 may respectively have a certain protocol stack structure for mutual communication. FIG. 2 is a schematic diagram of a protocol stack structure of a network device and a terminal device. In FIG. 2 , the dotted line indicates that data is sent from the network device to the terminal device. It can be understood that this is only schematic, and the direction of data transmission may also be from the terminal device to the network device. As shown in Figure 2, for example, the control plane protocol stack structure may include a radio resource control (RRC) layer, a service data adaptation protocol (SDAP) layer, and a packet data convergence layer protocol (packet data convergence protocol). , PDCP) layer, radio link control (radio link control, RLC) layer, media access control (media Access Link control, MAC) and physical layer and so on. The physical layer is located at the lowest layer (layer 1), the MAC layer, RLC layer, PDCP layer and SDAP layer belong to the second layer (layer 2), and the RRC layer belongs to the third layer (layer 3).
数据首先到达网络设备的PDCP层,经过网络设备的PDCP层的处理以后传输到RLC层和MAC层,经过处理之后,从物理层发送出去,通过空口传输给终端设备。然后终端设备侧的各个协议层按照与网络设备相反的处理顺序对数据包依次进行对应的处理。在网络设备和终端设备侧可以形象地将各层对数据包的处理结合起来称为无线承载,对于无线承载里的每个数据,都需要经过各个层的处理,每个层都有相应的功能实体来执行相应的功能,比如PDCP层的PDCP实体。The data first arrives at the PDCP layer of the network device, and then is transmitted to the RLC layer and the MAC layer after being processed by the PDCP layer of the network device. After being processed, it is sent from the physical layer and transmitted to the terminal device through the air interface. Then, each protocol layer on the terminal device side sequentially performs corresponding processing on the data packets according to the processing sequence opposite to that of the network device. On the network equipment and terminal equipment side, the processing of data packets by various layers can be visually combined, which is called wireless bearer. For each data in the wireless bearer, it needs to be processed by each layer, and each layer has corresponding functions. entity to perform the corresponding function, such as the PDCP entity of the PDCP layer.
每个无线承载配置里面会包含一个PDCP实体,同时无线承载配置会关联至少一个RLC实体,并且每个RLC实体对应一个逻辑信道。PDCP之上,可能还存在SDAP层,SDAP层负责核心网过来的数据映射到不同承载上。Each radio bearer configuration will contain a PDCP entity, and at the same time, the radio bearer configuration will be associated with at least one RLC entity, and each RLC entity corresponds to a logical channel. On top of PDCP, there may also be an SDAP layer. The SDAP layer is responsible for mapping data from the core network to different bearers.
具体的数据例子如下:原始数据在物理层传输之前,需要增加SDAP,PDCP,RLC,MAC包头。当然其中部分层的包头是可选的,比如SDAP和RLC都有不加包头的传输方 式。其中,PDCP,SDAP和原始数据包是一一对应。RLC可能将一个PDCP包进行切割,MAC可能对多个RLC包进行级联发送。Specific data examples are as follows: SDAP, PDCP, RLC, and MAC packet headers need to be added before the original data is transmitted at the physical layer. Of course, the headers of some layers are optional. For example, SDAP and RLC have transmission modes without headers. Among them, PDCP, SDAP and original data packets are in one-to-one correspondence. The RLC may cut a PDCP packet, and the MAC may cascade and send multiple RLC packets.
如图3所示,为蜂窝通信数据传输所涉及的协议架构(用户面协议架构)。其中,在终端设备向服务器发送数据时,首先由应用(application,APP)层生成数据包,APP层生成的包(以下简称为APP层包)可包括包头和负载。APP层包可以是传输控制协议(transmission control protocol,TCP)/互联网协议(internet protocol,IP)包(或者说,APP层包的包头为TCP/IP包头),也可以为以太网(ethernet)协议里的MAC包(或者说,APP层包的包头为ethernet包头),在这里并不限制。相应地,当数据包到达服务器,由服务器的应用层解析终端设备发送的数据。As shown in FIG. 3 , it is the protocol architecture (user plane protocol architecture) involved in cellular communication data transmission. Wherein, when the terminal device sends data to the server, the data packet is first generated by the application (application, APP) layer, and the packet generated by the APP layer (hereinafter referred to as the APP layer packet) may include a packet header and a payload. The APP layer packet can be a transmission control protocol (transmission control protocol, TCP)/Internet protocol (internet protocol, IP) packet (or in other words, the packet header of the APP layer packet is a TCP/IP packet header), or it can be an Ethernet (ethernet) protocol. The MAC packet (or in other words, the packet header of the APP layer packet is the ethernet packet header) is not limited here. Correspondingly, when the data packet arrives at the server, the application layer of the server parses the data sent by the terminal device.
本申请实施例中的术语“系统”和“网络”可被互换使用。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A、同时存在A和B、单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如“A,B和C中的至少一个”包括A,B,C,AB,AC,BC或ABC。The terms "system" and "network" in the embodiments of the present application may be used interchangeably. "At least one" means one or more, and "plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example "at least one of A, B and C" includes A, B, C, AB, AC, BC or ABC.
以及,除非有特别说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。例如,第一阈值和第二阈值,只是为了区分不同的阈值,而并不是表示这两种阈值的优先级或者重要程度等的不同。And, unless otherwise specified, ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority or importance of multiple objects degree. For example, the first threshold and the second threshold are only for distinguishing different thresholds, and do not indicate the difference in priority or importance of the two thresholds.
下面结合说明书附图对本申请实施例适用的可选的网络架构进行说明。An optional network architecture applicable to the embodiments of the present application will be described below with reference to the accompanying drawings.
图4为本申请实施例适用的一种网络架构示意图。如图4所示,终端设备431和终端设备432可接入到RAN设备410和核心网设备(也称为CN设备)420,其中RAN设备410用于将终端设备431和终端设备432接入到无线网络,CN设备420用于对终端设备进行管理并提供与外网通信的网关。本申请实施例中,终端设备431和终端设备432之间相互发送通讯数据,可称终端设备431和终端设备432为一个业务对。FIG. 4 is a schematic diagram of a network architecture to which an embodiment of the present application is applied. As shown in FIG. 4 , the terminal equipment 431 and the terminal equipment 432 can be connected to the RAN equipment 410 and the core network equipment (also referred to as CN equipment) 420, wherein the RAN equipment 410 is used to access the terminal equipment 431 and the terminal equipment 432 to the In the wireless network, the CN device 420 is used to manage the terminal device and provide a gateway for communication with the external network. In this embodiment of the present application, the terminal device 431 and the terminal device 432 send communication data to each other, and the terminal device 431 and the terminal device 432 may be referred to as a service pair.
当图4所示的网络架构适用于5G通信系统时,CN设备420可以为AMF实体、SMF实体或UPF实体等,当图2所示的网络架构适用于LTE通信系统时,CN设备420可以为MME或S-GW等。When the network architecture shown in FIG. 4 is applicable to a 5G communication system, the CN device 420 may be an AMF entity, an SMF entity or a UPF entity, etc. When the network architecture shown in FIG. 2 is applicable to an LTE communication system, the CN device 420 may be MME or S-GW etc.
上述图4所示意的网络架构可以适用于各种无线接入技术(radio access technology,RAT)的通信系统中,可以是5G(或者称为NR)通信系统,也可以是LTE通信系统与5G通信系统之间的过渡系统,该过渡系统也可以称为4.5G通信系统,当然也可以是5G后续的未来的通信系统。本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着通信网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture shown in Figure 4 above can be applied to communication systems of various radio access technologies (RATs), such as 5G (or NR) communication systems, or LTE communication systems and 5G communication. The transition system between systems, the transition system can also be called a 4.5G communication system, and of course it can also be a future communication system following 5G. The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. The evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
下面结合附图对本申请实施例进行说明。The embodiments of the present application will be described below with reference to the accompanying drawings.
本申请实施例提供的通信方法可由第一终端设备、第二终端设备和第一网络设备执行。该第一终端设备和第二终端设备可包括图1所示终端设备101,该第一网络设备可包括图1所示核心网设备;或者,该第一终端设备和第二终端设备可分别为图4所示终端设备431 和终端设备432,第一网络设备可包括图4所示的核心网设备420。其中,以上图1所示的核心网设备或图4所示的核心网设备420可以是业务服务器(server)(以下简称为服务器)或UPF。The communication method provided by the embodiment of the present application can be executed by the first terminal device, the second terminal device, and the first network device. The first terminal device and the second terminal device may include the terminal device 101 shown in FIG. 1, and the first network device may include the core network device shown in FIG. 1; or, the first terminal device and the second terminal device may be respectively For the terminal device 431 and the terminal device 432 shown in FIG. 4 , the first network device may include the core network device 420 shown in FIG. 4 . The core network device shown in FIG. 1 above or the core network device 420 shown in FIG. 4 may be a service server (server) (hereinafter referred to as a server) or a UPF.
如图5所示,该方法可包括以下步骤:As shown in Figure 5, the method may include the following steps:
S101:第一终端设备发送第一数据包,该第一数据包中包括第一指示信息和第一数据。S101: The first terminal device sends a first data packet, where the first data packet includes first indication information and first data.
相应地,第一网络设备接收第一数据包。Correspondingly, the first network device receives the first data packet.
S102:第二终端设备发送第二数据包,该第二数据包中包括第二指示信息和第二数据。S102: The second terminal device sends a second data packet, where the second data packet includes second indication information and second data.
相应地,第一网络设备接收第二数据包。Correspondingly, the first network device receives the second data packet.
应理解,以上S101和S102所示步骤之间的时序不进行具体限定,可以S101在先执行,也可以S102在先执行。It should be understood that the sequence between the steps shown in the above S101 and S102 is not specifically limited, and S101 may be performed first, or S102 may be performed first.
S103:第一网络设备根据第一数据和第二数据获得第三数据,该第三数据、所述第二数据和所述第一数据具有异或关系。S103: The first network device obtains third data according to the first data and the second data, and the third data, the second data and the first data have an exclusive OR relationship.
S104:第一网络设备发送第三数据包,该第三数据包中包括第一指示信息、第二指示信息以及第三数据。S104: The first network device sends a third data packet, where the third data packet includes the first indication information, the second indication information, and the third data.
相应地,第一终端设备接收第三数据包,第二终端设备接收第三数据包。Correspondingly, the first terminal device receives the third data packet, and the second terminal device receives the third data packet.
S105:第一终端设备根据第一指示信息,获得该第二数据。S105: The first terminal device obtains the second data according to the first indication information.
示例性的,第一终端设备可根据第一指示信息,对第一数据和第三数据进行异或操作(或逆异或操作),获得第三数据。Exemplarily, the first terminal device may perform an XOR operation (or an inverse XOR operation) on the first data and the third data according to the first indication information to obtain the third data.
S106:第二终端设备根据第二指示信息,获得该第一数据。S106: The second terminal device obtains the first data according to the second indication information.
示例性的,第二终端设备可根据第二指示信息,对第二数据和第三数据进行异或操作(或逆异或操作),获得第一数据。Exemplarily, the second terminal device may perform an XOR operation (or an inverse XOR operation) on the second data and the third data according to the second indication information to obtain the first data.
采用以上方法,当第一终端设备和第二终端设备互相进行通信时,网络设备对第一终端设备发送的第一数据和第二终端设备发送的第二数据进行异或处理形成第三数据,并向第一终端设备和/或第二终端设备发送包括第三数据的第三数据包。第一终端设备根据第一指示信息,根据第三数据和第一数据处理获得第二数据,和/或,第二终端设备根据第二指示信息,根据第三数据和第二数据处理获得第一数据。因此,在第一终端设备与第二终端设备互相进行通信时,第一网络设备可向第一终端设备和第二终端设备发送经过异或处理的数据,用于第一终端设备和第二终端设备分别获取自身需要的数据,可降低下行传输时的空口消耗。Using the above method, when the first terminal device and the second terminal device communicate with each other, the network device performs XOR processing on the first data sent by the first terminal device and the second data sent by the second terminal device to form third data, and send a third data packet including the third data to the first terminal device and/or the second terminal device. The first terminal device processes the third data and the first data to obtain the second data according to the first indication information, and/or the second terminal device processes the third data and the second data to obtain the first data according to the second indication information. data. Therefore, when the first terminal device and the second terminal device communicate with each other, the first network device can send XOR-processed data to the first terminal device and the second terminal device for the first terminal device and the second terminal device. The device obtains the data it needs separately, which can reduce the air interface consumption during downlink transmission.
示例性的,第一网络设备可通过多播方式向第一终端设备和第二终端设备发送第三数据包,以进一步节省空口消耗。Exemplarily, the first network device may send the third data packet to the first terminal device and the second terminal device in a multicast manner, so as to further save air interface consumption.
下面通过举例的方式说明第一数据包可能的结构。The possible structure of the first data packet is described below by way of example.
示例性的,第一数据包中包括的第一指示信息可以用于标识第一终端设备发送的该第一数据包,例如,第一指示信息可以是用于标识第一数据包的信息(或用于标识第一数据的信息),如序列号(sequence number,SN),比如,SN=1(或SN=0)时,表示第一数据包为第一终端设备向第二终端设备发送的某个业务的第1个数据包。因此,当第一终端设备确定第三数据包中包括第一指示信息时,可根据第一指示信息查询第一数据包以获取第一数据(或者说,可根据第一指示信息查询第一数据),用于根据第一数据确定第二数据。Exemplarily, the first indication information included in the first data packet may be used to identify the first data packet sent by the first terminal device, for example, the first indication information may be information used to identify the first data packet (or information used to identify the first data), such as a sequence number (sequence number, SN), for example, when SN=1 (or SN=0), it indicates that the first data packet is sent by the first terminal device to the second terminal device The first data packet of a service. Therefore, when the first terminal device determines that the third data packet includes the first indication information, it can query the first data packet according to the first indication information to obtain the first data (or in other words, it can query the first data according to the first indication information) ) for determining the second data according to the first data.
第一数据可包括第一终端设备需要发送至第二终端设备的数据。The first data may include data that the first terminal device needs to send to the second terminal device.
可选的,第一数据包中还可包括第三指示信息和/或第四指示信息。Optionally, the first data packet may further include third indication information and/or fourth indication information.
其中,第三指示信息可用于指示第一终端设备以及第二终端设备之间互为目标节点,因此,该指示信息可用于确定来自于哪些终端设备的数据包需要进行异或处理。举例来说,第三指示信息可包括第一终端设备以及第二终端设备的地址对,即包括第一终端设备和第二终端设备分别的地址组成的地址对;或者,第三指示信息可包括业务对标识(Pair ID),比如网络为第一终端设备以及第二终端设备组成的业务对分配的标识;或者,包括第一终端设备与第二终端设备之间传输业务的业务标识,如业务的临时多播组标识(temporary multicast group identifier,TMGI)。The third indication information can be used to indicate that the first terminal device and the second terminal device are target nodes to each other. Therefore, the indication information can be used to determine which data packets from which terminal devices need to be XORed. For example, the third indication information may include an address pair of the first terminal device and the second terminal device, that is, an address pair consisting of addresses of the first terminal device and the second terminal device respectively; or, the third indication information may include Service pair identifier (Pair ID), such as the identifier assigned by the network to the service pair formed by the first terminal device and the second terminal device; or, including the service identifier of the service transmitted between the first terminal device and the second terminal device, such as Temporary multicast group identifier (TMGI).
第四指示信息可以用于指示该第一数据包中的数据未经过异或处理,或者说,第四指示信息可用于指示第一数据包中的数据为原始数据。比如,第四指示信息通过第一数据包中的特定比特位表示,当该比特位被置为特定取值时,可表示第一数据包中的数据未经过异或处理。The fourth indication information may be used to indicate that the data in the first data packet has not undergone XOR processing, or in other words, the fourth indication information may be used to indicate that the data in the first data packet is original data. For example, the fourth indication information is represented by a specific bit in the first data packet, and when the bit is set to a specific value, it can indicate that the data in the first data packet has not undergone XOR processing.
如图6所示,一种可能的示例中,第一数据包中可通过不同的信元分别携带第一指示信息、第一数据、第三指示信息和第四指示信息,其中,第三指示信息和第四指示信息为可选项。应理解,图6所示信元结构仅仅是一种可能的示例,本申请对于第一指示信息、第一数据、第三指示信息和第四指示信息排列的先后顺序不作具体限定。此外,以上第一指示信息、第一数据、第三指示信息和第四指示信息中的至少两个也可携带在同一信元中,比如,通过同一信元中的不同比特位表示以上多个信息中的至少两个。As shown in FIG. 6 , in a possible example, the first data packet may carry the first indication information, the first data, the third indication information and the fourth indication information through different information elements, wherein the third indication The information and the fourth indication information are optional. It should be understood that the cell structure shown in FIG. 6 is only a possible example, and the present application does not specifically limit the sequence of the arrangement of the first indication information, the first data, the third indication information and the fourth indication information. In addition, at least two of the above first indication information, first data, third indication information and fourth indication information may also be carried in the same cell, for example, different bits in the same cell indicate that the above multiple at least two of the information.
可选的,第一数据可携带在APP层。第一指示信息、第三指示信息和第四指示信息,可携带在APP层或XOR层(其中,该XOR层也可以有其他名称,具体名称本申请中不作具体限定)。其中,XOR层为PDCP层以上,应用层以下的一个协议层。比如,XOR层为SDPA层与APP层之间的协议层。Optionally, the first data may be carried at the APP layer. The first indication information, the third indication information and the fourth indication information may be carried in the APP layer or the XOR layer (wherein, the XOR layer may also have other names, and the specific names are not specifically limited in this application). The XOR layer is a protocol layer above the PDCP layer and below the application layer. For example, the XOR layer is a protocol layer between the SDPA layer and the APP layer.
当第一指示信息、第三指示信息和第四指示信息携带在APP层时,如图7所示,第一指示信息、第一数据、第三指示信息和第四指示信息可携带在APP层负载(payload)中。其中,第四指示信息和第三指示信息为可选内容。When the first indication information, the third indication information and the fourth indication information are carried in the APP layer, as shown in FIG. 7 , the first indication information, the first data, the third indication information and the fourth indication information can be carried in the APP layer in the payload. Wherein, the fourth indication information and the third indication information are optional contents.
当第一指示信息、第三指示信息和第四指示信息携带在XOR层时,如图8所示,第一指示信息、第三指示信息和第四指示信息可携带在XOR层的包头中,第一数据可携带在APP层包的负载中,APP层包作为XOR层的负载。其中,第四指示信息和第三指示信息为可选内容。When the first indication information, the third indication information and the fourth indication information are carried in the XOR layer, as shown in FIG. 8 , the first indication information, the third indication information and the fourth indication information can be carried in the packet header of the XOR layer, The first data can be carried in the payload of the APP layer packet, and the APP layer packet is used as the payload of the XOR layer. Wherein, the fourth indication information and the third indication information are optional contents.
应理解,第二数据包的结构可参照第一数据包的结构。其中,第二数据包可包括第二指示信息、第二数据、第三指示信息和/或第四指示信息。这里的第二指示信息用于标识第二终端设备发送的该第二数据包,第二指示信息的设置方式可参照第一指示信息设置。第二数据为第二终端设备发送至第一终端设备的数据。第二数据包中的第三指示信息可用于指示第一终端设备以及第二终端设备之间互为目标节点,其设置方式可参照第一数据包中的第三指示信息。第二数据包中的第四指示信息可以用于指示该第二数据包中的数据未经过异或处理,或者说,第四指示信息可用于指示第二数据包中的数据为原始数据。It should be understood that the structure of the second data packet may refer to the structure of the first data packet. Wherein, the second data packet may include second indication information, second data, third indication information and/or fourth indication information. The second indication information here is used to identify the second data packet sent by the second terminal device, and the setting method of the second indication information may be set with reference to the first indication information. The second data is data sent by the second terminal device to the first terminal device. The third indication information in the second data packet may be used to indicate that the first terminal device and the second terminal device are mutual target nodes, and the setting method may refer to the third indication information in the first data packet. The fourth indication information in the second data packet may be used to indicate that the data in the second data packet has not undergone XOR processing, or in other words, the fourth indication information may be used to indicate that the data in the second data packet is original data.
下面举例说明终端设备获取第三指示信息的方式。The following example illustrates the manner in which the terminal device obtains the third indication information.
方式一,第一终端设备和/或第二网络设备从第一网络设备接收该第三指示信息。Manner 1: The first terminal device and/or the second network device receive the third indication information from the first network device.
当第一终端设备需要传输某个业务的数据时,第一终端设备向第一网络设备发送第一信息,该第一信息可包括第一终端设备的小区标识、第一数据所属业务的目标地址(即需要发送的业务的目标地址,如第二终端设备的地址)或者第一数据所属业务的源地址中的 至少一个信息。其中,小区标识例如小区全局标识(cell global identifier,CGI)或物理小区标识(physical cell identifier,PCI)等。业务的目标地址为第一数据的接收端地址,这里例如第二终端设备的地址。业务的源地址为第一数据的发送端地址,这里例如第一终端设备的地址。When the first terminal device needs to transmit data of a certain service, the first terminal device sends first information to the first network device, where the first information may include the cell identifier of the first terminal device and the target address of the service to which the first data belongs. (that is, the destination address of the service to be sent, such as the address of the second terminal device) or at least one information in the source address of the service to which the first data belongs. The cell identifier is, for example, a cell global identifier (cell global identifier, CGI) or a physical cell identifier (physical cell identifier, PCI). The target address of the service is the address of the receiving end of the first data, here, for example, the address of the second terminal device. The source address of the service is the address of the sending end of the first data, here, for example, the address of the first terminal device.
应理解,以上对于通过IP协议承载的业务,业务的目标地址和/或源地址包括业务的IP地址;对于通过ethernet协议承载的业务,业务的目标地址和/或源地址包括业务的MAC地址;对于通过其他协议承载的业务,业务的目标地址和/或源地址包括该协议相应的地址。It should be understood that, for the services carried by the IP protocol above, the target address and/or source address of the service include the IP address of the service; for the service carried by the ethernet protocol, the target address and/or source address of the service include the MAC address of the service; For services carried by other protocols, the destination address and/or source address of the service includes addresses corresponding to the protocol.
同理,第二终端设备向第一网络设备发送第一信息,其中携带第二终端设备的小区标识、第二数据所属业务的目标地址或者第二数据所属业务的源地址中的至少一个信息,具体设置方式可参照上述对于第一信息的说明。Similarly, the second terminal device sends the first information to the first network device, which carries at least one of the cell identifier of the second terminal device, the destination address of the service to which the second data belongs, or the source address of the service to which the second data belongs, For a specific setting method, reference may be made to the above description of the first information.
当第一网络设备接收来自于第一终端设备和来自于第二终端设备的第一信息时,如果第一网络设备识别第一终端设备和第二终端设备属于相同的小区,且第一终端设备与第二终端设备之间相互进行业务数据的传输时,可令第一终端设备和第二终端设备相互之间的数据进行异或处理,并通过向第一终端设备和第二终端设备发送经过异或处理的数据,即执行图5所示流程。When the first network device receives the first information from the first terminal device and from the second terminal device, if the first network device recognizes that the first terminal device and the second terminal device belong to the same cell, and the first terminal device When the service data is transmitted with the second terminal device, the data between the first terminal device and the second terminal device can be XORed and sent to the first terminal device and the second terminal device. XOR-processed data, that is, execute the flow shown in FIG. 5 .
在此情况下,第一网络设备可分别向第一终端设备和第二终端设备发送第二信息。以向第一终端设备发送的第二信息为例,该第二信息可包括上述第三指示信息、用于指示根据所述第三数据和所述第一数据获得所述第二数据的信息、多播业务标识、多播业务的目标地址(或称多播地址)、用于指示所述第一终端设备与所述第二终端设备之间的先后顺序(或主副顺序)的信息、所述第三数据包的协议数据单元会话(protocol data unit session,PDU session)标识(identifier,ID)、所述第三数据包的服务质量流(quality of service flow,QoS)的ID或者所述第三数据包的数据无线承载(data radio bearer,DRB)的ID中的至少一个信息。In this case, the first network device may send the second information to the first terminal device and the second terminal device, respectively. Taking the second information sent to the first terminal device as an example, the second information may include the above-mentioned third indication information, information used to indicate that the second data is obtained according to the third data and the first data, The multicast service identifier, the destination address (or multicast address) of the multicast service, the information used to indicate the sequence (or primary and secondary sequence) between the first terminal device and the second terminal device, all The identifier (identifier, ID) of the protocol data unit session (PDU session) of the third data packet, the ID of the quality of service flow (QoS) of the third data packet, or the ID of the third data packet. At least one piece of information in the ID of the data radio bearer (DRB) of the three data packets.
其中,该第三指示信息可用于指示所述第一终端设备以及第二终端设备之间互为目标节点。The third indication information may be used to indicate that the first terminal device and the second terminal device are mutual target nodes.
用于指示根据所述第三数据和所述第一数据获得所述第二数据的信息,可用于指示第一终端设备按照图5所示方法获得来自于第二终端设备的数据。在一种可能的实现方式中,该信息可用于开启图5所示的数据传输方法的执行,后续发送至第一终端设备和/或第二终端设备的下行数据全部为经过异或处理的数据,而不再需要通过第二数据包中的第五指示信息进行指示,此方式中,第一终端设备接收到第三数据包,则可按照图5所示方法获取第二数据。在另一种可能的实现方式中,该信息可用于开启图5所示的数据传输方法,但后续发送至第一终端设备和/或第二终端设备的数据包不一定必须经过异或处理,仍然需要在下行数据包中通过类似于第五指示信息的信息,对数据包中的数据是否经过异或处理进行指示。此方案中,如果第一终端设备接收到用于指示根据所述第三数据和所述第一数据获得所述第二数据的信息,并且确定第三数据包中包括第五指示信息,则可根据图5所示方式获取第二数据。The information used for instructing to obtain the second data according to the third data and the first data may be used to instruct the first terminal device to obtain the data from the second terminal device according to the method shown in FIG. 5 . In a possible implementation manner, the information can be used to start the execution of the data transmission method shown in FIG. 5 , and all the downlink data subsequently sent to the first terminal device and/or the second terminal device are XOR-processed data , instead of needing to indicate through the fifth indication information in the second data packet. In this way, when the first terminal device receives the third data packet, it can obtain the second data according to the method shown in FIG. 5 . In another possible implementation manner, the information can be used to enable the data transmission method shown in FIG. 5 , but the data packets subsequently sent to the first terminal device and/or the second terminal device do not necessarily have to undergo XOR processing, It is still necessary to indicate whether the data in the data packet has undergone XOR processing through information similar to the fifth indication information in the downlink data packet. In this solution, if the first terminal device receives the information indicating that the second data is obtained according to the third data and the first data, and determines that the third data packet includes fifth indication information, it can The second data is acquired according to the manner shown in FIG. 5 .
多播业务标识例如多播业务的TMGI,其可用于所述第二数据包的接收,比如,第一终端设备可根据该标识接收通过多播业务的数据,该多播业务的数据包括第三数据包,或者说,该多播业务用于传输第一终端设备和第二终端设备的经过异或处理的数据。The multicast service identifier is, for example, the TMGI of the multicast service, which can be used for receiving the second data packet. For example, the first terminal device can receive the data of the multicast service according to the identifier, and the data of the multicast service includes the third data packet. Data packets, or in other words, the multicast service is used to transmit XOR-processed data of the first terminal device and the second terminal device.
多播业务的目标地址为第三数据包的目标地址,例如为第一终端设备和/或第二终端设 备的地址。多播地址可以是IP地址或MAC地址。The destination address of the multicast service is the destination address of the third data packet, for example, the addresses of the first terminal device and/or the second terminal device. The multicast address can be an IP address or a MAC address.
用于指示所述第一终端设备与所述第二终端设备之间的先后顺序(或主副顺序)的信息,可用于确定所述第一指示信息在所述第三数据包中的位置,比如,当第一网络设备在第三数据包中按照先后顺序排列第一指示信息以及第二指示信息时,可通过该信息指示第一指示信息位于第二指示信息之前(或之后),以方便第一终端设备获取第三数据包中的第一指示信息。举例来说,可将特定比特位的取值设定为第一值(对应于:第三数据包中的第一指示信息位于第二指示信息之前),则第一终端设备可根据该第一值确定第一指示信息。The information used to indicate the sequence (or the primary and secondary sequence) between the first terminal device and the second terminal device can be used to determine the position of the first indication information in the third data packet, For example, when the first network device arranges the first indication information and the second indication information in sequence in the third data packet, the information can be used to indicate that the first indication information is located before (or after) the second indication information, so as to facilitate the The first terminal device acquires the first indication information in the third data packet. For example, the value of a specific bit can be set as the first value (corresponding to: the first indication information in the third data packet is located before the second indication information), then the first terminal device can The value determines the first indication information.
此外,第二信息中还可包括该第三数据包的PDU session ID、QoS flow的ID或者DRB的ID中的至少一个,用于第一终端设备根据相应的PDU session、QoS flow或者DRB接收第三数据包。In addition, the second information may further include at least one of the PDU session ID, QoS flow ID or DRB ID of the third data packet, for the first terminal device to receive the first terminal device according to the corresponding PDU session, QoS flow or DRB. Three packets.
应理解,以上方式一中,第一网络设备可以是服务器或UPF,或其他核心网中的网元。It should be understood that, in the first manner above, the first network device may be a server or a UPF, or a network element in other core networks.
方式二,当第一网络设备为UPF时,第一终端设备和/或第二网络设备可从第二网络设备接收该第三指示信息,第二网络设备是与第一网络设备相连的另一个核心网设备,例如AMF。Mode 2, when the first network device is a UPF, the first terminal device and/or the second network device can receive the third indication information from the second network device, and the second network device is another network device connected to the first network device. Core network equipment, such as AMF.
当第一终端设备向第二终端设备发送数据时,数据的源地址可以为第一终端设备的应用层地址(如应用层的IP地址或MAC地址等),目标地址为第二终端设备的应用层地址(例如为IP地址或MAC地址),该数据经过UPF转发给第二终端设备。同样地,第二终端设备发送给第一终端设备的数据也通过UPF转发给第一终端设备。当UPF发现有两个地址互为源地址和目标地址,(或者,再加上满足互为源地址和目标地址的数据传输的周期比较一致的条件),则判断两个终端设备的业务有潜在进行XOR操作的可能。When the first terminal device sends data to the second terminal device, the source address of the data can be the application layer address of the first terminal device (such as the IP address or MAC address of the application layer, etc.), and the destination address is the application layer of the second terminal device. Layer address (for example, IP address or MAC address), the data is forwarded to the second terminal device through the UPF. Similarly, the data sent by the second terminal device to the first terminal device is also forwarded to the first terminal device through the UPF. When the UPF finds that there are two addresses that are the source address and the destination address of each other (or, plus the condition that the data transmission cycles of the source address and the destination address are mutually consistent), it determines that the services of the two terminal devices have potential Possibility of XOR operation.
如图9所示,当UPF发现有两个地址互为源地址和目标地址时,后续可执行第一方案或第二方案或二者的结合执行第一终端设备和第二终端设备之间数据的异或传输。As shown in FIG. 9 , when the UPF finds that there are two addresses that are the source address and the destination address of each other, the UPF can subsequently execute the first solution or the second solution or a combination of the two to execute the data between the first terminal device and the second terminal device. XOR transfer.
在第一方案中,UPF可向AMF发送第一消息,用于请求第一终端设备和第二终端设备所在小区的信息,其中,第一消息中可携带第一终端设备和第二终端设备分别的在核心网的标识,例如签约永久标识(subscription permanent identifier,SUPI)或永久设备标识(permanent equipment identifier,PEI)。AMF向UPF发送第二消息(或第一消息的响应消息),第二消息可包括第一终端设备和第二终端设备分别的服务小区标识,因此可由UPF识别第一终端设备和第二终端设备是否属于相同小区。如果UPF决定向第一终端设备和第二终端设备传输经过异或处理的数据,则UPF可向AMF发送第三消息,用于将该结果通知AMF,即告知AMF向第一终端设备和第二终端设备发送经过异或处理的数据,或者说,告知AMF向第一终端设备和第二终端设备发送经过异或处理的数据,该通知中可包括第一终端设备和第二终端设备分别的标识。In the first solution, the UPF may send a first message to the AMF for requesting information about the cells where the first terminal equipment and the second terminal equipment are located, wherein the first message may carry the first terminal equipment and the second terminal equipment respectively The identifier in the core network, such as subscription permanent identifier (SUPI) or permanent equipment identifier (PEI). The AMF sends a second message (or a response message to the first message) to the UPF. The second message may include the respective serving cell identifiers of the first terminal equipment and the second terminal equipment, so the UPF can identify the first terminal equipment and the second terminal equipment. belong to the same community. If the UPF decides to transmit the XOR-processed data to the first terminal device and the second terminal device, the UPF may send a third message to the AMF to notify the AMF of the result, that is, to notify the AMF to the first terminal device and the second terminal device The terminal device sends the XOR-processed data, or in other words, instructs the AMF to send the XOR-processed data to the first terminal device and the second terminal device, and the notification may include the respective identities of the first terminal device and the second terminal device .
如图10所示,此方式下,如果决定向第一终端设备和第二终端设备发送经过异或处理的数据,可由UPF向第一终端设备和第二终端设备发送第二信息,比如,UPF可在确定第一终端设备和第二终端设备的服务小区相同后,发送该第二信息;和/或,可由AMF向第一终端设备和第二终端设备发送该第二信息,比如,AMF在接收到第三消息后,向第一终端设备和第二终端设备发送第二信息。第二信息的设置方式可参照前述方式一中的说明。应理解,本申请不限定UPF(和/或AMF)向第一终端设备和第二终端设备分别发送第二信息时的时序。As shown in FIG. 10 , in this way, if it is decided to send XOR-processed data to the first terminal device and the second terminal device, the UPF can send the second information to the first terminal device and the second terminal device, for example, UPF The second information may be sent after it is determined that the serving cells of the first terminal equipment and the second terminal equipment are the same; and/or the second information may be sent by the AMF to the first terminal equipment and the second terminal equipment, for example, the AMF is in After receiving the third message, the second information is sent to the first terminal device and the second terminal device. For the setting method of the second information, please refer to the description in the first method. It should be understood that the present application does not limit the timing when the UPF (and/or AMF) sends the second information to the first terminal device and the second terminal device respectively.
在第二方案中,如图9所示,UPF可向AMF发送第四消息,用于指示第一终端设备和第二终端设备互为数据的源地址和目标地址。该第四消息中可包括第一终端设备和第二终端设备分别的标识(如核心网标识),此外还可包括第一终端设备和第二终端设备分别的PDU会话的标识、PDU会话的源地址目标地址等信息,则AMF可根据该第四消息,查询第一终端设备和第二终端设备分别的服务小区,并根据第一终端设备和第二终端设备分别的服务小区判断第一终端设备和第二终端设备是否在同一个小区下,以决定是否向第一终端设备和第二终端设备传输经过异或处理的数据。如果决定向第一终端设备和第二终端设备传输经过异或处理的数据,则需要向UPF发送第五消息,用于将该结果通知UPF,该第五消息中至少包括第一终端设备和第二终端设备分别的标识。In the second solution, as shown in FIG. 9 , the UPF may send a fourth message to the AMF, which is used to indicate that the first terminal device and the second terminal device are the source address and the destination address of data for each other. The fourth message may include the respective identifiers of the first terminal device and the second terminal device (eg, core network identifiers), and may also include the identifiers of the respective PDU sessions of the first terminal device and the second terminal device, and the source of the PDU session. address, target address and other information, the AMF can query the respective serving cells of the first terminal device and the second terminal device according to the fourth message, and determine the first terminal device according to the respective serving cells of the first terminal device and the second terminal device. Whether it is in the same cell as the second terminal device, to decide whether to transmit the XOR-processed data to the first terminal device and the second terminal device. If it is decided to transmit the XOR-processed data to the first terminal device and the second terminal device, a fifth message needs to be sent to the UPF to notify the UPF of the result, and the fifth message at least includes the first terminal device and the second terminal device. The respective identifications of the two terminal devices.
如图10所示,此方式下,如果决定向第一终端设备和第二终端设备发送经过异或处理的数据,可由AMF向第一终端设备和第二终端设备发送第二信息,比如,AMF可在确定第一终端设备和第二终端设备的服务小区相同后,向第一终端设备和第二终端设备发送第二信息;和/或,可由UPF向第一终端设备和第二终端设备发送第二信息,比如UPF在接收到第五消息后,向第一终端设备和第二终端设备发送第二信息。第二信息的设置方式可参照前述方式一中的说明。应理解,本申请不限定UPF(和/或AMF)向第一终端设备和第二终端设备分别发送第二信息时的时序。As shown in FIG. 10 , in this way, if it is decided to send XOR-processed data to the first terminal device and the second terminal device, the AMF can send the second information to the first terminal device and the second terminal device, for example, the AMF After it is determined that the serving cells of the first terminal device and the second terminal device are the same, the second information can be sent to the first terminal device and the second terminal device; and/or, the UPF can be used to send the second information to the first terminal device and the second terminal device. The second information, for example, after receiving the fifth message, the UPF sends the second information to the first terminal device and the second terminal device. For the setting method of the second information, please refer to the description in the first method. It should be understood that the present application does not limit the timing when the UPF (and/or AMF) sends the second information to the first terminal device and the second terminal device respectively.
下面通过举例的方式说明第三数据包可能的结构。A possible structure of the third data packet is described below by way of example.
第三数据包可包括第一指示信息、第二指示信息、第三指示信息、第五指示信息或者第三数据中的部分或全部。The third data packet may include part or all of the first indication information, the second indication information, the third indication information, the fifth indication information or the third data.
示例性的,当第三数据包发给第一终端设备和第二终端设备时,第三数据包可包括第一指示信息以及第二指示信息,其中,第一指示信息来自于第一终端设备发送的第一数据包,第二指示信息来自于第二终端设备发送的第二数据包。Exemplarily, when the third data packet is sent to the first terminal device and the second terminal device, the third data packet may include first indication information and second indication information, wherein the first indication information comes from the first terminal device. The sent first data packet, and the second indication information comes from the second data packet sent by the second terminal device.
该第三数据包中可携带第三指示信息,第三指示信息可用于标识第一终端设备与第二终端设备之间的业务,因此第一终端设备可根据第三指示信息获知根据第三数据包中的第三数据可获得第二终端设备发送的数据,第二终端设备可根据第三指示信息获知根据第三数据包中的第三数据可获得第一终端设备发送的数据。The third data packet can carry third indication information, and the third indication information can be used to identify the service between the first terminal device and the second terminal device. Therefore, the first terminal device can learn according to the third data packet according to the third indication information. The third data in the packet can obtain the data sent by the second terminal device, and the second terminal device can obtain the data sent by the first terminal device according to the third data in the third data packet according to the third indication information.
该第三数据包可包括第五指示信息,该第五指示信息可用于指示第三数据经过异或处理。应理解,第五指示信息可与第四指示信息使用相同的比特位(或信元)指示,该比特位携带的信息可被称为异或(exclusive or,XoR)指示,比如,当该比特位(或信元)被置为第四指示信息对应的值时,该比特位(或信元)为第四指示信息,当该比特位(或信元)被置为第五指示信息对应的值时,该比特位(或信元)为第五指示信息。The third data packet may include fifth indication information, and the fifth indication information may be used to indicate that the third data undergoes XOR processing. It should be understood that the fifth indication information may be indicated by the same bit (or cell) as the fourth indication information, and the information carried by this bit may be called an exclusive or (XoR) indication. For example, when the bit When the bit (or cell) is set to the value corresponding to the fourth indication information, the bit (or cell) is the fourth indication information, and when the bit (or cell) is set to the value corresponding to the fifth indication information When the value is set, the bit (or cell) is the fifth indication information.
可选的,第三数据可携带在APP层。第一指示信息、第二指示信息、第三指示信息和第五指示信息,可携带在APP层或XOR层。Optionally, the third data may be carried at the APP layer. The first indication information, the second indication information, the third indication information and the fifth indication information may be carried in the APP layer or the XOR layer.
当第一指示信息、第二指示信息、第三指示信息和第五指示信息携带在APP层时,如图11所示,第一指示信息、第二指示信息、第三指示信息、第五指示信息和第三数据可携带在APP层负载(payload)中。其中,第五指示信息和第三指示信息为可选内容。当第一网络设备通过多播方式向第一终端设备和第二终端设备发送第三数据包时,图11所示的APP层包头可以是多播包头。When the first indication information, the second indication information, the third indication information and the fifth indication information are carried in the APP layer, as shown in FIG. 11 , the first indication information, the second indication information, the third indication information and the fifth indication information The information and third data can be carried in the APP layer payload. The fifth indication information and the third indication information are optional contents. When the first network device sends the third data packet to the first terminal device and the second terminal device in a multicast manner, the APP layer header shown in FIG. 11 may be a multicast header.
当第一指示信息、第三指示信息和第五指示信息携带在XOR层时,如图12所示,第一指示信息、第二指示信息、第三指示信息和第五指示信息可携带在XOR层的包头中, 第三数据可携带在APP层包的负载中,APP层包作为XOR层的负载。其中,第五指示信息和第三指示信息为可选内容。当第一网络设备通过多播方式向第一终端设备和第二终端设备发送第三数据包时,图11所示的APP层包头可以是多播包头。当第一网络设备通过多播方式向第一终端设备和第二终端设备发送第三数据包时,图12所示的APP层包头可以是多播包头。When the first indication information, the third indication information and the fifth indication information are carried in the XOR layer, as shown in FIG. 12 , the first indication information, the second indication information, the third indication information and the fifth indication information can be carried in the XOR layer In the header of the layer, the third data can be carried in the payload of the APP layer packet, and the APP layer packet is used as the payload of the XOR layer. The fifth indication information and the third indication information are optional contents. When the first network device sends the third data packet to the first terminal device and the second terminal device in a multicast manner, the APP layer header shown in FIG. 11 may be a multicast header. When the first network device sends the third data packet to the first terminal device and the second terminal device in a multicast manner, the APP layer header shown in FIG. 12 may be a multicast header.
下面结合附图,通过实施例介绍本申请提供的通信方法。The following describes the communication method provided by the present application through embodiments with reference to the accompanying drawings.
第一实施例first embodiment
在本申请第一实施例中,第一网络设备可以为服务器,第一终端设备和第二终端设备互相进行通信,第一终端设备和第二终端设备可以与同一个接入网设备连接。第一终端设备和第二终端设备可以称为配对的终端设备。In the first embodiment of the present application, the first network device may be a server, the first terminal device and the second terminal device communicate with each other, and the first terminal device and the second terminal device may be connected to the same access network device. The first terminal device and the second terminal device may be referred to as paired terminal devices.
本实施例中以核心网设备为服务器为例进行说明。图13是本申请第一实施例提供的一种通信方法的流程图,该方法可包括以下步骤:In this embodiment, the core network device is taken as an example for description. 13 is a flowchart of a communication method provided by the first embodiment of the present application, and the method may include the following steps:
S201:第一终端设备和第二终端设备分别联网,找到服务器。或者说,第一终端设备和第二终端设备分别连接到服务器。S201: The first terminal device and the second terminal device are respectively connected to the Internet, and a server is found. In other words, the first terminal device and the second terminal device are respectively connected to the server.
该步骤也可被称为服务器发现(server discover)。This step may also be referred to as server discovery.
其中,该服务器对应于第一终端设备发送的数据,且对于第二终端设备发送的数据。或者说,该服务器为第一终端设备发送数据所属业务的服务器,且为第二终端设备发送的数据所属业务的服务器。Wherein, the server corresponds to the data sent by the first terminal device and to the data sent by the second terminal device. In other words, the server is a server of the service to which the data sent by the first terminal device belongs, and is a server of the service of the data sent by the second terminal device.
S202:第一终端设备和第二终端设备分别向服务器上报以下信息中的至少一个:1)服务小区(或称,所在小区)的标识,如CGI和/或PCI等。2)待发送数据的目标地址。如果该数据所属业务通过IP协议承载,则该数据所属业务是IP地址;如果该数据所属业务通过ethernet协议承载,则目标地址是MAC地址,;如果该数据所属业务通过其他协议承载,则目标地址是协议对应的地址。3)待发送数据的源地址。同理,源地址可以是IP地址、MAC地址或其他协议对应的地址)。S202: The first terminal device and the second terminal device respectively report at least one of the following information to the server: 1) The identity of the serving cell (or the cell where it is located), such as CGI and/or PCI. 2) The destination address of the data to be sent. If the service to which the data belongs is carried by the IP protocol, the service to which the data belongs is the IP address; if the service to which the data belongs is carried by the ethernet protocol, the target address is the MAC address; if the service to which the data belongs is carried by other protocols, the target address is the address corresponding to the protocol. 3) The source address of the data to be sent. Similarly, the source address can be an IP address, a MAC address, or an address corresponding to other protocols).
以上上报至服务器的信息在本申请中可称为第一信息。The above information reported to the server may be referred to as first information in this application.
S203:服务器识别第一终端设备和第二终端设备至少满足条件1和条件2,确定可向第一终端设备和第二终端设备发送经过异或处理的数据。S203: The server identifies that the first terminal device and the second terminal device satisfy at least condition 1 and condition 2, and determines that the XOR-processed data can be sent to the first terminal device and the second terminal device.
条件1和条件2可以分别表述为: Condition 1 and Condition 2 can be expressed as:
条件1:第一终端设备所发送的数据包的目标地址为第二终端设备,并且第二终端设备所发送的数据包的目标地址为第一终端设备。或者换句话说,第一终端设备和第二终端设备互为各自所发送的数据的源地址和目标地址。Condition 1: The destination address of the data packet sent by the first terminal device is the second terminal device, and the destination address of the data packet sent by the second terminal device is the first terminal device. Or in other words, the first terminal device and the second terminal device are the source address and the destination address of the data sent by each other.
条件2:第一终端设备的服务小区和第二终端设备的服务小区为同一个服务小区,和/或第一终端设备的服务网络设备和第二终端设备的服务网络设备为同一个服务网络设备。其中,服务网络设备可以是服务于第一终端设备和/或第二终端设备的接入网设备。Condition 2: The serving cell of the first terminal device and the serving cell of the second terminal device are the same serving cell, and/or the serving network device of the first terminal device and the serving network device of the second terminal device are the same serving network device . The serving network device may be an access network device serving the first terminal device and/or the second terminal device.
可选的,当服务器根据第一终端设备和第二终端设备分别的服务小区标识,识别第一终端设备和第二终端设备在同一小区,并且第一终端设备和第二终端设备互为业务的目标时,服务器可以启动数据异或功能,因此可执行S204。Optionally, when the server identifies, according to the respective serving cell identifiers of the first terminal device and the second terminal device, that the first terminal device and the second terminal device are in the same cell, and that the first terminal device and the second terminal device are services of each other. When the target is reached, the server can start the data XOR function, so S204 can be executed.
此外,服务器也可根据来自于核心网的第一终端设备和第二终端设备分别的服务小区标识,识别第一终端设备和第二终端设备在同一小区。这里服务器获取来自于核 心网的第一终端设备和第二终端设备分别的服务小区标识的方式可参照图9所示流程中,UPF从核心网设备(如AMF)获取第一终端设备和第二终端设备分别的服务小区标识的方式。In addition, the server may also identify that the first terminal device and the second terminal device are in the same cell according to the respective serving cell identifiers of the first terminal device and the second terminal device from the core network. Here, the method for the server to obtain the respective serving cell identities of the first terminal device and the second terminal device from the core network can refer to the process shown in FIG. The way of identifying the respective serving cells of the terminal equipment.
S204:服务器向第一终端设备和第二终端设备发送第二信息。S204: The server sends the second information to the first terminal device and the second terminal device.
其中,该第二信息可包括第三指示信息、用于指示根据所述第三数据和所述第一数据获得所述第二数据的信息、多播业务标识、多播业务的目标地址(或称多播地址)、用于指示所述第一终端设备与所述第二终端设备之间的先后顺序的信息、所述第三数据包的PDU session的ID、第三数据包的QoS的ID或者第三数据包的DRB的ID中的至少一个信息。第二信息的说明可参照前述说明。Wherein, the second information may include third indication information, information for instructing to obtain the second data according to the third data and the first data, a multicast service identifier, and a destination address of the multicast service (or called multicast address), information used to indicate the sequence between the first terminal device and the second terminal device, the ID of the PDU session of the third data packet, the ID of the QoS of the third data packet Or at least one piece of information in the ID of the DRB of the third data packet. For the description of the second information, reference may be made to the foregoing description.
S205:服务器向核心网设备(如AMF和/或UPF等)发送多播业务开始请求,其中携带多播业务标识,以启动多播业务。该多播业务用于传输第一终端设备和第二终端设备的经过异或处理的数据。S205: The server sends a multicast service start request to the core network device (such as AMF and/or UPF, etc.), which carries a multicast service identifier to start the multicast service. The multicast service is used to transmit XOR-processed data of the first terminal device and the second terminal device.
S206:第一终端设备和第二终端设备分别向服务器发送数据包(分别为第一数据包和第二数据包),并分别对数据包进行编号,如:编为ID1(即第一指示信息)和ID2(即第二指示信息),并将数据包(包括包头)和对应的编号在APP层或XOR层存储下来。并分别启动一个定时器1和定时器2。S206: The first terminal device and the second terminal device respectively send data packets (respectively the first data packet and the second data packet) to the server, and number the data packets respectively, for example, code them as ID1 (that is, the first indication information ) and ID2 (that is, the second indication information), and store the data packet (including the packet header) and the corresponding serial number at the APP layer or the XOR layer. And start a timer 1 and timer 2 respectively.
可选的,第一终端设备和第二终端设备分别向服务器发送的第一数据包和第二数据包中还可包括第三指示信息和/或第四指示信息。第一数据包和第二数据包所携带的内容可参见前述说明。Optionally, the first data packet and the second data packet respectively sent by the first terminal device and the second terminal device to the server may further include third indication information and/or fourth indication information. For the contents carried by the first data packet and the second data packet, reference may be made to the foregoing description.
当数据包(包括包头)和对应的编号存储在APP层时,或者说,当该编号添加在APP层时,数据包的结构可如图7所示。当数据包(包括包头)和对应的编号存储在XOR层时,或者说,当该编号添加在XOR层时,数据包的结构可如图8所示。When the data packet (including the packet header) and the corresponding number are stored in the APP layer, or in other words, when the number is added in the APP layer, the structure of the data packet may be as shown in FIG. 7 . When the data packet (including the packet header) and the corresponding number are stored in the XOR layer, or in other words, when the number is added in the XOR layer, the structure of the data packet may be as shown in FIG. 8 .
S207:服务器接收到第一终端设备和第二终端设备发送的数据包后,如果两个数据包到达的时间间隔在第一时长范围内,则对收到的第一终端设备,和第二终端设备包中的数据和包头部分进行异或操作,生成一个新的数据包(即第三数据包),并通过与S204中向终端设备指示的多播业务标识相关的链路上发送给核心网设备(如UPF等)和接入网设备,由核心网设备和接入网设备向第一终端设备和第二终端设备通过多播方式发送第三数据包。S207: After the server receives the data packets sent by the first terminal device and the second terminal device, if the time interval between the arrival of the two data packets is within the first duration The data in the device packet and the packet header part are XORed to generate a new data packet (that is, the third data packet), and sent to the core network through the link related to the multicast service identifier indicated to the terminal device in S204 The device (such as the UPF, etc.) and the access network device, the core network device and the access network device send the third data packet to the first terminal device and the second terminal device in a multicast manner.
其中,该新的数据包可包括第一指示信息、第二指示信息以及第三数据。可选的,第三数据包还可包括第三指示信息和第五指示信息。第三数据包所携带的内容可参见前述说明。Wherein, the new data packet may include first indication information, second indication information and third data. Optionally, the third data packet may further include third indication information and fifth indication information. For the content carried by the third data packet, reference may be made to the foregoing description.
当第一数据包中的第一指示信息位于APP层,且第二数据包中的第二指示信息位于APP层时,该新的数据包的结构可如图11所示。当第一数据包中的第一指示信息位于XOR层,且第二数据包中的第二指示信息位于APP层时,该新的数据包的结构可如图12所示。When the first indication information in the first data packet is located at the APP layer, and the second indication information in the second data packet is located at the APP layer, the structure of the new data packet may be as shown in FIG. 11 . When the first indication information in the first data packet is located at the XOR layer, and the second indication information in the second data packet is located at the APP layer, the structure of the new data packet may be as shown in FIG. 12 .
应理解,如果第三数据包的包头为IP包头,则可将第三数据包的目标地址设置为多播业务的IP多播地址;如果第三数据包的包头为ethernet包头,则可将第三数据包的目标地址设置为MAC多播地址。It should be understood that if the header of the third data packet is an IP header, then the target address of the third data packet can be set to the IP multicast address of the multicast service; if the header of the third data packet is the ethernet header, then the The destination address of the three packets is set to the MAC multicast address.
S208:第一终端设备和第二终端设备利用S204接收的第二信息,接收通过多播方式发送的第三数据包,并分别根据第三数据包中的编号,查找之前各自存储在APP层或XOR 层存储的具有相同的编号的数据包(包括包头),获得该数据包中的数据,根据该数据对第三数据包进行异或操作,获得异或运算后的数据。S208: The first terminal device and the second terminal device use the second information received in S204 to receive the third data packet sent by multicast, and search for the data packets previously stored in the APP layer or respectively according to the numbers in the third data packets. The XOR layer stores the data packets with the same number (including the packet header), obtains the data in the data packets, performs XOR operation on the third data packet according to the data, and obtains the data after the XOR operation.
例如,当第二信息中指示TMGI时,第一终端设备和第二终端设备可分别根据该TMGI,接收TMGI关联的多播业务,以获得第三数据包。For example, when the TMGI is indicated in the second information, the first terminal device and the second terminal device can respectively receive the multicast service associated with the TMGI according to the TMGI to obtain the third data packet.
采用以上第一实施例,可由服务器决定向第一终端设备与第二终端设备法经过异或处理的数据,以降低下行开销。With the above first embodiment, the server can determine the data to be XORed to the first terminal device and the second terminal device, so as to reduce downlink overhead.
当第一数据包中的第一指示信息位于APP层,以上数据传输过程涉及的协议架构(用户面协议架构)如图14所示。可见,在第一终端设备和第二终端设备向服务器发送数据时,第一终端设备和第二终端设备可在APP层生成数据包,该数据包可具备图7所示的结构,其中,第一终端设备生成的第一数据包可包括第一数据,第二终端设备生成的第二数据包可包括第二数据。此外,第一终端设备的APP层可存储第一指示信息和第一数据,第二终端设备的APP层可存储第二指示信息以及第二数据。当服务器向第一终端设备和第二终端设备发送第三数据包时,服务器可在APP层生成数据包,该数据包可具备图11所示结构,其中,该数据包的负载中携带第三数据,之后服务器将第三数据包发往第一终端设备和第二终端设备。之后,可由第一终端设备的APP层根据存储的第一指示信息确定第三数据包包括该第一指示信息,进一步可根据第三数据和存储的第一数据进行异或操作,获得第二数据。同理,可由第二终端设备的APP层根据存储的第二指示信息确定第三数据包包括该第二指示信息,进一步可根据第三数据和存储的第二数据进行异或操作,获得第二数据。When the first indication information in the first data packet is located at the APP layer, the protocol architecture (user plane protocol architecture) involved in the above data transmission process is shown in FIG. 14 . It can be seen that when the first terminal device and the second terminal device send data to the server, the first terminal device and the second terminal device can generate a data packet at the APP layer, and the data packet can have the structure shown in FIG. A first data packet generated by a terminal device may include first data, and a second data packet generated by a second terminal device may include second data. In addition, the APP layer of the first terminal device may store the first indication information and the first data, and the APP layer of the second terminal device may store the second indication information and the second data. When the server sends a third data packet to the first terminal device and the second terminal device, the server may generate a data packet at the APP layer, and the data packet may have the structure shown in FIG. 11 , wherein the payload of the data packet carries the third data packet. data, and then the server sends the third data packet to the first terminal device and the second terminal device. After that, the APP layer of the first terminal device can determine that the third data packet includes the first indication information according to the stored first indication information, and further perform an exclusive OR operation according to the third data and the stored first data to obtain the second data . Similarly, the APP layer of the second terminal device can determine that the third data packet includes the second indication information according to the stored second indication information, and further can perform an exclusive OR operation according to the third data and the stored second data to obtain the second data packet. data.
当第一数据包中的第一指示信息位于XOR层,以上数据传输过程涉及的协议架构(用户面协议架构)如图15所示。可见,在第一终端设备和第二终端设备向服务器发送数据时,第一终端设备和第二终端设备可在APP层生成数据包,第一终端设备生成的数据包的负载可包括第一数据,第一终端设备生成的数据包的负载可包括第二数据;第一终端设备和第二终端设备的XOR层(也可以具有其他名称)分别将APP层生成的数据包作为负载,生成XOR层数据包,该XOR层数据包的结构如图8所示。应理解,本申请也不排除XOR层与APP层之间还包括其他协议层(比如TCP/用户数据报协议(user datagram protocol,UDP)层、IP或者MAC层等等),则在此时,XOR层可将包括APP层数据包的其他层数据包作为负载,生成XOR层数据包。When the first indication information in the first data packet is located at the XOR layer, the protocol architecture (user plane protocol architecture) involved in the above data transmission process is shown in FIG. 15 . It can be seen that when the first terminal device and the second terminal device send data to the server, the first terminal device and the second terminal device can generate data packets at the APP layer, and the load of the data packets generated by the first terminal device can include the first data , the payload of the data packet generated by the first terminal device may include the second data; the XOR layers (which may also have other names) of the first terminal device and the second terminal device respectively use the data packet generated by the APP layer as the payload to generate the XOR layer Data packet, the structure of the XOR layer data packet is shown in Figure 8. It should be understood that this application does not exclude that other protocol layers (such as TCP/user datagram protocol (UDP) layer, IP or MAC layer, etc.) are included between the XOR layer and the APP layer, then at this time, The XOR layer may use other layer data packets including the APP layer data packets as payloads to generate XOR layer data packets.
示例性的,第一终端设备生成的该XOR层数据包的包头中可包括第四指示信息、第一指示信息、第三指示信息,其中,第四指示信息和第三指示信息为可选项;第二终端设备生成的该XOR层数据包的包头中可包括第四指示信息、第一指示信息、第三指示信息,其中,第四指示信息和第三指示信息为可选项。此外,第一终端设备的XOR层可存储第一指示信息和第一数据,第二终端设备的XOR层可存储第二指示信息以及第二数据。当服务器向第一终端设备和第二终端设备发送第三数据包时,服务器可在APP层生成APP层数据包,该APP层数据包的负载可包括第三数据,此后,第一网络设备的XOR层可将该APP层数据包作为负载,生成XOR层数据包,该XOR层数据包可具备图12所示结构。例如,该XOR层数据包的包头可包括第五指示信息、第一指示信息、第二指示信息和第三指示信息,其中,第五指示信息和第三指示信息为可选项。之后服务器可将第三数据包分别发送至第一终端设备和第二终端设备。可由第一终端设备的XOR层根据存储的第一指示信息确定第三数据包包括该第一指示信息,进一步可根据第三数据和存储的第一数据 进行异或操作,获得第二数据。同理,可由第二终端设备的XOR层根据存储的第二指示信息确定第三数据包包括该第二指示信息,进一步可根据第三数据和存储的第二数据进行异或操作,获得第二数据。Exemplarily, the header of the XOR layer data packet generated by the first terminal device may include fourth indication information, first indication information, and third indication information, wherein the fourth indication information and the third indication information are optional; The packet header of the XOR layer data packet generated by the second terminal device may include fourth indication information, first indication information, and third indication information, where the fourth indication information and the third indication information are optional. In addition, the XOR layer of the first terminal device may store the first indication information and the first data, and the XOR layer of the second terminal device may store the second indication information and the second data. When the server sends the third data packet to the first terminal device and the second terminal device, the server may generate an APP layer data packet at the APP layer, and the load of the APP layer data packet may include the third data. The XOR layer can use the APP layer data packet as a payload to generate an XOR layer data packet, and the XOR layer data packet can have the structure shown in FIG. 12 . For example, the packet header of the XOR layer data packet may include fifth indication information, first indication information, second indication information and third indication information, wherein the fifth indication information and the third indication information are optional. Afterwards, the server may send the third data packet to the first terminal device and the second terminal device respectively. It can be determined by the XOR layer of the first terminal equipment that the third data packet includes the first indication information according to the stored first indication information, and further, an XOR operation can be performed according to the third data and the stored first data to obtain the second data. Similarly, the XOR layer of the second terminal device can determine that the third data packet includes the second indication information according to the stored second indication information, and can further perform an XOR operation according to the third data and the stored second data to obtain the second data packet. data.
第二实施例Second Embodiment
在本申请第二实施例中,第一网络设备可以为UPF。第一终端设备和第二终端设备互相进行通信,第一终端设备和第二终端设备可以与同一个接入网设备连接。第一终端设备和第二终端设备可以称为配对的终端设备。In the second embodiment of the present application, the first network device may be a UPF. The first terminal device and the second terminal device communicate with each other, and the first terminal device and the second terminal device may be connected to the same access network device. The first terminal device and the second terminal device may be referred to as paired terminal devices.
本实施例中以核心网设备为UPF为例进行说明。图16是本申请第二实施例提供的一种通信方法的流程图,该方法可包括以下步骤:In this embodiment, the core network device is a UPF as an example for description. FIG. 16 is a flowchart of a communication method provided by the second embodiment of the present application, and the method may include the following steps:
S301:第一终端设备和第二终端设备分别向UPF发送数据包(其中,来自于第一终端设备的数据包可称为第一数据包,来自于第二终端设备的数据包可称为第二数据包)。S301: The first terminal device and the second terminal device respectively send data packets to the UPF (wherein, the data packet from the first terminal device may be referred to as the first data packet, and the data packet from the second terminal device may be referred to as the first data packet two packets).
其中,第一终端设备发送的数据包(或数据)的应用层地址为第二终端设备的应用层地址,因此该数据需要经过UPF的转发到达第二终端设备。同理,第二终端设备发送的包(或数据)的应用层地址为第一终端设备的应用层地址,因此该数据需要经过UPF的转发到达第一终端设备。The application layer address of the data packet (or data) sent by the first terminal device is the application layer address of the second terminal device, so the data needs to be forwarded by the UPF to reach the second terminal device. Similarly, the application layer address of the packet (or data) sent by the second terminal device is the application layer address of the first terminal device, so the data needs to be forwarded by the UPF to reach the first terminal device.
S302:UPF根据来自于第一终端设备和第二终端设备的数据包,确定来自于第一终端设备的数据的目标地址为第二终端设备的地址,以及来自于第二终端设备的数据的目标地址为第一终端设备的地址。或者换句话说,第一终端设备和第二终端设备互为各自所发送的数据的源地址和目标地址,或者说,确定第一终端设备所发送的数据包的目标地址为第二终端设备,并且第二终端设备所发送的数据包的目标地址为第一终端设备。S302: According to the data packets from the first terminal device and the second terminal device, the UPF determines that the destination address of the data from the first terminal device is the address of the second terminal device, and the destination of the data from the second terminal device The address is the address of the first terminal device. Or in other words, the first terminal device and the second terminal device are the source address and destination address of the data sent by each other, or in other words, it is determined that the destination address of the data packet sent by the first terminal device is the second terminal device, And the destination address of the data packet sent by the second terminal device is the first terminal device.
此后,可执行S303-S306所示步骤,或者执行S307-S309。Thereafter, the steps shown in S303-S306 may be performed, or the steps S307-S309 may be performed.
S303:UPF向AMF发送第一消息,用于请求第一终端设备和第二终端设备分别的服务小区的标识。S303: The UPF sends a first message to the AMF, which is used to request the identifiers of the respective serving cells of the first terminal device and the second terminal device.
其中,第一消息中可携带第一终端设备与第二终端设备分别的标识。Wherein, the first message may carry the respective identifiers of the first terminal device and the second terminal device.
S304:UPF接收来自于AMF的第二消息,其中包括第一终端设备和第二终端设备分别的服务小区的标识。S304: The UPF receives the second message from the AMF, which includes the identifiers of the respective serving cells of the first terminal device and the second terminal device.
S305:UPF根据第一终端设备和第二终端设备分别的服务小区的标识,确定第一终端设备和第二终端设备所属服务小区相同。S305: The UPF determines, according to the identities of the respective serving cells of the first terminal device and the second terminal device, that the first terminal device and the second terminal device belong to the same serving cell.
S306:UPF向AMF发送第三消息,用于指示向第一终端设备和第二终端设备发送经过异或处理的数据。S306: The UPF sends a third message to the AMF, which is used to instruct to send the XOR-processed data to the first terminal device and the second terminal device.
该第三消息中包括第一终端设备和第二终端设备分别的标识。The third message includes the respective identifiers of the first terminal device and the second terminal device.
S307:UPF向AMF发送第四消息,用于指示第一终端设备和第二终端设备互为数据的源地址和目标地址。S307: The UPF sends a fourth message to the AMF, which is used to indicate that the first terminal device and the second terminal device are the source address and the destination address of each other's data.
S308:AMF根据第四消息,确定第一终端设备和第二终端设备所属服务小区相同。S308: The AMF determines, according to the fourth message, that the serving cells to which the first terminal device and the second terminal device belong are the same.
S309:AMF向UPF发送第五消息,用于指示向第一终端设备和第二终端设备发送经过异或处理的数据。S309: The AMF sends a fifth message to the UPF, which is used to instruct to send the XOR-processed data to the first terminal device and the second terminal device.
在S306和S309之后,可执行S310或S311所示步骤。After S306 and S309, the steps shown in S310 or S311 may be performed.
S310:UPF向第一终端设备和第二终端设备发送第二信息。S310: The UPF sends the second information to the first terminal device and the second terminal device.
其中,该第二信息可包括第三指示信息、用于指示根据所述第三数据和所述第一数据获得所述第二数据的信息、多播业务标识、多播业务的目标地址(或称多播地址)、用于指示所述第一终端设备与所述第二终端设备之间的先后顺序的信息、所述第三数据包的PDU session的ID、第三数据包的QoS的ID或者第三数据包的DRB的ID中的至少一个信息。第二信息的说明可参照前述说明。Wherein, the second information may include third indication information, information for instructing to obtain the second data according to the third data and the first data, a multicast service identifier, and a destination address of the multicast service (or called multicast address), information used to indicate the sequence between the first terminal device and the second terminal device, the ID of the PDU session of the third data packet, the ID of the QoS of the third data packet Or at least one piece of information in the ID of the DRB of the third data packet. For the description of the second information, reference may be made to the foregoing description.
S311:AMF向第一终端设备和第二终端设备发送第二信息。S311: The AMF sends the second information to the first terminal device and the second terminal device.
其中,该第二信息可包括第三指示信息、用于指示根据所述第三数据和所述第一数据获得所述第二数据的信息、多播业务标识、多播业务的目标地址(或称多播地址)、用于指示所述第一终端设备与所述第二终端设备之间的先后顺序的信息、所述第三数据包的PDU session的ID、第三数据包的QoS的ID或者第三数据包的DRB的ID中的至少一个信息。第二信息的说明可参照前述说明。Wherein, the second information may include third indication information, information for instructing to obtain the second data according to the third data and the first data, a multicast service identifier, and a destination address of the multicast service (or called multicast address), information used to indicate the sequence between the first terminal device and the second terminal device, the ID of the PDU session of the third data packet, the ID of the QoS of the third data packet Or at least one piece of information in the ID of the DRB of the third data packet. For the description of the second information, reference may be made to the foregoing description.
S312:第一终端设备和第二终端设备分别向UPF发送数据包(分别为第一数据包和第二数据包),并分别对数据包进行编号,如:编为ID1(即第一指示信息)和ID2(即第二指示信息),并将数据包(包括包头)和对应的编号在APP层或XOR层存储下来。并分别启动一个定时器1和定时器2。S312: The first terminal device and the second terminal device respectively send data packets (respectively the first data packet and the second data packet) to the UPF, and number the data packets respectively, for example, code them as ID1 (that is, the first indication information ) and ID2 (that is, the second indication information), and store the data packet (including the packet header) and the corresponding serial number at the APP layer or the XOR layer. And start a timer 1 and timer 2 respectively.
可选的,第一终端设备和第二终端设备分别向UPF发送的第一数据包和第二数据包中还可包括第三指示信息和/或第四指示信息。第一数据包和第二数据包所携带的内容可参见前述说明。Optionally, the first data packet and the second data packet respectively sent by the first terminal device and the second terminal device to the UPF may further include third indication information and/or fourth indication information. For the contents carried by the first data packet and the second data packet, reference may be made to the foregoing description.
当数据包(包括包头)和对应的编号存储在APP层时,或者说,当该编号添加在APP层时,数据包的结构可如图7所示。当数据包(包括包头)和对应的编号存储在XOR层时,或者说,当该编号添加在XOR层时,数据包的结构可如图8所示。When the data packet (including the packet header) and the corresponding number are stored in the APP layer, or in other words, when the number is added in the APP layer, the structure of the data packet may be as shown in FIG. 7 . When the data packet (including the packet header) and the corresponding number are stored in the XOR layer, or in other words, when the number is added in the XOR layer, the structure of the data packet may be as shown in FIG. 8 .
S313:UPF接收到第一终端设备和第二终端设备发送的包后,如果两个包到达的时间间隔在第一时长范围内,则对收到的第一终端设备,和第二终端设备包中的数据和包头部分进行异或操作,生成一个新的数据包(即第三数据包),并通过与S204中向终端设备指示的多播业务标识相关的链路上发送给核心网设备(如UPF等)和接入网设备,由核心网设备和接入网设备向第一终端设备和第二终端设备通过多播方式发送第三数据包。该第一时长可采用预配置方式确定,或者由服务器指示。S313: After the UPF receives the packets sent by the first terminal device and the second terminal device, if the time interval between the arrival of the two packets is within the first duration The data and the packet header part in the XOR operation are performed to generate a new data packet (that is, the third data packet), and sent to the core network equipment ( Such as UPF, etc.) and the access network device, the core network device and the access network device send the third data packet to the first terminal device and the second terminal device by multicast. The first duration may be determined in a pre-configured manner, or indicated by the server.
其中,该新的数据包可包括第一指示信息、第二指示信息以及第三数据。可选的,第三数据包还可包括第三指示信息和第五指示信息。第三数据包所携带的内容可参见前述说明。Wherein, the new data packet may include first indication information, second indication information and third data. Optionally, the third data packet may further include third indication information and fifth indication information. For the content carried by the third data packet, reference may be made to the foregoing description.
当第一数据包中的第一指示信息位于APP层,且第二数据包中的第二指示信息位于APP层时,该新的数据包的结构可如图11所示。当第一数据包中的第一指示信息位于XOR层,且第二数据包中的第二指示信息位于APP层时,该新的数据包的结构可如图12所示。When the first indication information in the first data packet is located at the APP layer, and the second indication information in the second data packet is located at the APP layer, the structure of the new data packet may be as shown in FIG. 11 . When the first indication information in the first data packet is located at the XOR layer, and the second indication information in the second data packet is located at the APP layer, the structure of the new data packet may be as shown in FIG. 12 .
应理解,如果第三数据包的包头为IP包头,则可将第三数据包的目标地址设置为多播业务的IP多播地址;如果第三数据包的包头为ethernet包头,则可将第三数据包的目标地址设置为MAC多播地址。It should be understood that if the header of the third data packet is an IP header, then the target address of the third data packet can be set to the IP multicast address of the multicast service; if the header of the third data packet is the ethernet header, then the The destination address of the three packets is set to the MAC multicast address.
S314:第一终端设备和第二终端设备利用S310或S311中接收的第二信息,接收通过多播方式发送的第三数据包,并分别根据第三数据包中的编号,查找之前各自存储在APP层或XOR层存储的具有相同的编号的数据包(包括包头),获得该数据包中的数据, 根据该数据对第三数据包进行异或操作,获得异或运算后的数据。S314: The first terminal device and the second terminal device use the second information received in S310 or S311 to receive the third data packet sent in a multicast manner, and search for the data packets previously stored in the The data packet (including the packet header) with the same number stored in the APP layer or the XOR layer is obtained, and the data in the data packet is obtained, and the XOR operation is performed on the third data packet according to the data to obtain the data after the XOR operation.
例如,当第二信息中指示TMGI时,第一终端设备和第二终端设备可分别根据该TMGI,接收TMGI关联的多播业务,以获得第三数据包。For example, when the TMGI is indicated in the second information, the first terminal device and the second terminal device can respectively receive the multicast service associated with the TMGI according to the TMGI to obtain the third data packet.
采用以上第一实施例,可由UPF或者AMF决定向第一终端设备与第二终端设备法经过异或处理的数据,以降低下行开销。With the above first embodiment, the UPF or the AMF can determine the data that has undergone XOR processing to the first terminal device and the second terminal device, so as to reduce downlink overhead.
当第一数据包中的第一指示信息位于XOR层,以上数据传输过程涉及的协议架构(用户面协议架构)如图17所示。可见,在第一终端设备和第二终端设备向UPF发送数据时,第一终端设备和第二终端设备可在APP层生成数据包,第一终端设备生成的数据包的负载可包括第一数据,第一终端设备生成的数据包的负载可包括第二数据;第一终端设备和第二终端设备的XOR层(也可以具有其他名称)分别将APP层生成的数据包作为负载,生成XOR层数据包,该XOR层数据包的结构如图8所示。应理解,本申请也不排除XOR层与APP层之间还包括其他协议层(比如TCP/UDP层、IP或者MAC层等等),则在此时,XOR层可将包括APP层数据包的其他层数据包作为负载,生成XOR层数据包。When the first indication information in the first data packet is located at the XOR layer, the protocol architecture (user plane protocol architecture) involved in the above data transmission process is shown in FIG. 17 . It can be seen that when the first terminal device and the second terminal device send data to the UPF, the first terminal device and the second terminal device can generate data packets at the APP layer, and the payload of the data packets generated by the first terminal device can include the first data , the payload of the data packet generated by the first terminal device may include the second data; the XOR layers (which may also have other names) of the first terminal device and the second terminal device respectively use the data packet generated by the APP layer as the payload to generate the XOR layer Data packet, the structure of the XOR layer data packet is shown in Figure 8. It should be understood that this application does not exclude that other protocol layers (such as TCP/UDP layer, IP or MAC layer, etc.) are included between the XOR layer and the APP layer. At this time, the XOR layer may include the APP layer data packets. Other layer packets are used as payloads to generate XOR layer packets.
示例性的,第一终端设备生成的该XOR层数据包的包头中可包括第四指示信息、第一指示信息、第三指示信息,其中,第四指示信息和第三指示信息为可选项;第二终端设备生成的该XOR层数据包的包头中可包括第四指示信息、第一指示信息、第三指示信息,其中,第四指示信息和第三指示信息为可选项。此外,第一终端设备的XOR层可存储第一指示信息和第一数据,第二终端设备的XOR层可存储第二指示信息以及第二数据。当UPF向第一终端设备和第二终端设备发送第三数据包时,UPF可在APP层生成APP层数据包,该APP层数据包的负载可包括第三数据,此后,第一网络设备的XOR层可将该APP层数据包作为负载,生成XOR层数据包,该XOR层数据包可具备图12所示结构。例如,该XOR层数据包的包头可包括第五指示信息、第一指示信息、第二指示信息和第三指示信息,其中,第五指示信息和第三指示信息为可选项。之后UPF可将第三数据包分别发送至第一终端设备和第二终端设备。可由第一终端设备的XOR层根据存储的第一指示信息确定第三数据包包括该第一指示信息,进一步可根据第三数据和存储的第一数据进行异或操作,获得第二数据。同理,可由第二终端设备的XOR层根据存储的第二指示信息确定第三数据包包括该第二指示信息,进一步可根据第三数据和存储的第二数据进行异或操作,获得第二数据。Exemplarily, the header of the XOR layer data packet generated by the first terminal device may include fourth indication information, first indication information, and third indication information, wherein the fourth indication information and the third indication information are optional; The packet header of the XOR layer data packet generated by the second terminal device may include fourth indication information, first indication information, and third indication information, where the fourth indication information and the third indication information are optional. In addition, the XOR layer of the first terminal device may store the first indication information and the first data, and the XOR layer of the second terminal device may store the second indication information and the second data. When the UPF sends the third data packet to the first terminal device and the second terminal device, the UPF may generate an APP layer data packet at the APP layer, and the load of the APP layer data packet may include the third data, and thereafter, the first network device's The XOR layer can use the APP layer data packet as a payload to generate an XOR layer data packet, and the XOR layer data packet can have the structure shown in FIG. 12 . For example, the packet header of the XOR layer data packet may include fifth indication information, first indication information, second indication information and third indication information, wherein the fifth indication information and the third indication information are optional. Afterwards, the UPF may send the third data packet to the first terminal device and the second terminal device, respectively. The XOR layer of the first terminal device can determine that the third data packet includes the first indication information according to the stored first indication information, and further can perform an exclusive OR operation according to the third data and the stored first data to obtain the second data. Similarly, the XOR layer of the second terminal device can determine that the third data packet includes the second indication information according to the stored second indication information, and can further perform an XOR operation according to the third data and the stored second data to obtain the second data packet. data.
下面结合附图介绍本申请实施例中用来实现上述方法的通信装置。因此,上文中的内容均可以用于后续实施例中,重复的内容不再赘述。The following describes a communication device used to implement the above method in the embodiments of the present application with reference to the accompanying drawings. Therefore, the above content can be used in subsequent embodiments, and repeated content will not be repeated.
图18为本申请实施例提供的通信装置的示意性框图。示例性地,通信装置例如为图18所示的通信装置1800。FIG. 18 is a schematic block diagram of a communication apparatus provided by an embodiment of the present application. Exemplarily, the communication device is, for example, the communication device 1800 shown in FIG. 18 .
通信装置1800包括处理模块1810和收发模块1820。示例性地,通信装置1800可以是第一网络设备,也可以是应用于第一网络设备(如服务器、UPF或其他的核心网网元)中的芯片或者其他具有第一网络设备功能的组合器件、部件等。当通信装置1800是第一网络设备时,收发模块1820可以是收发器,收发器可以包括天线和射频电路等,处理模块1810可以是处理器,例如基带处理器,基带处理器中可以包括一个或多个中央处理单元(central processing unit,CPU)。当通信装置1800是具有上述第一网络设备功能的部件时,收发模块1820可以是射频单元,处理模块1810可以是处理器,例如基带处理器。当 通信装置1800是芯片系统时,收发模块1820可以是芯片(例如基带芯片)的输入输出接口、处理模块1810可以是芯片系统的处理器,可以包括一个或多个中央处理单元。应理解,本申请实施例中的处理模块1810可以由处理器或处理器相关电路组件实现,收发模块1820可以由收发器或收发器相关电路组件实现。The communication device 1800 includes a processing module 1810 and a transceiver module 1820 . Exemplarily, the communication apparatus 1800 may be the first network device, or may be a chip applied in the first network device (such as a server, UPF or other core network element) or other combined device having the function of the first network device. , components, etc. When the communication apparatus 1800 is the first network device, the transceiver module 1820 may be a transceiver, the transceiver may include an antenna and a radio frequency circuit, etc., and the processing module 1810 may be a processor, such as a baseband processor, and the baseband processor may include one or more Multiple central processing units (CPUs). When the communication apparatus 1800 is a component having the above-mentioned first network device function, the transceiver module 1820 may be a radio frequency unit, and the processing module 1810 may be a processor, such as a baseband processor. When the communication device 1800 is a system-on-chip, the transceiver module 1820 may be an input/output interface of a chip (eg, a baseband chip), and the processing module 1810 may be a processor of the system-on-chip, which may include one or more central processing units. It should be understood that the processing module 1810 in this embodiment of the present application may be implemented by a processor or a circuit component related to the processor, and the transceiver module 1820 may be implemented by a transceiver or a circuit component related to the transceiver.
例如,处理模块1810可以用于执行图5、图13或图16所示的流程中由第一网络设备所执行的除了收发操作之外的全部操作,如对第一数据和第二数据的异或操作、S103、S203、S302和S305等;和/或用于支持本文所描述的技术的其它过程,比如生成由收发模块1820发送的消息、信息和/或信令,和对由收发模块1820接收的消息、信息和/或信令进行处理。收发模块1820可以用于执行图5、图13或图16所示的实施例中由第一网络设备所执行的全部接收和发送操作,如S101、S102、S104-S105、S202、S204-206、S301、S303-S304、S306-S307、S309、S310、S311、S312和S313所涉及的接收和发送动作;和/或用于支持本文所描述的技术的其它过程。For example, the processing module 1810 may be configured to perform all operations performed by the first network device in the flow shown in FIG. 5 , FIG. 13 or FIG. 16 , except for the transceiving operation, such as the exclusive operation of the first data and the second data. or operations, S103, S203, S302, and S305, etc.; and/or other processes for supporting the techniques described herein, such as generating messages, information, and/or signaling sent by the transceiving module 1820, and Received messages, information and/or signaling are processed. The transceiver module 1820 may be configured to perform all receiving and sending operations performed by the first network device in the embodiment shown in FIG. 5, FIG. 13 or FIG. 16, such as S101, S102, S104-S105, S202, S204-206, The receiving and transmitting actions involved in S301, S303-S304, S306-S307, S309, S310, S311, S312, and S313; and/or other processes for supporting the techniques described herein.
另外,收发模块1820可以是一个功能模块,该功能模块既能完成发送操作也能完成接收操作,例如收发模块1820可以用于执行图5、图13或图16所示的实施例中由第一网络设备所执行的全部发送操作和接收操作,例如,在执行发送操作时,可以认为收发模块1820是发送模块,而在执行接收操作时,可以认为收发模块1820是接收模块;或者,收发模块1820也可以是两个功能模块,收发模块1820可以视为这两个功能模块的统称,这两个功能模块分别为发送模块和接收模块,发送模块用于完成发送操作,例如发送模块可以用于执行图5、图13或图16所示的实施例中由第一网络设备所执行的全部发送操作,接收模块用于完成接收操作,例如接收模块可以用于执行图5、图13或图16所示的实施例中由第一网络设备所执行的全部接收操作。In addition, the transceiver module 1820 may be a functional module, and the function module can complete both the sending operation and the receiving operation. For example, the transceiver module 1820 may be used to perform the first operation in the embodiments shown in FIG. 5 , FIG. 13 or FIG. 16 . All sending and receiving operations performed by the network device. For example, when performing a sending operation, the transceiver module 1820 can be considered as a sending module, and when performing a receiving operation, the transceiver module 1820 can be considered as a receiving module; or, the transceiver module 1820 It can also be two functional modules. The transceiver module 1820 can be regarded as a general term for these two functional modules. These two functional modules are respectively a sending module and a receiving module. The sending module is used to complete the sending operation. For example, the sending module can be used to execute For all sending operations performed by the first network device in the embodiment shown in FIG. 5, FIG. 13 or FIG. 16, the receiving module is used to complete the receiving operation. For example, the receiving module can be used to perform the operations shown in FIG. 5, FIG. All receive operations performed by the first network device in the illustrated embodiment.
其中,在执行图5所示方法时,收发模块1820可第一网络设备可接收来自于第一终端设备的第一数据包,该第一数据包包括第一指示信息和第一数据,以及,接收来自于第二终端设备的第二数据包,该第二数据包包括第二指示信息和第二数据。收发模块1820还可向该第一终端设备以及该第二终端设备发送第三数据包,该第三数据包包括该第一指示信息、该第二指示信息以及第三数据,该第三数据、该第二数据和该第一数据之间具有异或关系。处理模块1810可用于根据第一数据和第二数据获得第三数据,比如,对第一数据和第二数据进行异或处理,获得第三数据。Wherein, when the method shown in FIG. 5 is executed, the transceiver module 1820 may receive the first data packet from the first terminal device by the first network device, where the first data packet includes the first indication information and the first data, and, A second data packet is received from the second terminal device, where the second data packet includes second indication information and second data. The transceiver module 1820 may also send a third data packet to the first terminal device and the second terminal device, where the third data packet includes the first indication information, the second indication information and third data, the third data, There is an exclusive OR relationship between the second data and the first data. The processing module 1810 may be configured to obtain third data according to the first data and the second data, for example, perform XOR processing on the first data and the second data to obtain the third data.
在一种可能的示例中,该第一数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第四指示信息,该第四指示信息用于指示该第一数据未经过异或处理。同理,第二数据包中可包括第三指示信息和或第四指示信息。第二数据包中的第三指示信息可指示该第一终端设备以及该第二终端设备之间互为目标节点。第二数据包中的第四指示信息可用于指示该第二数据未经过异或处理。In a possible example, the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing. Similarly, the second data packet may include third indication information and or fourth indication information. The third indication information in the second data packet may indicate that the first terminal device and the second terminal device are mutual target nodes. The fourth indication information in the second data packet may be used to indicate that the second data has not undergone XOR processing.
在一种可能的示例中,该第三数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第五指示信息,该第五指示信息用于指示该第三数据经过异或处理。In a possible example, the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
在一种可能的示例中,该第三指示信息包括由该第一终端设备的地址和该第二终端设备的地址组成的地址对。In a possible example, the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
在一种可能的示例中,该第一指示信息携带在特定协议层,该特定协议层包括应用层或XOR层,该XOR层位于PDCP层与APP层之间。In a possible example, the first indication information is carried in a specific protocol layer, where the specific protocol layer includes an application layer or an XOR layer, and the XOR layer is located between the PDCP layer and the APP layer.
在一种可能的示例中,收发模块1820可接收来自于该第一终端设备的第一信息,该第一信息包括以下信息中的至少一个:In a possible example, the transceiver module 1820 may receive first information from the first terminal device, where the first information includes at least one of the following information:
该第一终端设备的小区标识;the cell identifier of the first terminal device;
该第一数据所属业务的目标地址;或者,The target address of the service to which the first data belongs; or,
该第一数据所属业务的源地址。The source address of the service to which the first data belongs.
在一种可能的示例中,收发模块1820可向该第一终端设备发送第二信息;该第二信息包括以下信息中的至少一个:第三指示信息,该第三指示信息用于指示该第一终端设备以及第二终端设备之间互为目标节点;或者,用于指示根据该第三数据和该第一数据获得该第二数据的信息;或者,多播业务标识,该多播业务标识用于该第二数据包的接收;或者,多播业务的目标地址,该多播业务的目标地址为该第三数据包的目标地址;或者,用于指示该第一终端设备与该第二终端设备之间的先后顺序的信息,该先后顺序用于确定该第一指示信息在该第三数据包中的位置;或者,该第三数据包的PDU session ID;或者,该第三数据包的QoS flow的ID;或者,该第三数据包的DRB的ID。In a possible example, the transceiver module 1820 may send second information to the first terminal device; the second information includes at least one of the following information: third indication information, where the third indication information is used to indicate the first terminal device. A terminal device and a second terminal device are mutual target nodes; or, information used to indicate that the second data is obtained according to the third data and the first data; or a multicast service identifier, the multicast service identifier used for the reception of the second data packet; or, the target address of the multicast service, the target address of the multicast service is the target address of the third data packet; or, used to indicate the first terminal device and the second Information about the sequence between terminal devices, the sequence is used to determine the position of the first indication information in the third data packet; or, the PDU session ID of the third data packet; or, the third data packet The ID of the QoS flow; or, the ID of the DRB of the third data packet.
在一种可能的示例中,收发模块1820可通过多播方式向该第一终端设备以及该第二终端设备发送第二数据包。In a possible example, the transceiver module 1820 may send the second data packet to the first terminal device and the second terminal device in a multicast manner.
在一种可能的示例中,该第一网络设备包括UPF,收发模块1820可向第二网络设备发送第三信息,该第三信息用于请求该第一终端设备的小区标识和该第二终端设备的小区标识;从该第二网络设备接收该第一终端设备的小区标识和该第二终端设备的小区标识;处理模块1810可确定该第一终端设备的小区标识与该第二终端设备的小区标识相同。In a possible example, the first network device includes a UPF, and the transceiver module 1820 may send third information to the second network device, where the third information is used to request the cell identity of the first terminal device and the second terminal The cell identifier of the device; the cell identifier of the first terminal device and the cell identifier of the second terminal device are received from the second network device; the processing module 1810 can determine the cell identifier of the first terminal device and the cell identifier of the second terminal device. The cell IDs are the same.
在一种可能的示例中,该第一网络设备包括UPF,收发模块1820还可向第二网络设备发送第四信息,该第四信息用于指示该第一终端设备与该第二终端设备互为目标节点;接收来自于该第二网络设备的第五信息,该第五信息用于指示该第一网络设备确定该第一终端设备的小区标识与该第二终端设备的小区标识相同,或者,该第五信息用于确定通过多播方式向该第一终端设备以及该第二终端设备发送第二数据包。In a possible example, the first network device includes a UPF, and the transceiver module 1820 may also send fourth information to the second network device, where the fourth information is used to instruct the first terminal device to communicate with the second terminal device is a target node; receives fifth information from the second network device, where the fifth information is used to instruct the first network device to determine that the cell identity of the first terminal device is the same as the cell identity of the second terminal device, or , and the fifth information is used to determine to send the second data packet to the first terminal device and the second terminal device by multicast.
在一种可能的示例中,该第四信息包括该第一终端设备的标识信息以及该第二终端设备的标识信息。In a possible example, the fourth information includes identification information of the first terminal device and identification information of the second terminal device.
在一种可能的示例中,该第五信息包括以下信息中的至少一个:该第一终端设备的标识;或者,该第二终端设备的标识;或者,该第一终端设备的PDU会话信息;或者,该第二终端设备的PDU会话的信息。In a possible example, the fifth information includes at least one of the following information: the identifier of the first terminal device; or, the identifier of the second terminal device; or, the PDU session information of the first terminal device; Or, the information of the PDU session of the second terminal device.
在一种可能的示例中,该第一网络设备包括UPF,第一网络设备还可向第二网络设备发送第四信息,该第四信息用于指示该第一终端设备与该第二终端设备互为目标节点。In a possible example, the first network device includes a UPF, and the first network device may further send fourth information to the second network device, where the fourth information is used to indicate the first terminal device and the second terminal device target nodes for each other.
在一种可能的示例中,该第一网络设备包括服务器或UPF。当第一网络设备包括UPF时,该第二网络设备包括AMF。In a possible example, the first network device includes a server or a UPF. When the first network device includes a UPF, the second network device includes an AMF.
如图19所示,通信装置1900包括处理模块1910和收发模块1920。示例性地,通信装置1900可以是第一终端设备(或第二终端设备),也可以是应用于第一终端设备(或第二终端设备)中的芯片或者其他具有第一终端设备(或第二终端设备)功能的组合器件、部件等。当通信装置1900是第一终端设备(或第二终端设备)时,收发模块1920可以是收发器,收发器可以包括天线和射频电路等,处理模块1910可以是处理器,例如基带处理器,基带处理器中可以包括一个或多个中央处理单元(central processing unit,CPU)。当通信装置1900是具有上述第一终端设备(或第二终端设备)功能的部件时,收发模块 1920可以是射频单元,处理模块1910可以是处理器,例如基带处理器。当通信装置1900是芯片系统时,收发模块1920可以是芯片(例如基带芯片)的输入输出接口、处理模块1910可以是芯片系统的处理器,可以包括一个或多个中央处理单元。应理解,本申请实施例中的处理模块1910可以由处理器或处理器相关电路组件实现,收发模块1920可以由收发器或收发器相关电路组件实现。As shown in FIG. 19 , the communication device 1900 includes a processing module 1910 and a transceiver module 1920 . Exemplarily, the communication apparatus 1900 may be the first terminal device (or the second terminal device), or may be a chip applied in the first terminal device (or the second terminal device), or other devices with the first terminal device (or the second terminal device). Combination devices, components, etc. When the communication apparatus 1900 is the first terminal device (or the second terminal device), the transceiver module 1920 may be a transceiver, the transceiver may include an antenna and a radio frequency circuit, etc., and the processing module 1910 may be a processor, such as a baseband processor, a baseband The processor may include one or more central processing units (CPUs). When the communication apparatus 1900 is a component having the above-mentioned functions of the first terminal device (or the second terminal device), the transceiver module 1920 may be a radio frequency unit, and the processing module 1910 may be a processor, such as a baseband processor. When the communication device 1900 is a chip system, the transceiver module 1920 may be an input/output interface of a chip (eg, a baseband chip), and the processing module 1910 may be a processor of the chip system, which may include one or more central processing units. It should be understood that the processing module 1910 in this embodiment of the present application may be implemented by a processor or a circuit component related to the processor, and the transceiver module 1920 may be implemented by a transceiver or a circuit component related to the transceiver.
例如,处理模块1910可以用于执行图5、图13或图16所示的流程中由第一终端设备(或第二终端设备)所执行的除了收发操作之外的全部操作,例如执行S103、S208和S314等步骤;和/或用于支持本文所描述的技术的其它过程,比如生成由收发模块1920发送的消息、信息和/或信令,和对由收发模块1920接收的消息、信息和/或信令进行处理。收发模块1920可以用于执行图5、图13或图16所示的实施例中由第一终端设备(或第二终端设备)所执行的全部接收和发送操作,如S101、S102、S104-S105、S202、S301、S310、S311和S312等所涉及的接收和发送动作;和/或用于支持本文所描述的技术的其它过程。For example, the processing module 1910 may be configured to perform all operations except the transceiving operation performed by the first terminal device (or the second terminal device) in the flow shown in FIG. 5 , FIG. 13 or FIG. 16 , such as performing S103 , Steps such as S208 and S314; and/or other processes for supporting the techniques described herein, such as generating messages, information and/or signaling sent by the transceiving module 1920, and / or signaling for processing. The transceiver module 1920 can be used to perform all the receiving and sending operations performed by the first terminal device (or the second terminal device) in the embodiment shown in FIG. 5, FIG. 13 or FIG. 16, such as S101, S102, S104-S105 and/or other processes for supporting the techniques described herein.
另外,收发模块1920可以是一个功能模块,该功能模块既能完成发送操作也能完成接收操作,例如收发模块1920可以用于执行图5、图13或图16所示的实施例中由第一终端设备(或第二终端设备)所执行的全部发送操作和接收操作,例如,在执行发送操作时,可以认为收发模块1920是发送模块,而在执行接收操作时,可以认为收发模块1920是接收模块;或者,收发模块1920也可以是两个功能模块,收发模块1920可以视为这两个功能模块的统称,这两个功能模块分别为发送模块和接收模块,发送模块用于完成发送操作,例如发送模块可以用于执行图5、图13或图16所示的实施例中由第一终端设备(或第二终端设备)所执行的全部发送操作,接收模块用于完成接收操作,例如接收模块可以用于执行图5、图13或图16所示的实施例中由第一终端设备(或第二终端设备)所执行的全部接收操作。In addition, the transceiver module 1920 may be a functional module, and the function module can perform both sending and receiving operations. For example, the transceiver module 1920 may be used to perform the first operation in the embodiments shown in FIG. 5 , FIG. 13 or FIG. 16 . All sending and receiving operations performed by the terminal device (or the second terminal device). For example, when performing a sending operation, the transceiver module 1920 can be considered as a sending module, and when performing a receiving operation, the transceiver module 1920 can be considered as a receiving operation. Alternatively, the transceiver module 1920 can also be two functional modules, and the transceiver module 1920 can be regarded as a general term for these two functional modules, these two functional modules are respectively a sending module and a receiving module, the sending module is used to complete the sending operation, For example, the sending module can be used to perform all sending operations performed by the first terminal device (or the second terminal device) in the embodiment shown in FIG. 5, FIG. 13 or FIG. 16, and the receiving module can be used to complete receiving operations, such as receiving The module can be used to perform all the receiving operations performed by the first terminal device (or the second terminal device) in the embodiment shown in FIG. 5 , FIG. 13 or FIG. 16 .
其中,在执行图5所示方法时,收发模块1920可发送第一数据包,该第一数据包包括第一指示信息和第一数据,并从第一网络设备接收第三数据包,该第三数据包包括该第一指示信息和第三数据,处理模块1910可根据该第一指示信息,获得第二数据,其中,该第三数据、该第二数据和该第一数据之间具有异或关系。Wherein, when the method shown in FIG. 5 is executed, the transceiver module 1920 may send a first data packet, where the first data packet includes first indication information and first data, and receive a third data packet from the first network device, the first data packet The three data packets include the first indication information and the third data, and the processing module 1910 can obtain the second data according to the first indication information, wherein the third data, the second data and the first data are different from each other. or relationship.
在一种可能的示例中,该第一数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第四指示信息,该第四指示信息用于指示该第一数据未经过异或处理。In a possible example, the first data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or, fourth indication information, the The fourth indication information is used to indicate that the first data has not undergone XOR processing.
在一种可能的示例中,该第三数据包还包括:第三指示信息,指示该第一终端设备以及该第二终端设备之间互为目标节点;和/或,第五指示信息,该第五指示信息用于指示该第三数据经过异或处理。In a possible example, the third data packet further includes: third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or fifth indication information, the The fifth indication information is used to indicate that the third data has undergone XOR processing.
在一种可能的示例中,该第三指示信息包括由该第一终端设备的地址和该第二终端设备的地址组成的地址对。In a possible example, the third indication information includes an address pair consisting of the address of the first terminal device and the address of the second terminal device.
在一种可能的示例中,处理模块1910将该第一指示信息和第一数据存储至该第一终端设备的特定协议层;处理模块1910根据该第一终端设备的特定协议层中存储的该第一指示信息和第一数据,获得该第二数据。和/或,In a possible example, the processing module 1910 stores the first indication information and the first data in the specific protocol layer of the first terminal device; the processing module 1910 stores the first indication information and the first data in the specific protocol layer of the first terminal device according to the The first indication information and the first data are used to obtain the second data. and / or,
处理模块1910根据该第一终端设备的特定协议层中存储的第一指示信息,确定该第三数据包包括该第一指示信息;处理模块根据该第一终端设备的特定协议层中存储的第一数据和该第三数据和该第一数据,获得该第二数据。The processing module 1910 determines that the third data packet includes the first indication information according to the first indication information stored in the specific protocol layer of the first terminal device; the processing module determines that the third data packet includes the first indication information according to the first indication information stored in the specific protocol layer of the first terminal device. One data and the third data and the first data, the second data is obtained.
在一种可能的示例中,该特定协议层包括应用层或XOR层,该XOR层位于PDCP层与APP层之间。In a possible example, the specific protocol layer includes an application layer or an XOR layer, where the XOR layer is located between the PDCP layer and the APP layer.
在一种可能的示例中,收发模块1920还可向该第一网络设备发送第一信息,该第一信息包括以下信息中的至少一个:该第一终端设备的小区标识;或者,该第一数据所属业务的目标地址;或者,该第一数据所属业务的源地址。In a possible example, the transceiver module 1920 may also send first information to the first network device, where the first information includes at least one of the following information: a cell identifier of the first terminal device; or, the first information The destination address of the service to which the data belongs; or, the source address of the service to which the first data belongs.
在一种可能的示例中,收发模块1920还可接收来自于该第一网络设备或第二网络设备(如AMF)的第二信息,该第二网络设备与该第一网络设备连接;该第二信息包括以下信息中的至少一个:第三指示信息,该第三指示信息用于指示该第一终端设备以及第二终端设备之间互为目标节点;或者,用于指示根据该第三数据和该第一数据获得该第二数据的信息;或者,多播业务标识,该多播业务标识用于该第二数据包的接收;或者,多播业务的目标地址,该多播业务的目标地址为该第二数据包的目标地址;或者,用于指示该第一终端设备与该第二终端设备之间的先后顺序(或主副顺序)的信息,该先后顺序用于确定该第一指示信息在该第二数据包中的位置;或者,该第三数据包的PDU session ID;或者,该第三数据包的QoS flow的ID;或者,该第三数据包的DRB的ID。In a possible example, the transceiver module 1920 may also receive second information from the first network device or a second network device (eg, AMF), and the second network device is connected to the first network device; the first network device is connected to the first network device. The second information includes at least one of the following information: third indication information, where the third indication information is used to indicate that the first terminal device and the second terminal device are mutual target nodes; or, used to indicate that according to the third data and the first data to obtain the information of the second data; or, the multicast service identifier, the multicast service identifier is used for receiving the second data packet; or, the target address of the multicast service, the target address of the multicast service The address is the destination address of the second data packet; or, information used to indicate the sequence (or primary and secondary sequence) between the first terminal device and the second terminal device, and the sequence is used to determine the first The position of the indication information in the second data packet; or, the PDU session ID of the third data packet; or, the ID of the QoS flow of the third data packet; or, the ID of the DRB of the third data packet.
在一种可能的示例中,该第一网络设备包括服务器或UPF。当第一网络设备包括UPF时,该第二网络设备包括AMF。In a possible example, the first network device includes a server or a UPF. When the first network device includes a UPF, the second network device includes an AMF.
图20给出了本申请实施例提供的一种通信装置的结构示意图,该通信装置可由硬件组件实现。图20所示装置2000可以是第一终端设备或第二终端设备,或者可以是支持第一终端设备或第二终端设备实现上述方法的芯片、芯片系统、或处理器等。该装置2000可用于实现图6所示方法实施例中描述的由第一网络设备执行的方法,比如,所述装置2000包括第一网络设备执行本申请实施例描述的步骤所对应的模块或单元或手段(means),所述功能或单元或手段可以通过软件实现,或者通过硬件实现,也可以通过硬件执行相应的软件实现,还可以通过软件和硬件结合的方式实现。详细可进一步参考前述对应方法实施例中的相应描述。FIG. 20 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application, and the communication apparatus may be implemented by hardware components. The apparatus 2000 shown in FIG. 20 may be a first terminal device or a second terminal device, or may be a chip, a chip system, or a processor that supports the first terminal device or the second terminal device to implement the above method. The apparatus 2000 can be used to implement the method performed by the first network device described in the method embodiment shown in FIG. 6 . For example, the apparatus 2000 includes a module or unit corresponding to the first network device performing the steps described in the embodiments of this application or means, the functions or units or means may be implemented by software, or by hardware, or by executing corresponding software by hardware, or by a combination of software and hardware. For details, further reference may be made to the corresponding descriptions in the foregoing corresponding method embodiments.
以硬件实现方式为例,所述装置2000可以包括一个或多个处理器2001,所述处理器2001也可以称为处理单元,可以实现一定的控制功能。所述处理器2001可以是通用处理器或者专用处理器等。例如可以是基带处理器或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信装置(如,基站、基带芯片,终端、终端芯片,分布单元(istributed unit,DU)或集中单元(centralized unit,CU)等)进行控制,执行软件程序,处理软件程序的数据。Taking a hardware implementation as an example, the apparatus 2000 may include one or more processors 2001, and the processors 2001 may also be referred to as processing units, which may implement certain control functions. The processor 2001 may be a general-purpose processor or a special-purpose processor or the like. For example, it may be a baseband processor or a central processing unit. The baseband processor can be used to process communication protocols and communication data, and the central processing unit can be used to process communication devices (eg, base stations, baseband chips, terminals, terminal chips, distributed units (DUs) or centralized units (centralized units). unit, CU), etc.) to control, execute software programs, and process data of software programs.
在一种可选的设计中,处理器2001可以存有指令2003和/或数据,所述指令2003和/或数据可以被所述处理器运行,使得所述装置2000执行上述方法实施例中描述的方法。In an optional design, the processor 2001 may store instructions 2003 and/or data, and the instructions 2003 and/or data may be executed by the processor, so that the apparatus 2000 executes the methods described in the foregoing method embodiments. Methods.
在另一种可选的设计中,处理器2001中可以包括用于实现接收和发送功能的收发单元。例如该收发单元可以是收发电路,或者是接口,或者是接口电路。用于实现接收和发送功能的收发电路、接口或接口电路可以是分开的,也可以集成在一起。上述收发电路、接口或接口电路可以用于代码/数据的读写,或者,上述收发电路、接口或接口电路可以用于信号的传输或传递。In another optional design, the processor 2001 may include a transceiver unit for implementing receiving and transmitting functions. For example, the transceiver unit may be a transceiver circuit, or an interface, or an interface circuit. Transceiver circuits, interfaces or interface circuits used to implement receiving and transmitting functions may be separate or integrated. The above-mentioned transceiver circuit, interface or interface circuit can be used for reading and writing code/data, or the above-mentioned transceiver circuit, interface or interface circuit can be used for signal transmission or transmission.
在又一种可能的设计中,装置2000可以包括电路,所述电路可以实现前述方法实施例中发送或接收或者通信的功能。In yet another possible design, the apparatus 2000 may include a circuit, and the circuit may implement the function of sending or receiving or communicating in the foregoing method embodiments.
可选的,所述装置2000中可以包括一个或多个存储器2002,其上可以存有指令2004,所述指令可在所述处理器上被运行,使得所述装置2000执行上述方法实施例中描述的方法。可选的,所述存储器中还可以存储有数据。可选的,处理器中也可以存储指令和/或数据。所述处理器和存储器可以单独设置,也可以集成在一起。例如,上述方法实施例中所描述的对应关系可以存储在存储器中,或者存储在处理器中。Optionally, the apparatus 2000 may include one or more memories 2002 on which instructions 2004 may be stored, and the instructions may be executed on the processor, so that the apparatus 2000 executes the above method embodiments method described. Optionally, data may also be stored in the memory. Optionally, instructions and/or data may also be stored in the processor. The processor and the memory can be provided separately or integrated together. For example, the corresponding relationship described in the above method embodiments may be stored in a memory or in a processor.
可选的,所述装置2000还可以包括收发器2005和/或通信接口2006。所述处理器2001可以称为处理单元,对所述装置2000进行控制。收发器2005可由于实现无线通信,通信接口2006可用于实现有线通信。所述收发器2005和/或通信接口2006可以称为收发单元、收发机、收发电路、收发装置或收发模块等,用于实现收发功能。Optionally, the apparatus 2000 may further include a transceiver 2005 and/or a communication interface 2006 . The processor 2001 may be referred to as a processing unit, and controls the apparatus 2000 . The transceiver 2005 can be used to implement wireless communication, and the communication interface 2006 can be used to implement wired communication. The transceiver 2005 and/or the communication interface 2006 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, a transceiver device, or a transceiver module, etc., for implementing a transceiver function.
可选的,处理器2001可用于实现图18所示处理模块1810的功能,收发器2005和/或通信接口2006可用于实现图18所示收发模块1820的功能,本申请实施例中的装置2000可以用于执行本申请上述实施例描述的由第一网络设备实现方法。Optionally, the processor 2001 may be used to implement the function of the processing module 1810 shown in FIG. 18 , the transceiver 2005 and/or the communication interface 2006 may be used to implement the function of the transceiver module 1820 shown in FIG. 18 , and the apparatus 2000 in this embodiment of the present application It can be used to execute the method implemented by the first network device described in the foregoing embodiments of the present application.
当该通信装置为终端设备时,图21示出了一种简化的终端设备的结构示意图。便于理解和图示方便,图21中,终端设备以手机作为例子。如图21所示,终端设备包括处理器、存储器、射频电路、天线以及输入输出装置。处理器主要用于对通信协议以及通信数据进行处理,以及对终端设备进行控制,执行软件程序,处理软件程序的数据等。存储器主要用于存储软件程序和数据。射频电路主要用于基带信号与射频信号的转换以及对射频信号的处理。天线主要用于收发电磁波形式的射频信号。输入输出装置,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。需要说明的是,有些种类的终端设备可以不具有输入输出装置。When the communication device is a terminal device, FIG. 21 shows a schematic structural diagram of a simplified terminal device. For the convenience of understanding and illustration, in FIG. 21 , the terminal device takes a mobile phone as an example. As shown in Figure 21, the terminal device includes a processor, a memory, a radio frequency circuit, an antenna, and an input and output device. The processor is mainly used to process communication protocols and communication data, control terminal equipment, execute software programs, and process data of software programs. The memory is mainly used to store software programs and data. The radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal. Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal equipment may not have input and output devices.
当需要发送数据时,处理器对待发送的数据进行基带处理后,输出基带信号至射频电路,射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到终端设备时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。为便于说明,图21中仅示出了一个存储器和处理器。在实际的终端设备产品中,可以存在一个或多个处理器和一个或多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以是独立于处理器设置,也可以是与处理器集成在一起,本申请实施例对此不做限制。When data needs to be sent, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves. When data is sent to the terminal device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data. For ease of illustration, only one memory and processor are shown in FIG. 21 . In an actual end device product, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or a storage device or the like. The memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
在本申请实施例中,可以将具有收发功能的天线和射频电路视为终端设备的收发单元(收发单元可以是一个功能单元,该功能单元能够实现发送功能和接收功能;或者,收发单元也可以包括两个功能单元,分别为能够实现接收功能的接收单元和能够实现发送功能的发送单元),将具有处理功能的处理器视为终端设备的处理单元。如图21所示,终端设备包括收发单元2110和处理单元2120。收发单元也可以称为收发器、收发机、收发装置等,可以包括射频电路和天线。处理单元也可以称为处理器,处理单板,处理模块、处理装置等。可选的,可以将收发单元2110中用于实现接收功能的器件视为接收单元,将收发单元2110中用于实现发送功能的器件视为发送单元,即收发单元2110包括接收单元和发送单元。接收单元有时也可以称为接收机、接收器、或接收电路等。发送单元有时也可以称为发射机、发射器或者发射电路等。In the embodiments of the present application, the antenna and the radio frequency circuit with the transceiver function may be regarded as the transceiver unit of the terminal device (the transceiver unit may be a functional unit, and the function unit can realize the sending function and the receiving function; alternatively, the transceiver unit may also be It includes two functional units, namely a receiving unit capable of realizing a receiving function and a transmitting unit capable of realizing a transmitting function), and a processor with a processing function is regarded as a processing unit of the terminal device. As shown in FIG. 21 , the terminal device includes a transceiver unit 2110 and a processing unit 2120 . The transceiver unit may also be referred to as a transceiver, a transceiver, a transceiver device, etc., and may include a radio frequency circuit and an antenna. The processing unit may also be referred to as a processor, a processing single board, a processing module, a processing device, and the like. Optionally, the device for implementing the receiving function in the transceiver unit 2110 may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit 2110 may be regarded as a transmitting unit, that is, the transceiver unit 2110 includes a receiving unit and a transmitting unit. The receiving unit may also sometimes be referred to as a receiver, receiver, or receiving circuit, or the like. The transmitting unit may also sometimes be referred to as a transmitter, a transmitter, or a transmitting circuit, or the like.
应理解,收发单元2110用于执行上述方法实施例中终端设备的发送操作和接收操作,处理单元2120用于执行上述方法实施例中终端设备上除了收发操作之外的其他操作。It should be understood that the transceiving unit 2110 is configured to perform the sending and receiving operations of the terminal device in the above method embodiments, and the processing unit 2120 is configured to perform other operations on the terminal device in the above method embodiments except the transceiving operations.
可选的,处理单元2120可用于实现图19所示处理模块1910的功能,收发单元2110可用于实现图19所示收发模块1920的功能,本申请实施例中的装置2000可以用于执行本申请上述实施例描述的由第一网络设备实现方法。Optionally, the processing unit 2120 may be used to implement the functions of the processing module 1910 shown in FIG. 19 , the transceiver unit 2110 may be used to implement the functions of the transceiver module 1920 shown in FIG. 19 , and the apparatus 2000 in this embodiment of the present application may be used to execute the present application. The methods described in the foregoing embodiments are implemented by the first network device.
本申请实施例提供一种通信系统。该通信系统可以包括上述的图1或图4所示的实施例所涉及的第一终端设备、第二终端设备以及第一网络设备。可选的,该通信系统还可包括本申请涉及的第二网络设备。可选的,该通信系统可实现图5、图13或图16的通信方法。Embodiments of the present application provide a communication system. The communication system may include the first terminal device, the second terminal device, and the first network device involved in the above-mentioned embodiment shown in FIG. 1 or FIG. 4 . Optionally, the communication system may further include the second network device involved in this application. Optionally, the communication system may implement the communication method of FIG. 5 , FIG. 13 or FIG. 16 .
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质用于存储计算机程序,该计算机程序被计算机执行时,计算机可以实现上述方法实施例提供的图5、图13或图16所示的实施例中与第一终端设备、第二终端设备和/或第一网络设备相关的流程。Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program. When the computer program is executed by a computer, the computer can implement FIG. 5 , FIG. 13 or FIG. 16 provided by the foregoing method embodiments. Processes related to the first terminal device, the second terminal device and/or the first network device in the illustrated embodiment.
本申请实施例还提供一种计算机程序产品,计算机程序产品用于存储计算机程序,该计算机程序被计算机执行时,计算机可以实现上述方法实施例提供的图5、图13或图16所示的实施例中与第一终端设备、第二终端设备和/或第一网络设备相关的流程。Embodiments of the present application further provide a computer program product, where the computer program product is used to store a computer program. When the computer program is executed by a computer, the computer can implement the implementation shown in FIG. 5 , FIG. 13 or FIG. 16 provided by the above method embodiments. In the example, the process related to the first terminal device, the second terminal device and/or the first network device.
本申请实施例还提供一种芯片或芯片系统(或电路),该芯片可包括处理器,该处理器可用于调用存储器中的程序或指令,执行上述方法实施例提供的图5、图13或图16所示的实施例中与第一终端设备、第二终端设备和/或第一网络设备相关的流程。该芯片系统可包括该芯片,还可存储器或收发器等其他组件。An embodiment of the present application further provides a chip or a chip system (or circuit), where the chip may include a processor, and the processor may be configured to call a program or an instruction in a memory, and execute FIG. 5 , FIG. 13 or FIG. A process related to the first terminal device, the second terminal device and/or the first network device in the embodiment shown in FIG. 16 . The chip system may include the chip and other components such as memory or transceivers.
应理解,本申请实施例中提及的处理器可以是CPU,还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiments of the present application may be a CPU, and may also be other general-purpose processors, digital signal processors (digital signal processors, DSPs), application specific integrated circuits (application specific integrated circuits, ASICs), ready-made Field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (direct rambus RAM, DR RAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, the memory (storage module) is integrated in the processor.
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的通信方法和通信装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed communication method and communication device may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
以上功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的计算机可读存储介质,可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)、电可擦可编程只读存储器(electrically erasable programmable read only memory,EEPROM)、紧凑型光盘只读存储器(compact disc read-only memory,CD-ROM)、通用串行总线闪存盘(universal serial bus flash disk)、移动硬盘、或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that makes a contribution or a part of the technical solution. The computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) is caused to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned computer-readable storage medium can be any available medium that can be accessed by a computer. Taking this as an example but not limited to: the computer-readable medium may include random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (electrically erasable programmable read-only memory) read only memory, EEPROM), compact disc read-only memory (CD-ROM), universal serial bus flash disk (universal serial bus flash disk), removable hard disk, or other optical disk storage, disk storage A medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
以上仅为本申请的具体实施方式,但本申请实施例的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请实施例揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以权利要求的保护范围为准。The above are only specific implementations of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present application, All should be covered within the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application should be subject to the protection scope of the claims.

Claims (28)

  1. 一种通信方法,其特征在于,应用于第一网络设备,包括:A communication method, characterized in that, applied to a first network device, comprising:
    接收来自于第一终端设备的第一数据包,所述第一数据包包括第一指示信息和第一数据;receiving a first data packet from a first terminal device, where the first data packet includes first indication information and first data;
    接收来自于第二终端设备的第二数据包,所述第二数据包包括第二指示信息和第二数据;receiving a second data packet from the second terminal device, where the second data packet includes second indication information and second data;
    向所述第一终端设备以及所述第二终端设备发送第三数据包,所述第三数据包包括所述第一指示信息、所述第二指示信息以及第三数据,所述第三数据、所述第二数据和所述第一数据之间具有异或关系。Send a third data packet to the first terminal device and the second terminal device, where the third data packet includes the first indication information, the second indication information and third data, the third data , there is an exclusive OR relationship between the second data and the first data.
  2. 如权利要求1所述的方法,其特征在于,所述第一数据包还包括:The method of claim 1, wherein the first data packet further comprises:
    第三指示信息,指示所述第一终端设备以及所述第二终端设备之间互为目标节点;和/或,third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or,
    第四指示信息,所述第四指示信息用于指示所述第一数据未经过异或处理。Fourth indication information, where the fourth indication information is used to indicate that the first data has not undergone XOR processing.
  3. 如权利要求1或2所述的方法,其特征在于,所述第三数据包还包括:The method according to claim 1 or 2, wherein the third data packet further comprises:
    第三指示信息,指示所述第一终端设备以及所述第二终端设备之间互为目标节点;和/或,third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or,
    第五指示信息,所述第五指示信息用于指示所述第三数据经过异或处理。Fifth indication information, where the fifth indication information is used to indicate that the third data is subjected to XOR processing.
  4. 如权利要求2或3所述的方法,其特征在于,所述第三指示信息包括由所述第一终端设备的地址和所述第二终端设备的地址组成的地址对。The method according to claim 2 or 3, wherein the third indication information comprises an address pair consisting of the address of the first terminal device and the address of the second terminal device.
  5. 如权利要求4所述的方法,其特征在于,所述第一指示信息携带在特定协议层,所述特定协议层包括应用APP层或异或XOR层,所述XOR层位于PDCP层与所述APP层之间。The method according to claim 4, wherein the first indication information is carried in a specific protocol layer, the specific protocol layer includes an application APP layer or an XOR layer, and the XOR layer is located between the PDCP layer and the between the APP layers.
  6. 如权利要求1-5中任一所述的方法,其特征在于,还包括:The method of any one of claims 1-5, further comprising:
    接收来自于所述第一终端设备的第一信息,所述第一信息包括以下信息中的至少一个:Receive first information from the first terminal device, where the first information includes at least one of the following information:
    所述第一终端设备的小区标识;或者,the cell identifier of the first terminal device; or,
    所述第一数据所属业务的目标地址;或者,the target address of the service to which the first data belongs; or,
    所述第一数据所属业务的源地址。The source address of the service to which the first data belongs.
  7. 如权利要求4-6中任一所述的方法,其特征在于,还包括:The method of any one of claims 4-6, further comprising:
    向所述第一终端设备发送第二信息;sending second information to the first terminal device;
    所述第二信息包括以下信息中的至少一个:The second information includes at least one of the following information:
    第三指示信息,所述第三指示信息用于指示所述第一终端设备以及所述第二终端设备之间互为目标节点;或者,third indication information, where the third indication information is used to indicate that the first terminal device and the second terminal device are mutual target nodes; or,
    用于指示根据所述第三数据和所述第一数据获得所述第二数据的信息;或者,information used to indicate that the second data is obtained according to the third data and the first data; or,
    多播业务标识,所述多播业务标识用于所述第二数据包的接收;或者,a multicast service identifier, where the multicast service identifier is used for receiving the second data packet; or,
    多播业务的目标地址,所述多播业务的目标地址为所述第三数据包的目标地址;或者,the target address of the multicast service, where the target address of the multicast service is the target address of the third data packet; or,
    用于指示所述第一终端设备与所述第二终端设备之间的先后顺序的信息,所述先后顺序用于确定所述第一指示信息在所述第三数据包中的位置;或者,information used to indicate the sequence between the first terminal device and the second terminal device, where the sequence is used to determine the position of the first indication information in the third data packet; or,
    所述第三数据包的协议数据单元会话标识PDU session ID;或者,The protocol data unit session identifier PDU session ID of the third data packet; or,
    所述第三数据包的服务质量流QoS flow的ID;或者,the ID of the quality of service flow QoS flow of the third data packet; or,
    所述第三数据包的数据无线承载DRB的ID。The data of the third data packet wirelessly bears the ID of the DRB.
  8. 如权利要求1-7中任一所述的方法,其特征在于,所述向所述第一终端设备以及所述第二终端设备发送第二数据包,包括:The method according to any one of claims 1-7, wherein the sending the second data packet to the first terminal device and the second terminal device comprises:
    通过多播方式向所述第一终端设备以及所述第二终端设备发送第二数据包。The second data packet is sent to the first terminal device and the second terminal device in a multicast manner.
  9. 如权利要求1-8中任一所述的方法,其特征在于,所述第一网络设备包括用户面功能UPF,所述方法还包括:The method according to any one of claims 1-8, wherein the first network device includes a user plane function UPF, and the method further comprises:
    向第二网络设备发送第三信息,所述第三信息用于请求所述第一终端设备的小区标识和所述第二终端设备的小区标识;sending third information to the second network device, where the third information is used to request the cell identity of the first terminal device and the cell identity of the second terminal device;
    从所述第二网络设备接收所述第一终端设备的小区标识和所述第二终端设备的小区标识;receiving a cell identity of the first terminal device and a cell identity of the second terminal device from the second network device;
    确定所述第一终端设备的小区标识与所述第二终端设备的小区标识相同。It is determined that the cell identity of the first terminal device is the same as the cell identity of the second terminal device.
  10. 如权利要求1-8中任一所述的方法,其特征在于,所述第一网络设备包括UPF,所述方法还包括:The method according to any one of claims 1-8, wherein the first network device comprises a UPF, and the method further comprises:
    向第二网络设备发送第四信息,所述第四信息用于指示所述第一终端设备与所述第二终端设备互为目标节点。Send fourth information to the second network device, where the fourth information is used to indicate that the first terminal device and the second terminal device are mutual target nodes.
  11. 如权利要求10所述的方法,其特征在于,还包括:The method of claim 10, further comprising:
    接收来自于所述第二网络设备的第五信息,所述第五信息用于指示所述第一网络设备确定所述第一终端设备的小区与所述第二终端设备的小区相同。Fifth information is received from the second network device, where the fifth information is used to instruct the first network device to determine that the cell of the first terminal device is the same as the cell of the second terminal device.
  12. 如权利要求11所述的方法,其特征在于,所述第五信息包括以下信息中的至少一个:The method of claim 11, wherein the fifth information includes at least one of the following information:
    所述第一终端设备的标识;或者,the identifier of the first terminal device; or,
    所述第二终端设备的标识;或者,the identifier of the second terminal device; or,
    所述第一终端设备的PDU会话信息;或者,PDU session information of the first terminal device; or,
    所述第二终端设备的PDU会话的信息。Information about the PDU session of the second terminal device.
  13. 如权利要求10-12中任一所述的方法,其特征在于,所述第四信息包括所述第一终端设备的标识信息以及所述第二终端设备的标识信息。The method according to any one of claims 10-12, wherein the fourth information includes identification information of the first terminal device and identification information of the second terminal device.
  14. 一种通信方法,其特征在于,应用于第一终端设备,包括:A communication method, characterized in that, applied to a first terminal device, comprising:
    发送第一数据包,所述第一数据包包括第一指示信息和第一数据,sending a first data packet, where the first data packet includes first indication information and first data,
    从第一网络设备接收第三数据包,所述第三数据包包括所述第一指示信息和第三数据,receiving a third data packet from the first network device, the third data packet including the first indication information and third data,
    根据所述第一指示信息,获得第二数据,其中,所述第三数据、所述第二数据和所述第一数据之间具有异或关系。According to the first indication information, second data is obtained, wherein the third data, the second data and the first data have an exclusive OR relationship.
  15. 如权利要求14所述的方法,其特征在于,所述第一数据包还包括:The method of claim 14, wherein the first data packet further comprises:
    第三指示信息,指示所述第一终端设备以及第二终端设备之间互为目标节点;和/或,third indication information, indicating that the first terminal device and the second terminal device are mutual target nodes; and/or,
    第四指示信息,所述第四指示信息用于指示所述第一数据未经过异或处理。Fourth indication information, where the fourth indication information is used to indicate that the first data has not undergone XOR processing.
  16. 如权利要求14或15所述的方法,其特征在于,所述第三数据包还包括:The method of claim 14 or 15, wherein the third data packet further comprises:
    第三指示信息,指示所述第一终端设备以及所述第二终端设备之间互为目标节点,所述第二数据对应于所述第二终端设备;和/或,third indication information, indicating that the first terminal device and the second terminal device are mutually target nodes, and the second data corresponds to the second terminal device; and/or,
    第五指示信息,所述第五指示信息用于指示所述第三数据经过异或处理。Fifth indication information, where the fifth indication information is used to indicate that the third data is subjected to XOR processing.
  17. 如权利要求15或16所述的方法,其特征在于,所述第三指示信息包括由所述第一终端设备的地址和所述第二终端设备的地址组成的地址对。The method according to claim 15 or 16, wherein the third indication information comprises an address pair consisting of the address of the first terminal device and the address of the second terminal device.
  18. 如权利要求14-17中任一所述的方法,其特征在于,还包括:The method of any one of claims 14-17, further comprising:
    所述第一终端设备的特定协议层存储所述第一指示信息和所述第一数据;The specific protocol layer of the first terminal device stores the first indication information and the first data;
    所述第一终端设备根据所述第三数据和所述第一数据获得所述第二数据,包括:The first terminal device obtains the second data according to the third data and the first data, including:
    所述第一终端设备的特定协议层根据所述第三数据和所述第一数据获得所述第二数据;The specific protocol layer of the first terminal device obtains the second data according to the third data and the first data;
    和/或;and / or;
    所述第一终端设备的特定协议层确定所述第三数据包包括所述第一指示信息;The specific protocol layer of the first terminal device determines that the third data packet includes the first indication information;
    所述第一终端设备根据所述第三数据和所述第一数据获得所述第二数据,包括:The first terminal device obtains the second data according to the third data and the first data, including:
    所述第一终端设备的特定协议层根据所述第三数据和所述第一数据获得所述第二数据。The specific protocol layer of the first terminal device obtains the second data according to the third data and the first data.
  19. 如权利要求18所述的方法,其特征在于,所述特定协议层包括应用APP层或XOR层,所述XOR层位于PDCP层与所述APP层之间。The method of claim 18, wherein the specific protocol layer comprises an application APP layer or an XOR layer, and the XOR layer is located between the PDCP layer and the APP layer.
  20. 如权利要求14-19中任一所述的方法,其特征在于,还包括:The method of any one of claims 14-19, further comprising:
    向所述第一网络设备发送第一信息,所述第一信息包括以下信息中的至少一个:Send first information to the first network device, where the first information includes at least one of the following information:
    所述第一终端设备的小区标识;或者,the cell identifier of the first terminal device; or,
    所述第一数据所属业务的目标地址;或者,the target address of the service to which the first data belongs; or,
    所述第一数据所属业务的源地址。The source address of the service to which the first data belongs.
  21. 如权利要求14-20中任一所述的方法,其特征在于,还包括:The method of any one of claims 14-20, further comprising:
    接收来自于所述第一网络设备或第二网络设备的第二信息,所述第二网络设备与所述第一网络设备连接;receiving second information from the first network device or the second network device, the second network device is connected to the first network device;
    所述第二信息包括以下信息中的至少一个:The second information includes at least one of the following information:
    第三指示信息,所述第三指示信息用于指示所述第一终端设备以及所述第二终端设备之间互为目标节点,所述第三数据对应于所述第二终端设备;或者,third indication information, where the third indication information is used to indicate that the first terminal device and the second terminal device are mutually target nodes, and the third data corresponds to the second terminal device; or,
    用于指示根据所述第三数据和所述第一数据获得所述第二数据的信息;或者,information used to indicate that the second data is obtained according to the third data and the first data; or,
    多播业务标识,所述多播业务标识用于所述第二数据包的接收;或者,a multicast service identifier, where the multicast service identifier is used for receiving the second data packet; or,
    多播业务的目标地址,所述多播业务的目标地址为所述第二数据包的目标地址;或者,the target address of the multicast service, where the target address of the multicast service is the target address of the second data packet; or,
    用于指示所述第一终端设备与所述第二终端设备之间的先后顺序的信息,所述先后顺序用于确定所述第一指示信息在所述第三数据包中的位置;或者,information used to indicate the sequence between the first terminal device and the second terminal device, where the sequence is used to determine the position of the first indication information in the third data packet; or,
    所述第三数据包的PDU session ID;或者,the PDU session ID of the third data packet; or,
    所述第三数据包的QoS flow的ID;或者,the ID of the QoS flow of the third data packet; or,
    所述第三数据包的DRB的ID。The ID of the DRB of the third data packet.
  22. 如权利要求14-21中任一所述的方法,其特征在于,所述第一网络设备包括服务器或UPF。The method of any one of claims 14-21, wherein the first network device comprises a server or a UPF.
  23. 一种通信装置,其特征在于,包括:A communication device, characterized in that it includes:
    存储器,用于存储指令;memory for storing instructions;
    处理器,用于从所述存储器中调用并运行所述指令,使得所述通信装置执行如权利要求1-13中任一项所述的方法。A processor for recalling and executing the instructions from the memory to cause the communication device to perform the method of any one of claims 1-13.
  24. 一种通信装置,其特征在于,包括:A communication device, characterized in that it includes:
    存储器,用于存储指令;memory for storing instructions;
    处理器,用于从所述存储器中调用并运行所述指令,使得所述通信装置执行如权利要 求14-22中任一项所述的方法。A processor for recalling and executing the instructions from the memory to cause the communication device to perform the method of any of claims 14-22.
  25. 一种通信系统,其特征在于,包括如权利要求23和权利要求24所述的通信装置。A communication system, characterized by comprising the communication device as claimed in claim 23 and claim 24.
  26. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当所述指令在计算机上被调用执行时,使得所述计算机执行如权利要求1-22中任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores instructions, and when the instructions are invoked and executed on a computer, the computer is made to execute any one of claims 1-22. method described in item.
  27. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-22中任一项所述的方法。A computer program product, characterized in that, when the computer program product is run on a computer, the computer is caused to perform the method according to any one of claims 1-22.
  28. 一种电路,其特征在于,所述电路与存储器耦合,所述电路用于读取并执行所述存储器中存储的程序以执行如权利要求1-22中任一项所述的方法。A circuit, characterized in that the circuit is coupled to a memory, and the circuit is configured to read and execute a program stored in the memory to perform the method of any one of claims 1-22.
PCT/CN2020/119719 2020-09-30 2020-09-30 Communication method and apparatus WO2022067795A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/119719 WO2022067795A1 (en) 2020-09-30 2020-09-30 Communication method and apparatus
CN202080103825.XA CN116114207A (en) 2020-09-30 2020-09-30 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/119719 WO2022067795A1 (en) 2020-09-30 2020-09-30 Communication method and apparatus

Publications (1)

Publication Number Publication Date
WO2022067795A1 true WO2022067795A1 (en) 2022-04-07

Family

ID=80949450

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/119719 WO2022067795A1 (en) 2020-09-30 2020-09-30 Communication method and apparatus

Country Status (2)

Country Link
CN (1) CN116114207A (en)
WO (1) WO2022067795A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090323580A1 (en) * 2008-06-27 2009-12-31 Feng Xue Frame structure and sequencing for enabling network coding for wireless relaying
US20110182379A1 (en) * 2010-01-28 2011-07-28 Mmc Technology, Inc. Network coding method and system through consideration of channel state difference of receivers
CN103813413A (en) * 2012-11-12 2014-05-21 上海贝尔股份有限公司 Method and device for improving data transmission based on local exchange and base station
CN104640217A (en) * 2015-01-27 2015-05-20 浙江大学 Method for joint allocation of uplink and downlink resources of OFDMA (orthogonal frequency division multiple access) network based on network coding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090323580A1 (en) * 2008-06-27 2009-12-31 Feng Xue Frame structure and sequencing for enabling network coding for wireless relaying
US20110182379A1 (en) * 2010-01-28 2011-07-28 Mmc Technology, Inc. Network coding method and system through consideration of channel state difference of receivers
CN103813413A (en) * 2012-11-12 2014-05-21 上海贝尔股份有限公司 Method and device for improving data transmission based on local exchange and base station
CN104640217A (en) * 2015-01-27 2015-05-20 浙江大学 Method for joint allocation of uplink and downlink resources of OFDMA (orthogonal frequency division multiple access) network based on network coding

Also Published As

Publication number Publication date
CN116114207A (en) 2023-05-12

Similar Documents

Publication Publication Date Title
WO2022082680A1 (en) Communication method and apparatus
US11489760B2 (en) Multicast group creation method, multicast group joining method, and apparatus
TW202021323A (en) Information transmission method and apparatus, and communication device
WO2019019133A1 (en) Command instruction method and device, and information interaction method and device
US20230164640A1 (en) Communication method and communication apparatus
WO2022036555A1 (en) Relay transmission method, relay terminal and remote terminal
WO2021189235A1 (en) Data transmission method and apparatus, and communication device
TW202013936A (en) Wireless communication method and communication device
CN115707036A (en) Method and device for transmitting data
WO2022073246A1 (en) Communication method and apparatus
WO2020078248A1 (en) Wireless communication method and device
WO2022067795A1 (en) Communication method and apparatus
WO2022104531A1 (en) Connection method and related apparatus
WO2022063186A1 (en) Transmission link switching method and related product
WO2022160303A1 (en) Quality of service parameter processing method, terminal device, network function entity, and network device
WO2024027412A1 (en) Communication method, communication apparatus and communication system
WO2022141503A1 (en) Communication method and apparatus
WO2022222736A1 (en) Service processing method, apparatus and system, readable storage medium, and electronic device
CN114979964B (en) Communication method and device
WO2022233011A1 (en) Method for establishing connection, and terminal device
WO2023155763A1 (en) Communication method and communication apparatus
WO2022252969A1 (en) Communication method and apparatus
WO2022147844A1 (en) Access type indication method, terminal device, application server, and network function entity
WO2024020859A1 (en) Method for switching between relay links, and device
US20230328825A1 (en) Configuration reset method and apparatus, and terminal device

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: 20955818

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20955818

Country of ref document: EP

Kind code of ref document: A1