WO2023030477A1 - Communication method and apparatus, and access network device and computer-readable storage medium - Google Patents

Communication method and apparatus, and access network device and computer-readable storage medium Download PDF

Info

Publication number
WO2023030477A1
WO2023030477A1 PCT/CN2022/116669 CN2022116669W WO2023030477A1 WO 2023030477 A1 WO2023030477 A1 WO 2023030477A1 CN 2022116669 W CN2022116669 W CN 2022116669W WO 2023030477 A1 WO2023030477 A1 WO 2023030477A1
Authority
WO
WIPO (PCT)
Prior art keywords
receiving terminal
data packet
type
network device
access network
Prior art date
Application number
PCT/CN2022/116669
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 展讯半导体(南京)有限公司
Publication of WO2023030477A1 publication Critical patent/WO2023030477A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Definitions

  • the present application relates to the technical field of communication, and in particular to a communication method and device, an access network device, and a computer-readable storage medium.
  • Existing network communication protocols can support cellular devices (such as 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) equipment/fourth generation (4G) mobile communication technology equipment/fifth generation (5G) mobile communication technology equipment/ The sixth generation (6G) mobile communication technology equipment, etc.) and non-cellular equipment (other network communication equipment other than cellular equipment) are connected to the network (including 5G core network and data network).
  • 3rd Generation Partnership Project 3rd Generation Partnership Project, 3GPP
  • 4G fourth generation
  • 5G mobile communication technology equipment/fifth generation
  • 6G sixth generation
  • non-cellular equipment other network communication equipment other than cellular equipment
  • the sending end device of each data packet needs to send the data to the core network device or data network, and the core network device or data network forwards the data to the receiving end device to complete the data transmission.
  • the communication path of the data packets of some devices may be too long, thereby affecting the communication efficiency.
  • the technical problem solved by this application is how to provide a communication method to avoid the communication path of data packets of some devices being too long, thereby improving communication efficiency and rationally utilizing communication resources.
  • the present application provides a communication method, the method is executed by an access network device, and the method includes: receiving a data packet to be sent to a receiving terminal; determining the type of the receiving terminal according to the attribute of the receiving terminal, wherein the receiving terminal The attributes of at least include the public network Internet Protocol IP address of the receiving terminal; forward the data packet to the receiving terminal according to the type of the receiving terminal.
  • the access network device includes a packet data convergence protocol PDCP layer and an adaptation layer
  • the adaptation layer is an upper layer protocol layer of the PDCP layer
  • determines the type of the receiving terminal according to the attributes of the receiving terminal including: the adaptation layer determines the type of the receiving terminal according to the attributes of the receiving terminal The attribute determines the type of receiving terminal.
  • the data packet comes from the sending terminal, and the method also includes: the PDCP layer in the access network device decodes the data packet; the adaptation layer in the access network device extracts the public address of the receiving terminal from the decoded data packet. Network IP address.
  • the data packet comes from the sending terminal, the type of the receiving terminal is a pure wireless LAN device or a pure wired device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, the access network device
  • the adaptation layer obtains the data part of the data packet, and determines the communication address of the local area network corresponding to the receiving terminal; based on the communication address of the local area network, the extracted data part is sent to the receiving terminal through the communication link of the local area network.
  • the data packet comes from the sending terminal, the type of the receiving terminal is a non-local LAN device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, through the core network device or the data network.
  • the data packet is sent to the receiving terminal.
  • the data packet comes from the sending terminal, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, the adaptation of the access network device
  • the distribution layer adds a bearer identifier to the data packet; the PDCP layer of the access network device encodes the data packet with the bearer identifier added; and sends the encoded data packet to the receiving terminal through the communication link of the LAN.
  • the data packet comes from the sending terminal, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: service data adaptation protocol SDAP in the access network device
  • the layer adds a bearer identifier to the data packet; the PDCP layer in the access network device encodes the data packet with the bearer identifier added; and sends the encoded data packet to the receiving terminal through the communication link of the LAN.
  • the data packet comes from a core network or a data network
  • the method further includes: adding a bearer identifier to the data packet; the adaptation layer of the access network device obtains the public network IP address of the receiving terminal from the data packet.
  • the data packet comes from the core network or data network
  • the type of the receiving terminal is a pure wireless LAN device or a pure wired device
  • the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, receiving
  • the adaptation layer of the network access device obtains the data part of the data packet, and determines the communication address of the LAN corresponding to the receiving terminal; based on the communication address of the LAN, the extracted data part is sent to the receiving terminal through the communication link of the LAN.
  • the data packet comes from the core network or data network, and the type of the receiving terminal is a non-local LAN device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, the forwarding adds a bearer identifier data packets to the receiving terminal.
  • the data packet comes from the core network or data network
  • the type of the receiving terminal is a cellular-non-cellular aggregation device
  • the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, the access network
  • the PDCP layer of the device encodes the data packet with the bearer identifier added; the encoded data packet is sent to the receiving terminal through the communication link of the LAN.
  • the communication address of the LAN includes one or more of a media access control MAC address, a local IP address, and a port number.
  • the type of the receiving terminal includes at least one of a non-local area network device, a pure wireless local area network device, a pure wired device, and a cellular-non-cellular aggregation device.
  • determining the type of the receiving terminal according to the attributes of the receiving terminal includes: determining whether the receiving terminal is a non-local area network device according to the public network IP address in the attributes of the receiving terminal; if so, determining that the type of the receiving terminal is a non-local area network equipment; if not, determine whether the type of the receiving terminal is one of pure wireless LAN equipment, pure wired equipment, and cellular-non-cellular aggregation equipment according to other information in the attributes of the receiving terminal; wherein, other information in the attributes of the receiving terminal
  • the information includes one or more of the MAC address, the device model, and the information of the intermediate device that the receiving terminal passes through when connecting to the access network device.
  • determining whether the receiving terminal is a non-local LAN device according to the public network IP address in the attributes of the receiving terminal includes: obtaining at least one public network IP address, at least one public network IP address is connected through a wireless local area network or a wired network. If the public network IP address of the receiving terminal does not belong to at least one public network IP address, it is determined that the receiving terminal is a non-local LAN device, otherwise it is determined that the receiving terminal is not a non-local LAN device.
  • the present application provides a communication device, the communication device is set in the access network equipment or is communicably connected with the access network equipment, the communication device includes: a data packet receiving module, used to receive the data packet to be sent to the receiving terminal Data packet; device type determining module, used to determine the type of receiving terminal according to the attribute of receiving terminal, wherein, the attribute of receiving terminal includes at least the public network internet protocol IP address of receiving terminal; data packet forwarding module, used for according to receiving terminal Type forwards the packet to the receiving terminal.
  • a data packet receiving module used to receive the data packet to be sent to the receiving terminal Data packet
  • device type determining module used to determine the type of receiving terminal according to the attribute of receiving terminal, wherein, the attribute of receiving terminal includes at least the public network internet protocol IP address of receiving terminal
  • data packet forwarding module used for according to receiving terminal Type forwards the packet to the receiving terminal.
  • the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, any method provided in the first aspect is implemented.
  • the present application provides an access network device, including the communication device provided in the second aspect, or including a memory and a processor, the memory stores a computer program that can run on the processor, and the processor runs the computer When executing a program, execute any one of the methods provided in the first aspect.
  • the present application provides a computer program product, on which a computer program is stored, and when the computer program is run by a processor, any one of the methods provided in the first aspect is implemented.
  • the access network device after receiving the data packet, the access network device does not directly forward it to the data network or the core network, but first determines the type of the receiving terminal of the data packet, and according to the type Forward the packet to the receiving terminal. Therefore, it is possible to adapt to a communication system where multiple types of terminals coexist, and for some types of receiving terminals, a communication path with a shorter path can be selected, so as to improve communication efficiency and rationally utilize communication resources.
  • an adaptation layer may be added on the upper layer of the PDCP of the existing access network equipment to perform the step of determining the type of the receiving terminal of the data packet. Further, the adaptation layer can be combined with the existing SDAP layer (or a protocol layer that implements similar functions with the SDAP layer), or the adaptation layer can be set below the SDAP layer.
  • the access network device may perform the operation of determining the type of the receiving terminal for both the data packets from the sending terminal and the data packets from the core network or data network.
  • access network devices process data packets differently.
  • FIG. 1 is a schematic diagram of a 3GPP communication scenario in the prior art
  • FIG. 2 is a schematic diagram of a 5G user plane protocol stack in the prior art
  • FIG. 3 is a schematic diagram of processing and transmission of each data packet by an eRG in the prior art
  • FIG. 4 is a schematic diagram of an LWA co-location scenario in the prior art
  • FIG. 5 is a schematic diagram of an LWA non-colocation scenario in the prior art
  • FIG. 6 is a schematic flowchart of a communication method according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a protocol stack structure of an access network device according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of another protocol stack structure of an access network device according to an embodiment of the present application.
  • FIG. 9 is an application scenario diagram of an access network implementing a communication method according to an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a specific embodiment of S602 in FIG. 6;
  • FIG. 11 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an access network device according to an embodiment of the present application.
  • Figure 1 is a schematic diagram of a 3GPP communication scenario.
  • 3GPP devices such as UE1 and UE3 in Figure 1
  • non-3GPP devices such as UE2 and UE3 in Figure 1
  • 3GPP equipment can be connected to the evolved home gateway (Evolved Residential Gateway, eRG) through the Premises Radio Access Station (PRAS), and then connected to the fifth generation mobile communication technology (5th Generation Mobile Communication Technology , 5G) core (core) network, 5G core network is also called 5GC, and non-3GPP devices can be connected to eRG through wired connection (that is, connection through network cable) or wireless local area network (Wireless Local Area Network, WLAN).
  • 5G core network is also called 5GC
  • non-3GPP devices can be connected to eRG through wired connection (that is, connection through network cable) or wireless local area network (Wireless Local Area Network, WLAN).
  • UE3 not only supports connecting to eRG through PRAS, but also supports connecting to eRG through wired connection or WLAN, so UE3 can be regarded as 3GPP equipment or non-3GPP equipment.
  • the method provided in this application can be applied in this scenario.
  • Terminal The terminal may also be called user equipment (User Equipment, UE) or terminal equipment.
  • a terminal is a device with a function of sending and receiving network data, which may be a terminal device, a mobile station (mobile station, MS), a mobile terminal (mobile terminal, MT), an access terminal device, a vehicle terminal device, Industrial control terminal equipment, terminal unit, terminal station, mobile station, remote station, remote terminal equipment, mobile equipment, wireless communication equipment, terminal agent or terminal device, etc. Terminals can be fixed or mobile.
  • the terminal can support wired communication, that is, communicate through network cables, and the terminal can also support at least one wireless communication technology, such as long-term evolution technology (Long Term Evolution, LTE), new air interface (new radio, NR), etc. .
  • LTE long-term evolution technology
  • NR new air interface
  • the terminal may specifically be a mobile phone (mobile phone), a tablet computer (pad), a desktop computer, a notebook computer, an all-in-one computer, a vehicle terminal, a virtual reality (virtual reality, VR) terminal device, an augmented reality (augmented reality, AR ) terminal equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, Wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocol (SIP) phones , wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication function, computing device or other processing device connected to a wireless modem, wearable device, future A terminal device in a mobile communication network or a terminal device in a future evolved public mobile land network (public land mobile network, PLMN), etc.
  • the terminal may also be a device capable of transmitting and receiving, such
  • the terminal used to receive the data packet is called the receiving terminal (also called the receiving terminal), and the receiving terminal in the embodiment of the present application may be the 3GPP device in FIG. 1 or a non-3GPP device.
  • a terminal used to send a data packet is called a sending terminal (it may also be called a sending terminal).
  • the access network device refers to a device for providing a network communication function for the terminal, and may include a radio access network (radio access network, RAN) device for providing a wireless communication connection for the terminal.
  • the access network device may support at least one wireless communication technology, for example, LTE, NR and so on.
  • the RAN equipment may include but not limited to: a central unit (Centralized Unit, CU), a distributed unit (Distributed Unit, DU), PRAS and eRG in the RAN architecture.
  • the access network device may also be a next-generation base station (generation nodeB, gNB), an evolved node B (evolved node B, eNB), a 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 (for example, home evolved node B, or home node B , HNB), baseband unit (baseband unit, BBU), transmitting and receiving point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc.
  • generation nodeB, gNB next-generation base station
  • evolved node B, eNB evolved node B
  • RNC radio network controller
  • node B node B
  • base station controller base station controller
  • BTS base transceiver station
  • home base station for example, home evolved node B, or home node B , HNB
  • the RAN device can also be a wireless controller in the cloud radio access network (cloud radio access network, CRAN) scenario, or the access network device can be a relay station, an access point, a vehicle device, a wearable device, and a wireless controller in future mobile communications. Network equipment or network equipment in the future evolved PLMN, etc.
  • the access network device may also be an apparatus having a wireless communication function for a terminal, such as a chip system.
  • the system-on-a-chip may include a chip, and may also include other discrete devices.
  • the base station in the embodiment of the present application may be managed by a base station controller, such as a base station controller (base station controller, BSC) in a 2G network, a radio network controller (radio network controller, RNC) in a 3G network, and also refer to the future A device for controlling and managing base stations in a new communication system.
  • a base station controller such as a base station controller (base station controller, BSC) in a 2G network, a radio network controller (radio network controller, RNC) in a 3G network, and also refer to the future A device for controlling and managing base stations in a new communication system.
  • BSC base station controller
  • RNC radio network controller
  • the core network device is located in the core network and can be used for forwarding and analyzing data packets.
  • the core network equipment may include but not limited to: Session Management Function (Session Management Function, SMF) equipment, Access and Mobility Management Function (Access and Mobility Management Function, AMF) equipment, etc.
  • a data network refers to a communication network that provides data services, including but not limited to: public data network (Public Data Network, PDN), local area data network (Local Area Data Network, LADN) and so on.
  • Public Data Network Public Data Network
  • LADN Local Area Data Network
  • Local area network devices that is, devices that are not non-local area network devices:
  • its local area network device refers to other terminal devices that are connected to the same local area network (Local Area Network, LAN) as the access network device , the data packets transmitted to the device do not need to go through the core network or external data forwarding.
  • LAN Local Area Network
  • Non-local LAN device Different from local LAN devices, data packets transmitted to this device need to be forwarded through the core network or external data.
  • local LAN devices can also be classified into pure wireless LAN devices, pure wired devices, cellular devices, cellular-non-cellular aggregation devices, etc. according to different ways of accessing the network.
  • Pure WLAN device refers to a terminal that accesses the network only through WLAN. For example, if UE2 in FIG. 1 only accesses the network through a WLAN connection (such as connecting with an eRG) for a period of time, UE2 is considered a pure wireless local area network device during this period of time.
  • Purely wired device refers to a terminal that accesses the network only through a wired connection. For example, if UE2 in FIG. 1 only accesses the network through a wired connection (such as connecting with an eRG) for a period of time, UE2 is considered as a purely wired device during this period of time.
  • Cellular device refers to a device that accesses the network only through a cellular connection, including devices that access the network through a Subscriber Identity Module (SIM) card or a Universal Subscriber Identity Module (USIM) card.
  • SIM Subscriber Identity Module
  • USIM Universal Subscriber Identity Module
  • Cellular devices can Including 3G/4G/5G/6G and other equipment.
  • a cellular device may refer to UE1 in FIG. 1 .
  • Cellular-non-cellular aggregation device refers to the same service, which can be accessed through cellular connections (such as LTE/5G, etc.) and non-cellular connections (such as WLAN/wired) at the same time, and can coordinate and process corresponding data (such as repeated Packet detection, etc.) equipment.
  • the cellular-non-cellular aggregation device may refer to UE3 in FIG. 1 .
  • the same terminal can support access to the network through one or two or more access methods of WLAN, cellular connection, non-cellular connection, wired connection, cellular connection + non-cellular connection, and other access methods.
  • an access network device judges whether a device is a local LAN device or a non-local LAN device, it can be judged in the following ways:
  • the access network device can directly or indirectly connect to itself to realize network communication terminals as local LAN devices, and all terminals that do not belong to local LAN devices as non-local LAN devices.
  • the access network device is an eRG
  • the eRG may determine that the UE1 and UE3 indirectly connected to itself through PARS shown in FIG. UE2 and UE3 directly connected to WLAN and itself are local LAN devices. That is, at this time, UE1, UE2, and UE3 are all local LAN devices.
  • the access network device may determine the terminals in the preset device table as local LAN devices, and determine the terminals not in the preset device table as non-local LAN devices.
  • the terminals in the preset device list may be all or part of the terminals that are directly or indirectly connected to the access network device to implement network communication.
  • the preset device table may only include the 3GPP devices (that is, UE1 and UE3) that are indirectly connected to itself through PARS shown in Figure 1. At this time, only UE1 and UE3 are local LAN devices, and UE2 is a non-local LAN device. .
  • the access network device can determine whether the terminal is a local LAN device or a non-local LAN device according to the public network IP address of each terminal. At this time, in an implementation manner, the access network device may directly determine whether the terminal is a local LAN device or a non-local LAN device according to the public network IP address of each terminal.
  • the identifier of each terminal in the preset device table is set as the public network IP address of each terminal, and the access network device can determine the terminal in the preset device table as a local area network device, and set Terminals not in the preset device table are determined as non-local LAN devices.
  • the protocol layer in the device processes business data.
  • the equipment may include various terminals, access network equipment (such as PARS, eRG, base station, etc.), network equipment (such as 5GC, etc.).
  • access network equipment such as PARS, eRG, base station, etc.
  • network equipment such as 5GC, etc.
  • each protocol layer in the device processes the business data sequentially from top to bottom and sends it out.
  • each protocol layer in the device processes the received data packets from bottom to top. Get business data after processing.
  • FIG. 2 is a schematic diagram of a 5G user plane protocol stack in the prior art; a Service Data Adaptation Protocol (Service Data Adaptation Protocol, SDAP) is deployed on both the terminal side and the access network device (taking the base station as an example) side ) 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 (Physical, PHY) layer , the flow of processing business data between layers can be referred to in Figure 3.
  • PDCP Packet Data Convergence Protocol
  • RLC Radio Link Control
  • MAC Media Access Control
  • PHY Physical
  • the data packet can be called the protocol
  • the data packets received by the SDAP layer can be called SDAP SDUs
  • the data packets received by the PDCP layer can be called PDCP SDUs
  • the data packets received by the RLC layer can be called RLC SDUs
  • the data packets received by the MAC layer can be called RLC SDUs.
  • the protocol layer adds a corresponding header (Header, represented by H in the figure) for the data packet, and submits the data packet after adding the header to the lower layer.
  • the data packet received by the SDAP layer may be an IP packet (Packet). That is to say, after the SDAP layer, PDCP layer, RLC layer and MAC layer in the terminal add a header to the IP packet in sequence, the service data is sent out through the PHY. Wherein, the RLC layer may split the data packet received from the upper layer to obtain multiple SDU blocks.
  • multiple MAC SDUs submitted on one or more radio bearers (RB) can be added with headers to form a TB for transmission.
  • RB radio bearers
  • the access network device After receiving the data packet, the access network device deletes the packet header (H) corresponding to each protocol layer from bottom to top, and obtains the IP packet at the SDAP layer.
  • RBx and RBy in the figure identify different RBs and correspond to different wireless data services.
  • the "upper layer” and “lower layer” mentioned in each embodiment of the present application are consistent with the relationship between each protocol layer of the network (such as LTE or 3GPP, etc.) in the existing protocol, such as the PHY layer is the lower layer of the MAC layer.
  • Indirect access including access through intermediate devices such as routers, optical modems, and access points (Access Point, AP).
  • intermediate devices such as routers, optical modems, and access points (Access Point, AP).
  • AP Access Point
  • Direct access refers to accessing the network without an intermediate device. Different from indirect access, it can include wired connection or wireless access.
  • the method provided by this application can be applied to the scenario of WLAN communication.
  • the scenario of WLAN communication can be the communication scenario between devices in the home or in the office area. Print files through the routing connection inside the local area network), computer and mobile phone connection (for example, the mobile phone transmits data to the computer through the routing connection inside the local area network), sensor and mobile phone (for example, the sensor transmits alarm information through the routing connection inside the local area network To mobile phones) and other communication scenarios, in actual communication, it is not expected that business data in these communication scenarios will be routed to core network devices or external data networks and then sent to TVs, printers or mobile phones. This requires the eRG to support routing within the local area network.
  • LTE Long Term Evolution
  • IP Internet Protocol
  • LIPA Local IP Access
  • LTE-WLAN Aggregation, LWA LTE-WLAN Aggregation
  • LWA can include two scenarios: Collocated and Non-Collocated. Please refer to Figure 4 and Figure 5.
  • Figure 4 is a schematic diagram of an LWA collocated scenario
  • Figure 5 is an LWA Schematic diagram of a non-colocation scenario.
  • the LWA colocation scenario is a scenario in which the WLAN is set inside a base station (such as an eNB), and the LWA non-colocation scenario is a scenario in which the WLAN is set outside the base station.
  • the WLAN in FIG. 4 and FIG. 5 refers to a WLAN functional entity, including a hardware entity and a WLAN protocol stack for realizing the WLAN.
  • the base station (such as eNB) may include: the PDCP layer and RLC layer corresponding to the LTE bearer (Bearer), the PDCP layer and RLC layer corresponding to the split (Split) LWA bearer, and the handover ( Switched) LWA bears the corresponding PDCP layer and LTE-WLAN Aggregation Adaptation Protocol (LTE-WLAN Adaptation Protocol, LWAAP) layer.
  • LTE-WLAN Aggregation Adaptation Protocol LTE-WLAN Adaptation Protocol
  • the PDCP layer corresponding to the separated LWA bearer is connected to the WLAN layer of the base station through the LWAAP layer corresponding to the switched LWA bearer, and the RLC layer corresponding to the separated LWA bearer and the RLC layer corresponding to the LTE bearer are both connected to the MAC layer.
  • the communication interface between the base station and the packet core network (Evolved Packet Core, EPC) is the S1 interface.
  • EPC Evolved Packet Core
  • the WTs are connected through the Xw interface.
  • the Xw interface is the interface between the base station (eNB) and the WT in the wireless local area network.
  • the LWAAP layer is introduced in these two scenarios, especially for the non-colocated scenario, a WT (for example, a router) is also introduced to terminate the Xw interface protocol from the base station to the WLAN.
  • a WT for example, a router
  • the main function of the LWAAP layer is to add a Radio Bearer Identify (RBID) to the data packet of the PDCP layer to identify that it comes from a specific bearer (Bearer).
  • RBID Radio Bearer Identify
  • the data packet with the RBID added is transmitted to the terminal through the WLAN.
  • the WLAN adds an LWA Ethernet type identifier (the identifier is 0x9E65 in the existing protocol) to the data packet to distinguish it from other WLAN data packets. If the WLAN module on the terminal side recognizes this type of data packet according to the Ethernet identifier, the terminal will remove the RBID of the data packet and pass it to the PDCP layer of the LTE module of the terminal for processing to complete the transmission of the data packet.
  • the data packet is first processed by the PDCP layer (for example, encrypted), and then processed by the LWAAP layer .
  • the terminal receiving the data packet must have the ability to remove the RBID of the data packet, that is, the terminal needs to have the WLAN capability; in addition, the terminal also needs to have the PDCP layer equivalent to the base station, so that it can process the data Packet analysis restores service data, that is, the terminal needs to have LTE capability. That is to say, the terminal receiving the data packet must have both the WLAN capability and the LTE capability, and its applicable scenarios are relatively limited.
  • an access network device such as a base station
  • transmits network data to a terminal through a WLAN it can only transmit to a device that has both WLAN and LTE capabilities. That is to say, for devices that do not have WLAN capabilities and LTE capabilities at the same time, they need to pass through the core network or data network to transmit network data to these devices, which will cause the communication path to be too long, thereby affecting communication efficiency.
  • an embodiment of the present application provides a communication method.
  • the communication method by selecting data communication links for different types of devices, the data packet communication path of some devices is avoided from being too long, and the communication efficiency is improved.
  • the method includes the following steps: S601 to S603, which are described in detail as follows.
  • the access network device receives a data packet to be sent to a receiving terminal.
  • the access network equipment can be PRAS, eRG, base station, small base station or access point (AP) and other equipment used to access the data network or 5G core network.
  • PRAS PRAS
  • eRG base station
  • AP access point
  • Each terminal directly or indirectly accesses the access network equipment to realize network communication.
  • the data packet received by the access network device may come from the sending terminal, or from the core network or data network, and the data packet may be forwarded to the receiving terminal through several intermediate devices, which may include routers, optical modems, One or more of access network equipment, data network equipment, and core network equipment.
  • the access network device determines the type of the receiving terminal according to the attribute of the receiving terminal, where the attribute of the receiving terminal includes at least a public network IP address of the receiving terminal.
  • the type of the receiving terminal may include at least one of a non-local area network device, a pure wireless local area network device, a pure wired device, and a cellular-non-cellular aggregation device.
  • the access network device can classify terminals according to the needs of communication links, and determine the data packets corresponding to each type of terminal after division. The processing method and communication link will not be repeated here.
  • the attribute of the receiving terminal is information used to determine the communication link supported by the receiving terminal.
  • the attributes of the receiving terminal may include the public network IP address and MAC address of the receiving terminal.
  • the attributes of the receiving terminal may also include information such as the device model of the receiving terminal.
  • the attribute of the receiving terminal may also include the information of the intermediate device (such as the identification number of the intermediate device, etc.) that the receiving terminal passes through when connecting to the access network device.
  • the attributes of the receiving terminal include but are not limited to the above examples, and all information that can be used to determine the communication link supported by the receiving terminal is within the scope of protection of the attributes of the receiving terminal in this embodiment of the application.
  • the access network device may determine the type of the receiving terminal according to the public network IP address of the receiving terminal. For example, the access network device determines whether the receiving terminal is Local LAN device or non-local LAN device.
  • the access network device can also determine which type of the terminal is in the local area network device according to the device model of each terminal. For example, when the terminal is a smart phone, if the model of the terminal is XY, the mobile phone of the XY model supports There are two ways to access the network: WLAN and cellular. If the mobile phone accesses the data network preferentially through WLAN, the access network device can determine the terminal as a pure WLAN device.
  • the access network device regards the terminal as two independent pure WLAN devices and pure cellular devices, if the mobile phone is accessing the data network, If the network can be accessed through WLAN and cellular at the same time, and data can be coordinated and processed between the two, the access network device can determine the terminal as a cellular-non-cellular aggregation device.
  • the access network device forwards the data packet to the receiving terminal according to the type of the receiving terminal.
  • the access network device may determine different communication links for different types of receiving terminals, and forward the data packets to the receiving terminals through the determined communication links.
  • a set of rules for determining the processing method of the data packet and the communication link according to the type of the receiving terminal can be maintained, so that the access network device can determine the communication link for forwarding each data packet according to the rules. road.
  • the access network device After receiving the data packet, the access network device does not directly forward it to the data network or the core network, but first determines the type of the receiving terminal of the data packet, and forwards the data packet according to the type to the receiving terminal. Therefore, it is possible to adapt to a communication system where multiple types of terminals coexist, and for some types of receiving terminals, a communication path with a shorter path can be selected, so as to improve communication efficiency and rationally utilize communication resources.
  • the access network device includes an adaptor (Adopter) layer, and S602 in FIG. 6 is performed by the adaptor layer.
  • the access network device further includes a PDCP layer, and the adaptation layer is set as an upper protocol layer of the PDCP layer.
  • This application adds an adaptation layer on the upper layer of the PDCP layer of the existing access network equipment.
  • the adaptation layer is used to perform the above S602.
  • the adaptation layer can also be used to determine the corresponding communication link. Therefore, each protocol layer of the access network device cooperates to complete the processing of the data packet, and sends the processed data packet to the receiving terminal through the determined communication link.
  • protocol layer having the function of performing the adaptation layer in the embodiment of the present application may be called another name later, but the protocol layer having one of the functions can be regarded as the protocol layer in the embodiment of the present application.
  • FIG. 7 and FIG. 8 are schematic diagrams of two access network device protocol stack structures.
  • the adaptation layer is set on the upper layer of the PDCP layer, and the adaptation layer and the SDAP layer are integrated into one layer.
  • the existing SDAP layer can be enhanced, and the adaptation in this paper is added to the existing SDAP layer. layer function.
  • the lower layer of the PDCP layer of the access network device may also include a WLAN AP/wired AP (not shown in the figure), and the WLAN AP is used to send data to the WLAN device or the cellular-non-cellular aggregation device in the local area network through the WLAN. processed packets.
  • a WLAN AP/wired AP not shown in the figure
  • FIG. 9 is a schematic diagram of a protocol layer in each device provided by the embodiment of the present application.
  • the sending terminal (represented by UE1) 901 is connected to the access network device 903 through PARS 902 to access the core network/ data network 904 .
  • the protocol stack structure of UE1 901 can refer to the description in Fig. 2, the SDAP layer is not deployed on the PARS side, and other protocol layers correspond to UE1.
  • the protocol stack structure of the access network device 903 may also be replaced with the structure in FIG. 8 .
  • the WLAN AP/wired AP of the access network device 903 can be connected with the WLAN device (Device) 905, and the protocol stack structure of the WLAN device 905 can include a logical link control (Logical Link Control, LLC) layer, a MAC layer and PHY layer.
  • the access network device 903 can perform data transmission with the receiving terminal (indicated by UE2 in the figure) 906 through its WLAN AP/wired AP (not shown in the figure).
  • the WLAN communication protocol and 5G communication protocol (that is, cellular communication) can be deployed on the UE2 906 side.
  • the structure of each layer in the WLAN communication protocol and the 5G communication protocol can refer to the description of the prior art and the foregoing embodiments, and will not be repeated here.
  • UE1 901 transmits a data packet to UE2 906, it can be realized through FIG. 6 and Example 1 to Example 3 below. If the core network/data network 904 transmits the data packet to the UE2 906, it can be realized through Example 4 to Example 6 below in FIG. 6 .
  • the data packets received by the access network equipment can come from the sending terminal (referred to as case 1), or from the core network or data network (referred to as case 2).
  • case 1 the sending terminal
  • case 2 the core network or data network
  • the sending terminal may be a local area network device.
  • the method may further include: the PDCP layer in the access network device decodes the data packet; the adaptation layer in the access network device extracts the public address of the receiving terminal from the decoded data packet Network IP address.
  • the public network IP address can be used to determine the type of the receiving terminal in a subsequent process.
  • decoding may include decryption and/or decompression.
  • the sending terminal will compress the header of the data packet before sending the data packet, which may include the public network IP address of the receiving terminal, and the access network device needs to decompress the header of the data packet before extracting the data The public IP address of the receiving terminal of the packet.
  • the decoding operation is performed by the PDCP layer of the access network device.
  • the implementation of this application can follow the provisions of the existing protocol, so as to follow the existing communication between the access network device and the terminal. Protocol, adapted to existing common scenarios.
  • Example 1 the receiving terminal is a non-local LAN device.
  • S603 may include: based on the type of the receiving terminal, sending the data packet to the receiving terminal through a core network device or a data network.
  • the receiving terminal when the receiving terminal is a non-local LAN device, the data packet still needs to be forwarded to the receiving terminal through the core network (such as 5GC) equipment or data network, that is, the communication link of the existing protocol is still used for forwarding. data transmission.
  • the core network such as 5GC
  • 5GC 5GC
  • data network that is, the communication link of the existing protocol is still used for forwarding. data transmission.
  • Example 2 the type of the receiving terminal is a pure wireless local area network device or a pure wired device.
  • S603 may include: based on the type of the receiving terminal, the adaptation layer of the access network device obtains the data part of the data packet, and determines the communication address of the local area network corresponding to the receiving terminal; based on the communication address of the local area network , sending the extracted data part to the receiving terminal through the communication link of the local area network.
  • the data part of the data packet at least includes data content transmitted from the sending terminal to the receiving terminal.
  • the data part may be the IP packet in FIG. 3 .
  • the communication address of the LAN includes one or more of a MAC address, a local IP address, and a port number.
  • the communication link of the local area network may be a wired/WLAN communication link.
  • Example 3 the type of the receiving terminal is a cellular-non-cellular aggregation device.
  • S603 may include in specific implementation: based on the type of the receiving terminal, the adaptation layer of the access network device adds a bearer identifier (RBID) to the data packet; The PDCP layer of the device encodes the data packet added with RBID; the encoded data packet is sent to the receiving terminal through the communication link of the LAN.
  • RBID bearer identifier
  • the access network device can send the data packet to the receiving terminal through the wireless/wired bearer (Bearer) used by the cellular-non-cellular aggregation device in the existing protocol.
  • the wireless/wired bearer (Bearer) used by the cellular-non-cellular aggregation device in the existing protocol.
  • a corresponding RBID needs to be added to the data packet.
  • the adaptation layer continues to perform the step of adding the RBID to the data packet, and the adaptation layer transmits the data packet with the RBID added to the PDCP layer, and the PDCP layer encodes it.
  • the relationship between the adaptation layer and other protocol layers in the access network device can refer to the related description in FIG. 7 or FIG. 8 , and will not be repeated here.
  • the adaptation layer needs to have the function of adding RBID at the SDAP layer.
  • other functions of the SDAP layer can also be integrated at the adaptation layer.
  • encoding may include processing such as encryption and/or compression.
  • the access network device encodes the data packet to ensure transmission security and improve transmission efficiency during data transmission between the access network device and the receiving terminal.
  • the receiving terminal may use a corresponding decoding method to decrypt and/or decompress the encoded data packet.
  • the encoding at the PDCP layer includes performing header (H) compression and encryption on the data packet.
  • S603 may include in specific implementation: the SDAP layer in the access network device adds an RBID to the data packet; the PDCP layer in the access network device adds a bearer identifier Encode the data packets; send the encoded data packets to the receiving terminal through the communication link of the LAN.
  • the SDAP layer completes the step of adding an RBID to the data packet.
  • the adaptation layer first sends the data packet to the SDAP layer, and also That is, the data packet is first transmitted from the lower layer to the upper layer in the protocol stack of the access network device. Then, the data packet is transmitted from the upper layer of the protocol stack to the lower layer: the SDAP layer sends the data packet with the RBID added to the adaptation layer, and the adaptation layer transmits the data packet with the RBID added to the PDCP layer, and the PDCP layer It encodes. At this time, the transmission of the data packet in the protocol stack of the access network device is more flexible.
  • Example 3 the data packet is transmitted from the SDAP layer to the lower protocol layer to the WLAN AP/wired AP, and the corresponding packet header (H) of each layer is added layer by layer.
  • the processing method of each layer please refer to the relevant description in Figure 3, and pass WLAN AP or wired AP sends to the receiving terminal.
  • the lower layer of the adaptation layer that is, the PDCP layer, needs to encode (such as encrypt, compress, etc.) the data packet added with the RBID.
  • the PDCP layer encodes the RBID-added data packet, it may not encode the RBID of the data packet.
  • Case 2 The data packet received by the access network device comes from the core network or the data network.
  • the method may further include: the adaptation layer of the access network device acquires the public network IP address of the receiving terminal from the data packet.
  • the 5GC access network equipment uniformly adds RBID to the data packet received from the core network through the SDAP layer to identify the radio bearer corresponding to the data packet.
  • the radio bearer forwards the data packet to the terminal corresponding to the public network IP of the receiving terminal, so as to complete the data transmission.
  • the access network device has the following two processes for the received data packets:
  • the adaptation layer is the lower layer protocol layer of the SDAP layer, and the above-mentioned existing protocol is used, and the data packets from the core network or data network are transferred from the upper layer to the lower layer in the protocol stack of the access network device Transfer, after the SDAP layer of the access network device adds RBID to the data packet according to the above protocol, the data packet is passed to the adaptation layer, and the adaptation layer executes to obtain the public network IP address of the receiving terminal from the data packet with the RBID added, Execute S602 in FIG. 6 to determine the type of the receiving terminal of the data packet.
  • the adaptation layer is obtained by enhancing the existing SDAP layer.
  • the adaptation layer (or SDAP layer) acquires the public network IP address of the receiving terminal from the data packet, and executes S602 in FIG. 6 to determine the type of the receiving terminal of the data packet.
  • the adaptation layer (or SDAP layer) also executes the step of adding RBID to the data packet.
  • Example 4 The receiving terminal is a non-local LAN device.
  • S603 may include: forwarding the data packet added with the RBID to the receiving terminal based on the type of the receiving terminal.
  • the access network device sends the data packet according to an existing wireless communication protocol.
  • the RBID may be added by the SDAP layer, and for the steps of adding the RBID, refer to the above-mentioned processing 1 and related descriptions of the processing.
  • the access network device can send the RBID-added data packet to the receiving terminal through the core network/data network.
  • Example 5 The type of the receiving terminal is a pure wireless LAN device or a pure wired device.
  • S603 may include: based on the type of the receiving terminal, the adaptation layer of the access network device obtains the data part of the data packet, and determines the communication address of the local area network corresponding to the receiving terminal; based on the communication address of the local area network , sending the extracted data part to the receiving terminal through the communication link of the local area network.
  • the adaptation layer of the access network device may also remove the RBID added to the data packet at the SDAP layer.
  • the adaptation layer can remove the added RBID.
  • Example 5 the access network device communicates to the receiving terminal through a wired/WLAN communication link based on the communication address of the terminal in the local area network (including one or more of MAC address, local IP address, port number, etc.)
  • the data content of the sent data packet does not need to be forwarded according to the public network IP address.
  • What the receiving terminal receives is the data content in the data packet, there is no need to analyze the RBID, and the process of parsing the data packet at each protocol layer can also be skipped.
  • Example 6 The type of the receiving terminal is a cellular-non-cellular aggregation device.
  • the specific implementation of S603 may include: based on the type of the receiving terminal, the PDCP layer of the access network device encodes the data packet with the RBID added; and sends the encoded data packet to the receiving terminal.
  • the RBID is added to the data packet at the SDAP layer or the adaptation layer of the access network device.
  • the data packet is processed by the adaptation layer, it is transmitted to the WLAN AP/wired AP through the PDCP layer, and the header (H) corresponding to each layer is added layer by layer.
  • the processing method of each layer please refer to the relevant description in Figure 3, and Send to the receiving terminal through WLAN AP or wired AP.
  • the lower layer of the adaptation layer that is, the PDCP layer, needs to encode (such as encrypt, compress, etc.) the data packet added with the RBID.
  • the PDCP layer encodes the RBID-added data packet, it may not encode the RBID of the data packet.
  • Example 2 and Example 5 are applied to similar scenarios in Figure 4 and Figure 5, data packets are transmitted from top to bottom in the protocol stack of the access network device (equivalent to the base station in Figure 4 and Figure 5), first After PDCP layer processing, if it is determined that the receiving terminal is a pure wired device or a pure wireless device, the access network device may not add RBID to the data packet, or add RBID (after adding RBID at the LWAAP layer in Figure 4 and Figure 5) The RBID is then removed by the adaptation layer. The access network device directly sends the data part of the data packet to the receiving terminal, and the receiving terminal receives the data part, skipping the process of RBID analysis and protocol layer analysis such as PDCP.
  • the access network device directly sends the data part of the data packet to the receiving terminal, and the receiving terminal receives the data part, skipping the process of RBID analysis and protocol layer analysis such as PDCP.
  • the data part of the data packet can be received correctly, and there is no need to require the receiving terminal to have WLAN capabilities at the same time as in the scenarios shown in Figure 4 and Figure 5 And LTE capability (that is, the ability to resolve RBID) to successfully parse the packet.
  • the receiving terminal when the type of the receiving terminal is a cellular-non-cellular aggregation device, the receiving terminal supports a cellular communication link, and the method of transmitting data packets through the cellular communication link can refer to an existing protocol, which will not be repeated here.
  • the receiving terminal The terminal also supports a wired/WLAN communication link, and the access network device sends a data packet to the receiving terminal through the wired/WLAN communication link according to the methods in Examples 3 and 6.
  • the access network device may simultaneously send the same data packet to the receiving terminal through the cellular communication link and the wired/WLAN communication link, so as to ensure the transmission reliability of the data packet.
  • the terminal can combine the data packets received by different links to extract data, so as to effectively solve the problem of packet loss in data transmission of a single communication link.
  • the access network device may select the communication link with the best communication quality to send the communication link to the receiving terminal according to the communication quality status of the multiple communication links currently supported by the receiving terminal (i.e. cellular communication link, wired/WLAN communication link).
  • the data packets are sent, so that the accurate and efficient data transmission can still be ensured when the communication quality of a certain communication link of the receiving terminal is poor.
  • S602 in FIG. 6 may be implemented through various steps in FIG. 10 .
  • the steps in Figure 10 include:
  • S6023 Determine whether the type of the receiving terminal is one of a pure wireless local area network device, a pure wired device, and a cellular-non-cellular aggregation device according to other information in the attributes of the receiving terminal.
  • other information in the attribute of the receiving terminal includes one or more of MAC address, device model, and information about the access point where the receiving terminal is connected to the access network device.
  • the access network device determines the type of the receiving terminal, it first obtains the public network IP of the receiving terminal to determine whether the receiving terminal is a non-local LAN device, and if so, directly sends the data packet according to the communication link of the non-local LAN. If the receiving terminal is a local LAN device, the access network device needs to continue to obtain other information in the attributes of the receiving terminal to determine which one of the receiving terminal is a pure wireless LAN device, a pure wired device, and a cellular-non-cellular aggregation device.
  • specific implementation of S6021 may include: the access network device obtains at least one public network IP address, and at least one public network IP address is the public network IP address of all or part of the terminals accessed through the WLAN or wired network; If the public network IP address of the receiving terminal does not belong to at least one public network IP address, the access network device determines that the receiving terminal is a non-local LAN device, otherwise determines that the receiving terminal is a local LAN device.
  • the access network device obtains at least one public network IP address from a local memory of the access network or a server/database, and each public network IP address corresponds to a terminal.
  • the core network or the data network may send at least one public network IP address to the access network device, and the access network device stores it locally.
  • the access network device may determine whether each terminal directly or indirectly connected to itself is a local LAN device, and store the public network IP address determined as the local LAN device locally.
  • the access network device needs to execute S6021 in FIG. 10 , acquire the at least one public network IP address from local storage.
  • the access network device can determine whether each terminal directly or indirectly connected to itself is a local area network device, including: if the terminal is connected to the access network device through an intermediate device, the access network device can obtain its Public IP address of each managed terminal.
  • the access network device may determine the public network IP address corresponding to the terminal according to the IP address and/or port number of the local area network of each terminal, that is, the IP address used by the terminal for data communication.
  • At least one public IP address is stored in an address table.
  • the access network device determines that the public network IP address of the receiving terminal is in the address table, it determines that the receiving terminal is a local LAN device. If the public network IP address of the receiving terminal is not in the address table, the access network device determines that the receiving terminal is a non-local LAN device.
  • the above at least one public IP address belongs to a preset address range.
  • the access network device determines that the public network IP address of the receiving terminal belongs to the address range, it determines that the receiving terminal is a local LAN address. If the access network device determines that the public network IP address of the receiving terminal does not belong to the address range, it determines that the receiving terminal is a non-local LAN address.
  • the aforementioned step of acquiring attributes of each terminal is performed by an adaptation layer in the access network device, and the acquired attributes are stored by the adaptation layer, so that the adaptation layer can determine the type of the receiving terminal according to the stored information.
  • FIG. 11 is a structural diagram of a communication device 110 according to an embodiment of the present application.
  • the communication device 110 may be set in an access network device or be communicably connected to the access network device.
  • the communication device 110 includes:
  • a device type determination module 1102 configured to determine the type of the receiving terminal according to the attributes of the receiving terminal, wherein the attributes of the receiving terminal include at least the public network Internet Protocol IP address of the receiving terminal;
  • a data packet forwarding module 1103, configured to forward the data packet to the receiving terminal according to the type of the receiving terminal.
  • the access network device includes a PDCP layer and an adaptation layer
  • the adaptation layer is the upper layer protocol layer of the PDCP layer
  • the device type determination module 1102 is specifically used to determine the receiving terminal according to the attributes of the receiving terminal at the adaptation layer type.
  • the data packet comes from the sending terminal
  • the communication device 110 may further include: a decoding module, configured to decode the data packet at the PDCP layer in the access network device; a first extraction module, configured to The adaptation layer in the network device extracts the public network IP address of the receiving terminal from the decoded data packet.
  • the data packet comes from the sending terminal, the type of the receiving terminal is a pure wireless LAN device or a pure wired device, and the data packet forwarding module 1103 specifically includes: a communication address determination unit of the local area network, which is used to determine based on the type of the receiving terminal , obtain the data part of the data packet at the adaptation layer of the access network device, and determine the communication address of the local area network corresponding to the receiving terminal; the forwarding unit is used to transfer the extracted data part through the communication link of the local area network based on the communication address of the local area network sent to the receiving terminal.
  • a communication address determination unit of the local area network which is used to determine based on the type of the receiving terminal , obtain the data part of the data packet at the adaptation layer of the access network device, and determine the communication address of the local area network corresponding to the receiving terminal
  • the forwarding unit is used to transfer the extracted data part through the communication link of the local area network based on the communication address of the local area network sent to the receiving terminal.
  • the data packet comes from the sending terminal, the type of the receiving terminal is a non-local LAN device, and the data packet forwarding module 1103 is specifically configured to send the data packet to the receiving terminal.
  • the data packet comes from the sending terminal
  • the type of the receiving terminal is a cellular-non-cellular aggregation device
  • the data packet forwarding module 1103 may include: a first bearer identifier adding unit, configured to, based on the type of the receiving terminal, in The adaptation layer of the access network device adds a bearer identifier to the data packet; the first encoding unit is used to encode the data packet with the bearer identifier added at the PDCP layer of the access network device; the first sending unit is used to pass the local area network The communication link sends the encoded data packet to the receiving terminal.
  • the data packet comes from the sending terminal, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the data packet forwarding module 1103 may include: a second bearer identifier adding unit, configured to be used in the access network device
  • the SDAP layer adds a bearer identifier to the data packet
  • the second encoding unit is used to encode the data packet with the bearer identifier added at the PDCP layer in the access network device
  • the second sending unit is used to transmit the bearer identifier through the communication link of the local area network
  • the encoded data packets are sent to the receiving terminal.
  • the data packet comes from the core network or the data network
  • the communication device 110 may further include: a second extraction module, configured to obtain the public network IP of the receiving terminal from the data packet at the adaptation layer of the access network device address.
  • the data packet comes from a core network or a data network
  • the type of the receiving terminal is a pure wireless local area network device or a pure wired device
  • the data packet forwarding module 1103 may specifically include: a data extraction unit for type, obtain the data part of the data packet at the adaptation layer of the access network device, and determine the communication address of the local area network corresponding to the receiving terminal; the data sending unit is used for the communication address based on the local area network, and the extracted The data portion is sent to the receiving terminal.
  • the data packet comes from the core network or data network, and the type of the receiving terminal is a non-local LAN device.
  • the data packet forwarding module 1103 can also be used to forward the data packet with the bearer identifier added based on the type of the receiving terminal to the receiving terminal.
  • the data packet comes from the core network or the data network
  • the type of the receiving terminal is a cellular-non-cellular aggregation device
  • the data packet forwarding module 1103 may include: a third encoding unit, configured to, based on the type of the receiving terminal, The data packet added with the bearer identifier is encoded at the PDCP layer of the access network device; the third sending unit is used to send the encoded data packet to the receiving terminal through the communication link of the local area network.
  • the communication address of the LAN includes one or more of a media access control MAC address, a local IP address, and a port number.
  • the type of the receiving terminal includes at least one of a non-local area network device, a pure wireless local area network device, a pure wired device, and a cellular-non-cellular aggregation device.
  • the device type determining module 1102 may include: a first type determining unit, configured to determine whether the receiving terminal is a non-local LAN device according to the public network IP address in the attributes of the receiving terminal; if the first type determines If the determination result of the unit is yes, the non-local area network device determination module executes the step of determining that the type of the receiving terminal is a non-local area network device; Other information in the attribute determines whether the type of the receiving terminal is a pure wireless LAN device, a pure wired device, and a cellular-non-cellular aggregation device; wherein, other information in the receiving terminal's attribute includes MAC address, device model, receiver One or more types of information on the intermediate equipment that the terminal passes through when connecting to the access network equipment.
  • the first type determining unit may include: an address obtaining subunit, configured to obtain at least one public network IP address, at least one public network IP address is all or part of the access through a wireless local area network or a wired network The public network IP address of the terminal; a determination subunit, used to determine that the receiving terminal is a non-local LAN device when the public network IP address of the receiving terminal does not belong to at least one public network IP address, otherwise determine that the receiving terminal is not a non-local LAN device.
  • the above-mentioned communication device 110 may correspond to a chip with a communication function in an access network device, or a chip with a data processing function, such as a system-on-a-chip (System-On-a-Chip, SOC), radio frequency Chips, etc.; or corresponding to a chip module including a chip with a communication function in the access network device; or corresponding to a chip module with a chip with a data processing function, or corresponding to the access network device.
  • a chip with a communication function in an access network device or a chip with a data processing function, such as a system-on-a-chip (System-On-a-Chip, SOC), radio frequency Chips, etc.
  • SOC System-On-a-Chip
  • each module/unit contained in the product may be a software module/unit, or a hardware module/unit, or may be partly a software module/unit and partly a hardware module/unit.
  • each module/unit contained therein may be realized by hardware such as a circuit, or at least some modules/units may be realized by a software program, and the software program Running on the integrated processor inside the chip, the remaining (if any) modules/units can be realized by means of hardware such as circuits; They are all realized by means of hardware such as circuits, and different modules/units can be located in the same component (such as chips, circuit modules, etc.) or different components of the chip module, or at least some modules/units can be realized by means of software programs, The software program runs on the processor integrated in the chip module, and the remaining (if any) modules/units can be realized by hardware such as circuits; /Units can be realized by means of hardware such as circuits
  • the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned communication method are executed.
  • the storage medium may be a computer-readable storage medium, and may include, for example, a non-volatile memory (non-volatile) or a non-transitory (non-transitory) memory, and may also include an optical disk, a mechanical hard disk, a solid-state hard disk, and the like.
  • the embodiment of the present application also provides an access network device 120, including the communication device 110 shown in FIG. A computer program that can run on the processor 1202.
  • the processor 1202 runs the computer program, it executes the steps of the communication method in the embodiment of the present application.
  • the embodiment of this application defines the one-way communication link from the access network device to the terminal device as the downlink, the data transmitted on the downlink is downlink data, and the transmission direction of the downlink data is called the downlink direction;
  • the one-way communication link of the network access device is an uplink, the data transmitted on the uplink is uplink data, and the transmission direction of the uplink data is called the uplink direction.
  • Multiple appearing in the embodiments of the present application means two or more.
  • connection in the embodiment of the present application refers to various connection methods such as direct connection or indirect connection to realize communication between devices, which is not limited in the embodiment of the present application.
  • the processor may be a central processing unit (central processing unit, CPU), and the processor may also be other general processors, digital signal processors (digital signal processor, DSP), dedicated Integrated circuit (application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the above-mentioned embodiments may be implemented in whole or in part by software, hardware, firmware or other arbitrary combinations.
  • the above-described embodiments may be implemented in whole or in part in the form of computer program products.
  • the computer program product comprises one or more computer instructions or computer programs.
  • the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Wired or wireless transmission to another website site, computer, server or data center. It should be understood that, in various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed methods, devices and systems can be implemented in other ways.
  • the device embodiments described above are only illustrative; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium.
  • the above-mentioned software functional units are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute some steps of the methods described in various embodiments of the present application.

Landscapes

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

Abstract

The present application relates to the technical field of communications. Provided are a communication method and apparatus, and an access network device and a computer-readable storage medium. The method comprises: an access network device receiving a data packet, which is to be sent to a receiving terminal; determining the type of the receiving terminal according to an attribute of the receiving terminal; and forwarding the data packet to the receiving terminal according to the type of the receiving terminal, wherein the attribute of the receiving terminal at least comprises a public network IP address of the receiving terminal. By means of the method, the communication efficiency can be improved, and communication resources can be used rationally.

Description

通信方法及装置、接入网设备、计算机可读存储介质Communication method and device, access network equipment, computer-readable storage medium
本申请要求2021年9月3日提交中国专利局、申请号为202111033495.4、发明名称为“通信方法及装置、接入网设备、计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on September 3, 2021, with the application number 202111033495.4, and the title of the invention is "communication method and device, access network equipment, computer-readable storage medium", the entire content of which Incorporated in this application by reference.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种通信方法及装置、接入网设备、计算机可读存储介质。The present application relates to the technical field of communication, and in particular to a communication method and device, an access network device, and a computer-readable storage medium.
背景技术Background technique
现有的网络通信协议能够支持蜂窝设备(如第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)设备/***(4G)移动通信技术设备/第五代(5G)移动通信技术设备/第六代(6G)移动通信技术设备等)和非蜂窝设备(除蜂窝设备以外的其他网络通信设备)连接到网络(包括5G核心网络和数据网络)中。当前协议中,各个数据包的发送端设备需要将数据发送至核心网设备或者数据网络,由核心网设备或者数据网络进行数据转发至接收端设备,以完成数据传输。在一些情况下,可能会导致一些设备的数据包的通信路径过长,从而影响通信效率。Existing network communication protocols can support cellular devices (such as 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) equipment/fourth generation (4G) mobile communication technology equipment/fifth generation (5G) mobile communication technology equipment/ The sixth generation (6G) mobile communication technology equipment, etc.) and non-cellular equipment (other network communication equipment other than cellular equipment) are connected to the network (including 5G core network and data network). In the current protocol, the sending end device of each data packet needs to send the data to the core network device or data network, and the core network device or data network forwards the data to the receiving end device to complete the data transmission. In some cases, the communication path of the data packets of some devices may be too long, thereby affecting the communication efficiency.
发明内容Contents of the invention
本申请解决的技术问题是如何提供一种通信方法,避免某些设备的数据包的通信路径过长,从而提高通信效率,合理利用通信资源。The technical problem solved by this application is how to provide a communication method to avoid the communication path of data packets of some devices being too long, thereby improving communication efficiency and rationally utilizing communication resources.
为解决上述问题,本申请实施例提供了以下技术方案:In order to solve the above problems, the embodiment of the present application provides the following technical solutions:
第一方面,本申请提供了一种通信方法,该方法由接入网设备执行,方法包括:接收要发送至接收终端的数据包;根据接收终端的属 性确定接收终端的类型,其中,接收终端的属性至少包括接收终端的公网互联网协议IP地址;根据接收终端的类型将数据包转发至接收终端。In a first aspect, the present application provides a communication method, the method is executed by an access network device, and the method includes: receiving a data packet to be sent to a receiving terminal; determining the type of the receiving terminal according to the attribute of the receiving terminal, wherein the receiving terminal The attributes of at least include the public network Internet Protocol IP address of the receiving terminal; forward the data packet to the receiving terminal according to the type of the receiving terminal.
可选的,接入网设备包括分组数据汇聚协议PDCP层和适配层,适配层为PDCP层的上层协议层,根据接收终端的属性确定接收终端的类型,包括:适配层根据接收终端的属性确定接收终端的类型。Optionally, the access network device includes a packet data convergence protocol PDCP layer and an adaptation layer, the adaptation layer is an upper layer protocol layer of the PDCP layer, and determines the type of the receiving terminal according to the attributes of the receiving terminal, including: the adaptation layer determines the type of the receiving terminal according to the attributes of the receiving terminal The attribute determines the type of receiving terminal.
可选的,数据包来自于发送终端,方法还包括:接入网设备中的PDCP层对数据包进行解码;接入网设备中的适配层从解码后的数据包中提取接收终端的公网IP地址。Optionally, the data packet comes from the sending terminal, and the method also includes: the PDCP layer in the access network device decodes the data packet; the adaptation layer in the access network device extracts the public address of the receiving terminal from the decoded data packet. Network IP address.
可选的,数据包来自于发送终端,接收终端的类型为纯无线局域网设备或纯有线设备,根据接收终端的类型将数据包转发至接收终端,包括:基于接收终端的类型,接入网设备的适配层获取数据包的数据部分,并确定接收终端对应的局域网的通信地址;基于局域网的通信地址,通过局域网的通信链路将提取的数据部分发送至接收终端。Optionally, the data packet comes from the sending terminal, the type of the receiving terminal is a pure wireless LAN device or a pure wired device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, the access network device The adaptation layer obtains the data part of the data packet, and determines the communication address of the local area network corresponding to the receiving terminal; based on the communication address of the local area network, the extracted data part is sent to the receiving terminal through the communication link of the local area network.
可选的,数据包来自于发送终端,接收终端的类型为非本地局域网设备,根据接收终端的类型将数据包转发至接收终端,包括:基于接收终端的类型,通过核心网设备或数据网络将数据包发送至接收终端。Optionally, the data packet comes from the sending terminal, the type of the receiving terminal is a non-local LAN device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, through the core network device or the data network. The data packet is sent to the receiving terminal.
可选的,数据包来自于发送终端,接收终端的类型为蜂窝-非蜂窝聚合设备,根据接收终端的类型将数据包转发至接收终端,包括:基于接收终端的类型,接入网设备的适配层为数据包添加承载标识;接入网设备的PDCP层对添加了承载标识的数据包进行编码;通过局域网的通信链路将编码后的数据包发送至接收终端。Optionally, the data packet comes from the sending terminal, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, the adaptation of the access network device The distribution layer adds a bearer identifier to the data packet; the PDCP layer of the access network device encodes the data packet with the bearer identifier added; and sends the encoded data packet to the receiving terminal through the communication link of the LAN.
可选的,数据包来自于发送终端,接收终端的类型为蜂窝-非蜂窝聚合设备,根据接收终端的类型将数据包转发至接收终端,包括:接入网设备中的服务数据适配协议SDAP层为数据包添加承载标识; 接入网设备中的PDCP层对添加了承载标识的数据包进行编码;通过局域网的通信链路将编码后的数据包发送至接收终端。Optionally, the data packet comes from the sending terminal, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: service data adaptation protocol SDAP in the access network device The layer adds a bearer identifier to the data packet; the PDCP layer in the access network device encodes the data packet with the bearer identifier added; and sends the encoded data packet to the receiving terminal through the communication link of the LAN.
可选的,数据包来自于核心网或数据网络,方法还包括:为数据包添加承载标识;接入网设备的适配层从数据包中获取接收终端的公网IP地址。Optionally, the data packet comes from a core network or a data network, and the method further includes: adding a bearer identifier to the data packet; the adaptation layer of the access network device obtains the public network IP address of the receiving terminal from the data packet.
可选的,数据包来自于核心网或数据网络,接收终端的类型为纯无线局域网设备或纯有线设备,根据接收终端的类型将数据包转发至接收终端,包括:基于接收终端的类型,接入网设备的适配层获取数据包的数据部分,并确定接收终端对应的局域网的通信地址;基于局域网的通信地址,通过局域网的通信链路将提取的数据部分发送至接收终端。Optionally, the data packet comes from the core network or data network, and the type of the receiving terminal is a pure wireless LAN device or a pure wired device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, receiving The adaptation layer of the network access device obtains the data part of the data packet, and determines the communication address of the LAN corresponding to the receiving terminal; based on the communication address of the LAN, the extracted data part is sent to the receiving terminal through the communication link of the LAN.
可选的,数据包来自于核心网或数据网络,接收终端的类型为非本地局域网设备,根据接收终端的类型将数据包转发至接收终端,包括:基于接收终端的类型,转发添加了承载标识的数据包至接收终端。Optionally, the data packet comes from the core network or data network, and the type of the receiving terminal is a non-local LAN device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, the forwarding adds a bearer identifier data packets to the receiving terminal.
可选的,数据包来自于核心网或数据网络,接收终端的类型为蜂窝-非蜂窝聚合设备,根据接收终端的类型将数据包转发至接收终端,包括:基于接收终端的类型,接入网设备的PDCP层对添加了承载标识的数据包进行编码;通过局域网的通信链路将编码后的数据包发送至接收终端。Optionally, the data packet comes from the core network or data network, and the type of the receiving terminal is a cellular-non-cellular aggregation device, and the data packet is forwarded to the receiving terminal according to the type of the receiving terminal, including: based on the type of the receiving terminal, the access network The PDCP layer of the device encodes the data packet with the bearer identifier added; the encoded data packet is sent to the receiving terminal through the communication link of the LAN.
可选的,局域网的通信地址包括媒体接入控制MAC地址、本地IP地址、端口号中的一种或多种。Optionally, the communication address of the LAN includes one or more of a media access control MAC address, a local IP address, and a port number.
可选的,接收终端的类型至少包括非本地局域网设备、纯无线局域网设备、纯有线设备、蜂窝-非蜂窝聚合设备中的至少一个。Optionally, the type of the receiving terminal includes at least one of a non-local area network device, a pure wireless local area network device, a pure wired device, and a cellular-non-cellular aggregation device.
可选的,根据接收终端的属性确定接收终端的类型,包括:根据接收终端的属性中的公网IP地址确定接收终端为是否为非本地局域网设备;若是,确定接收终端的类型为非本地局域网设备;若否,根据接收终端的属性中的其他信息确定接收终端的类型是否为纯无线 局域网设备、纯有线设备和蜂窝-非蜂窝聚合设备中的一种;其中,接收终端的属性中的其他信息包括MAC地址、设备型号、接收终端与接入网设备连接时经过的中间设备的信息中的一种或多种。Optionally, determining the type of the receiving terminal according to the attributes of the receiving terminal includes: determining whether the receiving terminal is a non-local area network device according to the public network IP address in the attributes of the receiving terminal; if so, determining that the type of the receiving terminal is a non-local area network equipment; if not, determine whether the type of the receiving terminal is one of pure wireless LAN equipment, pure wired equipment, and cellular-non-cellular aggregation equipment according to other information in the attributes of the receiving terminal; wherein, other information in the attributes of the receiving terminal The information includes one or more of the MAC address, the device model, and the information of the intermediate device that the receiving terminal passes through when connecting to the access network device.
可选的,根据接收终端的属性中的公网IP地址确定接收终端为是否为非本地局域网设备,包括:获取至少一个公网IP地址,至少一个公网IP地址为通过无线局域网或有线网络接入的全部或部分的终端的公网IP地址;若接收终端的公网IP地址不属于至少一个公网IP地址,确定接收终端为非本地局域网设备,否则确定接收终端不是非本地局域网设备。Optionally, determining whether the receiving terminal is a non-local LAN device according to the public network IP address in the attributes of the receiving terminal includes: obtaining at least one public network IP address, at least one public network IP address is connected through a wireless local area network or a wired network. If the public network IP address of the receiving terminal does not belong to at least one public network IP address, it is determined that the receiving terminal is a non-local LAN device, otherwise it is determined that the receiving terminal is not a non-local LAN device.
第二方面,本申请提供了一种通信装置,该通信装置设置于接入网设备或与接入网设备可通信连接,通信装置包括:数据包接收模块,用于接收要发送至接收终端的数据包;设备类型确定模块,用于根据接收终端的属性确定接收终端的类型,其中,接收终端的属性至少包括接收终端的公网互联网协议IP地址;数据包转发模块,用于根据接收终端的类型将数据包转发至接收终端。In a second aspect, the present application provides a communication device, the communication device is set in the access network equipment or is communicably connected with the access network equipment, the communication device includes: a data packet receiving module, used to receive the data packet to be sent to the receiving terminal Data packet; device type determining module, used to determine the type of receiving terminal according to the attribute of receiving terminal, wherein, the attribute of receiving terminal includes at least the public network internet protocol IP address of receiving terminal; data packet forwarding module, used for according to receiving terminal Type forwards the packet to the receiving terminal.
第三方面,本申请提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器运行时,实现第一方面提供的任意一种方法。In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, any method provided in the first aspect is implemented.
第四方面,本申请提供了一种接入网设备,包括第二方面提供的通信装置,或者,包括存储器和处理器,存储器上存储有可在处理器上运行的计算机程序,处理器运行计算机程序时,执行第一方面提供的任意一种方法。In a fourth aspect, the present application provides an access network device, including the communication device provided in the second aspect, or including a memory and a processor, the memory stores a computer program that can run on the processor, and the processor runs the computer When executing a program, execute any one of the methods provided in the first aspect.
第五方面,本申请提供了一种计算机程序产品,其上存储有计算机程序,计算机程序被处理器运行时,实现第一方面提供的任意一种方法。In a fifth aspect, the present application provides a computer program product, on which a computer program is stored, and when the computer program is run by a processor, any one of the methods provided in the first aspect is implemented.
与现有技术相比,本申请实施例的技术方案具有以下有益效果:Compared with the prior art, the technical solutions of the embodiments of the present application have the following beneficial effects:
本申请第一方面提供的通信方法中,接入网设备在收到数据包之 后,不直接将其转发至数据网络或者核心网,而是先确定该数据包的接收终端的类型,并根据类型转发该数据包至接收终端。由此,能够适应多种类型终端共存的通信***,对于一些类型的接收终端,能够选择路径更短的通信路径,以能够提高通信效率,合理利用通信资源。In the communication method provided by the first aspect of the present application, after receiving the data packet, the access network device does not directly forward it to the data network or the core network, but first determines the type of the receiving terminal of the data packet, and according to the type Forward the packet to the receiving terminal. Therefore, it is possible to adapt to a communication system where multiple types of terminals coexist, and for some types of receiving terminals, a communication path with a shorter path can be selected, so as to improve communication efficiency and rationally utilize communication resources.
进一步,可以在现有的接入网设备的PDCP上层增加适配层,以执行确定该数据包的接收终端的类型的步骤。进一步,适配层可以与现有的SDAP层(或与SDAP层实现相似功能的协议层)结合,或者适配层可以设置与SDAP层以下。Further, an adaptation layer may be added on the upper layer of the PDCP of the existing access network equipment to perform the step of determining the type of the receiving terminal of the data packet. Further, the adaptation layer can be combined with the existing SDAP layer (or a protocol layer that implements similar functions with the SDAP layer), or the adaptation layer can be set below the SDAP layer.
进一步,接入网设备针对来自发送终端的数据包和来自于核心网或数据网络的数据包可以均执行判断接收终端的类型这一操作。但接入网设备对数据包的处理方式不同。Further, the access network device may perform the operation of determining the type of the receiving terminal for both the data packets from the sending terminal and the data packets from the core network or data network. However, access network devices process data packets differently.
附图说明Description of drawings
图1为现有技术中的一种3GPP的通信场景的示意图;FIG. 1 is a schematic diagram of a 3GPP communication scenario in the prior art;
图2为现有技术中的一种5G用户面协议栈的示意图;FIG. 2 is a schematic diagram of a 5G user plane protocol stack in the prior art;
图3为现有技术中的一种eRG对各个数据包的处理以及传输的示意图;FIG. 3 is a schematic diagram of processing and transmission of each data packet by an eRG in the prior art;
图4为现有技术中的一种LWA同位场景的示意图;FIG. 4 is a schematic diagram of an LWA co-location scenario in the prior art;
图5为现有技术中的一种LWA非同位场景的示意图;FIG. 5 is a schematic diagram of an LWA non-colocation scenario in the prior art;
图6为本申请实施例的一种通信方法的流程示意图;FIG. 6 is a schematic flowchart of a communication method according to an embodiment of the present application;
图7为本申请实施例的一种接入网设备协议栈结构的示意图;FIG. 7 is a schematic diagram of a protocol stack structure of an access network device according to an embodiment of the present application;
图8为本申请实施例的另一种接入网设备协议栈结构的示意图;FIG. 8 is a schematic diagram of another protocol stack structure of an access network device according to an embodiment of the present application;
图9为本申请实施例的一种实现通信方法的接入网的应用场景图;FIG. 9 is an application scenario diagram of an access network implementing a communication method according to an embodiment of the present application;
图10为图6中S602的一个具体实施例的流程示意图;FIG. 10 is a schematic flowchart of a specific embodiment of S602 in FIG. 6;
图11为本申请实施例的一种通信装置的结构示意图;FIG. 11 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图12为本申请实施例的一种接入网设备的结构示意图。FIG. 12 is a schematic structural diagram of an access network device according to an embodiment of the present application.
具体实施方式Detailed ways
根据目前3GPP在室内增强方面的研究进展,3GPP技术报告(Technology Report)技术评审(Technical Review,TR)22.858中引入了一种新的应用场景。请参见图1,图1为3GPP的一种通信场景的示意图,在该场景下,网络内部可能存在3GPP设备(如图1中的UE1和UE3)和非3GPP设备(如图1中的UE2和UE3),3GPP设备可以通过前置无线接入站(Premises Radio Access Station,PRAS)连接到演进的家庭网关(Evolved Residential Gateway,eRG),再连接到第五代移动通信技术(5th Generation Mobile Communication Technology,5G)核心(core)网,5G核心网也称为5GC,非3GPP设备可以通过有线连接(即通过网线连接)或无线局域网(Wireless Local Area Network,WLAN)连接到eRG。其中,UE3既支持通过PRAS连接到eRG,也支持有线连接或WLAN连接到eRG,故UE3可以认为是3GPP设备也可以认为是非3GPP设备。本申请提供的方法可以应用在该场景中。According to the current 3GPP research progress in indoor enhancement, a new application scenario is introduced in 3GPP Technical Report (Technology Report) Technical Review (TR) 22.858. Please refer to Figure 1. Figure 1 is a schematic diagram of a 3GPP communication scenario. In this scenario, there may be 3GPP devices (such as UE1 and UE3 in Figure 1) and non-3GPP devices (such as UE2 and UE3 in Figure 1) inside the network. UE3), 3GPP equipment can be connected to the evolved home gateway (Evolved Residential Gateway, eRG) through the Premises Radio Access Station (PRAS), and then connected to the fifth generation mobile communication technology (5th Generation Mobile Communication Technology , 5G) core (core) network, 5G core network is also called 5GC, and non-3GPP devices can be connected to eRG through wired connection (that is, connection through network cable) or wireless local area network (Wireless Local Area Network, WLAN). Among them, UE3 not only supports connecting to eRG through PRAS, but also supports connecting to eRG through wired connection or WLAN, so UE3 can be regarded as 3GPP equipment or non-3GPP equipment. The method provided in this application can be applied in this scenario.
为了使得本申请更加的清楚,首先对本申请涉及到的部分名词或内容作简单介绍。In order to make this application more clear, some nouns or contents involved in this application are briefly introduced first.
1、终端(terminal)。终端也可以称为用户设备(User Equipment,UE)、终端设备。本申请实施例中,终端是一种具有网络数据收发功能的设备,可以为终端设备、移动台(mobile station,MS)、移动终端(mobile terminal,MT)、接入终端设备、车载终端设备、工业控制终端设备、终端单元、终端站、移动站、远方站、远程终端设备、移动设备、无线通信设备、终端代理或终端装置等。终端可以是固定的或者移动的。需要说明的是,终端可以支持有线通信,也即通过网线进行通信,终端也可以支持至少一种无线通信技术,例如长期演进技术(Long Term Evolution,LTE)、新空口(new radio,NR)等。示例性的, 终端具体可以是手机(mobile phone)、平板电脑(pad)、台式机、笔记本电脑、一体机、车载终端、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、可穿戴设备、未来移动通信网络中的终端设备或者未来演进的公共移动陆地网络(public land mobile network,PLMN)中的终端设备等。在本申请的一些实施例中,终端还可以是具有收发功能的装置,例如芯片***。其中,芯片***可以包括芯片,还可以包括其它分立器件。1. Terminal. The terminal may also be called user equipment (User Equipment, UE) or terminal equipment. In the embodiment of the present application, a terminal is a device with a function of sending and receiving network data, which may be a terminal device, a mobile station (mobile station, MS), a mobile terminal (mobile terminal, MT), an access terminal device, a vehicle terminal device, Industrial control terminal equipment, terminal unit, terminal station, mobile station, remote station, remote terminal equipment, mobile equipment, wireless communication equipment, terminal agent or terminal device, etc. Terminals can be fixed or mobile. It should be noted that the terminal can support wired communication, that is, communicate through network cables, and the terminal can also support at least one wireless communication technology, such as long-term evolution technology (Long Term Evolution, LTE), new air interface (new radio, NR), etc. . Exemplarily, the terminal may specifically be a mobile phone (mobile phone), a tablet computer (pad), a desktop computer, a notebook computer, an all-in-one computer, a vehicle terminal, a virtual reality (virtual reality, VR) terminal device, an augmented reality (augmented reality, AR ) terminal equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, Wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocol (SIP) phones , wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication function, computing device or other processing device connected to a wireless modem, wearable device, future A terminal device in a mobile communication network or a terminal device in a future evolved public mobile land network (public land mobile network, PLMN), etc. In some embodiments of the present application, the terminal may also be a device capable of transmitting and receiving, such as a chip system. Wherein, the chip system may include a chip, and may also include other discrete devices.
其中,用于接收数据包的终端称之为接收终端(也可以称为接收终端),本申请实施例中的接收终端可以为图1中的3GPP设备,也可以为非3GPP设备。用于发送数据包的终端称为发送终端(也可以称为发送终端)。Wherein, the terminal used to receive the data packet is called the receiving terminal (also called the receiving terminal), and the receiving terminal in the embodiment of the present application may be the 3GPP device in FIG. 1 or a non-3GPP device. A terminal used to send a data packet is called a sending terminal (it may also be called a sending terminal).
2、接入网设备。本申请实施例中,接入网设备指的是用于为终端提供网络通信功能的设备,可以包括为终端提供无线通信连接的无线接入网(radio access network,RAN)设备等,此时,接入网设备可以支持至少一种无线通信技术,例如,LTE、NR等。示例的,RAN设备可以包括但不限于:RAN架构中的中心单元(Centralized Unit,CU)、分布单元(Distributed Unit,DU)、PRAS和eRG等。在本发明的另一些实施例中,接入网设备还可以为5G***中的下一代基站(generation nodeB,gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver  station,BTS)、家庭基站(例如,home evolved node B、或home node B,HNB)、基带单元(baseband unit,BBU)、收发点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等。RAN设备还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者接入网设备可以为中继站、接入点、车载设备、可穿戴设备以及未来移动通信中的网络设备或者未来演进的PLMN中的网络设备等。在一些实施例中,接入网设备还可以为具有为终端提供无线通信功能的装置,例如芯片***。示例的,芯片***可以包括芯片,还可以包括其它分立器件。2. Access network equipment. In the embodiment of the present application, the access network device refers to a device for providing a network communication function for the terminal, and may include a radio access network (radio access network, RAN) device for providing a wireless communication connection for the terminal. At this time, The access network device may support at least one wireless communication technology, for example, LTE, NR and so on. Exemplarily, the RAN equipment may include but not limited to: a central unit (Centralized Unit, CU), a distributed unit (Distributed Unit, DU), PRAS and eRG in the RAN architecture. In other embodiments of the present invention, the access network device may also be a next-generation base station (generation nodeB, gNB), an evolved node B (evolved node B, eNB), a 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 (for example, home evolved node B, or home node B , HNB), baseband unit (baseband unit, BBU), transmitting and receiving point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc. The RAN device can also be a wireless controller in the cloud radio access network (cloud radio access network, CRAN) scenario, or the access network device can be a relay station, an access point, a vehicle device, a wearable device, and a wireless controller in future mobile communications. Network equipment or network equipment in the future evolved PLMN, etc. In some embodiments, the access network device may also be an apparatus having a wireless communication function for a terminal, such as a chip system. Exemplarily, the system-on-a-chip may include a chip, and may also include other discrete devices.
本申请实施例中的基站可以由基站控制器管理,例如2G网络中的基站控制器(base station controller,BSC)、3G网络中的无线网络控制器(radio network controller,RNC)、还可指未来新的通信***中控制管理基站的装置。The base station in the embodiment of the present application may be managed by a base station controller, such as a base station controller (base station controller, BSC) in a 2G network, a radio network controller (radio network controller, RNC) in a 3G network, and also refer to the future A device for controlling and managing base stations in a new communication system.
3、核心网设备。本申请实施例中,核心网设备位于核心网中,可以用于对数据包转发和解析。例如,以5G通信***为例,核心网设备可以包括但不限于:会话管理功能(Session Management Function,SMF)设备、接入和移动性管理功能(Access and Mobility Management Function,AMF)设备等。3. Core network equipment. In the embodiment of the present application, the core network device is located in the core network and can be used for forwarding and analyzing data packets. For example, taking the 5G communication system as an example, the core network equipment may include but not limited to: Session Management Function (Session Management Function, SMF) equipment, Access and Mobility Management Function (Access and Mobility Management Function, AMF) equipment, etc.
4、数据网络。本申请实施例中,数据网络(Data Network,DN),是指提供数据服务的通信网,包括但不限于:公用数据网(Public Data Network,PDN)、局域数据网(Local Area Data Network,LADN)等。4. Data network. In the embodiment of this application, a data network (Data Network, DN) refers to a communication network that provides data services, including but not limited to: public data network (Public Data Network, PDN), local area data network (Local Area Data Network, LADN) and so on.
5、本申请涉及到的设备类型。5. The type of equipment involved in this application.
本地局域网设备,也即不是非本地局域网设备的设备:对于一个接入网设备而言,其本地局域网设备是指与该接入网设备接入同一局域网(Local Area Network,LAN)的其他终端设备,传输至该设备的数据包无需经过核心网或外部数据转发。Local area network devices, that is, devices that are not non-local area network devices: For an access network device, its local area network device refers to other terminal devices that are connected to the same local area network (Local Area Network, LAN) as the access network device , the data packets transmitted to the device do not need to go through the core network or external data forwarding.
非本地局域网设备:区别于本地局域网设备,传输至该设备的数 据包需要经过核心网或外部数据转发。Non-local LAN device: Different from local LAN devices, data packets transmitted to this device need to be forwarded through the core network or external data.
可选的,本地局域网设备根据接入网络的方式的不同,还可以分为纯无线局域网设备、纯有线设备、蜂窝设备、蜂窝-非蜂窝聚合设备等。Optionally, local LAN devices can also be classified into pure wireless LAN devices, pure wired devices, cellular devices, cellular-non-cellular aggregation devices, etc. according to different ways of accessing the network.
纯无线局域网设备:是指仅通过WLAN接入网络的终端。例如,若图1中的UE2在一段时间内仅通过WLAN连接的方式接入网络(如与eRG连接),则UE2在该时间段内被认为是纯无线局域网设备。Pure WLAN device: refers to a terminal that accesses the network only through WLAN. For example, if UE2 in FIG. 1 only accesses the network through a WLAN connection (such as connecting with an eRG) for a period of time, UE2 is considered a pure wireless local area network device during this period of time.
纯有线设备:是指仅通过有线连接的方式接入网络的终端。例如,若图1中的UE2在一段时间内仅通过有线连接的方式接入网络(如与eRG连接),则UE2在该时间段内被认为是纯有线设备。Purely wired device: refers to a terminal that accesses the network only through a wired connection. For example, if UE2 in FIG. 1 only accesses the network through a wired connection (such as connecting with an eRG) for a period of time, UE2 is considered as a purely wired device during this period of time.
蜂窝设备:是指仅通过蜂窝连接接入网络的设备,可以包括通过用户识别(Subscriber Identity Module,SIM)卡或全球用户识别(Universal Subscriber Identity Module,USIM)卡接入网络的设备,蜂窝设备可以包括3G/4G/5G/6G等设备。例如,蜂窝设备可以指图1中的UE1。Cellular device: refers to a device that accesses the network only through a cellular connection, including devices that access the network through a Subscriber Identity Module (SIM) card or a Universal Subscriber Identity Module (USIM) card. Cellular devices can Including 3G/4G/5G/6G and other equipment. For example, a cellular device may refer to UE1 in FIG. 1 .
蜂窝-非蜂窝聚合设备:是指面向同一服务,可以同时通过蜂窝连接(如LTE/5G等)和非蜂窝连接(如WLAN/有线)来访问该服务,并能协调处理对应的数据(如重复包检测等)的设备。例如,蜂窝-非蜂窝聚合设备可以指图1中的UE3。Cellular-non-cellular aggregation device: refers to the same service, which can be accessed through cellular connections (such as LTE/5G, etc.) and non-cellular connections (such as WLAN/wired) at the same time, and can coordinate and process corresponding data (such as repeated Packet detection, etc.) equipment. For example, the cellular-non-cellular aggregation device may refer to UE3 in FIG. 1 .
需要说明的是,同一终端可以支持通过WLAN、蜂窝连接、非蜂窝连接、有线、蜂窝连接+非蜂窝连接等接入方式中的一种或两种或两种以上的方式接入网络。It should be noted that the same terminal can support access to the network through one or two or more access methods of WLAN, cellular connection, non-cellular connection, wired connection, cellular connection + non-cellular connection, and other access methods.
接入网设备在判断一个设备为本地局域网设备还是非本地局域网设备时,可以通过以下方式判断:When an access network device judges whether a device is a local LAN device or a non-local LAN device, it can be judged in the following ways:
方式a、接入网设备可以将直接/间接与自己连接,以实现网络通信的终端确定为本地局域网设备,将所有不属于本地局域网设备的终端确定为非本地局域网设备。例如,参见图1,若接入网设备为eRG, 则eRG可以确定图1中示出的通过PARS间接与自己连接的UE1和UE3为本地局域网设备,并且确定图1中示出的通过有线或WLAN与自己直接连接的UE2和UE3为本地局域网设备。也即,此时,UE1、UE2和UE3均为本地局域网设备。Method a. The access network device can directly or indirectly connect to itself to realize network communication terminals as local LAN devices, and all terminals that do not belong to local LAN devices as non-local LAN devices. For example, referring to FIG. 1, if the access network device is an eRG, the eRG may determine that the UE1 and UE3 indirectly connected to itself through PARS shown in FIG. UE2 and UE3 directly connected to WLAN and itself are local LAN devices. That is, at this time, UE1, UE2, and UE3 are all local LAN devices.
方式b、接入网设备可以将预设的设备表中的终端确定为本地局域网设备,将不在预设的设备表中的终端确定为非本地局域网设备。此时,预设的设备表中的终端可以为直接/间接与接入网设备连接以实现网络通信的终端的全部或者部分。例如,预设的设备表中可以仅包括图1中示出的通过PARS间接与自己连接的3GPP设备(即UE1和UE3),此时仅UE1和UE3为本地局域网设备,UE2为非本地局域网设备。Mode b. The access network device may determine the terminals in the preset device table as local LAN devices, and determine the terminals not in the preset device table as non-local LAN devices. At this time, the terminals in the preset device list may be all or part of the terminals that are directly or indirectly connected to the access network device to implement network communication. For example, the preset device table may only include the 3GPP devices (that is, UE1 and UE3) that are indirectly connected to itself through PARS shown in Figure 1. At this time, only UE1 and UE3 are local LAN devices, and UE2 is a non-local LAN device. .
方式c、接入网设备可以根据各个终端的公网IP地址确定该终端为本地局域网设备还是非本地局域网设备。此时,一种实现方式中,接入网设备可以直接根据各个终端的公网IP地址确定该终端为本地局域网设备还是非本地局域网设备。另一种实现方式中,将预设的设备表中的各个终端的标识设置为各个终端的公网IP地址,接入网设备可以将预设的设备表中的终端确定为本地局域网设备,将不在预设的设备表中的终端确定为非本地局域网设备。Mode c. The access network device can determine whether the terminal is a local LAN device or a non-local LAN device according to the public network IP address of each terminal. At this time, in an implementation manner, the access network device may directly determine whether the terminal is a local LAN device or a non-local LAN device according to the public network IP address of each terminal. In another implementation, the identifier of each terminal in the preset device table is set as the public network IP address of each terminal, and the access network device can determine the terminal in the preset device table as a local area network device, and set Terminals not in the preset device table are determined as non-local LAN devices.
6、设备中协议层对业务数据的处理方式。6. The protocol layer in the device processes business data.
此处的设备可以包括各个终端、接入网设备(如PARS、eRG、基站等)、网络设备(如5GC等)。The equipment here may include various terminals, access network equipment (such as PARS, eRG, base station, etc.), network equipment (such as 5GC, etc.).
设备在发送业务数据时,设备中的各个协议层自上而下对业务数据依次进行处理后发送出去,在接收业务数据时,设备中的各个协议层自下而上对接收到的数据包进行处理后获取业务数据。When the device sends business data, each protocol layer in the device processes the business data sequentially from top to bottom and sends it out. When receiving business data, each protocol layer in the device processes the received data packets from bottom to top. Get business data after processing.
以下通过图2,对协议层对业务数据的处理方式进行示例性说明。图2为现有技术中的一种5G用户面协议栈的示意图;在终端侧和接入网设备(以基站为例进行说明)侧都布局有服务数据适配协议 (Service Data Adaptation Protocol,SDAP)层、分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层、无线链路控制(Radio Link Control,RLC)层、媒体接入控制(Media Access Control,MAC)层和物理(Physical,PHY)层,各层之间对业务数据进行处理的流程可参见图3。The following uses FIG. 2 to exemplify how the protocol layer processes service data. Figure 2 is a schematic diagram of a 5G user plane protocol stack in the prior art; a Service Data Adaptation Protocol (Service Data Adaptation Protocol, SDAP) is deployed on both the terminal side and the access network device (taking the base station as an example) side ) 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 (Physical, PHY) layer , the flow of processing business data between layers can be referred to in Figure 3.
以终端发送业务数据、接入网设备接收业务数据为例,参见图3,在终端侧,当一个协议层接收到上层(例如,IP层)递交的数据包(该数据包可以称为该协议层的SDU,例如,SDAP层接收到的数据包可以称为SDAP SDU,PDCP层接收到的数据包可以称为PDCP SDU,RLC层接收到的数据包可以称为RLC SDU,MAC层接收到的数据包可以称为MAC SDU)后,该协议层为该数据包增加对应的包头(Header,图中以H表示),并将增加包头后的数据包递交给下层。SDAP层接收到的数据包可以为IP包(Packet)。也就是说,终端中的SDAP层、PDCP层、RLC层以及MAC层依次对IP包增加包头后,通过PHY将业务数据发送出去。其中,RLC层可能对从上层接收到的数据包进行拆分得到多个SDU块。在MAC层,可以将一个或多个无线承载(radio bearer,RB)上递交下来的多个MAC SDU增加包头后组成一个TB进行传输。接入网设备在接收到数据包之后,自下而上在每个协议层依次将该层对应的包头(H)删除,在SDAP层获取到IP包。图中的RBx和RBy标识不同的RB,对应不同的无线数据业务。Taking the terminal sending service data and the access network equipment receiving service data as an example, see Figure 3. On the terminal side, when a protocol layer receives a data packet (such as the IP layer) submitted by the upper layer (the data packet can be called the protocol For example, the data packets received by the SDAP layer can be called SDAP SDUs, the data packets received by the PDCP layer can be called PDCP SDUs, the data packets received by the RLC layer can be called RLC SDUs, and the data packets received by the MAC layer can be called RLC SDUs. After the data packet can be referred to as MAC SDU), the protocol layer adds a corresponding header (Header, represented by H in the figure) for the data packet, and submits the data packet after adding the header to the lower layer. The data packet received by the SDAP layer may be an IP packet (Packet). That is to say, after the SDAP layer, PDCP layer, RLC layer and MAC layer in the terminal add a header to the IP packet in sequence, the service data is sent out through the PHY. Wherein, the RLC layer may split the data packet received from the upper layer to obtain multiple SDU blocks. At the MAC layer, multiple MAC SDUs submitted on one or more radio bearers (RB) can be added with headers to form a TB for transmission. After receiving the data packet, the access network device deletes the packet header (H) corresponding to each protocol layer from bottom to top, and obtains the IP packet at the SDAP layer. RBx and RBy in the figure identify different RBs and correspond to different wireless data services.
其中,本申请各个实施例中提到的“上层”和“下层”与现有协议中网络(如LTE或3GPP等)的各个协议层级之间的关系一致,如PHY层为MAC层的下层。Wherein, the "upper layer" and "lower layer" mentioned in each embodiment of the present application are consistent with the relationship between each protocol layer of the network (such as LTE or 3GPP, etc.) in the existing protocol, such as the PHY layer is the lower layer of the MAC layer.
7、本申请涉及到的网络接入方式。7. The network access method involved in this application.
间接接入:包括通过路由器、光猫、接入点(Access Point,AP)等中间设备接入。Indirect access: including access through intermediate devices such as routers, optical modems, and access points (Access Point, AP).
直接接入:指不通过中间设备接入网络,区别于间接接入,可以 包括有线连接或者通过无线接入。Direct access: Refers to accessing the network without an intermediate device. Different from indirect access, it can include wired connection or wireless access.
以上是对本申请涉及到的部分概念所作的简单介绍。The above is a brief introduction to some of the concepts involved in this application.
本申请提供的方法可以应用于WLAN通信的场景中,WLAN通信的场景可以为家庭内设备或办公区域内设备之间的通信场景,例如,手机投屏到电视,手机与打印机连接(例如,手机通过本地局域网内部的路由连接打印文件)、电脑与手机连接(例如,手机通过本地局域网内部的路由连接传输数据到电脑),传感器与手机(例如,传感器通过本地局域网内部的路由连接将警报信息传输到手机)等通信场景,实际通信中不希望这些通信场景下的业务数据路由到核心网设备或外部的数据网络再发送至电视、打印机或手机上。这就需要eRG能够支持本地局域网内部的路由。The method provided by this application can be applied to the scenario of WLAN communication. The scenario of WLAN communication can be the communication scenario between devices in the home or in the office area. Print files through the routing connection inside the local area network), computer and mobile phone connection (for example, the mobile phone transmits data to the computer through the routing connection inside the local area network), sensor and mobile phone (for example, the sensor transmits alarm information through the routing connection inside the local area network To mobile phones) and other communication scenarios, in actual communication, it is not expected that business data in these communication scenarios will be routed to core network devices or external data networks and then sent to TVs, printers or mobile phones. This requires the eRG to support routing within the local area network.
在3GPP面向4G发展的长期演进(Long Term Evolution,LTE)技术中,曾研究过基于家庭基站的本地互联网协议(Internet Protocol,IP)访问(Local IP Access,LIPA)和面向LTE-WLAN聚合(LTE-WLAN Aggregation,LWA)技术,但这两种技术都要求目标设备(即接收数据的设备)具有3GPP能力,也即要求目标设备为3GPP设备。以LWA技术为例,LWA可包含同位(Collocated)和非同位(Non-Collocated)两种场景,请参见图4和图5,图4为一种LWA同位场景的示意图,图5为一种LWA非同位场景的示意图,LWA同位场景为WLAN设置在基站(如eNB)内部的场景,LWA非同位场景为WLAN设置在基站以外的场景。图4和图5中的WLAN指的是WLAN功能实体,包括实现WLAN的硬件实体和WLAN协议栈。In 3GPP's long-term evolution (Long Term Evolution, LTE) technology for 4G development, it has studied local Internet Protocol (Internet Protocol, IP) access (Local IP Access, LIPA) based on home base stations and LTE-WLAN aggregation (LTE -WLAN Aggregation, LWA) technology, but both technologies require the target device (that is, the device receiving data) to have 3GPP capabilities, that is, the target device is required to be a 3GPP device. Taking LWA technology as an example, LWA can include two scenarios: Collocated and Non-Collocated. Please refer to Figure 4 and Figure 5. Figure 4 is a schematic diagram of an LWA collocated scenario, and Figure 5 is an LWA Schematic diagram of a non-colocation scenario. The LWA colocation scenario is a scenario in which the WLAN is set inside a base station (such as an eNB), and the LWA non-colocation scenario is a scenario in which the WLAN is set outside the base station. The WLAN in FIG. 4 and FIG. 5 refers to a WLAN functional entity, including a hardware entity and a WLAN protocol stack for realizing the WLAN.
在图4的LWA同位场景中,基站(如eNB)中均可以包括:LTE承载(Bearer)对应的PDCP层和RLC层,分离的(Split)LWA承载对应的PDCP层和RLC层,切换的(Switched)LWA承载对应的PDCP层和LTE-WLAN聚合适配协议(LTE-WLAN Adaptation Protocol,LWAAP)层。分离的LWA承载对应的PDCP层通过切换的LWA承载对应的LWAAP层连接至基站的WLAN层,分离的LWA 承载对应的RLC层和LTE承载对应的RLC层均与MAC层连接。基站与分组核心网(Evolved Packet Core,EPC)之间的通信接口为S1接口。图5的LWA非同位场景与图4的LWA同位场景之间的区别在于,基站的WLAN层被设置于终端中(此时,该终端可以称为WLAN终端(WLAN Termination,WT)),基站与WT之间通过Xw接口连接。其中,Xw接口为基站(eNB)与无线局域网中WT之间的接口。In the LWA co-location scenario in Figure 4, the base station (such as eNB) may include: the PDCP layer and RLC layer corresponding to the LTE bearer (Bearer), the PDCP layer and RLC layer corresponding to the split (Split) LWA bearer, and the handover ( Switched) LWA bears the corresponding PDCP layer and LTE-WLAN Aggregation Adaptation Protocol (LTE-WLAN Adaptation Protocol, LWAAP) layer. The PDCP layer corresponding to the separated LWA bearer is connected to the WLAN layer of the base station through the LWAAP layer corresponding to the switched LWA bearer, and the RLC layer corresponding to the separated LWA bearer and the RLC layer corresponding to the LTE bearer are both connected to the MAC layer. The communication interface between the base station and the packet core network (Evolved Packet Core, EPC) is the S1 interface. The difference between the LWA non-colocation scenario in FIG. 5 and the LWA colocation scenario in FIG. The WTs are connected through the Xw interface. Wherein, the Xw interface is the interface between the base station (eNB) and the WT in the wireless local area network.
在这两种场景中都引入了LWAAP层,特别的,对于非同位场景,还引入了WT(例如,可以为路由器),用以终止基站到WLAN的Xw接口协议。The LWAAP layer is introduced in these two scenarios, especially for the non-colocated scenario, a WT (for example, a router) is also introduced to terminate the Xw interface protocol from the base station to the WLAN.
其中,LWAAP层的主要功能是为PDCP层的数据包添加无线承载标识(Radio Bearer Identify,RBID),用以标识其来自某个特定的承载(Bearer)。添加完RBID的数据包通过WLAN传输到终端,在传输过程中,WLAN为数据包添加LWA以太类型标识(现有协议中该标识为0x9E65),用以与其他WLAN数据包进行区分。在终端侧的WLAN模块若根据该以太网标识识别到该类型的数据包,终端会将数据包的RBID去除后传给终端的LTE模块的PDCP层进行处理,以完成数据包的传输。根据图4和图5可以看出,不论是在同位场景还是非同位场景,基站在发送数据包时,该数据包都是先经过PDCP层的处理(例如,加密),再经过LWAAP层的处理。这就意味着,接收到该数据包的终端必须具备能够将数据包的RBID去除的能力,也即终端需要具备WLAN能力;另外,终端还需要具有与基站对等的PDCP层,从而能够对数据包解析还原出业务数据,也即终端需要具备LTE能力。也就是说,接收到该数据包的终端必须同时具备WLAN能力和LTE能力,其适用的场景比较局限。Among them, the main function of the LWAAP layer is to add a Radio Bearer Identify (RBID) to the data packet of the PDCP layer to identify that it comes from a specific bearer (Bearer). The data packet with the RBID added is transmitted to the terminal through the WLAN. During the transmission, the WLAN adds an LWA Ethernet type identifier (the identifier is 0x9E65 in the existing protocol) to the data packet to distinguish it from other WLAN data packets. If the WLAN module on the terminal side recognizes this type of data packet according to the Ethernet identifier, the terminal will remove the RBID of the data packet and pass it to the PDCP layer of the LTE module of the terminal for processing to complete the transmission of the data packet. According to Figure 4 and Figure 5, it can be seen that no matter in the co-location scenario or the non-colocation scenario, when the base station sends a data packet, the data packet is first processed by the PDCP layer (for example, encrypted), and then processed by the LWAAP layer . This means that the terminal receiving the data packet must have the ability to remove the RBID of the data packet, that is, the terminal needs to have the WLAN capability; in addition, the terminal also needs to have the PDCP layer equivalent to the base station, so that it can process the data Packet analysis restores service data, that is, the terminal needs to have LTE capability. That is to say, the terminal receiving the data packet must have both the WLAN capability and the LTE capability, and its applicable scenarios are relatively limited.
根据上文中的描述可知,在现有技术中,接入网设备(如基站)通过WLAN向终端传输网络数据时,只能向同时具备WLAN能力和LTE能力的设备传输。也就是说,对于不同时具备WLAN能力和LTE能力的设备,需要经过核心网或数据网络,才能向这些设备传输网络 数据,会导致通信路径过长,从而影响通信效率。According to the above description, in the prior art, when an access network device (such as a base station) transmits network data to a terminal through a WLAN, it can only transmit to a device that has both WLAN and LTE capabilities. That is to say, for devices that do not have WLAN capabilities and LTE capabilities at the same time, they need to pass through the core network or data network to transmit network data to these devices, which will cause the communication path to be too long, thereby affecting communication efficiency.
另外,随着通信技术的发展,未来的通信***中必然会存在多种不同类型的终端,如何为不同的类型的终端之间的数据传输规划适合的通信链路,从而提高通信效率,合理利用通信资源,将成为一个必须面对的问题。In addition, with the development of communication technology, there will inevitably be many different types of terminals in the future communication system. How to plan suitable communication links for data transmission between different types of terminals, so as to improve communication efficiency and rationally utilize Communication resources will become a problem that must be faced.
为了提高通信效率,本申请实施例提供了一种通信方法,该通信方法中,通过为不同类型的设备选择数据通信链路,从而避免某些设备的数据包通信路径过长,提高通信效率。In order to improve communication efficiency, an embodiment of the present application provides a communication method. In the communication method, by selecting data communication links for different types of devices, the data packet communication path of some devices is avoided from being too long, and the communication efficiency is improved.
参见图6,该方法包括如下步骤:S601至S603,详述如下。Referring to Fig. 6, the method includes the following steps: S601 to S603, which are described in detail as follows.
S601,接入网设备接收要发送至接收终端的数据包。S601. The access network device receives a data packet to be sent to a receiving terminal.
接入网设备可以为PRAS、eRG、基站、小基站或者接入点(AP)等用于接入数据网络或者5G核心网的设备,各个终端直接或间接接入该接入网设备,实现网络通信。The access network equipment can be PRAS, eRG, base station, small base station or access point (AP) and other equipment used to access the data network or 5G core network. Each terminal directly or indirectly accesses the access network equipment to realize network communication.
其中,接入网设备接收到的数据包可以来自于发送终端,也可以来自于核心网或数据网络,该数据包可以经过若干个中间设备转发至接收终端,中间设备可以包括路由器、光猫、接入网设备、数据网络以及核心网设备等中的一个或多个。Among them, the data packet received by the access network device may come from the sending terminal, or from the core network or data network, and the data packet may be forwarded to the receiving terminal through several intermediate devices, which may include routers, optical modems, One or more of access network equipment, data network equipment, and core network equipment.
S602,接入网设备根据接收终端的属性确定接收终端的类型,其中,接收终端的属性至少包括接收终端的公网IP地址。S602. The access network device determines the type of the receiving terminal according to the attribute of the receiving terminal, where the attribute of the receiving terminal includes at least a public network IP address of the receiving terminal.
可选的,接收终端的类型可以包括非本地局域网设备、纯无线局域网设备、纯有线设备、蜂窝-非蜂窝聚合设备中的至少一个。Optionally, the type of the receiving terminal may include at least one of a non-local area network device, a pure wireless local area network device, a pure wired device, and a cellular-non-cellular aggregation device.
需要说明的是,终端的类型包括但不限于上述的示例,接入网设备可以根据通信链路的划分需要,对终端进行自定义的类型划分,并确定划分后各个类型的终端对应的数据包处理方式以及通信链路,这里不再赘述。It should be noted that the types of terminals include but are not limited to the above-mentioned examples. The access network device can classify terminals according to the needs of communication links, and determine the data packets corresponding to each type of terminal after division. The processing method and communication link will not be repeated here.
可选的,接收终端的属性为用于确定接收终端支持的通信链路的 信息。接收终端的属性可以包括接收终端的公网IP地址、MAC地址。接收终端的属性还可以包括接收终端的设备型号等信息。接收终端的属性还可以包括接收终端与接入网设备连接时经过的中间设备的信息(如中间设备的标识号等)。Optionally, the attribute of the receiving terminal is information used to determine the communication link supported by the receiving terminal. The attributes of the receiving terminal may include the public network IP address and MAC address of the receiving terminal. The attributes of the receiving terminal may also include information such as the device model of the receiving terminal. The attribute of the receiving terminal may also include the information of the intermediate device (such as the identification number of the intermediate device, etc.) that the receiving terminal passes through when connecting to the access network device.
需要说明的是,接收终端的属性包括但不限于上述示例,所有能够用于确定接收终端支持的通信链路的信息均为本申请实施例中的接收终端的属性的保护范围。It should be noted that the attributes of the receiving terminal include but are not limited to the above examples, and all information that can be used to determine the communication link supported by the receiving terminal is within the scope of protection of the attributes of the receiving terminal in this embodiment of the application.
可选的,接入网设备可以根据接收终端的公网IP地址确定接收终端的类型,例如,接入网设备通过检测接收终端公网IP地址是否在预设的设备表中以判定接收终端为本地局域网设备或非本地局域网设备。Optionally, the access network device may determine the type of the receiving terminal according to the public network IP address of the receiving terminal. For example, the access network device determines whether the receiving terminal is Local LAN device or non-local LAN device.
可选的,接入网设备还可以根据各个终端的设备型号确定终端具体是本地局域网设备中的哪种类型,比如,当终端为智能手机时,若终端的型号为XY,XY型号的手机支持WLAN、蜂窝两种接入网络的方式,若该手机在访问数据网络时优先通过WLAN访问,则接入网设备可以将该终端确定为纯WLAN设备,若该手机在访问数据网络时,可以同时通过WLAN和蜂窝访问网络,但是二者之间没有协调处理数据的能力,则接入网设备将该终端视为两个独立的纯WLAN设备和纯蜂窝设备,若该手机在访问数据网络时,可以同时通过WLAN和蜂窝访问网络,且二者之间能够协调处理数据,则接入网设备可以将该终端确定为蜂窝-非蜂窝聚合设备。Optionally, the access network device can also determine which type of the terminal is in the local area network device according to the device model of each terminal. For example, when the terminal is a smart phone, if the model of the terminal is XY, the mobile phone of the XY model supports There are two ways to access the network: WLAN and cellular. If the mobile phone accesses the data network preferentially through WLAN, the access network device can determine the terminal as a pure WLAN device. If the mobile phone accesses the data network, it can simultaneously Access to the network through WLAN and cellular, but there is no ability to coordinate and process data between the two, the access network device regards the terminal as two independent pure WLAN devices and pure cellular devices, if the mobile phone is accessing the data network, If the network can be accessed through WLAN and cellular at the same time, and data can be coordinated and processed between the two, the access network device can determine the terminal as a cellular-non-cellular aggregation device.
S603,接入网设备根据接收终端的类型将数据包转发至接收终端。S603. The access network device forwards the data packet to the receiving terminal according to the type of the receiving terminal.
可选的,接入网设备可以为不同类型的接收终端确定不同的通信链路,并通过确定的通信链路将数据包转发至接收终端。此时,在接入网设备侧可以维护一套根据接收终端的类型确定对数据包的处理方式以及通信链路的规则,以使得接入网设备能够根据该规则确定转发各个数据包的通信链路。Optionally, the access network device may determine different communication links for different types of receiving terminals, and forward the data packets to the receiving terminals through the determined communication links. At this time, on the access network device side, a set of rules for determining the processing method of the data packet and the communication link according to the type of the receiving terminal can be maintained, so that the access network device can determine the communication link for forwarding each data packet according to the rules. road.
通过图6的通信方法,接入网设备在收到数据包之后,不直接将其转发至数据网络或者核心网,而是先确定该数据包的接收终端的类型,并根据类型转发该数据包至接收终端。由此,能够适应多种类型终端共存的通信***,对于一些类型的接收终端,能够选择路径更短的通信路径,以能够提高通信效率,合理利用通信资源。Through the communication method in Figure 6, after receiving the data packet, the access network device does not directly forward it to the data network or the core network, but first determines the type of the receiving terminal of the data packet, and forwards the data packet according to the type to the receiving terminal. Therefore, it is possible to adapt to a communication system where multiple types of terminals coexist, and for some types of receiving terminals, a communication path with a shorter path can be selected, so as to improve communication efficiency and rationally utilize communication resources.
在一个实施例中,接入网设备包括适配(Adopter)层,图6中S602由适配层执行。可选的,接入网设备还包括PDCP层,适配层设置为PDCP层的上层协议层。In one embodiment, the access network device includes an adaptor (Adopter) layer, and S602 in FIG. 6 is performed by the adaptor layer. Optionally, the access network device further includes a PDCP layer, and the adaptation layer is set as an upper protocol layer of the PDCP layer.
本申请在现有的接入网设备的PDCP层的上层增加适配层,适配层用于执行上述S602,适配层除了确定接收终端的类型之外,还可以用于确定该数据包对应的通信链路。从而,由接入网设备的各协议层配合完成对数据包的处理,并将处理后的数据包通过确定的通信链路发送至接收终端。This application adds an adaptation layer on the upper layer of the PDCP layer of the existing access network equipment. The adaptation layer is used to perform the above S602. In addition to determining the type of the receiving terminal, the adaptation layer can also be used to determine the corresponding communication link. Therefore, each protocol layer of the access network device cooperates to complete the processing of the data packet, and sends the processed data packet to the receiving terminal through the determined communication link.
需要说明的是,具备执行本申请实施例中适配层功能的协议层后续有可能为其他名称,但是具备其中一种功能的协议层都可以认为是本申请实施例中的协议层。It should be noted that the protocol layer having the function of performing the adaptation layer in the embodiment of the present application may be called another name later, but the protocol layer having one of the functions can be regarded as the protocol layer in the embodiment of the present application.
在一个具体的实施例中,请参见图7和图8,其为两种接入网设备协议栈结构的示意图,图7中适配层设置于PDCP层的上层、SDAP层(或者实现5G中SDAP层相似功能的其他协议层,后文不再说明)的下层。图8中适配层设置于PDCP层的上层,且该适配层与SDAP层整合为一层,此时可以对现有的SDAP层进行增强,在现有的SDAP层增加了本文中适配层的功能。可选的,接入网设备的PDCP层的下层还可以包括WLAN AP/有线AP(图中未示出),WLAN AP用于向本地局域网中的WLAN设备或蜂窝-非蜂窝聚合设备通过WLAN发送处理后的数据包。In a specific embodiment, please refer to FIG. 7 and FIG. 8, which are schematic diagrams of two access network device protocol stack structures. In FIG. The lower layer of other protocol layers with similar functions to the SDAP layer, which will not be described later). In Figure 8, the adaptation layer is set on the upper layer of the PDCP layer, and the adaptation layer and the SDAP layer are integrated into one layer. At this time, the existing SDAP layer can be enhanced, and the adaptation in this paper is added to the existing SDAP layer. layer function. Optionally, the lower layer of the PDCP layer of the access network device may also include a WLAN AP/wired AP (not shown in the figure), and the WLAN AP is used to send data to the WLAN device or the cellular-non-cellular aggregation device in the local area network through the WLAN. processed packets.
请参见图9,图9为本申请实施例提供的一种各个设备中的协议层的示意图,发送终端(以UE1表示)901通过PARS 902与接入网设备903连接,以接入核心网/数据网络904。其中,UE1 901的协议 栈结构可参照图2中的说明,PARS侧未部署SDAP层,其他协议层与UE1对应。接入网设备903的协议栈结构也可以替换为图8中的结构。接入网设备903的WLAN AP/有线AP可以与WLAN设备(Device)905连接,WLAN设备905的协议栈结构由上往下可以包括逻辑链路控制(Logical Link Control,LLC)层、MAC层和PHY层。接入网设备903可以通过其WLAN AP/有线AP(图中未示出)与接收终端(图中以UE2表示)906进行数据传输。UE2 906侧可以部署WLAN通信协议和5G通信协议(也即蜂窝通信),WLAN通信协议和5G通信协议中各层的结构可参照现有技术和前述实施例的说明,这里不再赘述。Please refer to FIG. 9. FIG. 9 is a schematic diagram of a protocol layer in each device provided by the embodiment of the present application. The sending terminal (represented by UE1) 901 is connected to the access network device 903 through PARS 902 to access the core network/ data network 904 . Wherein, the protocol stack structure of UE1 901 can refer to the description in Fig. 2, the SDAP layer is not deployed on the PARS side, and other protocol layers correspond to UE1. The protocol stack structure of the access network device 903 may also be replaced with the structure in FIG. 8 . The WLAN AP/wired AP of the access network device 903 can be connected with the WLAN device (Device) 905, and the protocol stack structure of the WLAN device 905 can include a logical link control (Logical Link Control, LLC) layer, a MAC layer and PHY layer. The access network device 903 can perform data transmission with the receiving terminal (indicated by UE2 in the figure) 906 through its WLAN AP/wired AP (not shown in the figure). The WLAN communication protocol and 5G communication protocol (that is, cellular communication) can be deployed on the UE2 906 side. The structure of each layer in the WLAN communication protocol and the 5G communication protocol can refer to the description of the prior art and the foregoing embodiments, and will not be repeated here.
本申请实施例中通信方法在应用于图9的通信场景时,若UE1 901向UE2 906传输数据包,则可以通过图6以及下文中的示例1至示例3实现。若核心网/数据网络904向UE2 906传输数据包,则可以通过图6下文中的示例4至示例6实现。When the communication method in the embodiment of the present application is applied to the communication scenario in FIG. 9, if UE1 901 transmits a data packet to UE2 906, it can be realized through FIG. 6 and Example 1 to Example 3 below. If the core network/data network 904 transmits the data packet to the UE2 906, it can be realized through Example 4 to Example 6 below in FIG. 6 .
根据上文的描述可知,接入网设备接收到的数据包可以来自于发送终端(记为情况1),也可以来自于核心网或数据网络(记为情况2),以下对情况1和情况2下本申请的技术方案进行详细阐述。According to the above description, it can be seen that the data packets received by the access network equipment can come from the sending terminal (referred to as case 1), or from the core network or data network (referred to as case 2). The following describes case 1 and case 2 The technical scheme of the present application is described in detail.
情况1、接入网设备接收到的数据包来自于发送终端。 Case 1. The data packet received by the access network device comes from the sending terminal.
在情况1下,发送终端可以为本地局域网设备。In case 1, the sending terminal may be a local area network device.
在情况1下,在S602之前,该方法还可以包括:接入网设备中的PDCP层对数据包进行解码;接入网设备中的适配层从解码后的数据包中提取接收终端的公网IP地址。该公网IP地址可以用于后续过程中确定接收终端的类型。In case 1, before S602, the method may further include: the PDCP layer in the access network device decodes the data packet; the adaptation layer in the access network device extracts the public address of the receiving terminal from the decoded data packet Network IP address. The public network IP address can be used to determine the type of the receiving terminal in a subsequent process.
其中,可选的,解码可以包括解密和/或解压缩。具体的,发送终端在发送数据包之前会对该数据包的包头进行压缩,包头中可以包括接收终端的公网IP地址,接入网设备需要对数据包的包头解压缩之后,才能提取该数据包的接收终端的公网IP地址。在现有的LTE 或者5G协议中,解码的操作由接入网设备的PDCP层执行,本申请实施可以沿用现有协议的规定,从而能够遵循现有的接入网设备和终端之间的通信协议,适应现有的通用场景。Wherein, optionally, decoding may include decryption and/or decompression. Specifically, the sending terminal will compress the header of the data packet before sending the data packet, which may include the public network IP address of the receiving terminal, and the access network device needs to decompress the header of the data packet before extracting the data The public IP address of the receiving terminal of the packet. In the existing LTE or 5G protocol, the decoding operation is performed by the PDCP layer of the access network device. The implementation of this application can follow the provisions of the existing protocol, so as to follow the existing communication between the access network device and the terminal. Protocol, adapted to existing common scenarios.
在情况1下,根据接收终端的类型不同,S603的实现过程也不同,以下通过示例1至示例4分别进行描述:In case 1, depending on the type of the receiving terminal, the implementation process of S603 is also different. The following describes examples 1 to 4 respectively:
示例1,接收终端为非本地局域网设备。Example 1, the receiving terminal is a non-local LAN device.
在示例1中,S603在具体实现时可以包括:基于接收终端的类型,通过核心网设备或数据网络将数据包发送至接收终端。In Example 1, S603 may include: based on the type of the receiving terminal, sending the data packet to the receiving terminal through a core network device or a data network.
也即,在接收终端为非本地局域网设备时,数据包仍需要通过核心网(如5GC)设备或者数据网络转发至接收终端,也即仍采用现有协议的通信链路进行转发,完成本次数据传输。That is to say, when the receiving terminal is a non-local LAN device, the data packet still needs to be forwarded to the receiving terminal through the core network (such as 5GC) equipment or data network, that is, the communication link of the existing protocol is still used for forwarding. data transmission.
示例2,接收终端的类型为纯无线局域网设备或纯有线设备。Example 2, the type of the receiving terminal is a pure wireless local area network device or a pure wired device.
在示例2中,S603在具体实现时可以包括:基于接收终端的类型,接入网设备的适配层获取数据包的数据部分,并确定接收终端对应的局域网的通信地址;基于局域网的通信地址,通过局域网的通信链路将提取的数据部分发送至接收终端。In Example 2, S603 may include: based on the type of the receiving terminal, the adaptation layer of the access network device obtains the data part of the data packet, and determines the communication address of the local area network corresponding to the receiving terminal; based on the communication address of the local area network , sending the extracted data part to the receiving terminal through the communication link of the local area network.
可选的,数据包的数据部分至少包括发送终端向接收终端传输的数据内容。进一步,该数据部分可以为图3中的IP包。Optionally, the data part of the data packet at least includes data content transmitted from the sending terminal to the receiving terminal. Further, the data part may be the IP packet in FIG. 3 .
可选的,局域网的通信地址包括MAC地址、本地IP地址、端口号中的一种或多种。Optionally, the communication address of the LAN includes one or more of a MAC address, a local IP address, and a port number.
可选的,局域网的通信链路可以为有线/WLAN的通信链路。Optionally, the communication link of the local area network may be a wired/WLAN communication link.
示例3,接收终端的类型为蜂窝-非蜂窝聚合设备。Example 3, the type of the receiving terminal is a cellular-non-cellular aggregation device.
在示例3中,在第一种可能的实现方式中,S603在具体实现时可以包括:基于接收终端的类型,接入网设备的适配层为数据包添加承载标识(RBID);接入网设备的PDCP层对添加了RBID的数据包 进行编码;通过局域网的通信链路将编码后的数据包发送至接收终端。In Example 3, in the first possible implementation manner, S603 may include in specific implementation: based on the type of the receiving terminal, the adaptation layer of the access network device adds a bearer identifier (RBID) to the data packet; The PDCP layer of the device encodes the data packet added with RBID; the encoded data packet is sent to the receiving terminal through the communication link of the LAN.
针对蜂窝-非蜂窝聚合设备,接入网设备可以通过现有协议中该蜂窝-非蜂窝聚合设备使用的无线/有线承载(Bearer)向接收终端发送该数据包。在接入网设备侧需要为该数据包添加对应的RBID。此时,适配层在执行S602之后,继续执行为数据包添加RBID的步骤,适配层将添加了RBID的数据包传输至PDCP层,由PDCP层对其进行编码。For the cellular-non-cellular aggregation device, the access network device can send the data packet to the receiving terminal through the wireless/wired bearer (Bearer) used by the cellular-non-cellular aggregation device in the existing protocol. On the side of the access network device, a corresponding RBID needs to be added to the data packet. At this time, after performing S602, the adaptation layer continues to perform the step of adding the RBID to the data packet, and the adaptation layer transmits the data packet with the RBID added to the PDCP layer, and the PDCP layer encodes it.
此时,接入网设备中适配层与其他协议层的关系可以参见图7或图8中的相关说明,这里不再赘述。特别的,针对图7的接入网设备的协议栈结构,适配层需要具备SDAP层添加RBID的功能,另外,也可以在适配层整合SDAP层的其他部分功能,此时,在接入网设备处理数据包时,该数据包在接入网设备的协议栈的传输方向保持由上层协议往下层协议的方向传输,方便传输控制。At this time, the relationship between the adaptation layer and other protocol layers in the access network device can refer to the related description in FIG. 7 or FIG. 8 , and will not be repeated here. In particular, for the protocol stack structure of the access network device in Figure 7, the adaptation layer needs to have the function of adding RBID at the SDAP layer. In addition, other functions of the SDAP layer can also be integrated at the adaptation layer. At this time, the access When the network equipment processes the data packet, the transmission direction of the data packet in the protocol stack of the access network equipment is kept from the upper-layer protocol to the lower-layer protocol, which is convenient for transmission control.
可选的,编码可以包括加密和/或压缩等处理。接入网设备对数据包进行编码是为了在接入网设备到接收终端之间进行数据传输时保证传输安全,并提高传输效率。在接收终端接到编码后的数据包之后可使用对应的解码方式对编码后的数据包解密和/或解压缩。进一步,PDCP层的编码包括对数据包进行包头(H)压缩以及加密。Optionally, encoding may include processing such as encryption and/or compression. The access network device encodes the data packet to ensure transmission security and improve transmission efficiency during data transmission between the access network device and the receiving terminal. After receiving the encoded data packet, the receiving terminal may use a corresponding decoding method to decrypt and/or decompress the encoded data packet. Further, the encoding at the PDCP layer includes performing header (H) compression and encryption on the data packet.
在示例3中,在第二种可能的实现方式中,S603在具体实现时可以包括:接入网设备中的SDAP层为数据包添加RBID;接入网设备中的PDCP层对添加了承载标识的数据包进行编码;通过局域网的通信链路将编码后的数据包发送至接收终端。In Example 3, in the second possible implementation manner, S603 may include in specific implementation: the SDAP layer in the access network device adds an RBID to the data packet; the PDCP layer in the access network device adds a bearer identifier Encode the data packets; send the encoded data packets to the receiving terminal through the communication link of the LAN.
与示例3中的第一种可能的实现方式不同的是,适配层执行S602之后,由SDAP层完成为数据包添加RBID的步骤,此时适配层将数据包先发送至SDAP层,也即数据包在接入网设备的协议栈中先由下层向上层传输。然后,该数据包再由协议栈的上层向下层传输:SDAP层将添加了RBID的数据包再发送至适配层,适配层将添加了RBID 的数据包传输至PDCP层,由PDCP层对其进行编码。此时,数据包在接入网设备的协议栈中的传输更为灵活。The difference from the first possible implementation in Example 3 is that after the adaptation layer executes S602, the SDAP layer completes the step of adding an RBID to the data packet. At this time, the adaptation layer first sends the data packet to the SDAP layer, and also That is, the data packet is first transmitted from the lower layer to the upper layer in the protocol stack of the access network device. Then, the data packet is transmitted from the upper layer of the protocol stack to the lower layer: the SDAP layer sends the data packet with the RBID added to the adaptation layer, and the adaptation layer transmits the data packet with the RBID added to the PDCP layer, and the PDCP layer It encodes. At this time, the transmission of the data packet in the protocol stack of the access network device is more flexible.
示例3中,该数据包由SDAP层向下层的协议层传输至WLAN AP/有线AP,逐层添加每层对应的包头(H),每层的处理方式可参见图3的相关说明,并通过WLAN AP或者有线AP发送至接收终端。此时,适配层的下层,即PDCP层,需要对添加了RBID的数据包进行编码(如加密、压缩等)。可选的,PDCP层对添加了RBID的数据包进行编码时,可以对数据包的RBID不进行编码。In Example 3, the data packet is transmitted from the SDAP layer to the lower protocol layer to the WLAN AP/wired AP, and the corresponding packet header (H) of each layer is added layer by layer. For the processing method of each layer, please refer to the relevant description in Figure 3, and pass WLAN AP or wired AP sends to the receiving terminal. At this time, the lower layer of the adaptation layer, that is, the PDCP layer, needs to encode (such as encrypt, compress, etc.) the data packet added with the RBID. Optionally, when the PDCP layer encodes the RBID-added data packet, it may not encode the RBID of the data packet.
情况2、接入网设备接收到的数据包来自于核心网或数据网络。Case 2: The data packet received by the access network device comes from the core network or the data network.
在情况2下,在S602之前,该方法还可以包括:接入网设备的适配层从数据包中获取接收终端的公网IP地址。In case 2, before S602, the method may further include: the adaptation layer of the access network device acquires the public network IP address of the receiving terminal from the data packet.
需要说明的是,在现有的无线通信协议中,5GC的接入网设备通过SDAP层为接收到的来自核心网的数据包统一添加RBID,用于标识该数据包对应的无线承载,通过对应的无线承载将数据包转发到接收终端的公网IP对应的终端,以完成数据传输。It should be noted that in the existing wireless communication protocol, the 5GC access network equipment uniformly adds RBID to the data packet received from the core network through the SDAP layer to identify the radio bearer corresponding to the data packet. The radio bearer forwards the data packet to the terminal corresponding to the public network IP of the receiving terminal, so as to complete the data transmission.
针对本申请图7和图8的两种接入网设备的协议栈结构,接入网设备对接收到的数据包存在以下两种处理:Regarding the protocol stack structures of the two access network devices in Figure 7 and Figure 8 of this application, the access network device has the following two processes for the received data packets:
处理1:如图7的协议栈结构,适配层为SDAP层的下层协议层,沿用上述现有协议,来自核心网或数据网络的数据包在接入网设备的协议栈中由上层向下层传递,接入网设备的SDAP层按照上述协议为数据包添加RBID之后,数据包被传递至适配层,由适配层执行从添加了RBID的数据包中获取接收终端的公网IP地址,执行图6中的S602,以确定数据包的接收终端的类型。Processing 1: As shown in the protocol stack structure of Figure 7, the adaptation layer is the lower layer protocol layer of the SDAP layer, and the above-mentioned existing protocol is used, and the data packets from the core network or data network are transferred from the upper layer to the lower layer in the protocol stack of the access network device Transfer, after the SDAP layer of the access network device adds RBID to the data packet according to the above protocol, the data packet is passed to the adaptation layer, and the adaptation layer executes to obtain the public network IP address of the receiving terminal from the data packet with the RBID added, Execute S602 in FIG. 6 to determine the type of the receiving terminal of the data packet.
处理2:如图7的协议栈结构,适配层为对现有的SDAP层增强得到的。适配层(或称SDAP层)从数据包中获取接收终端的公网IP地址,执行图6中的S602,以确定数据包的接收终端的类型。适配层(或称SDAP层)还执行为数据包增加RBID的步骤。Processing 2: As shown in the protocol stack structure in Figure 7, the adaptation layer is obtained by enhancing the existing SDAP layer. The adaptation layer (or SDAP layer) acquires the public network IP address of the receiving terminal from the data packet, and executes S602 in FIG. 6 to determine the type of the receiving terminal of the data packet. The adaptation layer (or SDAP layer) also executes the step of adding RBID to the data packet.
在情况2下,根据接收终端的类型不同,S603的实现过程也不同,以下通过示例4至示例6分别进行描述:In case 2, depending on the type of the receiving terminal, the implementation process of S603 is also different, and the following examples 4 to 6 are used to describe respectively:
示例4:接收终端为非本地局域网设备。Example 4: The receiving terminal is a non-local LAN device.
在示例4中,S603在具体实现时可以包括:基于接收终端的类型,转发添加了RBID的数据包至接收终端。示例4中,接入网设备按照现有的无线通信协议发送该数据包。其中,RBID可以是SDAP层添加的,其添加RBID的步骤参照上述处理1和处理的相关描述。接入网设备可以通过核心网/数据网络将添加了RBID的数据包发送给接收终端。In Example 4, S603 may include: forwarding the data packet added with the RBID to the receiving terminal based on the type of the receiving terminal. In Example 4, the access network device sends the data packet according to an existing wireless communication protocol. Wherein, the RBID may be added by the SDAP layer, and for the steps of adding the RBID, refer to the above-mentioned processing 1 and related descriptions of the processing. The access network device can send the RBID-added data packet to the receiving terminal through the core network/data network.
示例5:接收终端的类型为纯无线局域网设备或纯有线设备。Example 5: The type of the receiving terminal is a pure wireless LAN device or a pure wired device.
在示例5中,S603在具体实现时可以包括:基于接收终端的类型,接入网设备的适配层获取数据包的数据部分,并确定接收终端对应的局域网的通信地址;基于局域网的通信地址,通过局域网的通信链路将提取的数据部分发送至接收终端。In Example 5, S603 may include: based on the type of the receiving terminal, the adaptation layer of the access network device obtains the data part of the data packet, and determines the communication address of the local area network corresponding to the receiving terminal; based on the communication address of the local area network , sending the extracted data part to the receiving terminal through the communication link of the local area network.
可选的,在接入网设备的适配层获取数据包的数据部分之前,若接入网设备执行上述处理1,则适配层还可以去除数据包在SDAP层添加的RBID。Optionally, before the adaptation layer of the access network device obtains the data part of the data packet, if the access network device performs the above processing 1, the adaptation layer may also remove the RBID added to the data packet at the SDAP layer.
由于数据包在SDAP层已经添加了RBID,但数据包基于局域网的通信地址传输至接收终端,故适配层可以将添加的RBID去除。Since the RBID has been added to the data packet at the SDAP layer, but the data packet is transmitted to the receiving terminal based on the communication address of the LAN, the adaptation layer can remove the added RBID.
关于示例5的详细阐述可参见如上示例2的相关说明,这里不再赘述。示例2和示例5中,接入网设备基于终端在局域网内的通信地址(包括MAC地址、本地IP地址、端口号等中的一种或多种)通过有线/WLAN的通信链路向接收终端发送数据包的数据内容,无需按照公网IP地址转发。接收终端接收的是数据包中的数据内容,无需对RBID解析,也能够跳过各个协议层对数据包解析的过程。For a detailed description of Example 5, refer to the relevant description of Example 2 above, and details are not repeated here. In Example 2 and Example 5, the access network device communicates to the receiving terminal through a wired/WLAN communication link based on the communication address of the terminal in the local area network (including one or more of MAC address, local IP address, port number, etc.) The data content of the sent data packet does not need to be forwarded according to the public network IP address. What the receiving terminal receives is the data content in the data packet, there is no need to analyze the RBID, and the process of parsing the data packet at each protocol layer can also be skipped.
示例6:接收终端的类型为蜂窝-非蜂窝聚合设备。Example 6: The type of the receiving terminal is a cellular-non-cellular aggregation device.
在示例6中,S603在具体实现时可以包括:基于接收终端的类型,接入网设备的PDCP层对添加了RBID的数据包进行编码;通过局域网的通信链路将编码后的数据包发送至接收终端。可选的,在接入网设备的SDAP层或者适配层为该数据包添加RBID。In Example 6, the specific implementation of S603 may include: based on the type of the receiving terminal, the PDCP layer of the access network device encodes the data packet with the RBID added; and sends the encoded data packet to the receiving terminal. Optionally, the RBID is added to the data packet at the SDAP layer or the adaptation layer of the access network device.
此时,该数据包在适配层处理之后,通过PDCP层传输至WLAN AP/有线AP,逐层添加每层对应的包头(H),每层的处理方式可参见图3的相关说明,并通过WLAN AP或者有线AP发送至接收终端。此时,适配层的下层,即PDCP层,需要对添加了RBID的数据包进行编码(如加密、压缩等)。可选的,PDCP层对添加了RBID的数据包进行编码时,可以对数据包的RBID不进行编码。At this time, after the data packet is processed by the adaptation layer, it is transmitted to the WLAN AP/wired AP through the PDCP layer, and the header (H) corresponding to each layer is added layer by layer. For the processing method of each layer, please refer to the relevant description in Figure 3, and Send to the receiving terminal through WLAN AP or wired AP. At this time, the lower layer of the adaptation layer, that is, the PDCP layer, needs to encode (such as encrypt, compress, etc.) the data packet added with the RBID. Optionally, when the PDCP layer encodes the RBID-added data packet, it may not encode the RBID of the data packet.
若将示例2和示例5应用在图4和图5的类似场景中,数据包在接入网设备(相当于图4和图5中的基站)内的协议栈内由上向下传输,先经过PDCP层处理,此时若确定接收终端为纯有线设备或纯无线设备,接入网设备可以不为数据包加RBID、或者添加了RBID(图4和图5中在LWAAP层添加RBID)之后再由适配层去除该RBID。接入网设备直接向接收终端发送数据包的数据部分,接收终端接收数据部分,跳过对RBID解析以及PDCP等协议层解析的过程。由此,只要接收终端与接入网设备之间存在有线/无线的通信链路,就可以正确接收数据包的数据部分,无需如图4和图5的场景中要求接收终端必须同时具备WLAN能力和LTE能力(也即解析RBID的能力)才能成功解析数据包。If Example 2 and Example 5 are applied to similar scenarios in Figure 4 and Figure 5, data packets are transmitted from top to bottom in the protocol stack of the access network device (equivalent to the base station in Figure 4 and Figure 5), first After PDCP layer processing, if it is determined that the receiving terminal is a pure wired device or a pure wireless device, the access network device may not add RBID to the data packet, or add RBID (after adding RBID at the LWAAP layer in Figure 4 and Figure 5) The RBID is then removed by the adaptation layer. The access network device directly sends the data part of the data packet to the receiving terminal, and the receiving terminal receives the data part, skipping the process of RBID analysis and protocol layer analysis such as PDCP. Therefore, as long as there is a wired/wireless communication link between the receiving terminal and the access network device, the data part of the data packet can be received correctly, and there is no need to require the receiving terminal to have WLAN capabilities at the same time as in the scenarios shown in Figure 4 and Figure 5 And LTE capability (that is, the ability to resolve RBID) to successfully parse the packet.
在一个实施例中,接收终端的类型为蜂窝-非蜂窝聚合设备时,接收终端支持蜂窝通信链路,蜂窝通信链路传输数据包的方式可参照现有协议,这里不再赘述,另外,接收终端还支持有线/WLAN通信链路,接入网设备按照示例3和6的方式通过线/WLAN通信链路向接收终端发送数据包。In one embodiment, when the type of the receiving terminal is a cellular-non-cellular aggregation device, the receiving terminal supports a cellular communication link, and the method of transmitting data packets through the cellular communication link can refer to an existing protocol, which will not be repeated here. In addition, the receiving terminal The terminal also supports a wired/WLAN communication link, and the access network device sends a data packet to the receiving terminal through the wired/WLAN communication link according to the methods in Examples 3 and 6.
可选的,接入网设备可以通过蜂窝通信链路、有线/WLAN通信链路同时向接收终端发送同一数据包,以保证数据包的传输可靠性。 终端可以结合不同的链路接收到的数据包进行数据提取,从而能够有效解决单一的通信链路在数据传输中的丢包问题。Optionally, the access network device may simultaneously send the same data packet to the receiving terminal through the cellular communication link and the wired/WLAN communication link, so as to ensure the transmission reliability of the data packet. The terminal can combine the data packets received by different links to extract data, so as to effectively solve the problem of packet loss in data transmission of a single communication link.
或者,接入网设备可以根据接收终端当前支持的多个通信链路(即蜂窝通信链路、有线/WLAN通信链路)的通信质量状况,选择通信质量最好的通信链路向该接收终端发送数据包,从而能够在接收终端的某一通信链路的通信质量差的情况下,仍能够保证准确且高效地传输数据。Alternatively, the access network device may select the communication link with the best communication quality to send the communication link to the receiving terminal according to the communication quality status of the multiple communication links currently supported by the receiving terminal (i.e. cellular communication link, wired/WLAN communication link). The data packets are sent, so that the accurate and efficient data transmission can still be ensured when the communication quality of a certain communication link of the receiving terminal is poor.
在一个实施例中,请参见图6和图10,图6中S602可以通过图10中的各个步骤实现。图10中的步骤包括:In an embodiment, please refer to FIG. 6 and FIG. 10 , S602 in FIG. 6 may be implemented through various steps in FIG. 10 . The steps in Figure 10 include:
S6021,根据接收终端的属性中的公网IP地址确定接收终端为是否为非本地局域网设备。S6021. Determine whether the receiving terminal is a non-local LAN device according to the public network IP address in the attribute of the receiving terminal.
若S6021的确定结果为是,跳转至S6022。若S6021的确定结果为否,跳转至S6023。If the determination result of S6021 is yes, go to S6022. If the determination result of S6021 is no, go to S6023.
S6022,确定接收终端的类型为非本地局域网设备。S6022. Determine that the type of the receiving terminal is a non-local LAN device.
S6023,根据接收终端的属性中的其他信息确定接收终端的类型是否为纯无线局域网设备、纯有线设备和蜂窝-非蜂窝聚合设备中的一种。S6023. Determine whether the type of the receiving terminal is one of a pure wireless local area network device, a pure wired device, and a cellular-non-cellular aggregation device according to other information in the attributes of the receiving terminal.
其中,接收终端的属性中的其他信息包括MAC地址、设备型号、接收终端与接入网设备连接的接入点的信息中的一种或多种。Wherein, other information in the attribute of the receiving terminal includes one or more of MAC address, device model, and information about the access point where the receiving terminal is connected to the access network device.
接入网设备确定接收终端的类型时,先获取接收终端的公网IP以确定接收终端是否为非本地局域网设备,如果是,则直接按照非本地局域网的通信链路发送该数据包。如果接收终端为本地局域网设备,则接入网设备需要继续获取接收终端的属性中的其他信息以确定接收终端为纯无线局域网设备、纯有线设备和蜂窝-非蜂窝聚合设备中的哪一种。When the access network device determines the type of the receiving terminal, it first obtains the public network IP of the receiving terminal to determine whether the receiving terminal is a non-local LAN device, and if so, directly sends the data packet according to the communication link of the non-local LAN. If the receiving terminal is a local LAN device, the access network device needs to continue to obtain other information in the attributes of the receiving terminal to determine which one of the receiving terminal is a pure wireless LAN device, a pure wired device, and a cellular-non-cellular aggregation device.
可选的,S6021在具体实现时可以包括:接入网设备获取至少一 个公网IP地址,至少一个公网IP地址为通过WLAN或有线网络接入的全部或部分的终端的公网IP地址;若接收终端的公网IP地址不属于至少一个公网IP地址,则接入网设备确定接收终端为非本地局域网设备,否则确定接收终端为本地局域网设备。Optionally, specific implementation of S6021 may include: the access network device obtains at least one public network IP address, and at least one public network IP address is the public network IP address of all or part of the terminals accessed through the WLAN or wired network; If the public network IP address of the receiving terminal does not belong to at least one public network IP address, the access network device determines that the receiving terminal is a non-local LAN device, otherwise determines that the receiving terminal is a local LAN device.
可选的,接入网设备从接入网本地内存或者服务器/数据库等设备获取至少一个公网IP地址,每一公网IP地址对应一个终端。Optionally, the access network device obtains at least one public network IP address from a local memory of the access network or a server/database, and each public network IP address corresponds to a terminal.
可选的,核心网或数据网络可以将至少一个公网IP地址发送给接入网设备,接入网设备存储于自己本地。或者,接入网设备可以确定与自己直接或间接连接的各个终端是否为本地局域网设备,并将确定为本地局域网设备的公网IP地址存储于本地。当接入网设备需要执行图10中的S6021时,从本地存储获取该至少一个公网IP地址。Optionally, the core network or the data network may send at least one public network IP address to the access network device, and the access network device stores it locally. Alternatively, the access network device may determine whether each terminal directly or indirectly connected to itself is a local LAN device, and store the public network IP address determined as the local LAN device locally. When the access network device needs to execute S6021 in FIG. 10 , acquire the at least one public network IP address from local storage.
可选的,接入网设备可以确定与自己直接或间接连接的各个终端是否为本地局域网设备,包括:若终端通过中间设备与接入网设备连接,则接入网设备可以根据中间设备获取其管理的各个终端的公网IP地址。或者,接入网设备可根据各个终端的本地局域网的IP地址和/或端口号,确定该终端对应的公网IP地址,也即该终端进行数据通信时使用的IP地址。Optionally, the access network device can determine whether each terminal directly or indirectly connected to itself is a local area network device, including: if the terminal is connected to the access network device through an intermediate device, the access network device can obtain its Public IP address of each managed terminal. Alternatively, the access network device may determine the public network IP address corresponding to the terminal according to the IP address and/or port number of the local area network of each terminal, that is, the IP address used by the terminal for data communication.
可选的,至少一个公网IP地址被存储于一张地址表中。此时,接入网设备若确定接收终端的公网IP地址在该地址表中,则确定接收终端为本地局域网设备。接入网设备若接收终端的公网IP地址不在该地址表中,则确定接收终端为非本地局域网设备。Optionally, at least one public IP address is stored in an address table. At this time, if the access network device determines that the public network IP address of the receiving terminal is in the address table, it determines that the receiving terminal is a local LAN device. If the public network IP address of the receiving terminal is not in the address table, the access network device determines that the receiving terminal is a non-local LAN device.
或者,上述至少一个公网IP地址属于一个预设的地址范围。此时,接入网设备若确定接收终端的公网IP地址属于该地址范围,则确定接收终端为本地局域网地址。接入网设备若确定接收终端的公网IP地址不属于该地址范围,则确定接收终端为非本地局域网地址。Alternatively, the above at least one public IP address belongs to a preset address range. At this time, if the access network device determines that the public network IP address of the receiving terminal belongs to the address range, it determines that the receiving terminal is a local LAN address. If the access network device determines that the public network IP address of the receiving terminal does not belong to the address range, it determines that the receiving terminal is a non-local LAN address.
可选的,前述获取各个终端的属性的步骤由接入网设备中的适配层执行、且获取的属性由适配层存储,以使得适配层能够根据存储的 信息确定接收终端的类型。Optionally, the aforementioned step of acquiring attributes of each terminal is performed by an adaptation layer in the access network device, and the acquired attributes are stored by the adaptation layer, so that the adaptation layer can determine the type of the receiving terminal according to the stored information.
请参见图11,图11为本申请实施例的一种通信装置110的结构图,通信装置110可以设置于接入网设备中或与接入网设备可通信连接,通信装置110包括:Please refer to FIG. 11. FIG. 11 is a structural diagram of a communication device 110 according to an embodiment of the present application. The communication device 110 may be set in an access network device or be communicably connected to the access network device. The communication device 110 includes:
数据包接收模块1101,用于接收要发送至接收终端的数据包;A data packet receiving module 1101, configured to receive a data packet to be sent to a receiving terminal;
设备类型确定模块1102,用于根据接收终端的属性确定接收终端的类型,其中,接收终端的属性至少包括接收终端的公网互联网协议IP地址;A device type determination module 1102, configured to determine the type of the receiving terminal according to the attributes of the receiving terminal, wherein the attributes of the receiving terminal include at least the public network Internet Protocol IP address of the receiving terminal;
数据包转发模块1103,用于根据接收终端的类型将数据包转发至接收终端。A data packet forwarding module 1103, configured to forward the data packet to the receiving terminal according to the type of the receiving terminal.
在一个实施例中,接入网设备包括PDCP层和适配层,适配层为PDCP层的上层协议层,设备类型确定模块1102,具体用于在适配层根据接收终端的属性确定接收终端的类型。In one embodiment, the access network device includes a PDCP layer and an adaptation layer, the adaptation layer is the upper layer protocol layer of the PDCP layer, and the device type determination module 1102 is specifically used to determine the receiving terminal according to the attributes of the receiving terminal at the adaptation layer type.
在一个实施例中,数据包来自于发送终端,通信装置110还可以包括:解码模块,用于在接入网设备中的PDCP层对数据包进行解码;第一提取模块,用于在接入网设备中的适配层从解码后的数据包中提取接收终端的公网IP地址。In one embodiment, the data packet comes from the sending terminal, and the communication device 110 may further include: a decoding module, configured to decode the data packet at the PDCP layer in the access network device; a first extraction module, configured to The adaptation layer in the network device extracts the public network IP address of the receiving terminal from the decoded data packet.
在一个实施例中,数据包来自于发送终端,接收终端的类型为纯无线局域网设备或纯有线设备,数据包转发模块1103,具体包括:局域网的通信地址确定单元,用于基于接收终端的类型,在接入网设备的适配层获取数据包的数据部分,并确定接收终端对应的局域网的通信地址;转发单元,用于基于局域网的通信地址,通过局域网的通信链路将提取的数据部分发送至接收终端。In one embodiment, the data packet comes from the sending terminal, the type of the receiving terminal is a pure wireless LAN device or a pure wired device, and the data packet forwarding module 1103 specifically includes: a communication address determination unit of the local area network, which is used to determine based on the type of the receiving terminal , obtain the data part of the data packet at the adaptation layer of the access network device, and determine the communication address of the local area network corresponding to the receiving terminal; the forwarding unit is used to transfer the extracted data part through the communication link of the local area network based on the communication address of the local area network sent to the receiving terminal.
在一个实施例中,数据包来自于发送终端,接收终端的类型为非本地局域网设备,数据包转发模块1103,具体用于基于接收终端的类型,通过核心网设备或数据网络将数据包发送至接收终端。In one embodiment, the data packet comes from the sending terminal, the type of the receiving terminal is a non-local LAN device, and the data packet forwarding module 1103 is specifically configured to send the data packet to the receiving terminal.
在一个实施例中,数据包来自于发送终端,接收终端的类型为蜂窝-非蜂窝聚合设备,数据包转发模块1103,可以包括:第一承载标识添加单元,用于基于接收终端的类型,在接入网设备的适配层为数据包添加承载标识;第一编码单元,用于在接入网设备的PDCP层对添加了承载标识的数据包进行编码;第一发送单元,用于通过局域网的通信链路将编码后的数据包发送至接收终端。In one embodiment, the data packet comes from the sending terminal, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the data packet forwarding module 1103 may include: a first bearer identifier adding unit, configured to, based on the type of the receiving terminal, in The adaptation layer of the access network device adds a bearer identifier to the data packet; the first encoding unit is used to encode the data packet with the bearer identifier added at the PDCP layer of the access network device; the first sending unit is used to pass the local area network The communication link sends the encoded data packet to the receiving terminal.
在一个实施例中,数据包来自于发送终端,接收终端的类型为蜂窝-非蜂窝聚合设备,数据包转发模块1103,可以包括:第二承载标识添加单元,用于在接入网设备中的SDAP层为数据包添加承载标识;第二编码单元,用于在接入网设备中的PDCP层对添加了承载标识的数据包进行编码;第二发送单元,用于通过局域网的通信链路将编码后的数据包发送至接收终端。In one embodiment, the data packet comes from the sending terminal, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the data packet forwarding module 1103 may include: a second bearer identifier adding unit, configured to be used in the access network device The SDAP layer adds a bearer identifier to the data packet; the second encoding unit is used to encode the data packet with the bearer identifier added at the PDCP layer in the access network device; the second sending unit is used to transmit the bearer identifier through the communication link of the local area network The encoded data packets are sent to the receiving terminal.
在一个实施例中,数据包来自于核心网或数据网络,通信装置110还可以包括:第二提取模块,用于在接入网设备的适配层从数据包中获取接收终端的公网IP地址。In one embodiment, the data packet comes from the core network or the data network, and the communication device 110 may further include: a second extraction module, configured to obtain the public network IP of the receiving terminal from the data packet at the adaptation layer of the access network device address.
在一个实施例中,数据包来自于核心网或数据网络,接收终端的类型为纯无线局域网设备或纯有线设备,数据包转发模块1103,具体可以包括:数据提取单元,用于基于接收终端的类型,在接入网设备的适配层获取数据包的数据部分,并确定接收终端对应的局域网的通信地址;数据发送单元,用于基于局域网的通信地址,通过局域网的通信链路将提取的数据部分发送至接收终端。In one embodiment, the data packet comes from a core network or a data network, and the type of the receiving terminal is a pure wireless local area network device or a pure wired device, and the data packet forwarding module 1103 may specifically include: a data extraction unit for type, obtain the data part of the data packet at the adaptation layer of the access network device, and determine the communication address of the local area network corresponding to the receiving terminal; the data sending unit is used for the communication address based on the local area network, and the extracted The data portion is sent to the receiving terminal.
在一个实施例中,数据包来自于核心网或数据网络,接收终端的类型为非本地局域网设备,数据包转发模块1103,还可以用于基于接收终端的类型,转发添加了承载标识的数据包至接收终端。In one embodiment, the data packet comes from the core network or data network, and the type of the receiving terminal is a non-local LAN device. The data packet forwarding module 1103 can also be used to forward the data packet with the bearer identifier added based on the type of the receiving terminal to the receiving terminal.
在一个实施例中,数据包来自于核心网或数据网络,接收终端的类型为蜂窝-非蜂窝聚合设备,数据包转发模块1103,可以包括:第三编码单元,用于基于接收终端的类型,在接入网设备的PDCP层对添加了承载标识的数据包进行编码;第三发送单元,用于通过局域网 的通信链路将编码后的数据包发送至接收终端。In one embodiment, the data packet comes from the core network or the data network, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the data packet forwarding module 1103 may include: a third encoding unit, configured to, based on the type of the receiving terminal, The data packet added with the bearer identifier is encoded at the PDCP layer of the access network device; the third sending unit is used to send the encoded data packet to the receiving terminal through the communication link of the local area network.
可选的,局域网的通信地址包括媒体接入控制MAC地址、本地IP地址、端口号中的一种或多种。Optionally, the communication address of the LAN includes one or more of a media access control MAC address, a local IP address, and a port number.
可选的,接收终端的类型至少包括非本地局域网设备、纯无线局域网设备、纯有线设备、蜂窝-非蜂窝聚合设备中的至少一个。Optionally, the type of the receiving terminal includes at least one of a non-local area network device, a pure wireless local area network device, a pure wired device, and a cellular-non-cellular aggregation device.
在一个实施例中,设备类型确定模块1102,可以包括:第一类型确定单元,用于根据接收终端的属性中的公网IP地址确定接收终端为是否为非本地局域网设备;若第一类型确定单元的确定结果为是,由非本地局域网设备确定模块执行确定接收终端的类型为非本地局域网设备的步骤;若第一类型确定单元的确定结果为否,由第二确定模块执行根据接收终端的属性中的其他信息确定接收终端的类型是否为纯无线局域网设备、纯有线设备和蜂窝-非蜂窝聚合设备中的一种;其中,接收终端的属性中的其他信息包括MAC地址、设备型号、接收终端与接入网设备连接时经过的中间设备的信息中的一种或多种。In one embodiment, the device type determining module 1102 may include: a first type determining unit, configured to determine whether the receiving terminal is a non-local LAN device according to the public network IP address in the attributes of the receiving terminal; if the first type determines If the determination result of the unit is yes, the non-local area network device determination module executes the step of determining that the type of the receiving terminal is a non-local area network device; Other information in the attribute determines whether the type of the receiving terminal is a pure wireless LAN device, a pure wired device, and a cellular-non-cellular aggregation device; wherein, other information in the receiving terminal's attribute includes MAC address, device model, receiver One or more types of information on the intermediate equipment that the terminal passes through when connecting to the access network equipment.
在一个实施例中,第一类型确定单元,可以包括:地址获取子单元,用于获取至少一个公网IP地址,至少一个公网IP地址为通过无线局域网或有线网络接入的全部或部分的终端的公网IP地址;确定子单元,用于在接收终端的公网IP地址不属于至少一个公网IP地址时,确定接收终端为非本地局域网设备,否则确定接收终端不是非本地局域网设备。In one embodiment, the first type determining unit may include: an address obtaining subunit, configured to obtain at least one public network IP address, at least one public network IP address is all or part of the access through a wireless local area network or a wired network The public network IP address of the terminal; a determination subunit, used to determine that the receiving terminal is a non-local LAN device when the public network IP address of the receiving terminal does not belong to at least one public network IP address, otherwise determine that the receiving terminal is not a non-local LAN device.
关于通信装置110的工作原理、工作方式的更多内容,可以参照图1至图10关于通信方法的相关描述,这里不再赘述。For more information about the working principle and working mode of the communication device 110 , reference may be made to the relevant descriptions of the communication methods in FIG. 1 to FIG. 10 , which will not be repeated here.
在具体实施中,上述的通信装置110可以对应于接入网设备中具有通信功能的芯片,或者对应于具有数据处理功能的芯片,例如片上***(System-On-a-Chip,SOC)、射频芯片等;或者对应于接入网设备中包括具有通信功能芯片的芯片模组;或者对应于具有数据处理功能 芯片的芯片模组,或者对应于接入网设备。In a specific implementation, the above-mentioned communication device 110 may correspond to a chip with a communication function in an access network device, or a chip with a data processing function, such as a system-on-a-chip (System-On-a-Chip, SOC), radio frequency Chips, etc.; or corresponding to a chip module including a chip with a communication function in the access network device; or corresponding to a chip module with a chip with a data processing function, or corresponding to the access network device.
关于上述实施例中描述的各个装置、产品包含的各个模块/单元,其可以是软件模块/单元,也可以是硬件模块/单元,或者也可以部分是软件模块/单元,部分是硬件模块/单元。例如,对于应用于或集成于芯片的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于芯片内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现;对于应用于或集成于芯片模组的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,不同的模块/单元可以位于芯片模组的同一组件(例如芯片、电路模块等)或者不同组件中,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于芯片模组内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现;对于应用于或集成于终端的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,不同的模块/单元可以位于终端内同一组件(例如,芯片、电路模块等)或者不同组件中,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于终端内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现。Regarding each device described in the above embodiments, each module/unit contained in the product may be a software module/unit, or a hardware module/unit, or may be partly a software module/unit and partly a hardware module/unit. . For example, for each device or product applied to or integrated into a chip, each module/unit contained therein may be realized by hardware such as a circuit, or at least some modules/units may be realized by a software program, and the software program Running on the integrated processor inside the chip, the remaining (if any) modules/units can be realized by means of hardware such as circuits; They are all realized by means of hardware such as circuits, and different modules/units can be located in the same component (such as chips, circuit modules, etc.) or different components of the chip module, or at least some modules/units can be realized by means of software programs, The software program runs on the processor integrated in the chip module, and the remaining (if any) modules/units can be realized by hardware such as circuits; /Units can be realized by means of hardware such as circuits, and different modules/units can be located in the same component (such as chips, circuit modules, etc.) or different components in the terminal, or at least some modules/units can be implemented in the form of software programs Realization, the software program runs on the processor integrated in the terminal, and the remaining (if any) modules/units can be implemented by means of hardware such as circuits.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器运行时执行上述通信方法的步骤。存储介质可以是计算机可读存储介质,例如可以包括非挥发性存储器(non-volatile)或者非瞬态(non-transitory)存储器,还可以包括光盘、机械硬盘、固态硬盘等。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned communication method are executed. The storage medium may be a computer-readable storage medium, and may include, for example, a non-volatile memory (non-volatile) or a non-transitory (non-transitory) memory, and may also include an optical disk, a mechanical hard disk, a solid-state hard disk, and the like.
请参见图12,本申请实施例还提供一种接入网设备120,包括上述图11示出的通信装置110,或者,接入网设备120包括存储器1201和处理器1202,存储器1201上存储有可在处理器1202上运行的计算机程序,处理器1202运行计算机程序时,执行本申请实施例中的 通信方法的步骤。Please refer to FIG. 12, the embodiment of the present application also provides an access network device 120, including the communication device 110 shown in FIG. A computer program that can run on the processor 1202. When the processor 1202 runs the computer program, it executes the steps of the communication method in the embodiment of the present application.
本申请实施例定义接入网设备到终端设备的单向通信链路为下行链路,在下行链路上传输的数据为下行数据,下行数据的传输方向称为下行方向;而终端设备到接入网设备的单向通信链路为上行链路,在上行链路上传输的数据为上行数据,上行数据的传输方向称为上行方向。The embodiment of this application defines the one-way communication link from the access network device to the terminal device as the downlink, the data transmitted on the downlink is downlink data, and the transmission direction of the downlink data is called the downlink direction; The one-way communication link of the network access device is an uplink, the data transmitted on the uplink is uplink data, and the transmission direction of the uplink data is called the uplink direction.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/“,表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this article is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and/or B may mean: A exists alone, and A and B exist at the same time , there are three cases of B alone. In addition, the character "/" in this article indicates that the associated objects are an "or" relationship.
本申请实施例中出现的“多个”是指两个或两个以上。"Multiple" appearing in the embodiments of the present application means two or more.
本申请实施例中出现的第一、第二等描述,仅作示意与区分描述对象之用,没有次序之分,也不表示本申请实施例中对设备个数的特别限定,不能构成对本申请实施例的任何限制。The first, second, etc. descriptions that appear in the embodiments of this application are only for illustration and to distinguish the description objects. Any limitations of the examples.
本申请实施例中出现的“连接”是指直接连接或者间接连接等各种连接方式,以实现设备间的通信,本申请实施例对此不做任何限定。The "connection" in the embodiment of the present application refers to various connection methods such as direct connection or indirect connection to realize communication between devices, which is not limited in the embodiment of the present application.
应理解,本申请实施例中,所述处理器可以为中央处理单元(central processing unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that in the embodiment of the present application, the processor may be a central processing unit (central processing unit, CPU), and the processor may also be other general processors, digital signal processors (digital signal processor, DSP), dedicated Integrated circuit (application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计 算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。The above-mentioned embodiments may be implemented in whole or in part by software, hardware, firmware or other arbitrary combinations. When implemented using software, the above-described embodiments may be implemented in whole or in part in the form of computer program products. The computer program product comprises one or more computer instructions or computer programs. When the computer instruction or computer program is loaded or executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Wired or wireless transmission to another website site, computer, server or data center. It should be understood that, in various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法、装置和***,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的;例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式;例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are only illustrative; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质 中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的部分步骤。The above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute some steps of the methods described in various embodiments of the present application.
虽然本申请披露如上,但本申请并非限定于此。任何本领域技术人员,在不脱离本申请的精神和范围内,均可作各种更动与修改,因此本申请的保护范围应当以权利要求所限定的范围为准。Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application should be based on the scope defined in the claims.

Claims (18)

  1. 一种通信方法,其特征在于,所述方法由接入网设备执行,所述方法包括:A communication method, characterized in that the method is performed by an access network device, and the method includes:
    接收要发送至接收终端的数据包;Receive data packets to be sent to the receiving terminal;
    根据所述接收终端的属性确定所述接收终端的类型,其中,所述接收终端的属性至少包括所述接收终端的公网互联网协议IP地址;determining the type of the receiving terminal according to the attributes of the receiving terminal, wherein the attributes of the receiving terminal include at least the public network Internet Protocol IP address of the receiving terminal;
    根据所述接收终端的类型将所述数据包转发至所述接收终端。forwarding the data packet to the receiving terminal according to the type of the receiving terminal.
  2. 根据权利要求1所述的方法,其特征在于,所述接入网设备包括分组数据汇聚协议PDCP层和适配层,所述适配层为所述PDCP层的上层协议层,所述根据所述接收终端的属性确定所述接收终端的类型,包括:The method according to claim 1, wherein the access network device includes a Packet Data Convergence Protocol (PDCP) layer and an adaptation layer, the adaptation layer is an upper layer protocol layer of the PDCP layer, and according to the The attributes of the receiving terminal determine the type of the receiving terminal, including:
    所述适配层根据所述接收终端的属性确定所述接收终端的类型。The adaptation layer determines the type of the receiving terminal according to the attribute of the receiving terminal.
  3. 根据权利要求2所述的方法,其特征在于,所述数据包来自于发送终端,所述方法还包括:The method according to claim 2, wherein the data packet comes from a sending terminal, and the method further comprises:
    所述接入网设备中的PDCP层对所述数据包进行解码;The PDCP layer in the access network device decodes the data packet;
    所述接入网设备中的适配层从解码后的数据包中提取所述接收终端的公网IP地址。The adaptation layer in the access network device extracts the public network IP address of the receiving terminal from the decoded data packet.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述数据包来自于发送终端,所述接收终端的类型为纯无线局域网设备或纯有线设备,所述根据所述接收终端的类型将所述数据包转发至所述接收终端,包括:The method according to any one of claims 1-3, wherein the data packet comes from a sending terminal, the type of the receiving terminal is a pure wireless local area network device or a pure wired device, and the receiving terminal according to the The type of forwarding the data packet to the receiving terminal, including:
    基于所述接收终端的类型,所述接入网设备的适配层获取所述数据包的数据部分,并确定所述接收终端对应的局域网的通信地址;Based on the type of the receiving terminal, the adaptation layer of the access network device obtains the data part of the data packet, and determines the communication address of the local area network corresponding to the receiving terminal;
    基于所述局域网的通信地址,通过局域网的通信链路将提取的数 据部分发送至所述接收终端。Based on the communication address of the local area network, the extracted data portion is sent to the receiving terminal through the communication link of the local area network.
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述数据包来自于发送终端,所述接收终端的类型为非本地局域网设备,所述根据所述接收终端的类型将所述数据包转发至所述接收终端,包括:The method according to any one of claims 1-3, wherein the data packet comes from a sending terminal, the type of the receiving terminal is a non-local LAN device, and the data packet is sent according to the type of the receiving terminal The data packet is forwarded to the receiving terminal, including:
    基于所述接收终端的类型,通过核心网设备或数据网络将所述数据包发送至所述接收终端。Based on the type of the receiving terminal, the data packet is sent to the receiving terminal through a core network device or a data network.
  6. 根据权利要求1-3任一项所述的方法,其特征在于,所述数据包来自于发送终端,所述接收终端的类型为蜂窝-非蜂窝聚合设备,所述根据所述接收终端的类型将所述数据包转发至所述接收终端,包括:The method according to any one of claims 1-3, wherein the data packet comes from a sending terminal, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the type of the receiving terminal forwarding the data packet to the receiving terminal, including:
    基于所述接收终端的类型,所述接入网设备的适配层为所述数据包添加承载标识;Based on the type of the receiving terminal, the adaptation layer of the access network device adds a bearer identifier to the data packet;
    所述接入网设备的PDCP层对添加了承载标识的数据包进行编码;The PDCP layer of the access network device encodes the data packet to which the bearer identifier is added;
    通过局域网的通信链路将编码后的数据包发送至所述接收终端。The encoded data packet is sent to the receiving terminal through the communication link of the local area network.
  7. 根据权利要求1-3任一项所述的方法,其特征在于,所述数据包来自于发送终端,所述接收终端的类型为蜂窝-非蜂窝聚合设备,所述根据所述接收终端的类型将所述数据包转发至所述接收终端,包括:The method according to any one of claims 1-3, wherein the data packet comes from a sending terminal, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the type of the receiving terminal forwarding the data packet to the receiving terminal, including:
    所述接入网设备中的服务数据适配协议SDAP层为所述数据包添加承载标识;The service data adaptation protocol SDAP layer in the access network device adds a bearer identifier to the data packet;
    所述接入网设备中的PDCP层对添加了承载标识的数据包进行编码;The PDCP layer in the access network device encodes the data packet to which the bearer identifier is added;
    通过局域网的通信链路将编码后的数据包发送至所述接收终端。The encoded data packet is sent to the receiving terminal through the communication link of the local area network.
  8. 根据权利要求2所述的方法,其特征在于,所述数据包来自于核 心网或数据网络,所述方法还包括:The method according to claim 2, wherein the data packet is from a core network or a data network, and the method also includes:
    所述接入网设备的适配层从所述数据包中获取所述接收终端的公网IP地址。The adaptation layer of the access network device obtains the public network IP address of the receiving terminal from the data packet.
  9. 根据权利要求1、2或8所述的方法,其特征在于,所述数据包来自于核心网或数据网络,所述接收终端的类型为纯无线局域网设备或纯有线设备,所述根据所述接收终端的类型将所述数据包转发至所述接收终端,包括:The method according to claim 1, 2 or 8, wherein the data packet comes from a core network or a data network, and the type of the receiving terminal is a pure wireless local area network device or a pure wired device, and according to the The type of receiving terminal forwards the data packet to the receiving terminal, including:
    基于所述接收终端的类型,所述接入网设备的适配层获取所述数据包的数据部分,并确定所述接收终端对应的局域网的通信地址;Based on the type of the receiving terminal, the adaptation layer of the access network device obtains the data part of the data packet, and determines the communication address of the local area network corresponding to the receiving terminal;
    基于所述局域网的通信地址,通过局域网的通信链路将提取的数据部分发送至所述接收终端。Based on the communication address of the local area network, the extracted data portion is sent to the receiving terminal through the communication link of the local area network.
  10. 根据权利要求1、2或8所述的方法,其特征在于,所述数据包来自于核心网或数据网络,所述接收终端的类型为非本地局域网设备,所述根据所述接收终端的类型将所述数据包转发至所述接收终端,包括:The method according to claim 1, 2 or 8, wherein the data packet comes from a core network or a data network, the type of the receiving terminal is a non-local area network device, and the type of the receiving terminal according to the forwarding the data packet to the receiving terminal, including:
    基于所述接收终端的类型,转发添加了承载标识的数据包至所述接收终端。Based on the type of the receiving terminal, forward the data packet added with the bearer identifier to the receiving terminal.
  11. 根据权利要求1、2或8所述的方法,其特征在于,所述数据包来自于核心网或数据网络,所述接收终端的类型为蜂窝-非蜂窝聚合设备,所述根据所述接收终端的类型将所述数据包转发至所述接收终端,包括:The method according to claim 1, 2 or 8, wherein the data packet comes from a core network or a data network, the type of the receiving terminal is a cellular-non-cellular aggregation device, and the receiving terminal according to the The type of forwarding the data packet to the receiving terminal, including:
    基于所述接收终端的类型,所述接入网设备的PDCP层对添加了承载标识的数据包进行编码;Based on the type of the receiving terminal, the PDCP layer of the access network device encodes the data packet to which the bearer identifier is added;
    通过局域网的通信链路将编码后的数据包发送至所述接收终端。The encoded data packet is sent to the receiving terminal through the communication link of the local area network.
  12. 根据权利要求10所述的方法,其特征在于,所述局域网的通信地址包括媒体接入控制MAC地址、本地IP地址、端口号中的一种 或多种。The method according to claim 10, wherein the communication address of the local area network includes one or more of a media access control MAC address, a local IP address, and a port number.
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述接收终端的类型至少包括非本地局域网设备、纯无线局域网设备、纯有线设备、蜂窝-非蜂窝聚合设备中的至少一个。The method according to any one of claims 1-12, wherein the type of the receiving terminal includes at least one of non-local area network equipment, pure wireless local area network equipment, pure wired equipment, and cellular-non-cellular aggregation equipment .
  14. 根据权利要求13所述的方法,其特征在于,所述根据所述接收终端的属性确定所述接收终端的类型,包括:The method according to claim 13, wherein the determining the type of the receiving terminal according to the attributes of the receiving terminal comprises:
    根据所述接收终端的属性中的公网IP地址确定所述接收终端为是否为非本地局域网设备;Determine whether the receiving terminal is a non-local area network device according to the public network IP address in the attribute of the receiving terminal;
    若是,确定所述接收终端的类型为非本地局域网设备;If so, determine that the type of the receiving terminal is a non-local area network device;
    若否,根据所述接收终端的属性中的其他信息确定所述接收终端的类型是否为纯无线局域网设备、纯有线设备和蜂窝-非蜂窝聚合设备中的一种;If not, determine whether the type of the receiving terminal is one of a pure wireless local area network device, a pure wired device, and a cellular-non-cellular aggregation device according to other information in the attributes of the receiving terminal;
    其中,所述接收终端的属性中的其他信息包括MAC地址、设备型号、所述接收终端与所述接入网设备连接时经过的中间设备的信息中的一种或多种。Wherein, other information in the attribute of the receiving terminal includes one or more of MAC address, device model, and information of an intermediate device that the receiving terminal passes through when connecting to the access network device.
  15. 根据权利要求14所述的方法,其特征在于,所述根据所述接收终端的属性中的公网IP地址确定所述接收终端为是否为非本地局域网设备,包括:The method according to claim 14, wherein the determining whether the receiving terminal is a non-local LAN device according to the public network IP address in the attribute of the receiving terminal includes:
    获取至少一个公网IP地址,所述至少一个公网IP地址为通过无线局域网或有线网络接入的全部或部分的终端的公网IP地址;Obtaining at least one public IP address, where the at least one public IP address is the public IP address of all or part of the terminals accessed through a wireless local area network or a wired network;
    若所述接收终端的公网IP地址不属于所述至少一个公网IP地址,确定所述接收终端为非本地局域网设备,否则确定所述接收终端不是非本地局域网设备。If the public IP address of the receiving terminal does not belong to the at least one public IP address, determine that the receiving terminal is a non-local LAN device, otherwise determine that the receiving terminal is not a non-local LAN device.
  16. 一种通信装置,其特征在于,所述通信装置设置于接入网设备中或与所述接入网设备可通信连接,所述通信装置包括:A communication device, characterized in that the communication device is set in an access network device or is communicably connected to the access network device, and the communication device includes:
    数据包接收模块,用于接收要发送至接收终端的数据包;A data packet receiving module, configured to receive a data packet to be sent to a receiving terminal;
    设备类型确定模块,用于根据所述接收终端的属性确定所述接收终端的类型,其中,所述接收终端的属性至少包括所述接收终端的公网互联网协议IP地址;A device type determination module, configured to determine the type of the receiving terminal according to the attributes of the receiving terminal, wherein the attributes of the receiving terminal include at least the public network Internet Protocol IP address of the receiving terminal;
    数据包转发模块,用于根据所述接收终端的类型将所述数据包转发至所述接收终端。A data packet forwarding module, configured to forward the data packet to the receiving terminal according to the type of the receiving terminal.
  17. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器运行时,实现权利要求1至15任一项所述方法的步骤。A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are realized.
  18. 一种接入网设备,其特征在于,包括权利要求16所述的装置,或者,包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,所述处理器运行所述计算机程序时,执行权利要求1至15任一项所述方法的步骤。An access network device, characterized in that it includes the device according to claim 16, or includes a memory and a processor, the memory stores a computer program that can run on the processor, and the processor When the computer program is run, the steps of the method according to any one of claims 1 to 15 are performed.
PCT/CN2022/116669 2021-09-03 2022-09-02 Communication method and apparatus, and access network device and computer-readable storage medium WO2023030477A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111033495.4A CN115767661A (en) 2021-09-03 2021-09-03 Communication method and device, access network equipment and computer readable storage medium
CN202111033495.4 2021-09-03

Publications (1)

Publication Number Publication Date
WO2023030477A1 true WO2023030477A1 (en) 2023-03-09

Family

ID=85332588

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/116669 WO2023030477A1 (en) 2021-09-03 2022-09-02 Communication method and apparatus, and access network device and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN115767661A (en)
WO (1) WO2023030477A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802201A (en) * 2011-05-27 2012-11-28 上海贝尔股份有限公司 Communication method in cellular network and wireless local area network fused environment
CN106790732A (en) * 2015-11-24 2017-05-31 中兴通讯股份有限公司 Address conversion method, apparatus and system, network identity control method and device
CN107172120A (en) * 2017-03-27 2017-09-15 联想(北京)有限公司 Information processing method, processing node and network node
US20200136967A1 (en) * 2017-05-31 2020-04-30 New H3C Technologies Co., Ltd. Forwarding packet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802201A (en) * 2011-05-27 2012-11-28 上海贝尔股份有限公司 Communication method in cellular network and wireless local area network fused environment
CN106790732A (en) * 2015-11-24 2017-05-31 中兴通讯股份有限公司 Address conversion method, apparatus and system, network identity control method and device
CN107172120A (en) * 2017-03-27 2017-09-15 联想(北京)有限公司 Information processing method, processing node and network node
US20200136967A1 (en) * 2017-05-31 2020-04-30 New H3C Technologies Co., Ltd. Forwarding packet

Also Published As

Publication number Publication date
CN115767661A (en) 2023-03-07

Similar Documents

Publication Publication Date Title
US11722947B2 (en) Apparatus and method for routing data packet to user equipment in LTE-WLAN aggregation system
US10660008B2 (en) Data transmission system, method, and apparatus
EP3032871B1 (en) Data transmission method, device and system
JP6151871B2 (en) Cellular base station, user terminal, and processor
WO2018137689A1 (en) Method for secure data transmission, access network, terminal and core network device
WO2018059457A1 (en) Method, related device, and system for establishing session connection
WO2019157985A1 (en) Processing method for wireless backhaul communication and related device
EP3565287B1 (en) Multi-link communication method and device, and terminal
WO2015165051A1 (en) Data transmission method and device
KR20130130066A (en) Architecture for wlan offload in a wireless device
US20230239940A1 (en) Data transmission method and apparatus
US10887943B2 (en) Packet exchange method and related device
WO2020078248A1 (en) Wireless communication method and device
WO2017177975A1 (en) Service provider identity indication method and apparatus, user equipment and access device
JP2021514127A (en) Cell access restrictions based on the core network type associated with the PLMN identifier
WO2014121606A1 (en) Service processing method and related device
WO2022000171A1 (en) Wireless communication method, terminal device, and network device
WO2017219205A1 (en) Base station, data transmission method and apparatus
WO2023030477A1 (en) Communication method and apparatus, and access network device and computer-readable storage medium
WO2022063187A1 (en) Communication method and apparatus
US10506474B2 (en) Method and device for establishing transmission channel in fusion networking system
WO2017045124A1 (en) Method and device for receiving and sending application layer parameter information
WO2018228545A1 (en) Information processing method and related apparatus
WO2023279304A1 (en) Method applied to communication system and communication apparatus
WO2024104454A2 (en) Communication method, computer-readable storage medium, and communication apparatus

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE