WO2023133871A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2023133871A1
WO2023133871A1 PCT/CN2022/072228 CN2022072228W WO2023133871A1 WO 2023133871 A1 WO2023133871 A1 WO 2023133871A1 CN 2022072228 W CN2022072228 W CN 2022072228W WO 2023133871 A1 WO2023133871 A1 WO 2023133871A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
public network
data information
routing rule
network element
Prior art date
Application number
PCT/CN2022/072228
Other languages
French (fr)
Chinese (zh)
Inventor
朱浩仁
陈中平
诸华林
徐艺珊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2022/072228 priority Critical patent/WO2023133871A1/en
Publication of WO2023133871A1 publication Critical patent/WO2023133871A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/12Reselecting a serving backbone network switching or routing node

Definitions

  • the embodiment of the present application relates to the communication field, and more specifically relates to a communication method and device.
  • the data information in the non-public network may be local data information or cross-domain data information.
  • the data information in the non-public network is cross-domain data information, the data information needs to be transmitted in different non-public networks.
  • Embodiments of the present application provide a communication method and device, which can enable terminal devices in different non-public networks to complete data transmission.
  • a communication method is provided, the method is applied to a public network, and the method includes: a user plane network element in the public network receives data information from a first device in a first non-public network, and the public network communicate with the first non-public network through a wireless interface; the user plane network element sends the data information to the second device in the second non-public network according to a first routing rule, wherein the first routing rule is used for Indicates the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, and the public network communicates with the second non-public network through a wireless interface.
  • different non-public networks can communicate with the public network through the wireless interface, and the user plane network elements in the public network receive information from the first non-public network through the wireless interface between the public network and the first non-public network. and forward the data to the second device in the second non-public network through the wireless interface between the public network and the second non-public network, so that the terminal device in the first non-public network and the second Terminal devices in the non-public network can perform data transmission based on the public network, realizing cross-domain transmission between terminal devices in the non-public network.
  • the above technical solution improves universality and flexibility, and reduces costs.
  • multiple tunnels can be established between the public network and multiple non-public networks, and the user plane network element in the public network can select the corresponding tunnel to forward data to the second device in the second non-public network according to the first routing rule , which not only realizes the correct forwarding of data, but also applies to more communication scenarios.
  • the method further includes: receiving, by the user plane network element, the first routing rule from a control plane network element in the public network.
  • the user plane network element sends the data information to the second device according to the first routing rule, including: the address of the user plane network element according to the data information and the first routing rule, and send the data information to the second device.
  • the user plane network element sending the data information to the second device in the second non-public network includes: determining that the first device belongs to a device group member In some cases, the user plane network element sends the data information to the second device in the second non-public network.
  • the user plane network element determines that the first device is a member of the device group according to the attribute of the first device.
  • the attribute includes one or more of the following: a subaddress segment of the first device, DNN, session type, and S-NSSAI.
  • terminal devices in different non-public networks when terminal devices in different non-public networks perform cross-domain data information transmission, they can perform wireless communication through the tunnel between the devices in the non-public network established by the public network and the public network, compared with the wireless communication through the wired private network.
  • the method of cross-domain transmission through the network channel improves the universality and flexibility, and reduces the cost. Compared with the method of cross-domain transmission through a third-party server, it can improve the security of data transmission.
  • a communication method is provided, the method is applied to a public network, and the method includes: a control plane network element in the public network determines a target routing rule, and the target routing rule includes a first routing rule and/or a second routing rule a routing rule, the first routing rule is used to indicate the relationship between the sub-address segment of the second device in the second non-public network and the tunnel corresponding to the second device, the second routing rule is used to indicate the relationship between the second device The relationship between the sub-address segment of the public network and the tunnel corresponding to the user plane network element in the public network, wherein the communication between the public network and the second non-public network is through a wireless interface; the control plane network element sends the target route rule.
  • multiple tunnels can be established between the public network and multiple non-public networks, and the user plane network element in the public network can select the corresponding tunnel to the second network element in the second non-public network according to the first routing rule.
  • the device forwards data, and the device in the non-public network can also select the corresponding tunnel to forward data to the user plane network element in the public network according to the second routing rule, so as to not only realize the correct forwarding of data, but also apply to more communication Scenes.
  • the target routing rule includes a first routing rule
  • the sending of the target routing rule by the control plane network element includes: the control plane network element sends the user plane network element Sending the first routing rule; and/or, the target routing rule includes a second routing rule
  • the control plane network element sending the target routing rule includes: the control plane network element sending the first device in the first non-public network
  • the second routing rule is sent, wherein the public network communicates with the first non-public network through a wireless interface.
  • the control plane network element in the public network determines the target routing rule, including: the control plane network element according to the identifiers of the multiple devices and the addresses of the multiple devices The relationship between the segments is used to determine the target routing rule, wherein the multiple devices include the first device and the second device.
  • the method further includes: the control plane network element receives N1 messages from multiple devices, The N1 message includes an N2 message, the N2 message is used to establish a wireless connection on the N2 interface, and the multiple devices include the first device and the second device; the control plane network element sends a response message to the N1 message to the multiple devices , the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • the wireless communication between each non-public network and the public network can be completed through a wireless interface.
  • wireless communication can be performed through the tunnel between the devices in the non-public network established by the public network and the public network.
  • the way of cross-domain transmission through channels improves the universality and flexibility, and reduces the cost. Compared with the way of cross-domain transmission through third-party servers, it can improve the security of data transmission.
  • a communication method is provided, the method is applied to a first non-public network, and the method includes: a first device in the first non-public network determines to send data to a second device in a second non-public network Information; the first device in the first non-public network sends the data information to the user plane network element in the public network; wherein, the first non-public network communicates with the public network through a wireless interface, and the public network and The second non-public network communicates through a wireless interface.
  • terminal devices in different non-public networks transmit cross-domain data information
  • they can communicate with public networks through wireless interfaces.
  • sending the data information by the first device in the first non-public network to the user plane network element in the public network includes: the first device sends the data information according to the second route A rule for sending the data information to the user plane network element, wherein the second routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to the user plane network element in the public network.
  • the method further includes: the first device receiving the second routing rule from a control plane network element in the public network.
  • the first device sends the data information to the user plane network element according to the second routing rule, including: the first device sends the data information to the user plane network element according to the address and The second routing rule sends the data information to the user plane network element.
  • the method before the first device in the first non-public network sends the data information to the user plane network element in the public network, the method further includes: the first The device sends an N1 message to the control plane network element in the public network, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface; the first device receives the N1 message from the control plane network element A response message, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the connection of the N2 interface is successfully established.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • the wireless communication between each non-public network and the public network can be completed through a wireless interface.
  • terminal devices in different non-public networks perform cross-domain data information transmission, they can communicate wirelessly through the tunnel between the devices in the non-public network established by the public network and the public network, compared with the cross-domain communication through wired private network channels.
  • the way of transmission improves the universality and flexibility, and reduces the cost. Compared with the way of cross-domain transmission through third-party servers, it can improve the security of data transmission.
  • a communication method is provided, the method is applied to a public network, and the method includes: a control plane network element of the public network receives an N1 message from a plurality of devices, the N1 message includes an N2 message, and the N2 message uses For establishing a wireless connection of the N2 interface, the multiple devices include a first device in the first non-public network and a second device in the second non-public network; the control plane network element sends the N1 message to the multiple devices A response message, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
  • the N2 wireless interface connection between the non-public network and the public network can be established, so that the non-public network and the public network can communicate through the wireless interface, and subsequent terminal devices in different non-public networks perform cross-domain When data information is transmitted, it can also have the characteristics of strong universality, more flexibility, safety and low cost.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • a communication method is provided, the method is applied to a first non-public network, and the method includes: a first device in the first non-public network sends an N1 message to a control plane network element in a public network, the The N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface; the first device receives a response message of the N1 message from the control plane network element, and the response message of the N1 message includes a response message of the N2 message , the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
  • the N2 wireless interface connection between the non-public network and the public network can be established, so that the non-public network and the public network can communicate through the wireless interface, and subsequent terminal devices in different non-public networks perform cross-domain When data information is transmitted, it can also have the characteristics of strong universality, more flexibility, safety and low cost.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • a communication device is provided, the device is applied to a public network, and the device includes: a transceiver unit and a processing unit, the transceiver unit is configured to receive data information from a first device in a first non-public network, The public network and the first non-public network communicate through a wireless interface; the processing unit is configured to determine a first routing rule, wherein the first routing rule is used to indicate the second device in the second non-public network The relationship between the sub-address segment and the tunnel corresponding to the second device; the transceiver unit is also used to send the data information to the second device according to the first routing rule, the public network and the second non-public network communicate through the wireless interface.
  • the transceiving unit is configured to receive the first routing rule from a control plane network element in the public network.
  • the transceiving unit is configured to send the data information to the second device according to the address of the data information and the first routing rule.
  • the transceiving unit is configured to send the data information to the second device when it is determined that the first device belongs to a device group member.
  • the processing unit is configured to determine that the first device is a member of the device group according to the attribute of the first device.
  • the attribute includes one or more of the following: the subaddress segment of the first device, DNN, session type, and S-NSSAI.
  • a communication device which is applied to a public network, and the device includes: a transceiver unit and a processing unit, the processing unit is configured to determine a target routing rule, and the target routing rule includes a first routing rule and/or or a second routing rule, the first routing rule is used to indicate the relationship between the sub-address segment of the second device in the second non-public network and the tunnel corresponding to the second device, the second routing rule is used to indicate the The relationship between the sub-address segment of the second device and the tunnel corresponding to the user plane network element in the public network, wherein the communication between the public network and the second non-public network is through a wireless interface; the transceiver unit is used for Send the destination routing rule.
  • the transceiving unit is configured to send the first routing rule to the user plane network element; and/or, the transceiving unit is also configured to send the first routing rule to the first non- The first device in the public network sends the second routing rule, where the public network communicates with the first non-public network through a wireless interface.
  • the processing unit is configured to determine the target routing rule according to the relationship between identifiers of multiple devices and address segments of the multiple devices, where the A plurality of devices includes the first device and the second device.
  • the apparatus before the processing unit is configured to determine the target routing rule, the apparatus further includes: the transceiver unit, configured to receive N1 messages from multiple devices, the N1 The message includes an N2 message, and the N2 message is used to establish a wireless connection of the N2 interface, and the multiple devices include the first device and the second device; the transceiver unit is also used to send a response message to the N1 message to the multiple devices , the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
  • the transceiver unit configured to receive N1 messages from multiple devices, the N1 The message includes an N2 message, and the N2 message is used to establish a wireless connection of the N2 interface, and the multiple devices include the first device and the second device; the transceiver unit is also used to send a response message to the N1 message to the multiple devices , the response message of the N1 message includes a response message of the N
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • a communication device which is applied to a first non-public network, and the device includes: a transceiver unit and a processing unit, where the processing unit is configured to determine to send a message to a second device in a second non-public network Data information; the transceiver unit is configured to send the data information to the user plane network element in the public network; wherein, the first non-public network communicates with the public network through a wireless interface, and the public network and the second non-public network The public network communicates through the wireless interface.
  • the transceiver unit is configured to send the data information to the user plane network element according to a second routing rule, where the second routing rule is used to indicate that the The relationship between the sub-address segment of the second device and the tunnel corresponding to the user plane network element in the public network.
  • the transceiving unit is configured to receive the second routing rule from the control plane network element in the public network.
  • the transceiving unit is configured to send the data information to the user plane network element according to the address of the data information and the second routing rule.
  • the device before the transceiver unit is configured to send the data information to the user plane network element in the public network, the device further includes: the transceiver unit is also configured to send The control plane network element in the public network sends an N1 message, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface; the transceiver unit is also used to receive the N1 message from the control plane network element The response message of the N1 message includes the response message of the N2 message, and the response message of the N2 message is used to indicate that the connection of the N2 interface is successfully established.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • a communication device which is applied to a public network, and the device includes: a transceiver unit and a processing unit, the transceiver unit is configured to receive N1 messages from multiple devices, the N1 messages include N2 messages, The N2 message is used to establish a wireless connection of the N2 interface, and the multiple devices include a first device in the first non-public network and a second device in the second non-public network; the processing unit is configured to process the N1 message, Generate a response message to the N1 message; the transceiver unit is further configured to send a response message to the N1 message to the plurality of devices, the response message to the N1 message includes a response message to the N2 message, and the response message to the N2 message is used for Indicates that the wireless connection of the N2 interface is successfully established.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • a communication device is provided, the device is applied to a first non-public network, and the device includes: a transceiver unit and a processing unit, the processing unit is used to generate an N1 message; the transceiver unit is used to send a message to the public network
  • the control plane network element in the network sends the N1 message, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface;
  • the transceiver unit is also used to receive a response to the N1 message from the control plane network element message, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established;
  • the processing unit is also used to process the response message of the N1 message.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • a communication device in an eleventh aspect, includes: at least one processor, configured to execute a computer program or instruction stored in a memory, so as to perform the method in any possible implementation manner of the first aspect to the sixth aspect above .
  • the apparatus further includes a memory for storing computer programs or instructions.
  • the device further includes a communication interface, through which the processor reads the computer program or instructions stored in the memory.
  • the device is a core network element.
  • the device is a chip, a chip system or a circuit for a core network element.
  • the present application provides a processor configured to execute the method provided in the foregoing aspects.
  • the processor's output and reception, input and other operations can also be understood as the sending and receiving operations performed by the radio frequency circuit and the antenna, which is not limited in this application.
  • a computer-readable storage medium stores program code for execution by a device, and the program code includes any one of the possible implementation manners for executing the first aspect to the sixth aspect above Methods.
  • a computer program product including instructions is provided, and when the computer program product is run on a computer, the computer executes the method in any possible implementation manner of the first aspect to the sixth aspect above.
  • FIG. 1 is a schematic diagram of a network architecture applied to an embodiment of the present application.
  • Fig. 2 is a schematic diagram of another network architecture applied to the embodiment of the present application.
  • Fig. 3 is a schematic diagram of another network architecture applied to the embodiment of the present application.
  • Fig. 4 is a schematic scene diagram of a communication method provided according to an embodiment of the present application.
  • Fig. 5 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
  • Fig. 6 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
  • Fig. 7 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
  • Fig. 8 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
  • Fig. 9 is a schematic architecture diagram of a communication method provided according to an embodiment of the present application.
  • Fig. 10 is a schematic diagram of a communication method provided according to an embodiment of the present application.
  • Fig. 11 is a schematic flowchart of a communication method provided according to an embodiment of the present application.
  • Fig. 12 is a schematic flowchart of a communication method provided according to another embodiment of the present application.
  • Fig. 13 is a schematic flowchart of a communication method provided according to another embodiment of the present application.
  • Fig. 14 is a schematic flowchart of a communication method provided according to another embodiment of the present application.
  • Fig. 15 is a schematic block diagram of a communication device provided by an embodiment of the present application.
  • Fig. 16 is a schematic block diagram of another communication device provided by an embodiment of the present application.
  • the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: fifth generation (5th generation, 5G) or new radio (new radio, NR) system, long term evolution (long term evolution, LTE) system, LTE frequency Division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD) system, etc.
  • 5G fifth generation
  • NR new radio
  • long term evolution long term evolution
  • LTE frequency Division duplex frequency division duplex
  • FDD frequency division duplex
  • TDD time division duplex
  • the technical solution provided by this application can also be applied to future communication systems, such as the sixth generation mobile communication system.
  • the technical solution provided by this application can also be applied to device to device (device to device, D2D) communication, vehicle to everything (vehicle-to-everything, V2X) communication, machine to machine (machine to machine, M2M) communication, machine type Communication (machine type communication, MTC), and Internet of things (internet of things, IoT) communication system or other communication systems.
  • D2D device to device
  • V2X vehicle-to-everything
  • M2M machine to machine
  • M2M machine type Communication
  • MTC machine type communication
  • IoT Internet of things
  • FIG. 1 the network architecture applicable to the embodiment of the present application is briefly introduced in conjunction with FIG. 1 , as follows.
  • the network architecture takes the 5G system (the 5th generation system, 5GS) as an example.
  • the network architecture may include but not limited to: access and mobility management function (access and mobility management function, AMF), unified data management (unified data management, UDM), radio access network (radio access network, RAN), policy Control function (policy control function, PCF), user equipment (user equipment, UE), user plane function (user plane function, UPF), data network (data network, DN), authentication service function (authentication server function, AUSF) , network slice selection function (network slice selection function, NSSF), application function (application function, AF), session management function (session management function, SMF) and so on.
  • access and mobility management function access and mobility management function, AMF
  • unified data management unified data management
  • UDM radio access network
  • policy Control function policy control function
  • PCF policy control function
  • user equipment user equipment
  • UE user plane function
  • UPF data network
  • data network data network
  • DN authentication service function
  • authentication server function authentication server
  • UE can be called terminal equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.
  • a terminal device may be a device that provides voice/data to a user, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and the like.
  • some terminals are: mobile phone (mobile phone), tablet computer, notebook computer, palmtop computer, mobile internet device (mobile internet device, MID), wearable device, virtual reality (virtual reality, VR) device, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, smart grid Wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocol , SIP) phones, wireless local loop (wireless local loop, WLL) stations, personal digital assistants (personal digital assistant, PDA), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, Wearable devices, terminal devices in a 5G network, or terminal devices in a future evolving public land mobile network (PLMN), etc., are not limited in this
  • the terminal device may also be a wearable device.
  • Wearable devices can also be called wearable smart devices, which is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not only a hardware device, but also achieve powerful functions through software support, data interaction, and cloud interaction.
  • Generalized wearable smart devices include full-featured, large-sized, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, etc., and only focus on a certain type of application functions, and need to cooperate with other devices such as smart phones Use, such as various smart bracelets and smart jewelry for physical sign monitoring.
  • the terminal device can also be the terminal device in the IoT system.
  • IoT is an important part of the development of information technology in the future. Its main technical feature is to connect items to the network through communication technology, so as to realize Interconnection, an intelligent network that interconnects things.
  • a certain air interface technology such as NR or LTE technology
  • a certain air interface technology may also be used to communicate with each other between terminal devices.
  • the device for realizing the function of the terminal device may be the terminal device, or may be a device capable of supporting the terminal device to realize the function, such as a chip system or a chip, and the device may be installed in the terminal device.
  • the system-on-a-chip may be composed of chips, or may include chips and other discrete devices.
  • RAN It can provide authorized users in a specific area with the function of accessing the communication network. Specifically, it can include wireless network equipment in the 3rd generation partnership project (3rd generation partnership project, 3GPP) network, and can also include non-3GPP (non-3GPP ) access point in the network. For the convenience of description, the RAN device is used below.
  • 3rd generation partnership project 3rd generation partnership project, 3GPP
  • non-3GPP non-3GPP
  • RAN equipment may adopt different radio access technologies.
  • 3GPP access technologies for example, wireless access technologies used in third generation (3rd generation, 3G), fourth generation (4th generation, 4G) or 5G systems
  • non- 3GPP (non-3GPP) access technology refers to the access technology that complies with the 3GPP standard specifications.
  • the access network equipment in the 5G system is called the next generation Node Base station (gNB) or RAN equipment.
  • Non-3GPP access technologies may include air interface technology represented by access point (AP) in wireless fidelity (WiFi), worldwide interoperability for microwave access (WiMAX), code Multiple access (code division multiple access, CDMA), etc.
  • the RAN device may allow non-3GPP technology interconnection and intercommunication between the terminal device and the 3GPP core network.
  • the RAN device can be responsible for functions such as radio resource management, quality of service (QoS) management, data compression and encryption on the air interface side.
  • QoS quality of service
  • the RAN equipment provides access services for the terminal equipment, and then completes the forwarding of control signals and user data between the terminal equipment and the core network.
  • RAN equipment may include but not limited to: macro base station, micro base station (also called small station), radio network controller (radio network controller, RNC), node B (Node B, NB), base station controller (base station controller) , BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (baseband unit, BBU), AP in WiFi system, wireless relay Node, wireless backhaul node, transmission point (transmission point, TP) or transmission and reception point (transmission and reception point, TRP), etc., can also be gNB or transmission point (TRP or TP) in the 5G (eg, NR) system , one or a group (including multiple antenna panels) antenna panels of a base station in a 5G system, or it can also be a network node that constitutes a gNB or a transmission point, such as a distributed unit (DU), or a next-generation communication Base stations
  • AMF mainly used for functions such as access control, mobility management, attachment and detachment.
  • SMF mainly used for user plane network element selection, user plane network element redirection, Internet protocol (internet protocol, IP) address allocation for terminal equipment, session establishment, modification and release, and QoS control.
  • IP Internet protocol
  • UPF mainly used for receiving and forwarding user plane data.
  • the UPF can receive user plane data from the DN, and send the user plane data to the terminal device through the AN device.
  • UPF can also receive user plane data from terminal equipment through AN equipment and forward it to DN.
  • PCF A unified policy framework mainly used to guide network behavior, and provide policy rule information for control plane network elements (such as AMF, SMF, etc.).
  • AF It is mainly used to provide services to the 3GPP network, such as interacting with the PCF for policy control.
  • the AF may be a third-party functional entity, or an application service deployed by an operator, such as an IP multimedia subsystem (IP multimedia subsystem, IMS) voice call service.
  • IP multimedia subsystem IP multimedia subsystem
  • IMS IP multimedia subsystem
  • a multi-access edge computing (MEC) platform or an application server can serve as an AF to communicate with the 5G core network.
  • MEC multi-access edge computing
  • UDM mainly used for UE subscription data management, including storage and management of UE ID, UE access authorization, etc.
  • DN mainly used for the operator's network that provides data services for the UE.
  • the Internet Internet
  • a third-party service network IP multimedia service (IP multi-media service, IMS) network, and the like.
  • IP multimedia service IP multi-media service, IMS
  • AUSF mainly used for user authentication, etc.
  • NSSF It is mainly used to determine the network slice instance that the UE is allowed to access according to the slice selection auxiliary information and subscription information of the UE.
  • network elements can communicate through the interfaces shown in the figure.
  • the UE and the AMF can communicate through the N1 interface.
  • the RAN and AMF can communicate through the N2 interface.
  • Communication between RAN and UPF can be carried out through N3 interface.
  • the SMF and UPF can communicate through the N4 interface.
  • the relationship between other interfaces and each network element is shown in FIG. 1 , and for the sake of brevity, details are not described here one by one.
  • the UE and the AF have established an application layer connection.
  • the AF is a video server
  • the application layer connection established between the UE and the AF is used for the UE to request the AF to play a VR video.
  • the application layer connection between the UE and the AF can be sent through the PDU session established by the UE on the 5G network, that is, the UE uses the IP address corresponding to the PDU session to communicate with the AF.
  • the network element communicating with the 5G core network and the video server are the same network element, but in actual deployment, they may also be different network elements, and this application does not make any limitation on this.
  • FIG. 2 shows a schematic diagram of another network architecture applied to this embodiment of the present application.
  • the network architecture may include but not limited to: UE, RAN, UPF, DN, AUSF, AMF, SMF, network data analysis function (network data analytics function, NWDAF), NSSF, capability exposure function (network exposure function, NEF), network storage function (network repository function, NRF), PCF, UDM, AF, etc.
  • NWDAF is a data-aware analysis network element, which automatically perceives and analyzes the network based on network data, and participates in the whole life cycle of network planning, construction, operation and maintenance, network optimization, and operation, making the network easy to maintain and control, and improving Efficient use of network resources to improve user experience.
  • NWDAF collects information such as user connection management, mobility management, session management, and access services, and uses reliable analysis and prediction models to evaluate and analyze different types of users, build user profiles, and determine user movement trajectories and services Use habits, predict user behavior, and optimize user mobility management parameters and radio resource management parameters based on analysis and prediction data.
  • NRF can also be called a network storage device, a network storage function network element, or a network storage function entity): it is mainly used to support the service discovery function.
  • a network element discovery request is received from a network element function or a service communication proxy (SCP), and the network element discovery request information may be fed back.
  • SCP service communication proxy
  • the NRF is also responsible for maintaining information about available network functions and the services they each support. It can also be understood as a network storage device.
  • the discovery process is a process in which the required network element function (network function, NF) realizes the addressing process of a specific NF or a specific service with the help of NRF, and the NRF provides the IP address or fully qualified domain name (fully qualified domain name) of the corresponding NF instance or NF service instance , FQDN) or uniform resource identifier (unified resource identifier, URI).
  • NRF can also realize the discovery process across PLMNs by providing network identification (such as PLMN ID).
  • PLMN ID network identification
  • each network element needs to be registered in the NRF, and some network element functions can be registered in the NRF when running for the first time.
  • the network storage function device may be a core network device.
  • NEF can also be called network opening equipment, network opening function entity, network opening function network element, network capability opening function entity, network capability opening function equipment, network capability opening function network element, network capability opening equipment, etc.): mainly used to support Opening of capabilities and events, such as for safely opening services and capabilities provided by 3GPP network functions to the outside.
  • the communication between some network elements in Figure 2 is the same as that in Figure 1.
  • the UE communicates with the AMF through the N1 interface
  • the RAN communicates with the AMF through the N2 interface
  • the RAN communicates with the UPF through the N3 interface
  • the UPF communicates with the SMF through the N4 interface.
  • the UPF communicates with the DN through the N6 interface.
  • control plane functions such as AMF, SMF, PCF, UDM, NSSF, AF, and AUSF can interact not only through the interface shown in Figure 1, but also through the service interface shown in Figure 2.
  • the service interface provided by AMF may be Namf.
  • the service interface provided by the SMF may be Nsmf.
  • the service interface provided by the PCF may be Npcf.
  • the service interface provided by UDM can be Nudm.
  • the service interface provided by NSSF can be Nnssf.
  • the service interface provided by AF can be Naf.
  • the service interface provided by AUSF can be Nausf.
  • the network elements in Fig. 2 can also use the service interface to interact.
  • the service interface provided by the NEF may be Nnef.
  • the service interface provided by the NRF may be Nnrf.
  • the service interface provided by NWDAF can be Nnwdaf.
  • Figure 3 shows a schematic diagram of another network architecture applied to the embodiment of the present application
  • the network architecture takes a non-3GPP system as an example.
  • the trusted non-3GPP access network equipment can directly access the local public land mobile network (home public land mobile network, HPLMN)
  • the untrusted non-3GPP access network equipment can communicate with the HPLMN through the security tunnel established by the security gateway.
  • the security gateway may be an evolved packet data gateway (EPDG) or a non-3GPP interworking function (N3IWF) network element.
  • EPDG evolved packet data gateway
  • N3IWF non-3GPP interworking function
  • the UE can access the local public land mobile network (home public land mobile network, HPLMN) through the 3GPP access network equipment, or access the HPLMN through the security tunnel established by the untrusted non-3GPP access network equipment and the security gateway, for example :
  • HPLMN home public land mobile network
  • the UE can establish communication with the AMF through the N1 interface.
  • AMF communicates with SMF through N11 interface
  • SMF communicates with UPF through N4 interface
  • UPF communicates with DN through N6 interface.
  • Communication among other devices in Fig. 3 is as follows: 3GPP access network devices communicate with UPF through N3 interface, and communicate with AMF through N2 interface.
  • N3IWF communicates with AMF through N2 interface, communicates with UPF through N3 interface, communicates with untrusted non-3GPP access network equipment through Y2 interface, and communicates with UE equipment through NWu.
  • the UE communicates with untrusted non-3GPP access network equipment through the Y1 interface.
  • the present application is not limited to the system architecture shown in FIG. 3 , and the communication system to which the communication method of the present application can be applied may include more or less devices or network elements. In addition to interacting with untrusted non-3GPP access network equipment, it can also interact with other equipment or network elements.
  • the devices or network elements in FIG. 3 may be hardware, or functionally divided software, or a combination of the above two.
  • FIGS. 1 to 3 are only illustrative, and the network architecture applicable to the embodiments of the present application is not limited thereto. Any network architecture capable of realizing the functions of the above-mentioned network elements is applicable to Example of this application.
  • network elements shown in Figures 1 to 3 can be understood as network elements for implementing different functions, for example Network slices can be combined on demand.
  • These network elements can be independent devices, or can be integrated in the same device to achieve different functions, or can be network elements in hardware devices, or software functions running on dedicated hardware, or platforms (for example, cloud The virtualization function instantiated on the platform), this application does not limit the specific form of the above network elements.
  • non-public network non-public network, NPN.
  • NPN can include two types according to whether the core network is independent: independent non-public network (standalone non-public network, SNPN) and public network integrated non-public network (public network integrated non-public network, PNI-NPN).
  • independent non-public network standalone non-public network
  • PNI-NPN public network integrated non-public network
  • the network does not depend on the PLMN network and is operated by the operator of the SNPN.
  • PNI-NPN The network partially depends on the PLMN network and is operated by traditional operators.
  • PNI-NPN can be further divided into two types: (1) closed access group (closed access group, CAG), this type of non-public network is part of the public network PLMN network, only for specific services/users Services; (2) Slicing, utilizing the slicing characteristics defined by 5G to use dedicated slices to provide services for specific services/users.
  • CAG closed access group
  • 5G dedicated slices
  • local area network (5G-local area network, LAN).
  • a LAN can be a communication network that connects various devices within a local geographic area to allow users to communicate with each other and share computing resources such as printers and storage devices.
  • the above-mentioned partial geographic range can be a family, a school, a company, or a government department, etc., and various devices can be computers, external devices, and databases, etc. No limit.
  • AF network elements can be grouped based on the configured attributes of each UE, which include but not limited to: session type, data network name (data network name, DNN) and single-network slice selection support information (single-network slice selection assistance information, S-NSSAI).
  • the PCF network element can update some parameters in each attribute through the UCU process.
  • Each UE group uses a Generic Public Subscription Identifier (Generic Public Subscription Identifier, GPSI) as unique identification information.
  • GPSI Generic Public Subscription Identifier
  • the UPF network element can provide local routing information of each UE group.
  • the ways that UPF network elements provide local routing information include but are not limited to: (1) N6 mode, that is, to transmit data information to DN; (2) N19 mode, that is, data information Direct forwarding between session anchors (protocol data unit session anchor, PSA) without passing through DN; (3) local switch (local switch) mode, that is, data information is directly forwarded within a single PSA without passing through DN.
  • FIG. 4 is a schematic scene diagram of a communication method provided according to an embodiment of the present application.
  • the first non-public network includes: terminal devices (such as UE1, UE2, UE3), the first device, and DN1
  • the second non-public network includes terminal devices (such as UE4, UE5, UE6), the second The device, and DN2, perform data transmission between the first non-public network and the second non-public network through a wired dedicated network channel and/or a third-party server.
  • the first device or the second device may be a device including one or more network elements, for example, the first device or the second device includes RAN and UPF, and the RAN and UPF send the service data from the terminal device to the DN, and then Complete business data transmission within the non-public network.
  • the DN1 of the first non-public network sends the service data to the DN2, so as to complete the data transmission between the first non-public network and the second non-public network.
  • DN2 sends the received service data to the second device, and the second device sends the received service data to terminal devices (such as UE4, UE5, UE6) in the second non-public network, so that the The terminal device can process the cross-domain service data from the first non-public network.
  • the wired private network channel is to connect non-public networks from different local area networks through wired methods. This method has weak universality, poor flexibility and high cost.
  • a third-party server such as a public cloud, can indirectly implement data transmission between UE devices in different local area networks, but this method has poor security.
  • the present application provides a communication method. Through this method, the present application can enable the data transmission of terminal devices in different local area networks to ensure the security of data information, and at the same time have strong universality, excellent flexibility and The characteristics of low cost.
  • the public network can establish a group of devices in the non-public network, such as being recorded as a LAN group, and the members of the LAN group can communicate wirelessly through the tunnel established by the public network, thereby realizing Data transmission from end devices.
  • the division of LAN groups may be based on the attributes of each device in the non-public network.
  • the public network can divide LAN groups according to DNN, session type, and S-NSSAI.
  • the public network may divide LAN groups according to the address segments of each device. The embodiment of the present application does not limit this.
  • one LAN group corresponds to one address segment, that is, in the same LAN group, the address segments of each device are the same, for example, if the address segment corresponding to a LAN group is 192.168.0.0/16, it belongs to The address segment of all devices in this LAN group is 192.168.0.0/16.
  • Fig. 5 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
  • three non-public networks are taken as an example, which are recorded as a first non-public network, a second non-public network, and a third non-public network.
  • the devices in the first non-public network are marked as the first device, DN1, UE1, and the coverage of the first device includes coverage area 1;
  • the devices in the second non-public network are marked as the second device, DN2, UE2,
  • the coverage of the second device includes the coverage area 2;
  • the devices in the third non-public network are denoted as the third device, DN3, UE3, and the coverage of the third device includes the coverage area 3.
  • the devices (such as the first device, the second device, and the third device) in each non-public network may be devices including physical function modules, or devices including logical function modules.
  • network elements such as RAN, UPF, and customer premise equipment (customer premise equipment, CPE) can be deployed as physical function modules/logic function modules in devices in each non-public network.
  • CPE customer premise equipment
  • network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as physical functional modules. At this time, CPE1 and RAN1 communicate through the Nx interface, CPE1 and UPF1 communicate through the Ny interface, and RAN1 and UPF1 communicate through the Ny interface. N3* interface communication.
  • network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as logic function modules. At this time, CPE1 and RAN1 communicate through the internal interface Nx, and CPE1 and UPF1 communicate through the internal interface Ny. RAN1 and UPF1 Communicate between them through the internal interface N3*.
  • Network elements such as CPE2, RAN2, and UPF2 can also be deployed in the second device as physical function modules/logical function modules, and network elements such as CPE3, RAN3, and UPF3 can also be deployed in the third device as physical function modules/logical function modules.
  • the interface communication between the network elements of the second device and the third device is similar to that of the first device, and will not be repeated here.
  • the first device, the second device, and the third device form a group of two, and the public network in a LAN group establishes a tunnel between each device and the public network. At this time, each device corresponds to two public network tunnel. Combining with several possible situations, the following describes the manner in which devices in a LAN group perform wireless communication through a public network tunnel.
  • UE1 can send cross-domain data information to RAN1, RAN1 sends the data information to UPF1, UPF1 sends the data information to CPE1, and CPE1 transmits the data information through the first
  • the tunnel corresponding to the group of a device and the second device sends the data information to the public network
  • the public network sends the data information to CPE2 through the tunnel established between the second device and the public network
  • CPE2 sends the received data information to UPF2
  • UPF2 sends the data information to RAN2
  • RAN2 sends the data information to UE2, thereby completing the cross-domain data information transmission between UE1 and UE2.
  • UE1 can send cross-domain data information to RAN1, RAN1 sends the data information to UPF1, UPF1 sends the data information to CPE1, and CPE1 passes the The tunnel corresponding to the group of a device and the third device sends the data information to the public network, and the public network sends the data information to CPE3 through the tunnel established between the third device and the public network, and CPE3 sends the received data information to UPF3 , UPF3 sends the data information to RAN3, and RAN3 sends the data information to UE3, thereby completing the cross-domain data information transmission between UE1 and UE3.
  • UE2 can send cross-domain data information to RAN2, RAN2 sends the data information to UPF2, UPF2 sends the data information to CPE2, and CPE2 passes the The tunnel corresponding to the group of the second device and the third device sends the data information to the public network, and the public network sends the data information to CPE3 through the tunnel established between the third device and the public network, and CPE3 sends the received data information to UPF3 , UPF3 sends the data information to RAN3, and RAN3 sends the data information to UE3, thereby completing the cross-domain data information transmission between UE2 and UE3.
  • wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
  • CPEs of multiple devices receive radio interface connection requests from RANs and forward the requests to the public network, thereby establishing a connection between the public network and multiple non-public networks.
  • the multiple devices include a first device, a second device, and a third device.
  • local data information transmission can also be performed in a non-public network.
  • the UE may send local data information to the RAN, and the RAN sends the received data information to the UPF, and the UPF sends the data information to the DN.
  • the UE1 may send local data information to the RAN, and the RAN sends the received data information to the UPF, and the UPF sends the data information to the DN.
  • the local data information may be sent to RAN1, RAN1 sends the received data information to UPF1, and UPF1 sends the data information to DN1, thereby completing the transmission of local data information in the first non-public network.
  • DNs in different non-public networks can also communicate wirelessly through the tunnel of the public network.
  • DN1 in the first non-public network sends data information to CPE1, and CPE1 can send the data information to CPE2 through the tunnel established in the public network, and then CPE2 sends the data information to the second non-public network.
  • the specific forwarding process is similar to the above situation, and will not be carried out here repeat.
  • the devices in the non-public network established by the public network such as the first device, the second device, and the For example, the tunnel between the third device
  • the public network such as the first device, the second device, and the For example, the tunnel between the third device
  • the way that the third-party server performs cross-domain transmission can improve the security of data transmission.
  • Fig. 6 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
  • taking three non-public networks as an example they are recorded as a first non-public network, a second non-public network, and a third non-public network.
  • the devices in the first non-public network are marked as the first device, DN1, UE1, and the coverage of the first device includes coverage area 1;
  • the devices in the second non-public network are marked as the second device, DN2, UE2,
  • the coverage of the second device includes the coverage area 2;
  • the devices in the third non-public network are denoted as the third device, DN3, UE3, and the coverage of the third device includes the coverage area 3.
  • the devices (such as the first device, the second device, and the third device) in each non-public network may be devices including physical function modules, or devices including logical function modules.
  • network elements such as RAN, UPF, and CPE may be deployed as physical function modules/logic function modules in devices in each non-public network.
  • network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as physical functional modules. At this time, CPE1 and RAN1 communicate through the Nx interface, CPE1 and UPF1 communicate through the Ny interface, and RAN1 and UPF1 communicate through the Ny interface. N3* interface communication.
  • network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as logic function modules. At this time, CPE1 and RAN1 communicate through the internal interface Nx, and CPE1 and UPF1 communicate through the internal interface Ny. RAN1 and UPF1 Communicate between them through the internal interface N3*.
  • Network elements such as CPE2, RAN2, and UPF2 can also be deployed in the second device as physical function modules/logical function modules, and network elements such as CPE3, RAN3, and UPF3 can also be deployed in the third device as physical function modules/logical function modules.
  • the interface communication between the network elements of the second device and the third device is similar to that of the first device, and will not be repeated here.
  • the first device, the second device, and the third device are in the same group, and the public network in a LAN group establishes a tunnel between each device and the public network. At this time, each device corresponds to a public network tunnel. Combining with several possible situations, the following describes the manner in which devices in a LAN group perform wireless communication through a public network tunnel.
  • UE1 can send cross-domain data information to RAN1, RAN1 sends the data information to UPF1, UPF1 sends the data information to CPE1, and CPE1 transmits the data information through the first
  • the tunnel established between a device and the public network sends the data information to the public network, and the public network sends the data information to CPE2 through the tunnel established between the second device and the public network, and CPE2 sends the received data information to UPF2, UPF2 sends the data information to RAN2, and RAN2 sends the data information to UE2, thereby completing the cross-domain data information transmission between UE1 and UE2.
  • UE1 can send cross-domain data information to RAN1, RAN1 sends the data information to UPF1, UPF1 sends the data information to CPE1, and CPE1 passes the The tunnel established between a device and the public network sends the data information to the public network, and the public network sends the data information to CPE3 through the tunnel established between the third device and the public network, and CPE3 sends the received data information to UPF3, UPF3 sends the data information to RAN3, and RAN3 sends the data information to UE3, thereby completing the cross-domain data information transmission between UE1 and UE3.
  • UE2 can send cross-domain data information to RAN2, RAN2 sends the data information to UPF2, UPF2 sends the data information to CPE2, and CPE2 passes the The tunnel established between the second device and the public network sends the data information to the public network, and the public network sends the data information to CPE3 through the tunnel established between the third device and the public network, and CPE3 sends the received data information to UPF3, UPF3 sends the data information to RAN3, and RAN3 sends the data information to UE3, thereby completing the cross-domain data information transmission between UE2 and UE3.
  • wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
  • CPEs of multiple devices receive radio interface connection requests from RANs and forward the requests to the public network, thereby establishing a connection between the public network and multiple non-public networks.
  • the multiple devices include a first device, a second device, and a third device.
  • the multiple devices may also perform local data information transmission.
  • the UE may send local data information to the RAN, and the RAN sends the received data information to the UPF, and the UPF sends the data information to the DN.
  • the UE1 may send local data information to the RAN, and the RAN sends the received data information to the UPF, and the UPF sends the data information to the DN.
  • the local data information may be sent to RAN1, RAN1 sends the received data information to UPF1, and UPF1 sends the data information to DN1, thereby completing the transmission of local data information in the first non-public network.
  • DNs in different non-public networks can also communicate wirelessly through the tunnel of the public network.
  • DN1 in the first non-public network sends data information to CPE1, and CPE1 can send the data information to CPE2 through the tunnel established in the public network, and then CPE2 sends the data information to the second non-public network.
  • the specific forwarding process is similar to the above situation, and will not be carried out here repeat.
  • the devices in the non-public network established by the public network such as the first device, the second device, and the For example, the tunnel between the third device
  • the public network such as the first device, the second device, and the For example, the tunnel between the third device
  • the way that the third-party server performs cross-domain transmission can improve the security of data transmission.
  • Fig. 7 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
  • taking two non-public networks as an example they are recorded as a first non-public network and a second non-public network.
  • the devices in the first non-public network are marked as the first device, UE1, second device, UE2, DN1, the coverage of the first device includes the coverage area 1, and the coverage of the second device includes the coverage area 2, where , DN1 uses CPE1 to communicate;
  • the devices in the second non-public network are recorded as the third device, UE3, the fourth device, UE4, DN2, the coverage of the third device includes coverage area 3, and the coverage of the fourth device includes coverage Area 4, where DN2 uses CPE2 for communication.
  • the devices in each non-public network may be devices including physical function modules, or devices including logical function modules. equipment.
  • network elements such as RAN, UPF, and CPE can be deployed as physical function modules/logical function modules in devices in non-public networks. Let me repeat.
  • the first device and the third device form a group
  • the first device, the second device, and the fourth device form a group
  • CPE1 and CPE2 form a group.
  • the public network in a LAN group establishes a tunnel between each device and the public network, and each device corresponds to one or two public network tunnels. Combining with several possible situations, the following describes the manner in which devices in a LAN group perform wireless communication through a public network tunnel.
  • UE1 can send the data information to the first device, and the first device sends the public
  • the network sends the data information
  • the public network sends the data information to the third device through the tunnel established between the third device and the public network
  • the third device sends the received data information to UE3, thereby completing the communication between UE1 and UE3.
  • the data forwarding process of each network element in the first device and the third device is similar to that shown in FIG. 5 and FIG. 6 , and will not be repeated here.
  • UE1 can send the data information to the first device, and the first device corresponds to the group of the first device, the second device, and the fourth device.
  • the data information is sent to the public network through the tunnel established between the fourth device and the public network, and the public network sends the data information to the fourth device through the tunnel established between the fourth device and the public network, and the fourth device sends the received data information to UE4, thereby completing UE1 and the public network.
  • the data forwarding process of each network element in the first device and the fourth device is similar to FIG. 5 and FIG. 6 , and will not be repeated here.
  • UE2 can send the data information to the second device, and the second device transmits the data information to the public network through the tunnel established between the second device and the public network.
  • the public network sends the data information to the fourth device through the tunnel established between the fourth device and the public network, and the fourth device sends the received data information to UE4, thus completing the cross-connection between UE2 and UE4 Domain data information transmission, wherein, the data forwarding process of each network element in the second device and the fourth device is similar to that shown in FIG. 5 and FIG. 6 , and will not be repeated here.
  • DN1 can send the data information to CPE1, and CPE1 sends the data information to the public network through the tunnel established between CPE1 and the public network.
  • the network sends the data information to CPE2 through the tunnel established between CPE2 and the public network, and CPE2 sends the received data information to DN2, thereby completing the cross-domain data information transmission between DN1 and DN2.
  • wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
  • CPEs of multiple devices receive radio interface connection requests from RANs and forward the requests to the public network, thereby establishing a connection between the public network and multiple non-public networks.
  • the multiple devices include a first device, a second device, a third device, and a fourth device.
  • Fig. 8 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
  • taking two non-public networks as an example they are recorded as a first non-public network and a second non-public network.
  • the devices in the first non-public network are marked as the first device, UE1, second device, UE2, DN1, the coverage of the first device includes the coverage area 1, and the coverage of the second device includes the coverage area 2, where , DN1 uses CPE1 to communicate;
  • the devices in the second non-public network are recorded as the third device, UE3, the fourth device, UE4, DN2, the coverage of the third device includes coverage area 3, and the coverage of the fourth device includes coverage Area 4, where DN2 uses CPE2 for communication.
  • the devices in each non-public network may be devices including physical function modules, or devices including logical function modules. equipment.
  • network elements such as RAN, UPF, and CPE can be deployed as physical function modules/logical function modules in devices in non-public networks. Let me repeat.
  • the first device, the second device, the third device, the fourth device, CPE1, and CPE2 are in the same group, and the public network in a LAN group respectively establishes a tunnel between each device and the public network.
  • Each device corresponds to a public network tunnel.
  • UE1 can send the data information to the first device, and the first device transmits the data information to the public network through the tunnel established between the first device and the public network.
  • the public network sends the data information to the third device through the tunnel established between the third device and the public network, and the third device sends the received data information to UE3, thus completing the cross-connection between UE1 and UE3
  • the data forwarding process of each network element in the first device and the third device is similar to that shown in FIG. 5 and FIG. 6 , and will not be repeated here.
  • UE1 can send the data information to the first device, and the first device transmits the data information to the public network through the tunnel established between the first device and the public network.
  • the public network sends the data information to the fourth device through the tunnel established between the fourth device and the public network, and the fourth device sends the received data information to UE4, thus completing the cross-connection between UE1 and UE4 Domain data information transmission, wherein, the data forwarding process of each network element in the first device and the fourth device is similar to that shown in FIG. 5 and FIG. 6 , and will not be repeated here.
  • UE1 can send the data information to the first device, and the first device transmits the data information to the public network through the tunnel established between the first device and the public network.
  • the public network sends the data information to CPE2 through the tunnel established between CPE2 and the public network, and CPE2 sends the received data information to DN2, thereby completing the cross-domain data information transmission between UE1 and DN2, where , the data forwarding process of each network element in the first device is similar to FIG. 5 and FIG. 6 , and will not be repeated here.
  • the situation that UE2 or DN1 in the first non-public network performs cross-domain data information transmission with UE3, UE4, and DN2 in the second non-public network is similar to the above three situations, and will not be repeated here. repeat.
  • wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
  • CPEs of multiple devices receive radio interface connection requests from RANs and forward the requests to the public network, thereby establishing a connection between the public network and multiple non-public networks.
  • the multiple devices include a first device, a second device, a third device, and a fourth device.
  • the devices in the non-public network established by the public network such as the first device, the second device, and the Such as the third device, or the fourth device
  • the tunnel between the public network for wireless communication compared with the way of cross-domain transmission through wired private network channels, it improves the universality and flexibility, and reduces the cost , compared with the method of cross-domain transmission through a third-party server, the security of data transmission can be improved.
  • FIG. 5 to FIG. 8 There may be one or more devices in the non-public network.
  • One or more LAN groups can be established in the network, and there can be one or more tunnels corresponding to each device in the non-public network, which is not limited in this application.
  • the wireless communication between the non-public networks and the public network can be completed through a wireless interface.
  • terminal devices in different non-public networks perform cross-domain data information transmission, they can perform wireless communication through the tunnel between the devices in the non-public network established by the public network and the public network, compared to through wired private
  • the method of cross-domain transmission through the network channel improves the universality and flexibility, and reduces the cost. Compared with the method of cross-domain transmission through a third-party server, it can improve the security of data transmission.
  • Fig. 9 is a schematic architecture diagram of a communication method provided according to an embodiment of the present application.
  • taking two non-public networks as an example they are recorded as a first non-public network and a second non-public network.
  • the equipment in the first non-public network is recorded as the first equipment, terminal equipment (such as UE1, UE2, UE3), and DN1, wherein, DN1 uses CPE3 to communicate;
  • the equipment in the second non-public network is recorded as the second equipment, terminal equipment (such as UE4, UE5, UE6), and DN2, where DN2 uses CPE4 for communication.
  • the public network includes a control plane (control plane, CP), RAN3, UPF3, PSA, UPF4, and RAN4.
  • the CP may be a device including one or more network elements, such as: AMF, SMF, and devices in each non-public network (such as the first device, and the second device) may be devices including physical function modules, It can also be a device including logical function modules.
  • network elements such as RAN, UPF, and CPE may be deployed as physical function modules/logic function modules in devices in each non-public network.
  • network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as physical function modules/logical function modules
  • network elements such as CPE2, RAN2, and UPF2 can be deployed in the second device as physical function modules/logical function modules.
  • the specific deployment of each network element is similar to that shown in Figure 5 and Figure 6, and will not be repeated here.
  • the first device and the second device form a group
  • CPE3 and CPE4 form a group.
  • the public network establishes a tunnel between each device and the public network. At this time, each device corresponds to A public network tunnel.
  • UE1-UE3 and UE4-UE6 transmit cross-domain data information
  • UE1-UE3 sends cross-domain data information to RAN1
  • RAN1 sends the data information to UPF1
  • UPF1 sends the data information to CPE1
  • CPE1 sends the data information to RAN3 in the public network through the tunnel established between the first device and the public network
  • RAN3 sends the data information to UPF3
  • UPF3 sends the data information to PSA
  • PSA sends the data information to UPF4
  • UPF4 sends the data information to RAN4
  • RAN4 sends the data information to CPE2 through the tunnel established between the second device and the public network
  • CPE2 sends the data information to UPF2
  • UPF2 sends the received data information to RAN2, RAN2
  • the data information is sent to UE4-UE6, thereby completing the cross-domain data information transmission between UE1-UE3 and UE4-UE6.
  • DN1 and DN2 transmit cross-domain data information
  • CPE3 sends the data information to the public network through the tunnel established between CPE3 and the public network.
  • the network sends the data information to CPE4, and CPE4 sends the received data information to DN2, thereby completing the cross-domain data information transmission between DN1 and DN2.
  • the forwarding path of the data information in the public network is similar to the above situation. This will not be repeated here.
  • wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
  • CPE1 and CPE2 receive wireless interface connection requests from RAN1 and RAN2 respectively, and forward the request to the CP of the public network, thereby establishing a public network Connected to the wireless interface between the first non-public network and the second non-public network.
  • FIG. 9 does not impose any restrictions on the actual architecture of the embodiment of the present application.
  • There may be one or more devices in a non-public network and a LAN may be established in a public network. groups, and multiple LAN groups can also be established.
  • the wireless communication between the non-public networks and the public network can be completed through a wireless interface.
  • terminal devices in different non-public networks perform cross-domain data information transmission, they can perform wireless communication through the tunnel between the devices in the non-public network established by the public network and the public network, compared to through wired private
  • the method of cross-domain transmission through the network channel improves the universality and flexibility, and reduces the cost. Compared with the method of cross-domain transmission through a third-party server, it can improve the security of data transmission.
  • Fig. 10 is a schematic diagram of a communication method provided according to an embodiment of the present application.
  • the devices in the first non-public network include the first device
  • the devices in the public network include user plane network elements
  • the devices in the second non-public network include the second device.
  • the second non-public network is not limited to a specific non-public network, and any non-public network that can be used as a target non-public network may be called a second non-public network.
  • the second device is not limited to a specific device, and any device that can be used as a target non-public network can be called a second device, which is not limited in this embodiment of the present application.
  • network elements such as CPE, RAN, and UPF can be deployed in the first device as physical functional modules.
  • the communication between the CPE and the RAN is through the Nx interface
  • the communication between the CPE and the UPF is through the Ny interface
  • the communication between the RAN and the UPF communicate through the N3* interface.
  • network elements such as CPE, RAN, and UPF can be deployed in the first device as logic function modules.
  • the communication between the CPE and the RAN is through the internal interface Nx
  • the communication between the CPE and the UPF is through the internal interface Ny.
  • the RAN and the UPF Communicate between them through the internal interface N3*.
  • the second device is similar to the first device, which will not be repeated here.
  • the devices in the non-public network may also include terminal devices (such as UE) and DN, and the devices in the public network may also include control plane network elements (such as SMF, PCF, AMF), which is not limited in this application.
  • terminal devices such as UE
  • DN terminal devices
  • control plane network elements such as SMF, PCF, AMF
  • a user plane network element receives data information from a first device.
  • the data information is cross-domain data information. That is, the destination device of the data information is a device in a non-public network (such as the second non-public network) other than the first non-public network.
  • a non-public network such as the second non-public network
  • the first device determines that the data information is cross-domain data information according to local preconfiguration. For example, the first device may pre-configure forwarding rules. When the address of the data information received by the first device from the UE is different from the sub-address segment of the first device, it indicates that the data information is cross-domain data information; when the first device The address of the received data information from the UE is the same as the sub-address segment of the first device, indicating that the data information is local data information, and the first device sends the local data information to the DN in the first non-public network , the local transmission of data information can be completed.
  • the first device determines that the data information is cross-domain data information according to the address of the data information and the second routing rule, where the second routing rule is used to indicate the sub-address segment of the second device and the second routing rule. Relationship between tunnels corresponding to user plane network elements. For example, if the first device determines that the address of the data information is the same as the sub-address segment of the second device, it indicates that the data information is cross-domain data information.
  • the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address of a certain destination device If the segments are the same, it can be determined that the data information is sent to the non-public network corresponding to the destination device; on the contrary, if the address of the data information is different from the sub-address segment that can be used as the destination device, it means that the data information is local data information , at this time, the first device sends the local data information to the DN in the first non-public network, and then the local transmission of the data information can be completed.
  • the above-mentioned second routing rule may be generated by a control plane network element (such as SMF, PCF), or the second routing rule may be predefined by a protocol, which is not limited in this embodiment of the present application.
  • a control plane network element such as SMF, PCF
  • the second routing rule may be predefined by a protocol, which is not limited in this embodiment of the present application.
  • the first device when the tunnel between the first device and the user plane network element is unique, the first device sends data information to the user plane network element through the tunnel.
  • the first device sends the data information to the user plane network element according to the second routing rule. For example, the first device determines the sub-address segment of the second device that is the same as the address of the data information, and according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the user plane network element, it can determine The tunnel used when the network element on the user plane sends the data information, and then the first device can send the data information to the network element on the user plane through the tunnel.
  • the user plane network element sends data information to the second device.
  • the user plane network element sends data information to the second device when it is determined that the first device belongs to a device group member.
  • the user plane network element determines that the first device is a device group member according to the attribute of the first device.
  • the attribute may be DNN, session type, S-NSSAI, or the attribute may also be the sub-address segment of the first device, which is not limited in this application.
  • the user plane network element when the tunnel between the user plane network element and the second device is unique, the user plane network element sends data information to the second device through the tunnel.
  • the user plane network element sends the data information to the second device based on the first routing rule.
  • the first routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device. For example, if the user plane network element determines that the address of the data information is the same as the sub-address segment of the second device, then according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, it is determined that the user plane network element sends the data information to the second device. The tunnel used by the second device to send the data information.
  • the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address segment of a certain device If they are the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the subaddress segment of the device and the tunnel corresponding to the device, it can be determined that when the user plane network element sends the data information to the device tunnel.
  • the communication method shown in FIG. 10 further includes that the second device sends the received data information to the UE in the second non-public network, thereby completing the communication between the first non-public network and the second non-public network. data transmission.
  • multiple devices before the user plane network element receives the data information from the first device, multiple devices send an N1 message to the control plane network element in the public network, and the multiple devices receive a response message to the N1 message from the control plane network element , wherein the multiple devices include a first device and a second device.
  • the N1 message includes an N2 message, and the N2 message is used to establish the connection of the N2 wireless interface between multiple devices and the control plane network element.
  • the N1 message may be used to instruct the control plane network element to process the N2 message.
  • the N1 message itself can be used to instruct the control plane network element to process the N2 message, that is, if the N1 message includes the N2 message, the N1 message is used to instruct the control plane network element to process the N2 message.
  • the N1 message further includes first indication information, where the first indication information is used to instruct the control plane network element to process the N2 message.
  • the response message of the N1 message may include a response message of the N2 message, and the response message of the N2 message is used to indicate that the connection of the N2 wireless interface between multiple devices and the control plane network element is successfully established.
  • the N2 wireless interface connection between the non-public network and the public network can be established, and then the non-public network and the public network can communicate through the wireless interface.
  • terminal devices in different non-public networks transmit cross-domain data information, compared with the way of cross-domain transmission through wired private network channels, the universality and flexibility are improved, and the cost is reduced.
  • the way that the third-party server performs cross-domain transmission can improve the security of data transmission.
  • Figure 10 describes a schematic diagram of a communication method provided by the embodiment of the present application, and the application of a communication method provided by the embodiment of the present application in specific application scenarios will be further described below in conjunction with Figures 11 to 14 .
  • Fig. 11 is a schematic flowchart of a communication method provided according to an embodiment of the present application.
  • the devices in the first non-public network include the first device and UE, where the first device includes RAN, UPF, and CPE, and the devices in the public network include AMF.
  • the CPE initiates an N1NAS connection establishment request to the AMF, and the AMF establishes an N1NAS connection with the CPE according to the request of the CPE.
  • the network element in the first device completes basic information configuration.
  • the basic information may include, but not limited to, for example: basic operating parameters, address configuration, and so on.
  • the CPE establishes a default user plane, and the RAN and UPF obtain basic information from the OAM through the default user plane of the CPE to complete configuration of the basic information.
  • the UE sends registration request information to the RAN.
  • the registration request information can be used to establish the N1NAS connection between the UE and the AMF.
  • the RAN selects the AMF.
  • the RAN may select an AMF in the same area as the UE according to the location information of the UE.
  • the RAN may be connected to one or more AMFs, and the one or more AMFs are located in different locations in the public network. At this time, the RAN may select an AMF in the same area as the UE according to the location information of the UE.
  • the RAN sends an N2 message to the CPE.
  • the N2 message is used to establish the connection of the N2 radio interface between the RAN and the AMF.
  • the CPE sends an N1 message to the AMF.
  • the N1 message may include an N2 message.
  • the N1 message may be used to instruct the control plane network element to process the N2 message.
  • the N1 message itself can be used to instruct the control plane network element to process the N2 message, that is, if the N1 message includes the N2 message, the N1 message is used to instruct the control plane network element to process the N2 message.
  • the N1 message further includes first indication information, where the first indication information is used to instruct the control plane network element to process the N2 message.
  • the AMF sends a response message of the N1 message to the CPE.
  • the response message of the N1 message may include the response message of the N2 message.
  • the response message of the N2 message is used to represent the successful establishment of the connection of the N2 radio interface between the RAN and the AMF, and the response message of the N1 message may be used to instruct the CPE to send the response message of the N2 message to the RAN.
  • the response message of the N1 message itself can be used to instruct the CPE to send the response message of the N2 message to the RAN, that is, if the response message of the N1 message includes the response message of the N2 message, the response message of the N1 message It is used to instruct the CPE to send the response message of the N2 message to the RAN.
  • the response message of the N1 message further includes second indication information, where the second indication information is used to instruct the CPE to send the response message of the N2 message to the RAN.
  • the CPE sends a response message of the N2 message to the RAN.
  • the RAN After receiving the response message of the N2 message, the RAN confirms that the wireless connection of the N2 interface between the RAN and the AMF has been established.
  • the UE can send an N1 message to the RAN; the RAN sends an N2 message to the CPE, the N2 message includes the N1 message sent by the UE; the CPE sends an N1 message to the AMF, the N1 message includes the N2 message and the N1 message sent by the UE, and the AMF According to the N1 message sent by the CPE, an N1NAS connection is established with the UE.
  • the N2 wireless interface connection between the RAN in the non-public network and the AMF in the public network can be established, so that the non-public network and the public network can communicate through the wireless interface.
  • the terminal equipment of the terminal device when used for cross-domain data information transmission, it improves the universality and flexibility, and reduces the cost.
  • the way of transmission can improve the security of data transmission.
  • Fig. 12 is a schematic flowchart of a communication method provided according to another embodiment of the present application.
  • the devices in the first non-public network include a first device, UE1, and DN, where the first device includes RAN1, UPF1, and CPE1.
  • the devices in the public network include CP and UPF2, wherein the CP includes SMF, PCF, unified data management (unified data management, UDM), and unified database (unified data repository, UDR).
  • the devices in the second non-public network include the second device and UE2, where the second device includes RAN2, UPF3, and CPE2.
  • the second non-public network is not limited to a specific non-public network, and any non-public network that can be used as a target non-public network may be called a second non-public network.
  • the second device is not limited to a specific device, and CPE2 is not limited to a specific network element. Any device that can be used as a destination non-public network can be called a second device. This is not limited.
  • a wireless connection of the N4 interface is established between the UPF1 and the SMF.
  • the AF sends group establishment request information to the CP.
  • the group building request information includes a group identifier, identifiers of multiple devices, and routing information, where the routing information includes a relationship between identifiers of multiple devices and addresses of multiple devices, and the multiple devices include a first device and a second device.
  • the routing information includes the relationship between identifiers of multiple CPEs and addresses of multiple CPEs, where the multiple CPEs include CPE1 and CPE2.
  • the CP establishes a device group.
  • the CP groups the multiple devices according to their attributes, for example, the CP may group the multiple devices according to DNN, session type, and S-NSSAI. For another example, the CP may group the multiple devices according to the address segments of the multiple devices. This application is not limited to this.
  • the plurality of devices includes a first device and a second device.
  • the address segment of the multiple devices may include the address of one device, or may include the addresses of multiple devices, which is not limited in this embodiment of the present application.
  • UDM or UDR stores group information.
  • the public network establishes a tunnel between the first device in the first non-public network and the public network.
  • the public network may also establish a tunnel between the second device in the second non-public network and the public network, so that the first non-public network and the second non-public network can pass through
  • the tunnel established by the public network completes the data transmission.
  • the CP determines the target routing rule.
  • the SMF determines the target routing rule according to the routing information.
  • the target routing rule includes a first routing rule and/or a second routing rule, wherein the first routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, and the second routing rule uses Indicates the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2.
  • the PCF may determine the target routing rule according to the routing information.
  • the target routing rule includes a first routing rule and/or a second routing rule, wherein the first routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, and the second routing rule uses Indicates the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2.
  • the PCF sends the determined target routing rules to the SMF.
  • first routing rule and/or second routing rule may be generated by SMF or PCF, or the first routing rule and/or second routing rule may be predefined by the protocol, which is not made in this embodiment of the present application. Any restrictions.
  • the relationship between the sub-address segment of the second device indicated by the second routing rule and the tunnel corresponding to UPF2 does not refer to the relationship between the sub-address segment of a certain device and the tunnel corresponding to UPF2.
  • the sub-address segment that can be used as the destination device can be called the sub-address segment of the second device, that is to say, the relationship between the sub-address segment of the second device indicated by the second routing rule and the tunnel corresponding to UPF2 is The relationship between multiple sub-address segments that can be used as destination devices and the tunnel corresponding to UPF2.
  • the relationship between the sub-address segment of the second device indicated by the first routing rule and the tunnel corresponding to the second device does not refer to the relationship between the sub-address segment of a certain device and the tunnel corresponding to the device.
  • any sub-address segment that can be used as the destination device can be called the sub-address segment of the second device, that is, the distance between the sub-address segment of the second device indicated by the first routing rule and the tunnel corresponding to the second device.
  • the relationship between is the relationship between multiple address segments that can be used as the destination device and the tunnel corresponding to the destination device.
  • the CP sends the first routing rule to UPF2.
  • the SMF when the SMF determines that there are more than two device group members, the SMF sends the first routing rule to UPF2.
  • the CP sends the second routing rule to UPF1.
  • the SMF determines that the number of device groups to which the first device belongs is more than one, the SMF sends the second routing rule to UPF1.
  • the CP may first send the first routing rule to UPF2, and then send the second routing rule to UPF1; or, the CP may first send the second routing rule to UPF1. routing rules, and then send the first routing rule to UPF2; or, the CP sends the first routing rule to UPF2 and sends the second routing rule to UPF1 at the same time.
  • UPF1 determines that the data information is cross-domain data information. That is, the destination device of the data information is a device in a non-public network (such as the second non-public network) other than the first non-public network.
  • UPF1 determines that the data information is cross-domain data information according to local pre-configuration. For example, UPF1 can pre-configure forwarding rules. When the address of the data information is different from the sub-address segment of the first device, it means that the data information is cross-domain data information; when the address of the data information is the same as the sub-address segment of the first device, It means that the data information is local data information, and at this time UPF1 sends the local data information to the DN in the first non-public network, and then the local transmission of the data information can be completed.
  • UPF1 can pre-configure forwarding rules. When the address of the data information is different from the sub-address segment of the first device, it means that the data information is cross-domain data information; when the address of the data information is the same as the sub-address segment of the first device, It means that the data information is local data information, and at this time UPF1 sends the local data information to the DN in the first non-public network, and
  • UPF1 determines that the data information is cross-domain data information according to the address of the data information and the second routing rule. For example, if UPF1 determines that the address of the data information is the same as the sub-address segment of the second device, it indicates that the data information is cross-domain data information, and according to the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2, it can Determine the tunnel when CPE1 sends the data information to UPF2.
  • the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address of a certain destination device If the segments are the same, it can be determined that the data information is sent to the non-public network corresponding to the destination device; on the contrary, if the address of the data information is different from the sub-address segment that can be used as the destination device, it means that the data information is local data information , at this time UPF1 sends the local data information to the DN in the first non-public network, and the local transmission of the data information can be completed.
  • UPF1 sends data information to CPE1.
  • UPF1 sends third indication information to CPE1.
  • the third indication information is used to indicate the tunnel when CPE1 sends the data information to UPF2.
  • UPF1 may first send data information to CPE1, and then send third indication information to CPE1; or, UPF1 may simultaneously send data information and the third instruction information to CPE1. 3. Instructions.
  • CPE1 sends data information to UPF2.
  • CPE1 when there is only one tunnel between CPE1 and UPF2, CPE1 sends data information to UPF2 through the tunnel.
  • CPE1 sends data information to UPF2 according to the tunnel indicated by the third indication information.
  • UPF2 determines that the first device is a member of the device group.
  • UPF2 determines that the first device is a device group member according to the attribute of the first device.
  • the attribute may be DNN, session type, and S-NSSAI.
  • the attribute may be the sub-address segment of the first device, which is not limited in this application.
  • the communication method shown in FIG. 12 further includes: UPF2 sends the data information to CPE2, CPE2 sends the received data information to UPF3, UPF3 sends the data information to RAN2, and RAN2 sends the data information to UE2, thereby Complete data transmission between the first non-public network and the second non-public network.
  • UPF2 when there is only one tunnel between UPF2 and CPE2, UPF2 sends data information to CPE2 through the tunnel.
  • UPF2 sends the data information to CPE2 based on the first routing rule. For example, if UPF2 determines that the address of the data information is the same as the sub-address segment of the second device, then according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, determine the time when UPF2 sends the data information to CPE2 tunnel.
  • the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address segment of a certain device If they are the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the subaddress segment of the device and the tunnel corresponding to the device, it is determined that when UPF2 sends data information to the CPE in the device tunnel.
  • Fig. 13 is a schematic flowchart of a communication method provided according to another embodiment of the present application.
  • the devices in the first non-public network include a first device, UE1, and DN, where the first device includes RAN1, UPF1, and CPE1.
  • the devices in the public network include CP and UPF2, wherein the CP includes SMF, PCF, unified data management (unified data management, UDM), and unified database (unified data repository, UDR).
  • the devices in the second non-public network include the second device and UE2, where the second device includes RAN2, UPF3, and CPE2.
  • the second non-public network is not limited to a specific non-public network, and any non-public network that can be used as a target non-public network may be called a second non-public network.
  • the second device is not limited to a specific device, and CPE2 is not limited to a specific network element. Any device that can be used as a destination non-public network can be called a second device. This is not limited.
  • a wireless connection of the N4 interface is established between the UPF1 and the SMF.
  • the AF sends group establishment request information to the CP.
  • the group building request information includes a group identifier, identifiers of multiple devices, and routing information, where the routing information includes a relationship between identifiers of multiple devices and addresses of multiple devices, and the multiple devices include a first device and a second device.
  • the routing information includes the relationship between identifiers of multiple CPEs and addresses of multiple CPEs, where the multiple CPEs include CPE1 and CPE2.
  • the CP establishes a device group.
  • the CP groups the multiple devices according to their attributes, for example, the CP may group the multiple devices according to DNN, session type, and S-NSSAI. For another example, the CP may group the multiple devices according to the address segments of the multiple devices. This application is not limited to this.
  • the plurality of devices includes a first device and a second device.
  • the address segment of the multiple devices may include the address of one device, or may include the addresses of multiple devices, which is not limited in this embodiment of the present application.
  • UDM or UDR stores group information.
  • the public network establishes a tunnel between the first device in the first non-public network and the public network.
  • the public network may also establish a tunnel between the second device in the second non-public network and the public network, so that the first non-public network and the second non-public network can pass through
  • the tunnel established by the public network completes the data transmission.
  • the CP determines the target routing rule.
  • the SMF determines the target routing rule according to the routing information.
  • the target routing rule includes a first routing rule and/or a second routing rule and/or a third routing rule, where the first routing rule is used to indicate the distance between the sub-address segment of the second device and the tunnel corresponding to the second device.
  • the second routing rule is used to indicate the sub-address segment of the second device
  • the third routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2.
  • the PCF may determine the target routing rule according to the routing information.
  • the target routing rule includes a first routing rule and/or a second routing rule and/or a third routing rule, where the first routing rule is used to indicate the distance between the sub-address segment of the second device and the tunnel corresponding to the second device.
  • the second routing rule is used to indicate the sub-address segment of the second device, and the third routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2.
  • the PCF sends the determined target routing rules to the SMF.
  • first routing rule and/or the second routing rule and/or the third routing rule may be generated by SMF or PCF, or the first routing rule and/or the second routing rule and/or the third routing rule It may be predefined by the protocol, which is not limited in this embodiment of the application.
  • the relationship between the sub-address segment of the second device indicated by the third routing rule and the tunnel corresponding to UPF2 does not refer to the relationship between the sub-address segment of a certain device and the tunnel corresponding to UPF2.
  • the sub-address segment that can be used as the destination device can be called the sub-address segment of the second device, that is to say, the relationship between the sub-address segment of the second device indicated by the second routing rule and the tunnel corresponding to UPF2 is The relationship between multiple sub-address segments that can be used as destination devices and the tunnel corresponding to UPF2.
  • sub-address segment of the second device indicated by the second routing rule does not refer to the sub-address segment of a certain device, and any sub-address segment that can be used as a destination device can be called a sub-address segment of the second device. address segment.
  • the relationship between the sub-address segment of the second device indicated by the first routing rule and the tunnel corresponding to the second device does not refer to the relationship between the sub-address segment of a certain device and the tunnel corresponding to the device.
  • any sub-address segment that can be used as the destination device can be called the sub-address segment of the second device, that is, the distance between the sub-address segment of the second device indicated by the first routing rule and the tunnel corresponding to the second device.
  • the relationship between is the relationship between multiple address segments that can be used as the destination device and the tunnel corresponding to the destination device.
  • the CP sends the first routing rule to UPF2.
  • the SMF when the SMF determines that there are more than two device group members, the SMF sends the first routing rule to UPF2.
  • the CP sends the second routing rule to UPF1.
  • the SMF sends the second routing rule to UPF1.
  • the CP sends the third routing rule to the CPE1.
  • the SMF determines that the number of device groups to which the first device belongs is more than one, the SMF sends the third routing rule to CPE1.
  • the CP may first send the first routing rule to UPF2, then send the second routing rule to UPF1, and finally send the third routing rule to CPE1; or , the CP can first send the second routing rule to UPF1, then send the first routing rule to UPF2, and finally send the third routing rule to CPE1; or, the CP sends the first routing rule to UPF2, the second routing rule to UPF1, and the CPE1 sends the third routing rule at the same time.
  • RAN1 sends the data information to UPF1.
  • UPF1 determines that the data information is cross-domain data information. That is, the destination device of the data information is a device in a non-public network (such as the second non-public network) other than the first non-public network.
  • UPF1 determines that the data information is cross-domain data information according to local pre-configuration. For example, UPF1 can pre-configure forwarding rules. When the address of the data information is different from the sub-address segment of the first device, it means that the data information is cross-domain data information; when the address of the data information is the same as the sub-address segment of the first device, It means that the data information is local data information, and at this time, UPF1 sends the local data information to the DN in the first non-public network, and then the local transmission of the data information can be completed.
  • UPF1 can pre-configure forwarding rules. When the address of the data information is different from the sub-address segment of the first device, it means that the data information is cross-domain data information; when the address of the data information is the same as the sub-address segment of the first device, It means that the data information is local data information, and at this time, UPF1 sends the local data information to the DN in the first non-public network
  • UPF1 determines that the data information is cross-domain data information according to the address of the data information and the second routing rule. For example, if UPF1 determines that the address of the data information is the same as the sub-address segment of the second device, it indicates that the data information is cross-domain data information.
  • the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address of a certain destination device If the segments are the same, it can be determined that the data information is sent to the non-public network corresponding to the destination device; on the contrary, if the address of the data information is different from the sub-address segment that can be used as the destination device, it means that the data information is local data information , at this time UPF1 sends the local data information to the DN in the first non-public network, and the local transmission of the data information can be completed.
  • UPF1 sends data information to CPE1.
  • CPE1 sends data information to UPF2.
  • CPE1 when there is only one tunnel between CPE1 and UPF2, CPE1 sends data information to UPF2 through the tunnel.
  • CPE1 sends data information to UPF2 according to the third routing rule. For example, CPE1 determines the sub-address segment of the second device that is the same as the address of the data information, and according to the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2, it can determine the tunnel when CPE1 sends the data information to UPF2 , and then CPE1 sends data information to UPF2 through the tunnel.
  • CPE1 determines the sub-address segment of the second device that is the same as the address of the data information, and can compare the address of the data information with the sub-address segment that can be used as the destination device. segment is the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the sub-address segment of the device and the tunnel corresponding to UPF2, the tunnel when CPE1 sends the data information to UPF2 can be determined .
  • UPF2 determines that the first device is a member of the device group.
  • UPF2 determines that the first device is a device group member according to the attribute of the first device.
  • the attribute may be DNN, session type, and S-NSSAI.
  • the attribute may be the sub-address segment of the first device, which is not limited in this application.
  • the communication method shown in FIG. 13 further includes: UPF2 sends the data information to CPE2, CPE2 sends the received data information to UPF3, UPF3 sends the data information to RAN2, and RAN2 sends the data information to UE2, thereby Complete data transmission between the first non-public network and the second non-public network.
  • UPF2 when there is only one tunnel between UPF2 and CPE2, UPF2 sends data information to CPE2 through the tunnel.
  • UPF2 sends the data information to CPE2 based on the first routing rule. For example, if UPF2 determines that the address of the data information is the same as the sub-address segment of the second device, then according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, determine the time when UPF2 sends the data information to CPE2 tunnel.
  • the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address segment of a certain device If they are the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the subaddress segment of the device and the tunnel corresponding to the device, it is determined that when UPF2 sends data information to the CPE in the device tunnel.
  • Fig. 14 is a schematic flowchart of a communication method provided according to another embodiment of the present application.
  • the devices in the first non-public network include a first device, UE1, and DN, where the first device includes RAN1, UPF1, and CPE1.
  • the devices in the public network include CP and UPF2, wherein the CP includes SMF, PCF, unified data management (unified data management, UDM), and unified database (unified data repository, UDR).
  • the devices in the second non-public network include the second device and UE2, where the second device includes RAN2, UPF3, and CPE2.
  • the second non-public network is not limited to a specific non-public network, and any non-public network that can be used as a target non-public network may be called a second non-public network.
  • the second device is not limited to a specific device, and CPE2 is not limited to a specific network element. Any device that can be used as a destination non-public network can be called a second device. This is not limited.
  • S1400-S1405 are similar to S1200-S1205 in FIG. 12 , and will not be repeated here.
  • the CP sends the second routing rule to the CPE1.
  • the SMF determines that the number of device groups to which the first device belongs is more than one, the SMF sends the second routing rule to UPF1.
  • the CP may first send the first routing rule to UPF2, and then send the second routing rule to CPE1; or, the CP may first send the second routing rule to CPE1. routing rules, and then send the first routing rule to UPF2; or, the CP sends the first routing rule to UPF2 and sends the second routing rule to CPE1 at the same time.
  • UPF1 sends the data information to CPE1.
  • CPE1 determines that the data information is cross-domain data information. That is, the destination device of the data information is a device in a non-public network (such as the second non-public network) other than the first non-public network.
  • CPE1 determines that the data information is cross-domain data information according to local preconfiguration. For example, CPE1 can pre-configure forwarding rules. When the address of the data information is different from the sub-address segment of the first device, it means that the data information is cross-domain data information; when the address of the data information is the same as the sub-address segment of the first device, It means that the data information is local data information. At this time, CPE1 sends the local data information to UPF1, and UPF1 sends the local data information to the DN in the first non-public network to complete the local transmission of the data information.
  • CPE1 determines that the data information is cross-domain data information according to the address of the data information and the second routing rule. For example, if CPE1 determines that the address of the data information is the same as the sub-address segment of the second device, it indicates that the data information is cross-domain data information.
  • the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address of a certain destination device If the segments are the same, it can be determined that the data information is sent to the non-public network corresponding to the destination device; on the contrary, if the address of the data information is different from the sub-address segment that can be used as the destination device, it means that the data information is local data information , at this time, CPE1 sends the local data information to UPF1, and UPF1 sends the local data information to the DN in the first non-public network, thus completing the local transmission of the data information.
  • CPE1 when there is only one tunnel between CPE1 and UPF2, CPE1 sends data information to UPF2 through the tunnel.
  • CPE1 sends data information to UPF2 according to the second routing rule. For example, CPE1 determines the tunnel when CPE1 sends the data information to UPF2 according to the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2, and sends the data information to UPF2 through the tunnel.
  • UPF2 determines that the first device is a member of the device group.
  • UPF2 determines that the first device is a device group member according to the attribute of the first device.
  • the attribute may be DNN, session type, and S-NSSAI.
  • the attribute may be the sub-address segment of the first device, which is not limited in this application.
  • the communication method shown in FIG. 14 further includes: UPF2 sends the data information to CPE2, CPE2 sends the received data information to UPF3, UPF3 sends the data information to RAN2, and RAN2 sends the data information to UE2, thereby Complete data transmission between the first non-public network and the second non-public network.
  • UPF2 when there is only one tunnel between UPF2 and CPE2, UPF2 sends data information to CPE2 through the tunnel.
  • UPF2 sends the data information to CPE2 based on the first routing rule. For example, if UPF2 determines that the address of the data information is the same as the sub-address segment of the second device, then according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, determine the time when UPF2 sends the data information to CPE2 tunnel.
  • the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address segment of a certain device If they are the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the subaddress segment of the device and the tunnel corresponding to the device, it is determined that when UPF2 sends data information to the CPE in the device tunnel.
  • the first device mainly includes RAN1, UPF1, and CPE1 as an example for illustration, and the present application is not limited thereto.
  • the first device may also include other network elements or devices.
  • one device group corresponds to one address segment
  • multiple devices belonging to the same device group have the same address segment
  • the sub-address segments corresponding to multiple devices belonging to the same device group are Differently, the sub-address segments of the multiple devices belong to the address segment of the device.
  • the address segment of the device group can be 192.168.0.0/16
  • the sub-address segment of the first device can be 192.168.1.0/24
  • the sub-address segment of the second device The address segment may be 192.168.2.0/24, wherein the sub-address segment 192.168.1.0/24 of the first device and the sub-address segment 192.168.2.0/24 of the second device both belong to the address segment 192.168.0.0/1 of the device group.
  • the network element with the access and mobility management function may correspond to the AMF, or may correspond to other similar devices for performing the AMF function
  • the network element with the session management function may correspond to the SMF, or It can correspond to other similar devices for performing SMF functions.
  • the user plane function network element can correspond to UPF, and can also correspond to other similar devices for performing UPF functions.
  • Other network elements are similar to this, and the embodiments of this application will not make specific limited.
  • the embodiments of the present application further provide corresponding devices, and the device includes corresponding modules for executing the foregoing method embodiments.
  • the module can be software, or hardware, or a combination of software and hardware. It can be understood that the technical features described in the above method embodiments are also applicable to the following device embodiments.
  • Fig. 15 is a schematic block diagram of a communication device provided by an embodiment of the present application.
  • the apparatus 1500 includes a transceiver unit 1510 and a processing unit 1520 .
  • the transceiver unit 1510 may be used to implement corresponding communication functions.
  • the transceiver unit 1510 may also be called a communication interface or a communication unit.
  • the processing unit 1520 may be configured to implement corresponding processing functions, such as determining a first routing rule and/or a second routing rule.
  • the device 1500 further includes a storage unit, which can be used to store instructions and/or data, and the processing unit 1520 can read the instructions and/or data in the storage unit, so that the device implements the foregoing method embodiments Actions of devices or network elements in the network.
  • a storage unit which can be used to store instructions and/or data
  • the processing unit 1520 can read the instructions and/or data in the storage unit, so that the device implements the foregoing method embodiments Actions of devices or network elements in the network.
  • the apparatus 1500 may be a user plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 , or may be a component (such as a chip) of the user plane network element.
  • the device 1500 can implement the steps or processes corresponding to the execution of the user plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 , wherein the transceiver unit 1510 can be used to execute any one of the embodiments shown in FIG.
  • the processing unit 1520 may be configured to perform operations related to processing of the user plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 .
  • the transceiver unit 1510 is configured to receive data information from a first device in a first non-public network, and the public network communicates with the first non-public network through a wireless interface; the processing unit 1520, For determining a first routing rule, where the first routing rule is used to indicate the relationship between the sub-address segment of the second device in the second non-public network and the tunnel corresponding to the second device; the transceiver unit 1510 further It is used for sending the data information to the second device according to the first routing rule, and the public network communicates with the second non-public network through a wireless interface.
  • the transceiving unit 1510 is configured to receive the first routing rule from a control plane network element in the public network.
  • the transceiving unit 1510 is configured to send the data information to the second device according to the address of the data information and the first routing rule.
  • the transceiving unit 1510 is configured to send the data information to the second device when it is determined that the first device belongs to a device group member.
  • the processing unit 1520 is configured to determine that the first device is a member of the device group according to the attribute of the first device.
  • the attribute includes one or more of the following: the sub-address segment of the first device, DNN, session type, and S-NSSAI.
  • the apparatus 1500 may be the control plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 , or may be a component (such as a chip) of the control plane network element.
  • the device 1500 can implement the steps or processes corresponding to the execution of the control plane network element in any one of the embodiments shown in FIG. 12 to FIG.
  • the processing unit 1520 may be configured to perform the processing related operations of the control plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 .
  • the processing unit 1520 is configured to determine a target routing rule, where the target routing rule includes a first routing rule and/or a second routing rule, where the first routing rule is used to indicate the The relationship between the subaddress segment of the second device and the tunnel corresponding to the second device, the second routing rule is used to indicate the relationship between the subaddress segment of the second device and the tunnel corresponding to the user plane network element in the public network
  • the relationship between the public network and the second non-public network communicates through a wireless interface; the transceiver unit 1510 is configured to send the target routing rule.
  • the transceiver unit 1510 is configured to send the first routing rule to the user plane network element; and/or the transceiver unit 1510 is further configured to send the second route to the first device in the first non-public network A rule, wherein, the public network and the first non-public network communicate through a wireless interface.
  • the processing unit 1520 is configured to determine the target routing rule according to the relationship between identifiers of multiple devices and address segments of the multiple devices, where the multiple devices include the first device and the second equipment.
  • the device further includes: a transceiver unit 1510, configured to receive an N1 message from multiple devices, where the N1 message includes an N2 message, and the N2 message is used to establish an N2 message.
  • the wireless connection of the interface, the multiple devices include the first device and the second device; the transceiver unit 1510 is further configured to send a response message of the N1 message to the multiple devices, the response message of the N1 message includes the response message of the N2 message A response message, the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • the apparatus 1500 may be the first device in any one of the embodiments shown in FIG. 12 to FIG. 14 , or may be a component (such as a chip) of the first device.
  • the apparatus 1500 can implement the steps or processes corresponding to the execution of the first device in any one of the embodiments shown in FIG. 12 to FIG. 14, wherein the transceiver unit 1510 can be used to execute any one of the embodiments shown in FIG.
  • the processing unit 1520 may be configured to perform operations related to processing of the first device in any one of the embodiments shown in FIG. 12 to FIG. 14 .
  • the processing unit 1520 is configured to determine to send the data information to the second device in the second non-public network; the transceiver unit 1510 is configured to send the data information to the user plane network element in the public network; wherein , the first non-public network communicates with the public network through a wireless interface, and the public network communicates with the second non-public network through a wireless interface.
  • the transceiver unit 1510 is configured to send the data information to the user plane network element according to a second routing rule, where the second routing rule is used to indicate that the sub-address segment of the second device is different from that in the public network The relationship between the tunnels corresponding to the user plane network elements.
  • the transceiving unit 1510 is configured to receive the second routing rule from the control plane network element in the public network.
  • the transceiving unit 1510 is configured to send the data information to the user plane network element according to the address of the data information and the second routing rule.
  • the device further includes: the transceiver unit 1510 is also used to send an N1 message to the control plane network element in the public network , the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface; the transceiver unit 1510 is further configured to receive a response message of the N1 message from the control plane network element, and the response message of the N1 message includes the A response message of the N2 message, where the response message of the N2 message is used to indicate that the connection of the N2 interface is successfully established.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • the apparatus 1500 may be the control plane network element in the embodiment shown in FIG. 11 , or may be a component (such as a chip) of the control plane network element.
  • the device 1500 can implement the steps or processes corresponding to the execution of the network elements of the control plane in the embodiment shown in FIG.
  • the processing unit 1520 may be configured to perform processing-related operations of the control plane network element in the embodiment shown in FIG. 11 .
  • the transceiver unit 1510 is configured to receive an N1 message from multiple devices, where the N1 message includes an N2 message, where the N2 message is used to establish a wireless connection on the N2 interface, and the multiple devices include a first non-public The first device in the network and the second device in the second non-public network; the processing unit 1520 is configured to process the N1 message and generate a response message to the N1 message; the transceiver unit 1510 is also configured to send the response message to the multiple devices A response message of the N1 message, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • the apparatus 1500 may be the first device in the embodiment shown in FIG. 11 , or may be a component (such as a chip) of the first device.
  • the apparatus 1500 can implement the steps or processes corresponding to the first device in the embodiment shown in FIG.
  • the unit 1520 may be configured to perform processing-related operations of the first device in the embodiment shown in FIG. 11 .
  • the processing unit 1520 is configured to generate an N1 message; the transceiver unit 1510 is configured to send the N1 message to a control plane network element in the public network, the N1 message includes an N2 message, and the N2 message is used to establish Wireless connection of the N2 interface; the transceiver unit 1510 is also configured to receive a response message of the N1 message from the control plane network element, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used for Indicating that the wireless connection of the N2 interface is successfully established; the processing unit 1520 is also configured to process a response message of the N1 message.
  • the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
  • the apparatus 1500 here is embodied in the form of functional units.
  • the term "unit” here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor for executing one or more software or firmware programs (such as a shared processor, a dedicated processor, or a group processor, etc.) and memory, incorporated logic, and/or other suitable components to support the described functionality.
  • ASIC application specific integrated circuit
  • the device 1500 can be specifically the SMF in any one of the embodiments shown in FIG. 12 to FIG. 14 , and can be used to implement any of the implementations shown in FIG.
  • the device 1500 can be specifically UPF2 in any one of the embodiments shown in Figure 12 to Figure 14, and can be used to execute any one of the embodiments shown in Figure 12 to Figure 14
  • the various processes and/or steps corresponding to CPE1; the device 1500 may specifically be the AMF in the embodiment shown in FIG.
  • the CPE in the embodiment shown in FIG. 11 which can be used to execute various processes and/or steps corresponding to the CPE in the embodiment shown in FIG. 11 ;
  • the device 1500 can be specifically the RAN in the embodiment shown in FIG. 11 , and can It is used to execute various processes and/or steps corresponding to the RAN in the embodiment shown in FIG. 11 ; to avoid repetition, details are not repeated here.
  • the apparatus 1500 in each of the above solutions has the function of implementing the corresponding steps performed by the network element (such as SMF, or AMF, or UPF, or RAN, or CPE) in the above methods.
  • the functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above functions; for example, the transceiver unit can be replaced by a transceiver (for example, the sending unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiver computer), and other units, such as a processing unit, may be replaced by a processor to respectively perform the sending and receiving operations and related processing operations in each method embodiment.
  • transceiver unit 1510 may also be a transceiver circuit (for example, may include a receiving circuit and a sending circuit), and the processing unit may be a processing circuit.
  • the apparatus in FIG. 15 may be the network element or device in the foregoing embodiments, or may be a chip or a chip system, such as a system on chip (system on chip, SoC).
  • the transceiver unit may be an input-output circuit or a communication interface;
  • the processing unit is a processor or a microprocessor or an integrated circuit integrated on the chip. It is not limited here.
  • this embodiment of the present application provides another communication device 1600 .
  • the apparatus 1600 includes a processor 1610, and the processor 1610 is configured to execute computer programs or instructions stored in the memory 1620, or read data/signaling stored in the memory 1620, so as to execute the methods in the foregoing method embodiments.
  • processors 1610 there are one or more processors 1610.
  • the apparatus 1600 further includes a memory 1620, and the memory 1620 is used for storing computer programs or instructions and/or data.
  • the memory 1620 can be integrated with the processor 1610, or can also be set separately.
  • the apparatus 1600 further includes a transceiver 1630, and the transceiver 1630 is used for receiving and/or sending signals.
  • the processor 1610 is configured to control the transceiver 1630 to receive and/or send signals.
  • the apparatus 1600 is used to implement the operations performed by the network element in the foregoing method embodiments.
  • the processor 1610 is configured to execute the computer programs or instructions stored in the memory 1620, so as to implement related operations of the user plane network elements in the various method embodiments above. For example, the method performed by the user plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 .
  • the processor 1610 is configured to execute computer programs or instructions stored in the memory 1620, so as to implement related operations of the control plane network elements in the foregoing method embodiments. For example, the method executed by the control plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 .
  • the processor 1610 is configured to execute the computer programs or instructions stored in the memory 1620, so as to implement related operations of the first device in each method embodiment above. For example, the method executed by the first device in any one of the embodiments shown in FIG. 12 to FIG. 14 .
  • the processor 1610 is configured to execute computer programs or instructions stored in the memory 1620, so as to implement related operations of the control plane network elements in the foregoing method embodiments. For example, the method performed by the control plane network element in the embodiment shown in FIG. 11 .
  • the processor 1610 is configured to execute the computer programs or instructions stored in the memory 1620, so as to implement related operations of the first device in each method embodiment above. For example, the method executed by the first device in the embodiment shown in FIG. 11 .
  • processors mentioned in the embodiment of the present application may be a central processing unit (central processing unit, CPU), and may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits ( application specific integrated circuit (ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory mentioned in the embodiments of the present application may be a volatile memory and/or a nonvolatile memory.
  • the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM).
  • RAM random access memory
  • RAM can be used as an external cache.
  • RAM includes the following multiple forms: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct Memory bus random access memory (direct rambus RAM, DR RAM).
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module may be integrated in the processor.
  • memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
  • the embodiments of the present application further provide a computer-readable storage medium, on which computer instructions for implementing the methods executed by the network element or device in the foregoing method embodiments are stored.
  • the computer when the computer program is executed by a computer, the computer can implement the methods performed by the user plane network element in each embodiment of the foregoing method.
  • the computer when the computer program is executed by a computer, the computer can implement the methods executed by the network element of the control plane in each embodiment of the above methods.
  • the computer when the computer program is executed by a computer, the computer can implement the method executed by the first device in each of the foregoing method embodiments.
  • the embodiments of the present application further provide a computer program product, including instructions, and when the instructions are executed by a computer, the methods executed by the network element or device in the foregoing method embodiments are implemented.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer may be a personal computer, a server, or a network device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (SSD), etc.
  • the aforementioned available medium includes but Not limited to: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Abstract

Provided in the embodiments of the present application are a communication method and apparatus. The method is applied to a public network. The communication method comprises: a user plane network element in a public network receiving data information from a first device in a first non-public network, wherein the public network is in communication with the first non-public network by means of a wireless interface; and the user plane network element sending the data information to a second device in a second non-public network according to a first routing rule, wherein the first routing rule is used for indicating the relationship between a sub-address segment of the second device and a tunnel corresponding to the second device, and the public network is in communication with the second non-public network by means of the wireless interface. By means of the method, when terminal devices in different non-public networks perform cross-domain data information transmission, not only can the characteristics of high universality, good flexibility and low cost be achieved, but the security of data information can also be ensured.

Description

通信方法和装置Communication method and device 技术领域technical field
本申请实施例涉及通信领域,更具体地涉及到一种通信方法和装置。The embodiment of the present application relates to the communication field, and more specifically relates to a communication method and device.
背景技术Background technique
非公共网络中的数据信息可以是本地数据信息,也可以是跨域数据信息。当非公共网络中的数据信息是跨域数据信息时,该数据信息需要在不同的非公共网络中进行传输。The data information in the non-public network may be local data information or cross-domain data information. When the data information in the non-public network is cross-domain data information, the data information needs to be transmitted in different non-public networks.
现有技术中给出了数据信息在不同非公共网络中进行传输时的两种方式:有线专网通道和第三方服务器。但是这两种方式都不太合适。例如,当数据信息通过有线专网通道进行跨域传输时,会导致数据传输的普适性弱、灵活性差,并且成本相对较高。再例如,当数据信息通过第三方服务器进行跨域传输时,无法确保数据信息的安全性。In the prior art, there are two ways for data information to be transmitted in different non-public networks: a wired private network channel and a third-party server. But neither of these approaches is quite suitable. For example, when data information is transmitted across domains through a wired private network channel, the data transmission will have weak universality, poor flexibility, and relatively high cost. For another example, when the data information is transmitted across domains through a third-party server, the security of the data information cannot be guaranteed.
发明内容Contents of the invention
本申请实施例提供一种通信方法和装置,能够使不同非公共网络中的终端设备完成数据传输。Embodiments of the present application provide a communication method and device, which can enable terminal devices in different non-public networks to complete data transmission.
第一方面,提供了一种通信方法,该方法应用于公共网络,该方法包括:该公共网络中的用户面网元接收来自第一非公共网络中的第一设备的数据信息,该公共网络和该第一非公共网络之间通过无线接口通信;该用户面网元根据第一路由规则,向第二非公共网络中的第二设备发送该数据信息,其中,该第一路由规则用于指示该第二设备的子地址段与该第二设备对应的隧道之间的关系,该公共网络和该第二非公共网络之间通过无线接口通信。In a first aspect, a communication method is provided, the method is applied to a public network, and the method includes: a user plane network element in the public network receives data information from a first device in a first non-public network, and the public network communicate with the first non-public network through a wireless interface; the user plane network element sends the data information to the second device in the second non-public network according to a first routing rule, wherein the first routing rule is used for Indicates the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, and the public network communicates with the second non-public network through a wireless interface.
基于上述技术方案,不同非公共网络与公共网络之间能够通过无线接口通信,公共网络中的用户面网元通过公共网络与第一非公共网络之间的无线接口接收来自第一非公共网络中的第一设备的数据,并通过公共网络与第二非公共网络之间的无线接口向第二非公共网络中的第二设备转发该数据,这样第一非公共网络中的终端设备与第二非公共网络中的终端设备之间可以基于公共网络进行数据传输,实现了非公共网络中的终端设备之间的跨域传输。上述技术方案,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。此外,公共网络可以与多个非公共网络之间建立多个隧道,公共网络中的用户面网元可以根据第一路由规则,选择相应的隧道向第二非公共网络中的第二设备转发数据,进而不仅实现数据的正确转发,还可以适用于更多的通信场景。Based on the above technical solution, different non-public networks can communicate with the public network through the wireless interface, and the user plane network elements in the public network receive information from the first non-public network through the wireless interface between the public network and the first non-public network. and forward the data to the second device in the second non-public network through the wireless interface between the public network and the second non-public network, so that the terminal device in the first non-public network and the second Terminal devices in the non-public network can perform data transmission based on the public network, realizing cross-domain transmission between terminal devices in the non-public network. Compared with the method of cross-domain transmission through a wired private network channel, the above technical solution improves universality and flexibility, and reduces costs. Compared with the method of cross-domain transmission through a third-party server, it can improve data Transmission Security. In addition, multiple tunnels can be established between the public network and multiple non-public networks, and the user plane network element in the public network can select the corresponding tunnel to forward data to the second device in the second non-public network according to the first routing rule , which not only realizes the correct forwarding of data, but also applies to more communication scenarios.
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该用户面网元接收来自该公共网络中的控制面网元的该第一路由规则。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: receiving, by the user plane network element, the first routing rule from a control plane network element in the public network.
结合第一方面,在第一方面的某些实现方式中,该用户面网元根据第一路由规则,向该第二设备发送该数据信息,包括:该用户面网元根据该数据信息的地址和该第一路由规 则,向该第二设备发送该数据信息。With reference to the first aspect, in some implementation manners of the first aspect, the user plane network element sends the data information to the second device according to the first routing rule, including: the address of the user plane network element according to the data information and the first routing rule, and send the data information to the second device.
结合第一方面,在第一方面的某些实现方式中,该用户面网元向第二非公共网络中的第二设备发送该数据信息,包括:在确定该第一设备属于设备组成员的情况下,该用户面网元向该第二非公共网络中的第二设备发送该数据信息。With reference to the first aspect, in some implementation manners of the first aspect, the user plane network element sending the data information to the second device in the second non-public network includes: determining that the first device belongs to a device group member In some cases, the user plane network element sends the data information to the second device in the second non-public network.
结合第一方面,在第一方面的某些实现方式中,该用户面网元根据该第一设备的属性,确定该第一设备是该设备组成员。With reference to the first aspect, in some implementation manners of the first aspect, the user plane network element determines that the first device is a member of the device group according to the attribute of the first device.
结合第一方面,在第一方面的某些实现方式中,该属性包括以下一项或多项:该第一设备的子地址段、DNN、会话类型、S-NSSAI。With reference to the first aspect, in some implementation manners of the first aspect, the attribute includes one or more of the following: a subaddress segment of the first device, DNN, session type, and S-NSSAI.
基于上述技术方案,不同非公共网络中的终端设备进行跨域数据信息传输时,可以通过公共网络建立的非公共网络中的设备与公共网络之间的隧道进行无线通信,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Based on the above technical solution, when terminal devices in different non-public networks perform cross-domain data information transmission, they can perform wireless communication through the tunnel between the devices in the non-public network established by the public network and the public network, compared with the wireless communication through the wired private network. The method of cross-domain transmission through the network channel improves the universality and flexibility, and reduces the cost. Compared with the method of cross-domain transmission through a third-party server, it can improve the security of data transmission.
第二方面,提供了一种通信方法,该方法应用于公共网络,该方法包括:该公共网络中的控制面网元确定目标路由规则,该目标路由规则包括第一路由规则和/或第二路由规则,该第一路由规则用于指示第二非公共网络中的第二设备的子地址段与该第二设备对应的隧道之间的关系,该第二路由规则用于指示该第二设备的子地址段与该公共网络中的用户面网元对应的隧道之间的关系,其中,该公共网络和该第二非公共网络之间通过无线接口通信;该控制面网元发送该目标路由规则。In a second aspect, a communication method is provided, the method is applied to a public network, and the method includes: a control plane network element in the public network determines a target routing rule, and the target routing rule includes a first routing rule and/or a second routing rule a routing rule, the first routing rule is used to indicate the relationship between the sub-address segment of the second device in the second non-public network and the tunnel corresponding to the second device, the second routing rule is used to indicate the relationship between the second device The relationship between the sub-address segment of the public network and the tunnel corresponding to the user plane network element in the public network, wherein the communication between the public network and the second non-public network is through a wireless interface; the control plane network element sends the target route rule.
基于上述技术方案,公共网络可以与多个非公共网络之间建立多个隧道,公共网络中的用户面网元可以根据第一路由规则,选择相应的隧道向第二非公共网络中的第二设备转发数据,非公共网络中的设备也可以根据第二路由规则,选择相应的隧道向公共网络中的用户面网元转发数据,进而不仅实现数据的正确转发,还可以适用于更多的通信场景。Based on the above technical solution, multiple tunnels can be established between the public network and multiple non-public networks, and the user plane network element in the public network can select the corresponding tunnel to the second network element in the second non-public network according to the first routing rule. The device forwards data, and the device in the non-public network can also select the corresponding tunnel to forward data to the user plane network element in the public network according to the second routing rule, so as to not only realize the correct forwarding of data, but also apply to more communication Scenes.
结合第二方面,在第二方面的某些实现方式中,该目标路由规则包括第一路由规则,该控制面网元发送该目标路由规则,包括:该控制面网元向该用户面网元发送该第一路由规则;和/或,该目标路由规则包括第二路由规则,该控制面网元发送该目标路由规则,包括:该控制面网元向第一非公共网络中的第一设备发送该第二路由规则,其中,该公共网络和该第一非公共网络之间通过无线接口通信。With reference to the second aspect, in some implementation manners of the second aspect, the target routing rule includes a first routing rule, and the sending of the target routing rule by the control plane network element includes: the control plane network element sends the user plane network element Sending the first routing rule; and/or, the target routing rule includes a second routing rule, and the control plane network element sending the target routing rule includes: the control plane network element sending the first device in the first non-public network The second routing rule is sent, wherein the public network communicates with the first non-public network through a wireless interface.
结合第二方面,在第二方面的某些实现方式中,该公共网络中的控制面网元确定目标路由规则,包括:该控制面网元根据多个设备的标识与该多个设备的地址段之间的关系,确定该目标路由规则,其中,该多个设备包括该第一设备和该第二设备。With reference to the second aspect, in some implementation manners of the second aspect, the control plane network element in the public network determines the target routing rule, including: the control plane network element according to the identifiers of the multiple devices and the addresses of the multiple devices The relationship between the segments is used to determine the target routing rule, wherein the multiple devices include the first device and the second device.
结合第二方面,在第二方面的某些实现方式中,该公共网络中的控制面网元确定目标路由规则之前,该方法还包括:该控制面网元接收来自多个设备的N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接,该多个设备包括第一设备和该第二设备;该控制面网元向该多个设备发送该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的无线连接。With reference to the second aspect, in some implementation manners of the second aspect, before the control plane network element in the public network determines the target routing rule, the method further includes: the control plane network element receives N1 messages from multiple devices, The N1 message includes an N2 message, the N2 message is used to establish a wireless connection on the N2 interface, and the multiple devices include the first device and the second device; the control plane network element sends a response message to the N1 message to the multiple devices , the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
结合第二方面,在第二方面的某些实现方式中,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。With reference to the second aspect, in some implementation manners of the second aspect, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
基于上述技术方案,各非公共网络与公共网络之间可以通过无线接口方式完成各非公 共网络之间的无线通信。不同非公共网络中的终端设备进行跨域数据信息传输时,可以通过公共网络建立的非公共网络中的设备与公共网络之间的隧道进行无线通信,上述技术方案,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Based on the above technical solution, the wireless communication between each non-public network and the public network can be completed through a wireless interface. When terminal devices in different non-public networks perform cross-domain data information transmission, wireless communication can be performed through the tunnel between the devices in the non-public network established by the public network and the public network. The way of cross-domain transmission through channels improves the universality and flexibility, and reduces the cost. Compared with the way of cross-domain transmission through third-party servers, it can improve the security of data transmission.
第三方面,提供了一种通信方法,该方法应用于第一非公共网络,该方法包括:该第一非公共网络中的第一设备确定向第二非公共网络中的第二设备发送数据信息;该第一非公共网络中的第一设备向公共网络中的用户面网元发送该数据信息;其中,该第一非公共网络和该公共网络之间通过无线接口通信,该公共网络和该第二非公共网络之间通过无线接口通信。In a third aspect, a communication method is provided, the method is applied to a first non-public network, and the method includes: a first device in the first non-public network determines to send data to a second device in a second non-public network Information; the first device in the first non-public network sends the data information to the user plane network element in the public network; wherein, the first non-public network communicates with the public network through a wireless interface, and the public network and The second non-public network communicates through a wireless interface.
基于上述技术方案,不同非公共网络中的终端设备进行跨域数据信息传输时,可以与公共网络之间进行无线接口通信,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Based on the above technical solution, when terminal devices in different non-public networks transmit cross-domain data information, they can communicate with public networks through wireless interfaces. Compared with the way of cross-domain transmission through wired private network channels, the common Adaptability and flexibility, and reduce costs, compared with the way of cross-domain transmission through third-party servers, it can improve the security of data transmission.
结合第三方面,在第三方面的某些实现方式中,该第一非公共网络中的第一设备向公共网络中的用户面网元发送数据信息,包括:该第一设备根据第二路由规则,向该用户面网元发送该数据信息,其中,该第二路由规则用于指示该第二设备的子地址段与该公共网络中的用户面网元对应的隧道之间的关系。With reference to the third aspect, in some implementation manners of the third aspect, sending the data information by the first device in the first non-public network to the user plane network element in the public network includes: the first device sends the data information according to the second route A rule for sending the data information to the user plane network element, wherein the second routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to the user plane network element in the public network.
结合第三方面,在第三方面的某些实现方式中,该方法还包括:该第一设备接收来自该公共网络中的控制面网元的该第二路由规则。With reference to the third aspect, in some implementation manners of the third aspect, the method further includes: the first device receiving the second routing rule from a control plane network element in the public network.
结合第三方面,在第三方面的某些实现方式中,该第一设备根据第二路由规则,向该用户面网元发送该数据信息,包括:该第一设备根据该数据信息的地址和该第二路由规则,向该用户面网元发送该数据信息。With reference to the third aspect, in some implementation manners of the third aspect, the first device sends the data information to the user plane network element according to the second routing rule, including: the first device sends the data information to the user plane network element according to the address and The second routing rule sends the data information to the user plane network element.
结合第三方面,在第三方面的某些实现方式中,该第一非公共网络中的第一设备向公共网络中的用户面网元发送该数据信息之前,该方法还包括:该第一设备向该公共网络中的控制面网元发送N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接;该第一设备接收来自该控制面网元的该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的连接。With reference to the third aspect, in some implementation manners of the third aspect, before the first device in the first non-public network sends the data information to the user plane network element in the public network, the method further includes: the first The device sends an N1 message to the control plane network element in the public network, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface; the first device receives the N1 message from the control plane network element A response message, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the connection of the N2 interface is successfully established.
结合第三方面,在第三方面的某些实现方式中,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。With reference to the third aspect, in some implementation manners of the third aspect, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
基于上述技术方案,各非公共网络与公共网络之间可以通过无线接口方式完成各非公共网络之间的无线通信。不同非公共网络中的终端设备进行跨域数据信息传输时,可以通过公共网络建立的非公共网络中的设备与公共网络之间的隧道进行无线通信,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Based on the above technical solution, the wireless communication between each non-public network and the public network can be completed through a wireless interface. When terminal devices in different non-public networks perform cross-domain data information transmission, they can communicate wirelessly through the tunnel between the devices in the non-public network established by the public network and the public network, compared with the cross-domain communication through wired private network channels. The way of transmission improves the universality and flexibility, and reduces the cost. Compared with the way of cross-domain transmission through third-party servers, it can improve the security of data transmission.
第四方面,提供了一种通信方法,该方法应用于公共网络,该方法包括:该公共网络的控制面网元接收来自多个设备的N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接,该多个设备包括第一非公共网络中的第一设备和第二非公共网络中的第二设备;该控制面网元向该多个设备发送该N1消息的响应消息,该N1消息的响 应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的无线连接。In a fourth aspect, a communication method is provided, the method is applied to a public network, and the method includes: a control plane network element of the public network receives an N1 message from a plurality of devices, the N1 message includes an N2 message, and the N2 message uses For establishing a wireless connection of the N2 interface, the multiple devices include a first device in the first non-public network and a second device in the second non-public network; the control plane network element sends the N1 message to the multiple devices A response message, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
基于上述技术方案,能够建立非公共网络与公共网络之间的N2无线接口的连接,进而使得非公共网络与公共网络之间能够通过无线接口通信,后续不同非公共网络中的终端设备进行跨域数据信息传输时,也能够具备普适性强、更灵活、更安全且低成本的特点。Based on the above technical solution, the N2 wireless interface connection between the non-public network and the public network can be established, so that the non-public network and the public network can communicate through the wireless interface, and subsequent terminal devices in different non-public networks perform cross-domain When data information is transmitted, it can also have the characteristics of strong universality, more flexibility, safety and low cost.
结合第四方面,在第四方面的某些实现方式中,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
第五方面,提供了一种通信方法,该方法应用于第一非公共网络,该方法包括:该第一非公共网络中的第一设备向公共网络中的控制面网元发送N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接;该第一设备接收来自该控制面网元的该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的无线连接。In a fifth aspect, a communication method is provided, the method is applied to a first non-public network, and the method includes: a first device in the first non-public network sends an N1 message to a control plane network element in a public network, the The N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface; the first device receives a response message of the N1 message from the control plane network element, and the response message of the N1 message includes a response message of the N2 message , the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
基于上述技术方案,能够建立非公共网络与公共网络之间的N2无线接口的连接,进而使得非公共网络与公共网络之间能够通过无线接口通信,后续不同非公共网络中的终端设备进行跨域数据信息传输时,也能够具备普适性强、更灵活、更安全且低成本的特点。Based on the above technical solution, the N2 wireless interface connection between the non-public network and the public network can be established, so that the non-public network and the public network can communicate through the wireless interface, and subsequent terminal devices in different non-public networks perform cross-domain When data information is transmitted, it can also have the characteristics of strong universality, more flexibility, safety and low cost.
结合第五方面,在第五方面的某些实现方式中,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。With reference to the fifth aspect, in some implementation manners of the fifth aspect, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
第六方面,提供了一种通信装置,该装置应用于公共网络,该装置包括:收发单元和处理单元,该收发单元,用于接收来自第一非公共网络中的第一设备的数据信息,该公共网络和该第一非公共网络之间通过无线接口通信;该处理单元,用于确定第一路由规则,其中,该第一路由规则用于指示第二非公共网络中的第二设备的子地址段与该第二设备对应的隧道之间的关系;该收发单元,还用于根据该第一路由规则,向该第二设备发送该数据信息,该公共网络和该第二非公共网络之间通过无线接口通信。According to a sixth aspect, a communication device is provided, the device is applied to a public network, and the device includes: a transceiver unit and a processing unit, the transceiver unit is configured to receive data information from a first device in a first non-public network, The public network and the first non-public network communicate through a wireless interface; the processing unit is configured to determine a first routing rule, wherein the first routing rule is used to indicate the second device in the second non-public network The relationship between the sub-address segment and the tunnel corresponding to the second device; the transceiver unit is also used to send the data information to the second device according to the first routing rule, the public network and the second non-public network communicate through the wireless interface.
结合第六方面,在第六方面的某些实现方式中,该收发单元,用于接收来自该公共网络中的控制面网元的该第一路由规则。With reference to the sixth aspect, in some implementation manners of the sixth aspect, the transceiving unit is configured to receive the first routing rule from a control plane network element in the public network.
结合第六方面,在第六方面的某些实现方式中,该收发单元,用于根据该数据信息的地址和该第一路由规则,向该第二设备发送该数据信息。With reference to the sixth aspect, in some implementation manners of the sixth aspect, the transceiving unit is configured to send the data information to the second device according to the address of the data information and the first routing rule.
结合第六方面,在第六方面的某些实现方式中,该收发单元,用于在确定该第一设备属于设备组成员的情况下,向该第二设备发送该数据信息。With reference to the sixth aspect, in some implementation manners of the sixth aspect, the transceiving unit is configured to send the data information to the second device when it is determined that the first device belongs to a device group member.
结合第六方面,在第六方面的某些实现方式中,该处理单元,用于根据该第一设备的属性,确定该第一设备是该设备组成员。With reference to the sixth aspect, in some implementation manners of the sixth aspect, the processing unit is configured to determine that the first device is a member of the device group according to the attribute of the first device.
结合第六方面,在第六方面的某些实现方式中,该属性包括以下一项或多项:该第一设备的子地址段、DNN、会话类型、S-NSSAI。With reference to the sixth aspect, in some implementation manners of the sixth aspect, the attribute includes one or more of the following: the subaddress segment of the first device, DNN, session type, and S-NSSAI.
第七方面,提供了一种通信装置,该装置应用于公共网络,该装置包括:收发单元和处理单元,该处理单元,用于确定目标路由规则,该目标路由规则包括第一路由规则和/或第二路由规则,该第一路由规则用于指示第二非公共网络中的第二设备的子地址段与该第二设备对应的隧道之间的关系,该第二路由规则用于指示该第二设备的子地址段与该公共网络中的用户面网元对应的隧道之间的关系,其中,该公共网络和该第二非公共网络之间通过无线接口通信;该收发单元,用于发送该目标路由规则。In a seventh aspect, a communication device is provided, which is applied to a public network, and the device includes: a transceiver unit and a processing unit, the processing unit is configured to determine a target routing rule, and the target routing rule includes a first routing rule and/or or a second routing rule, the first routing rule is used to indicate the relationship between the sub-address segment of the second device in the second non-public network and the tunnel corresponding to the second device, the second routing rule is used to indicate the The relationship between the sub-address segment of the second device and the tunnel corresponding to the user plane network element in the public network, wherein the communication between the public network and the second non-public network is through a wireless interface; the transceiver unit is used for Send the destination routing rule.
结合第七方面,在第七方面的某些实现方式中,该收发单元,用于向该用户面网元发送该第一路由规则;和/或,该收发单元,还用于向第一非公共网络中的第一设备发送该第二路由规则,其中,该公共网络和该第一非公共网络之间通过无线接口通信。With reference to the seventh aspect, in some implementation manners of the seventh aspect, the transceiving unit is configured to send the first routing rule to the user plane network element; and/or, the transceiving unit is also configured to send the first routing rule to the first non- The first device in the public network sends the second routing rule, where the public network communicates with the first non-public network through a wireless interface.
结合第七方面,在第七方面的某些实现方式中,该处理单元,用于根据多个设备的标识与该多个设备的地址段之间的关系,确定该目标路由规则,其中,该多个设备包括该第一设备和该第二设备。With reference to the seventh aspect, in some implementation manners of the seventh aspect, the processing unit is configured to determine the target routing rule according to the relationship between identifiers of multiple devices and address segments of the multiple devices, where the A plurality of devices includes the first device and the second device.
结合第七方面,在第七方面的某些实现方式中,该处理单元,用于确定目标路由规则之前,该装置还包括:该收发单元,用于接收来自多个设备的N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接,该多个设备包括第一设备和该第二设备;该收发单元,还用于向该多个设备发送该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的无线连接。With reference to the seventh aspect, in some implementation manners of the seventh aspect, before the processing unit is configured to determine the target routing rule, the apparatus further includes: the transceiver unit, configured to receive N1 messages from multiple devices, the N1 The message includes an N2 message, and the N2 message is used to establish a wireless connection of the N2 interface, and the multiple devices include the first device and the second device; the transceiver unit is also used to send a response message to the N1 message to the multiple devices , the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
结合第七方面,在第七方面的某些实现方式中,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。With reference to the seventh aspect, in some implementation manners of the seventh aspect, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
第八方面,提供了一种通信装置,该装置应用于第一非公共网络,该装置包括:收发单元和处理单元,该处理单元,用于确定向第二非公共网络中的第二设备发送数据信息;该收发单元,用于向公共网络中的用户面网元发送该数据信息;其中,该第一非公共网络和该公共网络之间通过无线接口通信,该公共网络和该第二非公共网络之间通过无线接口通信。In an eighth aspect, a communication device is provided, which is applied to a first non-public network, and the device includes: a transceiver unit and a processing unit, where the processing unit is configured to determine to send a message to a second device in a second non-public network Data information; the transceiver unit is configured to send the data information to the user plane network element in the public network; wherein, the first non-public network communicates with the public network through a wireless interface, and the public network and the second non-public network The public network communicates through the wireless interface.
结合第八方面,在第八方面的某些实现方式中,该收发单元,用于根据第二路由规则,向该用户面网元发送该数据信息,其中,该第二路由规则用于指示该第二设备的子地址段与该公共网络中的用户面网元对应的隧道之间的关系。With reference to the eighth aspect, in some implementation manners of the eighth aspect, the transceiver unit is configured to send the data information to the user plane network element according to a second routing rule, where the second routing rule is used to indicate that the The relationship between the sub-address segment of the second device and the tunnel corresponding to the user plane network element in the public network.
结合第八方面,在第八方面的某些实现方式中,该收发单元,用于接收来自该公共网络中的控制面网元的该第二路由规则。With reference to the eighth aspect, in some implementation manners of the eighth aspect, the transceiving unit is configured to receive the second routing rule from the control plane network element in the public network.
结合第八方面,在第八方面的某些实现方式中,该收发单元,用于根据该数据信息的地址和该第二路由规则,向该用户面网元发送该数据信息。With reference to the eighth aspect, in some implementation manners of the eighth aspect, the transceiving unit is configured to send the data information to the user plane network element according to the address of the data information and the second routing rule.
结合第八方面,在第八方面的某些实现方式中,该收发单元,用于向公共网络中的用户面网元发送该数据信息之前,该装置还包括:该收发单元,还用于向该公共网络中的控制面网元发送N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接;该收发单元,还用于接收来自该控制面网元的该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的连接。With reference to the eighth aspect, in some implementation manners of the eighth aspect, before the transceiver unit is configured to send the data information to the user plane network element in the public network, the device further includes: the transceiver unit is also configured to send The control plane network element in the public network sends an N1 message, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface; the transceiver unit is also used to receive the N1 message from the control plane network element The response message of the N1 message includes the response message of the N2 message, and the response message of the N2 message is used to indicate that the connection of the N2 interface is successfully established.
结合第八方面,在第八方面的某些实现方式中,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。With reference to the eighth aspect, in some implementation manners of the eighth aspect, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
第九方面,提供了一种通信装置,该装置应用于公共网络,该装置包括:收发单元和处理单元,该收发单元,用于接收来自多个设备的N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接,该多个设备包括第一非公共网络中的第一设备和第二非公共网络中的第二设备;该处理单元,用于处理该N1消息,生成该N1消息的响应消息;该收发单元,还用于向该多个设备发送该N1消息的响应消息,该N1消息的响应 消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的无线连接。In a ninth aspect, a communication device is provided, which is applied to a public network, and the device includes: a transceiver unit and a processing unit, the transceiver unit is configured to receive N1 messages from multiple devices, the N1 messages include N2 messages, The N2 message is used to establish a wireless connection of the N2 interface, and the multiple devices include a first device in the first non-public network and a second device in the second non-public network; the processing unit is configured to process the N1 message, Generate a response message to the N1 message; the transceiver unit is further configured to send a response message to the N1 message to the plurality of devices, the response message to the N1 message includes a response message to the N2 message, and the response message to the N2 message is used for Indicates that the wireless connection of the N2 interface is successfully established.
结合第九方面,在第九方面的某些实现方式中,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。With reference to the ninth aspect, in some implementation manners of the ninth aspect, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
第十方面,提供了一种通信装置,该装置应用于第一非公共网络,该装置包括:收发单元和处理单元,该处理单元,用于生成N1消息;该收发单元,用于向公共网络中的控制面网元发送该N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接;该收发单元,还用于接收来自该控制面网元的该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的无线连接;该处理单元,还用于处理该N1消息的响应消息。In a tenth aspect, a communication device is provided, the device is applied to a first non-public network, and the device includes: a transceiver unit and a processing unit, the processing unit is used to generate an N1 message; the transceiver unit is used to send a message to the public network The control plane network element in the network sends the N1 message, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface; the transceiver unit is also used to receive a response to the N1 message from the control plane network element message, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established; the processing unit is also used to process the response message of the N1 message.
结合第十方面,在第十方面的某些实现方式中,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。With reference to the tenth aspect, in some implementation manners of the tenth aspect, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
第十一方面,提供一种通信装置,该装置包括:至少一个处理器,用于执行存储器存储的计算机程序或指令,以执行上述第一方面至第六方面任一种可能实现方式中的方法。可选地,该装置还包括存储器,用于存储的计算机程序或指令。可选地,该装置还包括通信接口,处理器通过通信接口读取存储器存储的计算机程序或指令。In an eleventh aspect, a communication device is provided, and the device includes: at least one processor, configured to execute a computer program or instruction stored in a memory, so as to perform the method in any possible implementation manner of the first aspect to the sixth aspect above . Optionally, the apparatus further includes a memory for storing computer programs or instructions. Optionally, the device further includes a communication interface, through which the processor reads the computer program or instructions stored in the memory.
在一种实现方式中,该装置为核心网网元。In an implementation manner, the device is a core network element.
在另一种实现方式中,该装置为用于核心网网元的芯片、芯片系统或电路。In another implementation manner, the device is a chip, a chip system or a circuit for a core network element.
第十二方面,本申请提供一种处理器,用于执行上述各方面提供的方法。In a twelfth aspect, the present application provides a processor configured to execute the method provided in the foregoing aspects.
对于处理器所涉及的发送和获取/接收等操作,如果没有特殊说明,或者,如果未与其在相关描述中的实际作用或者内在逻辑相抵触,则可以理解为处理器输出和接收、输入等操作,也可以理解为由射频电路和天线所进行的发送和接收操作,本申请对此不做限定。For the sending and obtaining/receiving operations involved in the processor, if there is no special description, or if it does not conflict with its actual function or internal logic in the relevant description, it can be understood as the processor's output and reception, input and other operations , can also be understood as the sending and receiving operations performed by the radio frequency circuit and the antenna, which is not limited in this application.
第十三方面,提供一种计算机可读存储介质,该计算机可读介质存储用于设备执行的程序代码,该程序代码包括用于执行上述第一方面至第六方面任一种可能实现方式中的方法。In a thirteenth aspect, a computer-readable storage medium is provided, the computer-readable medium stores program code for execution by a device, and the program code includes any one of the possible implementation manners for executing the first aspect to the sixth aspect above Methods.
第十四方面,提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述第一方面至第六方面任一种可能实现方式中的方法。In a fourteenth aspect, a computer program product including instructions is provided, and when the computer program product is run on a computer, the computer executes the method in any possible implementation manner of the first aspect to the sixth aspect above.
附图说明Description of drawings
图1是应用于本申请实施例的一网络架构示意图。FIG. 1 is a schematic diagram of a network architecture applied to an embodiment of the present application.
图2是应用于本申请实施例的又一网络架构示意图。Fig. 2 is a schematic diagram of another network architecture applied to the embodiment of the present application.
图3是应用于本申请实施例的又一网络架构示意图。Fig. 3 is a schematic diagram of another network architecture applied to the embodiment of the present application.
图4是根据本申请一实施例提供的通信方法的示意场景图。Fig. 4 is a schematic scene diagram of a communication method provided according to an embodiment of the present application.
图5是根据本申请另一实施例提供的通信方法的示意场景图。Fig. 5 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
图6是根据本申请另一实施例提供的通信方法的示意场景图。Fig. 6 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
图7是根据本申请另一实施例提供的通信方法的示意场景图。Fig. 7 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
图8是根据本申请另一实施例提供的通信方法的示意场景图。Fig. 8 is a schematic scene diagram of a communication method provided according to another embodiment of the present application.
图9是根据本申请实施例提供的通信方法的示意架构图。Fig. 9 is a schematic architecture diagram of a communication method provided according to an embodiment of the present application.
图10是根据本申请实施例提供的通信方法的示意图。Fig. 10 is a schematic diagram of a communication method provided according to an embodiment of the present application.
图11是根据本申请一实施例提供的通信方法的示意性流程图。Fig. 11 is a schematic flowchart of a communication method provided according to an embodiment of the present application.
图12是根据本申请另一实施例提供的通信方法的示意性流程图。Fig. 12 is a schematic flowchart of a communication method provided according to another embodiment of the present application.
图13是根据本申请另一实施例提供的通信方法的示意性流程图。Fig. 13 is a schematic flowchart of a communication method provided according to another embodiment of the present application.
图14是根据本申请另一实施例提供的通信方法的示意性流程图。Fig. 14 is a schematic flowchart of a communication method provided according to another embodiment of the present application.
图15是本申请实施例提供的一种通信装置的示意性框图。Fig. 15 is a schematic block diagram of a communication device provided by an embodiment of the present application.
图16是本申请实施例提供的另一种通信装置的示意性框图。Fig. 16 is a schematic block diagram of another communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below with reference to the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如:第五代(5th generation,5G)或新无线(new radio,NR)系统、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)系统等。本申请提供的技术方案还可以应用于未来的通信系统,如第六代移动通信系统。本申请提供的技术方案还可以应用于设备到设备(device to device,D2D)通信,车到万物(vehicle-to-everything,V2X)通信,机器到机器(machine to machine,M2M)通信,机器类型通信(machine type communication,MTC),以及物联网(internet of things,IoT)通信系统或者其他通信系统。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: fifth generation (5th generation, 5G) or new radio (new radio, NR) system, long term evolution (long term evolution, LTE) system, LTE frequency Division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD) system, etc. The technical solution provided by this application can also be applied to future communication systems, such as the sixth generation mobile communication system. The technical solution provided by this application can also be applied to device to device (device to device, D2D) communication, vehicle to everything (vehicle-to-everything, V2X) communication, machine to machine (machine to machine, M2M) communication, machine type Communication (machine type communication, MTC), and Internet of things (internet of things, IoT) communication system or other communication systems.
首先结合图1简单介绍适用于本申请实施例的网络架构,如下。Firstly, the network architecture applicable to the embodiment of the present application is briefly introduced in conjunction with FIG. 1 , as follows.
如图1所示,该网络架构以5G系统(the 5th generation system,5GS)为例。该网络架构可以包括但不限于:接入和移动性管理功能(access and mobility management function,AMF)、统一数据管理(unified data management,UDM)、无线接入网(radio access network,RAN)、策略控制功能(policy control function,PCF)、用户设备(user equipment,UE)、用户面功能(user plane function,UPF)、数据网络(data network,DN)、鉴权服务功能(authentication server function,AUSF)、网络切片选择功能(network slice selection function,NSSF)、应用功能(application function,AF)、会话管理功能(session management function,SMF)等等。As shown in Figure 1, the network architecture takes the 5G system (the 5th generation system, 5GS) as an example. The network architecture may include but not limited to: access and mobility management function (access and mobility management function, AMF), unified data management (unified data management, UDM), radio access network (radio access network, RAN), policy Control function (policy control function, PCF), user equipment (user equipment, UE), user plane function (user plane function, UPF), data network (data network, DN), authentication service function (authentication server function, AUSF) , network slice selection function (network slice selection function, NSSF), application function (application function, AF), session management function (session management function, SMF) and so on.
图1所示的各网元(或者设备)的主要功能描述如下:The main functions of each network element (or device) shown in Figure 1 are described as follows:
1、UE:可以称终端设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。1. UE: can be called terminal equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.
终端设备可以是一种向用户提供语音/数据的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的 其它处理设备、可穿戴设备,5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。A terminal device may be a device that provides voice/data to a user, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and the like. At present, examples of some terminals are: mobile phone (mobile phone), tablet computer, notebook computer, palmtop computer, mobile internet device (mobile internet device, MID), wearable device, virtual reality (virtual reality, VR) device, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, smart grid Wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocol , SIP) phones, wireless local loop (wireless local loop, WLL) stations, personal digital assistants (personal digital assistant, PDA), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, Wearable devices, terminal devices in a 5G network, or terminal devices in a future evolving public land mobile network (PLMN), etc., are not limited in this embodiment of the present application.
作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example but not a limitation, in this embodiment of the present application, the terminal device may also be a wearable device. Wearable devices can also be called wearable smart devices, which is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not only a hardware device, but also achieve powerful functions through software support, data interaction, and cloud interaction. Generalized wearable smart devices include full-featured, large-sized, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, etc., and only focus on a certain type of application functions, and need to cooperate with other devices such as smart phones Use, such as various smart bracelets and smart jewelry for physical sign monitoring.
此外,在本申请实施例中,终端设备还可以是IoT系统中的终端设备,IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。In addition, in this embodiment of the application, the terminal device can also be the terminal device in the IoT system. IoT is an important part of the development of information technology in the future. Its main technical feature is to connect items to the network through communication technology, so as to realize Interconnection, an intelligent network that interconnects things.
需要指出的是,终端设备与接入网设备之间可以采用某种空口技术(如NR或LTE技术等)相互通信。终端设备与终端设备之间也可以采用某种空口技术(如NR或LTE技术等)相互通信。It should be pointed out that a certain air interface technology (such as NR or LTE technology) may be used to communicate with each other between the terminal device and the access network device. A certain air interface technology (such as NR or LTE technology, etc.) may also be used to communicate with each other between terminal devices.
本申请实施例中,用于实现终端设备的功能的装置可以是终端设备,也可以是能够支持终端设备实现该功能的装置,例如芯片系统或芯片,该装置可以被安装在终端设备中。本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。In the embodiment of the present application, the device for realizing the function of the terminal device may be the terminal device, or may be a device capable of supporting the terminal device to realize the function, such as a chip system or a chip, and the device may be installed in the terminal device. In the embodiment of the present application, the system-on-a-chip may be composed of chips, or may include chips and other discrete devices.
2、RAN:可以为特定区域的授权用户提供接入通信网络的功能,具体可以包括第三代合作伙伴计划(3rd generation partnership project,3GPP)网络中无线网络设备也可以包括非3GPP(non-3GPP)网络中的接入点。下文为方便描述采用RAN设备表示。2. RAN: It can provide authorized users in a specific area with the function of accessing the communication network. Specifically, it can include wireless network equipment in the 3rd generation partnership project (3rd generation partnership project, 3GPP) network, and can also include non-3GPP (non-3GPP ) access point in the network. For the convenience of description, the RAN device is used below.
RAN设备可以为采用不同的无线接入技术。目前的无线接入技术有两种类型:3GPP接入技术(例如,第三代(3rd generation,3G)、第四代(4th generation,4G)或5G系统中采用的无线接入技术)和非3GPP(non-3GPP)接入技术。3GPP接入技术是指符合3GPP标准规范的接入技术,例如,5G系统中的接入网设备称为下一代基站节点(next generation Node Base station,gNB)或者RAN设备。非3GPP接入技术可以包括以无线保真(wireless fidelity,WiFi)中的接入点(access point,AP)为代表的空口技术、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)、码分多址(code division multiple access,CDMA)等。RAN设备可以允许终端设备和3GPP核心网之间采用非3GPP技术互连互通。RAN equipment may adopt different radio access technologies. There are currently two types of wireless access technologies: 3GPP access technologies (for example, wireless access technologies used in third generation (3rd generation, 3G), fourth generation (4th generation, 4G) or 5G systems) and non- 3GPP (non-3GPP) access technology. The 3GPP access technology refers to the access technology that complies with the 3GPP standard specifications. For example, the access network equipment in the 5G system is called the next generation Node Base station (gNB) or RAN equipment. Non-3GPP access technologies may include air interface technology represented by access point (AP) in wireless fidelity (WiFi), worldwide interoperability for microwave access (WiMAX), code Multiple access (code division multiple access, CDMA), etc. The RAN device may allow non-3GPP technology interconnection and intercommunication between the terminal device and the 3GPP core network.
RAN设备能够负责空口侧的无线资源管理、服务质量(quality of service,QoS)管理、数据压缩和加密等功能。RAN设备为终端设备提供接入服务,进而完成控制信号和用户数据在终端设备和核心网之间的转发。The RAN device can be responsible for functions such as radio resource management, quality of service (QoS) management, data compression and encryption on the air interface side. The RAN equipment provides access services for the terminal equipment, and then completes the forwarding of control signals and user data between the terminal equipment and the core network.
RAN设备例如可以包括但不限于:宏基站、微基站(也称为小站)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),WiFi系统中的AP、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收 点(transmission and reception point,TRP)等,还可以为5G(如,NR)系统中的gNB或传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如分布式单元(distributed unit,DU),或者下一代通信6G系统中的基站等。本申请实施例对RAN设备所采用的具体技术和具体设备形态不做限定。For example, RAN equipment may include but not limited to: macro base station, micro base station (also called small station), radio network controller (radio network controller, RNC), node B (Node B, NB), base station controller (base station controller) , BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (baseband unit, BBU), AP in WiFi system, wireless relay Node, wireless backhaul node, transmission point (transmission point, TP) or transmission and reception point (transmission and reception point, TRP), etc., can also be gNB or transmission point (TRP or TP) in the 5G (eg, NR) system , one or a group (including multiple antenna panels) antenna panels of a base station in a 5G system, or it can also be a network node that constitutes a gNB or a transmission point, such as a distributed unit (DU), or a next-generation communication Base stations in 6G systems, etc. The embodiment of the present application does not limit the specific technology and specific equipment form adopted by the RAN equipment.
3、AMF:主要用于接入控制、移动性管理、附着与去附着等功能。3. AMF: mainly used for functions such as access control, mobility management, attachment and detachment.
4、SMF:主要用于用户面网元选择,用户面网元重定向,终端设备的因特网协议(internet protocol,IP)地址分配,以及会话的建立、修改和释放及QoS控制。4. SMF: mainly used for user plane network element selection, user plane network element redirection, Internet protocol (internet protocol, IP) address allocation for terminal equipment, session establishment, modification and release, and QoS control.
5、UPF:主要用于用户面数据的接收和转发。例如,UPF可以从DN接收用户面数据,并通过AN设备将用户面数据发送给终端设备。UPF还可以通过AN设备从终端设备接收用户面数据,并转发到DN。5. UPF: mainly used for receiving and forwarding user plane data. For example, the UPF can receive user plane data from the DN, and send the user plane data to the terminal device through the AN device. UPF can also receive user plane data from terminal equipment through AN equipment and forward it to DN.
6、PCF:主要用于指导网络行为的统一策略框架,为控制面网元(例如AMF,SMF等)提供策略规则信息等。6. PCF: A unified policy framework mainly used to guide network behavior, and provide policy rule information for control plane network elements (such as AMF, SMF, etc.).
7、AF:主要用于向3GPP网络提供业务,如与PCF之间交互以进行策略控制等。AF可以是第三方功能实体,也可以是运营商部署的应用服务,如IP多媒体子系统(IP multimedia subsystem,IMS)语音呼叫业务。在本申请中,多接入边缘计算(multi-access edge computing,MEC)平台或应用服务器可以作为AF与5G核心网进行通信。7. AF: It is mainly used to provide services to the 3GPP network, such as interacting with the PCF for policy control. The AF may be a third-party functional entity, or an application service deployed by an operator, such as an IP multimedia subsystem (IP multimedia subsystem, IMS) voice call service. In this application, a multi-access edge computing (MEC) platform or an application server can serve as an AF to communicate with the 5G core network.
8、UDM:主要用于UE的签约数据管理,包括UE标识的存储和管理,UE的接入授权等。8. UDM: mainly used for UE subscription data management, including storage and management of UE ID, UE access authorization, etc.
9、DN:主要用于为UE提供数据服务的运营商网络。例如,因特网(Internet)、第三方的业务网络、IP多媒体服务业务(IP multi-media service,IMS)网络等。9. DN: mainly used for the operator's network that provides data services for the UE. For example, the Internet (Internet), a third-party service network, an IP multimedia service (IP multi-media service, IMS) network, and the like.
10、AUSF:主要用于用户鉴权等。10. AUSF: mainly used for user authentication, etc.
11、NSSF:主要用于根据UE的切片选择辅助信息、签约信息等确定UE允许接入的网络切片实例。11. NSSF: It is mainly used to determine the network slice instance that the UE is allowed to access according to the slice selection auxiliary information and subscription information of the UE.
在图1所示的网络架构中,各网元之间可以通过图中所示的接口通信。如图1所示,UE和AMF之间可以通过N1接口进行通信。RAN和AMF之间可以通过N2接口进行通信。RAN和UPF之间可以通过N3接口进行通信。SMF和UPF之间可以通过N4接口进行通信。其他接口与各网元之间的关系如图1中所示,为了简洁,这里不一一详述。In the network architecture shown in FIG. 1 , network elements can communicate through the interfaces shown in the figure. As shown in Figure 1, the UE and the AMF can communicate through the N1 interface. The RAN and AMF can communicate through the N2 interface. Communication between RAN and UPF can be carried out through N3 interface. The SMF and UPF can communicate through the N4 interface. The relationship between other interfaces and each network element is shown in FIG. 1 , and for the sake of brevity, details are not described here one by one.
应理解,在本申请所描述的实施例中,可以假设UE与AF已经建立了应用层连接。例如,AF是视频服务器,UE与AF间建立的应用层连接用于UE向AF请求播放一个VR视频。UE与AF间的应用层的连接可以是通过UE在5G网络建立的PDU会话发送的,即UE使用了该PDU会话对应的IP地址与AF进行通信。在本申请实施例中,与5G核心网进行通信的网元与视频服务器是同一个网元,而在实际的部署中,也可以是不同的网元,本申请对此不做任何的限定。It should be understood that in the embodiments described in this application, it may be assumed that the UE and the AF have established an application layer connection. For example, the AF is a video server, and the application layer connection established between the UE and the AF is used for the UE to request the AF to play a VR video. The application layer connection between the UE and the AF can be sent through the PDU session established by the UE on the 5G network, that is, the UE uses the IP address corresponding to the PDU session to communicate with the AF. In the embodiment of this application, the network element communicating with the 5G core network and the video server are the same network element, but in actual deployment, they may also be different network elements, and this application does not make any limitation on this.
作为示例,图2示出了应用于本申请实施例的另一种网络架构示意图。As an example, FIG. 2 shows a schematic diagram of another network architecture applied to this embodiment of the present application.
如图2所示,该网络架构可以包括但不限于:UE、RAN、UPF、DN、AUSF、AMF、SMF、网络数据分析功能(network data analytics function,NWDAF)、NSSF、能力开放功能(network exposure function,NEF)、网络存储功能(network repository function,NRF)、PCF、UDM、AF等等。As shown in Figure 2, the network architecture may include but not limited to: UE, RAN, UPF, DN, AUSF, AMF, SMF, network data analysis function (network data analytics function, NWDAF), NSSF, capability exposure function (network exposure function, NEF), network storage function (network repository function, NRF), PCF, UDM, AF, etc.
其中,图2所示的NWDAF、NEF、NRF的主要功能描述如下:Among them, the main functions of NWDAF, NEF, and NRF shown in Figure 2 are described as follows:
NWDAF是一个数据感知分析网元,以网络数据为基础对网络进行自动感知和分析,并参与到网络规划、建设、运维、网优、运营全生命周期中,使得网络易于维护和控制,提高网络资源使用效率,提升用户业务体验。此外,NWDAF通过收集用户连接管理、移动性管理、会话管理、接入的业务等信息,利用可靠分析和预测模型,对不同类型用户进行评估和分析,构建用户画像,确定用户的移动轨迹和业务使用习惯,以及预测用户行为,并基于分析和预测数据,优化用户移动性管理参数和无线资源管理参数等。NWDAF is a data-aware analysis network element, which automatically perceives and analyzes the network based on network data, and participates in the whole life cycle of network planning, construction, operation and maintenance, network optimization, and operation, making the network easy to maintain and control, and improving Efficient use of network resources to improve user experience. In addition, NWDAF collects information such as user connection management, mobility management, session management, and access services, and uses reliable analysis and prediction models to evaluate and analyze different types of users, build user profiles, and determine user movement trajectories and services Use habits, predict user behavior, and optimize user mobility management parameters and radio resource management parameters based on analysis and prediction data.
NRF也可以称为网络存储设备、网络存储功能网元、网络存储功能实体):主要用于支持服务发现功能。从一个网元功能或服务通信代理(service communication proxy,SCP)收到网元发现请求,并且可以予以反馈该网元发现请求信息。同时,NRF还用于负责维护可用网络功能的信息以及它们各自支持的服务。也可以理解为网络存储设备。其中,发现流程是由需求网元功能(network function,NF)借助NRF实现特定NF或者特定服务寻址的过程,NRF提供相应NF实例或NF服务实例的IP地址或者全限定域名(fully qualified domain name,FQDN)或者统一资源标识符(unifiedresource identifier,URI)。此外,NRF还可以通过提供网络标识(例如PLMN ID)实现跨PLMN的发现流程。为了实现网元功能的寻址发现,各个网元都需要在NRF中进行登记,一些网元功能可在首次运行时在NRF中进行登记。网络存储功能设备可以是核心网设备。NRF can also be called a network storage device, a network storage function network element, or a network storage function entity): it is mainly used to support the service discovery function. A network element discovery request is received from a network element function or a service communication proxy (SCP), and the network element discovery request information may be fed back. At the same time, the NRF is also responsible for maintaining information about available network functions and the services they each support. It can also be understood as a network storage device. Among them, the discovery process is a process in which the required network element function (network function, NF) realizes the addressing process of a specific NF or a specific service with the help of NRF, and the NRF provides the IP address or fully qualified domain name (fully qualified domain name) of the corresponding NF instance or NF service instance , FQDN) or uniform resource identifier (unified resource identifier, URI). In addition, NRF can also realize the discovery process across PLMNs by providing network identification (such as PLMN ID). In order to realize the addressing and discovery of network element functions, each network element needs to be registered in the NRF, and some network element functions can be registered in the NRF when running for the first time. The network storage function device may be a core network device.
NEF也可以称为网络开放设备、网络开放功能实体、网络开放功能网元、网络能力开放功能实体、网络能力开放功能设备、网络能力开放功能网元、网络能力开放设备等):主要用于支持能力和事件的开放,如用于安全地向外部开放由3GPP网络功能提供的业务和能力等。NEF can also be called network opening equipment, network opening function entity, network opening function network element, network capability opening function entity, network capability opening function equipment, network capability opening function network element, network capability opening equipment, etc.): mainly used to support Opening of capabilities and events, such as for safely opening services and capabilities provided by 3GPP network functions to the outside.
关于图2中其他网元的描述,可以参考图1中的描述,此处不再赘述。For descriptions of other network elements in FIG. 2 , reference may be made to the description in FIG. 1 , and details are not repeated here.
图2中的部分网元之间的通信与图1相同,例如,UE通过N1接口与AMF通信,RAN通过N2接口与AMF通信,RAN通过N3接口与UPF通信,UPF通过N4接口与SMF通信,UPF通过N6接口与DN通信。此外,AMF、SMF、PCF、UDM、NSSF、AF、AUSF等控制面功能除了可以采用图1所示的接口进行交互外,也可以采用图2所示的服务化接口进行交互。例如,AMF对外提供的服务化接口可以为Namf。SMF对外提供的服务化接口可以为Nsmf。PCF对外提供的服务化接口可以为Npcf。UDM对外提供的服务化接口可以为Nudm。NSSF对外提供的服务化接口可以为Nnssf。AF对外提供的服务化接口可以为Naf。AUSF对外提供的服务化接口可以为Nausf。图2中的网元也可以采用服务化接口进行交互。例如,NEF对外提供的服务化接口可以为Nnef。NRF对外提供的服务化接口可以为Nnrf。NWDAF对外提供的服务化接口可以为Nnwdaf。The communication between some network elements in Figure 2 is the same as that in Figure 1. For example, the UE communicates with the AMF through the N1 interface, the RAN communicates with the AMF through the N2 interface, the RAN communicates with the UPF through the N3 interface, and the UPF communicates with the SMF through the N4 interface. The UPF communicates with the DN through the N6 interface. In addition, control plane functions such as AMF, SMF, PCF, UDM, NSSF, AF, and AUSF can interact not only through the interface shown in Figure 1, but also through the service interface shown in Figure 2. For example, the service interface provided by AMF may be Namf. The service interface provided by the SMF may be Nsmf. The service interface provided by the PCF may be Npcf. The service interface provided by UDM can be Nudm. The service interface provided by NSSF can be Nnssf. The service interface provided by AF can be Naf. The service interface provided by AUSF can be Nausf. The network elements in Fig. 2 can also use the service interface to interact. For example, the service interface provided by the NEF may be Nnef. The service interface provided by the NRF may be Nnrf. The service interface provided by NWDAF can be Nnwdaf.
作为示例,图3示出了应用于本申请实施例的又一网络架构示意图As an example, Figure 3 shows a schematic diagram of another network architecture applied to the embodiment of the present application
如图3所示,该网络架构以非3GPP系统为例。相对于可信的非3GPP接入网设备可以直接接入本地公用陆地移动网络(homepublic land mobile network,HPLMN),不可信的非3GPP接入网设备可以通过安全网关建立的安全隧道来与HPLMN互连互通,其中,安全网关可以是演进型分组数据网关(evolved packet data gateway,EPDG)或者非3GPP互通功能(non-3GPP interworking function,N3IWF)网元。UE可以通过3GPP接入网设备接入到本地公用陆地移动网络(homepublic land mobile network,HPLMN),也可以通过 不可信的非3GPP接入网设备以及安全网关建立的安全隧道接入到HPLMN,例如:UE可以通过N1接口建立与AMF之间的通信。As shown in FIG. 3 , the network architecture takes a non-3GPP system as an example. Compared with the trusted non-3GPP access network equipment can directly access the local public land mobile network (home public land mobile network, HPLMN), the untrusted non-3GPP access network equipment can communicate with the HPLMN through the security tunnel established by the security gateway. The security gateway may be an evolved packet data gateway (EPDG) or a non-3GPP interworking function (N3IWF) network element. The UE can access the local public land mobile network (home public land mobile network, HPLMN) through the 3GPP access network equipment, or access the HPLMN through the security tunnel established by the untrusted non-3GPP access network equipment and the security gateway, for example : The UE can establish communication with the AMF through the N1 interface.
图3中的部分网元之间的交互可以参考图1或图2,例如:AMF通过N11接口与SMF通信,SMF通过N4接口与UPF通信,UPF通过N6接口与DN通信。图3中的其它设备间的通信如下:3GPP接入网设备通过N3接口与UPF通信,通过N2接口与AMF通信。N3IWF通过N2接口与AMF通信,通过N3接口与UPF通信,通过Y2接口与不可信的非3GPP接入网设备通信,通过NWu与UE设备通信。UE通过Y1接口与不可信的非3GPP接入网设备通信。The interaction between some network elements in Figure 3 can refer to Figure 1 or Figure 2. For example, AMF communicates with SMF through N11 interface, SMF communicates with UPF through N4 interface, and UPF communicates with DN through N6 interface. Communication among other devices in Fig. 3 is as follows: 3GPP access network devices communicate with UPF through N3 interface, and communicate with AMF through N2 interface. N3IWF communicates with AMF through N2 interface, communicates with UPF through N3 interface, communicates with untrusted non-3GPP access network equipment through Y2 interface, and communicates with UE equipment through NWu. The UE communicates with untrusted non-3GPP access network equipment through the Y1 interface.
应理解,本申请并不限于图3所示的系统架构,可以应用本申请的通信方法的通信系统中可以包括更多或更少的设备或网元,例如,N3IWF除了与AMF、UPF、UE、不可信的非3GPP接入网设备进行交互外,也可以与其它设备或网元进行交互。图3中的设备或网元可以是硬件,也可以是从功能上划分的软件或者以上二者的结合。It should be understood that the present application is not limited to the system architecture shown in FIG. 3 , and the communication system to which the communication method of the present application can be applied may include more or less devices or network elements. In addition to interacting with untrusted non-3GPP access network equipment, it can also interact with other equipment or network elements. The devices or network elements in FIG. 3 may be hardware, or functionally divided software, or a combination of the above two.
还应理解,上述图1至图3所示的网络架构仅是示例性说明,适用本申请实施例的网络架构并不局限于此,任何能够实现上述各个网元的功能的网络架构都适用于本申请实施例。It should also be understood that the above-mentioned network architectures shown in FIGS. 1 to 3 are only illustrative, and the network architecture applicable to the embodiments of the present application is not limited thereto. Any network architecture capable of realizing the functions of the above-mentioned network elements is applicable to Example of this application.
还应理解,图1至图3中所示的各网元,如AMF、SMF、UPF、PCF、UDM、NSSF、AUSF等功能或者网元,可以理解为用于实现不同功能的网元,例如可以按需组合成网络切片。这些网元可以各自独立的设备,也可以集成于同一设备中实现不同的功能,或者可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能,本申请对于上述网元的具体形态不作限定。It should also be understood that the various network elements shown in Figures 1 to 3, such as AMF, SMF, UPF, PCF, UDM, NSSF, AUSF and other functions or network elements, can be understood as network elements for implementing different functions, for example Network slices can be combined on demand. These network elements can be independent devices, or can be integrated in the same device to achieve different functions, or can be network elements in hardware devices, or software functions running on dedicated hardware, or platforms (for example, cloud The virtualization function instantiated on the platform), this application does not limit the specific form of the above network elements.
还应理解,上述命名仅为便于区分不同的功能而定义,不应对本申请构成任何限定。本申请并不排除在6G网络以及未来其它的网络中采用其他命名的可能。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能采用其他名称等。It should also be understood that the above names are only defined for the convenience of distinguishing different functions, and shall not constitute any limitation to the present application. This application does not exclude the possibility of adopting other names in the 6G network and other networks in the future. For example, in a 6G network, some or all of the above network elements may use the terms in 5G, or may use other names.
为便于理解本申请实施例,对本申请中涉及到的术语做简单说明。To facilitate understanding of the embodiments of the present application, terms involved in the present application are briefly described.
第一,非公共网络(non-public network,NPN)。First, non-public network (non-public network, NPN).
NPN根据核心网是否独立,可以包括两种类型:独立非公共网络(standalone non-public network,SNPN)和公共网络集成的非公共网络(public network integrated non-public network,PNI-NPN)。NPN can include two types according to whether the core network is independent: independent non-public network (standalone non-public network, SNPN) and public network integrated non-public network (public network integrated non-public network, PNI-NPN).
SNPN:该网络不依赖于PLMN网络而存在,是由SNPN的运营商运营。SNPN: The network does not depend on the PLMN network and is operated by the operator of the SNPN.
PNI-NPN:该网络部分依赖于PLMN网络,是由传统运营商运营。此外,PNI-NPN可以进一步分为两种类型:(1)闭合接入组(closed access group,CAG),该种类型的非公共网络是公共网络PLMN网络的一部分,只是针对特定业务/用户提供服务;(2)切片,利用5G定义的切片特性使用专门的切片为特定业务/用户提供服务。PNI-NPN: The network partially depends on the PLMN network and is operated by traditional operators. In addition, PNI-NPN can be further divided into two types: (1) closed access group (closed access group, CAG), this type of non-public network is part of the public network PLMN network, only for specific services/users Services; (2) Slicing, utilizing the slicing characteristics defined by 5G to use dedicated slices to provide services for specific services/users.
第二,局域网(5G-local area network,LAN)。Second, local area network (5G-local area network, LAN).
LAN可以是在一个局部的地理范围内,将各种设备联接起来组成的通信网络,以允许用户相互通信和共享诸如打印机和存储设备之类的计算资源。在5G网络中,上述局部的地理范围可以是一个家庭,一所学校,一家公司,或者是一个政府部门,等等,各种设备可以是计算机、外部设备和数据库,等等,本申请对此不做限定。A LAN can be a communication network that connects various devices within a local geographic area to allow users to communicate with each other and share computing resources such as printers and storage devices. In a 5G network, the above-mentioned partial geographic range can be a family, a school, a company, or a government department, etc., and various devices can be computers, external devices, and databases, etc. No limit.
在LAN中,AF网元可以基于配置的各UE的属性进行分组,该属性包括但不限于: 会话类型、数据网络名称(data network name,DNN)和单个网络切片选择支撑信息(single-network slice selection assistance information,S-NSSAI)。PCF网元可以通过UCU流程对各属性中的部分参数进行更新。各个UE组使用通用公共用户标识(Generic Public Subscription Identifier,GPSI)作为唯一标识信息。In LAN, AF network elements can be grouped based on the configured attributes of each UE, which include but not limited to: session type, data network name (data network name, DNN) and single-network slice selection support information (single-network slice selection assistance information, S-NSSAI). The PCF network element can update some parameters in each attribute through the UCU process. Each UE group uses a Generic Public Subscription Identifier (Generic Public Subscription Identifier, GPSI) as unique identification information.
UPF网元可以提供各个UE组的本地路由信息,UPF网元提供本地路由信息的方式包括但不限于:(1)N6模式,即将数据信息传输到DN中;(2)N19模式,即数据信息直接在会话锚点(protocol data unit session anchor,PSA)之间进行转发,不需要经过DN;(3)局部切换(local switch)模式,即数据信息直接在单个PSA内转发,不需要经过DN。The UPF network element can provide local routing information of each UE group. The ways that UPF network elements provide local routing information include but are not limited to: (1) N6 mode, that is, to transmit data information to DN; (2) N19 mode, that is, data information Direct forwarding between session anchors (protocol data unit session anchor, PSA) without passing through DN; (3) local switch (local switch) mode, that is, data information is directly forwarded within a single PSA without passing through DN.
多个NPN可以在一个局域网内进行安全通信。在现有技术中,多个NPN在不同局域网之间进行业务数据的传输时,可以通过有线专网通道或者第三方服务器这两种形式。作为示例,图4是根据本申请一实施例提供的通信方法的示意场景图。Multiple NPNs can communicate securely within a LAN. In the prior art, when multiple NPNs transmit service data between different local area networks, they can use wired private network channels or third-party servers. As an example, FIG. 4 is a schematic scene diagram of a communication method provided according to an embodiment of the present application.
如图4所示,第一非公共网络包括:终端设备(如UE1、UE2、UE3),第一设备,以及DN1,第二非公共网络包括终端设备(如UE4、UE5、UE6),第二设备,以及DN2,第一非公共网络与第二非公共网络之间通过有线专网通道和/或第三方服务器进行数据传输。其中,第一设备或者第二设备可以是包括一个或多个网元的设备,例如,第一设备或者第二设备包括RAN和UPF,RAN和UPF将来自终端设备的业务数据发送给DN,进而完成非公共网络内部的业务数据传输。As shown in Figure 4, the first non-public network includes: terminal devices (such as UE1, UE2, UE3), the first device, and DN1, the second non-public network includes terminal devices (such as UE4, UE5, UE6), the second The device, and DN2, perform data transmission between the first non-public network and the second non-public network through a wired dedicated network channel and/or a third-party server. Wherein, the first device or the second device may be a device including one or more network elements, for example, the first device or the second device includes RAN and UPF, and the RAN and UPF send the service data from the terminal device to the DN, and then Complete business data transmission within the non-public network.
举例来说,当第一非公共网络向第二非公共网络发送业务数据时,第一非公共网络的DN1将业务数据通过有线专网通道和/或第三方服务器发送给第二非公共网络的DN2,从而完成第一非公共网络与第二非公共网络的数据传输。DN2将接收到的业务数据发送给第二设备,第二设备将接收到的业务数据发送给第二非公共网络中的终端设备(如UE4、UE5、UE6),从而第二非公共网络中的终端设备可以对来自第一非公共网络的跨域业务数据进行处理。For example, when the first non-public network sends service data to the second non-public network, the DN1 of the first non-public network sends the service data to the DN2, so as to complete the data transmission between the first non-public network and the second non-public network. DN2 sends the received service data to the second device, and the second device sends the received service data to terminal devices (such as UE4, UE5, UE6) in the second non-public network, so that the The terminal device can process the cross-domain service data from the first non-public network.
有线专网通道是通过有线的方式将来自不同局域网的非公共网络相连通,这种方式普适性弱、灵活性差并且成本高。第三方服务器,例如公有云,可以间接实现不同局域网内UE设备之间的数据传输,但这种方式安全性差。The wired private network channel is to connect non-public networks from different local area networks through wired methods. This method has weak universality, poor flexibility and high cost. A third-party server, such as a public cloud, can indirectly implement data transmission between UE devices in different local area networks, but this method has poor security.
鉴于上述技术问题,本申请提供了一种通信方法,通过该方法,本申请能够使得不同局域网中终端设备的数据传输在保证数据信息安全的情况下,同时具备普适性强、灵活性优且成本低的特点。In view of the above technical problems, the present application provides a communication method. Through this method, the present application can enable the data transmission of terminal devices in different local area networks to ensure the security of data information, and at the same time have strong universality, excellent flexibility and The characteristics of low cost.
下面结合图5至图9介绍根据本申请实施例提供的通信系统的示意图。The following introduces schematic diagrams of a communication system provided according to an embodiment of the present application with reference to FIG. 5 to FIG. 9 .
在本申请实施例中,公共网络可以对非公共网络中的设备进行建组,如记为LAN组,LAN组成员之间可以通过公共网络建立的隧道进行无线通信,进而实现不同非公共网络中终端设备的数据传输。In this embodiment of the application, the public network can establish a group of devices in the non-public network, such as being recorded as a LAN group, and the members of the LAN group can communicate wirelessly through the tunnel established by the public network, thereby realizing Data transmission from end devices.
示例性地,对于LAN组的划分可以根据非公共网络中各设备的属性。例如,公共网络可以根据DNN、会话类型、S-NSSAI对LAN组进行划分。再例如,公共网络可以根据各设备的地址段对LAN组进行划分。本申请实施例对此并不限定。Exemplarily, the division of LAN groups may be based on the attributes of each device in the non-public network. For example, the public network can divide LAN groups according to DNN, session type, and S-NSSAI. For another example, the public network may divide LAN groups according to the address segments of each device. The embodiment of the present application does not limit this.
应理解,一个LAN组对应一个地址段,也就是说,在同一个LAN组中,各设备的地址段是相同的,例如,一个LAN组所对应的地址段为192.168.0.0/16,则属于该LAN组内的所有设备的地址段均为192.168.0.0/16。It should be understood that one LAN group corresponds to one address segment, that is, in the same LAN group, the address segments of each device are the same, for example, if the address segment corresponding to a LAN group is 192.168.0.0/16, it belongs to The address segment of all devices in this LAN group is 192.168.0.0/16.
图5是根据本申请另一实施例提供的通信方法的示意场景图。如图5所示,以三个非公共网络为例,如记为第一非公共网络、第二非公共网络、第三非公共网络。为区分,第一非公共网络中的设备记为第一设备、DN1、UE1,第一设备的覆盖范围包括覆盖区域1;第二非公共网络中的设备记为第二设备、DN2、UE2,第二设备的覆盖范围包括覆盖区域2;第三非公共网络中的设备记为第三设备、DN3、UE3,第三设备的覆盖范围包括覆盖区域3。Fig. 5 is a schematic scene diagram of a communication method provided according to another embodiment of the present application. As shown in FIG. 5 , three non-public networks are taken as an example, which are recorded as a first non-public network, a second non-public network, and a third non-public network. To distinguish, the devices in the first non-public network are marked as the first device, DN1, UE1, and the coverage of the first device includes coverage area 1; the devices in the second non-public network are marked as the second device, DN2, UE2, The coverage of the second device includes the coverage area 2; the devices in the third non-public network are denoted as the third device, DN3, UE3, and the coverage of the third device includes the coverage area 3.
其中,各非公共网络中的设备(如第一设备,又如第二设备,又如第三设备)可以是包括物理功能模块的设备,也可以是包括逻辑功能模块的设备。Wherein, the devices (such as the first device, the second device, and the third device) in each non-public network may be devices including physical function modules, or devices including logical function modules.
示例性地,RAN、UPF、客户前置设备(customer premise equipment,CPE)等网元可以作为物理功能模块/逻辑功能模块部署于各非公共网络中的设备中。Exemplarily, network elements such as RAN, UPF, and customer premise equipment (customer premise equipment, CPE) can be deployed as physical function modules/logic function modules in devices in each non-public network.
例如,CPE1、RAN1、UPF1等网元可以作为物理功能模块部署在第一设备中,此时CPE1和RAN1之间通过Nx接口通信,CPE1和UPF1之间通过Ny接口通信,RAN1和UPF1之间通过N3*接口通信。再例如,CPE1、RAN1、UPF1等网元可以作为逻辑功能模块部署在第一设备中,此时CPE1和RAN1之间通过内部接口Nx通信,CPE1和UPF1之间通过内部接口Ny通信,RAN1和UPF1之间通过内部接口N3*通信。CPE2、RAN2、UPF2等网元也可以作为物理功能模块/逻辑功能模块部署在第二设备中,CPE3、RAN3、UPF3等网元也可以作为物理功能模块/逻辑功能模块部署在第三设备中,第二设备与第三设备各网元间的接口通信类似第一设备,在此不再赘述。For example, network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as physical functional modules. At this time, CPE1 and RAN1 communicate through the Nx interface, CPE1 and UPF1 communicate through the Ny interface, and RAN1 and UPF1 communicate through the Ny interface. N3* interface communication. For another example, network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as logic function modules. At this time, CPE1 and RAN1 communicate through the internal interface Nx, and CPE1 and UPF1 communicate through the internal interface Ny. RAN1 and UPF1 Communicate between them through the internal interface N3*. Network elements such as CPE2, RAN2, and UPF2 can also be deployed in the second device as physical function modules/logical function modules, and network elements such as CPE3, RAN3, and UPF3 can also be deployed in the third device as physical function modules/logical function modules. The interface communication between the network elements of the second device and the third device is similar to that of the first device, and will not be repeated here.
应理解,本申请实施例中Nx接口、Ny接口、N3*接口的命名仅为便于区分不同的接口而定义,不应对本申请构成任何限定。本申请并不排除采用其他命名的可能。It should be understood that the naming of the Nx interface, the Ny interface, and the N3* interface in the embodiment of the present application is only defined for the convenience of distinguishing different interfaces, and shall not constitute any limitation to the present application. This application does not exclude the possibility of adopting other names.
如图5所示,第一设备、第二设备以及第三设备两两为一组,在一个LAN组内公共网络分别建立每个设备与公共网络之间的隧道,此时每个设备对应两个公共网络的隧道。下面结合几种可能的情形,介绍一个LAN组内的设备之间通过公共网络的隧道进行无线通信的方式。As shown in Figure 5, the first device, the second device, and the third device form a group of two, and the public network in a LAN group establishes a tunnel between each device and the public network. At this time, each device corresponds to two public network tunnel. Combining with several possible situations, the following describes the manner in which devices in a LAN group perform wireless communication through a public network tunnel.
作为第一种可能的情形,当UE1与UE2进行跨域数据信息传输时,UE1可以向RAN1发送跨域数据信息,RAN1将该数据信息发送至UPF1,UPF1向CPE1发送该数据信息,CPE1通过第一设备与第二设备所在组对应的隧道向公共网络发送该数据信息,公共网络通过第二设备与公共网络之间建立的隧道向CPE2发送该数据信息,CPE2将接收到的数据信息发送至UPF2,UPF2将该数据信息发送至RAN2,RAN2向UE2发送该数据信息,从而完成UE1与UE2之间的跨域数据信息传输。As the first possible situation, when UE1 and UE2 transmit cross-domain data information, UE1 can send cross-domain data information to RAN1, RAN1 sends the data information to UPF1, UPF1 sends the data information to CPE1, and CPE1 transmits the data information through the first The tunnel corresponding to the group of a device and the second device sends the data information to the public network, and the public network sends the data information to CPE2 through the tunnel established between the second device and the public network, and CPE2 sends the received data information to UPF2 , UPF2 sends the data information to RAN2, and RAN2 sends the data information to UE2, thereby completing the cross-domain data information transmission between UE1 and UE2.
作为第二种可能的情形,当UE1与UE3进行跨域数据信息传输时,UE1可以向RAN1发送跨域数据信息,RAN1将该数据信息发送至UPF1,UPF1向CPE1发送该数据信息,CPE1通过第一设备与第三设备所在组对应的隧道向公共网络发送该数据信息,公共网络通过第三设备与公共网络之间建立的隧道向CPE3发送该数据信息,CPE3将接收到的数据信息发送至UPF3,UPF3将该数据信息发送至RAN3,RAN3向UE3发送该数据信息,从而完成UE1与UE3之间的跨域数据信息传输。As a second possible situation, when UE1 and UE3 transmit cross-domain data information, UE1 can send cross-domain data information to RAN1, RAN1 sends the data information to UPF1, UPF1 sends the data information to CPE1, and CPE1 passes the The tunnel corresponding to the group of a device and the third device sends the data information to the public network, and the public network sends the data information to CPE3 through the tunnel established between the third device and the public network, and CPE3 sends the received data information to UPF3 , UPF3 sends the data information to RAN3, and RAN3 sends the data information to UE3, thereby completing the cross-domain data information transmission between UE1 and UE3.
作为第三种可能的情形,当UE2与UE3进行跨域数据信息传输时,UE2可以向RAN2发送跨域数据信息,RAN2将该数据信息发送至UPF2,UPF2向CPE2发送该数据信息,CPE2通过第二设备与第三设备所在组对应的隧道向公共网络发送该数据信息,公共网络 通过第三设备与公共网络之间建立的隧道向CPE3发送该数据信息,CPE3将接收到的数据信息发送至UPF3,UPF3将该数据信息发送至RAN3,RAN3向UE3发送该数据信息,从而完成UE2与UE3之间的跨域数据信息传输。As a third possible situation, when UE2 and UE3 transmit cross-domain data information, UE2 can send cross-domain data information to RAN2, RAN2 sends the data information to UPF2, UPF2 sends the data information to CPE2, and CPE2 passes the The tunnel corresponding to the group of the second device and the third device sends the data information to the public network, and the public network sends the data information to CPE3 through the tunnel established between the third device and the public network, and CPE3 sends the received data information to UPF3 , UPF3 sends the data information to RAN3, and RAN3 sends the data information to UE3, thereby completing the cross-domain data information transmission between UE2 and UE3.
上述几种可能的情形为示例性说明,本申请实施例不限于此。The foregoing possible situations are illustrative examples, and the embodiments of the present application are not limited thereto.
可选地,通过建立公共网络与多个非公共网络之间的无线接口连接,可以实现不同非公共网络中UE之间的无线通信。Optionally, wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
举例来说,在多个UE进行跨域数据信息传输之前,多个设备的CPE接收来自RAN的无线接口连接请求,并将该请求转发给公共网络,从而建立公共网络与多个非公共网络之间的无线接口连接,该多个设备包括第一设备、第二设备、第三设备。For example, before multiple UEs transmit cross-domain data information, CPEs of multiple devices receive radio interface connection requests from RANs and forward the requests to the public network, thereby establishing a connection between the public network and multiple non-public networks. The multiple devices include a first device, a second device, and a third device.
可选地,在非公共网络内也可以进行本地数据信息传输。Optionally, local data information transmission can also be performed in a non-public network.
示例性地,在一个非公共网络内,UE可以向RAN发送本地数据信息,RAN将接收到的数据信息发送给UPF,UPF向DN发送该数据信息,例如,在第一非公共网络内,UE1可以向RAN1发送本地数据信息,RAN1将接收到的数据信息发送给UPF1,UPF1向DN1发送该数据信息,从而完成第一非公共网络内的本地数据信息传输。Exemplarily, in a non-public network, the UE may send local data information to the RAN, and the RAN sends the received data information to the UPF, and the UPF sends the data information to the DN. For example, in the first non-public network, UE1 The local data information may be sent to RAN1, RAN1 sends the received data information to UPF1, and UPF1 sends the data information to DN1, thereby completing the transmission of local data information in the first non-public network.
可选地,不同非公共网络中的DN也可以通过公共网络的隧道进行无线通信。Optionally, DNs in different non-public networks can also communicate wirelessly through the tunnel of the public network.
示例性地,第一非公共网络中的DN1向CPE1发送数据信息,CPE1可以将该数据信息通过公共网络建立的隧道发送至CPE2,再由CPE2将该数据信息发送至第二非公共网络中的DN2;或者,CPE1可以将该数据信息通过公共网络建立的隧道发送至CPE3,再由CPE3将该数据信息发送至第三非公共网络的DN3,具体转发过程于上述情形类似,在此不再进行赘述。Exemplarily, DN1 in the first non-public network sends data information to CPE1, and CPE1 can send the data information to CPE2 through the tunnel established in the public network, and then CPE2 sends the data information to the second non-public network. DN2; or, CPE1 can send the data information to CPE3 through the tunnel established by the public network, and then CPE3 sends the data information to DN3 of the third non-public network. The specific forwarding process is similar to the above situation, and will not be carried out here repeat.
通过图5所示的示意场景,不同非公共网络中的终端设备进行跨域数据信息传输时,可以通过公共网络建立的非公共网络中的设备(如第一设备、又如第二设备、又如第三设备)与公共网络之间的隧道进行无线通信,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Through the schematic scenario shown in Figure 5, when terminal devices in different non-public networks perform cross-domain data information transmission, the devices in the non-public network established by the public network (such as the first device, the second device, and the For example, the tunnel between the third device) and the public network for wireless communication, compared with the way of cross-domain transmission through the wired private network channel, improves the universality and flexibility, and reduces the cost. The way that the third-party server performs cross-domain transmission can improve the security of data transmission.
图6是根据本申请另一实施例提供的通信方法的示意场景图。如图6所示,以三个非公共网络为例,如记为第一非公共网络、第二非公共网络、第三非公共网络。为区分,第一非公共网络中的设备记为第一设备、DN1、UE1,第一设备的覆盖范围包括覆盖区域1;第二非公共网络中的设备记为第二设备、DN2、UE2,第二设备的覆盖范围包括覆盖区域2;第三非公共网络中的设备记为第三设备、DN3、UE3,第三设备的覆盖范围包括覆盖区域3。Fig. 6 is a schematic scene diagram of a communication method provided according to another embodiment of the present application. As shown in FIG. 6 , taking three non-public networks as an example, they are recorded as a first non-public network, a second non-public network, and a third non-public network. To distinguish, the devices in the first non-public network are marked as the first device, DN1, UE1, and the coverage of the first device includes coverage area 1; the devices in the second non-public network are marked as the second device, DN2, UE2, The coverage of the second device includes the coverage area 2; the devices in the third non-public network are denoted as the third device, DN3, UE3, and the coverage of the third device includes the coverage area 3.
其中,各非公共网络中的设备(如第一设备,又如第二设备,又如第三设备)可以是包括物理功能模块的设备,也可以是包括逻辑功能模块的设备。Wherein, the devices (such as the first device, the second device, and the third device) in each non-public network may be devices including physical function modules, or devices including logical function modules.
示例性地,RAN、UPF、CPE等网元可以作为物理功能模块/逻辑功能模块部署于各非公共网络中的设备中。Exemplarily, network elements such as RAN, UPF, and CPE may be deployed as physical function modules/logic function modules in devices in each non-public network.
例如,CPE1、RAN1、UPF1等网元可以作为物理功能模块部署在第一设备中,此时CPE1和RAN1之间通过Nx接口通信,CPE1和UPF1之间通过Ny接口通信,RAN1和UPF1之间通过N3*接口通信。再例如,CPE1、RAN1、UPF1等网元可以作为逻辑功能模块部署在第一设备中,此时CPE1和RAN1之间通过内部接口Nx通信,CPE1和UPF1之 间通过内部接口Ny通信,RAN1和UPF1之间通过内部接口N3*通信。CPE2、RAN2、UPF2等网元也可以作为物理功能模块/逻辑功能模块部署在第二设备中,CPE3、RAN3、UPF3等网元也可以作为物理功能模块/逻辑功能模块部署在第三设备中,第二设备与第三设备各网元间的接口通信类似第一设备,在此不再赘述。For example, network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as physical functional modules. At this time, CPE1 and RAN1 communicate through the Nx interface, CPE1 and UPF1 communicate through the Ny interface, and RAN1 and UPF1 communicate through the Ny interface. N3* interface communication. For another example, network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as logic function modules. At this time, CPE1 and RAN1 communicate through the internal interface Nx, and CPE1 and UPF1 communicate through the internal interface Ny. RAN1 and UPF1 Communicate between them through the internal interface N3*. Network elements such as CPE2, RAN2, and UPF2 can also be deployed in the second device as physical function modules/logical function modules, and network elements such as CPE3, RAN3, and UPF3 can also be deployed in the third device as physical function modules/logical function modules. The interface communication between the network elements of the second device and the third device is similar to that of the first device, and will not be repeated here.
如图6所示,第一设备、第二设备以及第三设备位于同一组,在一个LAN组内公共网络分别建立每个设备与公共网络之间的隧道,此时每个设备对应一个公共网络的隧道。下面结合几种可能的情形,介绍一个LAN组内的设备之间通过公共网络的隧道进行无线通信的方式。As shown in Figure 6, the first device, the second device, and the third device are in the same group, and the public network in a LAN group establishes a tunnel between each device and the public network. At this time, each device corresponds to a public network tunnel. Combining with several possible situations, the following describes the manner in which devices in a LAN group perform wireless communication through a public network tunnel.
作为第一种可能的情形,当UE1与UE2进行跨域数据信息传输时,UE1可以向RAN1发送跨域数据信息,RAN1将该数据信息发送至UPF1,UPF1向CPE1发送该数据信息,CPE1通过第一设备与公共网络之间建立的隧道向公共网络发送该数据信息,公共网络通过第二设备与公共网络之间建立的隧道向CPE2发送该数据信息,CPE2将接收到的数据信息发送至UPF2,UPF2将该数据信息发送至RAN2,RAN2向UE2发送该数据信息,从而完成UE1与UE2之间的跨域数据信息传输。As the first possible situation, when UE1 and UE2 transmit cross-domain data information, UE1 can send cross-domain data information to RAN1, RAN1 sends the data information to UPF1, UPF1 sends the data information to CPE1, and CPE1 transmits the data information through the first The tunnel established between a device and the public network sends the data information to the public network, and the public network sends the data information to CPE2 through the tunnel established between the second device and the public network, and CPE2 sends the received data information to UPF2, UPF2 sends the data information to RAN2, and RAN2 sends the data information to UE2, thereby completing the cross-domain data information transmission between UE1 and UE2.
作为第二种可能的情形,当UE1与UE3进行跨域数据信息传输时,UE1可以向RAN1发送跨域数据信息,RAN1将该数据信息发送至UPF1,UPF1向CPE1发送该数据信息,CPE1通过第一设备与公共网络之间建立的隧道向公共网络发送该数据信息,公共网络通过第三设备与公共网络之间建立的隧道向CPE3发送该数据信息,CPE3将接收到的数据信息发送至UPF3,UPF3将该数据信息发送至RAN3,RAN3向UE3发送该数据信息,从而完成UE1与UE3之间的跨域数据信息传输。As a second possible situation, when UE1 and UE3 transmit cross-domain data information, UE1 can send cross-domain data information to RAN1, RAN1 sends the data information to UPF1, UPF1 sends the data information to CPE1, and CPE1 passes the The tunnel established between a device and the public network sends the data information to the public network, and the public network sends the data information to CPE3 through the tunnel established between the third device and the public network, and CPE3 sends the received data information to UPF3, UPF3 sends the data information to RAN3, and RAN3 sends the data information to UE3, thereby completing the cross-domain data information transmission between UE1 and UE3.
作为第三种可能的情形,当UE2与UE3进行跨域数据信息传输时,UE2可以向RAN2发送跨域数据信息,RAN2将该数据信息发送至UPF2,UPF2向CPE2发送该数据信息,CPE2通过第二设备与公共网络之间建立的隧道向公共网络发送该数据信息,公共网络通过第三设备与公共网络之间建立的隧道向CPE3发送该数据信息,CPE3将接收到的数据信息发送至UPF3,UPF3将该数据信息发送至RAN3,RAN3向UE3发送该数据信息,从而完成UE2与UE3之间的跨域数据信息传输。As a third possible situation, when UE2 and UE3 transmit cross-domain data information, UE2 can send cross-domain data information to RAN2, RAN2 sends the data information to UPF2, UPF2 sends the data information to CPE2, and CPE2 passes the The tunnel established between the second device and the public network sends the data information to the public network, and the public network sends the data information to CPE3 through the tunnel established between the third device and the public network, and CPE3 sends the received data information to UPF3, UPF3 sends the data information to RAN3, and RAN3 sends the data information to UE3, thereby completing the cross-domain data information transmission between UE2 and UE3.
上述几种可能的情形为示例性说明,本申请实施例不限于此。The foregoing possible situations are illustrative examples, and the embodiments of the present application are not limited thereto.
可选地,通过建立公共网络与多个非公共网络之间的无线接口连接,可以实现不同非公共网络中UE之间的无线通信。Optionally, wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
举例来说,在多个UE进行跨域数据信息传输之前,多个设备的CPE接收来自RAN的无线接口连接请求,并将该请求转发给公共网络,从而建立公共网络与多个非公共网络之间的无线接口连接,该多个设备包括第一设备、第二设备、第三设备。For example, before multiple UEs transmit cross-domain data information, CPEs of multiple devices receive radio interface connection requests from RANs and forward the requests to the public network, thereby establishing a connection between the public network and multiple non-public networks. The multiple devices include a first device, a second device, and a third device.
可选地,该多个设备也可以进行本地数据信息传输。Optionally, the multiple devices may also perform local data information transmission.
示例性地,在一个非公共网络内,UE可以向RAN发送本地数据信息,RAN将接收到的数据信息发送给UPF,UPF向DN发送该数据信息,例如,在第一非公共网络内,UE1可以向RAN1发送本地数据信息,RAN1将接收到的数据信息发送给UPF1,UPF1向DN1发送该数据信息,从而完成第一非公共网络内的本地数据信息传输。Exemplarily, in a non-public network, the UE may send local data information to the RAN, and the RAN sends the received data information to the UPF, and the UPF sends the data information to the DN. For example, in the first non-public network, UE1 The local data information may be sent to RAN1, RAN1 sends the received data information to UPF1, and UPF1 sends the data information to DN1, thereby completing the transmission of local data information in the first non-public network.
可选地,不同非公共网络中的DN也可以通过公共网络的隧道进行无线通信。Optionally, DNs in different non-public networks can also communicate wirelessly through the tunnel of the public network.
示例性地,第一非公共网络中的DN1向CPE1发送数据信息,CPE1可以将该数据信 息通过公共网络建立的隧道发送至CPE2,再由CPE2将该数据信息发送至第二非公共网络中的DN2;或者,CPE1可以将该数据信息通过公共网络建立的隧道发送至CPE3,再由CPE3将该数据信息发送至第三非公共网络的DN3,具体转发过程于上述情形类似,在此不再进行赘述。Exemplarily, DN1 in the first non-public network sends data information to CPE1, and CPE1 can send the data information to CPE2 through the tunnel established in the public network, and then CPE2 sends the data information to the second non-public network. DN2; or, CPE1 can send the data information to CPE3 through the tunnel established by the public network, and then CPE3 sends the data information to DN3 of the third non-public network. The specific forwarding process is similar to the above situation, and will not be carried out here repeat.
通过图6所示的示意场景,不同非公共网络中的终端设备进行跨域数据信息传输时,可以通过公共网络建立的非公共网络中的设备(如第一设备、又如第二设备、又如第三设备)与公共网络之间的隧道进行无线通信,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Through the schematic scenario shown in Figure 6, when terminal devices in different non-public networks perform cross-domain data information transmission, the devices in the non-public network established by the public network (such as the first device, the second device, and the For example, the tunnel between the third device) and the public network for wireless communication, compared with the way of cross-domain transmission through the wired private network channel, improves the universality and flexibility, and reduces the cost. The way that the third-party server performs cross-domain transmission can improve the security of data transmission.
图7是根据本申请另一实施例提供的通信方法的示意场景图。如图7所示,以两个非公共网络为例,如记为第一非公共网络、第二非公共网络。为区分,第一非公共网络中的设备记为第一设备、UE1、第二设备、UE2、DN1,第一设备的覆盖范围包括覆盖区域1,第二设备的覆盖范围包括覆盖区域2,其中,DN1使用CPE1进行通信;第二非公共网络中的设备记为第三设备、UE3、第四设备、UE4、DN2,第三设备的覆盖范围包括覆盖区域3,第四设备的覆盖范围包括覆盖区域4,其中,DN2使用CPE2进行通信。Fig. 7 is a schematic scene diagram of a communication method provided according to another embodiment of the present application. As shown in FIG. 7 , taking two non-public networks as an example, they are recorded as a first non-public network and a second non-public network. To distinguish, the devices in the first non-public network are marked as the first device, UE1, second device, UE2, DN1, the coverage of the first device includes the coverage area 1, and the coverage of the second device includes the coverage area 2, where , DN1 uses CPE1 to communicate; the devices in the second non-public network are recorded as the third device, UE3, the fourth device, UE4, DN2, the coverage of the third device includes coverage area 3, and the coverage of the fourth device includes coverage Area 4, where DN2 uses CPE2 for communication.
其中,各非公共网络中的设备(如第一设备,又如第二设备,又如第三设备,又如第四设备)可以是包括物理功能模块的设备,也可以是包括逻辑功能模块的设备。Wherein, the devices in each non-public network (such as the first device, the second device, the third device, and the fourth device) may be devices including physical function modules, or devices including logical function modules. equipment.
示例性地,RAN、UPF、CPE等网元可以作为物理功能模块/逻辑功能模块部署于各非公共网络中的设备中,各网元的具体部署情况类似于图5和图6,在此不再赘述。Exemplarily, network elements such as RAN, UPF, and CPE can be deployed as physical function modules/logical function modules in devices in non-public networks. Let me repeat.
如图7所示,第一设备与第三设备为一组,第一设备、第二设备以及第四设备为一组,CPE1与CPE2为一组。在一个LAN组内公共网络分别建立每个设备与公共网络之间的隧道,此时每个设备对应一个或两个公共网络的隧道。下面结合几种可能的情形,介绍一个LAN组内的设备之间通过公共网络的隧道进行无线通信的方式。As shown in FIG. 7 , the first device and the third device form a group, the first device, the second device, and the fourth device form a group, and CPE1 and CPE2 form a group. The public network in a LAN group establishes a tunnel between each device and the public network, and each device corresponds to one or two public network tunnels. Combining with several possible situations, the following describes the manner in which devices in a LAN group perform wireless communication through a public network tunnel.
作为第一种可能的情形,当UE1与UE3进行跨域数据信息传输时,UE1可以将该数据信息发送至第一设备,第一设备通过第一设备与第三设备所在组对应的隧道向公共网络发送该数据信息,公共网络通过第三设备与公共网络之间建立的隧道向第三设备发送该数据信息,第三设备将接收到的数据信息发送至UE3,从而完成UE1与UE3之间的跨域数据信息传输,其中,第一设备与第三设备中各网元的数据转发过程类似于图5和图6,在此不再赘述。As a first possible situation, when UE1 and UE3 perform cross-domain data information transmission, UE1 can send the data information to the first device, and the first device sends the public The network sends the data information, and the public network sends the data information to the third device through the tunnel established between the third device and the public network, and the third device sends the received data information to UE3, thereby completing the communication between UE1 and UE3. In cross-domain data information transmission, the data forwarding process of each network element in the first device and the third device is similar to that shown in FIG. 5 and FIG. 6 , and will not be repeated here.
作为第二种可能的情形,当UE1与UE4进行跨域数据信息传输时,UE1可以将该数据信息发送至第一设备,第一设备通过第一设备、第二设备以及第四设备所在组对应的隧道向公共网络发送该数据信息,公共网络通过第四设备与公共网络之间建立的隧道向第四设备发送该数据信息,第四设备将接收到的数据信息发送至UE4,从而完成UE1与UE4之间的跨域数据信息传输,其中,第一设备与第四设备中各网元的数据转发过程类似于图5和图6,在此不再赘述。As a second possible situation, when UE1 and UE4 perform cross-domain data information transmission, UE1 can send the data information to the first device, and the first device corresponds to the group of the first device, the second device, and the fourth device. The data information is sent to the public network through the tunnel established between the fourth device and the public network, and the public network sends the data information to the fourth device through the tunnel established between the fourth device and the public network, and the fourth device sends the received data information to UE4, thereby completing UE1 and the public network. In the cross-domain data information transmission between UE4, the data forwarding process of each network element in the first device and the fourth device is similar to FIG. 5 and FIG. 6 , and will not be repeated here.
作为第三种可能的情形,当UE2与UE4进行跨域数据信息传输时,UE2可以将该数据信息发送至第二设备,第二设备通过第二设备与公共网络之间建立的隧道向公共网络发送该数据信息,公共网络通过第四设备与公共网络之间建立的隧道向第四设备发送该数据信息,第四设备将接收到的数据信息发送至UE4,从而完成UE2与UE4之间的跨域数据 信息传输,其中,第二设备与第四设备中各网元的数据转发过程类似于图5和图6,在此不再赘述。As a third possible situation, when UE2 and UE4 perform cross-domain data information transmission, UE2 can send the data information to the second device, and the second device transmits the data information to the public network through the tunnel established between the second device and the public network. Send the data information, the public network sends the data information to the fourth device through the tunnel established between the fourth device and the public network, and the fourth device sends the received data information to UE4, thus completing the cross-connection between UE2 and UE4 Domain data information transmission, wherein, the data forwarding process of each network element in the second device and the fourth device is similar to that shown in FIG. 5 and FIG. 6 , and will not be repeated here.
作为第四种可能的情形,当DN1与DN2进行跨域数据信息传输时,DN1可以将该数据信息发送至CPE1,CPE1通过CPE1与公共网络之间建立的隧道向公共网络发送该数据信息,公共网络通过CPE2与公共网络之间建立的隧道向CPE2发送该数据信息,CPE2将接收到的数据信息发送至DN2,从而完成DN1与DN2之间的跨域数据信息传输。As a fourth possible situation, when DN1 and DN2 perform cross-domain data information transmission, DN1 can send the data information to CPE1, and CPE1 sends the data information to the public network through the tunnel established between CPE1 and the public network. The network sends the data information to CPE2 through the tunnel established between CPE2 and the public network, and CPE2 sends the received data information to DN2, thereby completing the cross-domain data information transmission between DN1 and DN2.
上述几种可能的情形为示例性说明,本申请实施例不限于此。The foregoing possible situations are illustrative examples, and the embodiments of the present application are not limited thereto.
可选地,通过建立公共网络与多个非公共网络之间的无线接口连接,可以实现不同非公共网络中UE之间的无线通信。Optionally, wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
举例来说,在多个UE进行跨域数据信息传输之前,多个设备的CPE接收来自RAN的无线接口连接请求,并将该请求转发给公共网络,从而建立公共网络与多个非公共网络之间的无线接口连接,该多个设备包括第一设备、第二设备、第三设备、第四设备。For example, before multiple UEs transmit cross-domain data information, CPEs of multiple devices receive radio interface connection requests from RANs and forward the requests to the public network, thereby establishing a connection between the public network and multiple non-public networks. The multiple devices include a first device, a second device, a third device, and a fourth device.
通过图7所示的示意场景,不同非公共网络中的终端设备进行跨域数据信息传输时,可以通过公共网络建立的非公共网络中的设备(如第一设备、又如第二设备、又如第三设备、又如第四设备)与公共网络之间的隧道进行无线通信,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Through the schematic scenario shown in Figure 7, when terminal devices in different non-public networks perform cross-domain data information transmission, devices in the non-public network established by the public network (such as the first device, the second device, and the Such as the third device, or the fourth device) and the tunnel between the public network for wireless communication, compared with the way of cross-domain transmission through wired private network channels, it improves the universality and flexibility, and reduces the cost , compared with the method of cross-domain transmission through a third-party server, the security of data transmission can be improved.
图8是根据本申请另一实施例提供的通信方法的示意场景图。如图8所示,以两个非公共网络为例,如记为第一非公共网络、第二非公共网络。为区分,第一非公共网络中的设备记为第一设备、UE1、第二设备、UE2、DN1,第一设备的覆盖范围包括覆盖区域1,第二设备的覆盖范围包括覆盖区域2,其中,DN1使用CPE1进行通信;第二非公共网络中的设备记为第三设备、UE3、第四设备、UE4、DN2,第三设备的覆盖范围包括覆盖区域3,第四设备的覆盖范围包括覆盖区域4,其中,DN2使用CPE2进行通信。Fig. 8 is a schematic scene diagram of a communication method provided according to another embodiment of the present application. As shown in FIG. 8 , taking two non-public networks as an example, they are recorded as a first non-public network and a second non-public network. To distinguish, the devices in the first non-public network are marked as the first device, UE1, second device, UE2, DN1, the coverage of the first device includes the coverage area 1, and the coverage of the second device includes the coverage area 2, where , DN1 uses CPE1 to communicate; the devices in the second non-public network are recorded as the third device, UE3, the fourth device, UE4, DN2, the coverage of the third device includes coverage area 3, and the coverage of the fourth device includes coverage Area 4, where DN2 uses CPE2 for communication.
其中,各非公共网络中的设备(如第一设备,又如第二设备,又如第三设备,又如第四设备)可以是包括物理功能模块的设备,也可以是包括逻辑功能模块的设备。Wherein, the devices in each non-public network (such as the first device, the second device, the third device, and the fourth device) may be devices including physical function modules, or devices including logical function modules. equipment.
示例性地,RAN、UPF、CPE等网元可以作为物理功能模块/逻辑功能模块部署于各非公共网络中的设备中,各网元的具体部署情况类似于图5和图6,在此不再赘述。Exemplarily, network elements such as RAN, UPF, and CPE can be deployed as physical function modules/logical function modules in devices in non-public networks. Let me repeat.
如图8所示,第一设备、第二设备、第三设备、第四设备、CPE1、CPE2为同一组,在一个LAN组内公共网络分别建立每个设备与公共网络之间的隧道,此时每个设备对应一个公共网络的隧道。下面结合几种可能的情形,介绍一个LAN组内的设备之间通过公共网络的隧道进行无线通信的方式。As shown in Figure 8, the first device, the second device, the third device, the fourth device, CPE1, and CPE2 are in the same group, and the public network in a LAN group respectively establishes a tunnel between each device and the public network. Each device corresponds to a public network tunnel. Combining with several possible situations, the following describes the manner in which devices in a LAN group perform wireless communication through a public network tunnel.
作为第一种可能的情形,当UE1与UE3进行跨域数据信息传输时,UE1可以将该数据信息发送至第一设备,第一设备通过第一设备与公共网络之间建立的隧道向公共网络发送该数据信息,公共网络通过第三设备与公共网络之间建立的隧道向第三设备发送该数据信息,第三设备将接收到的数据信息发送至UE3,从而完成UE1与UE3之间的跨域数据信息传输,其中,第一设备与第三设备中各网元的数据转发过程类似于图5和图6,在此不再赘述。As a first possible situation, when UE1 and UE3 perform cross-domain data information transmission, UE1 can send the data information to the first device, and the first device transmits the data information to the public network through the tunnel established between the first device and the public network. Send the data information, the public network sends the data information to the third device through the tunnel established between the third device and the public network, and the third device sends the received data information to UE3, thus completing the cross-connection between UE1 and UE3 In the transmission of domain data information, the data forwarding process of each network element in the first device and the third device is similar to that shown in FIG. 5 and FIG. 6 , and will not be repeated here.
作为第二种可能的情形,当UE1与UE4进行跨域数据信息传输时,UE1可以将该数据信息发送至第一设备,第一设备通过第一设备与公共网络之间建立的隧道向公共网络发 送该数据信息,公共网络通过第四设备与公共网络之间建立的隧道向第四设备发送该数据信息,第四设备将接收到的数据信息发送至UE4,从而完成UE1与UE4之间的跨域数据信息传输,其中,第一设备与第四设备中各网元的数据转发过程类似于图5和图6,在此不再赘述。As a second possible situation, when UE1 and UE4 perform cross-domain data information transmission, UE1 can send the data information to the first device, and the first device transmits the data information to the public network through the tunnel established between the first device and the public network. Send the data information, the public network sends the data information to the fourth device through the tunnel established between the fourth device and the public network, and the fourth device sends the received data information to UE4, thus completing the cross-connection between UE1 and UE4 Domain data information transmission, wherein, the data forwarding process of each network element in the first device and the fourth device is similar to that shown in FIG. 5 and FIG. 6 , and will not be repeated here.
作为第三种可能的情形,当UE1与DN2进行跨域数据信息传输时,UE1可以将该数据信息发送至第一设备,第一设备通过第一设备与公共网络之间建立的隧道向公共网络发送该数据信息,公共网络通过CPE2与公共网络之间建立的隧道向CPE2发送该数据信息,CPE2将接收到的数据信息发送至DN2,从而完成UE1与DN2之间的跨域数据信息传输,其中,第一设备中各网元的数据转发过程类似于图5和图6,在此不再赘述。As a third possible situation, when UE1 and DN2 perform cross-domain data information transmission, UE1 can send the data information to the first device, and the first device transmits the data information to the public network through the tunnel established between the first device and the public network. Send the data information, the public network sends the data information to CPE2 through the tunnel established between CPE2 and the public network, and CPE2 sends the received data information to DN2, thereby completing the cross-domain data information transmission between UE1 and DN2, where , the data forwarding process of each network element in the first device is similar to FIG. 5 and FIG. 6 , and will not be repeated here.
作为第四种可能的情形,第一非公共网络中的UE2或者DN1与第二非公共网络中的UE3、UE4、DN2进行跨域数据信息传输的情形与上述三种情形类似,在此不再赘述。As a fourth possible situation, the situation that UE2 or DN1 in the first non-public network performs cross-domain data information transmission with UE3, UE4, and DN2 in the second non-public network is similar to the above three situations, and will not be repeated here. repeat.
上述几种可能的情形为示例性说明,本申请实施例不限于此。The foregoing possible situations are illustrative examples, and the embodiments of the present application are not limited thereto.
可选地,通过建立公共网络与多个非公共网络之间的无线接口连接,可以实现不同非公共网络中UE之间的无线通信。Optionally, wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
举例来说,在多个UE进行跨域数据信息传输之前,多个设备的CPE接收来自RAN的无线接口连接请求,并将该请求转发给公共网络,从而建立公共网络与多个非公共网络之间的无线接口连接,该多个设备包括第一设备、第二设备、第三设备、第四设备。For example, before multiple UEs transmit cross-domain data information, CPEs of multiple devices receive radio interface connection requests from RANs and forward the requests to the public network, thereby establishing a connection between the public network and multiple non-public networks. The multiple devices include a first device, a second device, a third device, and a fourth device.
通过图8所示的示意场景,不同非公共网络中的终端设备进行跨域数据信息传输时,可以通过公共网络建立的非公共网络中的设备(如第一设备、又如第二设备、又如第三设备、又如第四设备)与公共网络之间的隧道进行无线通信,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Through the schematic scenario shown in Figure 8, when terminal devices in different non-public networks perform cross-domain data information transmission, the devices in the non-public network established by the public network (such as the first device, the second device, and the Such as the third device, or the fourth device) and the tunnel between the public network for wireless communication, compared with the way of cross-domain transmission through wired private network channels, it improves the universality and flexibility, and reduces the cost , compared with the method of cross-domain transmission through a third-party server, the security of data transmission can be improved.
应理解,图5至图8示出的几种通信方法的示意场景并不对本申请实施例的实际架构作出任何限制,非公共网络中的设备可以有一个,也可以有多个,在公共网络中可以建立一个LAN组,也可以建立多个LAN组,非公共网络中的各个设备对应的隧道可以有一个,可以有多个,本申请对此并不限定。It should be understood that the schematic scenarios of several communication methods shown in FIG. 5 to FIG. 8 do not impose any restrictions on the actual architecture of the embodiment of the present application. There may be one or more devices in the non-public network. In the public network One or more LAN groups can be established in the network, and there can be one or more tunnels corresponding to each device in the non-public network, which is not limited in this application.
通过图5至图8所示的示意场景,各非公共网络与公共网络之间可以通过无线接口方式完成各非公共网络之间的无线通信。通过上述技术方案,不同非公共网络中的终端设备进行跨域数据信息传输时,可以通过公共网络建立的非公共网络中的设备与公共网络之间的隧道进行无线通信,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Through the schematic scenarios shown in FIG. 5 to FIG. 8 , the wireless communication between the non-public networks and the public network can be completed through a wireless interface. Through the above technical solution, when terminal devices in different non-public networks perform cross-domain data information transmission, they can perform wireless communication through the tunnel between the devices in the non-public network established by the public network and the public network, compared to through wired private The method of cross-domain transmission through the network channel improves the universality and flexibility, and reduces the cost. Compared with the method of cross-domain transmission through a third-party server, it can improve the security of data transmission.
图9是根据本申请实施例提供的通信方法的示意架构图。如图9所示,以两个非公共网络为例,如记为第一非公共网络、第二非公共网络。为区分,第一非公共网络中的设备记为第一设备、终端设备(如UE1、UE2、UE3)、DN1,其中,DN1使用CPE3进行通信;第二非公共网络中的设备记为第二设备、终端设备(如UE4、UE5、UE6)、DN2,其中,DN2使用CPE4进行通信。公共网络包括控制面(control plane,CP)、RAN3、UPF3、PSA、UPF4、RAN4。Fig. 9 is a schematic architecture diagram of a communication method provided according to an embodiment of the present application. As shown in FIG. 9 , taking two non-public networks as an example, they are recorded as a first non-public network and a second non-public network. To distinguish, the equipment in the first non-public network is recorded as the first equipment, terminal equipment (such as UE1, UE2, UE3), and DN1, wherein, DN1 uses CPE3 to communicate; the equipment in the second non-public network is recorded as the second equipment, terminal equipment (such as UE4, UE5, UE6), and DN2, where DN2 uses CPE4 for communication. The public network includes a control plane (control plane, CP), RAN3, UPF3, PSA, UPF4, and RAN4.
其中,CP可以是包括一个或多个网元的设备,如包括:AMF、SMF,各非公共网络 中的设备(如第一设备,又如第二设备)可以是包括物理功能模块的设备,也可以是包括逻辑功能模块的设备。示例性地,RAN、UPF、CPE等网元可以作为物理功能模块/逻辑功能模块部署于各非公共网络中的设备中。例如,CPE1、RAN1、UPF1等网元可以作为物理功能模块/逻辑功能模块部署在第一设备中,CPE2、RAN2、UPF2等网元可以作为物理功能模块/逻辑功能模块部署在第二设备中,各网元的具体部署情况类似于图5和图6,在此不再赘述。Wherein, the CP may be a device including one or more network elements, such as: AMF, SMF, and devices in each non-public network (such as the first device, and the second device) may be devices including physical function modules, It can also be a device including logical function modules. Exemplarily, network elements such as RAN, UPF, and CPE may be deployed as physical function modules/logic function modules in devices in each non-public network. For example, network elements such as CPE1, RAN1, and UPF1 can be deployed in the first device as physical function modules/logical function modules, and network elements such as CPE2, RAN2, and UPF2 can be deployed in the second device as physical function modules/logical function modules. The specific deployment of each network element is similar to that shown in Figure 5 and Figure 6, and will not be repeated here.
如图9所示,第一设备与第二设备为一组,CPE3与CPE4为一组,在一个LAN组内公共网络分别建立每个设备与公共网络之间的隧道,此时每个设备对应一个公共网络的隧道。As shown in Figure 9, the first device and the second device form a group, and CPE3 and CPE4 form a group. In a LAN group, the public network establishes a tunnel between each device and the public network. At this time, each device corresponds to A public network tunnel.
作为一种可能的情形,当UE1-UE3与UE4-UE6进行跨域数据信息传输时,UE1-UE3向RAN1发送跨域数据信息,RAN1向UPF1发送该数据信息,UPF1将该数据信息发送至CPE1,CPE1通过第一设备与公共网络之间建立的隧道将该数据信息发送至公共网络中的RAN3,RAN3向UPF3发送该数据信息,UPF3向PSA发送该数据信息,PSA向UPF4发送该数据信息,UPF4向RAN4发送该数据信息,RAN4通过第二设备与公共网络之间建立的隧道将该数据信息发送至CPE2,CPE2向UPF2发送该数据信息,UPF2再将接收到的数据信息发送至RAN2,RAN2向UE4-UE6发送该数据信息,从而完成UE1-UE3与UE4-UE6之间的跨域数据信息传输。As a possible situation, when UE1-UE3 and UE4-UE6 transmit cross-domain data information, UE1-UE3 sends cross-domain data information to RAN1, RAN1 sends the data information to UPF1, and UPF1 sends the data information to CPE1 , CPE1 sends the data information to RAN3 in the public network through the tunnel established between the first device and the public network, RAN3 sends the data information to UPF3, UPF3 sends the data information to PSA, and PSA sends the data information to UPF4, UPF4 sends the data information to RAN4, RAN4 sends the data information to CPE2 through the tunnel established between the second device and the public network, CPE2 sends the data information to UPF2, UPF2 sends the received data information to RAN2, RAN2 The data information is sent to UE4-UE6, thereby completing the cross-domain data information transmission between UE1-UE3 and UE4-UE6.
作为又一种可能的情形,当DN1与DN2进行跨域数据信息传输时,DN1向CPE3发送跨域数据信息,CPE3通过CPE3与公共网络之间建立的隧道将该数据信息发送至公共网络,公共网络将该数据信息发送至CPE4,CPE4将接收到的数据信息发送至DN2,从而完成DN1与DN2之间的跨域数据信息传输,该数据信息在公共网络中的转发路径与上述情形类似,在此不再赘述。As yet another possible situation, when DN1 and DN2 transmit cross-domain data information, DN1 sends cross-domain data information to CPE3, and CPE3 sends the data information to the public network through the tunnel established between CPE3 and the public network. The network sends the data information to CPE4, and CPE4 sends the received data information to DN2, thereby completing the cross-domain data information transmission between DN1 and DN2. The forwarding path of the data information in the public network is similar to the above situation. This will not be repeated here.
上述示出的情形为示例性说明,本申请实施例不限于此。The situation shown above is an exemplary description, and the embodiment of the present application is not limited thereto.
可选地,通过建立公共网络与多个非公共网络之间的无线接口连接,可以实现不同非公共网络中UE之间的无线通信。Optionally, wireless communication between UEs in different non-public networks can be realized by establishing wireless interface connections between the public network and multiple non-public networks.
举例来说,在UE1-UE3与UE4-UE6进行跨域数据信息传输之前,CPE1和CPE2分别接收来自RAN1和RAN2的无线接口连接请求,并将该请求转发给公共网络的CP,从而建立公共网络与第一非公共网络和第二非公共网络之间的无线接口连接。For example, before UE1-UE3 and UE4-UE6 perform cross-domain data information transmission, CPE1 and CPE2 receive wireless interface connection requests from RAN1 and RAN2 respectively, and forward the request to the CP of the public network, thereby establishing a public network Connected to the wireless interface between the first non-public network and the second non-public network.
应理解,图9示出的通信方法的示意架构并不对本申请实施例的实际架构作出任何限制,非公共网络中的设备可以有一个,也可以有多个,在公共网络中可以建立一个LAN组,也可以建立多个LAN组,非公共网络中的各个设备对应的隧道可以有一个,可以有多个,本申请对此并不限定。It should be understood that the schematic architecture of the communication method shown in FIG. 9 does not impose any restrictions on the actual architecture of the embodiment of the present application. There may be one or more devices in a non-public network, and a LAN may be established in a public network. groups, and multiple LAN groups can also be established. There can be one tunnel or multiple tunnels corresponding to each device in the non-public network, which is not limited in this application.
通过图9所示的示意架构,各非公共网络与公共网络之间可以通过无线接口方式完成各非公共网络之间的无线通信。通过上述技术方案,不同非公共网络中的终端设备进行跨域数据信息传输时,可以通过公共网络建立的非公共网络中的设备与公共网络之间的隧道进行无线通信,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Through the schematic architecture shown in FIG. 9 , the wireless communication between the non-public networks and the public network can be completed through a wireless interface. Through the above technical solution, when terminal devices in different non-public networks perform cross-domain data information transmission, they can perform wireless communication through the tunnel between the devices in the non-public network established by the public network and the public network, compared to through wired private The method of cross-domain transmission through the network channel improves the universality and flexibility, and reduces the cost. Compared with the method of cross-domain transmission through a third-party server, it can improve the security of data transmission.
图10是根据本申请实施例提供的通信方法的示意图。如图10所示,第一非公共网络 中的设备包括第一设备,公共网络中的设备包括用户面网元,第二非公共网络中的设备包括第二设备。Fig. 10 is a schematic diagram of a communication method provided according to an embodiment of the present application. As shown in FIG. 10 , the devices in the first non-public network include the first device, the devices in the public network include user plane network elements, and the devices in the second non-public network include the second device.
应理解,该第二非公共网络并不限定是一个特定的非公共网络,任何可作为目的非公共网络的非公共网络都可以称为第二非公共网络。同样地,该第二设备并不限定是一个特定的设备,任何可作为目的非公共网络中的设备都可以称为第二设备,本申请实施例对此不作限定。It should be understood that the second non-public network is not limited to a specific non-public network, and any non-public network that can be used as a target non-public network may be called a second non-public network. Likewise, the second device is not limited to a specific device, and any device that can be used as a target non-public network can be called a second device, which is not limited in this embodiment of the present application.
还应理解,CPE、RAN、UPF等网元可以作为物理功能模块部署在第一设备中,此时CPE和RAN之间通过Nx接口通信,CPE和UPF之间通过Ny接口通信,RAN和UPF之间通过N3*接口通信。再例如,CPE、RAN、UPF等网元可以作为逻辑功能模块部署在第一设备中,此时CPE和RAN之间通过内部接口Nx通信,CPE和UPF之间通过内部接口Ny通信,RAN和UPF之间通过内部接口N3*通信。第二设备与第一设备类似,在此不再赘述。It should also be understood that network elements such as CPE, RAN, and UPF can be deployed in the first device as physical functional modules. At this time, the communication between the CPE and the RAN is through the Nx interface, the communication between the CPE and the UPF is through the Ny interface, and the communication between the RAN and the UPF communicate through the N3* interface. For another example, network elements such as CPE, RAN, and UPF can be deployed in the first device as logic function modules. At this time, the communication between the CPE and the RAN is through the internal interface Nx, and the communication between the CPE and the UPF is through the internal interface Ny. The RAN and the UPF Communicate between them through the internal interface N3*. The second device is similar to the first device, which will not be repeated here.
还应理解,Nx接口、Ny接口、N3*接口的命名仅为便于区分不同的接口而定义,不应对本申请构成任何限定。本申请并不排除采用其他命名的可能。It should also be understood that the names of the Nx interface, the Ny interface, and the N3* interface are only defined for the convenience of distinguishing different interfaces, and should not constitute any limitation to the present application. This application does not exclude the possibility of adopting other names.
还应理解,非公共网络中的设备还可以包括终端设备(例如UE)、DN,公共网络中的设备还可以包括控制面网元(例如SMF、PCF、AMF),本申请对此不作限定。It should also be understood that the devices in the non-public network may also include terminal devices (such as UE) and DN, and the devices in the public network may also include control plane network elements (such as SMF, PCF, AMF), which is not limited in this application.
S1010,用户面网元接收来自第一设备的数据信息。S1010. A user plane network element receives data information from a first device.
示例性地,该数据信息是跨域数据信息。即该数据信息的目的设备为第一非公共网络之外的非公共网络(如第二非公共网络)中的设备。Exemplarily, the data information is cross-domain data information. That is, the destination device of the data information is a device in a non-public network (such as the second non-public network) other than the first non-public network.
作为一种可能的方式,第一设备根据本地预配置,确定该数据信息为跨域数据信息。例如,第一设备可以预先配置转发规则,当第一设备接收到的来自UE的数据信息的地址与第一设备的子地址段不同,则说明该数据信息为跨域数据信息;当第一设备接收到的来自UE的数据信息的地址与第一设备的子地址段相同,则说明该数据信息为本地数据信息,此时第一设备将该本地数据信息发送至第一非公共网络中的DN,即可完成数据信息的本地传输。As a possible manner, the first device determines that the data information is cross-domain data information according to local preconfiguration. For example, the first device may pre-configure forwarding rules. When the address of the data information received by the first device from the UE is different from the sub-address segment of the first device, it indicates that the data information is cross-domain data information; when the first device The address of the received data information from the UE is the same as the sub-address segment of the first device, indicating that the data information is local data information, and the first device sends the local data information to the DN in the first non-public network , the local transmission of data information can be completed.
作为又一种可能的方式,第一设备根据该数据信息的地址与第二路由规则,确定该数据信息为跨域数据信息,其中,第二路由规则用于指示第二设备的子地址段与用户面网元对应的隧道之间的关系。例如,第一设备确定该数据信息的地址与第二设备的子地址段相同,则说明该数据信息为跨域数据信息。As yet another possible manner, the first device determines that the data information is cross-domain data information according to the address of the data information and the second routing rule, where the second routing rule is used to indicate the sub-address segment of the second device and the second routing rule. Relationship between tunnels corresponding to user plane network elements. For example, if the first device determines that the address of the data information is the same as the sub-address segment of the second device, it indicates that the data information is cross-domain data information.
应理解,判断数据信息的地址是否与第二设备的子地址段相同,应将数据信息的地址与可作为目的设备的子地址段进行比较,如果数据信息的地址与某个目的设备的子地址段相同,则可以确定该数据信息为发送至该目的设备对应的非公共网络;反之,如果数据信息的地址与可作为目的设备的子地址段都不相同,则说明该数据信息为本地数据信息,此时第一设备将该本地数据信息发送至第一非公共网络中的DN,即可完成数据信息的本地传输。It should be understood that to determine whether the address of the data information is the same as the sub-address segment of the second device, the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address of a certain destination device If the segments are the same, it can be determined that the data information is sent to the non-public network corresponding to the destination device; on the contrary, if the address of the data information is different from the sub-address segment that can be used as the destination device, it means that the data information is local data information , at this time, the first device sends the local data information to the DN in the first non-public network, and then the local transmission of the data information can be completed.
还应理解,上述第二路由规则可以是控制面网元(例如SMF、PCF)生成的,或者,第二路由规则可以是协议预定义的,本申请实施例对此不作任何限定。It should also be understood that the above-mentioned second routing rule may be generated by a control plane network element (such as SMF, PCF), or the second routing rule may be predefined by a protocol, which is not limited in this embodiment of the present application.
示例性地,作为一种可能的方式,当第一设备与用户面网元之间的隧道唯一时,第一设备通过该隧道向用户面网元发送数据信息。Exemplarily, as a possible manner, when the tunnel between the first device and the user plane network element is unique, the first device sends data information to the user plane network element through the tunnel.
示例性地,作为又一种可能的方式,第一设备根据第二路由规则,向用户面网元发送数据信息。例如,第一设备确定与数据信息的地址相同的第二设备的子地址段,并根据第二设备的子地址段与用户面网元对应的隧道之间的关系,可以确定第一设备向用户面网元发送该数据信息时的隧道,进而第一设备可以通过该隧道向用户面网元发送数据信息。Exemplarily, as yet another possible manner, the first device sends the data information to the user plane network element according to the second routing rule. For example, the first device determines the sub-address segment of the second device that is the same as the address of the data information, and according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the user plane network element, it can determine The tunnel used when the network element on the user plane sends the data information, and then the first device can send the data information to the network element on the user plane through the tunnel.
S1020,用户面网元向第二设备发送数据信息。S1020. The user plane network element sends data information to the second device.
示例性地,用户面网元在确定第一设备属于设备组成员的情况下,向第二设备发送数据信息。例如,用户面网元根据该第一设备的属性,确定该第一设备是设备组成员。其中,该属性可以是DNN、会话类型、S-NSSAI,或者,该属性也可以是第一设备的子地址段,本申请对此不作限定。Exemplarily, the user plane network element sends data information to the second device when it is determined that the first device belongs to a device group member. For example, the user plane network element determines that the first device is a device group member according to the attribute of the first device. Wherein, the attribute may be DNN, session type, S-NSSAI, or the attribute may also be the sub-address segment of the first device, which is not limited in this application.
作为一种可能的方式,当用户面网元与第二设备之间的隧道唯一时,用户面网元通过该隧道向第二设备发送数据信息。As a possible manner, when the tunnel between the user plane network element and the second device is unique, the user plane network element sends data information to the second device through the tunnel.
作为又一种可能的方式,用户面网元基于第一路由规则,向第二设备发送该数据信息。其中,该第一路由规则用于指示第二设备的子地址段与第二设备对应的隧道之间的关系。例如,用户面网元确定该数据信息的地址与第二设备的子地址段相同,则根据第二设备的子地址段与第二设备对应的隧道之间的关系,确定用户面网元向第二设备发送该数据信息时的隧道。As yet another possible manner, the user plane network element sends the data information to the second device based on the first routing rule. Wherein, the first routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device. For example, if the user plane network element determines that the address of the data information is the same as the sub-address segment of the second device, then according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, it is determined that the user plane network element sends the data information to the second device. The tunnel used by the second device to send the data information.
应理解,判断数据信息的地址是否与第二设备的子地址段相同,应将数据信息的地址与可作为目的设备的子地址段进行比较,如果数据信息的地址与某个设备的子地址段相同,则可以确定该数据信息为发送至该设备对应的非公共网络,进而根据该设备的子地址段与该设备对应的隧道之间的关系,确定用户面网元向该设备发送数据信息时的隧道。It should be understood that to determine whether the address of the data information is the same as the sub-address segment of the second device, the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address segment of a certain device If they are the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the subaddress segment of the device and the tunnel corresponding to the device, it can be determined that when the user plane network element sends the data information to the device tunnel.
可选地,图10所示的通信方法还包括,第二设备将接收到的数据信息发送至第二非公共网络中的UE,从而完成第一非公共网络与第二非公共网络之间的数据传输。Optionally, the communication method shown in FIG. 10 further includes that the second device sends the received data information to the UE in the second non-public network, thereby completing the communication between the first non-public network and the second non-public network. data transmission.
示例性地,用户面网元接收来自第一设备的数据信息之前,多个设备向公共网络中的控制面网元发送N1消息,该多个设备接收来自控制面网元的N1消息的响应消息,其中,该多个设备包括第一设备和第二设备。Exemplarily, before the user plane network element receives the data information from the first device, multiple devices send an N1 message to the control plane network element in the public network, and the multiple devices receive a response message to the N1 message from the control plane network element , wherein the multiple devices include a first device and a second device.
其中,该N1消息中包括N2消息,该N2消息用于建立多个设备与控制面网元之间的N2无线接口的连接。该N1消息可以用于指示控制面网元对N2消息进行处理。例如,该N1消息本身能够用于指示控制面网元对N2消息进行处理,即若N1消息中包括N2消息,则该N1消息用于指示控制面网元对N2消息进行处理。再例如,该N1消息还包括第一指示信息,该第一指示信息用于指示控制面网元对N2消息进行处理。Wherein, the N1 message includes an N2 message, and the N2 message is used to establish the connection of the N2 wireless interface between multiple devices and the control plane network element. The N1 message may be used to instruct the control plane network element to process the N2 message. For example, the N1 message itself can be used to instruct the control plane network element to process the N2 message, that is, if the N1 message includes the N2 message, the N1 message is used to instruct the control plane network element to process the N2 message. For another example, the N1 message further includes first indication information, where the first indication information is used to instruct the control plane network element to process the N2 message.
其中,该N1消息的响应消息可以包括N2消息的响应消息,该N2消息的响应消息用于表征成功建立多个设备与控制面网元之间的N2无线接口的连接。Wherein, the response message of the N1 message may include a response message of the N2 message, and the response message of the N2 message is used to indicate that the connection of the N2 wireless interface between multiple devices and the control plane network element is successfully established.
基于上述技术方案,能够建立非公共网络与公共网络之间的N2无线接口的连接,进而非公共网络与公共网络之间能够通过无线接口通信。不同非公共网络中的终端设备进行跨域数据信息传输时,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Based on the above technical solution, the N2 wireless interface connection between the non-public network and the public network can be established, and then the non-public network and the public network can communicate through the wireless interface. When terminal devices in different non-public networks transmit cross-domain data information, compared with the way of cross-domain transmission through wired private network channels, the universality and flexibility are improved, and the cost is reduced. The way that the third-party server performs cross-domain transmission can improve the security of data transmission.
应理解,上述的图10描述了本申请实施例提供的一种通信方法的示意图,下文将结合图11至14对本申请实施例提供的一种通信方法在具体应用场景下的应用进行进一步的 描述。It should be understood that the above-mentioned Figure 10 describes a schematic diagram of a communication method provided by the embodiment of the present application, and the application of a communication method provided by the embodiment of the present application in specific application scenarios will be further described below in conjunction with Figures 11 to 14 .
图11是根据本申请一实施例提供的通信方法的示意性流程图。如图11所示,第一非公共网络中的设备包括第一设备和UE,其中,第一设备包括RAN、UPF、CPE,公共网络中的设备包括AMF。Fig. 11 is a schematic flowchart of a communication method provided according to an embodiment of the present application. As shown in FIG. 11 , the devices in the first non-public network include the first device and UE, where the first device includes RAN, UPF, and CPE, and the devices in the public network include AMF.
S1101,CPE与AMF之间建立N1NAS连接。S1101. An N1NAS connection is established between the CPE and the AMF.
例如,CPE向AMF发起N1NAS连接建立请求,AMF根据CPE的请求,与CPE建立N1NAS连接。For example, the CPE initiates an N1NAS connection establishment request to the AMF, and the AMF establishes an N1NAS connection with the CPE according to the request of the CPE.
S1102,第一设备中的网元完成基本信息配置。S1102. The network element in the first device completes basic information configuration.
其中,基本信息例如可以包括但不限于:基本运行参数、地址配置,等等。Wherein, the basic information may include, but not limited to, for example: basic operating parameters, address configuration, and so on.
举例来说,CPE建立缺省用户面,RAN和UPF通过CPE的缺省用户面从OAM中获取基本信息,完成基本信息的配置。For example, the CPE establishes a default user plane, and the RAN and UPF obtain basic information from the OAM through the default user plane of the CPE to complete configuration of the basic information.
S1103,UE向RAN发送注册请求信息。S1103, the UE sends registration request information to the RAN.
其中,该注册请求信息可用于建立UE与AMF的N1NAS连接。Wherein, the registration request information can be used to establish the N1NAS connection between the UE and the AMF.
S1104,RAN选择AMF。S1104, the RAN selects the AMF.
示例地,RAN可以根据UE的位置信息,选择与UE在一个区域中的AMF。例如,RAN可能连接一个或多个AMF,该一个或者多个AMF位于公共网络中的不同位置,此时RAN可以根据UE的位置信息,选择与UE在一个区域中的AMF。For example, the RAN may select an AMF in the same area as the UE according to the location information of the UE. For example, the RAN may be connected to one or more AMFs, and the one or more AMFs are located in different locations in the public network. At this time, the RAN may select an AMF in the same area as the UE according to the location information of the UE.
S1105,RAN向CPE发送N2消息。S1105, the RAN sends an N2 message to the CPE.
其中,该N2消息用于建立RAN与AMF之间的N2无线接口的连接。Wherein, the N2 message is used to establish the connection of the N2 radio interface between the RAN and the AMF.
S1106,CPE向AMF发送N1消息。S1106, the CPE sends an N1 message to the AMF.
其中,该N1消息可以包括N2消息。该N1消息可以用于指示控制面网元对N2消息进行处理。Wherein, the N1 message may include an N2 message. The N1 message may be used to instruct the control plane network element to process the N2 message.
一种可能的方式,该N1消息本身能够用于指示控制面网元对N2消息进行处理,即若N1消息中包括N2消息,则该N1消息用于指示控制面网元对N2消息进行处理。In a possible manner, the N1 message itself can be used to instruct the control plane network element to process the N2 message, that is, if the N1 message includes the N2 message, the N1 message is used to instruct the control plane network element to process the N2 message.
另一种可能的方式,该N1消息还包括第一指示信息,该第一指示信息用于指示控制面网元对N2消息进行处理。In another possible manner, the N1 message further includes first indication information, where the first indication information is used to instruct the control plane network element to process the N2 message.
S1107,AMF向CPE发送N1消息的响应消息。S1107, the AMF sends a response message of the N1 message to the CPE.
其中,该N1消息的响应消息可以包括N2消息的响应消息。其中,该N2消息的响应消息用于表征成功建立RAN与AMF之间的N2无线接口的连接,该N1消息的响应消息可以用于指示CPE将N2消息的响应消息发送给RAN。Wherein, the response message of the N1 message may include the response message of the N2 message. Wherein, the response message of the N2 message is used to represent the successful establishment of the connection of the N2 radio interface between the RAN and the AMF, and the response message of the N1 message may be used to instruct the CPE to send the response message of the N2 message to the RAN.
一种可能的方式,该N1消息的响应消息本身能够用于指示CPE将N2消息的响应消息发送给RAN,即若N1消息的响应消息中包括N2消息的响应消息,则该N1消息的响应消息用于指示CPE将N2消息的响应消息发送给RAN。In a possible manner, the response message of the N1 message itself can be used to instruct the CPE to send the response message of the N2 message to the RAN, that is, if the response message of the N1 message includes the response message of the N2 message, the response message of the N1 message It is used to instruct the CPE to send the response message of the N2 message to the RAN.
另一种可能的方式,该N1消息的响应消息还包括第二指示信息,该第二指示信息用于指示CPE将N2消息的响应消息发送给RAN。In another possible manner, the response message of the N1 message further includes second indication information, where the second indication information is used to instruct the CPE to send the response message of the N2 message to the RAN.
S1108,CPE向RAN发送N2消息的响应消息。S1108, the CPE sends a response message of the N2 message to the RAN.
S1109,成功建立RAN与AMF之间的N2接口无线连接。S1109, successfully establishing a wireless connection on the N2 interface between the RAN and the AMF.
示例性地,RAN接收到N2消息的响应消息后,确认RAN与AMF之间的N2接口的无线连接已经建立。Exemplarily, after receiving the response message of the N2 message, the RAN confirms that the wireless connection of the N2 interface between the RAN and the AMF has been established.
S1110,建立UE与AMF之间的N1NAS连接。S1110. Establish an N1NAS connection between the UE and the AMF.
例如,UE可以向RAN发送N1消息;RAN向CPE发送N2消息,该N2消息中包括UE发送的N1消息;CPE向AMF发送N1消息,该N1消息中包括N2消息以及UE发送的N1消息,AMF根据CPE发送的N1消息,与UE建立N1NAS连接。For example, the UE can send an N1 message to the RAN; the RAN sends an N2 message to the CPE, the N2 message includes the N1 message sent by the UE; the CPE sends an N1 message to the AMF, the N1 message includes the N2 message and the N1 message sent by the UE, and the AMF According to the N1 message sent by the CPE, an N1NAS connection is established with the UE.
应理解,上述技术方案仅仅是第一非公共网络中的第一设备与公共网络之间建立的N2接口无线连接,任何非公共网络中的多个设备都可以与公共网络之间建立N2接口无线连接,从而不同非公共网络中的多个设备能够通过无线接口通信。It should be understood that the above technical solution is only an N2 interface wireless connection established between the first device in the first non-public network and the public network, and multiple devices in any non-public network can establish an N2 interface wireless connection with the public network. connection so that multiple devices on different non-public networks can communicate over a wireless interface.
通过上述技术方案,能够建立非公共网络中的RAN与公共网络中的AMF之间的N2无线接口的连接,进而使得非公共网络与公共网络之间能够通过无线接口通信,后续不同非公共网络中的终端设备进行跨域数据信息传输时,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Through the above technical solution, the N2 wireless interface connection between the RAN in the non-public network and the AMF in the public network can be established, so that the non-public network and the public network can communicate through the wireless interface. Compared with the method of cross-domain transmission through wired private network channels, when the terminal equipment of the terminal device is used for cross-domain data information transmission, it improves the universality and flexibility, and reduces the cost. The way of transmission can improve the security of data transmission.
图12是根据本申请另一实施例提供的通信方法的示意性流程图。如图12所示,第一非公共网络中的设备包括第一设备、UE1、DN,其中,第一设备包括RAN1、UPF1、CPE1。公共网络中的设备包括CP、UPF2,其中,CP包括SMF、PCF、统一数据管理(unified data management,UDM)、统一数据库(unified data repository,UDR)。Fig. 12 is a schematic flowchart of a communication method provided according to another embodiment of the present application. As shown in FIG. 12 , the devices in the first non-public network include a first device, UE1, and DN, where the first device includes RAN1, UPF1, and CPE1. The devices in the public network include CP and UPF2, wherein the CP includes SMF, PCF, unified data management (unified data management, UDM), and unified database (unified data repository, UDR).
在本申请实施例中,第二非公共网络中的设备包括第二设备和UE2,其中第二设备包括RAN2、UPF3、CPE2。In this embodiment of the present application, the devices in the second non-public network include the second device and UE2, where the second device includes RAN2, UPF3, and CPE2.
应理解,该第二非公共网络并不限定是一个特定的非公共网络,任何可作为目的非公共网络的非公共网络都可以称为第二非公共网络。同样地,该第二设备并不限定是一个特定的设备,CPE2并不限定是一个特定的网元,任何可作为目的非公共网络中的设备都可以称为第二设备,本申请实施例对此不作限定。It should be understood that the second non-public network is not limited to a specific non-public network, and any non-public network that can be used as a target non-public network may be called a second non-public network. Similarly, the second device is not limited to a specific device, and CPE2 is not limited to a specific network element. Any device that can be used as a destination non-public network can be called a second device. This is not limited.
S1200,UPF1与CP之间建立N4接口的无线连接。In S1200, a wireless connection of the N4 interface is established between the UPF1 and the CP.
示例性地,UPF1与SMF之间建立N4接口的无线连接。Exemplarily, a wireless connection of the N4 interface is established between the UPF1 and the SMF.
S1201,AF向CP发送建组请求信息。S1201. The AF sends group establishment request information to the CP.
示例性地,该建组请求信息包括组标识、多个设备的标识、路由信息,该路由信息包括多个设备的标识与多个设备的地址之间的关系,该多个设备包括第一设备和第二设备。例如,该路由信息包括多个CPE的标识与多个CPE的地址之间的关系,该多个CPE包括CPE1和CPE2。Exemplarily, the group building request information includes a group identifier, identifiers of multiple devices, and routing information, where the routing information includes a relationship between identifiers of multiple devices and addresses of multiple devices, and the multiple devices include a first device and a second device. For example, the routing information includes the relationship between identifiers of multiple CPEs and addresses of multiple CPEs, where the multiple CPEs include CPE1 and CPE2.
S1202,CP建立设备组。S1202, the CP establishes a device group.
示例性地,CP根据多个设备的属性对该多个设备进行分组,例如,CP可以根据DNN、会话类型、S-NSSAI对该多个设备进行分组。再例如,CP可以根据该多个设备的地址段对该多个设备进行分组。本申请对此不作限定。该多个设备包括第一设备和第二设备。Exemplarily, the CP groups the multiple devices according to their attributes, for example, the CP may group the multiple devices according to DNN, session type, and S-NSSAI. For another example, the CP may group the multiple devices according to the address segments of the multiple devices. This application is not limited to this. The plurality of devices includes a first device and a second device.
应理解,该多个设备的地址段可以包括一个设备的地址,也可以包括多个设备的地址,本申请实施例对此并不限定。It should be understood that the address segment of the multiple devices may include the address of one device, or may include the addresses of multiple devices, which is not limited in this embodiment of the present application.
示例性地,UDM或者UDR保存分组信息。Exemplarily, UDM or UDR stores group information.
S1203,建立隧道。S1203. Establish a tunnel.
示例性地,公共网络建立第一非公共网络中的第一设备与公共网络之间的隧道。Exemplarily, the public network establishes a tunnel between the first device in the first non-public network and the public network.
应理解,在本申请实施例中,公共网络还可以建立第二非公共网络中的第二设备与公 共网络之间的隧道,从而使得第一非公网络与第二非公共网络之间能够通过公共网络建立的隧道完成数据传输。It should be understood that in this embodiment of the present application, the public network may also establish a tunnel between the second device in the second non-public network and the public network, so that the first non-public network and the second non-public network can pass through The tunnel established by the public network completes the data transmission.
S1204,CP确定目标路由规则。S1204, the CP determines the target routing rule.
一种可能的方式,SMF根据路由信息,确定目标路由规则。该目标路由规则包括第一路由规则和/或第二路由规则,其中,第一路由规则用于指示第二设备的子地址段与第二设备对应的隧道之间的关系,第二路由规则用于指示第二设备的子地址段与UPF2对应的隧道之间的关系。In one possible way, the SMF determines the target routing rule according to the routing information. The target routing rule includes a first routing rule and/or a second routing rule, wherein the first routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, and the second routing rule uses Indicates the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2.
另一种可能的方式,PCF可以根据路由信息,确定目标路由规则。该目标路由规则包括第一路由规则和/或第二路由规则,其中,第一路由规则用于指示第二设备的子地址段与第二设备对应的隧道之间的关系,第二路由规则用于指示第二设备的子地址段与UPF2对应的隧道之间的关系。PCF将确定的目标路由规则发送给SMF。In another possible manner, the PCF may determine the target routing rule according to the routing information. The target routing rule includes a first routing rule and/or a second routing rule, wherein the first routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, and the second routing rule uses Indicates the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2. The PCF sends the determined target routing rules to the SMF.
应理解,上述第一路由规则和/或第二路由规则可以是SMF或PCF生成的,或者,第一路由规则和/或第二路由规则可以是协议预定义的,本申请实施例对此不作任何限定。It should be understood that the above-mentioned first routing rule and/or second routing rule may be generated by SMF or PCF, or the first routing rule and/or second routing rule may be predefined by the protocol, which is not made in this embodiment of the present application. Any restrictions.
还应理解,第二路由规则所指示的第二设备的子地址段与UPF2对应的隧道之间的关系,并不是指某一确定设备的子地址段与UPF2对应的隧道之间的关系,任何可作为目的设备的子地址段都可被称为第二设备的子地址段,也就是说,第二路由规则所指示的第二设备的子地址段与UPF2对应的隧道之间的关系,是多个可作为目的设备的子地址段与UPF2对应的隧道之间的关系。It should also be understood that the relationship between the sub-address segment of the second device indicated by the second routing rule and the tunnel corresponding to UPF2 does not refer to the relationship between the sub-address segment of a certain device and the tunnel corresponding to UPF2. The sub-address segment that can be used as the destination device can be called the sub-address segment of the second device, that is to say, the relationship between the sub-address segment of the second device indicated by the second routing rule and the tunnel corresponding to UPF2 is The relationship between multiple sub-address segments that can be used as destination devices and the tunnel corresponding to UPF2.
还应理解,第一路由规则所指示的第二设备的子地址段与第二设备对应的隧道之间的关系,并不是指某一确定设备的子地址段与该设备对应的隧道之间的关系,任何可作为目的设备的子地址段都可被称为第二设备的子地址段,也就是说,第一路由规则所指示的第二设备的子地址段与第二设备对应的隧道之间的关系,是多个可作为目的设备的地址段与该目的设备对应的隧道之间的关系。It should also be understood that the relationship between the sub-address segment of the second device indicated by the first routing rule and the tunnel corresponding to the second device does not refer to the relationship between the sub-address segment of a certain device and the tunnel corresponding to the device. relationship, any sub-address segment that can be used as the destination device can be called the sub-address segment of the second device, that is, the distance between the sub-address segment of the second device indicated by the first routing rule and the tunnel corresponding to the second device The relationship between is the relationship between multiple address segments that can be used as the destination device and the tunnel corresponding to the destination device.
S1205,CP向UPF2发送第一路由规则。S1205. The CP sends the first routing rule to UPF2.
示例性地,当SMF确定设备组成员的个数多于两个时,SMF向UPF2发送第一路由规则。Exemplarily, when the SMF determines that there are more than two device group members, the SMF sends the first routing rule to UPF2.
S1206,CP向UPF1发送第二路由规则。S1206. The CP sends the second routing rule to UPF1.
示例性地,当SMF确定第一设备所属的设备组个数多于一个时,SMF向UPF1发送第二路由规则。Exemplarily, when the SMF determines that the number of device groups to which the first device belongs is more than one, the SMF sends the second routing rule to UPF1.
应理解,本申请实施例并不限定S1205与S1206的顺序,示例性地,CP可以先向UPF2发送第一路由规则,再向UPF1发送第二路由规则;或者,CP可以先向UPF1发送第二路由规则,再向UPF2发送第一路由规则;或者,CP向UPF2发送第一路由规则与向UPF1发送第二路由规则是同时的。It should be understood that this embodiment of the present application does not limit the order of S1205 and S1206. For example, the CP may first send the first routing rule to UPF2, and then send the second routing rule to UPF1; or, the CP may first send the second routing rule to UPF1. routing rules, and then send the first routing rule to UPF2; or, the CP sends the first routing rule to UPF2 and sends the second routing rule to UPF1 at the same time.
S1207,UE1向RAN1发送数据信息。S1207, UE1 sends data information to RAN1.
S1208,RAN1向UPF1发送该数据信息。S1208, RAN1 sends the data information to UPF1.
S1209,UPF1确定该数据信息为跨域数据信息。即该数据信息的目的设备为第一非公共网络之外的非公共网络(如第二非公共网络)中的设备。S1209, UPF1 determines that the data information is cross-domain data information. That is, the destination device of the data information is a device in a non-public network (such as the second non-public network) other than the first non-public network.
作为一种可能的方式,UPF1根据本地预配置,确定该数据信息为跨域数据信息。例如,UPF1可以预先配置转发规则,当数据信息的地址与第一设备的子地址段不同,则说 明该数据信息为跨域数据信息;当数据信息的地址与第一设备的子地址段相同,则说明该数据信息为本地数据信息,此时UPF1将该本地数据信息发送至第一非公共网络中的DN,即可完成数据信息的本地传输。As a possible manner, UPF1 determines that the data information is cross-domain data information according to local pre-configuration. For example, UPF1 can pre-configure forwarding rules. When the address of the data information is different from the sub-address segment of the first device, it means that the data information is cross-domain data information; when the address of the data information is the same as the sub-address segment of the first device, It means that the data information is local data information, and at this time UPF1 sends the local data information to the DN in the first non-public network, and then the local transmission of the data information can be completed.
作为又一种可能的方式,UPF1根据该数据信息的地址与第二路由规则,确定该数据信息为跨域数据信息。例如,UPF1确定该数据信息的地址与第二设备的子地址段相同,则说明该数据信息为跨域数据信息,并且根据第二设备的子地址段与UPF2对应的隧道之间的关系,可以确定CPE1向UPF2发送该数据信息时的隧道。As yet another possible manner, UPF1 determines that the data information is cross-domain data information according to the address of the data information and the second routing rule. For example, if UPF1 determines that the address of the data information is the same as the sub-address segment of the second device, it indicates that the data information is cross-domain data information, and according to the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2, it can Determine the tunnel when CPE1 sends the data information to UPF2.
应理解,判断数据信息的地址是否与第二设备的子地址段相同,应将数据信息的地址与可作为目的设备的子地址段进行比较,如果数据信息的地址与某个目的设备的子地址段相同,则可以确定该数据信息为发送至该目的设备对应的非公共网络;反之,如果数据信息的地址与可作为目的设备的子地址段都不相同,则说明该数据信息为本地数据信息,此时UPF1将该本地数据信息发送至第一非公共网络中的DN,即可完成数据信息的本地传输。It should be understood that to determine whether the address of the data information is the same as the sub-address segment of the second device, the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address of a certain destination device If the segments are the same, it can be determined that the data information is sent to the non-public network corresponding to the destination device; on the contrary, if the address of the data information is different from the sub-address segment that can be used as the destination device, it means that the data information is local data information , at this time UPF1 sends the local data information to the DN in the first non-public network, and the local transmission of the data information can be completed.
S1210,UPF1向CPE1发送数据信息。S1210, UPF1 sends data information to CPE1.
S1211,UPF1向CPE1发送第三指示信息。S1211. UPF1 sends third indication information to CPE1.
其中,该第三指示信息用于指示CPE1向UPF2发送该数据信息时的隧道。Wherein, the third indication information is used to indicate the tunnel when CPE1 sends the data information to UPF2.
应理解,本申请实施例并不限定S1210与S1211的顺序,示例性地,UPF1可以先向CPE1发送数据信息,再向CPE1发送第三指示信息;或者,UPF1可以同时向CPE1发送数据信息和第三指示信息。It should be understood that the embodiment of the present application does not limit the order of S1210 and S1211. For example, UPF1 may first send data information to CPE1, and then send third indication information to CPE1; or, UPF1 may simultaneously send data information and the third instruction information to CPE1. 3. Instructions.
S1212,CPE1向UPF2发送数据信息。S1212, CPE1 sends data information to UPF2.
作为一种可能的方式,当CPE1与UPF2之间的隧道唯一时,CPE1通过该隧道向UPF2发送数据信息。As a possible manner, when there is only one tunnel between CPE1 and UPF2, CPE1 sends data information to UPF2 through the tunnel.
作为又一种可能的方式,CPE1根据第三指示信息指示的隧道向UPF2发送数据信息。As yet another possible manner, CPE1 sends data information to UPF2 according to the tunnel indicated by the third indication information.
S1213,UPF2确定第一设备是设备组成员。S1213, UPF2 determines that the first device is a member of the device group.
示例性地,UPF2根据该第一设备的属性,确定该第一设备是设备组成员。例如,该属性可以是DNN、会话类型、S-NSSAI,再例如,该属性可以是第一设备的子地址段,本申请对此不作限定。Exemplarily, UPF2 determines that the first device is a device group member according to the attribute of the first device. For example, the attribute may be DNN, session type, and S-NSSAI. For another example, the attribute may be the sub-address segment of the first device, which is not limited in this application.
可选地,图12所示的通信方法还包括:UPF2向CPE2发送该数据信息,CPE2将接收到的数据信息发送至UPF3,UPF3向RAN2发送该数据信息,RAN2向UE2发送该数据信息,从而完成第一非公共网络与第二非公共网络之间的数据传输。Optionally, the communication method shown in FIG. 12 further includes: UPF2 sends the data information to CPE2, CPE2 sends the received data information to UPF3, UPF3 sends the data information to RAN2, and RAN2 sends the data information to UE2, thereby Complete data transmission between the first non-public network and the second non-public network.
作为一种可能的方式,当UPF2与CPE2之间的隧道唯一时,UPF2通过该隧道向CPE2发送数据信息。As a possible way, when there is only one tunnel between UPF2 and CPE2, UPF2 sends data information to CPE2 through the tunnel.
作为又一种可能的方式,UPF2基于第一路由规则,向CPE2发送该数据信息。例如,UPF2确定该数据信息的地址与第二设备的子地址段相同,则根据第二设备的子地址段与第二设备对应的隧道之间的关系,确定UPF2向CPE2发送该数据信息时的隧道。As yet another possible manner, UPF2 sends the data information to CPE2 based on the first routing rule. For example, if UPF2 determines that the address of the data information is the same as the sub-address segment of the second device, then according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, determine the time when UPF2 sends the data information to CPE2 tunnel.
应理解,判断数据信息的地址是否与第二设备的子地址段相同,应将数据信息的地址与可作为目的设备的子地址段进行比较,如果数据信息的地址与某个设备的子地址段相同,则可以确定该数据信息为发送至该设备对应的非公共网络,进而根据该设备的子地址段与该设备对应的隧道之间的关系,确定UPF2向该设备中的CPE发送数据信息时的隧道。It should be understood that to determine whether the address of the data information is the same as the sub-address segment of the second device, the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address segment of a certain device If they are the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the subaddress segment of the device and the tunnel corresponding to the device, it is determined that when UPF2 sends data information to the CPE in the device tunnel.
基于上述技术方案,不同非公共网络中的终端设备进行跨域数据信息传输时,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Based on the above technical solution, when terminal devices in different non-public networks transmit cross-domain data information, compared with the way of cross-domain transmission through wired private network channels, the universality and flexibility are improved, and the cost is reduced. Compared with the method of cross-domain transmission through a third-party server, the security of data transmission can be improved.
图13是根据本申请另一实施例提供的通信方法的示意性流程图。如图13所示,第一非公共网络中的设备包括第一设备、UE1、DN,其中,第一设备包括RAN1、UPF1、CPE1。公共网络中的设备包括CP、UPF2,其中,CP包括SMF、PCF、统一数据管理(unified data management,UDM)、统一数据库(unified data repository,UDR)。Fig. 13 is a schematic flowchart of a communication method provided according to another embodiment of the present application. As shown in FIG. 13 , the devices in the first non-public network include a first device, UE1, and DN, where the first device includes RAN1, UPF1, and CPE1. The devices in the public network include CP and UPF2, wherein the CP includes SMF, PCF, unified data management (unified data management, UDM), and unified database (unified data repository, UDR).
在本申请实施例中,第二非公共网络中的设备包括第二设备和UE2,其中第二设备包括RAN2、UPF3、CPE2。In this embodiment of the present application, the devices in the second non-public network include the second device and UE2, where the second device includes RAN2, UPF3, and CPE2.
应理解,该第二非公共网络并不限定是一个特定的非公共网络,任何可作为目的非公共网络的非公共网络都可以称为第二非公共网络。同样地,该第二设备并不限定是一个特定的设备,CPE2并不限定是一个特定的网元,任何可作为目的非公共网络中的设备都可以称为第二设备,本申请实施例对此不作限定。It should be understood that the second non-public network is not limited to a specific non-public network, and any non-public network that can be used as a target non-public network may be called a second non-public network. Similarly, the second device is not limited to a specific device, and CPE2 is not limited to a specific network element. Any device that can be used as a destination non-public network can be called a second device. This is not limited.
S1300,UPF1与SMF之间建立N4接口的无线连接。On the S1300, establish a wireless connection on the N4 interface between the UPF1 and the SMF.
示例性地,UPF1与SMF之间建立N4接口的无线连接。Exemplarily, a wireless connection of the N4 interface is established between the UPF1 and the SMF.
S1301,AF向CP发送建组请求信息。S1301. The AF sends group establishment request information to the CP.
示例性地,该建组请求信息包括组标识、多个设备的标识、路由信息,该路由信息包括多个设备的标识与多个设备的地址之间的关系,该多个设备包括第一设备和第二设备。例如,该路由信息包括多个CPE的标识与多个CPE的地址之间的关系,该多个CPE包括CPE1和CPE2。Exemplarily, the group building request information includes a group identifier, identifiers of multiple devices, and routing information, where the routing information includes a relationship between identifiers of multiple devices and addresses of multiple devices, and the multiple devices include a first device and a second device. For example, the routing information includes the relationship between identifiers of multiple CPEs and addresses of multiple CPEs, where the multiple CPEs include CPE1 and CPE2.
S1302,CP建立设备组。S1302, the CP establishes a device group.
示例性地,CP根据多个设备的属性对该多个设备进行分组,例如,CP可以根据DNN、会话类型、S-NSSAI对该多个设备进行分组。再例如,CP可以根据该多个设备的地址段对该多个设备进行分组。本申请对此不作限定。该多个设备包括第一设备和第二设备。Exemplarily, the CP groups the multiple devices according to their attributes, for example, the CP may group the multiple devices according to DNN, session type, and S-NSSAI. For another example, the CP may group the multiple devices according to the address segments of the multiple devices. This application is not limited to this. The plurality of devices includes a first device and a second device.
应理解,该多个设备的地址段可以包括一个设备的地址,也可以包括多个设备的地址,本申请实施例对此并不限定。It should be understood that the address segment of the multiple devices may include the address of one device, or may include the addresses of multiple devices, which is not limited in this embodiment of the present application.
示例性地,UDM或者UDR保存分组信息。Exemplarily, UDM or UDR stores group information.
S1303,建立隧道。S1303. Establish a tunnel.
示例性地,公共网络建立第一非公共网络中的第一设备与公共网络之间的隧道。Exemplarily, the public network establishes a tunnel between the first device in the first non-public network and the public network.
应理解,在本申请实施例中,公共网络还可以建立第二非公共网络中的第二设备与公共网络之间的隧道,从而使得第一非公网络与第二非公共网络之间能够通过公共网络建立的隧道完成数据传输。It should be understood that in this embodiment of the present application, the public network may also establish a tunnel between the second device in the second non-public network and the public network, so that the first non-public network and the second non-public network can pass through The tunnel established by the public network completes the data transmission.
S1304,CP确定目标路由规则。S1304, the CP determines the target routing rule.
一种可能的方式,SMF根据路由信息,确定目标路由规则。该目标路由规则包括第一路由规则和/或第二路由规则和/或第三路由规则,其中,第一路由规则用于指示第二设备的子地址段与第二设备对应的隧道之间的关系,第二路由规则用于指示第二设备的子地址段,第三路由规则用于指示第二设备的子地址段与UPF2对应的隧道之间的关系。In one possible way, the SMF determines the target routing rule according to the routing information. The target routing rule includes a first routing rule and/or a second routing rule and/or a third routing rule, where the first routing rule is used to indicate the distance between the sub-address segment of the second device and the tunnel corresponding to the second device The second routing rule is used to indicate the sub-address segment of the second device, and the third routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2.
另一种可能的方式,PCF可以根据路由信息,确定目标路由规则。该目标路由规则包括第一路由规则和/或第二路由规则和/或第三路由规则,其中,第一路由规则用于指示第 二设备的子地址段与第二设备对应的隧道之间的关系,第二路由规则用于指示第二设备的子地址段,第三路由规则用于指示第二设备的子地址段与UPF2对应的隧道之间的关系。PCF将确定的目标路由规则发送给SMF。In another possible manner, the PCF may determine the target routing rule according to the routing information. The target routing rule includes a first routing rule and/or a second routing rule and/or a third routing rule, where the first routing rule is used to indicate the distance between the sub-address segment of the second device and the tunnel corresponding to the second device The second routing rule is used to indicate the sub-address segment of the second device, and the third routing rule is used to indicate the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2. The PCF sends the determined target routing rules to the SMF.
应理解,上述第一路由规则和/或第二路由规则和/或第三路由规则可以是SMF或PCF生成的,或者,第一路由规则和/或第二路由规则和/或第三路由规则可以是协议预定义的,本申请实施例对此不作任何限定。It should be understood that the first routing rule and/or the second routing rule and/or the third routing rule may be generated by SMF or PCF, or the first routing rule and/or the second routing rule and/or the third routing rule It may be predefined by the protocol, which is not limited in this embodiment of the application.
还应理解,第三路由规则所指示的第二设备的子地址段与UPF2对应的隧道之间的关系,并不是指某一确定设备的子地址段与UPF2对应的隧道之间的关系,任何可作为目的设备的子地址段都可被称为第二设备的子地址段,也就是说,第二路由规则所指示的第二设备的子地址段与UPF2对应的隧道之间的关系,是多个可作为目的设备的子地址段与UPF2对应的隧道之间的关系。It should also be understood that the relationship between the sub-address segment of the second device indicated by the third routing rule and the tunnel corresponding to UPF2 does not refer to the relationship between the sub-address segment of a certain device and the tunnel corresponding to UPF2. The sub-address segment that can be used as the destination device can be called the sub-address segment of the second device, that is to say, the relationship between the sub-address segment of the second device indicated by the second routing rule and the tunnel corresponding to UPF2 is The relationship between multiple sub-address segments that can be used as destination devices and the tunnel corresponding to UPF2.
还应理解,第二路由规则所指示的第二设备的子地址段,并不是指某一确定设备的子地址段,任何可作为目的设备的子地址段都可被称为第二设备的子地址段。It should also be understood that the sub-address segment of the second device indicated by the second routing rule does not refer to the sub-address segment of a certain device, and any sub-address segment that can be used as a destination device can be called a sub-address segment of the second device. address segment.
还应理解,第一路由规则所指示的第二设备的子地址段与第二设备对应的隧道之间的关系,并不是指某一确定设备的子地址段与该设备对应的隧道之间的关系,任何可作为目的设备的子地址段都可被称为第二设备的子地址段,也就是说,第一路由规则所指示的第二设备的子地址段与第二设备对应的隧道之间的关系,是多个可作为目的设备的地址段与该目的设备对应的隧道之间的关系。It should also be understood that the relationship between the sub-address segment of the second device indicated by the first routing rule and the tunnel corresponding to the second device does not refer to the relationship between the sub-address segment of a certain device and the tunnel corresponding to the device. relationship, any sub-address segment that can be used as the destination device can be called the sub-address segment of the second device, that is, the distance between the sub-address segment of the second device indicated by the first routing rule and the tunnel corresponding to the second device The relationship between is the relationship between multiple address segments that can be used as the destination device and the tunnel corresponding to the destination device.
S1305,CP向UPF2发送第一路由规则。S1305. The CP sends the first routing rule to UPF2.
示例性地,当SMF确定设备组成员的个数多于两个时,SMF向UPF2发送第一路由规则。Exemplarily, when the SMF determines that there are more than two device group members, the SMF sends the first routing rule to UPF2.
S1306,CP向UPF1发送第二路由规则。S1306. The CP sends the second routing rule to UPF1.
示例性地,SMF向UPF1发送第二路由规则。Exemplarily, the SMF sends the second routing rule to UPF1.
S1307,CP向CPE1发送第三路由规则。S1307, the CP sends the third routing rule to the CPE1.
示例性地,当SMF确定第一设备所属的设备组个数多于一个时,SMF向CPE1发送第三路由规则。Exemplarily, when the SMF determines that the number of device groups to which the first device belongs is more than one, the SMF sends the third routing rule to CPE1.
应理解,本申请实施例并不限定S1305-S1307的顺序,示例性地,CP可以先向UPF2发送第一路由规则,再向UPF1发送第二路由规则,最后向CPE1发送第三路由规则;或者,CP可以先向UPF1发送第二路由规则,再向UPF2发送第一路由规则,最后向CPE1发送第三路由规则;或者,CP向UPF2发送第一路由规则、向UPF1发送第二路由规则以及向CPE1发送第三路由规则是同时的。It should be understood that the embodiment of the present application does not limit the order of S1305-S1307. For example, the CP may first send the first routing rule to UPF2, then send the second routing rule to UPF1, and finally send the third routing rule to CPE1; or , the CP can first send the second routing rule to UPF1, then send the first routing rule to UPF2, and finally send the third routing rule to CPE1; or, the CP sends the first routing rule to UPF2, the second routing rule to UPF1, and the CPE1 sends the third routing rule at the same time.
S1308,UE1向RAN1发送数据信息。S1308, UE1 sends data information to RAN1.
S1309,RAN1向UPF1发送该数据信息。S1309, RAN1 sends the data information to UPF1.
S1310,UPF1确定该数据信息为跨域数据信息。即该数据信息的目的设备为第一非公共网络之外的非公共网络(如第二非公共网络)中的设备。S1310, UPF1 determines that the data information is cross-domain data information. That is, the destination device of the data information is a device in a non-public network (such as the second non-public network) other than the first non-public network.
作为一种可能的方式,UPF1根据本地预配置,确定该数据信息为跨域数据信息。例如,UPF1可以预先配置转发规则,当数据信息的地址与第一设备的子地址段不同,则说明该数据信息为跨域数据信息;当数据信息的地址与第一设备的子地址段相同,则说明该数据信息为本地数据信息,此时UPF1将该本地数据信息发送至第一非公共网络中的DN, 即可完成数据信息的本地传输。As a possible manner, UPF1 determines that the data information is cross-domain data information according to local pre-configuration. For example, UPF1 can pre-configure forwarding rules. When the address of the data information is different from the sub-address segment of the first device, it means that the data information is cross-domain data information; when the address of the data information is the same as the sub-address segment of the first device, It means that the data information is local data information, and at this time, UPF1 sends the local data information to the DN in the first non-public network, and then the local transmission of the data information can be completed.
作为又一种可能的方式,UPF1根据该数据信息的地址与第二路由规则,确定该数据信息为跨域数据信息。例如,UPF1确定该数据信息的地址与第二设备的子地址段相同,则说明该数据信息为跨域数据信息。As yet another possible manner, UPF1 determines that the data information is cross-domain data information according to the address of the data information and the second routing rule. For example, if UPF1 determines that the address of the data information is the same as the sub-address segment of the second device, it indicates that the data information is cross-domain data information.
应理解,判断数据信息的地址是否与第二设备的子地址段相同,应将数据信息的地址与可作为目的设备的子地址段进行比较,如果数据信息的地址与某个目的设备的子地址段相同,则可以确定该数据信息为发送至该目的设备对应的非公共网络;反之,如果数据信息的地址与可作为目的设备的子地址段都不相同,则说明该数据信息为本地数据信息,此时UPF1将该本地数据信息发送至第一非公共网络中的DN,即可完成数据信息的本地传输。It should be understood that to determine whether the address of the data information is the same as the sub-address segment of the second device, the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address of a certain destination device If the segments are the same, it can be determined that the data information is sent to the non-public network corresponding to the destination device; on the contrary, if the address of the data information is different from the sub-address segment that can be used as the destination device, it means that the data information is local data information , at this time UPF1 sends the local data information to the DN in the first non-public network, and the local transmission of the data information can be completed.
S1311,UPF1向CPE1发送数据信息。S1311, UPF1 sends data information to CPE1.
S1312,CPE1向UPF2发送数据信息。S1312, CPE1 sends data information to UPF2.
作为一种可能的方式,当CPE1与UPF2之间的隧道唯一时,CPE1通过该隧道向UPF2发送数据信息。As a possible manner, when there is only one tunnel between CPE1 and UPF2, CPE1 sends data information to UPF2 through the tunnel.
作为又一种可能的方式,CPE1根据第三路由规则,向UPF2发送数据信息。例如,CPE1确定与数据信息的地址相同的第二设备的子地址段,并根据第二设备的子地址段与UPF2对应的隧道之间的关系,可以确定CPE1向UPF2发送该数据信息时的隧道,进而CPE1通过该隧道向UPF2发送数据信息。As yet another possible manner, CPE1 sends data information to UPF2 according to the third routing rule. For example, CPE1 determines the sub-address segment of the second device that is the same as the address of the data information, and according to the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2, it can determine the tunnel when CPE1 sends the data information to UPF2 , and then CPE1 sends data information to UPF2 through the tunnel.
应理解,CPE1确定与数据信息的地址相同的第二设备的子地址段,可以将数据信息的地址与可作为目的设备的子地址段进行比较,如果数据信息的地址与某个设备的子地址段相同,则可以确定该数据信息为发送至该设备对应的非公共网络,进而根据该设备的子地址段与UPF2对应的隧道之间的关系,可以确定CPE1向UPF2发送该数据信息时的隧道。It should be understood that CPE1 determines the sub-address segment of the second device that is the same as the address of the data information, and can compare the address of the data information with the sub-address segment that can be used as the destination device. segment is the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the sub-address segment of the device and the tunnel corresponding to UPF2, the tunnel when CPE1 sends the data information to UPF2 can be determined .
S1313,UPF2确定第一设备是设备组成员。S1313, UPF2 determines that the first device is a member of the device group.
示例性地,UPF2根据该第一设备的属性,确定该第一设备是设备组成员。例如,该属性可以是DNN、会话类型、S-NSSAI,再例如,该属性可以是第一设备的子地址段,本申请对此不作限定。Exemplarily, UPF2 determines that the first device is a device group member according to the attribute of the first device. For example, the attribute may be DNN, session type, and S-NSSAI. For another example, the attribute may be the sub-address segment of the first device, which is not limited in this application.
可选地,图13所示的通信方法还包括:UPF2向CPE2发送该数据信息,CPE2将接收到的数据信息发送至UPF3,UPF3向RAN2发送该数据信息,RAN2向UE2发送该数据信息,从而完成第一非公共网络与第二非公共网络之间的数据传输。Optionally, the communication method shown in FIG. 13 further includes: UPF2 sends the data information to CPE2, CPE2 sends the received data information to UPF3, UPF3 sends the data information to RAN2, and RAN2 sends the data information to UE2, thereby Complete data transmission between the first non-public network and the second non-public network.
作为一种可能的方式,当UPF2与CPE2之间的隧道唯一时,UPF2通过该隧道向CPE2发送数据信息。As a possible way, when there is only one tunnel between UPF2 and CPE2, UPF2 sends data information to CPE2 through the tunnel.
作为又一种可能的方式,UPF2基于第一路由规则,向CPE2发送该数据信息。例如,UPF2确定该数据信息的地址与第二设备的子地址段相同,则根据第二设备的子地址段与第二设备对应的隧道之间的关系,确定UPF2向CPE2发送该数据信息时的隧道。As yet another possible manner, UPF2 sends the data information to CPE2 based on the first routing rule. For example, if UPF2 determines that the address of the data information is the same as the sub-address segment of the second device, then according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, determine the time when UPF2 sends the data information to CPE2 tunnel.
应理解,判断数据信息的地址是否与第二设备的子地址段相同,应将数据信息的地址与可作为目的设备的子地址段进行比较,如果数据信息的地址与某个设备的子地址段相同,则可以确定该数据信息为发送至该设备对应的非公共网络,进而根据该设备的子地址段与该设备对应的隧道之间的关系,确定UPF2向该设备中的CPE发送数据信息时的隧道。It should be understood that to determine whether the address of the data information is the same as the sub-address segment of the second device, the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address segment of a certain device If they are the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the subaddress segment of the device and the tunnel corresponding to the device, it is determined that when UPF2 sends data information to the CPE in the device tunnel.
基于上述技术方案,不同非公共网络中的终端设备进行跨域数据信息传输时,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Based on the above technical solution, when terminal devices in different non-public networks transmit cross-domain data information, compared with the way of cross-domain transmission through wired private network channels, the universality and flexibility are improved, and the cost is reduced. Compared with the method of cross-domain transmission through a third-party server, the security of data transmission can be improved.
图14是根据本申请另一实施例提供的通信方法的示意性流程图。如图14所示,第一非公共网络中的设备包括第一设备、UE1、DN,其中,第一设备包括RAN1、UPF1、CPE1。公共网络中的设备包括CP、UPF2,其中,CP包括SMF、PCF、统一数据管理(unified data management,UDM)、统一数据库(unified data repository,UDR)。Fig. 14 is a schematic flowchart of a communication method provided according to another embodiment of the present application. As shown in FIG. 14 , the devices in the first non-public network include a first device, UE1, and DN, where the first device includes RAN1, UPF1, and CPE1. The devices in the public network include CP and UPF2, wherein the CP includes SMF, PCF, unified data management (unified data management, UDM), and unified database (unified data repository, UDR).
在本申请实施例中,第二非公共网络中的设备包括第二设备和UE2,其中第二设备包括RAN2、UPF3、CPE2。In this embodiment of the present application, the devices in the second non-public network include the second device and UE2, where the second device includes RAN2, UPF3, and CPE2.
应理解,该第二非公共网络并不限定是一个特定的非公共网络,任何可作为目的非公共网络的非公共网络都可以称为第二非公共网络。同样地,该第二设备并不限定是一个特定的设备,CPE2并不限定是一个特定的网元,任何可作为目的非公共网络中的设备都可以称为第二设备,本申请实施例对此不作限定。It should be understood that the second non-public network is not limited to a specific non-public network, and any non-public network that can be used as a target non-public network may be called a second non-public network. Similarly, the second device is not limited to a specific device, and CPE2 is not limited to a specific network element. Any device that can be used as a destination non-public network can be called a second device. This is not limited.
S1400-S1405与图12中的S1200-S1205类似,在此不再进行赘述。S1400-S1405 are similar to S1200-S1205 in FIG. 12 , and will not be repeated here.
S1406,CP向CPE1发送第二路由规则。S1406. The CP sends the second routing rule to the CPE1.
示例性地,当SMF确定第一设备所属的设备组个数多于一个时,SMF向UPF1发送第二路由规则。Exemplarily, when the SMF determines that the number of device groups to which the first device belongs is more than one, the SMF sends the second routing rule to UPF1.
应理解,本申请实施例并不限定S1405与S1406的顺序,示例性地,CP可以先向UPF2发送第一路由规则,再向CPE1发送第二路由规则;或者,CP可以先向CPE1发送第二路由规则,再向UPF2发送第一路由规则;或者,CP向UPF2发送第一路由规则与向CPE1发送第二路由规则是同时的。It should be understood that the embodiment of the present application does not limit the order of S1405 and S1406. For example, the CP may first send the first routing rule to UPF2, and then send the second routing rule to CPE1; or, the CP may first send the second routing rule to CPE1. routing rules, and then send the first routing rule to UPF2; or, the CP sends the first routing rule to UPF2 and sends the second routing rule to CPE1 at the same time.
S1407,UE1向RAN1发送数据信息。S1407, UE1 sends data information to RAN1.
S1408,RAN1向UPF1发送该数据信息。S1408, RAN1 sends the data information to UPF1.
S1409,UPF1向CPE1发送该数据信息。S1409, UPF1 sends the data information to CPE1.
S1410,CPE1确定该数据信息为跨域数据信息。即该数据信息的目的设备为第一非公共网络之外的非公共网络(如第二非公共网络)中的设备。S1410, CPE1 determines that the data information is cross-domain data information. That is, the destination device of the data information is a device in a non-public network (such as the second non-public network) other than the first non-public network.
作为一种可能的方式,CPE1根据本地预配置,确定该数据信息为跨域数据信息。例如,CPE1可以预先配置转发规则,当数据信息的地址与第一设备的子地址段不同,则说明该数据信息为跨域数据信息;当数据信息的地址与第一设备的子地址段相同,则说明该数据信息为本地数据信息,此时CPE1将该本地数据信息发送至UPF1,UPF1向第一非公共网络中的DN发送该本地数据信息,即可完成数据信息的本地传输。As a possible manner, CPE1 determines that the data information is cross-domain data information according to local preconfiguration. For example, CPE1 can pre-configure forwarding rules. When the address of the data information is different from the sub-address segment of the first device, it means that the data information is cross-domain data information; when the address of the data information is the same as the sub-address segment of the first device, It means that the data information is local data information. At this time, CPE1 sends the local data information to UPF1, and UPF1 sends the local data information to the DN in the first non-public network to complete the local transmission of the data information.
作为又一种可能的方式,CPE1根据该数据信息的地址与第二路由规则,确定该数据信息为跨域数据信息。例如,CPE1确定该数据信息的地址与第二设备的子地址段相同,则说明该数据信息为跨域数据信息。As yet another possible manner, CPE1 determines that the data information is cross-domain data information according to the address of the data information and the second routing rule. For example, if CPE1 determines that the address of the data information is the same as the sub-address segment of the second device, it indicates that the data information is cross-domain data information.
应理解,判断数据信息的地址是否与第二设备的子地址段相同,应将数据信息的地址与可作为目的设备的子地址段进行比较,如果数据信息的地址与某个目的设备的子地址段相同,则可以确定该数据信息为发送至该目的设备对应的非公共网络;反之,如果数据信息的地址与可作为目的设备的子地址段都不相同,则说明该数据信息为本地数据信息,此时CPE1将该本地数据信息发送至UPF1,UPF1向第一非公共网络中的DN发送该本地数 据信息,即可完成数据信息的本地传输。It should be understood that to determine whether the address of the data information is the same as the sub-address segment of the second device, the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address of a certain destination device If the segments are the same, it can be determined that the data information is sent to the non-public network corresponding to the destination device; on the contrary, if the address of the data information is different from the sub-address segment that can be used as the destination device, it means that the data information is local data information , at this time, CPE1 sends the local data information to UPF1, and UPF1 sends the local data information to the DN in the first non-public network, thus completing the local transmission of the data information.
S1411,CPE1向UPF2发送数据信息。S1411, CPE1 sends data information to UPF2.
作为一种可能的方式,当CPE1与UPF2之间的隧道唯一时,CPE1通过该隧道向UPF2发送数据信息。As a possible manner, when there is only one tunnel between CPE1 and UPF2, CPE1 sends data information to UPF2 through the tunnel.
作为又一种可能的方式,CPE1根据第二路由规则,向UPF2发送数据信息。例如,CPE1根据第二设备的子地址段与UPF2对应的隧道之间的关系,确定CPE1向UPF2发送该数据信息时的隧道,并通过该隧道向UPF2发送数据信息。As yet another possible manner, CPE1 sends data information to UPF2 according to the second routing rule. For example, CPE1 determines the tunnel when CPE1 sends the data information to UPF2 according to the relationship between the sub-address segment of the second device and the tunnel corresponding to UPF2, and sends the data information to UPF2 through the tunnel.
S1412,UPF2确定第一设备是设备组成员。S1412, UPF2 determines that the first device is a member of the device group.
示例性地,UPF2根据该第一设备的属性,确定该第一设备是设备组成员。例如,该属性可以是DNN、会话类型、S-NSSAI,再例如,该属性可以是第一设备的子地址段,本申请对此不作限定。Exemplarily, UPF2 determines that the first device is a device group member according to the attribute of the first device. For example, the attribute may be DNN, session type, and S-NSSAI. For another example, the attribute may be the sub-address segment of the first device, which is not limited in this application.
可选地,图14所示的通信方法还包括:UPF2向CPE2发送该数据信息,CPE2将接收到的数据信息发送至UPF3,UPF3向RAN2发送该数据信息,RAN2向UE2发送该数据信息,从而完成第一非公共网络与第二非公共网络之间的数据传输。Optionally, the communication method shown in FIG. 14 further includes: UPF2 sends the data information to CPE2, CPE2 sends the received data information to UPF3, UPF3 sends the data information to RAN2, and RAN2 sends the data information to UE2, thereby Complete data transmission between the first non-public network and the second non-public network.
作为一种可能的方式,当UPF2与CPE2之间的隧道唯一时,UPF2通过该隧道向CPE2发送数据信息。As a possible way, when there is only one tunnel between UPF2 and CPE2, UPF2 sends data information to CPE2 through the tunnel.
作为又一种可能的方式,UPF2基于第一路由规则,向CPE2发送该数据信息。例如,UPF2确定该数据信息的地址与第二设备的子地址段相同,则根据第二设备的子地址段与第二设备对应的隧道之间的关系,确定UPF2向CPE2发送该数据信息时的隧道。As yet another possible manner, UPF2 sends the data information to CPE2 based on the first routing rule. For example, if UPF2 determines that the address of the data information is the same as the sub-address segment of the second device, then according to the relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, determine the time when UPF2 sends the data information to CPE2 tunnel.
应理解,判断数据信息的地址是否与第二设备的子地址段相同,应将数据信息的地址与可作为目的设备的子地址段进行比较,如果数据信息的地址与某个设备的子地址段相同,则可以确定该数据信息为发送至该设备对应的非公共网络,进而根据该设备的子地址段与该设备对应的隧道之间的关系,确定UPF2向该设备中的CPE发送数据信息时的隧道。It should be understood that to determine whether the address of the data information is the same as the sub-address segment of the second device, the address of the data information should be compared with the sub-address segment that can be used as the destination device. If the address of the data information is the same as the sub-address segment of a certain device If they are the same, it can be determined that the data information is sent to the non-public network corresponding to the device, and then according to the relationship between the subaddress segment of the device and the tunnel corresponding to the device, it is determined that when UPF2 sends data information to the CPE in the device tunnel.
基于上述技术方案,不同非公共网络中的终端设备进行跨域数据信息传输时,相比于通过有线专网通道进行跨域传输的方式,提高了普适性和灵活性,且降低了成本,相比于通过第三方服务器进行跨域传输的方式,可以提高数据传输的安全性。Based on the above technical solution, when terminal devices in different non-public networks transmit cross-domain data information, compared with the way of cross-domain transmission through wired private network channels, the universality and flexibility are improved, and the cost is reduced. Compared with the method of cross-domain transmission through a third-party server, the security of data transmission can be improved.
可以理解,在上述一些实施例中主要以第一设备包括RAN1、UPF1、CPE1为例进行了示例性说明,本申请不限于此。例如,第一设备还可以包括其它网元或设备。It can be understood that, in some of the foregoing embodiments, the first device mainly includes RAN1, UPF1, and CPE1 as an example for illustration, and the present application is not limited thereto. For example, the first device may also include other network elements or devices.
还可以理解,在本申请实施例中,一个设备组对应一个地址段,属于同一设备组中的多个设备具有相同的地址段,属于同一设备组中的多个设备所对应的子地址段是不同的,该多个设备的子地址段属于设备备的地址段。不同非公共网络进行跨域传输时,不同非公共网络中的多个设备使用不同的子地址段进行数据的传输,其中,该多个设备包括第一设备和第二设备。例如,第一设备与第二设备属于同一个设备组,则该设备组的地址段可以是192.168.0.0/16,第一设备的子地址段可以是192.168.1.0/24,第二设备的子地址段可以是192.168.2.0/24,其中,第一设备的子地址段192.168.1.0/24和第二设备的子地址段192.168.2.0/24都属于设备组的地址段192.168.0.0/1。It can also be understood that in the embodiment of the present application, one device group corresponds to one address segment, multiple devices belonging to the same device group have the same address segment, and the sub-address segments corresponding to multiple devices belonging to the same device group are Differently, the sub-address segments of the multiple devices belong to the address segment of the device. When different non-public networks perform cross-domain transmission, multiple devices in different non-public networks use different sub-address segments for data transmission, where the multiple devices include the first device and the second device. For example, if the first device and the second device belong to the same device group, the address segment of the device group can be 192.168.0.0/16, the sub-address segment of the first device can be 192.168.1.0/24, and the sub-address segment of the second device The address segment may be 192.168.2.0/24, wherein the sub-address segment 192.168.1.0/24 of the first device and the sub-address segment 192.168.2.0/24 of the second device both belong to the address segment 192.168.0.0/1 of the device group.
还可以理解,在本申请实施例中,接入和移动性管理功能网元可以对应于AMF,也可以对应其他类似的用于执行AMF功能的设备,会话管理功能网元可以对应于SMF,也可以对应其他类似的用于执行SMF功能的设备,用户面功能网元可以对应于UPF,也可 以对应其他类似的用于执行UPF功能的设备,其他网元与此类似,本申请实施例不作具体限定。It can also be understood that in this embodiment of the present application, the network element with the access and mobility management function may correspond to the AMF, or may correspond to other similar devices for performing the AMF function, and the network element with the session management function may correspond to the SMF, or It can correspond to other similar devices for performing SMF functions. The user plane function network element can correspond to UPF, and can also correspond to other similar devices for performing UPF functions. Other network elements are similar to this, and the embodiments of this application will not make specific limited.
还可以理解,本申请实施例中的图10至图14中的例子仅仅是为了便于本领域技术人员理解本申请实施例,并非要将本申请实施例限于例示的具体场景。本领域技术人员根据图10至图14的例子,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本申请实施例的范围内。It can also be understood that the examples in FIG. 10 to FIG. 14 in the embodiment of the present application are only for the convenience of those skilled in the art to understand the embodiment of the present application, and are not intended to limit the embodiment of the present application to the illustrated specific scenarios. Those skilled in the art can obviously make various equivalent modifications or changes according to the examples in FIG. 10 to FIG. 14 , and such modifications or changes also fall within the scope of the embodiments of the present application.
还可以理解,本申请的各实施例中的一些可选的特征,在某些场景下,可以不依赖于其他特征,也可以在某些场景下,与其他特征进行结合,不作限定。It can also be understood that some optional features in the embodiments of the present application may not depend on other features in some scenarios, or may be combined with other features in some scenarios, which is not limited.
还可以理解,本申请的各实施例中的方案可以进行合理的组合使用,并且实施例中出现的各个术语的解释或说明可以在各个实施例中互相参考或解释,对此不作限定。It can also be understood that the solutions in the various embodiments of the present application can be used in a reasonable combination, and explanations or descriptions of various terms appearing in the embodiments can be referred to or interpreted in each embodiment, which is not limited.
还可以理解,在本申请的各实施例中的各种数字序号的大小并不意味着执行顺序的先后,仅为描述方便进行的区分,不应对本申请实施例的实施过程构成任何限定。It can also be understood that the sizes of the various numbers in the embodiments of the present application do not mean the order of execution, but are only for convenience of description, and should not constitute any limitation on the implementation process of the embodiments of the present application.
还可以理解,在本申请的各实施例中涉及到一些消息名称,应理解,其命名不对本申请实施例的保护范围造成限定。It can also be understood that some message names are involved in each embodiment of the present application, and it should be understood that the names do not limit the protection scope of the embodiments of the present application.
相应于上述各方法实施例给出的方法,本申请实施例还提供了相应的装置,所述装置包括用于执行上述各个方法实施例相应的模块。该模块可以是软件,也可以是硬件,或者是软件和硬件结合。可以理解的是,上述各方法实施例所描述的技术特征同样适用于以下装置实施例。Corresponding to the methods provided in the foregoing method embodiments, the embodiments of the present application further provide corresponding devices, and the device includes corresponding modules for executing the foregoing method embodiments. The module can be software, or hardware, or a combination of software and hardware. It can be understood that the technical features described in the above method embodiments are also applicable to the following device embodiments.
图15是本申请实施例提供的一种通信装置的示意性框图。该装置1500包括收发单元1510和处理单元1520。收发单元1510可以用于实现相应的通信功能。收发单元1510还可以称为通信接口或通信单元。处理单元1520可以用于实现相应的处理功能,如确定第一路由规则和/或第二路由规则。Fig. 15 is a schematic block diagram of a communication device provided by an embodiment of the present application. The apparatus 1500 includes a transceiver unit 1510 and a processing unit 1520 . The transceiver unit 1510 may be used to implement corresponding communication functions. The transceiver unit 1510 may also be called a communication interface or a communication unit. The processing unit 1520 may be configured to implement corresponding processing functions, such as determining a first routing rule and/or a second routing rule.
可选地,该装置1500还包括存储单元,该存储单元可以用于存储指令和/或数据,处理单元1520可以读取存储单元中的指令和/或数据,以使得装置实现前述各个方法实施例中设备或网元的动作。Optionally, the device 1500 further includes a storage unit, which can be used to store instructions and/or data, and the processing unit 1520 can read the instructions and/or data in the storage unit, so that the device implements the foregoing method embodiments Actions of devices or network elements in the network.
在第一种设计中,该装置1500可以是图12至图14中任意一个所示实施例中的用户面网元,也可以是该用户面网元的组成部件(如芯片)。该装置1500可实现对应于图12至图14中任意一个所示实施例中用户面网元执行的步骤或者流程,其中,收发单元1510可用于执行图12至图14中任意一个所示实施例中的用户面网元的收发相关的操作,处理单元1520可用于执行图12至图14中任意一个所示实施例中的用户面网元的处理相关的操作。In the first design, the apparatus 1500 may be a user plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 , or may be a component (such as a chip) of the user plane network element. The device 1500 can implement the steps or processes corresponding to the execution of the user plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 , wherein the transceiver unit 1510 can be used to execute any one of the embodiments shown in FIG. The processing unit 1520 may be configured to perform operations related to processing of the user plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 .
一种可能的实现方式,收发单元1510,用于接收来自第一非公共网络中的第一设备的数据信息,该公共网络和该第一非公共网络之间通过无线接口通信;处理单元1520,用于确定第一路由规则,其中,该第一路由规则用于指示第二非公共网络中的第二设备的子地址段与该第二设备对应的隧道之间的关系;收发单元1510,还用于根据该第一路由规则,向该第二设备发送该数据信息,该公共网络和该第二非公共网络之间通过无线接口通信。In a possible implementation manner, the transceiver unit 1510 is configured to receive data information from a first device in a first non-public network, and the public network communicates with the first non-public network through a wireless interface; the processing unit 1520, For determining a first routing rule, where the first routing rule is used to indicate the relationship between the sub-address segment of the second device in the second non-public network and the tunnel corresponding to the second device; the transceiver unit 1510 further It is used for sending the data information to the second device according to the first routing rule, and the public network communicates with the second non-public network through a wireless interface.
可选地,收发单元1510,用于接收来自该公共网络中的控制面网元的该第一路由规则。Optionally, the transceiving unit 1510 is configured to receive the first routing rule from a control plane network element in the public network.
可选地,收发单元1510,用于根据该数据信息的地址和该第一路由规则,向该第二设备发送该数据信息。Optionally, the transceiving unit 1510 is configured to send the data information to the second device according to the address of the data information and the first routing rule.
可选地,收发单元1510,用于在确定该第一设备属于设备组成员的情况下,向该第二设备发送该数据信息。Optionally, the transceiving unit 1510 is configured to send the data information to the second device when it is determined that the first device belongs to a device group member.
可选地,处理单元1520,用于根据该第一设备的属性,确定该第一设备是该设备组成员。Optionally, the processing unit 1520 is configured to determine that the first device is a member of the device group according to the attribute of the first device.
可选地,该属性包括以下一项或多项:该第一设备的子地址段、DNN、会话类型、S-NSSAI。Optionally, the attribute includes one or more of the following: the sub-address segment of the first device, DNN, session type, and S-NSSAI.
在第二种设计中,该装置1500可以是图12至图14中任意一个所示实施例中的控制面网元,也可以是该控制面网元的组成部件(如芯片)。该装置1500可实现对应于图12至图14中任意一个所示实施例中的控制面网元执行的步骤或者流程,其中,收发单元1510可用于执行图12至图14中任意一个所示实施例中的控制面网元的收发相关的操作,处理单元1520可用于执行图12至图14中任意一个所示实施例中的控制面网元的处理相关的操作。In the second design, the apparatus 1500 may be the control plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 , or may be a component (such as a chip) of the control plane network element. The device 1500 can implement the steps or processes corresponding to the execution of the control plane network element in any one of the embodiments shown in FIG. 12 to FIG. For the operations related to the sending and receiving of the control plane network element in the example, the processing unit 1520 may be configured to perform the processing related operations of the control plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 .
一种可能的实现方式,处理单元1520,用于确定目标路由规则,该目标路由规则包括第一路由规则和/或第二路由规则,该第一路由规则用于指示第二非公共网络中的第二设备的子地址段与该第二设备对应的隧道之间的关系,该第二路由规则用于指示该第二设备的子地址段与该公共网络中的用户面网元对应的隧道之间的关系,其中,该公共网络和该第二非公共网络之间通过无线接口通信;收发单元1510,用于发送该目标路由规则。In a possible implementation manner, the processing unit 1520 is configured to determine a target routing rule, where the target routing rule includes a first routing rule and/or a second routing rule, where the first routing rule is used to indicate the The relationship between the subaddress segment of the second device and the tunnel corresponding to the second device, the second routing rule is used to indicate the relationship between the subaddress segment of the second device and the tunnel corresponding to the user plane network element in the public network The relationship between the public network and the second non-public network communicates through a wireless interface; the transceiver unit 1510 is configured to send the target routing rule.
可选地,收发单元1510,用于向该用户面网元发送该第一路由规则;和/或,收发单元1510,还用于向第一非公共网络中的第一设备发送该第二路由规则,其中,该公共网络和该第一非公共网络之间通过无线接口通信。Optionally, the transceiver unit 1510 is configured to send the first routing rule to the user plane network element; and/or the transceiver unit 1510 is further configured to send the second route to the first device in the first non-public network A rule, wherein, the public network and the first non-public network communicate through a wireless interface.
可选地,处理单元1520,用于根据多个设备的标识与该多个设备的地址段之间的关系,确定该目标路由规则,其中,该多个设备包括该第一设备和该第二设备。Optionally, the processing unit 1520 is configured to determine the target routing rule according to the relationship between identifiers of multiple devices and address segments of the multiple devices, where the multiple devices include the first device and the second equipment.
可选地,处理单元1520,用于确定目标路由规则之前,该装置还包括:收发单元1510,用于接收来自多个设备的N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接,该多个设备包括第一设备和该第二设备;收发单元1510,还用于向该多个设备发送该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的无线连接。Optionally, before the processing unit 1520 is configured to determine the target routing rule, the device further includes: a transceiver unit 1510, configured to receive an N1 message from multiple devices, where the N1 message includes an N2 message, and the N2 message is used to establish an N2 message. The wireless connection of the interface, the multiple devices include the first device and the second device; the transceiver unit 1510 is further configured to send a response message of the N1 message to the multiple devices, the response message of the N1 message includes the response message of the N2 message A response message, the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
可选地,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。Optionally, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
在第三种设计中,该装置1500可以是图12至图14中任意一个所示实施例中的第一设备,也可以是该第一设备的组成部件(如芯片)。该装置1500可实现对应于图12至图14中任意一个所示实施例中的第一设备执行的步骤或者流程,其中,收发单元1510可用于执行图12至图14中任意一个所示实施例中的第一设备的收发相关的操作,处理单元1520可用于执行图12至图14中任意一个所示实施例中的第一设备的处理相关的操作。In the third design, the apparatus 1500 may be the first device in any one of the embodiments shown in FIG. 12 to FIG. 14 , or may be a component (such as a chip) of the first device. The apparatus 1500 can implement the steps or processes corresponding to the execution of the first device in any one of the embodiments shown in FIG. 12 to FIG. 14, wherein the transceiver unit 1510 can be used to execute any one of the embodiments shown in FIG. The processing unit 1520 may be configured to perform operations related to processing of the first device in any one of the embodiments shown in FIG. 12 to FIG. 14 .
一种可能的实现方式,处理单元1520,用于确定向第二非公共网络中的第二设备发送数据信息;收发单元1510,用于向公共网络中的用户面网元发送该数据信息;其中,该第一非公共网络和该公共网络之间通过无线接口通信,该公共网络和该第二非公共网络之间通过无线接口通信。In a possible implementation manner, the processing unit 1520 is configured to determine to send the data information to the second device in the second non-public network; the transceiver unit 1510 is configured to send the data information to the user plane network element in the public network; wherein , the first non-public network communicates with the public network through a wireless interface, and the public network communicates with the second non-public network through a wireless interface.
可选地,收发单元1510,用于根据第二路由规则,向该用户面网元发送该数据信息,其中,该第二路由规则用于指示该第二设备的子地址段与该公共网络中的用户面网元对应的隧道之间的关系。Optionally, the transceiver unit 1510 is configured to send the data information to the user plane network element according to a second routing rule, where the second routing rule is used to indicate that the sub-address segment of the second device is different from that in the public network The relationship between the tunnels corresponding to the user plane network elements.
可选地,收发单元1510,用于接收来自该公共网络中的控制面网元的该第二路由规则。Optionally, the transceiving unit 1510 is configured to receive the second routing rule from the control plane network element in the public network.
可选地,收发单元1510,用于根据该数据信息的地址和该第二路由规则,向该用户面网元发送该数据信息。Optionally, the transceiving unit 1510 is configured to send the data information to the user plane network element according to the address of the data information and the second routing rule.
可选地,收发单元1510,用于向公共网络中的用户面网元发送该数据信息之前,该装置还包括:收发单元1510,还用于向该公共网络中的控制面网元发送N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接;收发单元1510,还用于接收来自该控制面网元的该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的连接。Optionally, before the transceiver unit 1510 is configured to send the data information to the user plane network element in the public network, the device further includes: the transceiver unit 1510 is also used to send an N1 message to the control plane network element in the public network , the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface; the transceiver unit 1510 is further configured to receive a response message of the N1 message from the control plane network element, and the response message of the N1 message includes the A response message of the N2 message, where the response message of the N2 message is used to indicate that the connection of the N2 interface is successfully established.
可选地,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。Optionally, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
在第四种设计中,该装置1500可以是图11所示实施例中的控制面网元,也可以是该控制面网元的组成部件(如芯片)。该装置1500可实现对应于图11所示实施例中的控制面网元执行的步骤或者流程,其中,收发单元1510可用于执行图11所示实施例中的控制面网元的收发相关的操作,处理单元1520可用于执行图11所示实施例中的控制面网元的处理相关的操作。In the fourth design, the apparatus 1500 may be the control plane network element in the embodiment shown in FIG. 11 , or may be a component (such as a chip) of the control plane network element. The device 1500 can implement the steps or processes corresponding to the execution of the network elements of the control plane in the embodiment shown in FIG. The processing unit 1520 may be configured to perform processing-related operations of the control plane network element in the embodiment shown in FIG. 11 .
一种可能的实现方式,收发单元1510,用于接收来自多个设备的N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接,该多个设备包括第一非公共网络中的第一设备和第二非公共网络中的第二设备;处理单元1520,用于处理该N1消息,生成该N1消息的响应消息;收发单元1510,还用于向该多个设备发送该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的无线连接。In a possible implementation manner, the transceiver unit 1510 is configured to receive an N1 message from multiple devices, where the N1 message includes an N2 message, where the N2 message is used to establish a wireless connection on the N2 interface, and the multiple devices include a first non-public The first device in the network and the second device in the second non-public network; the processing unit 1520 is configured to process the N1 message and generate a response message to the N1 message; the transceiver unit 1510 is also configured to send the response message to the multiple devices A response message of the N1 message, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate that the wireless connection of the N2 interface is successfully established.
可选地,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。Optionally, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
在第五种设计中,该装置1500可以是图11所示实施例中的第一设备,也可以是该第一设备的组成部件(如芯片)。该装置1500可实现对应于图11所示实施例中的第一设备执行的步骤或者流程,其中,收发单元1510可用于执行图11所示实施例中的第一设备的收发相关的操作,处理单元1520可用于执行图11所示实施例中的第一设备的处理相关的操作。In the fifth design, the apparatus 1500 may be the first device in the embodiment shown in FIG. 11 , or may be a component (such as a chip) of the first device. The apparatus 1500 can implement the steps or processes corresponding to the first device in the embodiment shown in FIG. The unit 1520 may be configured to perform processing-related operations of the first device in the embodiment shown in FIG. 11 .
一种可能的实现方式,处理单元1520,用于生成N1消息;收发单元1510,用于向公共网络中的控制面网元发送该N1消息,该N1消息包括N2消息,该N2消息用于建立N2接口的无线连接;收发单元1510,还用于接收来自该控制面网元的该N1消息的响应消息,该N1消息的响应消息包括该N2消息的响应消息,该N2消息的响应消息用于表征成功建立该N2接口的无线连接;处理单元1520,还用于处理该N1消息的响应消息。In a possible implementation manner, the processing unit 1520 is configured to generate an N1 message; the transceiver unit 1510 is configured to send the N1 message to a control plane network element in the public network, the N1 message includes an N2 message, and the N2 message is used to establish Wireless connection of the N2 interface; the transceiver unit 1510 is also configured to receive a response message of the N1 message from the control plane network element, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used for Indicating that the wireless connection of the N2 interface is successfully established; the processing unit 1520 is also configured to process a response message of the N1 message.
可选地,该N1消息还包括第一指示信息,该第一指示信息用于指示处理该N2消息。Optionally, the N1 message further includes first indication information, where the first indication information is used to indicate to process the N2 message.
应理解,各单元执行上述相应步骤的具体过程在上述各方法实施例中已经详细说明,为了简洁,在此不再赘述。It should be understood that the specific process of each unit performing the above corresponding steps has been described in detail in the above method embodiments, and for the sake of brevity, details are not repeated here.
还应理解,这里的装置1500以功能单元的形式体现。这里的术语“单元”可以指应 用特有集成电路(application specific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置1500可以具体为图12至图14中任意一个所示实施例中的SMF,可以用于执行图12至图14中任意一个所示实施例中与SMF对应的各个流程和/或步骤;装置1500可以具体为图12至图14中任意一个所示实施例中的UPF2,可以用于执行图12至图14中任意一个所示实施例中与UPF2对应的各个流程和/或步骤;装置1500可以具体为图12至图14中任意一个所示实施例中的UPF1,可以用于执行图12至图14中任意一个所示实施例中与UPF1对应的各个流程和/或步骤;装置1500可以具体为图12至图14中任意一个所示实施例中的CPE1,可以用于执行图12至图14中任意一个所示实施例中与CPE1对应的各个流程和/或步骤;装置1500可以具体为图11所示实施例中的AMF,可以用于执行图11所示实施例中与AMF对应的各个流程和/或步骤;装置1500可以具体为图11所示实施例中的CPE,可以用于执行图11所示实施例中与CPE对应的各个流程和/或步骤;装置1500可以具体为图11所示实施例中的RAN,可以用于执行图11所示实施例中与RAN对应的各个流程和/或步骤;为避免重复,在此不再赘述。It should also be understood that the apparatus 1500 here is embodied in the form of functional units. The term "unit" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor for executing one or more software or firmware programs (such as a shared processor, a dedicated processor, or a group processor, etc.) and memory, incorporated logic, and/or other suitable components to support the described functionality. In an optional example, those skilled in the art can understand that the device 1500 can be specifically the SMF in any one of the embodiments shown in FIG. 12 to FIG. 14 , and can be used to implement any of the implementations shown in FIG. Each process and/or step corresponding to the SMF in the example; the device 1500 can be specifically UPF2 in any one of the embodiments shown in Figure 12 to Figure 14, and can be used to execute any one of the embodiments shown in Figure 12 to Figure 14 The various processes and/or steps corresponding to UPF2 in the above; the device 1500 can be specifically UPF1 in any one of the embodiments shown in Figure 12 to Figure 14, and can be used to execute Various processes and/or steps corresponding to UPF1; the device 1500 can be specifically CPE1 in any one of the embodiments shown in Figure 12 to Figure 14, and can be used to execute any of the embodiments shown in Figure 12 to Figure 14 and The various processes and/or steps corresponding to CPE1; the device 1500 may specifically be the AMF in the embodiment shown in FIG. 11 , and may be used to execute the various processes and/or steps corresponding to the AMF in the embodiment shown in FIG. Specifically, it is the CPE in the embodiment shown in FIG. 11 , which can be used to execute various processes and/or steps corresponding to the CPE in the embodiment shown in FIG. 11 ; the device 1500 can be specifically the RAN in the embodiment shown in FIG. 11 , and can It is used to execute various processes and/or steps corresponding to the RAN in the embodiment shown in FIG. 11 ; to avoid repetition, details are not repeated here.
上述各个方案的装置1500具有实现上述方法中网元(如SMF,或AMF,或UPF,或RAN,或CPE)所执行的相应步骤的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块;例如收发单元可以由收发机替代(例如,收发单元中的发送单元可以由发送机替代,收发单元中的接收单元可以由接收机替代),其它单元,如处理单元等可以由处理器替代,分别执行各个方法实施例中的收发操作以及相关的处理操作。The apparatus 1500 in each of the above solutions has the function of implementing the corresponding steps performed by the network element (such as SMF, or AMF, or UPF, or RAN, or CPE) in the above methods. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions; for example, the transceiver unit can be replaced by a transceiver (for example, the sending unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiver computer), and other units, such as a processing unit, may be replaced by a processor to respectively perform the sending and receiving operations and related processing operations in each method embodiment.
此外,上述收发单元1510还可以是收发电路(例如可以包括接收电路和发送电路),处理单元可以是处理电路。In addition, the above-mentioned transceiver unit 1510 may also be a transceiver circuit (for example, may include a receiving circuit and a sending circuit), and the processing unit may be a processing circuit.
需要指出的是,图15中的装置可以是前述实施例中的网元或设备,也可以是芯片或者芯片系统,例如:片上系统(system on chip,SoC)。其中,收发单元可以是输入输出电路、通信接口;处理单元为该芯片上集成的处理器或者微处理器或者集成电路。在此不做限定。It should be noted that the apparatus in FIG. 15 may be the network element or device in the foregoing embodiments, or may be a chip or a chip system, such as a system on chip (system on chip, SoC). Wherein, the transceiver unit may be an input-output circuit or a communication interface; the processing unit is a processor or a microprocessor or an integrated circuit integrated on the chip. It is not limited here.
如图16所示,本申请实施例提供另一种通信装置1600。该装置1600包括处理器1610,处理器1610用于执行存储器1620存储的计算机程序或指令,或读取存储器1620存储的数据/信令,以执行上文各方法实施例中的方法。可选地,处理器1610为一个或多个。As shown in FIG. 16 , this embodiment of the present application provides another communication device 1600 . The apparatus 1600 includes a processor 1610, and the processor 1610 is configured to execute computer programs or instructions stored in the memory 1620, or read data/signaling stored in the memory 1620, so as to execute the methods in the foregoing method embodiments. Optionally, there are one or more processors 1610.
可选地,如图16所示,该装置1600还包括存储器1620,存储器1620用于存储计算机程序或指令和/或数据。该存储器1620可以与处理器1610集成在一起,或者也可以分离设置。可选地,存储器1620为一个或多个。Optionally, as shown in FIG. 16, the apparatus 1600 further includes a memory 1620, and the memory 1620 is used for storing computer programs or instructions and/or data. The memory 1620 can be integrated with the processor 1610, or can also be set separately. Optionally, there are one or more memories 1620 .
可选地,如图16所示,该装置1600还包括收发器1630,收发器1630用于信号的接收和/或发送。例如,处理器1610用于控制收发器1630进行信号的接收和/或发送。Optionally, as shown in FIG. 16, the apparatus 1600 further includes a transceiver 1630, and the transceiver 1630 is used for receiving and/or sending signals. For example, the processor 1610 is configured to control the transceiver 1630 to receive and/or send signals.
作为一种方案,该装置1600用于实现上文各个方法实施例中由网元执行的操作。As a solution, the apparatus 1600 is used to implement the operations performed by the network element in the foregoing method embodiments.
例如,处理器1610用于执行存储器1620存储的计算机程序或指令,以实现上文各个方法实施例中用户面网元的相关操作。例如,图12至图14中任意一个所示实施例中的用户面网元执行的方法。For example, the processor 1610 is configured to execute the computer programs or instructions stored in the memory 1620, so as to implement related operations of the user plane network elements in the various method embodiments above. For example, the method performed by the user plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 .
又如,处理器1610用于执行存储器1620存储的计算机程序或指令,以实现上文各个方法实施例中控制面网元的相关操作。例如,图12至图14中任意一个所示实施例中的控制面网元执行的方法。In another example, the processor 1610 is configured to execute computer programs or instructions stored in the memory 1620, so as to implement related operations of the control plane network elements in the foregoing method embodiments. For example, the method executed by the control plane network element in any one of the embodiments shown in FIG. 12 to FIG. 14 .
又如,处理器1610用于执行存储器1620存储的计算机程序或指令,以实现上文各个方法实施例中第一设备的相关操作。例如,图12至图14中任意一个所示实施例中的第一设备执行的方法。As another example, the processor 1610 is configured to execute the computer programs or instructions stored in the memory 1620, so as to implement related operations of the first device in each method embodiment above. For example, the method executed by the first device in any one of the embodiments shown in FIG. 12 to FIG. 14 .
又如,处理器1610用于执行存储器1620存储的计算机程序或指令,以实现上文各个方法实施例中控制面网元的相关操作。例如,图11所示实施例中的控制面网元执行的方法。In another example, the processor 1610 is configured to execute computer programs or instructions stored in the memory 1620, so as to implement related operations of the control plane network elements in the foregoing method embodiments. For example, the method performed by the control plane network element in the embodiment shown in FIG. 11 .
又如,处理器1610用于执行存储器1620存储的计算机程序或指令,以实现上文各个方法实施例中第一设备的相关操作。例如,图11所示实施例中的第一设备执行的方法。As another example, the processor 1610 is configured to execute the computer programs or instructions stored in the memory 1620, so as to implement related operations of the first device in each method embodiment above. For example, the method executed by the first device in the embodiment shown in FIG. 11 .
应理解,本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiment of the present application may be a central processing unit (central processing unit, CPU), and may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits ( application specific integrated circuit (ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
还应理解,本申请实施例中提及的存储器可以是易失性存储器和/或非易失性存储器。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。例如,RAM可以用作外部高速缓存。作为示例而非限定,RAM包括如下多种形式:静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory and/or a nonvolatile memory. Among them, the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM). For example, RAM can be used as an external cache. As an example and not limitation, RAM includes the following multiple forms: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct Memory bus random access memory (direct rambus RAM, DR RAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, the memory (storage module) may be integrated in the processor.
还需要说明的是,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should also be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
本申请实施例还提供一种计算机可读存储介质,其上存储有用于实现上述各方法实施例中由网元或设备执行的方法的计算机指令。The embodiments of the present application further provide a computer-readable storage medium, on which computer instructions for implementing the methods executed by the network element or device in the foregoing method embodiments are stored.
例如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法各实施例中由用户面网元执行的方法。For example, when the computer program is executed by a computer, the computer can implement the methods performed by the user plane network element in each embodiment of the foregoing method.
又如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法各实施例中由控制面网元执行的方法。In another example, when the computer program is executed by a computer, the computer can implement the methods executed by the network element of the control plane in each embodiment of the above methods.
又如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法各实施例中由 第一设备执行的方法。In another example, when the computer program is executed by a computer, the computer can implement the method executed by the first device in each of the foregoing method embodiments.
本申请实施例还提供一种计算机程序产品,包含指令,该指令被计算机执行时以实现上述各方法实施例中由网元或设备执行的方法。The embodiments of the present application further provide a computer program product, including instructions, and when the instructions are executed by a computer, the methods executed by the network element or device in the foregoing method embodiments are implemented.
上述提供的任一种装置中相关内容的解释及有益效果均可参考上文提供的对应的方法实施例,此处不再赘述。For explanations and beneficial effects of relevant content in any of the devices provided above, reference may be made to the corresponding method embodiments provided above, and details are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。例如,所述计算机可以是个人计算机,服务器,或者网络设备等。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD)等。例如,前述的可用介质包括但不限于:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. For example, the computer may be a personal computer, a server, or a network device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (SSD), etc. For example, the aforementioned available medium includes but Not limited to: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (47)

  1. 一种通信方法,其特征在于,所述方法应用于公共网络,所述方法包括:A communication method, characterized in that the method is applied to a public network, and the method includes:
    所述公共网络中的用户面网元接收来自第一非公共网络中的第一设备的数据信息,所述公共网络和所述第一非公共网络之间通过无线接口通信;The user plane network element in the public network receives data information from the first device in the first non-public network, and the public network communicates with the first non-public network through a wireless interface;
    所述用户面网元根据第一路由规则,向第二非公共网络中的第二设备发送所述数据信息,其中,所述第一路由规则用于指示所述第二设备的子地址段与所述第二设备对应的隧道之间的关系,所述公共网络和所述第二非公共网络之间通过无线接口通信。The user plane network element sends the data information to the second device in the second non-public network according to a first routing rule, where the first routing rule is used to indicate that the sub-address segment of the second device is related to The relationship between the tunnels corresponding to the second device, and the communication between the public network and the second non-public network through a wireless interface.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    所述用户面网元接收来自所述公共网络中的控制面网元的所述第一路由规则。The user plane network element receives the first routing rule from a control plane network element in the public network.
  3. 根据权利要求1或2所述的方法,其特征在于,所述用户面网元根据第一路由规则,向第二非公共网络中的第二设备发送所述数据信息,包括:The method according to claim 1 or 2, wherein the user plane network element sends the data information to the second device in the second non-public network according to the first routing rule, including:
    所述用户面网元根据所述数据信息的地址和所述第一路由规则,向所述第二设备发送所述数据信息。The user plane network element sends the data information to the second device according to the address of the data information and the first routing rule.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述用户面网元向第二非公共网络中的第二设备发送所述数据信息,包括:The method according to any one of claims 1 to 3, wherein the sending of the data information by the user plane network element to the second device in the second non-public network includes:
    在确定所述第一设备属于设备组成员的情况下,所述用户面网元向所述第二设备发送所述数据信息。In a case where it is determined that the first device belongs to a device group member, the user plane network element sends the data information to the second device.
  5. 根据权利要求4所述的方法,其特征在于,所述用户面网元根据所述第一设备的属性,确定所述第一设备是所述设备组成员。The method according to claim 4, wherein the user plane network element determines that the first device is a member of the device group according to the attribute of the first device.
  6. 根据权利要求5所述的方法,其特征在于,所述属性包括以下一项或多项:所述第一设备的子地址段、DNN、会话类型、S-NSSAI。The method according to claim 5, wherein the attribute includes one or more of the following: the sub-address segment of the first device, DNN, session type, and S-NSSAI.
  7. 一种通信方法,其特征在于,所述方法应用于公共网络,所述方法包括:A communication method, characterized in that the method is applied to a public network, and the method includes:
    所述公共网络中的控制面网元确定目标路由规则,所述目标路由规则包括第一路由规则和/或第二路由规则,所述第一路由规则用于指示第二非公共网络中的第二设备的子地址段与所述第二设备对应的隧道之间的关系,所述第二路由规则用于指示所述第二设备的子地址段与所述公共网络中的用户面网元对应的隧道之间的关系,其中,所述公共网络和所述第二非公共网络之间通过无线接口通信;The control plane network element in the public network determines a target routing rule, where the target routing rule includes a first routing rule and/or a second routing rule, and the first routing rule is used to indicate the first routing rule in the second non-public network. The relationship between the sub-address segment of the second device and the tunnel corresponding to the second device, the second routing rule is used to indicate that the sub-address segment of the second device corresponds to a user plane network element in the public network The relationship between the tunnels, wherein the communication between the public network and the second non-public network is through a wireless interface;
    所述控制面网元发送所述目标路由规则。The control plane network element sends the target routing rule.
  8. 根据权利要求7所述的方法,其特征在于,The method according to claim 7, characterized in that,
    所述目标路由规则包括第一路由规则,所述控制面网元发送所述目标路由规则,包括:所述控制面网元向所述用户面网元发送所述第一路由规则;The target routing rule includes a first routing rule, and the sending the target routing rule by the control plane network element includes: sending the first routing rule to the user plane network element by the control plane network element;
    和/或,and / or,
    所述目标路由规则包括第二路由规则,所述控制面网元发送所述目标路由规则,包括:所述控制面网元向第一非公共网络中的第一设备发送所述第二路由规则,其中,所述公共网络和所述第一非公共网络之间通过无线接口通信。The target routing rule includes a second routing rule, and the sending of the target routing rule by the control plane network element includes: sending the second routing rule to the first device in the first non-public network by the control plane network element , wherein, the public network communicates with the first non-public network through a wireless interface.
  9. 根据权利要求7或8所述的方法,其特征在于,所述公共网络中的控制面网元确定目标路由规则,包括:The method according to claim 7 or 8, wherein the determination of the target routing rule by the control plane network element in the public network includes:
    所述控制面网元根据多个设备的标识与所述多个设备的地址段之间的关系,确定所述目标路由规则,其中,所述多个设备包括所述第一设备和所述第二设备。The control plane network element determines the target routing rule according to the relationship between identifiers of multiple devices and address segments of the multiple devices, where the multiple devices include the first device and the second Two equipment.
  10. 根据权利要求7至9中任一项所述的方法,其特征在于,所述公共网络中的控制面网元确定目标路由规则之前,所述方法还包括:The method according to any one of claims 7 to 9, wherein before the control plane network element in the public network determines the target routing rule, the method further comprises:
    所述控制面网元接收来自多个设备的N1消息,所述N1消息包括N2消息,所述N2消息用于建立N2接口的无线连接,所述多个设备包括第一设备和所述第二设备;The control plane network element receives an N1 message from multiple devices, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface, and the multiple devices include the first device and the second equipment;
    所述控制面网元向所述多个设备发送所述N1消息的响应消息,所述N1消息的响应消息包括所述N2消息的响应消息,所述N2消息的响应消息用于表征成功建立所述N2接口的无线连接。The control plane network element sends a response message of the N1 message to the plurality of devices, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to represent the successful establishment of the The wireless connection of the N2 interface is described above.
  11. 根据权利要求10所述的方法,其特征在于,所述N1消息还包括第一指示信息,所述第一指示信息用于指示处理所述N2消息。The method according to claim 10, wherein the N1 message further includes first instruction information, and the first instruction information is used to instruct to process the N2 message.
  12. 一种通信方法,其特征在于,所述方法应用于第一非公共网络,所述方法包括:A communication method, characterized in that the method is applied to a first non-public network, and the method includes:
    所述第一非公共网络中的第一设备确定向第二非公共网络中的第二设备发送数据信息;The first device in the first non-public network determines to send data information to the second device in the second non-public network;
    所述第一非公共网络中的第一设备向公共网络中的用户面网元发送所述数据信息;sending the data information to a user plane network element in the public network by the first device in the first non-public network;
    其中,所述第一非公共网络和所述公共网络之间通过无线接口通信,所述公共网络和所述第二非公共网络之间通过无线接口通信。Wherein, the communication between the first non-public network and the public network is through a wireless interface, and the communication between the public network and the second non-public network is through a wireless interface.
  13. 根据权利要求12所述的方法,其特征在于,所述第一非公共网络中的第一设备向公共网络中的用户面网元发送数据信息,包括:The method according to claim 12, wherein the first device in the first non-public network sends data information to the user plane network element in the public network, comprising:
    所述第一设备根据第二路由规则,向所述用户面网元发送所述数据信息,其中,所述第二路由规则用于指示所述第二设备的子地址段与所述公共网络中的用户面网元对应的隧道之间的关系。The first device sends the data information to the user plane network element according to a second routing rule, where the second routing rule is used to indicate that the sub-address segment of the second device is different from that in the public network The relationship between the tunnels corresponding to the user plane network elements.
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method according to claim 13, further comprising:
    所述第一设备接收来自所述公共网络中的控制面网元的所述第二路由规则。The first device receives the second routing rule from a control plane network element in the public network.
  15. 根据权利要求13或14所述的方法,其特征在于,所述第一设备根据第二路由规则,向所述用户面网元发送所述数据信息,包括:The method according to claim 13 or 14, wherein the first device sends the data information to the user plane network element according to the second routing rule, comprising:
    所述第一设备根据所述数据信息的地址和所述第二路由规则,向所述用户面网元发送所述数据信息。The first device sends the data information to the user plane network element according to the address of the data information and the second routing rule.
  16. 根据权利要求12至15中任一项所述的方法,其特征在于,所述第一非公共网络中的第一设备向公共网络中的用户面网元发送所述数据信息之前,所述方法还包括:The method according to any one of claims 12 to 15, wherein before the first device in the first non-public network sends the data information to the user plane network element in the public network, the method Also includes:
    所述第一设备向所述公共网络中的控制面网元发送N1消息,所述N1消息包括N2消息,所述N2消息用于建立N2接口的无线连接;The first device sends an N1 message to a control plane network element in the public network, where the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface;
    所述第一设备接收来自所述控制面网元的所述N1消息的响应消息,所述N1消息的响应消息包括所述N2消息的响应消息,所述N2消息的响应消息用于表征成功建立所述N2接口的连接。The first device receives a response message of the N1 message from the control plane network element, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to represent the successful establishment of connection of the N2 interface.
  17. 根据权利要求16所述的方法,其特征在于,所述N1消息还包括第一指示信息,所述第一指示信息用于指示处理所述N2消息。The method according to claim 16, wherein the N1 message further includes first indication information, and the first indication information is used to instruct to process the N2 message.
  18. 一种通信方法,其特征在于,所述方法应用于公共网络,所述方法包括:A communication method, characterized in that the method is applied to a public network, and the method includes:
    所述公共网络的控制面网元接收来自多个设备的N1消息,所述N1消息包括N2消息, 所述N2消息用于建立N2接口的无线连接,所述多个设备包括第一非公共网络中的第一设备和第二非公共网络中的第二设备;The control plane network element of the public network receives an N1 message from multiple devices, the N1 message includes an N2 message, the N2 message is used to establish a wireless connection on the N2 interface, and the multiple devices include a first non-public network the first device in and the second device in the second non-public network;
    所述控制面网元向所述多个设备发送所述N1消息的响应消息,所述N1消息的响应消息包括所述N2消息的响应消息,所述N2消息的响应消息用于表征成功建立所述N2接口的无线连接。The control plane network element sends a response message of the N1 message to the plurality of devices, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to represent the successful establishment of the The wireless connection of the N2 interface is described above.
  19. 根据权利要求18所述的方法,其特征在于,所述N1消息还包括第一指示信息,所述第一指示信息用于指示处理所述N2消息。The method according to claim 18, wherein the N1 message further includes first instruction information, and the first instruction information is used to instruct to process the N2 message.
  20. 一种通信方法,其特征在于,所述方法应用于第一非公共网络,所述方法包括:A communication method, characterized in that the method is applied to a first non-public network, and the method includes:
    所述第一非公共网络中的第一设备向公共网络中的控制面网元发送N1消息,所述N1消息包括N2消息,所述N2消息用于建立N2接口的无线连接;The first device in the first non-public network sends an N1 message to a control plane network element in the public network, where the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface;
    所述第一设备接收来自所述控制面网元的所述N1消息的响应消息,所述N1消息的响应消息包括所述N2消息的响应消息,所述N2消息的响应消息用于表征成功建立所述N2接口的无线连接。The first device receives a response message of the N1 message from the control plane network element, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to represent the successful establishment of The wireless connection of the N2 interface.
  21. 根据权利要求20所述的方法,其特征在于,所述N1消息还包括第一指示信息,所述第一指示信息用于指示处理所述N2消息。The method according to claim 20, wherein the N1 message further includes first instruction information, and the first instruction information is used to instruct to process the N2 message.
  22. 一种通信装置,其特征在于,所述装置应用于公共网络,所述装置包括:收发单元和处理单元,A communication device, characterized in that the device is applied to a public network, and the device includes: a transceiver unit and a processing unit,
    所述收发单元,用于接收来自第一非公共网络中的第一设备的数据信息,所述公共网络和所述第一非公共网络之间通过无线接口通信;The transceiver unit is configured to receive data information from a first device in a first non-public network, and the public network communicates with the first non-public network through a wireless interface;
    所述处理单元,用于确定第一路由规则,其中,所述第一路由规则用于指示第二非公共网络中的第二设备的子地址段与所述第二设备对应的隧道之间的关系;The processing unit is configured to determine a first routing rule, where the first routing rule is used to indicate the connection between the sub-address segment of the second device in the second non-public network and the tunnel corresponding to the second device relation;
    所述收发单元,还用于根据所述第一路由规则,向所述第二设备发送所述数据信息,所述公共网络和所述第二非公共网络之间通过无线接口通信。The transceiver unit is further configured to send the data information to the second device according to the first routing rule, and the public network communicates with the second non-public network through a wireless interface.
  23. 根据权利要求22所述的装置,其特征在于,所述装置还包括:The device according to claim 22, further comprising:
    所述收发单元,用于接收来自所述公共网络中的控制面网元的所述第一路由规则。The transceiving unit is configured to receive the first routing rule from a control plane network element in the public network.
  24. 根据权利要求22或23所述的装置,其特征在于,Apparatus according to claim 22 or 23, characterized in that,
    所述收发单元,用于根据所述数据信息的地址和所述第一路由规则,向所述第二设备发送所述数据信息。The transceiving unit is configured to send the data information to the second device according to the address of the data information and the first routing rule.
  25. 根据权利要求22至24中任一项所述的装置,其特征在于,Apparatus according to any one of claims 22 to 24, characterized in that
    所述收发单元,用于在确定所述第一设备属于设备组成员的情况下,向所述第二设备发送所述数据信息。The transceiving unit is configured to send the data information to the second device when it is determined that the first device belongs to a device group member.
  26. 根据权利要求25所述的装置,其特征在于,所述处理单元,用于根据所述第一设备的属性,确定所述第一设备是所述设备组成员。The apparatus according to claim 25, wherein the processing unit is configured to determine that the first device is a member of the device group according to the attribute of the first device.
  27. 根据权利要求26所述的装置,其特征在于,所述属性包括以下一项或多项:所述第一设备的子地址段、DNN、会话类型、S-NSSAI。The apparatus according to claim 26, wherein the attributes include one or more of the following: the sub-address segment of the first device, DNN, session type, and S-NSSAI.
  28. 一种通信装置,其特征在于,所述装置应用于公共网络,所述装置包括:收发单元和处理单元,A communication device, characterized in that the device is applied to a public network, and the device includes: a transceiver unit and a processing unit,
    所述处理单元,用于确定目标路由规则,所述目标路由规则包括第一路由规则和/或第二路由规则,所述第一路由规则用于指示第二非公共网络中的第二设备的子地址段与所 述第二设备对应的隧道之间的关系,所述第二路由规则用于指示所述第二设备的子地址段与所述公共网络中的用户面网元对应的隧道之间的关系,其中,所述公共网络和所述第二非公共网络之间通过无线接口通信;The processing unit is configured to determine a target routing rule, the target routing rule includes a first routing rule and/or a second routing rule, and the first routing rule is used to indicate the second device in the second non-public network The relationship between the subaddress segment and the tunnel corresponding to the second device, the second routing rule is used to indicate the relationship between the subaddress segment of the second device and the tunnel corresponding to the user plane network element in the public network The relationship between, wherein, the communication between the public network and the second non-public network is through a wireless interface;
    所述收发单元,用于发送所述目标路由规则。The transceiving unit is configured to send the target routing rule.
  29. 根据权利要求28所述的装置,其特征在于,The apparatus according to claim 28, characterized in that,
    所述收发单元,用于向所述用户面网元发送所述第一路由规则;The transceiver unit is configured to send the first routing rule to the user plane network element;
    和/或,and / or,
    所述收发单元,还用于向第一非公共网络中的第一设备发送所述第二路由规则,其中,所述公共网络和所述第一非公共网络之间通过无线接口通信。The transceiving unit is further configured to send the second routing rule to the first device in the first non-public network, wherein the public network communicates with the first non-public network through a wireless interface.
  30. 根据权利要求28或29所述的装置,其特征在于,Apparatus according to claim 28 or 29, characterized in that,
    所述处理单元,用于根据多个设备的标识与所述多个设备的地址段之间的关系,确定所述目标路由规则,其中,所述多个设备包括所述第一设备和所述第二设备。The processing unit is configured to determine the target routing rule according to the relationship between identifiers of multiple devices and address segments of the multiple devices, where the multiple devices include the first device and the second device.
  31. 根据权利要求28至30中任一项所述的装置,其特征在于,所述处理单元,用于确定目标路由规则之前,所述装置还包括:The device according to any one of claims 28 to 30, wherein before the processing unit is configured to determine the target routing rule, the device further includes:
    所述收发单元,用于接收来自多个设备的N1消息,所述N1消息包括N2消息,所述N2消息用于建立N2接口的无线连接,所述多个设备包括第一设备和所述第二设备;The transceiver unit is configured to receive an N1 message from multiple devices, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection on the N2 interface, and the multiple devices include the first device and the second device. Two equipment;
    所述收发单元,还用于向所述多个设备发送所述N1消息的响应消息,所述N1消息的响应消息包括所述N2消息的响应消息,所述N2消息的响应消息用于表征成功建立所述N2接口的无线连接。The transceiver unit is further configured to send a response message of the N1 message to the multiple devices, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate success Establish a wireless connection on the N2 interface.
  32. 根据权利要求31所述的装置,其特征在于,所述N1消息还包括第一指示信息,所述第一指示信息用于指示处理所述N2消息。The device according to claim 31, wherein the N1 message further includes first indication information, and the first indication information is used to instruct to process the N2 message.
  33. 一种通信装置,其特征在于,所述装置应用于第一非公共网络,所述装置包括:收发单元和处理单元,A communication device, characterized in that the device is applied to a first non-public network, and the device includes: a transceiver unit and a processing unit,
    所述处理单元,用于确定向第二非公共网络中的第二设备发送数据信息;The processing unit is configured to determine to send data information to the second device in the second non-public network;
    所述收发单元,用于向公共网络中的用户面网元发送所述数据信息;The transceiver unit is configured to send the data information to a user plane network element in the public network;
    其中,所述第一非公共网络和所述公共网络之间通过无线接口通信,所述公共网络和所述第二非公共网络之间通过无线接口通信。Wherein, the communication between the first non-public network and the public network is through a wireless interface, and the communication between the public network and the second non-public network is through a wireless interface.
  34. 根据权利要求33所述的装置,其特征在于,The device according to claim 33, characterized in that,
    所述收发单元,用于根据第二路由规则,向所述用户面网元发送所述数据信息,其中,所述第二路由规则用于指示所述第二设备的子地址段与所述公共网络中的用户面网元对应的隧道之间的关系。The transceiver unit is configured to send the data information to the user plane network element according to a second routing rule, wherein the second routing rule is used to indicate that the sub-address segment of the second device is different from the public Relationship between tunnels corresponding to user plane network elements in the network.
  35. 根据权利要求34所述的装置,其特征在于,所述装置还包括:The device according to claim 34, further comprising:
    所述收发单元,用于接收来自所述公共网络中的控制面网元的所述第二路由规则。The transceiving unit is configured to receive the second routing rule from a control plane network element in the public network.
  36. 根据权利要求34或35所述的装置,其特征在于,Apparatus according to claim 34 or 35, characterized in that,
    所述收发单元,用于根据所述数据信息的地址和所述第二路由规则,向所述用户面网元发送所述数据信息。The transceiving unit is configured to send the data information to the user plane network element according to the address of the data information and the second routing rule.
  37. 根据权利要求33至36中任一项所述的装置,其特征在于,所述收发单元,用于向公共网络中的用户面网元发送所述数据信息之前,所述装置还包括:The device according to any one of claims 33 to 36, wherein the transceiver unit is configured to, before sending the data information to a user plane network element in a public network, the device further includes:
    所述收发单元,还用于向所述公共网络中的控制面网元发送N1消息,所述N1消息 包括N2消息,所述N2消息用于建立N2接口的无线连接;The transceiver unit is further configured to send an N1 message to the control plane network element in the public network, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection of the N2 interface;
    所述收发单元,还用于接收来自所述控制面网元的所述N1消息的响应消息,所述N1消息的响应消息包括所述N2消息的响应消息,所述N2消息的响应消息用于表征成功建立所述N2接口的连接。The transceiver unit is further configured to receive a response message of the N1 message from the control plane network element, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used for To characterize the successful establishment of the connection of the N2 interface.
  38. 根据权利要求37所述的装置,其特征在于,所述N1消息还包括第一指示信息,所述第一指示信息用于指示处理所述N2消息。The device according to claim 37, wherein the N1 message further includes first indication information, and the first indication information is used to instruct to process the N2 message.
  39. 一种通信装置,其特征在于,所述装置应用于公共网络,所述装置包括:收发单元和处理单元,A communication device, characterized in that the device is applied to a public network, and the device includes: a transceiver unit and a processing unit,
    所述收发单元,用于接收来自多个设备的N1消息,所述N1消息包括N2消息,所述N2消息用于建立N2接口的无线连接,所述多个设备包括第一非公共网络中的第一设备和第二非公共网络中的第二设备;The transceiver unit is configured to receive an N1 message from multiple devices, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection of the N2 interface, and the multiple devices include a first non-public network the first device and the second device in the second non-public network;
    所述处理单元,用于处理所述N1消息,生成所述N1消息的响应消息;The processing unit is configured to process the N1 message and generate a response message to the N1 message;
    所述收发单元,还用于向所述多个设备发送所述N1消息的响应消息,所述N1消息的响应消息包括所述N2消息的响应消息,所述N2消息的响应消息用于表征成功建立所述N2接口的无线连接。The transceiver unit is further configured to send a response message of the N1 message to the multiple devices, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used to indicate success Establish a wireless connection on the N2 interface.
  40. 根据权利要求39所述的装置,其特征在于,所述N1消息还包括第一指示信息,所述第一指示信息用于指示处理所述N2消息。The device according to claim 39, wherein the N1 message further includes first indication information, and the first indication information is used to instruct to process the N2 message.
  41. 一种通信装置,其特征在于,所述装置应用于第一非公共网络,所述装置包括:收发单元和处理单元,A communication device, characterized in that the device is applied to a first non-public network, and the device includes: a transceiver unit and a processing unit,
    所述处理单元,用于生成N1消息;The processing unit is configured to generate an N1 message;
    所述收发单元,用于向公共网络中的控制面网元发送所述N1消息,所述N1消息包括N2消息,所述N2消息用于建立N2接口的无线连接;The transceiver unit is configured to send the N1 message to a control plane network element in the public network, the N1 message includes an N2 message, and the N2 message is used to establish a wireless connection of the N2 interface;
    所述收发单元,还用于接收来自所述控制面网元的所述N1消息的响应消息,所述N1消息的响应消息包括所述N2消息的响应消息,所述N2消息的响应消息用于表征成功建立所述N2接口的无线连接;The transceiver unit is further configured to receive a response message of the N1 message from the control plane network element, the response message of the N1 message includes a response message of the N2 message, and the response message of the N2 message is used for Characterizing the successful establishment of the wireless connection of the N2 interface;
    所述处理单元,还用于处理所述N1消息的响应消息。The processing unit is further configured to process a response message of the N1 message.
  42. 根据权利要求41所述的装置,其特征在于,所述N1消息还包括第一指示信息,所述第一指示信息用于指示处理所述N2消息。The device according to claim 41, wherein the N1 message further includes first indication information, and the first indication information is used to instruct to process the N2 message.
  43. 一种通信装置,其特征在于,包括:A communication device, characterized by comprising:
    处理器,用于执行存储器中存储的计算机程序,以使得所述装置执行如权利要求1至6中任一项所述的方法,或者以使得所述装置执行如权利要求7至11中任一项所述的方法,或者以使得所述装置执行如权利要求12至17中任一项所述的方法,或者以使得所述装置执行如权利要求18或19所述的方法,或者以使得所述装置执行如权利要求20或21所述的方法。A processor, configured to execute the computer program stored in the memory, so that the device executes the method according to any one of claims 1 to 6, or makes the device execute any one of claims 7 to 11 The method described in the item, or to cause the device to perform the method according to any one of claims 12 to 17, or to cause the device to perform the method according to claim 18 or 19, or to cause the device to perform the method described in any one of claims 12 to 17 Said device performs the method as claimed in claim 20 or 21.
  44. 根据权利要求43所述的装置,其特征在于,所述装置还包括所述存储器。The apparatus of claim 43, further comprising the memory.
  45. 一种芯片,其特征在于,包括处理器和通信接口,所述通信接口用于接收待处理的数据和/或信息,所述处理器用于执行如权利要求1-21中任一项所述的处理操作。A chip, characterized in that it includes a processor and a communication interface, the communication interface is used to receive data and/or information to be processed, and the processor is used to execute the method described in any one of claims 1-21 Processing operations.
  46. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至6中 任意一项所述的方法,或者以使得所述计算机执行如权利要求7至11中任一项所述的方法,或者以使得所述计算机执行如权利要求12至17中任一项所述的方法,或者以使得所述计算机执行如权利要求18或19所述的方法,或者以使得所述计算机执行如权利要求20或21所述的方法。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is run on a computer, the computer is made to execute any one of claims 1 to 6. The method described in item 1, or to cause the computer to perform the method according to any one of claims 7 to 11, or to cause the computer to perform the method according to any one of claims 12 to 17, Or to cause the computer to execute the method as claimed in claim 18 or 19, or to cause the computer to execute the method as claimed in claim 20 or 21.
  47. 一种计算机程序产品,其特征在于,所述计算机程序产品包括用于执行如权利要求1至6中任一项所述的方法的指令,或者,所述计算机程序产品包括用于执行如权利要求7至11中任一项所述的方法的指令,或者,所述计算机程序产品包括用于执行如权利要求12至17中任一项所述的方法的指令,或者,所述计算机程序产品包括用于执行如权利要求18或19所述的方法的指令,或者,所述计算机程序产品包括用于执行如权利要求20或21所述的方法的指令。A computer program product, characterized in that the computer program product includes instructions for executing the method according to any one of claims 1 to 6, or the computer program product includes instructions for executing the method according to any one of claims 1 to 6 7 to 11 according to any one of the instructions of the method, or, the computer program product includes instructions for performing the method according to any one of claims 12 to 17, or, the computer program product includes Instructions for performing the method as claimed in claim 18 or 19, alternatively, the computer program product comprises instructions for performing the method as claimed in claim 20 or 21.
PCT/CN2022/072228 2022-01-17 2022-01-17 Communication method and apparatus WO2023133871A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/072228 WO2023133871A1 (en) 2022-01-17 2022-01-17 Communication method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/072228 WO2023133871A1 (en) 2022-01-17 2022-01-17 Communication method and apparatus

Publications (1)

Publication Number Publication Date
WO2023133871A1 true WO2023133871A1 (en) 2023-07-20

Family

ID=87279846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/072228 WO2023133871A1 (en) 2022-01-17 2022-01-17 Communication method and apparatus

Country Status (1)

Country Link
WO (1) WO2023133871A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110474884A (en) * 2019-07-24 2019-11-19 北京百度网讯科技有限公司 Ether mill network system and communication means, equipment and computer readable storage medium
CN110972218A (en) * 2018-09-30 2020-04-07 华为技术有限公司 Communication method and device
CN112312489A (en) * 2019-07-31 2021-02-02 华为技术有限公司 Method, communication device and communication system for transmitting data
WO2021018652A1 (en) * 2019-07-29 2021-02-04 Sony Corporation Communications device, infrastructure equipment, core network element and methods
CN112689306A (en) * 2019-10-17 2021-04-20 华为技术有限公司 Data transmission method, communication equipment and communication system
US20210184875A1 (en) * 2019-03-29 2021-06-17 Ofinno, Llc Charging Control for Non-Public Network
WO2021249430A1 (en) * 2020-06-12 2021-12-16 华为技术有限公司 Communication method and related device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110972218A (en) * 2018-09-30 2020-04-07 华为技术有限公司 Communication method and device
US20210184875A1 (en) * 2019-03-29 2021-06-17 Ofinno, Llc Charging Control for Non-Public Network
CN110474884A (en) * 2019-07-24 2019-11-19 北京百度网讯科技有限公司 Ether mill network system and communication means, equipment and computer readable storage medium
WO2021018652A1 (en) * 2019-07-29 2021-02-04 Sony Corporation Communications device, infrastructure equipment, core network element and methods
CN112312489A (en) * 2019-07-31 2021-02-02 华为技术有限公司 Method, communication device and communication system for transmitting data
CN112689306A (en) * 2019-10-17 2021-04-20 华为技术有限公司 Data transmission method, communication equipment and communication system
WO2021249430A1 (en) * 2020-06-12 2021-12-16 华为技术有限公司 Communication method and related device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LG ELECTRONICS, LG UPLUS: "KI #2, Conclusion update to resolve EN on RRC_Inactive", SA WG2 MEETING #142E (E-MEETING) S2-2008559, 9 November 2020 (2020-11-09), XP051952602 *
NOKIA, NOKIA SHANGHAI BELL, ETRI: "(TP for NPN BL CR for 38.300) Mobility aspects of NPN", 3GPP TSG-RAN WG3#106 R3-197777, 25 November 2019 (2019-11-25), XP051831002 *

Similar Documents

Publication Publication Date Title
EP4362512A1 (en) Communication method and apparatus
US20230069252A1 (en) Communication Method and Communication Apparatus
WO2021057794A1 (en) Service configuration method, communication device, and communication system
WO2023280121A1 (en) Method and apparatus for obtaining edge service
US20230319556A1 (en) Key obtaining method and communication apparatus
WO2022048394A1 (en) Network connection method, network disconnection method and communication apparatus
US20230189188A1 (en) Method for terminal to access public and private networks and communications apparatus
WO2023124457A1 (en) Method and apparatus for selecting network
WO2022199451A1 (en) Session switching method and apparatus
CN113595911B (en) Data forwarding method and device, electronic equipment and storage medium
WO2023185880A1 (en) Access network device determining method
WO2023124875A1 (en) Communication method and apparatus
WO2023051430A1 (en) Communication method and apparatus
WO2022194262A1 (en) Security communication method and apparatus
WO2023133871A1 (en) Communication method and apparatus
WO2023185620A1 (en) Communication method and apparatus
WO2023051431A1 (en) Communication method and apparatus
WO2023160394A1 (en) Communication method and apparatus
WO2024067200A1 (en) Communication method, apparatus and system
WO2023185657A1 (en) Communication method and communication apparatus
WO2023160199A1 (en) Method and apparatus for accessing communication network
WO2024032290A1 (en) Session establishment method and apparatus, and network device and storage medium
WO2023142717A1 (en) Method and apparatus for determining user equipment route selection policy
WO2023116556A1 (en) Session switching method and apparatus
WO2023197737A1 (en) Message sending method, pin management method, communication apparatus, and communication system

Legal Events

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

Ref document number: 22919519

Country of ref document: EP

Kind code of ref document: A1