Communication method and related device

By deploying a forwarding device in a wireless communication system, the correspondence between forwarding rules or industry communication address and tunnel information is obtained in advance, local forwarding of messages is realized, which solves the problem of transmission delay in industrial or industry communication scenarios and improves data security.

CN119729610APending Publication Date: 2025-03-28SHANGHAI HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311282556.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The prior art has high transmission delays in industrial or industry communication scenarios, especially when forwarding packets in 3GPP core networks, additional processing delays will be introduced, affecting the service experience.

Method used

By deploying a forwarding device in a wireless communication system, the correspondence between forwarding rules or industry communication addresses and tunnel information is obtained in advance, local forwarding of messages is realized, and forwarding through core network devices is avoided.

Benefits of technology

It effectively reduces the transmission delay of services and improves data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729610A_ABST
    Figure CN119729610A_ABST
Patent Text Reader

Abstract

The invention provides a communication method and a related device, which can reduce the transmission delay of a service. The method comprises the following steps: a first device receives a first message from a first application device, and determines a first forwarding rule corresponding to the first message according to feature information of the first message and a first mapping relationship from a core network device; wherein the first message is a message to be sent to the second application device, the first mapping relationship indicates a corresponding relationship between multiple groups of feature information and multiple forwarding rules, and each group of feature information comprises one or more of the following items: a source address, a destination address, an Ethernet type, a VLAN ID, a priority, a partial field in a message payload, or an extended field of a message header; each forwarding rule indicates whether to carry out local forwarding on the message, and the local forwarding is forwarding which does not pass through the core network equipment; and under the condition that the first forwarding rule indicates that the first message is locally forwarded, sending the first message to the second application equipment in a local forwarding mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication method and related devices. Background Art

[0002] Existing industrial or industry communication scenarios have high requirements for latency and reliability, and different businesses have different service level agreement (SLA) guarantees. For example, workshop business applications such as production control / distributed input and output (IO) require 8ms@99.99% to 99.999% SLA guarantees, and field business applications such as factory robot control require 4ms@99.999% to 99.9999% SLA guarantees.

[0003] The wireless communication system is connected to the industrial / industry communication system to realize data transmission between various application devices in the industry or industry. For example, after the fifth generation (5th generation, 5G) network is connected to the industrial or industry communication system, the intercommunication between terminals and the terminal access to the server are all required to be realized through the third generation partnership project (3rd generation partnership project, 3GPP) user plane network element. That is, in the industrial or industry communication system, the message generated by the application device at one end needs to pass through the transmission network to the 3GPP core network before it can be transmitted to the application device at the other end of the industrial or industry communication system. Since the message transmission to the 3GPP core network needs to pass through multiple network elements, the process of forwarding the message generated by the industry or industry through the 3GPP core network will introduce additional processing delays and affect the service experience. Summary of the invention

[0004] The present application provides a communication method and related devices to reduce the transmission delay of services.

[0005] In the first aspect, the present application provides a communication method, which can be applied to a first device, for example, can be executed by the first device, or can be executed by a component configured in the first device (such as a chip, a chip system, etc.), or can be implemented by a logic module or software that can implement all or part of the functions of the first device, and the present application does not limit this. Among them, the first device can be an access network device or a forwarding device.

[0006] Exemplarily, the method includes: receiving a first message from a first application device, the first message is a message to be sent to a second application device, the first application device accesses the network through 3GPP access technology, and the second application device accesses the network through non-3GPP access technology; determining a first forwarding rule corresponding to the first message according to characteristic information of the first message and a first mapping relationship from a core network device; the first mapping relationship indicates a correspondence between multiple groups of characteristic information and multiple forwarding rules, each group of characteristic information in the multiple groups of characteristic information includes one or more of the following: source address, destination address, Ethernet type, virtual local area network (VLAN) identifier (identity, ID), priority, partial fields in the message payload, or extended field in the message header, each of the multiple forwarding rules indicates whether to locally forward the message, and the local forwarding is forwarding without passing through the core network device; when the first forwarding rule indicates that the first message is to be locally forwarded, the first message is sent to the second application device in the local forwarding manner.

[0007] Optionally, when the first forwarding rule indicates that the first message is not to be forwarded locally, the first message is sent to the second application device through the core network device.

[0008] Optionally, the first mapping relationship may also be predefined.

[0009] In the present application, when the first device receives the first message from the first application device, it can determine the first forwarding rule corresponding to the first message based on the first mapping relationship from the access network device, so that the first message can be forwarded based on the first forwarding rule. When the first forwarding rule indicates that the first message should be forwarded locally, the first application device can forward the first message to the second application device without going through the core network device. Compared with the method of forwarding the message through the core network device, this method effectively reduces the transmission delay of the service.

[0010] In combination with the first aspect, in some implementations of the first aspect, the method further includes: receiving the first mapping relationship from the core network device.

[0011] Optionally, the first device may send a request message to a core network control plane network element or a core network user plane network element to request the correspondence between multiple sets of feature information and multiple forwarding rules; or, the core network control plane network element or the core network user plane network element may actively send a first mapping relationship to the first device.

[0012] In combination with the first aspect, in some implementations of the first aspect, the method further includes: parsing the first message to obtain characteristic information of the first message.

[0013] The characteristic information of the first message may include one or more of the following: source address, destination address, Ethernet type, VLAN ID, priority, some fields in the message payload, or an extension field in the message header.

[0014] In the second aspect, the present application provides a communication method, which can be applied to a first device, for example, can be executed by the first device, or can also be executed by a component configured in the first device (such as a chip, a chip system, etc.), or can also be implemented by a logic module or software that can realize all or part of the functions of the first device, and the present application does not limit this. Among them, the first device can be an access network device or a forwarding device.

[0015] Exemplarily, the method includes: receiving a second message from a first application device, the second message is a message to be sent to a second application device, and the second application device accesses the network through 3GPP access technology; based on the destination address of the second message, determining first tunnel information from a pre-acquired second mapping relationship, the second mapping relationship indicating the correspondence between at least one pair of source address and destination address and at least one tunnel information, the first tunnel information indicating the access network device and terminal corresponding to the destination address, the access network device is a device accessed by the terminal, the terminal is connected to the second application device, and the second application device is the application device identified by the destination address; based on the first tunnel information, locally forwarding the second message, and the local forwarding is forwarding without passing through the core network device.

[0016] The first application device may access the network through a 3GPP access technology, or the first application device may access the network through a non-3GPP access technology.

[0017] Each tunnel information in the above-mentioned at least one tunnel information indicates the access network device corresponding to the destination address, and each tunnel information may include a tunnel endpoint identifier (tunnel end point identifier, TEID), and / or a quality of service (quality of service, QoS) flow identifier (QoS of flow identifier, QFI), or other information that can be used to identify the second access network device.

[0018] Optionally, the second mapping relationship may further include other information, for example, tunnel information of an access network device corresponding to a source address in at least one pair of source address and destination address.

[0019] In the present application, after receiving the second message from the first application device, the first access network device can determine the first tunnel information corresponding to the second message based on the pre-acquired second mapping relationship and the destination address of the second message. Since the first tunnel information indicates the access network device corresponding to the destination address of the first message, the first access network can determine to which access network device the second message is transmitted after obtaining the first tunnel information. In this way, after receiving the second message, the first access network device does not need to forward it through the core network, but can realize local forwarding of the second message between base stations, which effectively reduces the transmission delay of the service while improving the security of the data.

[0020] Optionally, the local forwarding of the second message based on the first tunnel information includes: obtaining a third message based on the second message; and sending the third message to the access network device using the local forwarding method, wherein the third message has the same payload as the second message.

[0021] The difference between the third message and the second message is that the effective load is the same, but the encapsulation method of the effective load is different.

[0022] In a third aspect, the present application provides a communication method, which can be applied to a first access network device. For example, it can be performed by the first access network device, or it can be performed by a component (such as a chip, a chip system, etc.) configured in the first access network device, or it can be implemented by a logic module or software that can realize all or part of the functions of the first access network device, and the present application does not limit this. Among them, the first device includes a forwarding device.

[0023] Exemplarily, the method includes: receiving a second message from a first application device, the second message is a message to be sent to a second application device, the first application device and the second application device access the network through 3GPP access technology; based on the destination address of the second message, determining first tunnel information from a pre-acquired second mapping relationship, the second mapping relationship indicating the correspondence between at least one pair of source address and destination address and at least one tunnel information, the first tunnel information indicating a second access network device and a second terminal corresponding to the destination address, the second access network device is a device accessed by the second terminal, the second terminal is connected to the second application device, and the second application device is the application device identified by the destination address; based on the first tunnel information, sending indication information to the second terminal, the indication information indicating the second application device to monitor the location of a physical uplink shared channel (PUSCH) or a physical uplink control channel (PUCCH).

[0024] For the description of the second mapping relationship and at least one tunnel information, please refer to the previous description and will not be repeated here.

[0025] In the present application, after receiving the second message from the first application device, the first access network device can determine the first tunnel information corresponding to the second message based on the pre-acquired second mapping relationship and the destination address of the second message. Since the first tunnel information indicates the access network device corresponding to the destination address of the first message, the first access network can determine to which access network device the second message is transmitted after obtaining the first tunnel information. In this way, after receiving the second message, the first access network device does not need to forward it through the core network, but can instruct the terminals to communicate directly, effectively reducing the transmission delay of the service while improving the security of the data.

[0026] Optionally, the second access network device indicated by the first tunnel information is a different device from the first access network device; and sending the indication information to the second application device based on the first tunnel information includes: sending the indication information to the second access network device.

[0027] Optionally, the second access network device indicated by the first tunnel information is the same device as the first access network device; sending the indication information to the second application device based on the first tunnel information includes: sending the indication information directly to the first application device based on the first tunnel information.

[0028] In combination with the second and third aspects, in some implementations, the method further includes: acquiring the second mapping relationship.

[0029] Exemplarily, when the forwarding device is deployed in the first access network device, the first access network device can directly obtain the second mapping relationship from the core network device. For example, the first access network device obtains the second mapping relationship from the core network user plane through the N_a interface, and for another example, the first access network device obtains the second mapping relationship from the core network control plane through the N_b interface.

[0030] Exemplarily, when no forwarding device is deployed in the first access network device, the first access network device can directly obtain the second mapping relationship from the forwarding device connected thereto, for example, the first access network device obtains the second mapping relationship from the forwarding device through the N_e interface.

[0031] In combination with the second and third aspects, in some implementations, obtaining the second mapping relationship includes: generating at least one fourth message, the at least one fourth message including a target fourth message, the source address of the target fourth message being the same as the source address of the second message, and the destination address of the target fourth message being the same as the destination address of the second message; sending the at least one fourth message to a user plane function (UPF) network element of the core network; receiving at least one fifth message from the UPF network element; parsing the at least one fifth message to obtain at least one tunnel information, the at least one tunnel information including the first tunnel information; and determining the second mapping relationship based on at least one pair of source address and destination address corresponding to the at least one tunnel information and the at least one fourth message.

[0032] The source address of at least one fifth message is the same as the source address of at least one fourth message, and the destination address of at least one fifth message is the same as the destination address of at least one fourth message. The difference between at least one fourth message and at least one fifth message is that the tunnel information corresponding to each message in at least one fourth message is the access network device corresponding to the source address of each message, and the tunnel information corresponding to each message in at least one fifth message is the access network device corresponding to the destination address of each message.

[0033] In combination with the second and third aspects, in certain implementations, obtaining the second mapping relationship includes: sending a request message to the control plane network element of the core network, the request message being used to request a correspondence between at least one pair of source address and destination address and at least one tunnel information, the at least one pair of source address and destination address including the source address and the destination address of the second message; receiving mapping relationship information from the control plane network element, the mapping relationship information indicating a correspondence between the at least one pair of source address and destination address and the at least one tunnel information; and determining the second mapping relationship based on the mapping relationship information.

[0034] The device identified by each source address and destination address in at least one pair of source address and destination address is an application device in a communication system connected to a wireless network.

[0035] In combination with the second and third aspects, in some implementations, the method further includes: parsing the second message to obtain the source address and the destination address.

[0036] The source address is the address of the first application device, and the destination address is the address of the second application device.

[0037] In combination with the third aspect, in some implementations, the second mapping relationship is obtained from a forwarding device, and the forwarding device is a device connected between the first access network device and the core network device.

[0038] The description of the forwarding device acquiring the second mapping relationship can refer to the process of the first device acquiring the second mapping relationship mentioned above, which will not be repeated here.

[0039] In a fourth aspect, the present application provides a communication device, including modules or units for implementing the method in any aspect and any possible implementation of any aspect. It should be understood that each module or unit can implement the corresponding function by executing a computer program.

[0040] In a fifth aspect, the present application provides a communication device, comprising a processor, wherein the processor is used to execute the method described in any aspect and any possible implementation of any aspect.

[0041] The device may further include a memory for storing instructions and data. The memory is coupled to the processor, and when the processor executes the instructions stored in the memory, the methods described in the above aspects may be implemented.

[0042] The apparatus may further include a communication interface, and the communication interface is used for the apparatus to communicate with other devices. Exemplarily, the communication interface may be a transceiver, a circuit, a bus, a module, or other types of communication interfaces.

[0043] In a sixth aspect, the present application provides a chip system comprising at least one processor for supporting the implementation of the functions involved in any of the above aspects and any possible implementation of any of the aspects, for example, receiving or processing the data and / or information involved in the above method.

[0044] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0045] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0046] In a seventh aspect, the present application provides a computer-readable storage medium, including a computer program, which, when executed on a computer, enables the computer to implement the method in any aspect and any possible implementation of any aspect.

[0047] In an eighth aspect, the present application provides a computer program product, comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute a method in any aspect and any possible implementation of any aspect.

[0048] In a ninth aspect, the present application provides a communication system, comprising the aforementioned first access network device and application device.

[0049] It should be understood that the second to seventh aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a diagram of the architecture of the connection between a wireless network and a time sensitive networking (TSN) system;

[0051] Figures 2 to 5 It is a schematic diagram of the system architecture provided by the embodiment of the present application;

[0052] Figures 6 to 9 is a schematic flow chart of a communication method provided in an embodiment of the present application;

[0053] Fig.10 and Fig.11 It is a schematic block diagram of the device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0055] To facilitate understanding of the embodiments of the present application, the following points are first explained:

[0056] First, in the embodiments of the present application, the use of prefixes such as "first" and "second" is only to facilitate the distinction and description of different things belonging to the same name category, and does not restrict the order, size or quantity of things. For example, "first access network device" and "second access network device" are just different devices, and do not limit the number of devices or the priority relationship; for another example, "first message" and "second message" only refer to messages sent by different devices, and there is no time sequence, size relationship or priority relationship between the two.

[0057] Second, the "sending" and "receiving" in the embodiments of the present application indicate the direction of signal transmission. For example, "sending a second message to the first access network device" can be understood as the destination end of the second message being the first access network device, which can include direct sending through the air interface, and also includes indirect sending through the air interface by other units or modules; or transmission through the physical connection between the two. "Receiving a second message from a first application device" can be understood as the source end of the second message being the first application device, and can include direct reception from the first application device through the air interface, and can also include indirect reception from the second device through the air interface from other units or modules; or transmission through the physical connection between the two. "Sending" can also be understood as the "output" of the chip interface, and "receiving" can also be understood as the "input" of the chip interface.

[0058] In other words, sending and receiving can be performed between devices, for example, between the first application device and the first access network device; it can also be performed within the device, for example, sending or receiving between components, modules, chips, software modules or hardware modules within the device through a bus, wiring or interface.

[0059] It is understandable that before the information is sent from the source end to the destination end, it may be subjected to necessary processing, such as encoding, modulation, etc. After receiving the information from the source end, the destination end may also perform corresponding processing, such as decoding, demodulation, etc., so as to interpret the valid information from the source end. Similar expressions in this application can be understood similarly and will not be repeated.

[0060] Third, in the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship, but it does not exclude the situation where the previous and next associated objects are in an "and" relationship. The specific meaning can be understood in conjunction with the context. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c; a and b; a and c; b and c; or a and b and c. Where a, b, c can be single or multiple.

[0061] Fourth, in the embodiments of the present application, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information (such as the indication information described below) is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, directly indicating the information to be indicated, such as the information to be indicated itself or the index of the information to be indicated. The information to be indicated may also be indirectly indicated by indicating other information, wherein the other information has an association with the information to be indicated; it may also be possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance. For example, the indication of specific information may be achieved by means of the arrangement order of each information agreed in advance (such as predefined by the protocol), thereby reducing the indication overhead to a certain extent. The present application does not limit the specific method of indication.

[0062] It can be understood that, for the sender of the indication information, the indication information can be used to indicate the information to be indicated, and for the receiver of the indication information, the indication information can be used to determine the information to be indicated.

[0063] Fifth, the pre-defined in the present application can be understood as: define, pre-define, store, pre-store, pre-negotiate, pre-configure, solidify, or pre-burn.

[0064] The technical solution provided in this application can be applied to various communication systems, such as: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), sidelink (SL) communication system, worldwide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) mobile communication system or new radio access technology (NR), satellite communication system, etc. Among them, the 5G mobile communication system can include non-standalone (NSA) and / or standalone (SA).

[0065] The technical solution provided in this application can also be applied to future communication systems, such as the sixth generation (6G) mobile communication system, etc. This application does not limit this.

[0066] The radio access network (RAN) device in this application is a device with wireless transceiver function. The radio access network device can provide wireless communication function services and can access the terminal to the wireless network. The radio access network device can be a node in the radio access network, referred to as a RAN node.

[0067] In a possible scenario, a RAN node may be a base station (BS), an evolved NodeB (eNodeB), a transmission reception point (TRP), a home evolved NodeB (or home Node B, HNB), an access point (AP) of wireless fidelity (Wi-Fi), a mobile switching center, a next generation NodeB (gNB) in a 5G mobile communication system, a next generation NodeB in a 6G mobile communication system, or a base station in a future mobile communication system. A RAN node may also be a device that performs base station functions in a device to device (D2D) communication system, a vehicle to everything (V2X) communication system, a machine to machine (M2M) communication system, and an Internet of Things (IoT) communication system. A RAN node may also be a RAN node in a non terrestrial network (NTN), that is, a RAN node may be deployed on a high altitude platform or a satellite. The RAN node can be a macro base station, a micro base station or an indoor station, a relay node or a donor node, or a wireless controller in a cloud radio access network (CRAN) scenario, a node in an open radio access network (O-RAN or ORAN) scenario, etc. Optionally, the RAN node can also be a server, a wearable device, a vehicle or an onboard device, etc. For example, the RAN node in the V2X technology can be a road side unit (RSU). Of course, the RAN node can also be a node in the core network.

[0068] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, and different RAN nodes respectively implement part of the functions of the base station. For example, the RAN node can be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU can be set separately, or can also be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio frequency device or a radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU) or a remote radio head (RRH).

[0069] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called an open CU (O-CU), DU may also be called an open DU (O-DU), CU-CP may also be called an open CU-CP (O-CU-CP), CU-UP may also be called an open CU-UP (O-CU-UP), and RU may also be called an open RU (O-RU).

[0070] Among them, any unit in CU (or CU-CP, CU-UP), DU and RU can be implemented by software module, hardware module, or a combination of software module and hardware module. That is, the wireless access network device in this application can be a virtualized device, for example, implemented by general hardware and instantiated virtualization functions, or special hardware and instantiated virtualization functions. Among them, the general hardware can be a server, such as a cloud server.

[0071] The terminal in this application is a device with wireless communication function. The terminal can be called user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal equipment, wireless communication equipment, user agent or user device. Terminal and 3GPP terminal are used interchangeably below.

[0072] The application device in this application is a device that does not have a wireless communication function and can be a device in a trade / industry.

[0073] It can be understood that the application device and the 3GPP terminal are logical concepts and may be deployed together physically.

[0074] Exemplarily, the device in which the application device and the terminal are deployed together can be, for example, a mobile phone, a tablet computer (pad), a computer with wireless transceiver function (such as a laptop computer, a PDA, etc.), a mobile Internet device (mobile internet device, MID), a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self-driving, a drone, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a wireless terminal in a smart city, a wireless terminal in a smart home ... city, a wireless terminal in a smart home, a wireless terminal in a smart city, a wireless terminal in a smart city, a wireless terminal in a smart home, a wireless terminal in a smart city, a wireless terminal assistant, PDA), handheld devices with wireless communication function, computing devices or other processing devices connected to a wireless modem, vehicle-mounted devices, wearable devices, terminals in 5G networks or terminals in future evolved public land mobile communication networks (public land mobilenetwork, PLMN), etc.

[0075] Among them, wearable devices can also be called wearable smart devices, which are a general term for the intelligent design and development of wearable devices for daily wear using wearable technology, such as glasses, gloves, watches, clothing and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also realize powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0076] In addition, the terminal can also be a terminal in the IoT system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection. IoT technology can achieve massive connections, deep coverage, and terminal power saving through narrow band (NB) technology, for example.

[0077] In addition, the terminal can also include sensors such as smart printers, train detectors, and gas stations. Its main functions include collecting data (partial terminals), receiving control information and downlink data from network devices, and sending electromagnetic waves to transmit uplink data to network devices.

[0078] The terminal in the present application may be a virtualized device, for example, implemented by general hardware and instantiated virtualization functions, or by dedicated hardware and instantiated virtualization functions. The general hardware may be a server, for example, a cloud server.

[0079] It should be understood that the present application does not limit the specific forms of the wireless access network device and the device with wireless communication function.

[0080] Combine the following Figure 1 , introduces the system architecture of the connection between 5G system (abbreviated as: 5GS) and time sensitive networking (TSN) system.

[0081] Figure 1 Schematic diagram of the system architecture for docking 5GS and TSN systems provided in the embodiment of the present application. Figure 1 As shown in the figure, the 3rd generation partnership project (3GPP) 5GS and TSN translator (Translator) (abbreviated as TT) as a logical TSN bridge, the 5GS control plane TSN application function (AF) exchanges information with the nodes in the TSN network, and the exchanged information includes: 5GSbridge capability information, TSN configuration information, time scheduling information of TSN input and output ports, time synchronization information, etc. Among them, the TSN Translator on the UE side can be called the TSN Translator on the device side (DS-TT for short), which may be located inside the UE or outside; the TSN Translator on the UPF side can be called the TSN Translator on the network side (NW-TT for short), and NW-TT is located inside the UPF.

[0082] like Figure 1 As shown in the figure, the core network of 5GS can be divided into the control plane (CP) and the user plane (UP). UP is composed of UPF, and CP is composed of AMF, SMF, PCF, UDM, NEF, and AF. AMF exchanges information with the radio access network (RAN) and UE through the N2 and N1 interfaces to complete functions such as registration, session establishment, and mobility management. SMF controls UPF through the N4 interface. CP network elements such as SMF, UDM, and PCF interact through service-oriented interfaces.

[0083] like Figure 1 As shown, N1 is the interface between the UE and the core network control plane, which is used to transmit network attached storage (NAS) signaling. N2 is the communication interface between the AN and the core network control plane. N3 is the communication interface between the AN and the core network user plane network element UPF, which is used to transmit user data. N4 is the communication interface between the SMF and UPF, which is used to configure policies for the UPF, etc. It should be understood that the functions of some network elements can refer to known technologies and will not be repeated here.

[0084] The wireless communication system is connected with the industrial / industry communication system to realize data transmission between various application devices in the industry or industry. Among them, the industrial / industry communication system can refer to various application devices in the industry / industry. That is, the connection between the wireless communication system and the industrial / industry communication system can be understood as the connection between the wireless communication system and the application devices in the industry / industry. Figure 1 The TSN system shown can be viewed as an industrial / industrial communication system.

[0085] Exemplarily, when an industrial / industry communication system is connected to a wireless communication system, the following two communication modes may be included: 1. Single-ended wireless communication (or single-ended wireless / single-ended wirelessization): refers to the networking form in which, when the wireless communication system and the industrial / industry communication system are connected, one of the two application devices of the industrial / industry communication is connected to the terminal of the wireless communication system and the other is connected to the core network / central control unit of the wireless communication system, and only one side uses the wireless air interface; 2. Dual-ended wireless communication (or dual-ended wireless / dual-ended wirelessization): refers to the networking form in which, when the wireless communication system and the industrial / industry communication system are connected, both application devices of the industrial / industry communication are connected to the terminal of the wireless communication system and both sides use the wireless air interface.

[0086] Since typical industrial / industry communication scenarios have high low-latency and high-reliability communication SLA guarantees, and different services have different low-latency and high-reliability SLA guarantee requirements for wireless communication. For example, workshop business applications such as production control / distributed IO propose 8ms@99.99%~99.999% SLA guarantee requirements, field business applications such as factory robot control propose 4ms@99.999%~99.999% SLA guarantee requirements, and even some motion control business applications propose 1 millisecond (ms) and more stringent latency and reliability requirements. However, at present, for example, after the fifth generation (5th generation, 5G) network is connected to the industrial or industry communication system, the intercommunication between terminals and the terminal access to the server need to be realized through the 3GPP user plane network element. In other words, in the industrial or industry communication system, the message generated by the application device at one end needs to pass through the transmission network to the 3GPP core network before it can be transmitted to the application device at the other end of the industrial or industry communication system. Since the transmission of messages to the 3GPP core network requires the use of multiple network elements, the process of forwarding industrial or industry-generated messages through the 3GPP core network will introduce additional processing delays and affect the service experience.

[0087] In view of this, an embodiment of the present application provides a communication method and related devices. In the method, a forwarding device deployed in a wireless communication system pre-acquires a corresponding forwarding rule or a correspondence between an industry communication address pair and tunnel information, so that when the forwarding device receives an uplink / downlink message, it can directly forward the message locally based on the pre-acquired forwarding rule or correspondence, that is, the message generated by the application device at one end does not need to be forwarded through the core network device, thereby reducing the service transmission delay while improving the security of the data.

[0088] To facilitate understanding of the method provided in the embodiments of the present application, Figures 2 to 5 The communication architecture applicable to the method provided in the embodiment of the present application is introduced.

[0089] Figure 2 2 is a schematic block diagram of a system architecture 200 provided in an embodiment of the present application. Figure 2 As shown, the system architecture 200 includes: 3GPP terminal, 3GPP access network equipment, 3GPP core network control plane, 3GPP core network user plane, and a forwarding device connecting the 3GPP access network equipment and the 3GPP core network, an application device 1 connected to the 3GPP terminal, an application device 2 connected to the forwarding device, and an application device 3 connected to the 3GPP core network user plane.

[0090] Among them, application device 1 connected to the 3GPP terminal can be understood as an application device that accesses the network through 3GPP access technology; application device 2 connected to the forwarding device and application device 3 connected to the user plane of the 3GPP core network can be understood as application devices that access the network through non-3GPP access technology.

[0091] Figure 3 3 is a schematic block diagram of another system architecture 300 provided in an embodiment of the present application. Figure 3 As shown, the system architecture 300 includes two 3GPP terminals, two 3GPP access network devices, a 3GPP core network control plane, a 3GPP core network user plane, and a forwarding device connecting the two 3GPP access network devices and the 3GPP core network, an application device 1 connected to the 3GPP terminal 1, an application device 2 connected to the 3GPP terminal 2, and an application device 3 connected to the 3GPP core network user.

[0092] Among them, application device 1 connected to 3GPP terminal 1 and application device 2 connected to 3GPP terminal 2 can be understood as application devices that access the network through 3GPP access technology; application device 3 connected to the user plane of the 3GPP core network can be understood as application devices that access the network through non-3GPP access technology.

[0093] like Figure 2 and Figure 3 As shown, the 3GPP terminal and the 3GPP access network device communicate through the Uu interface. The messages encapsulated by the general packet radio service tunnelling protocol-user plane (general packet radio service tunnelling protocol-user plane, GTP-U) between the 3GPP access network device, the forwarding device and the 3GPP core network user plane are transmitted through the N3 interface. The N_a interface between the forwarding device and the 3GPP core network user plane is used for the interaction of new information. The N_b interface between the forwarding device and the 3GPP core network control plane is used for the interaction of new information. The interface between the forwarding device and the application device 2 can adopt the existing N6 interface of 3GPP, or it can be extended to be defined as other interfaces, such as the N_c interface. The N_e interface between the 3GPP access network device and the forwarding unit is used to provide auxiliary information (for example, the binding relationship between the source / destination address and the GTP-U tunnel).

[0094] It should be noted that, in actual deployment, the N_a interface between the forwarding device and the 3GPP core network user plane and the N_b interface between the forwarding device and the 3GPP core network control plane may be deployed with only one of the interfaces or both interfaces. For example, the N_a interface is deployed between the forwarding device and the 3GPP core network user plane, and / or the N_a interface is deployed between the forwarding device and the 3GPP core network user plane.

[0095] It should also be understood that the forwarding device in the present application may be a newly added network element or a newly added module in the current network architecture. Figure 2 and Figure 3 The forwarding device shown is deployed separately from the 3GPP access network equipment. Optionally, in actual deployment, the forwarding device can also be deployed independently, or deployed in access network equipment, transmission switch equipment, independent servers or multi-access edge computing (MEC), etc.

[0096] For example, Figure 2 When the forwarding device shown is deployed in a 3GPP access network device, the following can be obtained: Figure 4 The system architecture 400 shown; Figure 3 When the forwarding device shown is deployed in the 3GPP access network device 2, the following can be obtained: Figure 5 System architecture 500 is shown.

[0097] It should be understood that Figures 2 to 5 Just a schematic diagram. Figures 2 to 5 The system architecture shown may also include other devices. Figures 2 to 5 Not drawn in.

[0098] The method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0099] Figure 6 is a schematic flow chart of a communication method 600 provided in an embodiment of the present application. The method 600 can be applied to Figure 2 and Figure 4 The system architecture shown is shown. However, the embodiments of the present application are not limited thereto.

[0100] exist Figure 6 In the flowchart shown, the method is illustrated from the perspective of device interaction, but the present application does not limit the execution subject of the method. Figure 6 The first device in the method may also be a chip, a chip system, or a processor that supports the first device to implement the method, or may be a logic module or software that can implement all or part of the functions of the first device; Figure 6The application device (including the first application device and the second application device) may also be a chip, a chip system, or a processor that supports the access point device to implement the method, or may be a logic module or software that can implement all or part of the application device functions.

[0101] It should be understood that Figure 6 The first device in the example may be a forwarding device, for example, Figure 2 The forwarding device in the access network device may also be deployed with the forwarding device, for example, Figure 4 The forwarding device may be a network element or a module newly added in the current network architecture.

[0102] It should also be understood that since the first application device accesses the network through the 3GPP access technology and the second application device accesses the network through the non-3GPP access technology, Figure 6 The first application device in can be Figure 2 and Figure 4 The application device 1 in the example, the second application device may be Figure 2 and Figure 4 Application device 2 or application device 3 in.

[0103] like Figure 6 As shown, the method 600 may include S601 to S603. Each step in the method 600 is described in detail below.

[0104] S601: A first application device sends a first message to a first device. Correspondingly, the first device receives the first message from the first application device.

[0105] The first message is a message to be sent to the second application device. That is, the device identified by the destination address of the first message is the second application device.

[0106] Since the first application device accesses the network through the 3GPP access technology, the first application device may be the first message sent to the first device through the 3GPP terminal connected thereto, and the first message is a message encapsulated through CTP-U.

[0107] S602: The first device determines a first forwarding rule corresponding to the first message according to characteristic information of the first message and a first mapping relationship from a core network device.

[0108] The first mapping relationship indicates the correspondence between multiple groups of feature information and multiple forwarding rules. Each group of feature information in the multiple groups of feature information includes one or more of the following: source address, destination address, Ethernet type, VLAN ID, priority, part of the fields in the message payload, or an extended field in the message header; each forwarding rule in the multiple forwarding rules indicates whether to forward the message locally, and local forwarding is forwarding without passing through the core network device.

[0109] Optionally, before S602, the method 600 further includes: parsing the first message to obtain characteristic information of the first message.

[0110] The characteristic information of the first message may include one or more of the following: source address, destination address, Ethernet type, VLAN ID, priority, part of the fields in the message payload, or an extension field in the message header. That is, the source address, destination address, Ethernet type, VLAN ID, priority, part of the fields in the message payload, and an extension field in the message header may be obtained by parsing the first message.

[0111] Exemplarily, when the characteristic information of the first message includes a source address, the first device may determine at least one set of characteristic information including the source address from the first mapping relationship based on the source address.

[0112] If there is a set of characteristic information including the source address corresponding to the first message in the first mapping relationship, then the forwarding rule corresponding to the set of characteristic information is the first forwarding rule, and the first forwarding rule can indicate local forwarding of the first message, or indicate not to forward the first message locally.

[0113] If there are multiple sets of characteristic information including the source address corresponding to the first message in the first mapping relationship, the multiple forwarding rules corresponding to the multiple sets of characteristic information are all first forwarding rules. Since the multiple forwarding rules corresponding to the multiple sets of characteristic information may include both forwarding rules indicating that the message is to be forwarded locally and forwarding rules indicating that the message is not to be forwarded locally, the first forwarding rule may indicate both that the first message is to be forwarded locally and that the first message is not to be forwarded locally.

[0114] Optionally, the first mapping relationship may also be predefined. For example, the first mapping relationship may be preconfigured in the first device through a management interface or the like.

[0115] S603: When the first forwarding rule indicates to forward the first message locally, the first device sends the first message to the second application device in a local forwarding manner. Correspondingly, the second application device receives the first message.

[0116] Alternatively, when the first forwarding rule indicates that the first message is not to be forwarded locally, the first message is sent to the second application device through the core network device.

[0117] Alternatively, when the first forwarding rule indicates both local forwarding and non-local forwarding of the first message, the first device needs to both locally forward the first message and forward the first message through the core network device.

[0118] In an embodiment of the present application, when the first device receives the first message from the first application device, it can determine the first forwarding rule corresponding to the first message based on the first mapping relationship from the access network device, thereby realizing forwarding of the first message based on the first forwarding rule. When the first forwarding rule indicates local forwarding of the first message, the first application device does not need to forward the first message to the second application device through the core network device. Compared with the method of forwarding messages through the core network device, this method can effectively reduce the transmission delay of the service and improve the security of the data.

[0119] Optionally, before S602, the method 600 further includes: the first device receives a first mapping relationship from a core network device.

[0120] Optionally, the first device may send a request message to the core network control plane or the core network user plane to request the correspondence between multiple sets of feature information and multiple forwarding rules; or, the core network control plane or the core network user plane may actively send the first mapping relationship to the first device.

[0121] Exemplarily, the first device may interact with the core network device through the N_a interface or the N_b interface to obtain the first mapping relationship. For example, the first device may interact with the 3GPP core network user plane through the N_a interface to obtain the first mapping relationship; or the first device may interact with the 3GPP core network control through the N_b interface to obtain the first mapping relationship.

[0122] Figure 7 is another schematic flow chart of the communication method 700 provided in an embodiment of the present application. The method can be applied to Figures 2 to 5 The system architecture shown is shown. However, the embodiments of the present application are not limited thereto.

[0123] exist Figure 7 In the flowchart shown, the method is illustrated from the perspective of device interaction, but the present application does not limit the execution subject of the method. Figure 7 The first device in the method may also be a chip, a chip system, or a processor that supports the forwarding device to implement the method, or may be a logic module or software that can implement all or part of the functions of the forwarding device; Figure 7The application device (including the first application device and the second application device) may also be a chip, a chip system, or a processor that supports the access point device to implement the method, or may be a logic module or software that can implement all or part of the application device functions.

[0124] It should be understood that Figure 7 The first device in the example may be a forwarding device (deployed separately from the access network device), for example, Figure 2 and Figure 3 or an access network device without a forwarding device deployed, for example, Figure 2 and Figure 3 The access network equipment in the system, or the access network equipment deploying the forwarding device, for example, may be Figure 4 and Figure 5 The forwarding device may be a network element or a module newly added in the current network architecture.

[0125] It should also be understood that Figure 7 The first application device in can be Figures 2 to 5 Application device 2, Figure 7 The second application device in can be Figures 2 to 5 Application device 1.

[0126] like Figure 7 As shown, the method 700 may include S701 to S703. Each step in the method 700 is described in detail below.

[0127] S701, a first application device sends a second message to a first device. Correspondingly, the first device receives the second message.

[0128] The second message is a message to be sent to a second application device, that is, the device identified by the destination address of the second message is the second application device.

[0129] Among them, the second application device accesses the network through 3GPP access technology; the first application device can access the network through 3GPP access network technology) or through non-3GPP access technology.

[0130] It can be understood that the application device that accesses the network through 3GPP access technology refers to the application device connected to the 3GPP terminal; the application device that accesses the network through non-3GPP access technology refers to the application device that is not connected to the 3GPP terminal, for example, it can be an application device physically connected to the first device.

[0131] For example, when the first application device accesses the network through 3GPP access technology, the first application device sends the second message to the first device through the 3GPP terminal connected thereto, and the second message is a message encapsulated through CTP-U. Alternatively, when the first application device accesses the network through non-3GPP access technology, the first application device directly sends the second message to the first device, and the second message is not a message encapsulated through CTP-U. For example, the first application device can Figure 2 and Figure 4 The N_c interface shown sends a second message to the first device.

[0132] S702: The first device determines first tunnel information from a pre-acquired second mapping relationship based on a destination address of the second message.

[0133] The second mapping relationship indicates a correspondence between at least one pair of source address and destination address and at least one piece of tunnel information, or in other words, at least one pair of source address and destination address corresponds one-to-one with at least one piece of tunnel information.

[0134] Each tunnel information in the at least one tunnel information indicated by the second mapping relationship indicates the access network device and the terminal corresponding to the destination address. Therefore, the first tunnel information indicates the second access network device and the second terminal corresponding to the destination address of the second message, the second access network device is the device accessed by the second terminal, and the second terminal is connected to the second application device.

[0135] Exemplarily, each piece of tunnel information in the at least one piece of tunnel information may include TEID and / or QFI, or other information that may be used to identify the second access network device.

[0136] Optionally, before S702, the method 700 further includes: the first access network device parses the second message to obtain a source address and a destination address of the second message.

[0137] Exemplarily, after the first access network device obtains the source address and destination address of the second message, it can determine the source address and destination address of the second message based on the source address and destination address from at least one pair of source address and destination address indicated by the second mapping relationship, and then determine the tunnel information corresponding to the source address and destination address of the second message, which tunnel information is the first tunnel information.

[0138] In one possible implementation, when the first application device accesses the network through 3GPP access network technology, each tunnel information in at least one tunnel information included in the above-mentioned second mapping relationship also indicates the access network device and terminal corresponding to the source address; or, the above-mentioned second mapping relationship indicates the correspondence between the first type of tunnel information and the second type of tunnel information, wherein the first type of tunnel information indicates the access network device and terminal corresponding to the source address in at least one pair of source address and destination address, and the second type of tunnel information indicates the access network device and terminal corresponding to the destination address in at least one pair of source address and destination address.

[0139] Optionally, when the first application device accesses the network through the 3GPP access network technology, and the second mapping relationship indicates the correspondence between the first type of tunnel information and the second type of tunnel information, the above S702 can be replaced by: the first device determines the second type of tunnel information corresponding to the second message from the pre-acquired second mapping relationship based on the first type of tunnel information corresponding to the second message. Among them, the first type of tunnel information corresponding to the second message indicates the first access network device and the first terminal corresponding to the source address of the second message, and the second type of tunnel information corresponding to the second message indicates the second access network device and the second terminal corresponding to the destination address of the second message. In other words, when the first application device accesses the network through the 3GPP access network technology, and the second mapping relationship indicates the correspondence between the first type of tunnel information and the second type of tunnel information, after receiving the second message, the first device can directly forward the second message based on the correspondence between the first type of tunnel information and the second type of tunnel information without parsing the source address and destination address of the second message.

[0140] S703: The first device locally forwards the second message based on the first tunnel information, wherein the local forwarding is forwarding without passing through the core network device.

[0141] Exemplarily, the first device locally forwards the second message based on the first tunnel information, including: the first device sends a third message to the second access network device in a local forwarding manner based on the first tunnel information. Correspondingly, the second access network device receives the third message and sends the third message to the second terminal. Similarly, the second terminal receives the third message and sends the third message to the second application device.

[0142] In a possible scenario, the first application device accesses the network through 3GPP access technology, and the first application device can access the first access network device through the first terminal. When the second access network device indicated by the first tunnel information is the same device as the first access network device, the first device can directly send a third message to the second terminal based on the first tunnel information; or, when the second access network device indicated by the first tunnel information is different from the first access network device, the first device can send a third message to the second access network device based on the first tunnel information. Correspondingly, the second access network device receives the third message and sends the third message to the second application device through the second terminal.

[0143] The difference between the second message and the third message is that the payload is the same, but the payload is encapsulated in different ways, for example, by encapsulating the payload using the service data adaptation protocol (SDAP) / packet data convergence protocol (PDCP), or by using XnAP encapsulation.

[0144] In an embodiment of the present application, after receiving a message from the first application device, the first device can determine the first tunnel information corresponding to the message based on the pre-acquired second mapping relationship and the destination address of the message. Since the first tunnel information indicates the access network device corresponding to the destination address of the message, the first device can determine which access network device to transmit the message to after obtaining the first tunnel information. In this way, the first device does not need to forward the third message through the core network after receiving it, which effectively reduces the transmission delay of the service and improves the security of the data.

[0145] Optionally, in a scenario where the first device has not acquired the second mapping relationship in advance, the first device may acquire the access network device to which the second message needs to be sent by trying or learning.

[0146] Exemplarily, the first device may send a third message obtained based on the second message to multiple access network devices respectively, and determine the access network device to which the second message needs to be sent by trial and error.

[0147] Exemplarily, the first device may learn the correspondence between the forwarded message and the access network device, so that after receiving the second message, the first device may determine the access network device to which the second message needs to be sent based on the learned correspondence.

[0148] Optionally, the method 700 further includes: the first device acquires a second mapping relationship.

[0149] As mentioned above, the first device may be a forwarding device (deployed separately from the access network device), or an access network device deployed with a forwarding device, or a forwarding device without an access network device deployed.

[0150] Exemplarily, when the first device is a forwarding device (deployed separately from the access network device) or an access network device in which a forwarding device is deployed, the first device can directly obtain the second mapping relationship from the core network device. For example, the first access network device obtains the second mapping relationship from the core network user plane through the N_a interface, and for another example, the first access network device obtains the second mapping relationship from the core network control plane through the N_b interface.

[0151] Exemplarily, when the first device is an access network device without a forwarding device deployed, the first device can directly obtain the second mapping relationship from the forwarding device connected thereto, for example, the first access network device obtains the second mapping relationship from the forwarding device through the N_e interface.

[0152] The following describes in detail the process of the first access network device acquiring the second mapping relationship in the above two scenarios with reference to three examples.

[0153] In scenario one, when the first device is a forwarding device (deployed separately from the access network device), or is an access network device deployed with a forwarding device, the second mapping relationship can be obtained through the following method one or method two.

[0154] Method 1: The first device obtains the second mapping relationship through the core network user plane. The specific acquisition process may include the following steps 1 to 5:

[0155] Step 1, generating at least one fourth message, wherein the at least one fourth message includes a target fourth message, a source address of the target fourth message is the same as the source address of the second message, and a destination address of the target fourth message is the same as the destination address of the second message;

[0156] It can be understood that the device identified by the source address and the destination address of each message in the at least one fourth message is an application device in the communication system connected to the wireless network.

[0157] Step 2, sending at least one fourth message to the UPF network element of the core network;

[0158] Step 3, receiving at least one fifth message from the UPF network element;

[0159] The source address of the at least one fifth message is the same as the source address of the at least one fourth message, and the destination address of the at least one fifth message is the same as the destination address of the at least one fourth message.

[0160] Step 4, parsing at least one fifth message to obtain at least one tunnel information, wherein the at least one tunnel information includes the first tunnel information;

[0161] Among them, the difference between at least one fifth message and at least one fourth message is that the tunnel information corresponding to each message in at least one fifth message is the access network device corresponding to the source address of each message, and the tunnel information corresponding to each message in at least one fourth message is the access network device corresponding to the destination address of each message.

[0162] Exemplarily, the UPF network element may send at least one fifth message to the first access network device through the Na_a interface.

[0163] Step 5: Determine a second mapping relationship based on at least one tunnel information and at least one pair of source address and destination address corresponding to at least one fourth message.

[0164] In method 2, the first device obtains the second mapping relationship through the core network control plane. The specific acquisition process may be as follows: Steps 1 to 3:

[0165] Step 1: Send a request message to a control plane network element of a core network, where the request message is used to request a correspondence between at least one pair of source address and destination address and at least one tunnel information, where the at least one pair of source address and destination address includes a source address and a destination address of a second message;

[0166] Among them, at least one pair of source address and destination address includes the source address and destination address of the third message.

[0167] It can be understood that the device identified by each source address and destination address in at least one pair of source address and destination address is an application device in a communication system connected to the wireless network.

[0168] Step 2: receiving mapping relationship information from a control plane network element, where the mapping relationship information indicates a corresponding relationship between at least one pair of source address and destination address and at least one tunnel information;

[0169] It can be understood that the at least one tunnel information includes the first tunnel information.

[0170] Step 3: Determine a second mapping relationship based on the mapping relationship information.

[0171] In scenario two, when the first device is an access network device that is not deployed with a forwarding device, the second mapping relationship can be obtained through the following method three.

[0172] Mode 3: The first device obtains the second mapping relationship from a forwarding device, where the forwarding device is a device connected between the first device and the core network device. For example, the first device receives the second mapping relationship from the forwarding device.

[0173] For the description of the forwarding device acquiring the second mapping relationship, reference may be made to the description in the above-mentioned method 1 and method 2, which will not be repeated here.

[0174] It is understandable that the above Figure 6 and Figure 7 The embodiments shown can be combined with each other or implemented independently. Figure 6 and Figure 7 When the embodiments shown are combined with each other, the communication method 800 provided by the present application can be used for Figure 2 and Figure 4 The system architecture shown in FIG. 8A , the method 800 may include the following steps: Figure 8 S801 to S806 are shown. The method 800 is described below with the first device as the execution subject.

[0175] S801, receiving message 1.

[0176] The message 1 can be the previous Figure 2 The message from the application device 1 is referred to as the first message in this application. That is, the first message is a message sent by the application device 1 to the forwarding device through the 3GPP terminal and the 3GPP access network device.

[0177] Alternatively, the message 1 may be the previous message Figure 2 or Figure 3 The message from the application device 2 is referred to as the second message in this application. That is, the second message is the message sent by the application device 2 to the forwarding device.

[0178] S802: Determine whether message 1 is the first message or the second message.

[0179] Exemplarily, the first device receives the message 1 through the Uu interface or the N3 interface, and determines that the message 1 is the first message.

[0180] Exemplarily, the first device receives message 1 through the N_c interface, and determines that message 1 is the second message.

[0181] When the message 1 is the first message, S803 and S804 may be continued to be executed. Alternatively, when the message 1 is the second message, S805 and S806 may be continued to be executed.

[0182] S803: Determine a first forwarding rule corresponding to the first message based on characteristic information of the first message and a first mapping relationship from a core network device.

[0183] The process may refer to the description in S602 above, which will not be repeated here.

[0184] S804: forward the first message based on the first forwarding rule.

[0185] Optionally, when the first forwarding rule indicates that the first message is to be forwarded locally, the second message is sent to the second application device in a local forwarding manner. Alternatively, when the first forwarding rule indicates that the first message is not to be forwarded locally, the first message is sent to the second application device via the core network device.

[0186] The process may refer to the relevant description in S603 and will not be described again here.

[0187] S805: Determine first tunnel information from a pre-acquired second mapping relationship based on the destination address of the second message.

[0188] For a detailed description of S805, please refer to the description of S702 above, which will not be repeated here.

[0189] S806: Locally forward the first message based on the first tunnel information.

[0190] For a detailed description of S806, please refer to the description of S703 above, which will not be repeated here.

[0191] The beneficial effects achieved by method 800 are the same as those achieved by the above-mentioned methods 600 and 700, and will not be described in detail here.

[0192] Fig. 9 is another schematic flow chart of the communication method 900 provided in an embodiment of the present application. The method can be applied to Figure 3 and Figure 5 The system architecture shown is shown. However, the embodiments of the present application are not limited thereto.

[0193] exist Fig. 9 In the flowchart shown, the method is illustrated from the perspective of device interaction, but the present application does not limit the execution subject of the method. Fig. 9 The first access network device in the method may also be a chip, a chip system, or a processor that supports the first access network device to implement the method, or may be a logic module or software that can implement all or part of the functions of the first access network device; Fig. 9 The application device (including the first application device and the second application device) may also be a chip, a chip system, or a processor that supports the access point device to implement the method, or may be a logic module or software that can implement all or part of the application device functions.

[0194] It should be understood that Fig. 9 The first access network device in the example may be an access network device in which a forwarding device is deployed, for example, Figure 5 The 3GPP access network device 2 in the embodiment may also be an access network device without a forwarding device, for example, Figure 3 3GPP access network equipment in Fig. 9The first application device and the second application device in the example access the network through 3GPP access technology, so the second application device can be Figure 3 and Figure 5 The first application device may be Figure 3 and Figure 5 Application device 2 in.

[0195] like Fig. 9 As shown, the method 900 may include S901 to S903. Each step in the method 900 is described in detail below.

[0196] S901, a first application device sends a second message to a first access network device. Correspondingly, the first access network device receives a second message from a first application.

[0197] The second message is a message to be sent to the second application device. That is, the device identified by the destination address of the second message is the second application device. The second application device may be connected to the first access network device, or may not be connected to the first access network device.

[0198] It can be understood that the first application device sends the second message to the first access network device, which may be that the first application device sends the second message to the first access network device through the 3GPP terminal, and the second message is a message encapsulated through CTP-U.

[0199] S902: The first access network device determines first tunnel information from a pre-acquired second mapping relationship based on a destination address of the second message.

[0200] The first tunnel information indicates a second access network device and a second terminal corresponding to the destination address of the first message, the second access network device is a device accessed by the second terminal, and the second terminal is connected to the second application device.

[0201] For the description of the second mapping relationship, please refer to the relevant description in S702, which will not be repeated here.

[0202] S903: The first access network device sends indication information to the second terminal based on the first tunnel information, where the indication information indicates a position at which the second terminal monitors the PUSCH or the PUCCH.

[0203] In a possible implementation, when the second access network device indicated by the first tunnel information is a different device from the first access network device, the first access network device sends the indication information to the second access network device. Correspondingly, the second access network device receives the indication information from the first access network device and sends the indication information to the second terminal.

[0204] In other words, when the second access network device indicated by the first tunnel information is a different device from the first access network device, the first access network device forwards the indication information to the second terminal through the second access network device. For example, the indication information is transmitted between the first access network device and the second access network device via an Xn interface.

[0205] In another possible implementation, when the second access network device indicated by the first tunnel information is the same device as the first access network device, the first access network device directly sends the indication information to the second terminal based on the first tunnel information. For example, the first access network device sends the indication information to the second terminal via a Uu interface.

[0206] In an embodiment of the present application, after receiving the second message from the first application device, the first access network device can determine the first tunnel information corresponding to the second message based on the pre-acquired second mapping relationship and the destination address of the second message. Since the first tunnel information indicates the access network device corresponding to the destination address of the first message, the first access network can determine which access network device to transmit the second message to after obtaining the first tunnel information. In this way, after receiving the second message, the first access network device does not need to forward it through the core network, but can realize local forwarding of the second message between access network devices, or instruct terminals to communicate directly, effectively reducing the transmission delay of the service while improving the security of the data.

[0207] Optionally, the method 900 further includes: the first access network device acquires a second mapping relationship.

[0208] Exemplarily, when the forwarding device is deployed in the first access network device, the first access network device can directly obtain the second mapping relationship from the core network device. For example, the first access network device obtains the second mapping relationship from the core network user plane through the N_a interface, and for another example, the first access network device obtains the second mapping relationship from the core network control plane through the N_b interface.

[0209] Exemplarily, when no forwarding device is deployed in the first access network device, the first access network device can directly obtain the second mapping relationship from the forwarding device connected thereto, for example, the first access network device obtains the second mapping relationship from the forwarding device through the N_e interface.

[0210] The following describes the process of the first access network device acquiring the second mapping relationship in the above two scenarios with reference to three examples.

[0211] Scenario 1: A forwarding device is deployed in the first access network equipment.

[0212] 1. The first access network device obtains the second mapping relationship through the core network user plane. The process of obtaining the second mapping relationship can refer to the description in the above method 1, that is, the first device is replaced by the first access network device. The specific implementation process is not repeated here.

[0213] 2. The first access network device obtains the second mapping relationship through the core network control plane. The process of obtaining the second mapping relationship can refer to the description in the above method 2, that is, the first device is replaced by the first access network device. The specific implementation process is not repeated here.

[0214] Scenario 2: No forwarding device is deployed in the first access network device. The first access network device receives a second mapping relationship from the forwarding device. The forwarding device is a device connected between the first access network device and the core network device.

[0215] For the description of the forwarding device acquiring the second mapping relationship, reference may be made to the description in the above-mentioned method 1 and method 2, which will not be repeated here.

[0216] Combination of the above Figures 1 to 9 , describes in detail the method provided in the embodiment of the present application, and the following is combined with Fig.10 and Fig.11 , introduces the device provided in the embodiments of the present application.

[0217] Fig.10 and Fig.11 Schematic diagram of possible devices provided by embodiments of the present application. These devices can be used to implement the functions of the first device or the first access network device in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments.

[0218] Fig.10 is a schematic block diagram of the device provided in the embodiment of the present application. Fig.10 As shown, the device 1000 includes a transceiver module 1010 and a processing module 1020 .

[0219] One possible design is that the device 1000 is used to implement the above Figures 6 to 8 The function of the first device in the method embodiment shown in FIG.

[0220] Exemplarily, the transceiver module 1010 is used to: receive a first message from a first application device, where the first message is a message to be sent to a second application device, where the first application device accesses the network through a 3GPP access technology, and the second application device accesses the network through a non-3GPP access technology; the processing module 1020 is used to: determine a first forwarding rule corresponding to the first message based on the characteristic information of the first message and a first mapping relationship from a core network device; the first mapping relationship indicates a correspondence between multiple groups of characteristic information and multiple forwarding rules, each group of characteristic information in the multiple groups of characteristic information includes one or more of the following: source address, destination address, Ethernet type, VLAN ID, priority, partial fields in the message payload, or an extended field in the message header, and each of the multiple forwarding rules indicates whether to forward the message locally, and the local forwarding is forwarding without passing through the core network device; the transceiver module 1010 is also used to: when the first forwarding rule indicates that the first message is to be forwarded locally, send the first message to the second application device in the local forwarding manner.

[0221] Optionally, the transceiver module 1010 is further used to: when the first forwarding rule indicates that the first message is not to be forwarded locally, send the first message to the second application device through the core network device.

[0222] Optionally, the transceiver module 1010 is further used to: receive the first mapping relationship from the core network device.

[0223] Optionally, the processing module 1020 is further used to: parse the first message to obtain characteristic information of the first message.

[0224] For a more detailed description of the transceiver module 1010 and the processing module 1020, please refer to Figure 6 The relevant description in the illustrated embodiment is directly obtained and will not be repeated here.

[0225] Exemplarily, the transceiver module 1010 is used to: receive a second message from a first application device, where the second message is a message to be sent to a second application device, and the second application device accesses the network through the Third Generation Partnership Project 3GPP access technology; the processing module 1020 is used to: determine the first tunnel information from a pre-acquired second mapping relationship based on the destination address of the second message, the second mapping relationship indicating the correspondence between at least one pair of source address and destination address and at least one tunnel information, the first tunnel information indicating the access network device and terminal corresponding to the destination address, the access network device is the device accessed by the terminal, the terminal is connected to the second application device, and the second application device is the application device identified by the destination address; the transceiver module 1010 is also used to: based on the first tunnel information, locally forward the second message, and the local forwarding is forwarding without passing through the core network device.

[0226] Optionally, the processing module 1020 is further used to: obtain a third message based on the second message; the transceiver module 1010 is further used to: send the third message to the access network device using the local forwarding method, and the third message has the same payload as the second message.

[0227] Optionally, the transceiver module 1010 is further used to: obtain a second mapping relationship.

[0228] Optionally, the processing module 1020 is also used to: generate at least one fourth message, the at least one fourth message includes a target fourth message, the source address of the target fourth message is the same as the source address of the second message, and the destination address of the target fourth message is the same as the destination address of the second message; the transceiver module 1010 is also used to: send the at least one fourth message to the user plane function UPF network element of the core network; and, receive at least one fifth message from the UPF network element; the processing module 1020 is also used to: parse the at least one fifth message to obtain at least one tunnel information, the at least one tunnel information includes the first tunnel information; and, based on the at least one tunnel information and at least one pair of source address and destination address corresponding to the at least one fourth message, determine the second mapping relationship.

[0229] Optionally, the transceiver module 1010 is also used to: send a request message to the control plane network element of the core network, the request message is used to request the correspondence between at least one pair of source address and destination address and at least one tunnel information, the at least one pair of source address and destination address including the source address and the destination address of the second message; and receive mapping relationship information from the control plane network element, the mapping relationship information indicating the correspondence between the at least one pair of source address and destination address and the at least one tunnel information; the processing module 1020 is also used to: determine the second mapping relationship based on the mapping relationship information.

[0230] Optionally, the processing module 1020 is further used to: parse the first message to obtain the source address and the destination address.

[0231] For a more detailed description of the transceiver module 1010 and the processing module 1020, please refer to Figure 7 The relevant description in the illustrated embodiment is directly obtained and will not be repeated here.

[0232] Another possible design is that the device 1000 is used to implement the above Fig. 9 The function of the first access network device in the method embodiment shown in FIG.

[0233] Exemplarily, the transceiver module 1010 is used to: receive a second message from a first application device, where the second message is a message to be sent to a second application device, and the first application device and the second application device access the network through the Third Generation Partnership Project 3GPP access technology; the processing module 1020 is used to: determine the first tunnel information from a pre-acquired second mapping relationship based on the destination address of the second message, the second mapping relationship indicates the correspondence between at least one pair of source address and destination address and at least one tunnel information, the first tunnel information indicates the second access network device and the second terminal corresponding to the destination address, the second access network device is a device accessed by the second terminal, the second terminal is connected to the second application device, and the second application device is the application device identified by the destination address; the transceiver module 1010 is also used to: send indication information to the second terminal based on the first tunnel information, and the indication information indicates the location where the second terminal monitors PUSCH or PUCCH.

[0234] Optionally, the second access network device indicated by the first tunnel information is a different device from the first access network device; the transceiver module 1010 is further used to: send the indication information to the second access network device.

[0235] Optionally, the second access network device indicated by the first tunnel information is the same device as the first access network device; the transceiver module 1010 is also used to: directly send the indication information to the second terminal based on the first tunnel information.

[0236] Optionally, the transceiver module 1010 is further used to: obtain a second mapping relationship.

[0237] Optionally, the processing module 1020 is also used to: generate at least one fourth message, the at least one fourth message includes a target fourth message, the source address of the target fourth message is the same as the source address of the second message, and the destination address of the target fourth message is the same as the destination address of the second message; the transceiver module 1010 is also used to: send the at least one fourth message to the user plane function UPF network element of the core network; and, receive at least one fifth message from the UPF network element; the processing module 1020 is also used to: parse the at least one fifth message to obtain at least one tunnel information, the at least one tunnel information includes the first tunnel information; and, based on the at least one tunnel information and at least one pair of source address and destination address corresponding to the at least one fourth message, determine the second mapping relationship.

[0238] Optionally, the transceiver module 1010 is also used to: send a request message to the control plane network element of the core network, the request message is used to request the correspondence between at least one pair of source address and destination address and at least one tunnel information, the at least one pair of source address and destination address including the source address and the destination address of the second message; and receive mapping relationship information from the control plane network element, the mapping relationship information indicating the correspondence between the at least one pair of source address and destination address and the at least one tunnel information; the processing module 1020 is also used to: determine the second mapping relationship based on the mapping relationship information.

[0239] Optionally, the second mapping relationship is acquired from a forwarding device, and the forwarding device is a device connected between the first access network device and the core network device.

[0240] Optionally, the processing module 1020 is further used to: parse the first message to obtain the source address and the destination address.

[0241] For a more detailed description of the transceiver module 1010 and the processing module 1020, please refer to Fig. 9 The relevant description in the illustrated embodiment is directly obtained and will not be repeated here.

[0242] It should be noted that the device 1000 may include a sending module but not a receiving module. Alternatively, the device 1000 may include a receiving module but not a sending module. Specifically, it may depend on whether the above solution executed by the device 1000 includes a sending action and a receiving action. It is understandable that since the device 1000 has a communication function, it can also be called a communication device.

[0243] Fig.11 is another schematic block diagram of the device provided in the embodiment of the present application. Fig.11 As shown, the device 1100 includes one or more processors 1110. The processor 1110 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process the communication protocol and communication data, and the central processing unit may be used to control the device (such as the first device, the first access network device or the chip, etc.), execute the software program, and process the data of the software program.

[0244] Optionally, in one design, the processor 1110 may include a program (also referred to as code or instruction), which may be executed on the processor 1110 to enable the apparatus 1100 to perform the method performed by the first device or the second device in the above method embodiment. In another possible design, the apparatus 1100 includes a circuit ( Fig.11 (not shown), the circuit is used to implement the function of the first device or the first access network device in the above method embodiment.

[0245] For example, the processor 1110 may be configured to execute computer programs or instructions in the memory to implement Figures 6 to 9 The steps performed by the first device or the first access network device in the method embodiment shown in any one of the illustrated embodiments.

[0246] Optionally, the device 1100 may include one or more memories 1120 on which programs (sometimes also referred to as codes or instructions) are stored. The programs can be run on the processor 1110, so that the device 1100 executes the method executed by the first device or the first access network device in the above embodiment.

[0247] Optionally, the processor 1110 and / or the memory 1120 may include an artificial intelligence (AI) module, and the AI ​​module is used to implement AI-related functions. The AI ​​module may be implemented by software, hardware, or a combination of software and hardware. For example, the AI ​​module may include a wireless intelligent controller (RIC) module. For example, the AI ​​module may be a near real-time RIC or a non-real-time RIC.

[0248] Optionally, data may also be stored in the processor 1110 and / or the memory 1120. The processor and the memory may be provided separately or integrated together.

[0249] Optionally, the device 1100 may further include a communication interface 1130. The processor 1110 may also be sometimes referred to as a processing unit, which controls the device (e.g., the first device or the first access network device). The communication interface 1130 may also be sometimes referred to as a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, etc., which is used to implement the transceiver function of the device.

[0250] Optionally, the device 1100 further includes a communication interface 1130. The processor 1110 and the communication interface 1130 are coupled to each other. It can be understood that the communication interface 1130 can be a transceiver or an input-output interface.

[0251] It can be understood that since the device 1100 has a communication function, it can also be called a communication device.

[0252] When the device 1100 is used to implement Figures 6 to 9 In the method shown, the processor 1110 is used to execute the functions of the above processing unit, and the communication interface 1130 is used to execute the functions of the above transceiver module. Whether the communication interface 1130 is used for sending or receiving can be determined by whether it is used for performing a sending action or a receiving action in the solution executed by the device 1100.

[0253] When the above-mentioned device 1100 is a chip applied to the first device, the chip implements the functions of the first device in the above-mentioned method embodiment. The chip of the first device receives a signal from other modules (such as a radio frequency module or an antenna) in the first device, and the signal may be sent by the first application device to the first device; or the chip of the first device sends a signal to other modules (such as a radio frequency module or an antenna) in the first device, and the signal may be sent by the first device to the second application device.

[0254] When the above-mentioned device 1100 is a chip applied to the first access network device, the chip implements the functions of the first access network device in the above-mentioned method embodiment. The chip of the first access network device receives a signal from other modules (such as a radio frequency module or an antenna) in the first access network device, and the signal may be sent by the first application device to the first access network device; or, the chip of the first access network device sends a signal to other modules (such as a radio frequency module or an antenna) in the first access network device, and the signal may be sent by the first access network device to the second application device.

[0255] It can be understood that when the apparatus 1100 is a first device or a first access network device, the communication interface 1130 can be a transceiver, which can specifically include a transmitter and a receiver, the transmitter is used to send signals, and the receiver is used to receive signals. When the apparatus 1100 is a chip applied to the first device or the first access network device, the communication interface 1130 can be an input-output circuit, wherein the input circuit can be used for receiving, and the output interface can be used for sending.

[0256] It should be noted that the above method embodiments can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software.

[0257] The processor may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component or any combination thereof. The general purpose processor may be a microprocessor or any conventional processor.

[0258] The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0259] The memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct ram bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

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

[0261] The present application also provides a computer-readable medium on which a computer program is stored. When the computer program is executed by a computer, the functions of the above method embodiments are implemented.

[0262] The present application also provides a computer program product comprising instructions, which implements the functions of the above method embodiments when executed by a computer.

[0263] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0264] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0265] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0266] 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 distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0267] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0268] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0269] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication method, characterized in that: include: receiving a first message from a first application device, where the first message is a message to be sent to a second application device, where the first application device accesses a network through a third generation partnership project 3GPP access technology, and the second application device accesses a network through a non-3GPP access technology; Determine a first forwarding rule corresponding to the first message according to the characteristic information of the first message and a first mapping relationship from a core network device; the first mapping relationship indicates a correspondence between multiple groups of characteristic information and multiple forwarding rules, each group of characteristic information in the multiple groups of characteristic information includes one or more of the following: source address, destination address, Ethernet type, virtual local area network VLAN identifier ID, priority, part of the fields in the message payload, or an extended field in the message header, each forwarding rule in the multiple forwarding rules indicates whether to perform local forwarding on the message, and the local forwarding is forwarding without passing through the core network device; In a case where the first forwarding rule indicates to perform the local forwarding on the first message, the first message is sent to the second application device in the local forwarding manner.

2. The method according to claim 1, characterized in that When the first forwarding rule indicates that the first message is not to be forwarded locally, the first message is sent to the second application device through the core network device.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Receive the first mapping relationship from the core network device.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The first message is parsed to obtain characteristic information of the first message.

5. A communication method, characterized in that: include: receiving a second message from the first application device, where the second message is a message to be sent to a second application device, where the second application device accesses the network through a third generation partnership project 3GPP access technology; Based on the destination address of the second message, determine the first tunnel information from a second mapping relationship obtained in advance, the second mapping relationship indicating a correspondence between at least one pair of source address and destination address and at least one tunnel information, the first tunnel information indicating an access network device and a terminal corresponding to the destination address, the access network device is a device accessed by the terminal, the terminal is connected to the second application device, and the second application device is an application device identified by the destination address; Based on the first tunnel information, the second message is locally forwarded, and the local forwarding is forwarding without passing through a core network device.

6. The method according to claim 5, characterized in that The locally forwarding the second message based on the first tunnel information includes: Based on the second message, a third message is obtained; The third message is sent to the access network device in the local forwarding manner, and the third message has the same payload as the second message.

7. The method according to claim 5 or 6, characterized in that: The method further comprises: The second mapping relationship is obtained.

8. The method according to claim 7, characterized in that The acquiring the second mapping relationship includes: Generate at least one fourth message, wherein the at least one fourth message includes a target fourth message, a source address of the target fourth message is the same as the source address of the second message, and a destination address of the target fourth message is the same as the destination address of the second message; Sending the at least one fourth message to a user plane function UPF network element of the core network; receiving at least one fifth message from the UPF network element; Parsing the at least one fifth message to obtain at least one tunnel information, where the at least one tunnel information includes the first tunnel information; The second mapping relationship is determined based on the at least one tunnel information and at least one pair of source address and destination address corresponding to the at least one fourth message.

9. The method according to claim 7, characterized in that: The acquiring the second mapping relationship includes: Sending a request message to a control plane network element of the core network, wherein the request message is used to request a correspondence between at least one pair of source address and destination address and at least one tunnel information, wherein the at least one pair of source address and destination address includes the source address and the destination address of the second message; Receiving mapping relationship information from the control plane network element, the mapping relationship information indicating a corresponding relationship between the at least one pair of source address and destination address and the at least one tunnel information; Based on the mapping relationship information, the second mapping relationship is determined.

10. The method according to any one of claims 5 to 9, characterized in that The method further comprises: The second message is parsed to obtain the source address and the destination address.

11. A communication method, characterized in that: Applied to a first access network device, the method includes: receiving a second message from a first application device, where the second message is a message to be sent to a second application device, where the first application device and the second application device access a network through a third generation partnership project 3GPP access technology; Based on the destination address of the second message, determine the first tunnel information from a pre-acquired second mapping relationship, the second mapping relationship indicating a correspondence between at least one pair of source address and destination address and at least one tunnel information, the first tunnel information indicating a second access network device and a second terminal corresponding to the destination address, the second access network device is a device accessed by the second terminal, the second terminal is connected to the second application device, and the second application device is an application device identified by the destination address; Based on the first tunnel information, indication information is sent to the second terminal, where the indication information instructs the second terminal to monitor a position of a physical uplink shared channel PUSCH or a physical uplink control channel PUCCH.

12. The method according to claim 11, characterized in that The second access network device indicated by the first tunnel information is a different device from the first access network device; The sending indication information to the second terminal based on the first tunnel information includes: Send the indication information to the second access network device.

13. The method according to claim 11, characterized in that The second access network device indicated by the first tunnel information is the same device as the first access network device; The sending indication information to the second terminal based on the first tunnel information includes: Based on the first tunnel information, the indication information is directly sent to the second terminal.

14. The method according to any one of claims 11 to 13, characterized in that The method further comprises: The second mapping relationship is obtained.

15. The method according to claim 14, characterized in that The acquiring the second mapping relationship includes: Generate at least one fourth message, wherein the at least one fourth message includes a target fourth message, a source address of the target fourth message is the same as the source address of the second message, and a destination address of the target fourth message is the same as the destination address of the second message; Sending the at least one fourth message to a user plane function UPF network element of the core network; receiving at least one fifth message from the UPF network element; Parsing the at least one fifth message to obtain at least one tunnel information, where the at least one tunnel information includes the first tunnel information; The second mapping relationship is determined based on the at least one tunnel information and at least one pair of source address and destination address corresponding to the at least one fourth message.

16. The method according to claim 14, characterized in that The acquiring the second mapping relationship includes: Sending a request message to a control plane network element of the core network, wherein the request message is used to request a correspondence between at least one pair of source address and destination address and at least one tunnel information, wherein the at least one pair of source address and destination address includes the source address and the destination address of the second message; Receiving mapping relationship information from the control plane network element, the mapping relationship information indicating a corresponding relationship between the at least one pair of source address and destination address and the at least one tunnel information; Based on the mapping relationship information, the second mapping relationship is determined.

17. The method according to claim 14, characterized in that The second mapping relationship is acquired from a forwarding device, and the forwarding device is a device connected between the first access network device and the core network device.

18. The method according to any one of claims 11 to 17, characterized in that The method further comprises: The second message is parsed to obtain the source address and the destination address.

19. A communication device, characterized in that: Comprising means for implementing the method as claimed in any one of claims 1 to 18.

20. A communication device, characterized in that: The device comprises a processor configured to enable the communication device to implement the method according to any one of claims 1 to 18 by executing a computer program and / or a logic circuit.

21. The device according to claim 20, characterized in that The system also includes a memory for storing a computer program and / or a configuration file of the logic circuit.

22. The device according to claim 20 or 21, characterized in that A communication interface is also included for inputting and / or outputting signals.

23. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 18 is performed.

24. A computer program product, characterized in that The invention comprises a computer program, and when the computer program is run, the method according to any one of claims 1 to 18 is performed.