WO2023015481A1 - Communication method and communication apparatus - Google Patents

Communication method and communication apparatus Download PDF

Info

Publication number
WO2023015481A1
WO2023015481A1 PCT/CN2021/112045 CN2021112045W WO2023015481A1 WO 2023015481 A1 WO2023015481 A1 WO 2023015481A1 CN 2021112045 W CN2021112045 W CN 2021112045W WO 2023015481 A1 WO2023015481 A1 WO 2023015481A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
service
header data
context
complete header
Prior art date
Application number
PCT/CN2021/112045
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 CN202180007082.0A priority Critical patent/CN115968561A/en
Priority to PCT/CN2021/112045 priority patent/WO2023015481A1/en
Publication of WO2023015481A1 publication Critical patent/WO2023015481A1/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
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • the present application relates to the technical field of communication, and in particular, to a communication method and a communication device.
  • a 5G local area network (LAN) service which supports the transmission of Ethernet services.
  • the fields included in the Ethernet packet header are mostly static fields (that is, the fields with the same content in the packet headers of all packets of the same Ethernet service flow). Therefore, in order to save transmission overhead, in the third generation In the R16 version (Release16) standard of the partner program (the 3rd generation partnership project, 3GPP), a solution for Ethernet header compression (Ethernet header compress, EHC) is proposed, that is, the static fields in the Ethernet packet header are saved In a context (context), each context corresponds to a context index (context ID, CID), and the compression end and decompression end save the same context information.
  • EHC Ethernet header compress
  • the compression end can use the CID to replace the Ethernet packet header when transmitting Ethernet services, and the decompression end obtains the original packet header from the context according to the CID to restore data.
  • the current standard does not define the context consistency detection mechanism between the compression end and the decompression end, that is, when the decompression end fails to decompress (such as context loss, context inconsistency and other reasons lead to decompression failure), it cannot be fed back to the compression end, resulting in business failures. persistent exception. Based on this, how to improve the reliability of EHC transmission has become one of the problems to be solved urgently.
  • the present application provides a communication method and a communication device, which improve the reliability of communication.
  • the present application provides a communication method, the method includes: a first device sends a first data packet to a second device, the first data packet is a complete header data packet associated with the first service, The complete header data packet includes a context index and a context; the first device receives first feedback information from the second device for the first data packet, and the first feedback information is used to indicate that the creation is completed Correspondence between the first context index in the first data packet and the first context; the first device sends a complete header data packet associated with the first service to the second device.
  • the compression end i.e. the first device
  • the decompression end i.e. the second device
  • multiple times for example, 2 times
  • the first device sends a complete header data packet associated with the first service to the second device, including:
  • the first device periodically sends a complete header data packet associated with the first service to the second device.
  • the first device periodically sends the complete header data packet to the second device (that is, the first device periodically rolls back, from sending the compressed header data packet to sending the complete header data packet).
  • message header data packet which can trigger the second device to periodically perform context synchronization/update, which is more conducive to improving the reliability of communication.
  • the first device periodically sends a complete header data packet associated with the first service to the second device, including:
  • the first device determines a first context index corresponding to the compressed header data packet associated with the first service
  • the first device When the first time interval is greater than the preset duration, the first device sends a complete header data packet associated with the first service to the second device, and the first time interval is the first time stamp and The time interval between the second time stamps; the first time stamp is the time stamp when the first device receives the first feedback information, and the second time stamp is the time stamp when the first device determines the The timestamp when the first context was indexed.
  • the method also includes:
  • the first device When the first time interval is less than or equal to the preset time length, the first device sends the compressed header data packet to the second device.
  • the first device periodically sends a complete header data packet associated with the first service to the second device, including:
  • the first device sends the second device with the A complete header data packet associated with the first service.
  • the method also includes:
  • the first device When the sending number is less than or equal to the preset number, the first device sends a compressed header data packet associated with the first service to the second device.
  • the The method also includes:
  • the first device sends a complete header data packet associated with the first service to the second device.
  • the first device after the first device sends the first data packet to the second device, before the first device receives the first feedback information for the first data packet from the second device, it sends a complete header data packet, which does not affect The normal reception of the first service by the second device is conducive to improving service transmission efficiency.
  • the present application provides a communication method, the method includes: the second device receives the first data packet from the first device, and the first data packet is a complete header data packet associated with the first service , the complete header data packet includes a context index and a context; the second device sends first feedback information for the first data packet to the first device, and the first feedback information is used to indicate the creation of Complete the correspondence between the first context index and the first context in the first data packet; the second device receives a complete header data packet from the first device and associated with the first service .
  • the second device receives a complete header data packet from the first device and associated with the first service, including:
  • the second device receives a complete header data packet associated with the first service periodically sent by the first device.
  • the second device after the second device receives the first data packet from the first device, the second device sends the first feedback information for the first data packet to the first device Previously, the method further included:
  • the second device receives a complete header data packet from the first device and associated with the first service.
  • the method also includes:
  • the second device updates the context index corresponding to the first service and the correspondence between contexts according to the complete header data packet associated with the first service.
  • the present application provides a communication device, the communication device is a first device, and the device includes: a transceiver unit, configured to send a first data packet to a second device, and the first data packet is related to the first device A complete message header data packet associated with a service, the complete message header data packet includes a context index and a context; the transceiver unit is configured to receive first feedback from the second device for the first data packet Information, the first feedback information is used to indicate that the corresponding relationship between the first context index in the first data packet and the first context has been created; the transceiving unit is configured to send the corresponding relationship to the second device A complete header data packet associated with the first service.
  • the transceiving unit is configured to periodically send a complete header data packet associated with the first service to the second device.
  • the device also includes:
  • a processing unit configured to determine a first context index corresponding to the compressed header data packet associated with the first service
  • the processing unit is further configured to send a complete header data packet associated with the first service to the second device through the transceiver unit when it is determined that the first time interval is greater than a preset duration, and the second A time interval is the time interval between the first time stamp and the second time stamp; the first time stamp is the time stamp when the first device receives the first feedback information, and the second time stamp A timestamp when the first context index is determined for the first device.
  • the processing unit is further configured to, when it is determined that the first time interval is less than or equal to the preset duration, send the compressed message to the second device through the transceiver unit header packet.
  • the device also includes:
  • a processing unit configured to, when it is determined that the number of compressed header data packets associated with the first service sent to the second device through the transceiver unit is greater than a preset number, send the message to the second device through the transceiver unit The second device sends a complete header data packet associated with the first service.
  • the processing unit is further configured to, when it is determined that the sending number is less than or equal to the preset number, send the first service to the second device through the transceiver unit Associated compressed header packets.
  • the The transceiver unit is also used for:
  • the present application provides a communication device, the communication device is a second device, and the device includes: a transceiver unit, configured to receive a first data packet from the first device, and the first data packet is related to A complete header data packet associated with the first service, where the complete header data packet includes a context index and a context; the transceiver unit is configured to send a first message for the first data packet to the first device Feedback information, the first feedback information is used to indicate that the corresponding relationship between the first context index in the first data packet and the first context has been created; the transceiving unit is configured to receive information from the first device And a complete header data packet associated with the first service.
  • a transceiver unit configured to receive a first data packet from the first device, and the first data packet is related to A complete header data packet associated with the first service, where the complete header data packet includes a context index and a context
  • the transceiver unit is configured to send a first message for the first data packet to the first device Feedback information, the first feedback information is used
  • the transceiving unit is configured to receive a complete header data packet associated with the first service periodically sent by the first device.
  • the transceiver unit was used to:
  • the device also includes:
  • a processing unit configured to update the context index corresponding to the first service and the corresponding relationship between the contexts according to the complete header data packet associated with the first service.
  • the present application provides a communication device.
  • the device may be the first device, or a device in the first device, or a device that can be matched with the first device.
  • the communication device may also be a system on a chip.
  • the communication device can execute the method described in the first aspect.
  • the functions of the communication device may be realized by hardware, or may be realized by executing corresponding software by hardware.
  • the hardware or software includes one or more units or modules corresponding to the above functions.
  • the unit or module can be software and/or hardware.
  • the present application provides a communication device, which may be a second device, or a device in the second device, or a device that can be used in conjunction with the second device.
  • the communication device may also be a system on a chip.
  • the communication device can execute the method described in the second aspect.
  • the functions of the communication device may be realized by hardware, or may be realized by executing corresponding software by hardware.
  • the hardware or software includes one or more units or modules corresponding to the above functions.
  • the unit or module can be software and/or hardware.
  • the present application provides a communication device, the communication device includes a processor and a transceiver, and the processor and the transceiver are used to execute at least one computer program or instruction stored in a memory, so that the The device implements the method according to any one of the first aspect to the second aspect.
  • the present application provides a communication device, the communication device includes a processor, a transceiver, and a memory, and the processor, the transceiver, and the memory are coupled; the processor and the transceiver are used to implement any of the first to second aspects. one method.
  • the present application provides a computer-readable storage medium, in which computer programs or instructions are stored, and when the computer programs or instructions are executed by the computer, any one of the first to second aspects can be realized.
  • the present application provides a computer program product including instructions, the computer program product includes computer program code, when the computer program code is run on a computer, to achieve any one of the first aspect to the second aspect Methods.
  • Figure 1a is a schematic diagram of a 5G network architecture
  • Figure 1b is a schematic diagram of downlink data transmission between layers
  • Figure 1c is a schematic diagram of a CU-DU separation architecture
  • Figure 1d is a schematic diagram of another CU-DU separation architecture
  • Figure 1e is a schematic diagram of the distribution of an air interface protocol stack
  • Fig. 2 is a schematic structural diagram of the EHC message format provided by the embodiment of the present application.
  • Fig. 3 is a schematic flow chart of EHC message transmission provided by the embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a communication method provided in an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • words such as “exemplary” or “for example” are used to mean an example, illustration or description. Any embodiment or design described herein as “exemplary” or “for example” is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner.
  • GSM global system of mobile communication
  • CDMA code division multiple access
  • WCDMA broadband code division multiple access
  • general packet radio service general packet radio service, GPRS
  • long term evolution long term evolution, LTE
  • LTE frequency division duplex frequency division duplex, FDD
  • LTE Time Division Duplex TDD
  • Universal Mobile Telecommunications System UMTS
  • Worldwide Interoperability for Microwave Access WiMAX
  • Fifth Generation (5G) System or new radio (new radio, NR) and future communication systems, etc. are not limited here.
  • FIG. 1a is a schematic diagram of a 5G network architecture.
  • the network architecture can include terminal equipment, (wireless) access network ((radio) access network, (R)AN), core network (core network, CN) and data network (data network, DN ).
  • R wireless access network
  • core network core network
  • DN data network
  • (R)AN hereinafter referred to as RAN
  • RAN is used to connect the terminal equipment to the wireless network
  • CN is used to manage the terminal equipment and provide a gateway for communicating with the DN.
  • the terminal equipment, RAN, CN, and DN involved in FIG. 1a will be described in detail below.
  • Terminal devices include devices that provide voice and/or data connectivity to a user, and may include, for example, handheld devices with wireless connectivity, or processing devices connected to a wireless modem.
  • the terminal equipment can communicate with the core network via the wireless access network, and the terminal equipment can include user equipment (user equipment, UE), wireless terminal equipment, mobile terminal equipment, and device-to-device communication (device-to-device, D2D) Terminal equipment, vehicle to everything (V2X) terminal equipment, machine-to-machine/machine-type communications (M2M/MTC) terminal equipment, Internet of things (IoT) ) terminal equipment, subscriber unit, subscriber station, mobile station, remote station, access point (access point, AP), remote terminal, access terminal, user terminal, user agent, or user equipment, etc.
  • IoT Internet of things
  • it may include mobile phones (or “cellular” phones), computers with mobile terminal equipment, portable, pocket, hand-held, computer built-in mobile devices, and the like.
  • PCS personal communication service
  • cordless telephone cordless telephone
  • session initiation protocol session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • devices can also include limited devices, such as devices with low power consumption, or devices with limited storage capabilities, or devices with limited computing capabilities.
  • the RAN may include one or more RAN devices (or access network devices), and the interface between the access network device and the terminal device may be a Uu interface (or called an air interface).
  • the names of these interfaces may remain unchanged, or may be replaced by other names, which is not limited in this application.
  • An access network device is a node or device that connects a terminal device to a wireless network.
  • the access network device includes but is not limited to: a new generation base station (generation node B, gNB) and an evolved node B ( evolved node B, eNB), next generation evolved node B (next generation eNB, ng-eNB), wireless backhaul equipment, radio network controller (radio network controller, RNC), node B (node B, NB), base station Controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station ((home evolved nodeB, HeNB) or (home node B, HNB)), baseband unit (baseBand unit, BBU), Transmission receiving point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc.
  • generation node B, gNB new generation base station
  • eNB evolved node B
  • next generation eNB next generation evolved node B (n
  • the control plane protocol layer structure may include radio resource control (radio resource control, RRC) layer, packet data convergence protocol (packet data convergence protocol, PDCP ) layer, radio link control (radio link control, RLC) layer, media access control (media access control, MAC) layer and physical layer;
  • RRC radio resource control
  • PDCP packet data convergence protocol
  • RLC radio link control
  • media access control media access control
  • the user plane protocol layer structure can include PDCP layer, RLC layer, MAC layer and physical layer
  • the PDCP layer may further include a service data adaptation protocol (service data adaptation protocol, SDAP) layer.
  • SDAP service data adaptation protocol
  • the data transmission needs to go through the user plane protocol layer, such as the SDAP layer, PDCP layer, RLC layer, MAC layer, and physical layer.
  • the SDAP layer, PDCP layer, The RLC layer, the MAC layer, and the physical layer may also be collectively referred to as an access layer.
  • At least one data radio bearer (data radio bearer, DRB) is established between the access network device and the terminal device to transmit data, and each DRB may correspond to a set of functional entities, such as including a PDCP layer entity, the At least one RLC layer entity corresponding to the PDCP layer entity, at least one MAC layer entity corresponding to the at least one RLC layer entity, and at least one physical layer entity corresponding to the at least one MAC layer entity.
  • at least one signaling radio bearer (Signalling radio bearer, SRB) can also be established between the access network device and the terminal device to transmit signaling, and the DRB and the SRB can be collectively called a radio bearer (radio bearer, RB).
  • FIG. 1b is a schematic diagram of downlink data transmission between layers.
  • the downward arrow in FIG. 1b indicates data transmission, and the upward arrow indicates data reception.
  • the SDAP layer entity obtains the data from the upper layer, it can map the data to the PDCP layer entity of the corresponding DRB according to the QoS flow indicator (QFI) of the data, and the PDCP layer entity can transmit the data to at least one corresponding to the PDCP layer entity.
  • An RLC layer entity is further transmitted by at least one RLC layer entity to the corresponding MAC layer entity, and then the MAC layer entity generates a transmission block, and then performs wireless transmission through the corresponding physical layer entity.
  • the data is encapsulated correspondingly in each layer.
  • the data received by a certain layer from the upper layer of the layer is regarded as the service data unit (service data unit, SDU) of the layer, which becomes a protocol data unit (protocol data unit) after layer encapsulation. unit, PDU), and then passed to the next layer.
  • SDU service data unit
  • PDU protocol data unit
  • the data received by the PDCP layer entity from the upper layer is called PDCP SDU
  • the data sent by the PDCP layer entity to the lower layer is called PDCP PDU
  • the data received by the RLC layer entity from the upper layer is called RLC SDU
  • RLC PDU the data sent by the RLC layer entity to the lower layer It is called RLC PDU.
  • data can be transmitted between different layers through corresponding channels, for example, data can be transmitted between RLC layer entities and MAC layer entities through a logical channel (logical channel, LCH), and between MAC layer entities and physical layer entities can be transmitted through Transport channel (transport channel) to transmit data.
  • logical channel logical channel
  • transport channel transport channel
  • the terminal device also has an application layer and a non-access layer; wherein, the application layer can be used to provide services to applications installed in the terminal device, for example, the received Downlink data can be sequentially transmitted from the physical layer to the application layer, and then provided to the application program by the application layer; for another example, the application layer can obtain the data generated by the application program, and transmit the data to the physical layer in sequence, and send it to other communication devices.
  • the non-access layer can be used to forward user data, such as forwarding uplink data received from the application layer to the SDAP layer or forwarding downlink data received from the SDAP layer to the application layer.
  • the access network device may include one or more centralized units (centralized unit, CU) and one or more distributed units (distributed unit, DU), and multiple DUs may be centrally controlled by one CU.
  • the interface between the CU and the DU may be called an F1 interface, where a control plane (control panel, CP) interface may be F1-C, and a user plane (user panel, UP) interface may be F1-U.
  • the CU and DU can be divided according to the protocol layer of the wireless network: for example, please refer to FIG. 1c, which is a schematic diagram of a CU-DU separation architecture. As shown in Figure 1c, the functions of the protocol layers above the PDCP layer are set in the CU, and the functions of the protocol layers below the PDCP layer (such as the RLC layer and MAC layer, etc.) are set in the DU.
  • the above-mentioned division of the processing functions of CU and DU according to the protocol layer is only an example, and it can also be divided according to other methods.
  • the functions of the protocol layers above the RLC layer are set in the CU, the RLC layer and the following protocol layers.
  • the functions of the DU are set in the DU, and for example, the CU or DU can be divided into functions with more protocol layers, and for example, the CU or DU can also be divided into partial processing functions with protocol layers.
  • part of the functions of the RLC layer and the functions of the protocol layers above the RLC layer are set in the CU, and the rest of the functions of the RLC layer and the functions of the protocol layers below the RLC layer are set in the DU.
  • the functions of the CU or DU can also be divided according to the business type or other system requirements, for example, according to the delay, and the functions whose processing time needs to meet the delay requirement are set in the DU, which does not need to meet the delay
  • the required feature set is in the CU.
  • the CU may also have one or more functions of the core network.
  • the CU can be set on the network side to facilitate centralized management; the DU can have multiple radio functions, or the radio functions can be remotely set. This embodiment of the present application does not limit it.
  • the function of the CU may be implemented by one entity, or may also be implemented by different entities.
  • FIG. 1d is a schematic diagram of another CU-DU separation architecture.
  • the functions of the CU can be further divided, that is, the control plane and the user plane are separated and realized by different entities, which are the control plane CU entity (ie, the CU-CP entity) and the user plane CU entity (ie, the CU-CP entity).
  • CU-UP entity the CU-CP entity and the CU-UP entity can be coupled with the DU to jointly complete the functions of the RAN device.
  • the interface between CU-CP entity and CU-UP entity can be E1 interface
  • the interface between CU-CP entity and DU can be F1-C interface
  • the interface between CU-UP entity and DU can be F1-U interface.
  • one DU and one CU-UP can be connected to one CU-CP.
  • one DU can be connected to multiple CU-UPs
  • one CU-UP can be connected to multiple DUs.
  • Fig. 1e is a schematic diagram of distribution of an air interface protocol stack.
  • the air interface protocol stack can be RLC, MAC, and PHY in the DU, and PDCP and above protocol layers in the CU.
  • the signaling generated by the CU can be sent to the terminal device through the DU, or the signaling generated by the terminal device can be sent to the CU through the DU.
  • the DU can directly encapsulate the signaling through the protocol layer and transparently transmit it to the terminal device or CU without parsing the signaling.
  • the sending or receiving of the signaling by the DU includes this scenario.
  • signaling at the RRC or PDCP layer will eventually be processed as data at the physical layer and sent to the terminal device, or converted from received data at the physical layer.
  • the signaling at the RRC or PDCP layer can also be considered to be sent by the DU, or sent by the DU and the radio frequency device.
  • the CN may include one or more CN devices.
  • the CN may include access and mobility management function (access and mobility management function, AMF) network elements, session management function (session management function, SMF) ) network element, user plane function (UPF) network element, policy control function (PCF) network element, unified data management (unified data management, UDM) network element, application function (application function, AF) ) Network elements, etc.
  • AMF access and mobility management function
  • SMF session management function
  • PCF policy control function
  • UDM unified data management
  • UDM application function
  • AF application function
  • the AMF network element is a control plane network element provided by the operator network, responsible for access control and mobility management of terminal equipment accessing the operator network, such as including mobility status management, assigning temporary user IDs, authenticating and authorizing users, etc. .
  • the SMF network element is a control plane network element provided by the operator network, and is responsible for managing the PDU session of the terminal device.
  • a PDU session is a channel for transmitting PDUs, and terminal equipment needs to transmit PDUs with DN through the PDU session.
  • the PDU session is established, maintained and deleted by the SMF network element.
  • SMF network elements include session management (such as session establishment, modification and release, including tunnel maintenance between UPF and RAN), selection and control of UPF network elements, service and session continuity (service and session continuity, SSC) mode selection, Session-related functions such as roaming.
  • the UPF network element is the gateway provided by the operator, and is the gateway for communication between the operator's network and the DN.
  • UPF network elements include data packet routing and transmission, packet inspection, quality of service (QoS) processing, lawful interception, uplink packet detection, downlink data packet storage and other user-plane-related functions.
  • QoS quality of service
  • the PCF network element is a control plane function provided by the operator, and is used to provide the policy of the PDU session to the SMF network element.
  • Policies may include accounting-related policies, QoS-related policies, and authorization-related policies.
  • the AF network element is a functional network element that provides various business services, can interact with the core network through other network elements, and can interact with the policy management framework for policy management.
  • the CN may also include other possible network elements, such as network exposure function (network exposure function, NEF), network element unified data repository (unified data repository, UDR) network element.
  • network exposure function network exposure function
  • UDR unified data repository
  • the access network device and the core network device may be collectively referred to as a network device.
  • DN can also be called packet data network (packet data network, PDN), which is a network located outside the operator's network.
  • PDN packet data network
  • the operator's network can access multiple DNs, and application servers corresponding to various services can be deployed in the DN.
  • End devices offer a wide variety of possible services.
  • Npcf, Nudm, Naf, Namf, Nsmf, N1, N2, N3, N4, and N6 are interface serial numbers.
  • interface serial numbers refer to the meanings defined in relevant standard protocols, and there is no limitation here.
  • the 5G communication system is taken as an example in Fig. 1a, and the solutions in the embodiments of the present application can also be applied to other possible communication systems, such as LTE communication systems or future sixth generation (the 6th generation) generation, 6G) communication system.
  • the foregoing network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
  • Ethernet header compression Ethernet header compress, EHC
  • the 5G LAN service is introduced, which supports the transmission of Ethernet services.
  • the fields included in the Ethernet message header are mostly static fields (that is, in the message headers (or described as data packet headers) of all messages (or described as data packets) of the same Ethernet service flow, the contents are the same field), therefore, in order to save transmission overhead, the EHC solution is proposed, that is, the static fields in the Ethernet packet header are stored in a context (context), and each context corresponds to a context index (context ID, CID ), the compression side and the decompression side save the same context information.
  • the compression end can use the CID to replace the Ethernet packet header when transmitting Ethernet services, and the decompression end obtains the original packet header (or described as a complete message header) for data recovery.
  • the fields that can be compressed in the Ethernet packet header are shown in Table 1 below:
  • EHC is usually performed at the PDCP layer, that is, EHC is a function defined at the PDCP layer, which is configured based on the DRB granularity, and is delivered by the access network device to the terminal device through the air interface.
  • the EHC message has two formats, namely a full header (full header, FH) format and a compressed message header (compress header, CH) format.
  • FH represents an uncompressed message
  • CH represents a compressed message.
  • FIG. 2 is a schematic structural diagram of an EHC message format provided by an embodiment of the present application.
  • a complete message header data packet (FH Packet) includes an EHC header (EHC header), an Ethernet header (ETH header) and a data (data) part.
  • the compressed header data packet (CHPacket) includes an EHC header (EHCheader) and a data (data) part. That is to say, the DRB with the EHC function enabled must encapsulate an additional layer of EHC header (EHC header) when sending data.
  • EHC header EHC header
  • Type field is used to indicate that the EHC message is a message of FH type (FH message for short), or a message of CH type (CH message for short).
  • FIG. 3 is a schematic flow chart of EHC message transmission provided by the embodiment of the present application.
  • the compressor can first extract the message characteristics (or be described as Ethernet message characteristics) of the Ethernet message to be sent, and perform context matching (or be described as extracting the Ethernet message feature).
  • Network packet characteristics are matched against existing/existing contexts).
  • the characteristics of the Ethernet packet may include destination address, source address, information in fields such as Q-TAG and LENGTH/TYPE.
  • the existing/existing context can be understood as the context saved/created/established in the compression end.
  • the extracted feature of the Ethernet packet matches the value of each field included in any context in the existing context, it is considered as a hit, otherwise it is considered as not a hit.
  • the context is hit/matched, its CID will be obtained. If the context is not hit (or described as not matching the context), a new CID will be applied to save the message characteristics (that is, create the context).
  • the compression end can send an FH type message (ie FH message) to the decompression end, wherein, if the decompression end receives the FH type message , then obtain the CID in the FH message, and extract information such as the complete message header of the Ethernet (that is, the characteristics of the Ethernet message) for creating/saving the context, and send feedback information (feedback) to the compression end, wherein the feedback information Including CID and other information, therefore, when the compression end receives the feedback information sent from the decompression end, the compression end can determine that the decompression end has established the context corresponding to the CID according to the CID included/carried in the received feedback information , that is, the decompression end (successfully) establishes the context corresponding to the CID. Subsequently, the compression end can send a message of the CH type to the decompression end.
  • FH message FH message
  • the compression end if the compression end successfully matches the corresponding context when performing context matching, then obtains the corresponding CID, and sends a message of CH type (that is, a CH message) to the decompression end.
  • CH type that is, a CH message
  • the CH message includes information such as CID. Therefore, if the decompression end receives a message of the CH type, it can extract the CID in the CH message, and query the corresponding context information according to the extracted CID to decompress the CH message.
  • the current standard does not define the context consistency detection mechanism between the compression end and the decompression end, that is, when the decompression end fails to decompress, it cannot be fed back to the compression end, resulting in continuous abnormal business.
  • the reasons for decompression failure at the decompression end may include context loss, context inconsistency, etc.
  • the reasons for context errors at the decompression end may be bit errors during air interface transmission, or operations such as active context reset at the decompression end. Do limit. Based on this, how to improve the reliability of EHC transmission has become one of the problems to be solved urgently.
  • the method in the embodiment of the present application is not limited to the compressed transmission of the header part of the data packet, but also can be applied to the compressed transmission of the data part of the data packet, or can also be applied to the entire data packet (that is, the header part and the Data part) compressed transmission, etc., are not limited here.
  • the embodiments of the present application all take the compressed transmission of the header part of the data packet as an example for schematic illustration.
  • the solution provided by this application can be applied to uplink transmission or downlink transmission, wherein, in downlink transmission, the compression end can be an access network device, the decompression end can be a terminal device, and in uplink transmission, the compression end can be a terminal device , the decompression end is the access network device.
  • the compression end may be described as the first device, and the decompression end may be described as the second device.
  • the decompression end described in the embodiment of the present application may also be described as a decompression end, etc., which is not limited here.
  • the message described in the embodiment of the present application may also be described as a data packet, etc., which is not limited here.
  • the complete header data packet described in the embodiment of the present application may also be described as a data packet/message with an uncompressed header, or as an FH packet, etc., which is not limited here.
  • the compressed header data packet described in the embodiment of this application can also be described as a data packet/message with a compressed header, or it can also be described as a header compressed data packet, or it can also be described as a compressed packet, or it can be described as CH Messages, etc., are not limited here.
  • the context described in this application may also be described as a packet header compression context, or may also be described as a header compression context, or may also be described as context or context information, etc., which are not limited here.
  • the context index described in this application may also be described as a context identifier, or as an index or identifier, etc., which is not limited here.
  • the embodiment of the present application proposes a communication method, which can improve communication reliability.
  • the communication method and communication device provided by this application are introduced in detail below:
  • FIG. 4 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • the communication method includes the following steps S401-S402, the method execution body shown in Figure 4 may be the first device, or the method execution body shown in Figure 4 may also be a chip in the first device, etc. , without limitation here.
  • the first device will be used as an example for description below.
  • the first device sends a first data packet to the second device.
  • the first device sends the first data packet to the second device, and the first data packet is a complete header data packet associated with the first service, wherein the complete header data packet includes the context index and context.
  • the above-mentioned complete message header data packet can also be understood as an FH type message, or an FH message, etc., and there is no limitation here.
  • the service data transmitted based on the first radio bearer may be described as the first service.
  • one service corresponds to one CID.
  • the first service may be a unicast service, or may also be a multicast service (such as live broadcast service, public safety service, batch software update service, etc.), which is determined according to the actual application scenario, and is not limited here .
  • the first device when the first device needs to send data to the second device through the first radio bearer, the first device can first extract the packet features of the data to be sent, and perform context matching (or describe as combining the extracted packet features with existing/existing context to match).
  • the message features may include field information such as destination address, source address, Q-TAG, and LENGTH/TYPE. Understandably, if the existing context of the first device does not match the corresponding context, the first device may create/apply for a new CID, and store/save the new CID in association with the extracted message characteristics , further, the first device sends a first data packet to the second device, where the first data packet includes the CID and the context.
  • the context involved in the embodiment of the present application may be understood as information such as message features, and no limitation is set here.
  • the first device receives first feedback information for the first data packet from the second device.
  • the second device can obtain information such as CID and context included in the first data packet, and compare the CID and the corresponding The context is associatively stored/saved. Further, the second device sends feedback information for the first data packet (for convenience of description, hereinafter referred to as first feedback information) to the first device, where the first feedback information is used to instruct the second device to (successfully) establish a corresponding context. That is to say, for the second device, when the second device receives the FH message from the first device, for example, the FH message can be the first data packet, regardless of whether the second device exists in the FH message or not.
  • first feedback information for the first data packet
  • the FH message can be the first data packet, regardless of whether the second device exists in the FH message or not.
  • each feedback includes CID and other information, therefore, when the first device receives the first feedback information of the second device for the first data packet, the first device can determine according to the first feedback information that the second device has sent the The corresponding context is established, or it is described that the first device can determine that the second device has updated the corresponding context according to the first feedback information, or it can be described that the first device can determine that the second device has implemented the Synchronization of the context corresponding to the CID between the first devices.
  • the first device may send the data packet with an uncompressed header to the second device. That is to say, the first device may send a complete header data packet associated with the first service to the second device.
  • the first device sends a complete header data packet associated with the first service to the second device.
  • the first device may send the first data packet to the second device, or the first device may receive the After receiving the first feedback information of the first data packet from the second device, the first device sends (again or multiple times) a complete header data packet associated with the first service to the second device.
  • the first device may periodically send a complete header data packet associated with the first service to the second device. That is to say, the first device can periodically roll back, from sending a compressed header data packet (ie CH message) to sending a complete message header data packet (ie FH message), so as to trigger the second Devices perform context synchronization. For example, after the first device sends a complete header data packet to the second device and receives feedback information about the complete header data packet from the second device, it sends the second device every 1 second.
  • a compressed header data packet ie CH message
  • a complete message header data packet ie FH message
  • the device sends a complete header data packet once; for another example, the first device may send a complete header data packet to the second device, and after receiving the feedback information from the second device for the complete header data packet, the subsequent Each time it is determined that the first device sends the compressed header data packet to the second device n times, it sends the complete header data packet to the second device again.
  • the first device may also aperiodically send a complete header data packet associated with the first service to the second device, for example, the first device may send a complete header data packet to the second device, And after receiving the feedback information from the second device for the complete header data packet, first send the complete header data packet to the second device at an interval of ⁇ t1 seconds, followed by intervals of ⁇ t2 seconds, ⁇ t3 seconds, and ⁇ t4 seconds Wait and then send the complete header data packet to the second device, where the values of ⁇ t1, ⁇ t2, ⁇ t3 and ⁇ t4 can be completely different, or partly different, or, ⁇ t1, ⁇ t2 , ⁇ t3 and ⁇ t4 can satisfy a certain relationship, which is determined according to the actual application scenario, and is not limited here.
  • the first device may send the same complete header data packet to the second device n consecutive times, so as to trigger the second device to perform Context synchronization, where n is an integer greater than or equal to 1.
  • the following embodiments of the present application all take the first device periodically sending a complete header data packet associated with the first service to the second device as an example for schematic illustration.
  • the first device periodically sends the complete header data packet associated with the first service to the second device may be understood as: the first device determines the first packet corresponding to the compressed header data packet associated with the first service. Context index, when the first time interval is greater than the preset duration, the first device sends a complete header data packet associated with the first service to the second device; when the first time interval is less than or equal to the preset duration, the first The device sends the compressed header data packet to the second device.
  • the first time interval is the time interval between the first time stamp and the second time stamp
  • the first time stamp is the time stamp when the first device receives the first feedback information
  • the second time stamp is determined by the first device The timestamp when the first context was indexed.
  • the first device when the first time interval is greater than or equal to the preset duration, the first device sends a complete header data packet associated with the first service to the second device, and when the first time interval is less than the preset duration When , the first device sends the compressed header data packet to the second device, which is not limited here.
  • the first device when the first time interval is equal to the preset time length, the first device sends a compressed header data packet to the second device as an example for illustration.
  • the first device can set the context timeout time (that is, the preset duration), wherein when the first device sends the FH message and receives the feedback information (feedback), it reads the current system time and records it as the first a timestamp. Check the current time (that is, the second timestamp) each time the context index corresponding to the data to be sent is determined. If the time interval between the second timestamp and the first timestamp exceeds (that is, is greater than) the context timeout time , then (re)send the FH message to trigger the second device to update the context. Otherwise, send a CH message, that is, if the time interval between the second timestamp and the first timestamp does not exceed (that is, be less than or equal to) the context timeout time, then send a CH message.
  • the context timeout time that is, the preset duration
  • the first device can set a feedback information flag (feedbackFlag) for each context.
  • feedbackFlag feedback information flag
  • the feedbackFlag is false, it means that the corresponding context has not yet been established/has not been established in the second device. Therefore, the first The device needs to send a complete message header data packet (that is, an FH message) to the second device.
  • the feedbackFlag When the feedbackFlag is true, it means that the corresponding context has been established/has been established in the second device, so it is necessary to further determine the compression to be sent.
  • the time interval between the second time stamp corresponding to the header data packet and the first time stamp of the last received feedback information and judge the size of the time interval and the preset time length, if the time interval is greater than the preset time interval time, then set the feedbackFlag to false, and send the complete header data packet to the second device, if the time interval is less than or equal to the preset duration, then send the compressed header data packet to the second device.
  • the first device periodically sends the complete header data packet associated with the first service to the second device can also be understood as: when the first device sends the compressed packet associated with the first service to the second device When the number of sent header data packets is greater than the preset number, the first device sends the complete header data packets associated with the first service to the second device; when the sent number is less than or equal to the preset number, the first device sends the second device The second device sends the compressed header data packet associated with the first service. Understandably, it may also be that when the number of compressed header data packets associated with the first service sent by the first device to the second device is greater than or equal to the preset number, the first device sends the second device to the second device.
  • a complete header data packet associated with a service when the number sent is less than the preset number, the first device sends a compressed header data packet associated with the first service to the second device, which is not limited here.
  • this embodiment of the present application uses an example in which the first device sends compressed header data packets to the second device when the number of compressed header data packets sent is equal to the preset number for illustration. That is to say, the first device may set a corresponding compressed packet sending threshold (that is, a preset number), wherein, when the first device determines that the number of continuously sent CH messages exceeds (that is, is greater than) the compressed packet sending threshold value, the first device (re)sends the FH message to trigger the second device to update the context.
  • a corresponding compressed packet sending threshold that is, a preset number
  • the first device continues to send CH messages, that is, when the first device determines that the number of FH messages sent continuously does not exceed (that is, is less than or equal to) the threshold value for sending compressed packets, the first device sends CH messages to the second device. message.
  • the first device may set a feedback information flag (feedbackFlag) and a CH_cnt field for each context, where the CH_cnt field indicates the number of continuously sent CH messages.
  • feedbackFlag feedback information flag
  • CH_cnt field indicates the number of continuously sent CH messages.
  • the feedbackFlag false, it means that the corresponding context has not been established/has not been established in the second device, therefore, the first device needs to send a complete message header data packet (ie FH message) to the second device .
  • the feedbackFlag is true, it means that the corresponding context has been established/has been established in the second device, so it is necessary to further determine which compressed message to send is the compressed message header data packet (ie CH message) to be sent Header data (that is, read the value of the CH_cnt field).
  • the first device may send the compressed header data packet to the second device, and when the value of the CH_cnt field exceeds (That is, when it is greater than) the threshold value, the first device needs to set the feedbackFlag to false, and set the value of the CH_cnt field to 0, and send an FH type message (that is, a complete message header data packet) to the second device, and wait again Feedback from decompressor.
  • the threshold value that is, the preset number
  • context synchronization is actively triggered by the compression end (that is, the first device in this application), which can ensure the consistency of the context between the compression end and the decompression end (that is, the second device in this application), and avoid A business exception caused by an error in the end context.
  • the communication device provided by the present application will be described in detail below with reference to FIG. 5 to FIG. 6 .
  • FIG. 5 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • the communication apparatus shown in FIG. 5 may be used to perform some or all functions of the first device in the method embodiment described in FIG. 4 above.
  • the device may be the first device, or a device in the first device, or a device that can be matched with the first device.
  • the communication device may also be a system on a chip.
  • the communication device shown in FIG. 5 may include a transceiver unit 501 and a processing unit 502 .
  • the processing unit 502 is configured to perform data processing.
  • the transceiver unit 501 is integrated with a receiving unit and a sending unit.
  • the transceiver unit 501 may also be called a communication unit.
  • the transceiver unit 501 may also be split into a receiving unit and a sending unit.
  • the processing unit 502 below is the same as the transceiver unit 501 , and will not be described in detail below. in:
  • the transceiver unit 501 is configured to send a first data packet to the second device, the first data packet is a complete header data packet associated with the first service, and the complete header data
  • the packet includes a context index and a context;
  • the transceiving unit 501 is configured to receive first feedback information for the first data packet from the second device, and the first feedback information is used to indicate that the creation of the first data packet is completed Correspondence between the first context index in the data packet and the first context;
  • the transceiving unit 501 is configured to send a complete header data packet associated with the first service to the second device.
  • the transceiving unit 501 is further configured to periodically send a complete header data packet associated with the first service to the second device.
  • the device further includes: a processing unit 502, configured to determine a first context index corresponding to the compressed header data packet associated with the first service; When a time interval is greater than the preset time length, the complete header data packet associated with the first service is sent to the second device through the transceiver unit 501, and the first time interval is the first time stamp and the second time stamp.
  • the processing unit 502 is further configured to send the compressed packet header to the second device through the transceiver unit 501 when it is determined that the first time interval is less than or equal to the preset duration data pack.
  • the apparatus further includes: a processing unit 502, configured to determine that the number of compressed header data packets associated with the first service sent to the second device through the transceiver unit 501 is greater than When the number is preset, send a complete header data packet associated with the first service to the second device through the transceiver unit 501 .
  • a processing unit 502 configured to determine that the number of compressed header data packets associated with the first service sent to the second device through the transceiver unit 501 is greater than When the number is preset, send a complete header data packet associated with the first service to the second device through the transceiver unit 501 .
  • the processing unit 502 is further configured to, when it is determined that the sending quantity is less than or equal to the preset quantity, send the information associated with the first service to the second device through the transceiver unit 501 Compress header packets.
  • the transceiving unit 501 It is also used for: sending a complete header data packet associated with the first service to the second device.
  • FIG. 5 shows a schematic structural diagram of a communication device according to an embodiment of the present application.
  • the communication apparatus shown in FIG. 5 may be used to execute some or all functions of the second device in the method embodiment described in FIG. 4 above.
  • the device may be the second device, or a device in the second device, or a device that can be matched with the second device.
  • the communication device may also be a system on a chip.
  • the communication device shown in FIG. 5 may include a transceiver unit 501 and a processing unit 502 . in:
  • the transceiver unit 501 is configured to receive a first data packet from the first device, the first data packet is a complete packet header data packet associated with the first service, and the complete packet header The data packet includes a context index and a context; the transceiving unit 501 is configured to send first feedback information for the first data packet to the first device, and the first feedback information is used to indicate that the creation of the first A correspondence between the first context index and the first context in a data packet; the transceiving unit 501 is configured to receive a complete header data packet from the first device and associated with the first service.
  • the transceiving unit 501 is further configured to receive a complete header data packet associated with the first service periodically sent by the first device.
  • the The transceiving unit 501 is configured to: receive a complete header data packet from the first device and associated with the first service.
  • the apparatus further includes: a processing unit 502, configured to update a context index corresponding to the first service and a correspondence between contexts according to a complete header data packet associated with the first service.
  • a processing unit 502 configured to update a context index corresponding to the first service and a correspondence between contexts according to a complete header data packet associated with the first service.
  • FIG. 6 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • a communication device provided by an embodiment of the present application is used to realize the functions of the target access network device in FIG. 4 above.
  • the apparatus may be a target access network device or an apparatus for the target access network device.
  • the apparatus for the target access network device may be a chip system or a chip in the target access network device.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • the communication device is configured to realize the functions of the first terminal device (terminal device for short) in FIG. 4 above.
  • the device may be a terminal device or a device for a terminal device.
  • the apparatus for a terminal device may be a chip system or a chip in the terminal device.
  • the communication device includes at least one processor 620, configured to implement the data processing function of the target access network device or terminal device in the method provided by the embodiment of the present application.
  • the apparatus may also include a communication interface 610, configured to implement the transceiving operation of the target access network device or terminal device in the method provided by the embodiment of the present application.
  • the communication interface may be a transceiver, a circuit, a bus, a module or other types of communication interfaces for communicating with other devices through a transmission medium.
  • the communication interface 610 is used by the device in the device to communicate with other devices.
  • the processor 620 uses the communication interface 610 to send and receive data, and is used to implement the method described in FIG. 4 of the above method embodiment.
  • the apparatus may also include at least one memory 630 for storing program instructions and/or data.
  • the memory 630 is coupled to the processor 620 .
  • the coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • Processor 620 may cooperate with memory 630 .
  • Processor 620 may execute program instructions stored in memory 630 . At least one of the at least one memory may be included in the processor.
  • the processor 620 can read the software program in the memory 630, interpret and execute the instructions of the software program, and process the data of the software program.
  • the processor 620 performs baseband processing on the data to be sent, and then outputs the baseband signal to the radio frequency circuit (not shown in the figure), and the radio frequency circuit performs radio frequency processing on the baseband signal, and passes the radio frequency signal through the antenna in the form of electromagnetic waves Send out.
  • 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 620, and the processor 620 converts the baseband signal into data and processes the data .
  • the radio frequency circuit and antenna can be set independently from the processor 620 for baseband processing. layout.
  • a specific connection medium among the communication interface 610, the processor 620, and the memory 630 is not limited.
  • the memory 630, the processor 620, and the communication interface 610 are connected through the bus 640, and the bus is represented by a thick line in 6, and the connection mode between other components is only for schematic illustration, and Do not limit yourself.
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in 6, but it does not mean that there is only one bus or one type of bus.
  • the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or Execute the methods, operations and logic block diagrams disclosed in the embodiments of the present application.
  • a general purpose processor may be a microprocessor or any conventional processor or the like. The operations of the method disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
  • the embodiment of the present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instruction is run on a processor, the method flow of the above-mentioned method embodiment is realized.
  • the embodiment of the present application further provides a computer program product.
  • the computer program product is run on a processor, the method flow of the above method embodiment is implemented.

Abstract

The present application provides a communication method and a communication apparatus, the method comprising: a first device sends a first data packet to a second device, the first data packet being a complete header data packet associated with a first service, and the complete header data packet comprising a context ID (CID) and a context; the first device receives first feedback information for the first data packet from a second device, the first feedback information being used to instruct to create the correspondence between a first CID and a first context in the first data packet; and the first device sends a complete header data packet associated with the first service to the second device. In the present application, a compression end (that is, the first device) sends multiple times the complete header data packet to a decompression end (that is, the second device) so to trigger the decompression end to carry out context synchronization, which can prevent the problem of service abnormality caused by contextual errors of the decompression end, and helps to improve the reliability of communication.

Description

通信方法及通信装置Communication method and communication device 技术领域technical field
本申请涉及通信技术领域,尤其涉及一种通信方法及通信装置。The present application relates to the technical field of communication, and in particular, to a communication method and a communication device.
背景技术Background technique
在5G系统中,引入了5G局域网(local area network,LAN)业务,即支持以太网业务的传输。其中,以太网报文头中包括的字段大多是静态字段(即同一以太网业务流的所有报文的报文头中,内容都相同的字段),因此,为了节省传输开销,在第三代合作伙伴计划(the 3rd generation partnership project,3GPP)的R16版本(Release16)标准中,提出了以太网头压缩(ethernet header compress,EHC)的解决方案,即将以太网报文头中的静态字段,保存在一个上下文(context)中,每一个上下文对应一个上下文索引(context ID,CID),压缩端和解压端保存相同的上下文信息。因此,压缩端可以在传输以太网业务时,使用CID将以太网报文头替换掉,解压端根据CID从上下文中获取原始报文头进行数据恢复。但是,当前标准没有定义,压缩端和解压端的上下文一致性检测机制,即当出现解压端解压失败(如上下文丢失,上下文不一致等原因导致解压缩失败)时,无法反馈给压缩端,从而造成业务的持续异常。基于此,如何提高EHC传输的可靠性成为当前亟待解决的问题之一。In the 5G system, a 5G local area network (LAN) service is introduced, which supports the transmission of Ethernet services. Among them, the fields included in the Ethernet packet header are mostly static fields (that is, the fields with the same content in the packet headers of all packets of the same Ethernet service flow). Therefore, in order to save transmission overhead, in the third generation In the R16 version (Release16) standard of the partner program (the 3rd generation partnership project, 3GPP), a solution for Ethernet header compression (Ethernet header compress, EHC) is proposed, that is, the static fields in the Ethernet packet header are saved In a context (context), each context corresponds to a context index (context ID, CID), and the compression end and decompression end save the same context information. Therefore, the compression end can use the CID to replace the Ethernet packet header when transmitting Ethernet services, and the decompression end obtains the original packet header from the context according to the CID to restore data. However, the current standard does not define the context consistency detection mechanism between the compression end and the decompression end, that is, when the decompression end fails to decompress (such as context loss, context inconsistency and other reasons lead to decompression failure), it cannot be fed back to the compression end, resulting in business failures. persistent exception. Based on this, how to improve the reliability of EHC transmission has become one of the problems to be solved urgently.
发明内容Contents of the invention
本申请提供了一种通信方法及通信装置,提高了通信的可靠性。The present application provides a communication method and a communication device, which improve the reliability of communication.
第一方面,本申请提供了一种通信方法,该方法包括:第一设备向第二设备发送第一数据包,所述第一数据包为与第一业务关联的完整报文头数据包,所述完整报文头数据包包括上下文索引和上下文;所述第一设备接收来自所述第二设备针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包。In a first aspect, the present application provides a communication method, the method includes: a first device sends a first data packet to a second device, the first data packet is a complete header data packet associated with the first service, The complete header data packet includes a context index and a context; the first device receives first feedback information from the second device for the first data packet, and the first feedback information is used to indicate that the creation is completed Correspondence between the first context index in the first data packet and the first context; the first device sends a complete header data packet associated with the first service to the second device.
在本申请中,压缩端(即第一设备)通过多次(例如2次)向解压端(即第二设备)发送完整报文头数据包,以触发解压端进行上下文同步/更新,可以避免解压端上下文错误而造成的业务异常问题,有利于提高通信的可靠性。In this application, the compression end (i.e. the first device) sends the complete header data packet to the decompression end (i.e. the second device) multiple times (for example, 2 times) to trigger the decompression end to perform context synchronization/update, which can avoid The problem of business abnormality caused by the wrong context of the decompression terminal is beneficial to improve the reliability of communication.
在一种可能的实现中,所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包,包括:In a possible implementation, the first device sends a complete header data packet associated with the first service to the second device, including:
所述第一设备周期性地向所述第二设备发送与所述第一业务关联的完整报文头数据包。The first device periodically sends a complete header data packet associated with the first service to the second device.
在本申请中,第一设备通过周期性地向所述第二设备发送完整报文头数据包(即第一设备周期性的进行回退,由发送压缩报文头数据包回退到发送完整报文头数据包),可触发第二设备周期性地进行上下文同步/更新,更加有利于提高通信的可靠性。In this application, the first device periodically sends the complete header data packet to the second device (that is, the first device periodically rolls back, from sending the compressed header data packet to sending the complete header data packet). message header data packet), which can trigger the second device to periodically perform context synchronization/update, which is more conducive to improving the reliability of communication.
在一种可能的实现中,所述第一设备周期性地向所述第二设备发送与所述第一业务关联的完整报文头数据包,包括:In a possible implementation, the first device periodically sends a complete header data packet associated with the first service to the second device, including:
所述第一设备确定与所述第一业务关联的压缩报文头数据包对应的第一上下文索引;The first device determines a first context index corresponding to the compressed header data packet associated with the first service;
当第一时间间隔大于预设时长时,所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包,所述第一时间间隔为第一时间戳和第二时间戳之间的时间间隔;所 述第一时间戳为所述第一设备接收到所述第一反馈信息时的时间戳,所述第二时间戳为所述第一设备确定所述第一上下文索引时的时间戳。When the first time interval is greater than the preset duration, the first device sends a complete header data packet associated with the first service to the second device, and the first time interval is the first time stamp and The time interval between the second time stamps; the first time stamp is the time stamp when the first device receives the first feedback information, and the second time stamp is the time stamp when the first device determines the The timestamp when the first context was indexed.
在本申请中,通过设置上下文超时时间门限,以周期性地发送完整报文头数据包,操作简便,适用性强。In this application, by setting the context timeout time threshold, the complete message header data packet is sent periodically, which is easy to operate and has strong applicability.
在一种可能的实现中,所述方法还包括:In a possible implementation, the method also includes:
当所述第一时间间隔小于或者等于所述预设时长时,所述第一设备向所述第二设备发送所述压缩报文头数据包。When the first time interval is less than or equal to the preset time length, the first device sends the compressed header data packet to the second device.
在一种可能的实现中,所述第一设备周期性地向所述第二设备发送与所述第一业务关联的完整报文头数据包,包括:In a possible implementation, the first device periodically sends a complete header data packet associated with the first service to the second device, including:
当所述第一设备向所述第二设备发送的与所述第一业务关联的压缩报文头数据包的发送数量大于预设数量时,所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包。When the number of compressed header data packets associated with the first service sent by the first device to the second device is greater than a preset number, the first device sends the second device with the A complete header data packet associated with the first service.
在本申请中,通过设置发送次数门限,以周期性地发送完整报文头数据包,易于实现,适用性高。In this application, by setting the threshold of sending times, the complete message header data packet is sent periodically, which is easy to implement and has high applicability.
在一种可能的实现中,所述方法还包括:In a possible implementation, the method also includes:
当所述发送数量小于或者等于所述预设数量时,所述第一设备向所述第二设备发送与所述第一业务关联的压缩报文头数据包。When the sending number is less than or equal to the preset number, the first device sends a compressed header data packet associated with the first service to the second device.
在一种可能的实现中,在所述第一设备向第二设备发送第一数据包之后,所述第一设备接收来自第二设备针对所述第一数据包的第一反馈信息之前,所述方法还包括:In a possible implementation, after the first device sends the first data packet to the second device, before the first device receives the first feedback information for the first data packet from the second device, the The method also includes:
所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包。The first device sends a complete header data packet associated with the first service to the second device.
在本申请中,在第一设备向第二设备发送第一数据包之后,第一设备接收来自第二设备针对第一数据包的第一反馈信息之前,发送完整报文头数据包,不影响第二设备对第一业务的正常接收,有利于提高业务传输效率。In this application, after the first device sends the first data packet to the second device, before the first device receives the first feedback information for the first data packet from the second device, it sends a complete header data packet, which does not affect The normal reception of the first service by the second device is conducive to improving service transmission efficiency.
第二方面,本申请提供了一种通信方法,该方法包括:第二设备接收来自第一设备的第一数据包,所述第一数据包为与第一业务关联的完整报文头数据包,所述完整报文头数据包包括上下文索引和上下文;所述第二设备向所述第一设备发送针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;所述第二设备接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。In a second aspect, the present application provides a communication method, the method includes: the second device receives the first data packet from the first device, and the first data packet is a complete header data packet associated with the first service , the complete header data packet includes a context index and a context; the second device sends first feedback information for the first data packet to the first device, and the first feedback information is used to indicate the creation of Complete the correspondence between the first context index and the first context in the first data packet; the second device receives a complete header data packet from the first device and associated with the first service .
在一种可能的实现中,所述第二设备接收来自所述第一设备且与所述第一业务关联的完整报文头数据包,包括:In a possible implementation, the second device receives a complete header data packet from the first device and associated with the first service, including:
所述第二设备接收所述第一设备周期性发送的与所述第一业务关联的完整报文头数据包。The second device receives a complete header data packet associated with the first service periodically sent by the first device.
在一种可能的实现中,在所述第二设备接收来自第一设备的第一数据包之后,所述第二设备向所述第一设备发送针对所述第一数据包的第一反馈信息之前,所述方法还包括:In a possible implementation, after the second device receives the first data packet from the first device, the second device sends the first feedback information for the first data packet to the first device Previously, the method further included:
所述第二设备接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。The second device receives a complete header data packet from the first device and associated with the first service.
在一种可能的实现中,所述方法还包括:In a possible implementation, the method also includes:
所述第二设备根据与所述第一业务关联的完整报文头数据包,更新所述第一业务对应的上下文索引和上下文之间的对应关系。The second device updates the context index corresponding to the first service and the correspondence between contexts according to the complete header data packet associated with the first service.
第三方面,本申请提供了一种通信装置,所述通信装置为第一设备,该装置包括:收发单元,用于向第二设备发送第一数据包,所述第一数据包为与第一业务关联的完整报文头数据包,所述完整报文头数据包包括上下文索引和上下文;所述收发单元,用于接收来自所述 第二设备针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;所述收发单元,用于向所述第二设备发送与所述第一业务关联的完整报文头数据包。In a third aspect, the present application provides a communication device, the communication device is a first device, and the device includes: a transceiver unit, configured to send a first data packet to a second device, and the first data packet is related to the first device A complete message header data packet associated with a service, the complete message header data packet includes a context index and a context; the transceiver unit is configured to receive first feedback from the second device for the first data packet Information, the first feedback information is used to indicate that the corresponding relationship between the first context index in the first data packet and the first context has been created; the transceiving unit is configured to send the corresponding relationship to the second device A complete header data packet associated with the first service.
在一种可能的实现中,所述收发单元,用于周期性地向所述第二设备发送与所述第一业务关联的完整报文头数据包。In a possible implementation, the transceiving unit is configured to periodically send a complete header data packet associated with the first service to the second device.
在一种可能的实现中,所述装置还包括:In a possible implementation, the device also includes:
处理单元,用于确定与所述第一业务关联的压缩报文头数据包对应的第一上下文索引;A processing unit, configured to determine a first context index corresponding to the compressed header data packet associated with the first service;
所述处理单元,还用于当确定第一时间间隔大于预设时长时,通过所述收发单元向所述第二设备发送与所述第一业务关联的完整报文头数据包,所述第一时间间隔为第一时间戳和第二时间戳之间的时间间隔;所述第一时间戳为所述第一设备接收到所述第一反馈信息时的时间戳,所述第二时间戳为所述第一设备确定所述第一上下文索引时的时间戳。The processing unit is further configured to send a complete header data packet associated with the first service to the second device through the transceiver unit when it is determined that the first time interval is greater than a preset duration, and the second A time interval is the time interval between the first time stamp and the second time stamp; the first time stamp is the time stamp when the first device receives the first feedback information, and the second time stamp A timestamp when the first context index is determined for the first device.
在一种可能的实现中,所述处理单元,还用于当确定所述第一时间间隔小于或者等于所述预设时长时,通过所述收发单元向所述第二设备发送所述压缩报文头数据包。In a possible implementation, the processing unit is further configured to, when it is determined that the first time interval is less than or equal to the preset duration, send the compressed message to the second device through the transceiver unit header packet.
在一种可能的实现中,所述装置还包括:In a possible implementation, the device also includes:
处理单元,用于当确定通过所述收发单元向所述第二设备发送的与所述第一业务关联的压缩报文头数据包的发送数量大于预设数量时,通过所述收发单元向所述第二设备发送与所述第一业务关联的完整报文头数据包。A processing unit configured to, when it is determined that the number of compressed header data packets associated with the first service sent to the second device through the transceiver unit is greater than a preset number, send the message to the second device through the transceiver unit The second device sends a complete header data packet associated with the first service.
在一种可能的实现中,所述处理单元,还用于当确定所述发送数量小于或者等于所述预设数量时,通过所述收发单元向所述第二设备发送与所述第一业务关联的压缩报文头数据包。In a possible implementation, the processing unit is further configured to, when it is determined that the sending number is less than or equal to the preset number, send the first service to the second device through the transceiver unit Associated compressed header packets.
在一种可能的实现中,在所述第一设备向第二设备发送第一数据包之后,所述第一设备接收来自第二设备针对所述第一数据包的第一反馈信息之前,所述收发单元还用于:In a possible implementation, after the first device sends the first data packet to the second device, before the first device receives the first feedback information for the first data packet from the second device, the The transceiver unit is also used for:
向所述第二设备发送与所述第一业务关联的完整报文头数据包。sending a complete header data packet associated with the first service to the second device.
第四方面,本申请提供了一种通信装置,所述通信装置为第二设备,该装置包括:收发单元,用于接收来自第一设备的第一数据包,所述第一数据包为与第一业务关联的完整报文头数据包,所述完整报文头数据包包括上下文索引和上下文;所述收发单元,用于向所述第一设备发送针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;所述收发单元,用于接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。In a fourth aspect, the present application provides a communication device, the communication device is a second device, and the device includes: a transceiver unit, configured to receive a first data packet from the first device, and the first data packet is related to A complete header data packet associated with the first service, where the complete header data packet includes a context index and a context; the transceiver unit is configured to send a first message for the first data packet to the first device Feedback information, the first feedback information is used to indicate that the corresponding relationship between the first context index in the first data packet and the first context has been created; the transceiving unit is configured to receive information from the first device And a complete header data packet associated with the first service.
在一种可能的实现中,所述收发单元,用于接收所述第一设备周期性发送的与所述第一业务关联的完整报文头数据包。In a possible implementation, the transceiving unit is configured to receive a complete header data packet associated with the first service periodically sent by the first device.
在一种可能的实现中,在所述第二设备接收来自第一设备的第一数据包之后,所述第二设备向所述第一设备发送针对所述第一数据包的第一反馈信息之前,所述收发单元用于:In a possible implementation, after the second device receives the first data packet from the first device, the second device sends the first feedback information for the first data packet to the first device Previously, the transceiver unit was used to:
接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。Receive a complete header data packet from the first device and associated with the first service.
在一种可能的实现中,所述装置还包括:In a possible implementation, the device also includes:
处理单元,用于根据与所述第一业务关联的完整报文头数据包,更新所述第一业务对应的上下文索引和上下文之间的对应关系。A processing unit, configured to update the context index corresponding to the first service and the corresponding relationship between the contexts according to the complete header data packet associated with the first service.
第五方面,本申请提供了一种通信装置,该装置可以是第一设备,也可以是第一设备中的装置,或者是能够和第一设备匹配使用的装置。其中,该通信装置还可以为芯片系统。该通信装置可执行第一方面所述的方法。该通信装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元或模块。该单元或模块可以是软件和/或硬件。该通信装置执行的操作及有益效果可以参见上述第一方面 所述的方法以及有益效果,重复之处不再赘述。In a fifth aspect, the present application provides a communication device. The device may be the first device, or a device in the first device, or a device that can be matched with the first device. Wherein, the communication device may also be a system on a chip. The communication device can execute the method described in the first aspect. The functions of the communication device may be realized by hardware, or may be realized by executing corresponding software by hardware. The hardware or software includes one or more units or modules corresponding to the above functions. The unit or module can be software and/or hardware. For the operations and beneficial effects performed by the communication device, reference can be made to the method and beneficial effects described in the first aspect above, and repeated descriptions will not be repeated.
第六方面,本申请提供了一种通信装置,该装置可以是第二设备,也可以是第二设备中的装置,或者是能够和第二设备匹配使用的装置。其中,该通信装置还可以为芯片系统。该通信装置可执行第二方面所述的方法。该通信装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元或模块。该单元或模块可以是软件和/或硬件。该通信装置执行的操作及有益效果可以参见上述第二方面所述的方法以及有益效果,重复之处不再赘述。In a sixth aspect, the present application provides a communication device, which may be a second device, or a device in the second device, or a device that can be used in conjunction with the second device. Wherein, the communication device may also be a system on a chip. The communication device can execute the method described in the second aspect. The functions of the communication device may be realized by hardware, or may be realized by executing corresponding software by hardware. The hardware or software includes one or more units or modules corresponding to the above functions. The unit or module can be software and/or hardware. For operations and beneficial effects performed by the communication device, reference may be made to the method and beneficial effects described in the second aspect above, and repeated descriptions will not be repeated.
第七方面,本申请提供了一种通信装置,所述通信装置包括处理器和收发器,所述处理器和所述收发器用于执行至少一个存储器中存储的计算机程序或指令,以使得所述装置实现如第一方面~第二方面中任意一项的方法。In a seventh aspect, the present application provides a communication device, the communication device includes a processor and a transceiver, and the processor and the transceiver are used to execute at least one computer program or instruction stored in a memory, so that the The device implements the method according to any one of the first aspect to the second aspect.
第八方面,本申请提供了一种通信装置,通信装置包括处理器,收发器和存储器,处理器,收发器和存储器耦合;处理器和收发器用于实现如第一方面~第二方面中任意一项的方法。In an eighth aspect, the present application provides a communication device, the communication device includes a processor, a transceiver, and a memory, and the processor, the transceiver, and the memory are coupled; the processor and the transceiver are used to implement any of the first to second aspects. one method.
第九方面,本申请提供了一种计算机可读存储介质,存储介质中存储有计算机程序或指令,当计算机程序或指令被计算机执行时,实现如第一方面~第二方面中任意一项的方法。第十方面,本申请提供一种包括指令的计算机程序产品,所述计算机程序产品中包括计算机程序代码,当计算机程序代码在计算机上运行时,以实现第一方面~第二方面中任意一项的方法。In the ninth aspect, the present application provides a computer-readable storage medium, in which computer programs or instructions are stored, and when the computer programs or instructions are executed by the computer, any one of the first to second aspects can be realized. method. In a tenth aspect, the present application provides a computer program product including instructions, the computer program product includes computer program code, when the computer program code is run on a computer, to achieve any one of the first aspect to the second aspect Methods.
附图说明Description of drawings
图1a是一种5G网络架构的示意图;Figure 1a is a schematic diagram of a 5G network architecture;
图1b是下行数据在各层间传输的示意图;Figure 1b is a schematic diagram of downlink data transmission between layers;
图1c是一种CU-DU分离架构的示意图;Figure 1c is a schematic diagram of a CU-DU separation architecture;
图1d是另一种CU-DU分离架构的示意图;Figure 1d is a schematic diagram of another CU-DU separation architecture;
图1e是一种空口协议栈分布示意图;Figure 1e is a schematic diagram of the distribution of an air interface protocol stack;
图2是本申请实施例提供的EHC报文格式的结构示意图;Fig. 2 is a schematic structural diagram of the EHC message format provided by the embodiment of the present application;
图3是本申请实施例提供的EHC报文传输的流程示意图;Fig. 3 is a schematic flow chart of EHC message transmission provided by the embodiment of the present application;
图4是本申请实施例提供的通信方法的流程示意图;FIG. 4 is a schematic flowchart of a communication method provided in an embodiment of the present application;
图5是本申请实施例提供的一种通信装置的结构示意图;FIG. 5 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图6是本申请实施例提供的另一种通信装置的结构示意图。FIG. 6 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
在本申请的描述中,除非另有说明,“/”表示“或”的意思,例如,A/B可以表示A或B。本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。此外,“至少一个”是指一个或多个,“多个”是指两个或两个以上。“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In the description of the present application, unless otherwise specified, "/" means "or", for example, A/B may mean A or B. The "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone These three situations. In addition, "at least one" means one or more, and "plurality" means two or more. Words such as "first" and "second" do not limit the number and order of execution, and words such as "first" and "second" do not necessarily limit the difference.
本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In this application, words such as "exemplary" or "for example" are used to mean an example, illustration or description. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(global system of mobile communication,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、第五代(5th generation,5G)系统或新无线(new radio,NR)以及未来的通信系统等,在此不做限制。The technical solution of the embodiment of the present application can be applied to various communication systems, such as: global system of mobile communication (global system of mobile communication, GSM) system, code division multiple access (code division multiple access, CDMA) system, broadband code division multiple access (wideband code division multiple access, WCDMA) system, general packet radio service (general packet radio service, GPRS), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunications System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) Communication System, Fifth Generation (5G) System or new radio (new radio, NR) and future communication systems, etc., are not limited here.
为便于理解,本申请实施例5G系统为例,以下对5G系统中的与本申请相关网元进行详细介绍:For ease of understanding, the 5G system in the embodiment of this application is taken as an example, and the network elements related to this application in the 5G system are introduced in detail as follows:
请参见图1a,图1a是一种5G网络架构的示意图。如图1a所示,该网络架构可以包括终端设备部分、(无线)接入网((radio)access network,(R)AN)、核心网(core network,CN)和数据网络(data network,DN)。其中,(R)AN(后文描述为RAN)用于将终端设备接入到无线网络,CN用于对终端设备进行管理并提供与DN通信的网关。Please refer to FIG. 1a, which is a schematic diagram of a 5G network architecture. As shown in Figure 1a, the network architecture can include terminal equipment, (wireless) access network ((radio) access network, (R)AN), core network (core network, CN) and data network (data network, DN ). Among them, (R)AN (hereinafter referred to as RAN) is used to connect the terminal equipment to the wireless network, and CN is used to manage the terminal equipment and provide a gateway for communicating with the DN.
下面分别对图1a中所涉及的终端设备、RAN、CN、DN进行详细说明。The terminal equipment, RAN, CN, and DN involved in FIG. 1a will be described in detail below.
一、终端设备1. Terminal equipment
终端设备包括向用户提供语音和/或数据连通性的设备,例如可以包括具有无线连接功能的手持式设备、或连接到无线调制解调器的处理设备。该终端设备可以经无线接入网与核心网进行通信,该终端设备可以包括用户设备(user equipment,UE)、无线终端设备、移动终端设备、设备到设备通信(device-to-device,D2D)终端设备、车到一切(vehicle to everything,V2X)终端设备、机器到机器/机器类通信(machine-to-machine/machine-type communications,M2M/MTC)终端设备、物联网(internet of things,IoT)终端设备、订户单元、订户站,移动站、远程站、接入点(access point,AP)、远程终端、接入终端、用户终端、用户代理、或用户装备等。例如,可以包括移动电话(或称为“蜂窝”电话),具有移动终端设备的计算机,便携式、袖珍式、手持式、计算机内置的移动装置等。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、等设备;还可以包括受限设备,例如功耗较低的设备,或存储能力有限的设备,或计算能力有限的设备等。Terminal devices include devices that provide voice and/or data connectivity to a user, and may include, for example, handheld devices with wireless connectivity, or processing devices connected to a wireless modem. The terminal equipment can communicate with the core network via the wireless access network, and the terminal equipment can include user equipment (user equipment, UE), wireless terminal equipment, mobile terminal equipment, and device-to-device communication (device-to-device, D2D) Terminal equipment, vehicle to everything (V2X) terminal equipment, machine-to-machine/machine-type communications (M2M/MTC) terminal equipment, Internet of things (IoT) ) terminal equipment, subscriber unit, subscriber station, mobile station, remote station, access point (access point, AP), remote terminal, access terminal, user terminal, user agent, or user equipment, etc. For example, it may include mobile phones (or "cellular" phones), computers with mobile terminal equipment, portable, pocket, hand-held, computer built-in mobile devices, and the like. For example, personal communication service (PCS) telephone, cordless telephone, session initiation protocol (session initiation protocol, SIP) telephone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), and other devices; it can also include limited devices, such as devices with low power consumption, or devices with limited storage capabilities, or devices with limited computing capabilities.
二、RAN2. RAN
RAN中可以包括一个或多个RAN设备(或者说接入网设备),接入网设备与终端设备之间的接口可以为Uu接口(或称为空口)。当然,在未来通信中,这些接口的名称可以不变,或者也可以用其它名称代替,本申请对此不限定。The RAN may include one or more RAN devices (or access network devices), and the interface between the access network device and the terminal device may be a Uu interface (or called an air interface). Of course, in future communications, the names of these interfaces may remain unchanged, or may be replaced by other names, which is not limited in this application.
接入网设备即为将终端设备接入到无线网络的节点或设备,接入网设备例如包括但不限于:5G通信系统中的新一代基站(generation node B,gNB)、演进型节点B(evolved node B,eNB)、下一代演进型节点B(next generation eNB,ng-eNB)、无线回传设备、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站((home evolved nodeB,HeNB)或(home node B,HNB))、基带单元(baseBand unit,BBU)、传输接收点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等。An access network device is a node or device that connects a terminal device to a wireless network. For example, the access network device includes but is not limited to: a new generation base station (generation node B, gNB) and an evolved node B ( evolved node B, eNB), next generation evolved node B (next generation eNB, ng-eNB), wireless backhaul equipment, radio network controller (radio network controller, RNC), node B (node B, NB), base station Controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station ((home evolved nodeB, HeNB) or (home node B, HNB)), baseband unit (baseBand unit, BBU), Transmission receiving point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc.
(1)协议层结构(1) Protocol layer structure
接入网设备和终端设备之间的通信遵循一定的协议层结构,例如控制面协议层结构可以包括无线资源控制(radio resource control,RRC)层、分组数据汇聚层协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理层;用户面协议层结构可以包括PDCP层、RLC层、MAC层和物理层,在一种可能的实现中,PDCP层之上还可以包括业务数据适配(service data adaptation protocol,SDAP)层。The communication between the access network device and the terminal device follows a certain protocol layer structure. For example, the control plane protocol layer structure may include radio resource control (radio resource control, RRC) layer, packet data convergence protocol (packet data convergence protocol, PDCP ) layer, radio link control (radio link control, RLC) layer, media access control (media access control, MAC) layer and physical layer; the user plane protocol layer structure can include PDCP layer, RLC layer, MAC layer and physical layer , in a possible implementation, the PDCP layer may further include a service data adaptation protocol (service data adaptation protocol, SDAP) layer.
以接入网设备和终端设备之间的数据传输为例,数据传输需要经过用户面协议层,比如经过SDAP层、PDCP层、RLC层、MAC层、物理层,其中,SDAP层、PDCP层、RLC层、MAC层、物理层也可以统称为接入层。示例性地,接入网设备和终端设备之间通过建立至少一个数据无线承载(data radio bearer,DRB)来传输数据,每个DRB可以对应一组功能实体集合,比如包括一个PDCP层实体,该PDCP层实体对应的至少一个RLC层实体,至少一个RLC层实体对应的至少一个MAC层实体,至少一个MAC层实体对应的至少一个物理层实体。需要说明的是,接入网设备和终端设备之间还可以通过建立至少一个信令无线承载(signalling radio bearer,SRB)来传输信令,DRB和SRB可以统称为无线承载(radio bearer,RB)。Taking the data transmission between the access network device and the terminal device as an example, the data transmission needs to go through the user plane protocol layer, such as the SDAP layer, PDCP layer, RLC layer, MAC layer, and physical layer. Among them, the SDAP layer, PDCP layer, The RLC layer, the MAC layer, and the physical layer may also be collectively referred to as an access layer. Exemplarily, at least one data radio bearer (data radio bearer, DRB) is established between the access network device and the terminal device to transmit data, and each DRB may correspond to a set of functional entities, such as including a PDCP layer entity, the At least one RLC layer entity corresponding to the PDCP layer entity, at least one MAC layer entity corresponding to the at least one RLC layer entity, and at least one physical layer entity corresponding to the at least one MAC layer entity. It should be noted that at least one signaling radio bearer (Signalling radio bearer, SRB) can also be established between the access network device and the terminal device to transmit signaling, and the DRB and the SRB can be collectively called a radio bearer (radio bearer, RB). .
以下行数据传输为例,图1b是下行数据在各层间传输的示意图,图1b中向下的箭头表示数据发送,向上的箭头表示数据接收。SDAP层实体自上层取得数据后,可以根据数据的服务质量流标识(QoS flow indicator,QFI)将数据映射到相应DRB的PDCP层实体,PDCP层实体可以将数据传送到该PDCP层实体对应的至少一个RLC层实体,进而由至少一个RLC层实体传输到对应的MAC层实体,再由MAC层实体生成传输块,然后通过对应的物理层实体进行无线传输。数据在各个层中进行相对应的封装,某一层从该层的上层收到的数据视为该层的服务数据单元(service data unit,SDU),经过层封装后成为协议数据单元(protocol data unit,PDU),再传递给下一个层。例如PDCP层实体从上层接收到的数据称为PDCP SDU,PDCP层实体发送到下层的数据称为PDCP PDU;RLC层实体从上层接收到的数据称为RLC SDU,RLC层实体发送到下层的数据称为RLC PDU。其中,不同层之间可以通过相应的通道来传输数据,比如RLC层实体与MAC层实体之间可以通过逻辑信道(logical channel,LCH)来传输数据,MAC层实体与物理层实体之间可以通过传输通道(transport channel)来传输数据。Downlink data transmission is taken as an example. FIG. 1b is a schematic diagram of downlink data transmission between layers. The downward arrow in FIG. 1b indicates data transmission, and the upward arrow indicates data reception. After the SDAP layer entity obtains the data from the upper layer, it can map the data to the PDCP layer entity of the corresponding DRB according to the QoS flow indicator (QFI) of the data, and the PDCP layer entity can transmit the data to at least one corresponding to the PDCP layer entity. An RLC layer entity is further transmitted by at least one RLC layer entity to the corresponding MAC layer entity, and then the MAC layer entity generates a transmission block, and then performs wireless transmission through the corresponding physical layer entity. The data is encapsulated correspondingly in each layer. The data received by a certain layer from the upper layer of the layer is regarded as the service data unit (service data unit, SDU) of the layer, which becomes a protocol data unit (protocol data unit) after layer encapsulation. unit, PDU), and then passed to the next layer. For example, the data received by the PDCP layer entity from the upper layer is called PDCP SDU, and the data sent by the PDCP layer entity to the lower layer is called PDCP PDU; the data received by the RLC layer entity from the upper layer is called RLC SDU, and the data sent by the RLC layer entity to the lower layer It is called RLC PDU. Among them, data can be transmitted between different layers through corresponding channels, for example, data can be transmitted between RLC layer entities and MAC layer entities through a logical channel (logical channel, LCH), and between MAC layer entities and physical layer entities can be transmitted through Transport channel (transport channel) to transmit data.
示例性地,根据图1b还可以看出,终端设备还具有应用层和非接入层;其中,应用层可以用于向终端设备中所安装的应用程序提供服务,比如,终端设备接收到的下行数据可以由物理层依次传输到应用层,进而由应用层提供给应用程序;又比如,应用层可以获取应用程序产生的数据,并将数据依次传输到物理层,发送给其它通信装置。非接入层可以用于转发用户数据,比如将从应用层接收到的上行数据转发给SDAP层或者将从SDAP层接收到的下行数据转发给应用层。Exemplarily, according to FIG. 1b, it can also be seen that the terminal device also has an application layer and a non-access layer; wherein, the application layer can be used to provide services to applications installed in the terminal device, for example, the received Downlink data can be sequentially transmitted from the physical layer to the application layer, and then provided to the application program by the application layer; for another example, the application layer can obtain the data generated by the application program, and transmit the data to the physical layer in sequence, and send it to other communication devices. The non-access layer can be used to forward user data, such as forwarding uplink data received from the application layer to the SDAP layer or forwarding downlink data received from the SDAP layer to the application layer.
(2)CU和DU(2) CU and DU
本申请实施例中,接入网设备可以包括一个或多个集中式单元(centralized unit,CU)和一个或多个分布式单元(distributed unit,DU),多个DU可以由一个CU集中控制。作为示例,CU和DU之间的接口可以称为F1接口,其中,控制面(control panel,CP)接口可以为F1-C,用户面(user panel,UP)接口可以为F1-U。CU和DU可以根据无线网络的协议层划分:示例性地,请参见图1c,图1c是一种CU-DU分离架构的示意图。如图1c所示,PDCP层及以上协议层的功能设置在CU,PDCP层以下协议层(例如RLC层和MAC层等)的功能 设置在DU。In the embodiment of the present application, the access network device may include one or more centralized units (centralized unit, CU) and one or more distributed units (distributed unit, DU), and multiple DUs may be centrally controlled by one CU. As an example, the interface between the CU and the DU may be called an F1 interface, where a control plane (control panel, CP) interface may be F1-C, and a user plane (user panel, UP) interface may be F1-U. The CU and DU can be divided according to the protocol layer of the wireless network: for example, please refer to FIG. 1c, which is a schematic diagram of a CU-DU separation architecture. As shown in Figure 1c, the functions of the protocol layers above the PDCP layer are set in the CU, and the functions of the protocol layers below the PDCP layer (such as the RLC layer and MAC layer, etc.) are set in the DU.
可以理解的,上述对CU和DU的处理功能按照协议层的划分仅仅是一种举例,也可以按照其他的方式进行划分,比如RLC层以上协议层的功能设置在CU,RLC层及以下协议层的功能设置在DU,又比如可以将CU或者DU划分为具有更多协议层的功能,又比如CU或DU还可以划分为具有协议层的部分处理功能。在一种设计中,将RLC层的部分功能和RLC层以上的协议层的功能设置在CU,将RLC层的剩余功能和RLC层以下的协议层的功能设置在DU。在另一种设计中,还可以按照业务类型或者其他系统需求对CU或者DU的功能进行划分,例如按时延划分,将处理时间需要满足时延要求的功能设置在DU,不需要满足该时延要求的功能设置在CU。在另一种设计中,CU也可以具有核心网的一个或多个功能。示例性地,CU可以设置在网络侧方便集中管理;DU可以具有多个射频功能,也可以将射频功能拉远设置。本申请实施例对此并不进行限定。It can be understood that the above-mentioned division of the processing functions of CU and DU according to the protocol layer is only an example, and it can also be divided according to other methods. For example, the functions of the protocol layers above the RLC layer are set in the CU, the RLC layer and the following protocol layers. The functions of the DU are set in the DU, and for example, the CU or DU can be divided into functions with more protocol layers, and for example, the CU or DU can also be divided into partial processing functions with protocol layers. In one design, part of the functions of the RLC layer and the functions of the protocol layers above the RLC layer are set in the CU, and the rest of the functions of the RLC layer and the functions of the protocol layers below the RLC layer are set in the DU. In another design, the functions of the CU or DU can also be divided according to the business type or other system requirements, for example, according to the delay, and the functions whose processing time needs to meet the delay requirement are set in the DU, which does not need to meet the delay The required feature set is in the CU. In another design, the CU may also have one or more functions of the core network. For example, the CU can be set on the network side to facilitate centralized management; the DU can have multiple radio functions, or the radio functions can be remotely set. This embodiment of the present application does not limit it.
示例性地,CU的功能可以由一个实体来实现,或者也可以由不同的实体来实现。例如,请参见图1d,图1d是另一种CU-DU分离架构的示意图。如图1d所示,可以对CU的功能进行进一步切分,即将控制面和用户面分离并通过不同实体来实现,分别为控制面CU实体(即CU-CP实体)和用户面CU实体(即CU-UP实体),CU-CP实体和CU-UP实体可以与DU相耦合,共同完成RAN设备的功能。CU-CP实体与CU-UP实体之间的接口可以为E1接口,CU-CP实体与DU之间的接口可以为F1-C接口,CU-UP实体与DU之间的接口可以为F1-U接口。其中,一个DU和一个CU-UP可以连接到一个CU-CP。在同一个CU-CP控制下,一个DU可以连接到多个CU-UP,一个CU-UP可以连接到多个DU。Exemplarily, the function of the CU may be implemented by one entity, or may also be implemented by different entities. For example, please refer to FIG. 1d, which is a schematic diagram of another CU-DU separation architecture. As shown in Figure 1d, the functions of the CU can be further divided, that is, the control plane and the user plane are separated and realized by different entities, which are the control plane CU entity (ie, the CU-CP entity) and the user plane CU entity (ie, the CU-CP entity). CU-UP entity), the CU-CP entity and the CU-UP entity can be coupled with the DU to jointly complete the functions of the RAN device. The interface between CU-CP entity and CU-UP entity can be E1 interface, the interface between CU-CP entity and DU can be F1-C interface, and the interface between CU-UP entity and DU can be F1-U interface. Among them, one DU and one CU-UP can be connected to one CU-CP. Under the control of the same CU-CP, one DU can be connected to multiple CU-UPs, and one CU-UP can be connected to multiple DUs.
基于图1e,图1e为一种空口协议栈分布示意图。如图1e所示,针对用户面和控制面来说,空口协议栈都可以是RLC、MAC、PHY在DU,PDCP及以上协议层在CU。Based on Fig. 1e, Fig. 1e is a schematic diagram of distribution of an air interface protocol stack. As shown in Figure 1e, for both the user plane and the control plane, the air interface protocol stack can be RLC, MAC, and PHY in the DU, and PDCP and above protocol layers in the CU.
需要说明的是:在上述图1c至图1e所示意的架构中,CU产生的信令可以通过DU发送给终端设备,或者终端设备产生的信令可以通过DU发送给CU。DU可以不对该信令进行解析而直接通过协议层封装后透传给终端设备或CU。以下实施例中如果涉及这种信令在DU和终端设备之间的传输,此时,DU对信令的发送或接收包括这种场景。例如,RRC或PDCP层的信令最终会处理为物理层的数据发送给终端设备,或者,由接收到的物理层的数据转变而来。在这种架构下,该RRC或PDCP层的信令,即也可以认为是由DU发送的,或者,由DU和射频装置发送的。It should be noted that: in the architecture shown in FIG. 1c to FIG. 1e above, the signaling generated by the CU can be sent to the terminal device through the DU, or the signaling generated by the terminal device can be sent to the CU through the DU. The DU can directly encapsulate the signaling through the protocol layer and transparently transmit it to the terminal device or CU without parsing the signaling. In the following embodiments, if the signaling is transmitted between the DU and the terminal device, at this time, the sending or receiving of the signaling by the DU includes this scenario. For example, signaling at the RRC or PDCP layer will eventually be processed as data at the physical layer and sent to the terminal device, or converted from received data at the physical layer. Under this framework, the signaling at the RRC or PDCP layer can also be considered to be sent by the DU, or sent by the DU and the radio frequency device.
三、CN3. CN
CN中可以包括一个或多个CN设备,以5G通信系统为例,CN中可以包括接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、用户面功能(user plane function,UPF)网元、策略控制功能(policy control function,PCF)网元、统一数据管理(unified data management,UDM)网元、应用功能(application function,AF)网元等。The CN may include one or more CN devices. Taking the 5G communication system as an example, the CN may include access and mobility management function (access and mobility management function, AMF) network elements, session management function (session management function, SMF) ) network element, user plane function (UPF) network element, policy control function (PCF) network element, unified data management (unified data management, UDM) network element, application function (application function, AF) ) Network elements, etc.
AMF网元是由运营商网络提供的控制面网元,负责终端设备接入运营商网络的接入控制和移动性管理,例如包括移动状态管理,分配用户临时身份标识,认证和授权用户等功能。The AMF network element is a control plane network element provided by the operator network, responsible for access control and mobility management of terminal equipment accessing the operator network, such as including mobility status management, assigning temporary user IDs, authenticating and authorizing users, etc. .
SMF网元是由运营商网络提供的控制面网元,负责管理终端设备的PDU会话。PDU会话是一个用于传输PDU的通道,终端设备需要通过PDU会话与DN互相传送PDU。PDU会话由SMF网元负责建立、维护和删除等。SMF网元包括会话管理(如会话建立、修改和释放,包含UPF和RAN之间的隧道维护)、UPF网元的选择和控制、业务和会话连续性(service and session continuity,SSC)模式选择、漫游等会话相关的功能。The SMF network element is a control plane network element provided by the operator network, and is responsible for managing the PDU session of the terminal device. A PDU session is a channel for transmitting PDUs, and terminal equipment needs to transmit PDUs with DN through the PDU session. The PDU session is established, maintained and deleted by the SMF network element. SMF network elements include session management (such as session establishment, modification and release, including tunnel maintenance between UPF and RAN), selection and control of UPF network elements, service and session continuity (service and session continuity, SSC) mode selection, Session-related functions such as roaming.
UPF网元是由运营商提供的网关,是运营商网络与DN通信的网关。UPF网元包括数据包路由和传输、包检测、服务质量(quality of service,QoS)处理、合法监听、上行包检测、下行数据包存储等用户面相关的功能。The UPF network element is the gateway provided by the operator, and is the gateway for communication between the operator's network and the DN. UPF network elements include data packet routing and transmission, packet inspection, quality of service (QoS) processing, lawful interception, uplink packet detection, downlink data packet storage and other user-plane-related functions.
PCF网元是由运营商提供的控制面功能,用于向SMF网元提供PDU会话的策略。策略可以包括计费相关策略、QoS相关策略和授权相关策略等。The PCF network element is a control plane function provided by the operator, and is used to provide the policy of the PDU session to the SMF network element. Policies may include accounting-related policies, QoS-related policies, and authorization-related policies.
AF网元是提供各种业务服务的功能网元,能够通过其它网元与核心网交互,以及能够和策略管理框架交互进行策略管理。The AF network element is a functional network element that provides various business services, can interact with the core network through other network elements, and can interact with the policy management framework for policy management.
此外,尽管未示出,CN中还可以包括其它可能的网元,比如网络开放功能(network exposure function,NEF)、网元统一数据仓储(unified data repository,UDR)网元。In addition, although not shown, the CN may also include other possible network elements, such as network exposure function (network exposure function, NEF), network element unified data repository (unified data repository, UDR) network element.
需要说明的是,本申请实施例中接入网设备和核心网设备可以统称为网络设备。It should be noted that, in the embodiment of the present application, the access network device and the core network device may be collectively referred to as a network device.
四、DN4. DN
DN也可以称为分组数据网络(packet data network,PDN),是位于运营商网络之外的网络,运营商网络可以接入多个DN,DN中可部署有多种业务对应的应用服务器,为终端设备提供多种可能的服务。DN can also be called packet data network (packet data network, PDN), which is a network located outside the operator's network. The operator's network can access multiple DNs, and application servers corresponding to various services can be deployed in the DN. End devices offer a wide variety of possible services.
图1a中Npcf、Nudm、Naf、Namf、Nsmf、N1、N2、N3、N4,以及N6为接口序列号。这些接口序列号的含义可参见相关标准协议中定义的含义,在此不做限制。In Fig. 1a, Npcf, Nudm, Naf, Namf, Nsmf, N1, N2, N3, N4, and N6 are interface serial numbers. For the meanings of these interface serial numbers, refer to the meanings defined in relevant standard protocols, and there is no limitation here.
可以理解的是,图1a中是以5G通信系统为例进行示意的,本申请实施例中的方案还可以适用于其它可能的通信系统中,比如LTE通信系统或者未来的第六代(the 6th generation,6G)通信系统中。上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。It can be understood that the 5G communication system is taken as an example in Fig. 1a, and the solutions in the embodiments of the present application can also be applied to other possible communication systems, such as LTE communication systems or future sixth generation (the 6th generation) generation, 6G) communication system. The foregoing network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform). Optionally, the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
下面对本申请实施例涉及的相关技术特征进行解释说明。需要说明的是,这些解释是为了让本申请实施例更容易被理解,而不应该视为对本申请所要求的保护范围的限定。The relevant technical features involved in the embodiments of the present application are explained below. It should be noted that these explanations are for the purpose of making the embodiments of the present application easier to understand, and should not be regarded as limiting the scope of protection required by the present application.
1、以太网头压缩(ethernet header compress,EHC)1. Ethernet header compression (ethernet header compress, EHC)
其中,在5G系统中,引入了5G LAN业务,即支持以太网业务的传输。其中,以太网报文头中包括的字段大多是静态字段(即同一以太网业务流的所有报文(或描述为数据包)的报文头(或描述为数据包包头)中,内容都相同的字段),因此,为了节省传输开销,提出了EHC的解决方案,即将以太网报文头中的静态字段,保存在一个上下文(context)中,每一个上下文对应一个上下文索引(context ID,CID),压缩端和解压端保存相同的上下文信息。因此,压缩端可以在传输以太网业务时,使用CID将以太网报文头替换掉,解压端根据接收到的包头经过压缩的数据包中包括的CID,从上下文中获取原始报文头(或描述为完整报文头)进行数据恢复。通常而言,以太网报文头中可被压缩的字段如下表1所示:Among them, in the 5G system, the 5G LAN service is introduced, which supports the transmission of Ethernet services. Among them, the fields included in the Ethernet message header are mostly static fields (that is, in the message headers (or described as data packet headers) of all messages (or described as data packets) of the same Ethernet service flow, the contents are the same field), therefore, in order to save transmission overhead, the EHC solution is proposed, that is, the static fields in the Ethernet packet header are stored in a context (context), and each context corresponds to a context index (context ID, CID ), the compression side and the decompression side save the same context information. Therefore, the compression end can use the CID to replace the Ethernet packet header when transmitting Ethernet services, and the decompression end obtains the original packet header (or described as a complete message header) for data recovery. Generally speaking, the fields that can be compressed in the Ethernet packet header are shown in Table 1 below:
表1Table 1
Figure PCTCN2021112045-appb-000001
Figure PCTCN2021112045-appb-000001
Figure PCTCN2021112045-appb-000002
Figure PCTCN2021112045-appb-000002
2、EHC报文2. EHC message
其中,EHC通常是在PDCP层进行的,即EHC是定义在PDCP层的功能,其基于DRB粒度进行配置,通过空口由接入网设备下发给终端设备。其中,EHC报文有两种格式,分别为完整报文头(full header,FH)格式和压缩报文头(compressheader,CH)格式。其中,FH表示未被压缩的报文,CH表示已被压缩的报文。Among them, EHC is usually performed at the PDCP layer, that is, EHC is a function defined at the PDCP layer, which is configured based on the DRB granularity, and is delivered by the access network device to the terminal device through the air interface. Among them, the EHC message has two formats, namely a full header (full header, FH) format and a compressed message header (compress header, CH) format. Wherein, FH represents an uncompressed message, and CH represents a compressed message.
示例性地,请参见图2,图2是本申请实施例提供的EHC报文格式的结构示意图。如图2所示,完整报文头数据包(FH Packet)包括EHC头(EHC header),以太网头(ETHheader)和数据(data)部分。压缩报文头数据包(CHPacket)包括EHC报文头(EHCheader)和数据(data)部分。也就是说,使能了EHC功能的DRB,在数据发送时都要额外封装一层EHC报文头(EHC header)。示例性地,请一并参见图2,如图2中所示的EHC header由两个字段组成,其分别为类型(Type)字段和上下文索引(CID)字段。其中,Type字段用于指示该EHC报文为FH类型的报文(简称FH报文),或者为CH类型的报文(简称CH报文)。For example, please refer to FIG. 2 . FIG. 2 is a schematic structural diagram of an EHC message format provided by an embodiment of the present application. As shown in Figure 2, a complete message header data packet (FH Packet) includes an EHC header (EHC header), an Ethernet header (ETH header) and a data (data) part. The compressed header data packet (CHPacket) includes an EHC header (EHCheader) and a data (data) part. That is to say, the DRB with the EHC function enabled must encapsulate an additional layer of EHC header (EHC header) when sending data. For example, please refer to FIG. 2 together. The EHC header shown in FIG. 2 consists of two fields, which are respectively a type (Type) field and a context index (CID) field. Wherein, the Type field is used to indicate that the EHC message is a message of FH type (FH message for short), or a message of CH type (CH message for short).
为方便理解,请参见图3,图3是本申请实施例提供的EHC报文传输的流程示意图。如图3所示,压缩端在数据发送前,可以先提取待发送的以太网报文的报文特征(或描述为以太网报文特征),并进行上下文匹配(或描述为将提取出以太网报文特征与现有/已有上下文进行匹配)。其中,以太网报文特征可包括目的地址,源地址,Q-TAG和LENGTH/TYPE等字段中的信息。其中,现有/已有上下文可理解为压缩端中保存/已创建好/已建立的上下文。其中,若提取出的以太网报文特征与现有上下文中任一条上下文包括的各个字段的值均匹配上,则认为命中,否则认为没有命中。通常而言,如果命中/匹配到上下文,则获取其CID,如果没有命中上下文(或描述为没有匹配到上下文),则新申请一个CID,将报文特征保存下来(即创建上下文)。For easy understanding, please refer to FIG. 3 , which is a schematic flow chart of EHC message transmission provided by the embodiment of the present application. As shown in Figure 3, before the data is sent, the compressor can first extract the message characteristics (or be described as Ethernet message characteristics) of the Ethernet message to be sent, and perform context matching (or be described as extracting the Ethernet message feature). Network packet characteristics are matched against existing/existing contexts). Wherein, the characteristics of the Ethernet packet may include destination address, source address, information in fields such as Q-TAG and LENGTH/TYPE. Wherein, the existing/existing context can be understood as the context saved/created/established in the compression end. Wherein, if the extracted feature of the Ethernet packet matches the value of each field included in any context in the existing context, it is considered as a hit, otherwise it is considered as not a hit. Generally speaking, if the context is hit/matched, its CID will be obtained. If the context is not hit (or described as not matching the context), a new CID will be applied to save the message characteristics (that is, create the context).
其中,如果压缩端在进行上下文匹配时,没有命中/匹配到上下文,则压缩端可以向解压端发送FH类型的报文(即FH报文),其中,解压端如果收到FH类型的报文,则获取FH报文中的CID,以及提取以太网完整报文头(即以太网报文特征)等信息用于创建/保存上下文,并向压缩端发送反馈信息(feedback),其中,反馈信息中包括CID等信息,因此,当压缩端接收到来自解压端发送的反馈信息后,压缩端可以根据接收到的反馈信息中包括/携带的CID,确定解压端已经将该CID对应的上下文建立好,即解压端(成功)建立了该CID对应的上下文。后续压缩端就可以向解压端发送CH类型的报文了。Among them, if the compression end does not hit/match the context when performing context matching, the compression end can send an FH type message (ie FH message) to the decompression end, wherein, if the decompression end receives the FH type message , then obtain the CID in the FH message, and extract information such as the complete message header of the Ethernet (that is, the characteristics of the Ethernet message) for creating/saving the context, and send feedback information (feedback) to the compression end, wherein the feedback information Including CID and other information, therefore, when the compression end receives the feedback information sent from the decompression end, the compression end can determine that the decompression end has established the context corresponding to the CID according to the CID included/carried in the received feedback information , that is, the decompression end (successfully) establishes the context corresponding to the CID. Subsequently, the compression end can send a message of the CH type to the decompression end.
其中,如果压缩端在进行上下文匹配时,成功匹配到对应的上下文,则获取对应的CID,并向解压端发送CH类型的报文(即CH报文)。其中,CH报文中包括CID等信息。因此,解压端如果收到CH类型的报文,则可以提取CH报文中的CID,并根据提取出的CID查询对应上下文信息对CH报文进行解压。Wherein, if the compression end successfully matches the corresponding context when performing context matching, then obtains the corresponding CID, and sends a message of CH type (that is, a CH message) to the decompression end. Wherein, the CH message includes information such as CID. Therefore, if the decompression end receives a message of the CH type, it can extract the CID in the CH message, and query the corresponding context information according to the extracted CID to decompress the CH message.
可理解的,当前标准没有定义,压缩端和解压端的上下文一致性检测机制,即当出现解压端解压失败时,无法反馈给压缩端,从而造成业务的持续异常。通常而言,导致解压端解压失败的原因可包括上下文丢失,上下文不一致等原因,造成解压端上下文错误的原因可能是空口传输时出现误码,或是解压端主动复位上下文等操作,在此不做限制。基于此,如何提高EHC传输的可靠性成为当前亟待解决的问题之一。It is understandable that the current standard does not define the context consistency detection mechanism between the compression end and the decompression end, that is, when the decompression end fails to decompress, it cannot be fed back to the compression end, resulting in continuous abnormal business. Generally speaking, the reasons for decompression failure at the decompression end may include context loss, context inconsistency, etc. The reasons for context errors at the decompression end may be bit errors during air interface transmission, or operations such as active context reset at the decompression end. Do limit. Based on this, how to improve the reliability of EHC transmission has become one of the problems to be solved urgently.
其中,本申请实施例中的方法不仅限于对数据包的包头部分的压缩传输,也可以适用于对数据包的数据部分进行压缩传输,或者,也可以适用于对整个数据包(即包头部分和数据部分)的压缩传输等,在此不做限制。为方便描述,本申请实施例皆以对数据包的包头部分的压缩传输为例进行示意性说明。Wherein, the method in the embodiment of the present application is not limited to the compressed transmission of the header part of the data packet, but also can be applied to the compressed transmission of the data part of the data packet, or can also be applied to the entire data packet (that is, the header part and the Data part) compressed transmission, etc., are not limited here. For the convenience of description, the embodiments of the present application all take the compressed transmission of the header part of the data packet as an example for schematic illustration.
其中,本申请提供的方案可适用于上行传输或下行传输,其中,在下行传输中,压缩端可以为接入网设备,解压端可以为终端设备,在上行传输中,压缩端可以为终端设备,解压端为接入网设备。为方便描述,以下各个实施例中可将压缩端描述为第一设备,将解压端描述为第二设备。其中,本申请实施例中描述的解压端还可以描述为解压缩端等,在此不做限制。Among them, the solution provided by this application can be applied to uplink transmission or downlink transmission, wherein, in downlink transmission, the compression end can be an access network device, the decompression end can be a terminal device, and in uplink transmission, the compression end can be a terminal device , the decompression end is the access network device. For convenience of description, in the following embodiments, the compression end may be described as the first device, and the decompression end may be described as the second device. Wherein, the decompression end described in the embodiment of the present application may also be described as a decompression end, etc., which is not limited here.
其中,本申请实施例中描述的报文,也可以描述为数据包等,在此不做限制。本申请实施例中描述的完整报文头数据包,也可以描述为包头未经压缩的数据包/报文,或描述为FH报文等,在此不做限制。本申请实施例中描述的压缩报文头数据包,也可以描述为包头经过压缩的数据包/报文,或者也可以描述为头压缩数据包,或者也可以描述为压缩包,或者描述为CH报文等,在此不做限制。本申请中描述的上下文,也可以描述为包头压缩上下文,或者也可以描述为头压缩上下文,或者也可以描述为上下文或上下文信息等,在此不做限制。本申请中描述的上下文索引,也可以描述为上下文标识,或描述为索引或标识等,在此不做限制。Wherein, the message described in the embodiment of the present application may also be described as a data packet, etc., which is not limited here. The complete header data packet described in the embodiment of the present application may also be described as a data packet/message with an uncompressed header, or as an FH packet, etc., which is not limited here. The compressed header data packet described in the embodiment of this application can also be described as a data packet/message with a compressed header, or it can also be described as a header compressed data packet, or it can also be described as a compressed packet, or it can be described as CH Messages, etc., are not limited here. The context described in this application may also be described as a packet header compression context, or may also be described as a header compression context, or may also be described as context or context information, etc., which are not limited here. The context index described in this application may also be described as a context identifier, or as an index or identifier, etc., which is not limited here.
本申请实施例提出了一种通信方法,该方法可提高通信的可靠性。下面对本申请提供的通信方法及通信装置进行详细介绍:The embodiment of the present application proposes a communication method, which can improve communication reliability. The communication method and communication device provided by this application are introduced in detail below:
请参见图4,图4是本申请实施例提供的通信方法的流程示意图。如图4所示,该通信方法包括如下步骤S401~S402,图4所示的方法执行主体可以为第一设备,或者,图4所示的方法执行主体也可以为第一设备中的芯片等,在此不做限制。为方便描述,下面将以第一设备为例进行说明。Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of a communication method provided by an embodiment of the present application. As shown in Figure 4, the communication method includes the following steps S401-S402, the method execution body shown in Figure 4 may be the first device, or the method execution body shown in Figure 4 may also be a chip in the first device, etc. , without limitation here. For convenience of description, the first device will be used as an example for description below.
S401、第一设备向第二设备发送第一数据包。S401. The first device sends a first data packet to the second device.
在一些可行的实施方式中,第一设备向第二设备发送第一数据包,第一数据包为与第一业务关联的完整报文头数据包,其中,完整报文头数据包中包括上下文索引和上下文。其中,上述完整报文头数据包也可以理解为FH类型的报文,或FH报文等,在此不做限制。在本申请中,基于第一无线承载传输的业务数据可描述为第一业务。其中,一种业务对应一个CID。在本申请中,第一业务可以是单播业务,或者也可以是多播业务(例如直播业务、公共安全业务、批量软件更新业务等)等,具体根据实际应用场景确定,在此不做限制。In some feasible implementation manners, the first device sends the first data packet to the second device, and the first data packet is a complete header data packet associated with the first service, wherein the complete header data packet includes the context index and context. Wherein, the above-mentioned complete message header data packet can also be understood as an FH type message, or an FH message, etc., and there is no limitation here. In this application, the service data transmitted based on the first radio bearer may be described as the first service. Wherein, one service corresponds to one CID. In this application, the first service may be a unicast service, or may also be a multicast service (such as live broadcast service, public safety service, batch software update service, etc.), which is determined according to the actual application scenario, and is not limited here .
具体地,当第一设备需要通过第一无线承载向第二设备发送数据时,第一设备可首先提取待发送数据的报文特征,并进行上下文匹配(或描述为将提取出报文特征与现有/已有上下文进行匹配)。其中报文特征可包括目的地址,源地址,Q-TAG和LENGTH/TYPE等字段信息。可理解的,若第一设备的现有上下文中匹配不到对应的上下文,则第一设备可创建/申请一个新的CID,并将该新的CID与提取出的报文特征关联存储/保存,进一步地,第一设备向第二设备发送第一数据包,该第一数据包中包括CID和上下文。其中,本申请实施例中所涉及的上下文可理解为报文特征等信息,在此不做限制。Specifically, when the first device needs to send data to the second device through the first radio bearer, the first device can first extract the packet features of the data to be sent, and perform context matching (or describe as combining the extracted packet features with existing/existing context to match). The message features may include field information such as destination address, source address, Q-TAG, and LENGTH/TYPE. Understandably, if the existing context of the first device does not match the corresponding context, the first device may create/apply for a new CID, and store/save the new CID in association with the extracted message characteristics , further, the first device sends a first data packet to the second device, where the first data packet includes the CID and the context. Wherein, the context involved in the embodiment of the present application may be understood as information such as message features, and no limitation is set here.
S402、第一设备接收来自第二设备针对第一数据包的第一反馈信息。S402. The first device receives first feedback information for the first data packet from the second device.
在一些可行的实施方式中,当第二设备接收到来自第一设备的第一数据包后,第二设备可获取第一数据包中包括的CID和上下文等信息,并将该CID和对应的上下文进行关联存储 /保存。进一步,第二设备向第一设备发送针对第一数据包的反馈信息(为方便描述,以下简称第一反馈信息),该第一反馈信息用于指示第二设备(成功)建立对应的上下文。也就是说,针对第二设备而言,当第二设备接收到来自第一设备的FH报文后,例如FH报文可以是第一数据包,无论第二设备中是否存在该FH报文中包括的CID对应的上下文,第二设备都需要将最新解析出的内容保存到上下文中,并向第一设备反馈feedback。其中,每个feedback中包括CID等信息,因此,当第一设备接收到第二设备针对第一数据包的第一反馈信息后,第一设备可以根据第一反馈信息,确定第二设备已经将对应的上下文建立好,或者描述为第一设备可以根据第一反馈信息,确定第二设备已经更新完成对应的上下文,或者描述为第一设备可以根据第一反馈信息,确定第二设备已经实现了与第一设备间该CID对应的上下文的同步。In some feasible implementation manners, after the second device receives the first data packet from the first device, the second device can obtain information such as CID and context included in the first data packet, and compare the CID and the corresponding The context is associatively stored/saved. Further, the second device sends feedback information for the first data packet (for convenience of description, hereinafter referred to as first feedback information) to the first device, where the first feedback information is used to instruct the second device to (successfully) establish a corresponding context. That is to say, for the second device, when the second device receives the FH message from the first device, for example, the FH message can be the first data packet, regardless of whether the second device exists in the FH message or not. For the context corresponding to the included CID, the second device needs to save the latest parsed content into the context, and feed back feedback to the first device. Wherein, each feedback includes CID and other information, therefore, when the first device receives the first feedback information of the second device for the first data packet, the first device can determine according to the first feedback information that the second device has sent the The corresponding context is established, or it is described that the first device can determine that the second device has updated the corresponding context according to the first feedback information, or it can be described that the first device can determine that the second device has implemented the Synchronization of the context corresponding to the CID between the first devices.
可选的,为了不影响第一业务的正常传输,在第一设备向第二设备发送第一数据包之后,第一设备接收来自第二设备针对第一数据包的第一反馈信息之前,若第一设备需要发送数据包,则第一设备可向第二设备发送包头未经压缩的数据包。也就是说,第一设备可以向第二设备发送与第一业务关联的完整报文头数据包。Optionally, in order not to affect the normal transmission of the first service, after the first device sends the first data packet to the second device and before the first device receives the first feedback information for the first data packet from the second device, if If the first device needs to send a data packet, the first device may send the data packet with an uncompressed header to the second device. That is to say, the first device may send a complete header data packet associated with the first service to the second device.
S403、第一设备向第二设备发送与第一业务关联的完整报文头数据包。S403. The first device sends a complete header data packet associated with the first service to the second device.
在一些可行的实施方式中,为了避免第二设备与第一设备间上下文不一致/不同步的情况发生,第一设备可在向第二设备发送第一数据包后,或第一设备可在接收到第二设备针对第一数据包的第一反馈信息后,第一设备(再次或多次)向第二设备发送与第一业务关联的完整报文头数据包。In some feasible implementation manners, in order to avoid context inconsistency/out-of-synchronization between the second device and the first device, the first device may send the first data packet to the second device, or the first device may receive the After receiving the first feedback information of the first data packet from the second device, the first device sends (again or multiple times) a complete header data packet associated with the first service to the second device.
在一种可行的实施方式中,第一设备可以周期性地向第二设备发送与第一业务关联的完整报文头数据包。也就是说,第一设备可以周期性地进行回退,由发送压缩报文头数据包(即CH报文)回退到发送完整报文头数据包(即FH报文),以触发第二设备进行上下文同步,例如第一设备可在向第二设备发送完整报文头数据包,并接收到第二设备针对该完整报文头数据包的反馈信息后,后续每间隔1秒向第二设备发送一次完整报文头数据包;又例如,第一设备可在向第二设备发送完整报文头数据包,并接收到第二设备针对该完整报文头数据包的反馈信息后,后续每次确定第一设备向第二设备发送n次压缩报文头数据包后,再次向第二设备发送完整报文头数据包。In a feasible implementation manner, the first device may periodically send a complete header data packet associated with the first service to the second device. That is to say, the first device can periodically roll back, from sending a compressed header data packet (ie CH message) to sending a complete message header data packet (ie FH message), so as to trigger the second Devices perform context synchronization. For example, after the first device sends a complete header data packet to the second device and receives feedback information about the complete header data packet from the second device, it sends the second device every 1 second. The device sends a complete header data packet once; for another example, the first device may send a complete header data packet to the second device, and after receiving the feedback information from the second device for the complete header data packet, the subsequent Each time it is determined that the first device sends the compressed header data packet to the second device n times, it sends the complete header data packet to the second device again.
可选的,第一设备也可以非周期性地向第二设备发送与第一业务关联的完整报文头数据包,例如,第一设备可在向第二设备发送完整报文头数据包,并接收到第二设备针对该完整报文头数据包的反馈信息后,先间隔△t1秒向第二设备发送完整报文头数据包,后续依次间隔△t2秒,△t3秒,△t4秒等再向第二设备发送完整报文头数据包,其中,△t1,△t2,△t3和△t4等的取值可以完全不同,或者,也可以部分不相同,或者,△t1,△t2,△t3和△t4等的取值可以满足一定的关联关系,具体根据实际应用场景确定,在此不做限制。Optionally, the first device may also aperiodically send a complete header data packet associated with the first service to the second device, for example, the first device may send a complete header data packet to the second device, And after receiving the feedback information from the second device for the complete header data packet, first send the complete header data packet to the second device at an interval of △t1 seconds, followed by intervals of △t2 seconds, △t3 seconds, and △t4 seconds Wait and then send the complete header data packet to the second device, where the values of △t1, △t2, △t3 and △t4 can be completely different, or partly different, or, △t1, △t2 , △t3 and △t4 can satisfy a certain relationship, which is determined according to the actual application scenario, and is not limited here.
可选的,第一设备也可以在接收到来自第二设备针对第一数据包的第一反馈信息后,连续n次向第二设备发送同一完整报文头数据包,以触发第二设备进行上下文同步,其中n为大于或者等于1的整数。Optionally, after receiving the first feedback information from the second device for the first data packet, the first device may send the same complete header data packet to the second device n consecutive times, so as to trigger the second device to perform Context synchronization, where n is an integer greater than or equal to 1.
为方便理解,以下本申请实施例皆以第一设备周期性地向第二设备发送与第一业务关联的完整报文头数据包为例进行示意性说明。For the convenience of understanding, the following embodiments of the present application all take the first device periodically sending a complete header data packet associated with the first service to the second device as an example for schematic illustration.
具体地,第一设备周期性地向第二设备发送与第一业务关联的完整报文头数据包可理解为:第一设备确定与第一业务关联的压缩报文头数据包对应的第一上下文索引,当第一时间间隔大于预设时长时,第一设备向第二设备发送与第一业务关联的完整报文头数据包,当第 一时间间隔小于或者等于预设时长时,第一设备向第二设备发送压缩报文头数据包。其中,第一时间间隔为第一时间戳和第二时间戳之间的时间间隔,第一时间戳为第一设备接收到第一反馈信息时的时间戳,第二时间戳为第一设备确定第一上下文索引时的时间戳。可理解的,也可以是当第一时间间隔大于或者等于预设时长时,第一设备向第二设备发送与第一业务关联的完整报文头数据包,当第一时间间隔小于预设时长时,第一设备向第二设备发送压缩报文头数据包,在此不做限制。为方便描述,本申请实施例以第一时间间隔等于预设时长时,第一设备向第二设备发送压缩报文头数据包为例进行说明。也就是说,第一设备可以设置上下文超时时间(即预设时长),其中当第一设备发送FH报文,并收到反馈信息(feedback)后,读取当前系统时间,并记录下来作为第一时间戳。后续每次确定待发送数据对应的上下文索引时,都检查一下当前时间(即第二时间戳),如果第二时间戳与第一时间戳之间的时间间隔超过了(即大于)上下文超时时间,则(重新)发送FH报文,以触发第二设备进行上下文更新。否则,发送CH报文,也就是说,如果第二时间戳与第一时间戳之间的时间间隔未超过(即小于或者等于)上下文超时时间,则发送CH报文。Specifically, that the first device periodically sends the complete header data packet associated with the first service to the second device may be understood as: the first device determines the first packet corresponding to the compressed header data packet associated with the first service. Context index, when the first time interval is greater than the preset duration, the first device sends a complete header data packet associated with the first service to the second device; when the first time interval is less than or equal to the preset duration, the first The device sends the compressed header data packet to the second device. Wherein, the first time interval is the time interval between the first time stamp and the second time stamp, the first time stamp is the time stamp when the first device receives the first feedback information, and the second time stamp is determined by the first device The timestamp when the first context was indexed. Understandably, it may also be that when the first time interval is greater than or equal to the preset duration, the first device sends a complete header data packet associated with the first service to the second device, and when the first time interval is less than the preset duration When , the first device sends the compressed header data packet to the second device, which is not limited here. For the convenience of description, in this embodiment of the present application, when the first time interval is equal to the preset time length, the first device sends a compressed header data packet to the second device as an example for illustration. That is to say, the first device can set the context timeout time (that is, the preset duration), wherein when the first device sends the FH message and receives the feedback information (feedback), it reads the current system time and records it as the first a timestamp. Check the current time (that is, the second timestamp) each time the context index corresponding to the data to be sent is determined. If the time interval between the second timestamp and the first timestamp exceeds (that is, is greater than) the context timeout time , then (re)send the FH message to trigger the second device to update the context. Otherwise, send a CH message, that is, if the time interval between the second timestamp and the first timestamp does not exceed (that is, be less than or equal to) the context timeout time, then send a CH message.
具体实现时,第一设备可以为每一个上下文设置一个反馈信息标识(feedbackFlag),当该feedbackFlag为false时,表示第二设备中还未建立好/还未建立过对应的上下文,因此,第一设备需要向第二设备发送完整报文头数据包(即FH报文),当该feedbackFlag为true时,表示第二设备中建立好/已经建立过对应的上下文,因此需要进一步确定待发送的压缩报文头数据包对应的第二时间戳与最近一次接收到的反馈信息时的第一时间戳间的时间间隔,并判断该时间间隔与预设时长间的大小,若该时间间隔大于预设时长,则将feedbackFlag设置为false,并向第二设备发送完整报文头数据包,若该时间间隔小于或者等于预设时长,则向第二设备发送该压缩报文头数据包。During specific implementation, the first device can set a feedback information flag (feedbackFlag) for each context. When the feedbackFlag is false, it means that the corresponding context has not yet been established/has not been established in the second device. Therefore, the first The device needs to send a complete message header data packet (that is, an FH message) to the second device. When the feedbackFlag is true, it means that the corresponding context has been established/has been established in the second device, so it is necessary to further determine the compression to be sent The time interval between the second time stamp corresponding to the header data packet and the first time stamp of the last received feedback information, and judge the size of the time interval and the preset time length, if the time interval is greater than the preset time interval time, then set the feedbackFlag to false, and send the complete header data packet to the second device, if the time interval is less than or equal to the preset duration, then send the compressed header data packet to the second device.
可选的,第一设备周期性地向第二设备发送与第一业务关联的完整报文头数据包还可以理解为:当第一设备向第二设备发送的与第一业务关联的压缩报文头数据包的发送数量大于预设数量时,第一设备向第二设备发送与第一业务关联的完整报文头数据包;当发送数量小于或者等于预设数量时,第一设备向第二设备发送与第一业务关联的压缩报文头数据包。可理解的,也可以是当第一设备向第二设备发送的与第一业务关联的压缩报文头数据包的发送数量大于或者等于预设数量时,第一设备向第二设备发送与第一业务关联的完整报文头数据包;当发送数量小于预设数量时,第一设备向第二设备发送与第一业务关联的压缩报文头数据包,在此不做限制。为方便描述,本申请实施例以压缩报文头数据包的发送数量等于预设数量时,第一设备向第二设备发送压缩报文头数据包为例进行说明。也就是说,第一设备可以设置对应的压缩包发送门限值(即预设数量),其中,当第一设备确定连续发送的CH报文的个数超过(即大于)压缩包发送门限值时,第一设备(重新)发送FH报文,以触发第二设备进行上下文更新。否则第一设备继续发送CH报文,即当第一设备确定连续发送的FH报文的个数未超过(即小于或者等于)压缩包发送门限值时,第一设备向第二设备发送CH报文。Optionally, that the first device periodically sends the complete header data packet associated with the first service to the second device can also be understood as: when the first device sends the compressed packet associated with the first service to the second device When the number of sent header data packets is greater than the preset number, the first device sends the complete header data packets associated with the first service to the second device; when the sent number is less than or equal to the preset number, the first device sends the second device The second device sends the compressed header data packet associated with the first service. Understandably, it may also be that when the number of compressed header data packets associated with the first service sent by the first device to the second device is greater than or equal to the preset number, the first device sends the second device to the second device. A complete header data packet associated with a service; when the number sent is less than the preset number, the first device sends a compressed header data packet associated with the first service to the second device, which is not limited here. For the convenience of description, this embodiment of the present application uses an example in which the first device sends compressed header data packets to the second device when the number of compressed header data packets sent is equal to the preset number for illustration. That is to say, the first device may set a corresponding compressed packet sending threshold (that is, a preset number), wherein, when the first device determines that the number of continuously sent CH messages exceeds (that is, is greater than) the compressed packet sending threshold value, the first device (re)sends the FH message to trigger the second device to update the context. Otherwise, the first device continues to send CH messages, that is, when the first device determines that the number of FH messages sent continuously does not exceed (that is, is less than or equal to) the threshold value for sending compressed packets, the first device sends CH messages to the second device. message.
具体实现时,第一设备可以为每一个上下文设置一个反馈信息标识(feedbackFlag)和一个CH_cnt字段,该CH_cnt字段表示连续发送的CH报文的个数。其中,当该feedbackFlag为false时,表示第二设备中还未建立好/还未建立过对应的上下文,因此,第一设备需要向第二设备发送完整报文头数据包(即FH报文)。当该feedbackFlag为true时,表示第二设备中建立好/已经建立过对应的上下文,因此需要进一步确定待发送的压缩报文头数据包(即CH报文)为第几个发送的压缩报文头数据(即读取CH_cnt字段的值)。其中,当CH_cnt字 段的值不超过(即小于或者等于)门限值(即预设数量)时,第一设备可向第二设备发送该压缩报文头数据包,当CH_cnt字段的值超过(即大于)门限值时,第一设备需要将feedbackFlag设置为false,以及将CH_cnt字段的值设置为0,并向第二设备发送FH类型报文(即完整报文头数据包),重新等待解压端的反馈。During specific implementation, the first device may set a feedback information flag (feedbackFlag) and a CH_cnt field for each context, where the CH_cnt field indicates the number of continuously sent CH messages. Wherein, when the feedbackFlag is false, it means that the corresponding context has not been established/has not been established in the second device, therefore, the first device needs to send a complete message header data packet (ie FH message) to the second device . When the feedbackFlag is true, it means that the corresponding context has been established/has been established in the second device, so it is necessary to further determine which compressed message to send is the compressed message header data packet (ie CH message) to be sent Header data (that is, read the value of the CH_cnt field). Wherein, when the value of the CH_cnt field does not exceed (that is, less than or equal to) the threshold value (that is, the preset number), the first device may send the compressed header data packet to the second device, and when the value of the CH_cnt field exceeds ( That is, when it is greater than) the threshold value, the first device needs to set the feedbackFlag to false, and set the value of the CH_cnt field to 0, and send an FH type message (that is, a complete message header data packet) to the second device, and wait again Feedback from decompressor.
在本申请实施例中,通过压缩端(即本申请中的第一设备)主动触发上下文同步,可保证压缩端和解压端(即本申请中的第二设备)上下文的一致性,避免因解压端上下文错误而导致的业务异常。In the embodiment of this application, context synchronization is actively triggered by the compression end (that is, the first device in this application), which can ensure the consistency of the context between the compression end and the decompression end (that is, the second device in this application), and avoid A business exception caused by an error in the end context.
下面将结合图5~图6对本申请提供的通信装置进行详细说明。The communication device provided by the present application will be described in detail below with reference to FIG. 5 to FIG. 6 .
请参见图5,图5是本申请实施例提供的一种通信装置的结构示意图。图5所示的通信装置可以用于执行上述图4所描述的方法实施例中第一设备的部分或全部功能。该装置可以是第一设备,也可以是第一设备中的装置,或者是能够和第一设备匹配使用的装置。其中,该通信装置还可以为芯片系统。图5所示的通信装置可以包括收发单元501和处理单元502。其中,处理单元502,用于进行数据处理。收发单元501集成有接收单元和发送单元。收发单元501也可以称为通信单元。或者,也可将收发单元501拆分为接收单元和发送单元。下文的处理单元502和收发单元501同理,下文不再赘述。其中:Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a communication device provided by an embodiment of the present application. The communication apparatus shown in FIG. 5 may be used to perform some or all functions of the first device in the method embodiment described in FIG. 4 above. The device may be the first device, or a device in the first device, or a device that can be matched with the first device. Wherein, the communication device may also be a system on a chip. The communication device shown in FIG. 5 may include a transceiver unit 501 and a processing unit 502 . Wherein, the processing unit 502 is configured to perform data processing. The transceiver unit 501 is integrated with a receiving unit and a sending unit. The transceiver unit 501 may also be called a communication unit. Alternatively, the transceiver unit 501 may also be split into a receiving unit and a sending unit. The processing unit 502 below is the same as the transceiver unit 501 , and will not be described in detail below. in:
在一种实现方式中,收发单元501,用于向第二设备发送第一数据包,所述第一数据包为与第一业务关联的完整报文头数据包,所述完整报文头数据包包括上下文索引和上下文;所述收发单元501,用于接收来自所述第二设备针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;所述收发单元501,用于向所述第二设备发送与所述第一业务关联的完整报文头数据包。In one implementation manner, the transceiver unit 501 is configured to send a first data packet to the second device, the first data packet is a complete header data packet associated with the first service, and the complete header data The packet includes a context index and a context; the transceiving unit 501 is configured to receive first feedback information for the first data packet from the second device, and the first feedback information is used to indicate that the creation of the first data packet is completed Correspondence between the first context index in the data packet and the first context; the transceiving unit 501 is configured to send a complete header data packet associated with the first service to the second device.
可选的,所述收发单元501,还用于周期性地向所述第二设备发送与所述第一业务关联的完整报文头数据包。Optionally, the transceiving unit 501 is further configured to periodically send a complete header data packet associated with the first service to the second device.
可选的,所述装置还包括:处理单元502,用于确定与所述第一业务关联的压缩报文头数据包对应的第一上下文索引;所述处理单元502,还用于当确定第一时间间隔大于预设时长时,通过所述收发单元501向所述第二设备发送与所述第一业务关联的完整报文头数据包,所述第一时间间隔为第一时间戳和第二时间戳之间的时间间隔;所述第一时间戳为所述第一设备接收到所述第一反馈信息时的时间戳,所述第二时间戳为所述第一设备确定所述第一上下文索引时的时间戳。Optionally, the device further includes: a processing unit 502, configured to determine a first context index corresponding to the compressed header data packet associated with the first service; When a time interval is greater than the preset time length, the complete header data packet associated with the first service is sent to the second device through the transceiver unit 501, and the first time interval is the first time stamp and the second time stamp. The time interval between two time stamps; the first time stamp is the time stamp when the first device receives the first feedback information, and the second time stamp is the time stamp when the first device determines the first feedback information A timestamp when the context was indexed.
可选的,所述处理单元502,还用于当确定所述第一时间间隔小于或者等于所述预设时长时,通过所述收发单元501向所述第二设备发送所述压缩报文头数据包。Optionally, the processing unit 502 is further configured to send the compressed packet header to the second device through the transceiver unit 501 when it is determined that the first time interval is less than or equal to the preset duration data pack.
可选的,所述装置还包括:处理单元502,用于当确定通过所述收发单元501向所述第二设备发送的与所述第一业务关联的压缩报文头数据包的发送数量大于预设数量时,通过所述收发单元501向所述第二设备发送与所述第一业务关联的完整报文头数据包。Optionally, the apparatus further includes: a processing unit 502, configured to determine that the number of compressed header data packets associated with the first service sent to the second device through the transceiver unit 501 is greater than When the number is preset, send a complete header data packet associated with the first service to the second device through the transceiver unit 501 .
可选的,所述处理单元502,还用于当确定所述发送数量小于或者等于所述预设数量时,通过所述收发单元501向所述第二设备发送与所述第一业务关联的压缩报文头数据包。Optionally, the processing unit 502 is further configured to, when it is determined that the sending quantity is less than or equal to the preset quantity, send the information associated with the first service to the second device through the transceiver unit 501 Compress header packets.
可选的,在所述第一设备向第二设备发送第一数据包之后,所述第一设备接收来自第二设备针对所述第一数据包的第一反馈信息之前,所述收发单元501还用于:向所述第二设备发送与所述第一业务关联的完整报文头数据包。Optionally, after the first device sends the first data packet to the second device, before the first device receives first feedback information from the second device for the first data packet, the transceiving unit 501 It is also used for: sending a complete header data packet associated with the first service to the second device.
该通信装置的其他可能的实现方式,可参见上述图4对应的方法实施例中对接入网设备 功能的相关描述,在此不赘述。For other possible implementations of the communication device, refer to the relevant description of the functions of the access network device in the method embodiment corresponding to FIG. 4 above, which will not be repeated here.
请一并参见图5,图5示出了本申请实施例的一种通信装置的结构示意图。图5所示的通信装置可以用于执行上述图4所描述的方法实施例中第二设备的部分或全部功能。该装置可以是第二设备,也可以是第二设备中的装置,或者是能够和第二设备匹配使用的装置。其中,该通信装置还可以为芯片系统。图5所示的通信装置可以包括收发单元501和处理单元502。其中:Please refer to FIG. 5 together. FIG. 5 shows a schematic structural diagram of a communication device according to an embodiment of the present application. The communication apparatus shown in FIG. 5 may be used to execute some or all functions of the second device in the method embodiment described in FIG. 4 above. The device may be the second device, or a device in the second device, or a device that can be matched with the second device. Wherein, the communication device may also be a system on a chip. The communication device shown in FIG. 5 may include a transceiver unit 501 and a processing unit 502 . in:
在一种实现方式中,收发单元501,用于接收来自第一设备的第一数据包,所述第一数据包为与第一业务关联的完整报文头数据包,所述完整报文头数据包包括上下文索引和上下文;所述收发单元501,用于向所述第一设备发送针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;所述收发单元501,用于接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。In one implementation, the transceiver unit 501 is configured to receive a first data packet from the first device, the first data packet is a complete packet header data packet associated with the first service, and the complete packet header The data packet includes a context index and a context; the transceiving unit 501 is configured to send first feedback information for the first data packet to the first device, and the first feedback information is used to indicate that the creation of the first A correspondence between the first context index and the first context in a data packet; the transceiving unit 501 is configured to receive a complete header data packet from the first device and associated with the first service.
可选的,所述收发单元501,还用于接收所述第一设备周期性发送的与所述第一业务关联的完整报文头数据包。Optionally, the transceiving unit 501 is further configured to receive a complete header data packet associated with the first service periodically sent by the first device.
可选的,在所述第二设备接收来自第一设备的第一数据包之后,所述第二设备向所述第一设备发送针对所述第一数据包的第一反馈信息之前,所述收发单元501用于:接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。Optionally, after the second device receives the first data packet from the first device, before the second device sends the first feedback information for the first data packet to the first device, the The transceiving unit 501 is configured to: receive a complete header data packet from the first device and associated with the first service.
可选的,所述装置还包括:处理单元502,用于根据与所述第一业务关联的完整报文头数据包,更新所述第一业务对应的上下文索引和上下文之间的对应关系。Optionally, the apparatus further includes: a processing unit 502, configured to update a context index corresponding to the first service and a correspondence between contexts according to a complete header data packet associated with the first service.
该通信装置的其他可能的实现方式,可参见上述图4对应的方法实施例中对接入网设备功能的相关描述,在此不赘述。For other possible implementation manners of the communication apparatus, reference may be made to the relevant description of the functions of the access network device in the method embodiment corresponding to FIG. 4 above, which will not be repeated here.
请参见图6,图6是本申请实施例提供的另一种通信装置的结构示意图。如图6所示为本申请实施例提供的一种通信装置,用于实现上述图4中目标接入网设备的功能。该装置可以是目标接入网设备或用于目标接入网设备的装置。用于目标接入网设备的装置可以为目标接入网设备内的芯片系统或芯片。其中,芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of another communication device provided by an embodiment of the present application. As shown in FIG. 6 , a communication device provided by an embodiment of the present application is used to realize the functions of the target access network device in FIG. 4 above. The apparatus may be a target access network device or an apparatus for the target access network device. The apparatus for the target access network device may be a chip system or a chip in the target access network device. Wherein, the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
或者,通信装置,用于实现上述图4中第一终端设备(简称终端设备)的功能。该装置可以是终端设备或用于终端设备的装置。用于终端设备的装置可以为终端设备内的芯片系统或芯片。Alternatively, the communication device is configured to realize the functions of the first terminal device (terminal device for short) in FIG. 4 above. The device may be a terminal device or a device for a terminal device. The apparatus for a terminal device may be a chip system or a chip in the terminal device.
通信装置包括至少一个处理器620,用于实现本申请实施例提供的方法中目标接入网设备或终端设备的数据处理功能。装置还可以包括通信接口610,用于实现本申请实施例提供的方法中目标接入网设备或终端设备的收发操作。在本申请实施例中,通信接口可以是收发器、电路、总线、模块或其它类型的通信接口,用于通过传输介质和其它设备进行通信。例如,通信接口610用于装置中的装置可以和其它设备进行通信。处理器620利用通信接口610收发数据,并用于实现上述方法实施例图4所述的方法。The communication device includes at least one processor 620, configured to implement the data processing function of the target access network device or terminal device in the method provided by the embodiment of the present application. The apparatus may also include a communication interface 610, configured to implement the transceiving operation of the target access network device or terminal device in the method provided by the embodiment of the present application. In the embodiment of the present application, the communication interface may be a transceiver, a circuit, a bus, a module or other types of communication interfaces for communicating with other devices through a transmission medium. For example, the communication interface 610 is used by the device in the device to communicate with other devices. The processor 620 uses the communication interface 610 to send and receive data, and is used to implement the method described in FIG. 4 of the above method embodiment.
装置还可以包括至少一个存储器630,用于存储程序指令和/或数据。存储器630和处理器620耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器620可能和存储器630协同操作。处理器620可能执行存储器630中存储的程序指令。所述至少一个存储 器中的至少一个可以包括于处理器中。The apparatus may also include at least one memory 630 for storing program instructions and/or data. The memory 630 is coupled to the processor 620 . The coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. Processor 620 may cooperate with memory 630 . Processor 620 may execute program instructions stored in memory 630 . At least one of the at least one memory may be included in the processor.
当装置开机后,处理器620可以读取存储器630中的软件程序,解释并执行软件程序的指令,处理软件程序的数据。当需要通过无线发送数据时,处理器620对待发送的数据进行基带处理后,输出基带信号至射频电路(图未示意),射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到装置时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器620,处理器620将基带信号转换为数据并对该数据进行处理。When the device is turned on, the processor 620 can read the software program in the memory 630, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 620 performs baseband processing on the data to be sent, and then outputs the baseband signal to the radio frequency circuit (not shown in the figure), and the radio frequency circuit performs radio frequency processing on the baseband signal, and passes the radio frequency signal through the antenna in the form of electromagnetic waves Send out. When data is sent to the 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 620, and the processor 620 converts the baseband signal into data and processes the data .
在另一种实现中,所述的射频电路和天线可以独立于进行基带处理的处理器620而设置,例如在分布式场景中,射频电路和天线可以与独立于通信装置,呈拉远式的布置。In another implementation, the radio frequency circuit and antenna can be set independently from the processor 620 for baseband processing. layout.
本申请实施例中不限定上述通信接口610、处理器620以及存储器630之间的具体连接介质。本申请实施例在6中以存储器630、处理器620以及通信接口610之间通过总线640连接,总线在6中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。In this embodiment of the present application, a specific connection medium among the communication interface 610, the processor 620, and the memory 630 is not limited. In the embodiment of the present application, in 6, the memory 630, the processor 620, and the communication interface 610 are connected through the bus 640, and the bus is represented by a thick line in 6, and the connection mode between other components is only for schematic illustration, and Do not limit yourself. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in 6, but it does not mean that there is only one bus or one type of bus.
装置具体是用于接入网设备或终端设备或核心网设备的装置时,例如装置具体是芯片或者芯片系统时,通信接口610所输出或接收的可以是基带信号。装置具体是接入网设备或终端设备或核心网设备时,通信接口610所输出或接收的可以是射频信号。在本申请实施例中,处理器可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、操作及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的操作可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。When the device is specifically a device for access network equipment, terminal equipment, or core network equipment, for example, when the device is specifically a chip or a chip system, what the communication interface 610 outputs or receives may be a baseband signal. When the device is specifically an access network device, a terminal device, or a core network device, what the communication interface 610 outputs or receives may be a radio frequency signal. In this embodiment of the application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or Execute the methods, operations and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The operations of the method disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在处理器上运行时,上述方法实施例的方法流程得以实现。The embodiment of the present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instruction is run on a processor, the method flow of the above-mentioned method embodiment is realized.
本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在处理器上运行时,上述方法实施例的方法流程得以实现。The embodiment of the present application further provides a computer program product. When the computer program product is run on a processor, the method flow of the above method embodiment is implemented.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些操作可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because of this application, certain operations may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.
本申请提供的各实施例的描述可以相互参照,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。为描述的方便和简洁,例如关于本申请实施例提供的各装置、设备的功能以及执行的操作可以参照本申请方法实施例的相关描述,各方法实施例之间、各装置实施例之间也可以互相参考、结合或引用。The descriptions of the various embodiments provided in this application can refer to each other, and the descriptions of each embodiment have their own emphases. For the parts that are not described in detail in a certain embodiment, you can refer to the relevant descriptions of other embodiments. For the convenience and brevity of description, for example, regarding the functions and operations of the various devices and devices provided in the embodiments of the present application, reference may be made to the relevant descriptions of the method embodiments of the present application. May be cross-referenced, combined or cited.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit it; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present application. scope.

Claims (25)

  1. 一种通信方法,其特征在于,所述方法包括:A communication method, characterized in that the method comprises:
    第一设备向第二设备发送第一数据包,所述第一数据包为与第一业务关联的完整报文头数据包,所述完整报文头数据包包括上下文索引和上下文;The first device sends a first data packet to the second device, where the first data packet is a complete header data packet associated with the first service, and the complete header data packet includes a context index and a context;
    所述第一设备接收来自所述第二设备针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;The first device receives first feedback information for the first data packet from the second device, where the first feedback information is used to indicate that the first context index and the second context index in the first data packet are created and completed. Correspondence between contexts;
    所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包。The first device sends a complete header data packet associated with the first service to the second device.
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包,包括:The method according to claim 1, wherein the first device sends a complete header data packet associated with the first service to the second device, comprising:
    所述第一设备周期性地向所述第二设备发送与所述第一业务关联的完整报文头数据包。The first device periodically sends a complete header data packet associated with the first service to the second device.
  3. 根据权利要求2所述的方法,其特征在于,所述第一设备周期性地向所述第二设备发送与所述第一业务关联的完整报文头数据包,包括:The method according to claim 2, wherein the first device periodically sends a complete header data packet associated with the first service to the second device, including:
    所述第一设备确定与所述第一业务关联的压缩报文头数据包对应的第一上下文索引;The first device determines a first context index corresponding to the compressed header data packet associated with the first service;
    当第一时间间隔大于预设时长时,所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包,所述第一时间间隔为第一时间戳和第二时间戳之间的时间间隔;所述第一时间戳为所述第一设备接收到所述第一反馈信息时的时间戳,所述第二时间戳为所述第一设备确定所述第一上下文索引时的时间戳。When the first time interval is greater than the preset duration, the first device sends a complete header data packet associated with the first service to the second device, and the first time interval is the first time stamp and The time interval between the second time stamps; the first time stamp is the time stamp when the first device receives the first feedback information, and the second time stamp is the time stamp when the first device determines the The timestamp when the first context was indexed.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, further comprising:
    当所述第一时间间隔小于或者等于所述预设时长时,所述第一设备向所述第二设备发送所述压缩报文头数据包。When the first time interval is less than or equal to the preset time length, the first device sends the compressed header data packet to the second device.
  5. 根据权利要求2所述的方法,其特征在于,所述第一设备周期性地向所述第二设备发送与所述第一业务关联的完整报文头数据包,包括:The method according to claim 2, wherein the first device periodically sends a complete header data packet associated with the first service to the second device, including:
    当所述第一设备向所述第二设备发送的与所述第一业务关联的压缩报文头数据包的发送数量大于预设数量时,所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包。When the number of compressed header data packets associated with the first service sent by the first device to the second device is greater than a preset number, the first device sends the second device with the A complete header data packet associated with the first service.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method according to claim 5, wherein the method further comprises:
    当所述发送数量小于或者等于所述预设数量时,所述第一设备向所述第二设备发送与所述第一业务关联的压缩报文头数据包。When the sending number is less than or equal to the preset number, the first device sends a compressed header data packet associated with the first service to the second device.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,在所述第一设备向第二设备发送第一数据包之后,所述第一设备接收来自第二设备针对所述第一数据包的第一反馈信息之前,所述方法还包括:The method according to any one of claims 1-6, wherein after the first device sends the first data packet to the second device, the first device receives a Before the first feedback information of the data packet, the method also includes:
    所述第一设备向所述第二设备发送与所述第一业务关联的完整报文头数据包。The first device sends a complete header data packet associated with the first service to the second device.
  8. 一种通信方法,其特征在于,所述方法包括:A communication method, characterized in that the method comprises:
    第二设备接收来自第一设备的第一数据包,所述第一数据包为与第一业务关联的完整报 文头数据包,所述完整报文头数据包包括上下文索引和上下文;The second device receives the first data packet from the first device, the first data packet is a complete header data packet associated with the first service, and the complete header data packet includes a context index and a context;
    所述第二设备向所述第一设备发送针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;The second device sends first feedback information for the first data packet to the first device, where the first feedback information is used to indicate that the creation of the first context index and the second context index in the first data packet is completed. Correspondence between contexts;
    所述第二设备接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。The second device receives a complete header data packet from the first device and associated with the first service.
  9. 根据权利要求8所述的方法,其特征在于,所述第二设备接收来自所述第一设备且与所述第一业务关联的完整报文头数据包,包括:The method according to claim 8, wherein the second device receives a complete header data packet from the first device and associated with the first service, comprising:
    所述第二设备接收所述第一设备周期性发送的与所述第一业务关联的完整报文头数据包。The second device receives a complete header data packet associated with the first service periodically sent by the first device.
  10. 根据权利要求8或9所述的方法,其特征在于,在所述第二设备接收来自第一设备的第一数据包之后,所述第二设备向所述第一设备发送针对所述第一数据包的第一反馈信息之前,所述方法还包括:The method according to claim 8 or 9, characterized in that, after the second device receives the first data packet from the first device, the second device sends the first data packet to the first device Before the first feedback information of the data packet, the method also includes:
    所述第二设备接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。The second device receives a complete header data packet from the first device and associated with the first service.
  11. 根据权利要求8-10任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8-10, wherein the method further comprises:
    所述第二设备根据与所述第一业务关联的完整报文头数据包,更新所述第一业务对应的上下文索引和上下文之间的对应关系。The second device updates the context index corresponding to the first service and the correspondence between contexts according to the complete header data packet associated with the first service.
  12. 一种通信装置,其特征在于,所述装置为第一设备,所述装置包括:A communication device, characterized in that the device is a first device, and the device includes:
    收发单元,用于向第二设备发送第一数据包,所述第一数据包为与第一业务关联的完整报文头数据包,所述完整报文头数据包包括上下文索引和上下文;A transceiver unit, configured to send a first data packet to the second device, the first data packet is a complete header data packet associated with the first service, and the complete header data packet includes a context index and a context;
    所述收发单元,用于接收来自所述第二设备针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;The transceiving unit is configured to receive first feedback information from the second device for the first data packet, where the first feedback information is used to indicate that the first context index in the first data packet has been created and the correspondence between the first context;
    所述收发单元,用于向所述第二设备发送与所述第一业务关联的完整报文头数据包。The transceiving unit is configured to send a complete header data packet associated with the first service to the second device.
  13. 根据权利要求12所述的装置,其特征在于,The device according to claim 12, characterized in that,
    所述收发单元,用于周期性地向所述第二设备发送与所述第一业务关联的完整报文头数据包。The transceiver unit is configured to periodically send a complete header data packet associated with the first service to the second device.
  14. 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, further comprising:
    处理单元,用于确定与所述第一业务关联的压缩报文头数据包对应的第一上下文索引;A processing unit, configured to determine a first context index corresponding to the compressed header data packet associated with the first service;
    所述处理单元,还用于当确定第一时间间隔大于预设时长时,通过所述收发单元向所述第二设备发送与所述第一业务关联的完整报文头数据包,所述第一时间间隔为第一时间戳和第二时间戳之间的时间间隔;所述第一时间戳为所述第一设备接收到所述第一反馈信息时的时间戳,所述第二时间戳为所述第一设备确定所述第一上下文索引时的时间戳。The processing unit is further configured to send a complete header data packet associated with the first service to the second device through the transceiver unit when it is determined that the first time interval is greater than a preset duration, and the second A time interval is the time interval between the first time stamp and the second time stamp; the first time stamp is the time stamp when the first device receives the first feedback information, and the second time stamp A timestamp when the first context index is determined for the first device.
  15. 根据权利要求14所述的装置,其特征在于,The device according to claim 14, characterized in that,
    所述处理单元,还用于当确定所述第一时间间隔小于或者等于所述预设时长时,通过所述收发单元向所述第二设备发送所述压缩报文头数据包。The processing unit is further configured to, when it is determined that the first time interval is less than or equal to the preset duration, send the compressed header data packet to the second device through the transceiver unit.
  16. 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, further comprising:
    处理单元,用于当确定通过所述收发单元向所述第二设备发送的与所述第一业务关联的压缩报文头数据包的发送数量大于预设数量时,通过所述收发单元向所述第二设备发送与所述第一业务关联的完整报文头数据包。A processing unit configured to, when it is determined that the number of compressed header data packets associated with the first service sent to the second device through the transceiver unit is greater than a preset number, send the message to the second device through the transceiver unit The second device sends a complete header data packet associated with the first service.
  17. 根据权利要求16所述的装置,其特征在于,The device according to claim 16, characterized in that,
    所述处理单元,还用于当确定所述发送数量小于或者等于所述预设数量时,通过所述收发单元向所述第二设备发送与所述第一业务关联的压缩报文头数据包。The processing unit is further configured to, when it is determined that the sending number is less than or equal to the preset number, send the compressed header data packet associated with the first service to the second device through the transceiver unit .
  18. 根据权利要求12-17任一项所述的装置,其特征在于,在所述第一设备向第二设备发送第一数据包之后,所述第一设备接收来自第二设备针对所述第一数据包的第一反馈信息之前,所述收发单元还用于:The device according to any one of claims 12-17, wherein after the first device sends the first data packet to the second device, the first device receives a Before the first feedback information of the data packet, the transceiver unit is also used for:
    向所述第二设备发送与所述第一业务关联的完整报文头数据包。sending a complete header data packet associated with the first service to the second device.
  19. 一种通信装置,其特征在于,所述装置为第二设备,所述装置包括:A communication device, characterized in that the device is a second device, and the device includes:
    收发单元,用于接收来自第一设备的第一数据包,所述第一数据包为与第一业务关联的完整报文头数据包,所述完整报文头数据包包括上下文索引和上下文;A transceiver unit, configured to receive a first data packet from the first device, the first data packet is a complete header data packet associated with the first service, and the complete header data packet includes a context index and a context;
    所述收发单元,用于向所述第一设备发送针对所述第一数据包的第一反馈信息,所述第一反馈信息用于指示创建完成所述第一数据包中的第一上下文索引和第一上下文之间的对应关系;The transceiving unit is configured to send first feedback information for the first data packet to the first device, where the first feedback information is used to indicate that the creation of the first context index in the first data packet is completed and the correspondence between the first context;
    所述收发单元,用于接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。The transceiving unit is configured to receive a complete header data packet from the first device and associated with the first service.
  20. 根据权利要求19所述的装置,其特征在于,The device according to claim 19, characterized in that,
    所述收发单元,用于接收所述第一设备周期性发送的与所述第一业务关联的完整报文头数据包。The transceiving unit is configured to receive a complete header data packet associated with the first service periodically sent by the first device.
  21. 根据权利要求19或20所述的装置,其特征在于,在所述第二设备接收来自第一设备的第一数据包之后,所述第二设备向所述第一设备发送针对所述第一数据包的第一反馈信息之前,所述收发单元用于:The apparatus according to claim 19 or 20, characterized in that, after the second device receives the first data packet from the first device, the second device sends the first data packet to the first device Before the first feedback information of the data packet, the transceiver unit is used for:
    接收来自所述第一设备且与所述第一业务关联的完整报文头数据包。Receive a complete header data packet from the first device and associated with the first service.
  22. 根据权利要求19-21任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 19-21, wherein the device further comprises:
    处理单元,用于根据与所述第一业务关联的完整报文头数据包,更新所述第一业务对应的上下文索引和上下文之间的对应关系。A processing unit, configured to update the context index corresponding to the first service and the corresponding relationship between the contexts according to the complete header data packet associated with the first service.
  23. 一种通信装置,其特征在于,包括处理器和收发器,所述处理器和所述收发器用于执行至少一个存储器中存储的计算机程序或指令,以使得所述装置实现如权利要求1~7中任一项所述的方法,或实现如权利要求8~11中任一项所述的方法。A communication device, characterized in that it includes a processor and a transceiver, the processor and the transceiver are used to execute at least one computer program or instructions stored in a memory, so that the device implements claims 1-7 The method described in any one of claims 8-11, or implement the method described in any one of claims 8-11.
  24. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或指令被计算机执行时,实现如权利要求1~7中任一项所述的方法,或, 实现如权利要求8~11中任一项所述的方法。A computer-readable storage medium, characterized in that computer programs or instructions are stored in the storage medium, and when the computer programs or instructions are executed by a computer, the method described in any one of claims 1 to 7 is realized. method, or, implement the method as described in any one of claims 8-11.
  25. 一种计算机程序产品,其特征在于,所述计算机程序产品中包括计算机程序代码,当所述计算机程序代码在计算机上运行时,以实现权利要求1~7中任一项所述的方法,或以实现权利要求8~11中任一项所述的方法。A computer program product, characterized in that the computer program product includes computer program code, and when the computer program code is run on a computer, the method according to any one of claims 1 to 7 can be realized, or To realize the method described in any one of claims 8-11.
PCT/CN2021/112045 2021-08-11 2021-08-11 Communication method and communication apparatus WO2023015481A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202180007082.0A CN115968561A (en) 2021-08-11 2021-08-11 Communication method and communication device
PCT/CN2021/112045 WO2023015481A1 (en) 2021-08-11 2021-08-11 Communication method and communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/112045 WO2023015481A1 (en) 2021-08-11 2021-08-11 Communication method and communication apparatus

Publications (1)

Publication Number Publication Date
WO2023015481A1 true WO2023015481A1 (en) 2023-02-16

Family

ID=85200426

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/112045 WO2023015481A1 (en) 2021-08-11 2021-08-11 Communication method and communication apparatus

Country Status (2)

Country Link
CN (1) CN115968561A (en)
WO (1) WO2023015481A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780296A (en) * 2004-11-26 2006-05-31 华为技术有限公司 Method for restoring compressed and decompressed context rapidly
CN1866908A (en) * 2005-05-18 2006-11-22 中兴通讯股份有限公司 Method for compressing IP-UDP header in non-fragmentation special environment
WO2020155115A1 (en) * 2019-02-01 2020-08-06 Oppo广东移动通信有限公司 Header compression processing method and apparatus, communications equipment
CN112312587A (en) * 2019-07-30 2021-02-02 夏普株式会社 User equipment and execution method thereof, and base station and execution method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780296A (en) * 2004-11-26 2006-05-31 华为技术有限公司 Method for restoring compressed and decompressed context rapidly
CN1866908A (en) * 2005-05-18 2006-11-22 中兴通讯股份有限公司 Method for compressing IP-UDP header in non-fragmentation special environment
WO2020155115A1 (en) * 2019-02-01 2020-08-06 Oppo广东移动通信有限公司 Header compression processing method and apparatus, communications equipment
CN112312587A (en) * 2019-07-30 2021-02-02 夏普株式会社 User equipment and execution method thereof, and base station and execution method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
OPPO: "Discussion on EHC format", 3GPP DRAFT; R2-2002973, vol. RAN WG2, 10 April 2020 (2020-04-10), pages 1 - 3, XP051871116 *

Also Published As

Publication number Publication date
CN115968561A (en) 2023-04-14

Similar Documents

Publication Publication Date Title
US11039369B2 (en) Handling 5G QoS rules on QoS operation errors
US20200059991A1 (en) Preventing Inadvertent Idle Mode in Multi-Node Connectivity Environments
US20200351714A1 (en) Communication Method for Deterministic Transmission and Related Apparatus
US20140122710A1 (en) Method for sending heartbeat message and heartbeat proxy server
US11343846B2 (en) Status messaging protocol
CN110741667A (en) Radio access network node, radio terminal and method thereof
US20230180027A1 (en) User plane data processing method and base station
WO2018127018A1 (en) Multi-link communication method and device, and terminal
US20160316494A1 (en) Small data packet transmission method, base station, and user equipment
EP4016948A1 (en) Method and apparatus for compressing ethernet header, and method and apparatus for decompressing ethernet header
WO2019242714A1 (en) Data transmission method and apparatus
EP4171074A1 (en) Communication method and communication apparatus
TWI792415B (en) Multi-access pdu session state synchronization between ue and network
WO2014166053A1 (en) Method and terminal for communication
WO2020063318A1 (en) Communication method and device
WO2022036555A1 (en) Relay transmission method, relay terminal and remote terminal
CN107786508B (en) Protocol layer division indication method and device
EP4124107A1 (en) Communication method, access network device, terminal device and core network device
EP4175356A1 (en) Wireless communication method, terminal device, and network device
EP3457758B1 (en) Data transmission methods and devices
CN112399634A (en) Method of SSC for defining attention command to support 5G PDU session operation and mobile terminal
EP4358579A1 (en) Communication method and communication apparatus
WO2023015481A1 (en) Communication method and communication apparatus
WO2021087923A1 (en) Information transmission method and apparatus
TW202021329A (en) Communication method, terminal device, and network 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: 21953108

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE