WO2021042398A1 - Communication method and apparatus, network device and terminal device - Google Patents

Communication method and apparatus, network device and terminal device Download PDF

Info

Publication number
WO2021042398A1
WO2021042398A1 PCT/CN2019/104806 CN2019104806W WO2021042398A1 WO 2021042398 A1 WO2021042398 A1 WO 2021042398A1 CN 2019104806 W CN2019104806 W CN 2019104806W WO 2021042398 A1 WO2021042398 A1 WO 2021042398A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
session
address information
information
container
Prior art date
Application number
PCT/CN2019/104806
Other languages
French (fr)
Chinese (zh)
Inventor
许阳
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201980099688.4A priority Critical patent/CN114287142B/en
Priority to PCT/CN2019/104806 priority patent/WO2021042398A1/en
Publication of WO2021042398A1 publication Critical patent/WO2021042398A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/084Load balancing or load distribution among network function virtualisation [NFV] entities; among edge computing entities, e.g. multi-access edge computing

Definitions

  • the embodiments of the present application relate to the field of mobile communication technology, and specifically relate to a communication method and device, network equipment, and terminal equipment.
  • Edge Computing The main function of Edge Computing (EC) is to offload data traffic to local servers.
  • the terminal device In order to realize the interaction between the terminal device and the local server, the terminal device needs to obtain the address of the local server first. At present, obtaining the address of the local server by the terminal device requires cumbersome interaction between the terminal device and the network side, which causes additional signaling overhead.
  • the embodiments of the present application provide a communication method and device, network equipment, and terminal equipment.
  • the first core network element sends first information to the terminal device, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal device and the terminal device. At least one first server transmits data through a first session.
  • the terminal device receives the first information sent by the first core network element, where the first information carries address information of at least one first server, and the address information of the at least one first server is used by the terminal device and all The at least one first server transmits data through a first session.
  • the sending unit is configured to send first information to a terminal device, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal device and the at least one A first server transmits data through the first session.
  • the receiving unit is configured to receive first information sent by a first core network element, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal Data is transmitted between the device and the at least one first server through a first session.
  • the network device provided by the embodiment of the present application includes a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory to execute the aforementioned communication method.
  • the terminal device provided in the embodiment of the present application includes a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory to execute the aforementioned communication method.
  • the chip provided in the embodiment of the present application is used to implement the above-mentioned communication method.
  • the chip includes: a processor, configured to call and run a computer program from the memory, so that the device installed with the chip executes the above-mentioned communication method.
  • the computer-readable storage medium provided by the embodiments of the present application is used to store a computer program, and the computer program enables a computer to execute the above-mentioned communication method.
  • the computer program product provided by the embodiments of the present application includes computer program instructions, and the computer program instructions cause a computer to execute the above-mentioned communication method.
  • the computer program provided in the embodiment of the present application when it runs on a computer, causes the computer to execute the above-mentioned communication method.
  • the work of obtaining the address of the first server is realized by the network element of the first core network, which prevents the terminal device from communicating with other servers to obtain the address of the first server, and saves signaling interaction.
  • the technical solutions of the embodiments of the present application make full use of existing processes and mechanisms, have little impact on the existing network, and are easy to implement.
  • FIG. 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application.
  • Figure 2-1 is a schematic diagram of a coverage area corresponding to a local server provided by an embodiment of the present application
  • Figure 2-2 is a first network architecture diagram provided by an embodiment of the present application.
  • Figure 2-3 is a second network architecture diagram provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a communication method provided by an embodiment of this application.
  • FIG. 4 is a first flowchart of obtaining the address of an access server provided by an embodiment of the present application
  • FIG. 5 is a second flowchart of obtaining the address of an access server according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram 1 of the structural composition of a communication device provided by an embodiment of the application.
  • FIG. 7 is a second schematic diagram of the structural composition of a communication device provided by an embodiment of this application.
  • FIG. 8 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a chip of an embodiment of the present application.
  • FIG. 10 is a schematic block diagram of a communication system provided by an embodiment of the present application.
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • 5G communication system 5G communication system or future communication system.
  • the communication system 100 applied in the embodiment of the present application is shown in FIG. 1.
  • the communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal 120 (or called a communication terminal or terminal).
  • the network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminals located in the coverage area.
  • the network device 110 may be an evolved base station (Evolutional Node B, eNB, or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or
  • the network equipment can be a mobile switching center, a relay station, an access point, an in-vehicle device, a wearable device, a hub, a switch, a bridge, a router, a network side device in a 5G network, or a network device in a future communication system, etc.
  • the communication system 100 also includes at least one terminal 120 located within the coverage area of the network device 110.
  • the "terminal” used here includes, but is not limited to, connection via a wired line, such as via a public switched telephone network (PSTN), digital subscriber line (Digital Subscriber Line, DSL), digital cable, and direct cable connection; And/or another data connection/network; and/or via a wireless interface, such as for cellular networks, wireless local area networks (WLAN), digital TV networks such as DVB-H networks, satellite networks, AM-FM Broadcast transmitter; and/or another terminal's device configured to receive/send communication signals; and/or Internet of Things (IoT) equipment.
  • PSTN public switched telephone network
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • a terminal set to communicate through a wireless interface may be referred to as a "wireless communication terminal", a “wireless terminal” or a “mobile terminal”.
  • mobile terminals include, but are not limited to, satellite or cellular phones; Personal Communications System (PCS) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, Internet/intranet PDA with internet access, web browser, memo pad, calendar, and/or Global Positioning System (GPS) receiver; and conventional laptop and/or palmtop receivers or others including radio telephone transceivers Electronic device.
  • PCS Personal Communications System
  • GPS Global Positioning System
  • Terminal can refer to access terminal, user equipment (UE), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user Device.
  • the access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (Personal Digital Assistant, PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminals in 5G networks, or terminals in the future evolution of PLMN, etc.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • direct terminal connection (Device to Device, D2D) communication may be performed between the terminals 120.
  • the 5G communication system or 5G network may also be referred to as a New Radio (NR) system or NR network.
  • NR New Radio
  • FIG. 1 exemplarily shows one network device and two terminals.
  • the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminals. This embodiment of the present application There is no restriction on this.
  • the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices.
  • the communication device may include a network device 110 and a terminal 120 with communication functions, and the network device 110 and the terminal 120 may be the specific devices described above, which will not be repeated here; communication
  • the device may also include other devices in the communication system 100, such as other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • a typical edge computing is Mobile Edge Computing (EMC). It should be noted that the edge computing involved in the embodiments of the present application is also applicable to mobile edge computing.
  • EMC Mobile Edge Computing
  • edge computing The main function of edge computing is to offload data traffic to a local server. Because the local server is close to the user, it has the characteristics of low data transmission delay and obvious bandwidth savings for wired networks. As shown in Figure 2-1, different areas can be covered by different local servers, for example, local server-1 covers area 1, local server-2 covers area 2, and local server-3 covers area 3. When the terminal device moves to a different area, it can access the local server corresponding to that area for some or all of the services. When the terminal device is not in a specific area (referring to the area covered by the local server), the terminal device can still access the remote server (that is, the non-local server).
  • the data transmitted in each coverage area corresponds to a network slice, that is, the PDU session for data transmission in each area can be through at least S-NSSAI and/or DNN.
  • S-NSSAI is composed of slice/service type (Slice/Service Type, SST) and slice differential (Slice Differentiator, SD). Since they are both edge computing services, they correspond to areas 1, 2, and 3.
  • SST slice/service type
  • SD slice differential
  • the remote server is relative to the local server.
  • the local server is used to process part or all of the services in a specific area, and after the terminal device moves out of the area covered by the local server, the part or all of the services The processing of the business needs to interact with the remote server.
  • the remote server has no absolute relationship with the distance, but by contrast, the local server will be closer to the user in a specific area.
  • FIG 2-2 shows a network architecture through which the connection relationship between the local server and remote server and other network elements in the network can be determined.
  • the network architecture involves The equipment includes: terminal equipment, base station, user plane function network element (User Plane Function, UPF), access and mobility management function network element (Access and Mobility Management Function, AMF), session management function network element (Session Management Function, SMF), Domain Name System (DNS).
  • UPF User Plane Function
  • AMF Access and Mobility Management Function
  • SMF Session Management Function
  • DNS Domain Name System
  • the local server involved in the embodiment of the present application may also be referred to as an access server or an EC server or an MEC server.
  • FIG. 2-3 shows a 5G network architecture, as shown in Figure 2-3, the equipment involved in the 5G network architecture includes: UE, Radio Access Network (RAN), UPF, and data network (Data Network, DN), AMF, SMF, Policy Control Function (PCF), Application Function (AF), Authentication Server Function (AUSF), unified Data management network element (Unified Data Management, UDM).
  • the network elements related to the strategy are mainly PCF, AMF, SMF, RAN, and UE.
  • SMF is mainly responsible for the execution of policies related to the session
  • AMF is mainly responsible for the execution of policies related to access and UE policies
  • the policy issuance and update on the two network elements (AMF and SMF) are all controlled by the PCF.
  • the PCF and the UE monitor the information related to the UE policy through a container (Container), including the content of the UE policy, the UE policy identifier, and so on.
  • a container Container
  • the container is sent by the UE to the AMF through NAS messages, and the AMF continues to transmit (not aware or modify) to the PCF.
  • the PCF sends the container to the AMF, and the AMF then transmits through the NAS message. Pass to UE.
  • the UE policy may be a UE Route Selection Policy (URSP), which is used to determine the binding relationship between service data and the PDU session, and also determines what PDU session the UE needs to establish to satisfy this binding relationship.
  • the URSP strategy can be sent to the AMF via the container (Container) through the core network element PCF in Figure 2-2 and then transparently transmitted to the UE via the AMF, or it can be a strategy configured locally by the UE.
  • the URSP policy includes multiple policy rules (referred to as URSP Rules), and each URSP Rule is composed of a traffic descriptor (Traffic Descriptor) and a set of routing selectors (Route Selection Descriptor, RSD).
  • the service descriptor in URSP is used to describe a specific service. For example, the microblog service can be described in the range of IP@1-9, and the IMS service can be described by IMS DNN. Then, there can be one or more RSDs under a service descriptor.
  • the value of Single-Network Slice Selection Assistant Information (S-NSSAI) and the value of Data Network Name (DNN) in an RSD can be one or more. The values of other parameters are only Include one.
  • each RSD can correspond to one or more sets of parameter combinations.
  • Each set of parameter combinations is used to define the characteristics of a PDU session.
  • the service data corresponding to the service descriptor can be carried out in the PDU session corresponding to a certain set of parameter combinations of the RSD. transmission.
  • the UE can select a set of parameter combinations according to the corresponding RSD and initiate a PDU session establishment request. Each time the UE initiates a PDU session establishment request, it adds a set of parameter combinations to the request message.
  • the related content of URSP is shown in Table 1 and Table 2. Table 1 is the content of URSP Rule, and Table 2 is the content of RSD:
  • the UE associates the application data (or service data) with the corresponding PDU session for transmission based on the URSP strategy.
  • the mechanism is as follows:
  • the UE uses the URSP rule in the URSP policy to check whether the characteristics of the application data match the Traffic Descriptor of a rule in the URSP rule, and the viewing order is based on the priority in the Traffic Descriptor in the URSP rule (Precedence) to determine, that is, the UE sequentially checks the matching situation based on the order of priority.
  • the RSD list under the URSP rule is used to bind the PDU session.
  • evaluation that is, finding or establishing a suitable PDU session binding.
  • the RSD in the URSP rule used by the UE is considered to be a valid RSD only if the following conditions are met and used to perform the above evaluation process:
  • S-NSSAI there is S-NSSAI in RSD, and S-NSSAI must belong to one of Allowed NSSAI (corresponding to non-roaming situation) or Mapping of Allowed NSSAI (corresponding to roaming situation);
  • the UE must be in the valid area corresponding to the LADN;
  • the UE must support the ATSSS function;
  • the UE must meet the required time and/or location conditions.
  • the UE will not use the RSD for data flow binding or PDU session establishment. Specifically, the UE only considers valid RSDs or ignores invalid RSDs. Based on this, the valid conditions of a specific PDU session and the service data that can be transmitted can be limited according to the URSP mechanism.
  • a terminal device in order for a terminal device to find the address of the local server, it usually needs to establish a connection with the remote server to interact with it, and then interact with the local server after obtaining the address of the local server. In this way, the terminal device needs to establish at least two PDU sessions, one for remote server interaction and one for local server interaction. This causes additional signaling overhead, especially in order to interact with the remote server to obtain the address of the local server, and it is very redundant for the terminal device to establish a PDU session corresponding to the remote server. For this reason, the technical solution of the embodiment of the present application proposes a solution for establishing only one PDU session and obtaining the address of the local server during the establishment or modification of the PDU session.
  • the terminal device can directly communicate with the local server, which helps to improve communication efficiency.
  • the terminal device In order to enable the terminal device to obtain the address of the local server during the establishment of a PDU session communicating with the local server, the following technical solutions of the embodiments of the present application are proposed.
  • FIG. 3 is a schematic flowchart of a communication method provided by an embodiment of the application. As shown in FIG. 3, the communication method includes the following steps:
  • Step 301 The first core network element sends first information to the terminal device, and the terminal device receives the first information sent by the first core network element, where the first information carries address information of at least one first server, so The address information of the at least one first server is used to transmit data between the terminal device and the at least one first server through a first session.
  • the network element of the first core network includes SMF and/or UPF.
  • the realization of the first information can be but not limited to the following ways:
  • Manner 1 Implementation based on a UE Configuration Update (UCU) process.
  • the first information is carried in a downlink NAS message (that is, a UCU message) sent by the first core network element.
  • a downlink NAS message that is, a UCU message
  • the first information is carried in a first container, the first container is sent by the PCF to the AMF, and the AMF sends the first container to the terminal device through a downlink NAS message.
  • Manner 2 Implementation based on the session establishment or modification process. Specifically, the first information is carried in a first response message, and the first response message is the first core network element received by the first core network element sent by the terminal device. A response message after a request message, where the first request message is used to request the establishment or modification of the first session.
  • the first request message is a session establishment request message or a session modification request message.
  • the first session is a session that needs to be established or modified.
  • the first session is a PDU session.
  • the content carried in the first request message is described below.
  • the first request message carries a first session attribute parameter
  • the first session attribute parameter is used for at least one of the following:
  • the network element of the first core network determines the service type
  • the first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
  • the first session attribute parameter includes at least one of the following: S-NSSAI, DNN.
  • the first request message carries first indication information; the first indication information is used to indicate whether to request to obtain the address information of the first server.
  • the first indication information is carried in a first container, and the first container is carried in the first request message; the first core network element transfers the first container to Send (or transparently transmit) to the second server without any modification (or insensitivity).
  • the first request message carries a first route identifier; the first route identifier is used by the first core network element to address a second server and obtain the at least one route from the second server Address information of the first server.
  • the first request message carries at least one first service identifier; the at least one first service identifier is used by the first core network element to determine at least one service and obtain the at least one service from a second server Address information of at least one first server corresponding to one service.
  • the at least one first service identifier is carried in a first container; the first container is carried in the first request message; and the first core network element receives from the first container; After obtaining the first container in a request message, the first container is sent to the second server; the first core network element receives the second container sent by the second server, and the second The container carries address information of at least one first server corresponding to the at least one first service identifier; the first core network element carries the second container in the first response message and sends it to the terminal equipment.
  • the first core network element after acquiring the at least one first service identifier from the first request message, sends the at least one first service identifier to the first The second server, or generate at least one second service identifier based on the at least one first service identifier, and send the at least one second service identifier to the second server; the first core network element receives the The address information of the at least one first server corresponding to the at least one first service identifier sent by the second server; the first core network element carries the address information of the at least one first server in the first A response message is sent to the terminal device.
  • the content carried in the first request message may be any combination of the above content.
  • Example 1 The first request message carries the first session attribute parameter.
  • the first request message carries a first session attribute parameter and at least one of the following: first indication information and a first route identifier.
  • Example 3 The first request message carries at least one first service identifier.
  • the first request message carries at least one first service identifier and at least one of the following: first indication information and a first routing identifier.
  • the first core network element addresses the second server according to at least one of the following: a first route identifier, indication information from the second core network element, local configuration information, and at least one first A service identifier; and then obtain the address information of the at least one first server from the second server.
  • the second server is a Dynamic Host Configuration Protocol (DHCP) server and/or a Domain Name System (DNS) server, and the second server may also It is called an external server.
  • DHCP Dynamic Host Configuration Protocol
  • DNS Domain Name System
  • the network side may, but is not limited to, search for the address information of the first server (ie, local server, or access server, or EC server, or MEC server) for the terminal device in the following manner.
  • the first server ie, local server, or access server, or EC server, or MEC server
  • the task of triggering the search for the address of the first server can be executed by the first core network element (SMF or UPF) (which can happen without the container in the second mode), or by the second server (can be executed in the second mode). It can happen in the case of using the container), or the terminal can be executed through a user-plane PDU session (it can happen in the case of mode 1).
  • SMS first core network element
  • UPF user-plane PDU session
  • the first core network element queries the DHCP server (which may be the DHCP server in the second server) according to the parameters in the first request message to obtain the first If the domain name and/or address of the server is the obtained domain name of the first server, the DNS server may be further asked for the address (for example, IP address) of the first server.
  • the DHCP server and/or DNS service may all belong to the second server, that is, the second server may include two actually used servers.
  • the search triggered by the second server is basically similar to the search triggered by the first core network element.
  • the difference is that the DHCP server and/or DNS server can be a server other than the second server. .
  • the terminal device queries the second server according to the FQDN information in the first information, so as to obtain the address of the first server.
  • the first response message is a response message for the first request message, and the first response message carries address information of at least one first server.
  • the first response message carries address information of one first server or address information of multiple first servers.
  • the first server includes at least an edge computing server.
  • the edge computing server can also become a local server or an access server.
  • the data stream of the at least one service is bound and transmitted on the first session; correspondingly, the address of the at least one first server The information is used by the terminal device to transmit the data stream of the at least one service bound on the first session to the at least one first server, and/or receive binding from the at least one first server The data flow of the at least one service on the first session.
  • the first response message carries address information of a first server, and the address information of the first server is used by the terminal device to bind to the first server. Part or all of the data stream on a session is transmitted to the one first server, and/or part or all of the data stream bound on the first session is received from the one first server.
  • the first core network element before the terminal device initiates session establishment or modification, sends a first rule to the terminal device, and the terminal device receives the first core network element.
  • the first rule for meta sending the first rule is used by the terminal device to determine the content carried in the first request message; wherein, the first rule includes at least one of the following:
  • the first rule is a URSP rule
  • the service identifier is represented by a service descriptor in the URSP rule
  • the first indication information is carried in the RSD under the URSP rule
  • a session attribute parameter is carried in the RSD under the URSP rule.
  • the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
  • a terminal device when a terminal device needs to send a service data packet, if there is no corresponding PDU session to bind, it needs to create a new corresponding PDU session (whether there is a corresponding PDU session can be determined by URSP rules or local rules Judgment), the process of establishing a session can obtain its own address (that is, the session address, or the address of the terminal device). For this reason, the terminal device also requests the address of the access server corresponding to the service when establishing or modifying the session, so that the subsequent terminal device can directly communicate with the access server. After the session is successfully established, if the PDU session corresponding to other subsequent service data packets is also the session, the access server address can also be used to communicate with the access server.
  • SMF/UPF corresponds to the first core network element of the embodiment of this application
  • the external server corresponds to the second server (such as the DNS server) of the embodiment of this application
  • the access server corresponds to the implementation of this application.
  • Example of the first server such as EC server, or application server, or local server.
  • the external server is used to interact with the core network element (ie SMF/UPF) to obtain the address of the access server.
  • Fig. 4 is the first flow chart of obtaining the address of the access server provided by an embodiment of the application. The flow includes the following steps:
  • Step 401 The terminal device sends a PDU session establishment or modification request message to the SMF/UPF.
  • the PDU session establishment or modification request message carries the PDU session attribute parameter, and optionally carries the first indication information and/or the first route identifier.
  • the PDU session attribute parameter is used to determine the first PDU session.
  • the PDU session establishment or modification request message only carries PDU session attribute parameters, and SMF/UPF can determine whether step 402 needs to be triggered according to the PDU session attribute parameters.
  • the PDU session attribute parameter includes but is not limited to at least one of the following: S-NSSAI, DNN. It should be noted that the S-NSSAI and DNN itself are used to select the core network gateway, because a specific gateway corresponds to the access server, so it can be determined whether step 402 needs to be triggered according to the PDU session attribute parameters.
  • the PDU session establishment or modification request message not only carries the PDU session attribute parameter, but also carries the first indication information and/or the first route identifier.
  • the first indication information is used to indicate whether to request to obtain the address information of the access server.
  • the first indication information is used to indicate that it is necessary to request to obtain the address information of the access server.
  • the first routing identifier is used for the SMF/UPF to address the external server. Specifically, the first routing identifier is used to notify the SMF/UPF of the routing information of the external server, so that the SMF/UPF can be based on the first routing identifier. Find the corresponding external server, and ask the external server for the address information of the access server required by the terminal device.
  • the first route identifier may be a uniform resource locator (Uniform Resource Locators, URL), a server address, or the like.
  • PDU session attribute parameters (such as DNN and/or S-NSSAI) may be used as the first route identifier.
  • the first indication information and the first routing identifier may not be carried in the PDU session establishment or modification request message, and the SMF/UPF may determine whether step 402 needs to be triggered according to the PDU session attribute parameters.
  • the terminal device may encapsulate the first indication information in a container, carry the container in the PDU session establishment or modification request message, and send it to SMF/UPF, SMF/UPF sends the container directly to the external server, that is, SMF/UPF does not perceive or process the container and directly transmits it to the external server.
  • Step 402 The SMF/UPF interacts with the external server according to the content carried in the PDU session establishment or modification request message to obtain the address information of the access server.
  • SMF/UPF addresses the access server according to at least one of the following: PDU session attribute parameters, first route identifier, indication information of other network elements, local configuration information, interacts with external servers, and sends relevant information to external servers To get the address information of the access server.
  • the interaction form between SMF/UPF and the external server is not specifically limited. Its purpose is to obtain the address information of the access server required by the terminal device from the external server, so that the terminal device can directly communicate with the access server through the user interface (such as with The access server establishes an HTTP connection for communication).
  • the address information for accessing the server includes, but is not limited to, an IP address, a MAC address, and so on.
  • the SMF can contact the external server or the SMF informs the UPF to contact the external server, so as to obtain the address information of the access server.
  • Step 403 The SMF/UPF sends a PDU session establishment or modification response message to the terminal device.
  • the PDU session establishment or modification response message carries the address information of the access server.
  • the PDU session establishment or modification response message may carry address information of one access server, or may carry address information of multiple access servers. If the address information of an access server is carried, it means that all service data bound on the first PDU session needs to access the access server.
  • the address information for accessing the server may be carried by a container, and the container is transparently transmitted to the terminal device through SMF/UPF, that is, the SMF/UPF does not perceive or modify the container.
  • the external server receives a container (for example, the terminal device sends the container in step 401)
  • the external server also replies to the container, and the SMF/UPF transparently transmits the container to the terminal device through a NAS message (specifically, a downlink NAS message).
  • a NAS message specifically, a downlink NAS message
  • Step 404 The terminal device transmits the data bound to the first PDU session between the user plane and the access server according to the address information of the access server.
  • the terminal device establishes an HTTP connection with the access server according to the address information of the access server, and transmits the data bound to the first PDU session through the HTTP connection.
  • the terminal device can obtain the PDU session address (that is, the address of the terminal device), and at the same time can also obtain the address of the access server. In this way, the terminal device binds the service data to the first PDU session according to the UE local policy or the URSP policy.
  • the terminal device can discard the data packet.
  • the terminal device sets the target addresses of all service data bound to the first PDU session as the access server address.
  • the terminal device in order for the terminal device to select appropriate PDU session attribute parameters, the terminal device receives the correspondence between the service identifier from the network side and the PDU session attribute parameters (that is, the first rule), as shown in Table 3 below :
  • the above-mentioned first rule can be implemented through the URSP rule.
  • these services can be described by the Traffic Descriptor in the URSP rule, and the specific S-NSSAI is configured in the corresponding RSD And DNN, the S-NSSAI and DNN are used for the first PDU session of the local offload.
  • the S-NSSAI and DNN are used for the first PDU session of the local offload.
  • the Traffic Descriptor in the URSP rules can be used as a service identifier to describe service-related information.
  • the RSD can carry first indication information. An indication information is used to indicate whether to request to obtain the address information of the access server.
  • FIG. 5 is the second flowchart of obtaining the address of the access server according to an embodiment of the application. The process includes the following steps:
  • Step 501 The terminal device sends a PDU session establishment or modification request message to the SMF/UPF.
  • the PDU session establishment or modification request message carries a service identifier, and optionally the first indication information and/or the first route identifier.
  • the PDU session establishment or modification request message also carries PDU session attribute parameters.
  • the PDU session attribute parameters are used to determine the first PDU session.
  • the PDU session establishment or modification request message only carries a service identifier.
  • the PDU session establishment or modification request message not only carries the service identifier, but also carries the first indication information and/or the first route identifier.
  • the service identifier is used to identify the service, and the SMF/UPF can know the address information of the access server corresponding to which service needs to be requested according to the service identifier.
  • the form of the service identifier may be URL, domain name, IP address, application identifier (Application Id) defined within 3GPP, and so on.
  • PDU session attribute parameters (such as DNN and/or S-NSSAI) can be used as the service identifier.
  • the first indication information is used to indicate whether to request to obtain the address information of the access server.
  • the first indication information is used to indicate that it is necessary to request to obtain the address information of the access server.
  • the first routing identifier is used for the SMF/UPF to address the external server. Specifically, the first routing identifier is used to notify the SMF/UPF of the routing information of the external server, so that the SMF/UPF can be based on the first routing identifier. Find the corresponding external server, and ask the external server for the address information of the access server required by the terminal device.
  • the first route identification may be a URL, or a server address, or the like.
  • PDU session attribute parameters (such as DNN and/or S-NSSAI) may be used as the first route identifier.
  • the first indication information and the first routing identifier may not be carried in the PDU session establishment or modification request message, and the SMF/UPF may determine whether step 502 needs to be triggered according to the PDU session attribute parameters.
  • the terminal device may encapsulate the service identifier and/or the first indication information in a container, and carry the container in The PDU session establishment or modification request message is sent to the SMF/UPF, and the SMF/UPF sends the container directly to the external server, that is, the SMF/UPF does not perceive or process the container and directly transmits it to the external server.
  • Step 502 The SMF/UPF interacts with the external server according to the content carried in the PDU session establishment or modification request message to obtain the address information of the access server.
  • SMF/UPF addresses the access server according to at least one of the following: PDU session attribute parameters, first route identifier, indication information of other network elements, local configuration information, interacts with external servers, and sends relevant information to external servers To get the address information of the access server.
  • SMF/UPF can also address the access server according to the service ID (it should be noted that the first routing ID is a more direct indication of the address of the external server, and the service ID can also be used to know the address of the external server. ).
  • the form of interaction between SMF/UPF and the external server is not specifically limited, and its purpose is to obtain the address information of the access server required by the terminal device from the external server (that is, the address information of the access server corresponding to the service identifier indicated by the terminal device). Enable the terminal device to directly communicate with the access server through the user interface (for example, establish an HTTP connection with the access server for communication).
  • the address information for accessing the server includes, but is not limited to, an IP address, a MAC address, and so on.
  • the SMF can contact the external server or the SMF informs the UPF to contact the external server, so as to obtain the address information of the access server.
  • SMF/UPF can directly use the service ID sent by the terminal device to send the service ID to an external server to request the address information for accessing the server; or, SMF/UPF can be based on the service ID sent by the terminal device Generate a new service ID by itself (for example, generate a URL based on the Application ID sent by the terminal device), and send the new service ID to an external server to request access to the server's address information.
  • Step 503 The SMF/UPF sends a PDU session establishment or modification response message to the terminal device.
  • the PDU session establishment or modification response message carries the address information of the access server.
  • the PDU session establishment or modification response message may carry address information of one access server, or may carry address information of multiple access servers.
  • the PDU session establishment or modification response message may carry the correspondence between the multiple service identifiers and the address information of multiple access servers; or, The PDU session establishment or modification response message carries the address information of an access server, which means that all service data bound on the first PDU session needs to access the access server.
  • the address information for accessing the server may be carried by a container, and the container is transparently transmitted to the terminal device through SMF/UPF, that is, the SMF/UPF does not perceive or modify the container.
  • the external server receives a container (for example, the terminal device sends the container in step 401)
  • the external server also replies to the container, and the SMF/UPF transparently transmits the container to the terminal device through a NAS message (specifically, a downlink NAS message).
  • a NAS message specifically, a downlink NAS message
  • Step 504 The terminal device transmits the data bound to the first PDU session between the user plane and the access server according to the address information of the access server.
  • the terminal device establishes an HTTP connection with the access server according to the address information of the access server, and transmits the data bound to the first PDU session through the HTTP connection.
  • the terminal device can obtain the PDU session address (that is, the address of the terminal device), and at the same time can also obtain the address of the access server. In this way, the terminal device binds the service data to the first PDU session according to the UE local policy or the URSP policy.
  • the terminal device can discard the data packet.
  • the terminal device sets the target addresses of all service data bound to the first PDU session as the access server address.
  • the terminal device in order for the terminal device to select a suitable service identifier and/or first indication information (the first indication information is used to indicate whether to request access to the server address information), the terminal device receives the information from the network side
  • the corresponding relationship between the service identifier and the first indication information (that is, the first rule) is shown in Table 6 below:
  • PDU session attribute parameters involved in the embodiments of this application are not limited to S-NSSAI and/or DNN, and may also include SSC mode (SSC Mode), PDU session type (PDU Session Type), and non-seamless Offload indication (Non-Seamless Offload indication), access preference (Access Preference), etc.
  • the above-mentioned first rule can be implemented through the URSP rule.
  • these services can be described by the Traffic Descriptor in the URSP rule, and the specific S-NSSAI is configured in the corresponding RSD And DNN, the S-NSSAI and DNN are used for the first PDU session of the local offload.
  • the S-NSSAI and DNN are used for the first PDU session of the local offload.
  • the Traffic Descriptor in the URSP rule can be used as a service identifier to describe service-related information
  • the RSD carries first indication information
  • the first indication information is used for Indicates whether to request access to the server's address information.
  • the terminal device can obtain the address of the access server in the following manner: the network side sends a first message to the terminal device, the first message includes a first rule, and the first rule includes a service Identifies and corresponds to the address of the access server or the FQDN (or URL) information of the access server, as shown in Table 9 below.
  • the terminal device obtains the address of the access server, it means that all the data packets corresponding to the service identifier are sent to the server at that address; if the terminal device obtains the full domain name (Fully Qualified Domain Name, FQDN) of the access server , The terminal device uses the FQDN to interact with the second server to obtain the address of the access server, and then uses the address to communicate with the data packet corresponding to the service identifier.
  • FQDN Full Domain Name
  • the terminal device After establishing the PDU session, the terminal device obtains the address of the access server through the PDU session according to the FQDN information.
  • the terminal device directly communicates with the access server according to the address of the access server. That is to say, the PDU session establishment or modification process does not need to be enhanced, but the terminal device itself directly communicates with the external server and/or the access server through the established PDU session.
  • the address or FQDN information of the access server is added to the RSD of the URSP rule, such as the RSD shown in Table 10 below, and the terminal device obtains the address or FQDN information of the access server by obtaining the URSP rule.
  • the "service identifier" can correspond to the parameters in the Traffic Descriptor in the URSP rules.
  • the address/FQDN information of the access server can be sent to the terminal device through a NAS message triggered by the core network side.
  • the PCF triggers the UCU message to send the URSP rule containing the access server address/FQDN information to the terminal device.
  • the URSP rule is encapsulated in a container, and the container is sent by the PCF to the AMF, and the AMF sends the container to the terminal device through a downlink NAS message.
  • the first rule may also indicate the address or FQDN of the second server, and the terminal communicates with the second server according to the information to determine the address of the access server .
  • the technical solutions of the embodiments of this application can not only be applied to the scenario of obtaining the address of a local server (such as an EC server), but also can be used in other scenarios, that is, the terminal device can use the technical solutions of the embodiments of this application to discover any specific The address of the application server corresponding to the service.
  • a local server such as an EC server
  • the technical solution of the embodiment of the present application can be combined with a PDU session control related mechanism to control a terminal device to access a local server for a specific service in a specific area.
  • a mechanism such as the LADN mechanism
  • LADN mechanism is used to control the activation of the PDU session in a specific area (area covered by the local server) before the business can access the local server.
  • the terminal device moves out of a specific area, the original PDU session will be deactivated or deleted, and a new PDU session will be established to access the non-local server (that is, the remote server).
  • the PDU session establishment or modification response sent by the network side to the terminal device may not only carry the address information of the access server, but also information such as the port number and protocol type of the access server.
  • the technical solutions of the embodiments of the present application can be used not only for communication with the access server under the 5G network, but also for communication with the access server under the 4G network.
  • FIG. 6 is a schematic diagram 1 of the structural composition of a communication device provided by an embodiment of the application. As shown in FIG. 6, the communication device includes:
  • the sending unit 601 is configured to send first information to a terminal device, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal device and the At least one first server transmits data through a first session.
  • the first information is carried in a downlink NAS message sent by the first core network element.
  • the first information is carried in a first container, the first container is sent by the PCF to the AMF, and the AMF sends the first container to the terminal device through a downlink NAS message .
  • the first information is carried in a first response message, and the first response message is a response after the first core network element receives the first request message sent by the terminal device Message, the first request message is used to request the establishment or modification of the first session.
  • the first request message carries a first session attribute parameter
  • the first session attribute parameter is used for at least one of the following:
  • the network element of the first core network determines the service type
  • the first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
  • the first session attribute parameter includes at least one of the following: S-NSSAI, DNN.
  • the first request message carries first indication information
  • the first indication information is used to indicate whether to request to obtain the address information of the first server.
  • the first indication information is carried in a first container, and the first container is carried in the first request message;
  • the sending unit 601 is further configured to send the first container to the second server without any modification.
  • the first request message carries a first route identifier
  • the first route identifier is used by the first core network element to address a second server and obtain address information of the at least one first server from the second server.
  • the first request message carries at least one first service identifier
  • the at least one first service identifier is used by the first core network element to determine at least one service, and obtain address information of at least one first server corresponding to the at least one service from a second server.
  • the at least one first service identifier is carried in a first container; the first container is carried in the first request message;
  • the sending unit 601 is further configured to send the first container to the second server;
  • the device further includes: a receiving unit 602, configured to receive a second container sent by the second server, the second container carrying address information of at least one first server corresponding to the at least one first service identifier;
  • the sending unit 601 is further configured to carry the second container in the first response message and send it to the terminal device.
  • the sending unit 601 is further configured to send the at least one first service identifier to the second server, or generate at least one second service identifier based on the at least one first service identifier.
  • the device further includes: a receiving unit 602, configured to receive address information of at least one first server corresponding to the at least one first service identifier sent by the second server;
  • the sending unit 601 is further configured to carry the address information of the at least one first server in the first response message and send it to the terminal device.
  • the data stream of the at least one service is bound and transmitted on the first session
  • the use of the address information of the at least one first server to transmit data corresponding to the first session between the terminal device and the at least one first server includes:
  • the address information of the at least one first server is used by the terminal device to transmit the data stream of the at least one service bound to the first session to the at least one first server, and/or from all The at least one first server receives the data stream of the at least one service bound to the first session.
  • the first response message carries address information of a first server, and the address information of the first server is used for the part that the terminal device binds to the first session Or all data streams are transmitted to the one first server, and/or part or all of the data streams bound to the first session are received from the one first server.
  • the device further includes:
  • the addressing unit (not shown in the figure) is used to address the second server according to at least one of the following: a first routing identifier, indication information from a second core network element, local configuration information, at least one first Business identity.
  • the sending unit 601 is further configured to send a first rule to the terminal device, where the first rule is used by the terminal device to determine the content carried in the first request message;
  • the first rule includes at least one of the following:
  • the first rule is a URSP rule
  • the service identifier is represented by a service descriptor in the URSP rule
  • the first indication information is carried in the RSD under the URSP rule
  • the first session attribute parameter is carried in the RSD under the URSP rule.
  • the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
  • the first server includes at least an edge computing server.
  • FIG. 7 is a second schematic diagram of the structural composition of a communication device provided by an embodiment of the application. As shown in FIG. 7, the communication device includes:
  • the receiving unit 701 is configured to receive first information sent by a first core network element, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the The terminal device and the at least one first server transmit data through a first session.
  • the first information is carried in a downlink NAS message sent by the first core network element.
  • the first information is carried in a first container, the first container is sent by the PCF to the AMF, and the AMF sends the first container to the terminal device through a downlink NAS message .
  • the first information is carried in a first response message, and the first response message is a response after the first core network element receives the first request message sent by the terminal device Message, the first request message is used to request the establishment or modification of the first session.
  • the first request message carries a first session attribute parameter
  • the first session attribute parameter is used for at least one of the following:
  • the network element of the first core network determines the service type
  • the first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
  • the first session attribute parameter includes at least one of the following: S-NSSAI, DNN.
  • the first request message carries first indication information
  • the first indication information is used to indicate whether to request to obtain the address information of the first server.
  • the first indication information is carried in a first container, and the first container is carried in the first request message.
  • the first request message carries a first route identifier
  • the first route identifier is used by the first core network element to address a second server and obtain address information of the at least one first server from the second server.
  • the first request message carries at least one first service identifier
  • the at least one first service identifier is used by the first core network element to determine at least one service, and obtain address information of at least one first server corresponding to the at least one service from a second server.
  • the at least one first service identifier is carried in a first container; the first container is carried in the first request message;
  • the first response message carries a second container, and the second container carries address information of at least one first server corresponding to the at least one first service identifier.
  • the data stream of the at least one service is bound and transmitted on the first session
  • the use of the address information of the at least one first server to transmit data corresponding to the first session between the terminal device and the at least one first server includes:
  • the address information of the at least one first server is used by the terminal device to transmit the data stream of the at least one service bound to the first session to the at least one first server, and/or from all The at least one first server receives the data stream of the at least one service bound to the first session.
  • the first response message carries address information of a first server, and the address information of the first server is used for the part that the terminal device binds to the first session Or all data streams are transmitted to the one first server, and/or part or all of the data streams bound to the first session are received from the one first server.
  • the receiving unit 701 is further configured to receive a first rule sent by the first core network element, and the first rule is used by the terminal device to determine the first request message The content carried in; wherein, the first rule includes at least one of the following:
  • the first rule is a URSP rule
  • the service identifier is represented by a service descriptor in the URSP rule
  • the first indication information is carried in the RSD under the URSP rule
  • the first session attribute parameter is carried in the RSD under the URSP rule.
  • the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
  • the first server includes at least an edge computing server.
  • FIG. 8 is a schematic structural diagram of a communication device 800 provided by an embodiment of the present application.
  • the communication device may be a terminal device or a network device.
  • the communication device 800 shown in FIG. 8 includes a processor 810, and the processor 810 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
  • the communication device 800 may further include a memory 820.
  • the processor 810 may call and run a computer program from the memory 820 to implement the method in the embodiment of the present application.
  • the memory 820 may be a separate device independent of the processor 810, or may be integrated in the processor 810.
  • the communication device 800 may further include a transceiver 830, and the processor 810 may control the transceiver 830 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other devices. Information or data sent by the device.
  • the transceiver 830 may include a transmitter and a receiver.
  • the transceiver 830 may further include an antenna, and the number of antennas may be one or more.
  • the communication device 800 may specifically be a network device in an embodiment of the present application, and the communication device 800 may implement the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, it will not be repeated here. .
  • the communication device 800 may specifically be a mobile terminal/terminal device of an embodiment of the application, and the communication device 800 may implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the application.
  • I won’t repeat it here.
  • FIG. 9 is a schematic structural diagram of a chip of an embodiment of the present application.
  • the chip 900 shown in FIG. 9 includes a processor 910.
  • the processor 910 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
  • the chip 900 may further include a memory 920.
  • the processor 910 can call and run a computer program from the memory 920 to implement the method in the embodiment of the present application.
  • the memory 920 may be a separate device independent of the processor 910, or may be integrated in the processor 910.
  • the chip 900 may further include an input interface 930.
  • the processor 910 can control the input interface 930 to communicate with other devices or chips, and specifically, can obtain information or data sent by other devices or chips.
  • the chip 900 may further include an output interface 940.
  • the processor 910 can control the output interface 940 to communicate with other devices or chips, and specifically, can output information or data to other devices or chips.
  • the chip can be applied to the network device in the embodiment of the present application, and the chip can implement the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the chip can implement the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the chip can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the chip can implement the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the chip can implement the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the chip can implement the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the chip mentioned in the embodiment of the present application may also be referred to as a system-level chip, a system-on-chip, a system-on-chip, or a system-on-chip, etc.
  • FIG. 10 is a schematic block diagram of a communication system 1000 according to an embodiment of the present application. As shown in FIG. 10, the communication system 1000 includes a terminal device 1010 and a network device 1020.
  • the terminal device 1010 can be used to implement the corresponding function implemented by the terminal device in the above method
  • the network device 1020 can be used to implement the corresponding function implemented by the network device in the above method. For brevity, it will not be repeated here. .
  • the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capability.
  • the steps of the foregoing method embodiments can be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the above-mentioned processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (ASIC), a ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP Digital Signal Processor
  • ASIC application specific integrated circuit
  • FPGA Field Programmable Gate Array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile 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), and electrically available Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (Random Access Memory, RAM), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • DDR SDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • Enhanced SDRAM, ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • Synchronous Link Dynamic Random Access Memory Synchronous Link Dynamic Random Access Memory
  • DR RAM Direct Rambus RAM
  • the memory in the embodiment of the present application may also be 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 (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is to say, the memory in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
  • the embodiment of the present application also provides a computer-readable storage medium for storing computer programs.
  • the computer-readable storage medium can be applied to the network device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the computer program causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the computer-readable storage medium can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application , For the sake of brevity, I won’t repeat it here.
  • the embodiments of the present application also provide a computer program product, including computer program instructions.
  • the computer program product can be applied to the network device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the computer program instructions cause the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the computer program product can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application, For the sake of brevity, I will not repeat them here.
  • the embodiment of the present application also provides a computer program.
  • the computer program can be applied to the network device in the embodiment of the present application.
  • the computer program runs on the computer, it causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • I won’t repeat it here.
  • the computer program can be applied to the mobile terminal/terminal device in the embodiment of the present application.
  • the computer program runs on the computer, the computer executes each method in the embodiment of the present application. For the sake of brevity, the corresponding process will not be repeated here.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: 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 code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

Embodiments of the present application provide a communication method and apparatus, a network device and a terminal device. The method comprises: a network element of a first core network sending first information to a terminal device, wherein the first information carries address information of at least one first server, and the address information of the at least one first server is used for data transmission between the terminal device and the at least one first server by means of a first session.

Description

一种通信方法及装置、网络设备、终端设备Communication method and device, network equipment, terminal equipment 技术领域Technical field
本申请实施例涉及移动通信技术领域,具体涉及一种通信方法及装置、网络设备、终端设备。The embodiments of the present application relate to the field of mobile communication technology, and specifically relate to a communication method and device, network equipment, and terminal equipment.
背景技术Background technique
边缘计算(Edge Computing,EC)的主要功能就是将数据流量分流到本地服务器。为了实现终端设备与本地服务器之间的交互,终端设备需要先得到本地服务器的地址。目前,终端设备获取本地服务器的地址,需要终端设备与网络侧进行繁琐的交互,造成额外的信令开销。The main function of Edge Computing (EC) is to offload data traffic to local servers. In order to realize the interaction between the terminal device and the local server, the terminal device needs to obtain the address of the local server first. At present, obtaining the address of the local server by the terminal device requires cumbersome interaction between the terminal device and the network side, which causes additional signaling overhead.
发明内容Summary of the invention
本申请实施例提供一种通信方法及装置、网络设备、终端设备。The embodiments of the present application provide a communication method and device, network equipment, and terminal equipment.
本申请实施例提供的通信方法,包括:The communication method provided by the embodiment of the present application includes:
第一核心网网元向终端设备发送第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The first core network element sends first information to the terminal device, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal device and the terminal device. At least one first server transmits data through a first session.
本申请实施例提供的通信方法,包括:The communication method provided by the embodiment of the present application includes:
终端设备接收第一核心网网元发送的第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The terminal device receives the first information sent by the first core network element, where the first information carries address information of at least one first server, and the address information of the at least one first server is used by the terminal device and all The at least one first server transmits data through a first session.
本申请实施例提供的通信装置,包括:The communication device provided by the embodiment of the present application includes:
发送单元,用于向终端设备发送第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The sending unit is configured to send first information to a terminal device, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal device and the at least one A first server transmits data through the first session.
本申请实施例提供的通信装置,包括:The communication device provided by the embodiment of the present application includes:
接收单元,用于接收第一核心网网元发送的第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The receiving unit is configured to receive first information sent by a first core network element, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal Data is transmitted between the device and the at least one first server through a first session.
本申请实施例提供的网络设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述的通信方法。The network device provided by the embodiment of the present application includes a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the aforementioned communication method.
本申请实施例提供的终端设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述的通信方法。The terminal device provided in the embodiment of the present application includes a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the aforementioned communication method.
本申请实施例提供的芯片,用于实现上述的通信方法。The chip provided in the embodiment of the present application is used to implement the above-mentioned communication method.
具体地,该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片的设备执行上述的通信方法。Specifically, the chip includes: a processor, configured to call and run a computer program from the memory, so that the device installed with the chip executes the above-mentioned communication method.
本申请实施例提供的计算机可读存储介质,用于存储计算机程序,该计算机程序使得计算机执行上述的通信方法。The computer-readable storage medium provided by the embodiments of the present application is used to store a computer program, and the computer program enables a computer to execute the above-mentioned communication method.
本申请实施例提供的计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行上述的通信方法。The computer program product provided by the embodiments of the present application includes computer program instructions, and the computer program instructions cause a computer to execute the above-mentioned communication method.
本申请实施例提供的计算机程序,当其在计算机上运行时,使得计算机执行上述的通信方法。The computer program provided in the embodiment of the present application, when it runs on a computer, causes the computer to execute the above-mentioned communication method.
通过上述技术方案,获得第一服务器的地址的工作通过第一核心网网元来实现,从而避免了终端设备与其他服务器进行通信来获取第一服务器的地址,节省了信令交互。另一方面,本申请实施例的技术方案充分使用了现有的流程和机制,对现有网络影响较小,易于实现。Through the above technical solution, the work of obtaining the address of the first server is realized by the network element of the first core network, which prevents the terminal device from communicating with other servers to obtain the address of the first server, and saves signaling interaction. On the other hand, the technical solutions of the embodiments of the present application make full use of existing processes and mechanisms, have little impact on the existing network, and are easy to implement.
附图说明Description of the drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The exemplary embodiments and descriptions of the application are used to explain the application, and do not constitute an improper limitation of the application. In the attached picture:
图1是本申请实施例提供的一种通信系统架构的示意性图;FIG. 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application;
图2-1是本申请实施例提供的本地服务器对应的覆盖区域的示意图;Figure 2-1 is a schematic diagram of a coverage area corresponding to a local server provided by an embodiment of the present application;
图2-2是本申请实施例提供的网络架构图一;Figure 2-2 is a first network architecture diagram provided by an embodiment of the present application;
图2-3是本申请实施例提供的网络架构图二;Figure 2-3 is a second network architecture diagram provided by an embodiment of the present application;
图3为本申请实施例提供的通信方法的流程示意图;FIG. 3 is a schematic flowchart of a communication method provided by an embodiment of this application;
图4是本申请实施例提供的获取访问服务器地址的流程图一;FIG. 4 is a first flowchart of obtaining the address of an access server provided by an embodiment of the present application;
图5是本申请实施例提供的获取访问服务器地址的流程图二;FIG. 5 is a second flowchart of obtaining the address of an access server according to an embodiment of the present application;
图6为本申请实施例提供的通信装置的结构组成示意图一;6 is a schematic diagram 1 of the structural composition of a communication device provided by an embodiment of the application;
图7为本申请实施例提供的通信装置的结构组成示意图二;FIG. 7 is a second schematic diagram of the structural composition of a communication device provided by an embodiment of this application;
图8是本申请实施例提供的一种通信设备示意性结构图;FIG. 8 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图9是本申请实施例的芯片的示意性结构图;FIG. 9 is a schematic structural diagram of a chip of an embodiment of the present application;
图10是本申请实施例提供的一种通信系统的示意性框图。FIG. 10 is a schematic block diagram of a communication system provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are a part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请实施例的技术方案可以应用于各种通信系统,例如:长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、系统、5G通信系统或未来的通信系统等。The technical solutions of the embodiments of this application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (Time Division Duplex) , TDD), system, 5G communication system or future communication system.
示例性的,本申请实施例应用的通信系统100如图1所示。该通信系统100可以包括网络设备110,网络设备110可以是与终端120(或称为通信终端、终端)通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端进行通信。可选地,该网络设备110可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者是云无线接入网络(Cloud Radio Access Network,CRAN)中的无线控制器,或者该网络设备可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来通信系统中的网络设备等。Exemplarily, the communication system 100 applied in the embodiment of the present application is shown in FIG. 1. The communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal 120 (or called a communication terminal or terminal). The network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminals located in the coverage area. Optionally, the network device 110 may be an evolved base station (Evolutional Node B, eNB, or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or The network equipment can be a mobile switching center, a relay station, an access point, an in-vehicle device, a wearable device, a hub, a switch, a bridge, a router, a network side device in a 5G network, or a network device in a future communication system, etc.
该通信系统100还包括位于网络设备110覆盖范围内的至少一个终端120。作为在此使用的“终端”包括但不限于经由有线线路连接,如经由公共交换电话网络(Public Switched Telephone Networks,PSTN)、数字用户线路(Digital Subscriber Line,DSL)、数字电缆、直接电缆连接;和/或另一数据连接/网络;和/或经由无线接口,如,针对蜂窝网络、无线局域网(Wireless Local Area Network,WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器;和/或另一终端的被设置成接收/发送通信信号的装置;和/或物联网(Internet of Things,IoT)设备。被设置成通过无线接口通信的终端可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(Personal Communications System,PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(Global Positioning System,GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。终端可以指接入终端、用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端或者未来演进的PLMN中的终端等。The communication system 100 also includes at least one terminal 120 located within the coverage area of the network device 110. The "terminal" used here includes, but is not limited to, connection via a wired line, such as via a public switched telephone network (PSTN), digital subscriber line (Digital Subscriber Line, DSL), digital cable, and direct cable connection; And/or another data connection/network; and/or via a wireless interface, such as for cellular networks, wireless local area networks (WLAN), digital TV networks such as DVB-H networks, satellite networks, AM-FM Broadcast transmitter; and/or another terminal's device configured to receive/send communication signals; and/or Internet of Things (IoT) equipment. A terminal set to communicate through a wireless interface may be referred to as a "wireless communication terminal", a "wireless terminal" or a "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular phones; Personal Communications System (PCS) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, Internet/intranet PDA with internet access, web browser, memo pad, calendar, and/or Global Positioning System (GPS) receiver; and conventional laptop and/or palmtop receivers or others including radio telephone transceivers Electronic device. Terminal can refer to access terminal, user equipment (UE), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user Device. The access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (Personal Digital Assistant, PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminals in 5G networks, or terminals in the future evolution of PLMN, etc.
可选地,终端120之间可以进行终端直连(Device to Device,D2D)通信。Optionally, direct terminal connection (Device to Device, D2D) communication may be performed between the terminals 120.
可选地,5G通信系统或5G网络还可以称为新无线(New Radio,NR)系统或NR网络。Optionally, the 5G communication system or 5G network may also be referred to as a New Radio (NR) system or NR network.
图1示例性地示出了一个网络设备和两个终端,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端,本申请实施例对此不做限定。FIG. 1 exemplarily shows one network device and two terminals. Optionally, the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminals. This embodiment of the present application There is no restriction on this.
可选地,该通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。Optionally, the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图1示出的通信系统100为例,通信设备可包括具有通信功能的网络设备110和终端120,网络设备110和终端120可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统100中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。It should be understood that the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices. Taking the communication system 100 shown in FIG. 1 as an example, the communication device may include a network device 110 and a terminal 120 with communication functions, and the network device 110 and the terminal 120 may be the specific devices described above, which will not be repeated here; communication The device may also include other devices in the communication system 100, such as other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the terms "system" and "network" in this article are often used interchangeably in this article. The term "and/or" in this article is only an association relationship describing the associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, exist alone B these three situations. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
为便于理解本申请实施例的技术方案,以下对本申请实施例相关的技术方案进行说明。In order to facilitate the understanding of the technical solutions of the embodiments of the present application, the technical solutions related to the embodiments of the present application are described below.
Figure PCTCN2019104806-appb-000001
边缘计算
Figure PCTCN2019104806-appb-000001
Edge computing
一种典型的边缘计算为移动边缘计算(Mobile Edge Computing,EMC),需要说明的是,本申请实施例中涉及到的边缘计算同样适用于移动边缘计算。A typical edge computing is Mobile Edge Computing (EMC). It should be noted that the edge computing involved in the embodiments of the present application is also applicable to mobile edge computing.
边缘计算的主要功能就是将数据流量分流到本地服务器,本地服务器因为离用户距离近,具有数据传输时延低、对于有线网络的带宽节省明显等特点。如图2-1所示,不同区域可以由不同的本地服务器覆盖,例如本地服务器-1覆盖区域1,本地服务器-2覆盖区域2,本地服务器-3覆盖区域3。终端设备移动到不同区域时,可以针对部分业务或全部业务访问该区域对应的本地服务器。当终端设备不在特定区域(指本地服务器覆盖的区域)时,终端设备仍然可以访问远端服务器(即非本地服务器)。The main function of edge computing is to offload data traffic to a local server. Because the local server is close to the user, it has the characteristics of low data transmission delay and obvious bandwidth savings for wired networks. As shown in Figure 2-1, different areas can be covered by different local servers, for example, local server-1 covers area 1, local server-2 covers area 2, and local server-3 covers area 3. When the terminal device moves to a different area, it can access the local server corresponding to that area for some or all of the services. When the terminal device is not in a specific area (referring to the area covered by the local server), the terminal device can still access the remote server (that is, the non-local server).
对于图2-1中不同的本地服务器的覆盖区域,可以认为每一个覆盖区域内传输数据对应一个网络切片,即每个区域内传输数据的PDU会话是可以通过至少S-NSSAI和/或DNN来区分的。可选地,S-NSSAI由切片/服务类型(Slice/Service Type,SST)和切片差分(Slice Differentiator,SD)组成,由于都是边缘计算业务,因此对应于区域1、区域2和区域3的SST取值一样,但SD的取值不同,同时DNN也可以用于选择出口网关的位置(即UPF)。For the coverage areas of different local servers in Figure 2-1, it can be considered that the data transmitted in each coverage area corresponds to a network slice, that is, the PDU session for data transmission in each area can be through at least S-NSSAI and/or DNN. Differentiated. Optionally, S-NSSAI is composed of slice/service type (Slice/Service Type, SST) and slice differential (Slice Differentiator, SD). Since they are both edge computing services, they correspond to areas 1, 2, and 3. The value of SST is the same, but the value of SD is different, and DNN can also be used to select the location of the egress gateway (ie, UPF).
需要说明的是,远端服务器是相对于本地服务器而言的,本地服务器用于特定区域下对于部分业务或全部业务的处理,而终端设备移出本地服务器覆盖的区域后,所述部分业务或全部业务的处理需要与远端服务器交互。远端服务器与距离没有绝对关系,但相比之下一般本地服务器在特定区域内会更靠近用户。It should be noted that the remote server is relative to the local server. The local server is used to process part or all of the services in a specific area, and after the terminal device moves out of the area covered by the local server, the part or all of the services The processing of the business needs to interact with the remote server. The remote server has no absolute relationship with the distance, but by contrast, the local server will be closer to the user in a specific area.
图2-2给出了一种网络架构,通过该网络架构可以确定本地服务器和远端服务器与网络中其他网元之间的连接关系,如图2-2所示,该网络架构涉及到的设备包括:终端设备、基站、用户平面功能网元(User Plane Function,UPF)、接入和移动性管理功能网元(Access and Mobility Management Function,AMF)、会话管理功能网元(Session Management Function,SMF)、域名系统(Domain Name System,DNS)。可见看出,本地服务器和远端服务器分别连接两个不同的UPF。终端设备可以同时建立与远端服务器之间的协议数据单元(Protocol Data Unit,PDU)会话和与本地服务器之间的PDU会话。Figure 2-2 shows a network architecture through which the connection relationship between the local server and remote server and other network elements in the network can be determined. As shown in Figure 2-2, the network architecture involves The equipment includes: terminal equipment, base station, user plane function network element (User Plane Function, UPF), access and mobility management function network element (Access and Mobility Management Function, AMF), session management function network element (Session Management Function, SMF), Domain Name System (DNS). It can be seen that the local server and the remote server are respectively connected to two different UPFs. The terminal device can simultaneously establish a Protocol Data Unit (PDU) session with the remote server and a PDU session with the local server.
需要说明的是,本申请实施例中涉及到的本地服务器,也可以称为访问服务器或者EC服务器或MEC服务器。It should be noted that the local server involved in the embodiment of the present application may also be referred to as an access server or an EC server or an MEC server.
Figure PCTCN2019104806-appb-000002
UE策略
Figure PCTCN2019104806-appb-000002
UE strategy
图2-3给出了一种5G网络架构,如图2-3所示,该5G网络架构中涉及到的设备包括:UE、无线接入网(Radio Access Network,RAN)、UPF、数据网络(Data Network,DN)、AMF、SMF、策略控制功能网元(Policy Control Function,PCF)、应用功能网元(Application Function,AF)、鉴权服务器功能网元(Authentication Server Function,AUSF)、统一数据管理网元(Unified Data Management,UDM)。其中,与策略相关的网元主要是PCF、AMF、SMF、RAN、UE。其中,SMF主要是负责与会话相关的策略的执行,AMF主要负责与接入和UE策略相关的策略执行,两个网元(AMF和SMF)上的策略下发、更新全都由PCF来管控。Figure 2-3 shows a 5G network architecture, as shown in Figure 2-3, the equipment involved in the 5G network architecture includes: UE, Radio Access Network (RAN), UPF, and data network (Data Network, DN), AMF, SMF, Policy Control Function (PCF), Application Function (AF), Authentication Server Function (AUSF), unified Data management network element (Unified Data Management, UDM). Among them, the network elements related to the strategy are mainly PCF, AMF, SMF, RAN, and UE. Among them, SMF is mainly responsible for the execution of policies related to the session, AMF is mainly responsible for the execution of policies related to access and UE policies, and the policy issuance and update on the two network elements (AMF and SMF) are all controlled by the PCF.
具体到UE策略,PCF与UE之间通过容器(Container)来监护UE策略相关的信息,包括UE策略的内容、UE策略标识等。容器在上行方向上由UE通过NAS消息发送给AMF,并由AMF继续透传(不感知或不修改)给PCF,下行方向与之相反,由PCF将容器发给AMF,AMF进而通过 NAS消息透传给UE。Specific to the UE policy, the PCF and the UE monitor the information related to the UE policy through a container (Container), including the content of the UE policy, the UE policy identifier, and so on. In the upstream direction, the container is sent by the UE to the AMF through NAS messages, and the AMF continues to transmit (not aware or modify) to the PCF. In the downstream direction, the PCF sends the container to the AMF, and the AMF then transmits through the NAS message. Pass to UE.
为了能够将特定的业务数据(或者说应用数据)绑定到特定的PDU会话上进行传输(尤其是在边缘计算场景下将特定的业务数据绑定到本地服务器对应的PDU会话上进行传输),需要使用UE策略来实现。该UE策略可以是UE路由选择策略(UE Route Selection Policy,URSP),用于决定业务数据与PDU会话的绑定关系,也决定了UE需要建立什么样的PDU会话来满足这种绑定关系。URSP策略可以是通过图2-2中的核心网网元PCF通过容器(Container)发送给AMF再通过AMF透传给UE,也可以是UE本地配置的策略。In order to be able to bind specific business data (or application data) to a specific PDU session for transmission (especially in the edge computing scenario, bind specific business data to the PDU session corresponding to the local server for transmission), Need to use UE strategy to achieve. The UE policy may be a UE Route Selection Policy (URSP), which is used to determine the binding relationship between service data and the PDU session, and also determines what PDU session the UE needs to establish to satisfy this binding relationship. The URSP strategy can be sent to the AMF via the container (Container) through the core network element PCF in Figure 2-2 and then transparently transmitted to the UE via the AMF, or it can be a strategy configured locally by the UE.
URSP策略包含多个策略规则(称为URSP Rule),每一个URSP Rule由业务描述符(Traffic Descriptor)和一组路由选择符(Route Selection Descriptor,RSD)组成。URSP中的业务描述符用于描述一种具体的业务,比如微博业务可以用IP@1~9的范围来描述,再比如IMS业务可以用IMS DNN来描述。然后,一个业务描述符下面可以有一个或多个RSD。一个RSD中的单网络切片选择辅助信息(Single-Network Slice Selection Assistant Information,S-NSSAI)的值和数据网络名(Data Network Name,DNN)的值可以是一个或多个,其他参数的值只包含一个。因此,每一个RSD可以对应一套或多套参数组合,每套参数组合用于限定一个PDU会话的特征,业务描述符对应的业务数据可以在RSD的某一套参数组合对应的PDU会话中进行传输。当有业务描述符描述的业务数据出现时,UE可以根据对应的RSD选取一套参数组合,发起PDU会话建立请求。UE每次发起PDU会话建立请求时,都在请求消息中添加一套参数组合。URSP的相关的内容如下表1和表2所示,其中,表1为URSP Rule的内容,表2为RSD的内容:The URSP policy includes multiple policy rules (referred to as URSP Rules), and each URSP Rule is composed of a traffic descriptor (Traffic Descriptor) and a set of routing selectors (Route Selection Descriptor, RSD). The service descriptor in URSP is used to describe a specific service. For example, the microblog service can be described in the range of IP@1-9, and the IMS service can be described by IMS DNN. Then, there can be one or more RSDs under a service descriptor. The value of Single-Network Slice Selection Assistant Information (S-NSSAI) and the value of Data Network Name (DNN) in an RSD can be one or more. The values of other parameters are only Include one. Therefore, each RSD can correspond to one or more sets of parameter combinations. Each set of parameter combinations is used to define the characteristics of a PDU session. The service data corresponding to the service descriptor can be carried out in the PDU session corresponding to a certain set of parameter combinations of the RSD. transmission. When the service data described by the service descriptor appears, the UE can select a set of parameter combinations according to the corresponding RSD and initiate a PDU session establishment request. Each time the UE initiates a PDU session establishment request, it adds a set of parameter combinations to the request message. The related content of URSP is shown in Table 1 and Table 2. Table 1 is the content of URSP Rule, and Table 2 is the content of RSD:
Figure PCTCN2019104806-appb-000003
Figure PCTCN2019104806-appb-000003
表1Table 1
Figure PCTCN2019104806-appb-000004
Figure PCTCN2019104806-appb-000004
表2Table 2
UE基于URSP策略将应用数据(或者说业务数据)关联到相应的PDU会话上进行传输,机制如下:The UE associates the application data (or service data) with the corresponding PDU session for transmission based on the URSP strategy. The mechanism is as follows:
当应用层出现数据时,UE使用URSP策略中的URSP规则来查看该应用数据的特征是否匹配到了URSP规则中的某一个规则的Traffic Descriptor上,查看的顺序按照URSP规则中Traffic Descriptor中的优先级(Precedence)来决定,即UE基于优先级的顺序依次查看匹配情况,当匹配到一个URSP规则时,用该URSP规则下的RSD列表进行PDU会话的绑定。When data appears at the application layer, the UE uses the URSP rule in the URSP policy to check whether the characteristics of the application data match the Traffic Descriptor of a rule in the URSP rule, and the viewing order is based on the priority in the Traffic Descriptor in the URSP rule (Precedence) to determine, that is, the UE sequentially checks the matching situation based on the order of priority. When a URSP rule is matched, the RSD list under the URSP rule is used to bind the PDU session.
上述为应用数据寻找合适的PDU会话的过程称之为“评估(evaluation)”,即寻找或建立合适的PDU会话绑定。UE使用的URSP规则中的RSD只有满足以下条件才认为是有效RSD用来执行上述的evaluation过程:The above process of finding a suitable PDU session for application data is called "evaluation", that is, finding or establishing a suitable PDU session binding. The RSD in the URSP rule used by the UE is considered to be a valid RSD only if the following conditions are met and used to perform the above evaluation process:
-如果RSD中有S-NSSAI,且S-NSSAI必须属于Allowed NSSAI(对应非漫游的情况)或者Mapping of Allowed NSSAI(对应漫游的情况)中的一个;-If there is S-NSSAI in RSD, and S-NSSAI must belong to one of Allowed NSSAI (corresponding to non-roaming situation) or Mapping of Allowed NSSAI (corresponding to roaming situation);
-如果RSD中有DNN且为LADN DNN,则UE必须在该LADN对应的有效区域内;-If there is a DNN in the RSD and it is a LADN DNN, the UE must be in the valid area corresponding to the LADN;
-如果RSD中有访问类型偏好(Access Type Prefrence)并且设置成了Multi-Access,则UE必须支持ATSSS功能;-If there is an access type preference (Access Type Prefrence) in the RSD and it is set to Multi-Access, the UE must support the ATSSS function;
-如果RSD中有定时器窗口(Timer Window)和/或位置准则(Location Criteria),则UE必须满足要求的时间和/或地点条件。-If there is a Timer Window and/or Location Criteria in the RSD, the UE must meet the required time and/or location conditions.
否则UE不会使用该RSD进行数据流的绑定或PDU会话的建立。具体地,UE只考虑有效的RSD或忽略无效的RSD,基于此,可以根据URSP机制可以限定特定的PDU会话的有效条件以及能够传输的业务数据。Otherwise, the UE will not use the RSD for data flow binding or PDU session establishment. Specifically, the UE only considers valid RSDs or ignores invalid RSDs. Based on this, the valid conditions of a specific PDU session and the service data that can be transmitted can be limited according to the URSP mechanism.
基于图2-2,终端设备为了能够找到本地服务器的地址,通常需要先与远端服务器建立连接与之交互,得到本地服务器的地址后,再与本地服务器交互。这样,终端设备至少需要建立两个PDU会话,一个用于远端服务器交互,一个用于本地服务器交互。这样造成额外的信令开销,尤其是为了与远端服务器交互得到本地服务器的地址,终端设备建立一个远端服务器对应的PDU会话非常冗余。为此,本申请实施例的技术方案提出一种只建立一个PDU会话并在该PDU会话建立或修改过程中得到本地服务器的地址的方案。Based on Figure 2-2, in order for a terminal device to find the address of the local server, it usually needs to establish a connection with the remote server to interact with it, and then interact with the local server after obtaining the address of the local server. In this way, the terminal device needs to establish at least two PDU sessions, one for remote server interaction and one for local server interaction. This causes additional signaling overhead, especially in order to interact with the remote server to obtain the address of the local server, and it is very redundant for the terminal device to establish a PDU session corresponding to the remote server. For this reason, the technical solution of the embodiment of the present application proposes a solution for establishing only one PDU session and obtaining the address of the local server during the establishment or modification of the PDU session.
如图2-2,对于特定的业务数据(或者说应用数据),终端设备可以直接与本地服务器进行通信,这样有助于提升通信效率。为了能够让终端设备在建立与本地服务器通信的PDU会话过程中获得本地服务器的地址,提出了本申请实施例的以下技术方案。As shown in Figure 2-2, for specific business data (or application data), the terminal device can directly communicate with the local server, which helps to improve communication efficiency. In order to enable the terminal device to obtain the address of the local server during the establishment of a PDU session communicating with the local server, the following technical solutions of the embodiments of the present application are proposed.
图3为本申请实施例提供的通信方法的流程示意图,如图3所示,所述通信方法包括以下步骤:FIG. 3 is a schematic flowchart of a communication method provided by an embodiment of the application. As shown in FIG. 3, the communication method includes the following steps:
步骤301:第一核心网网元向终端设备发送第一信息,终端设备接收第一核心网网元发送的第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。Step 301: The first core network element sends first information to the terminal device, and the terminal device receives the first information sent by the first core network element, where the first information carries address information of at least one first server, so The address information of the at least one first server is used to transmit data between the terminal device and the at least one first server through a first session.
在本申请一可选实施方式中,所述第一核心网网元包括SMF和/或UPF。In an optional implementation manner of the present application, the network element of the first core network includes SMF and/or UPF.
本申请实施例中,所述第一信息的实现,可以但不局限于采用以下方式:In the embodiments of the present application, the realization of the first information can be but not limited to the following ways:
方式一:基于UE配置更新(UE Configuration Update,UCU)流程实现,具体地,所述第一信息携带在所述第一核心网网元发送的下行NAS消息(即UCU消息)中。Manner 1: Implementation based on a UE Configuration Update (UCU) process. Specifically, the first information is carried in a downlink NAS message (that is, a UCU message) sent by the first core network element.
进一步,可选地,所述第一信息承载在第一容器中,所述第一容器由PCF发送给AMF,所述AMF通过下行NAS消息将所述第一容器发送给所述终端设备。Further, optionally, the first information is carried in a first container, the first container is sent by the PCF to the AMF, and the AMF sends the first container to the terminal device through a downlink NAS message.
方式二:基于会话建立或修改流程实现,具体地,所述第一信息携带在第一响应消息中,所述第一响应消息是所述第一核心网网元接收所述终端设备发送的第一请求消息后的响应消息,所述第一请求消息用于请求建立或修改第一会话。Manner 2: Implementation based on the session establishment or modification process. Specifically, the first information is carried in a first response message, and the first response message is the first core network element received by the first core network element sent by the terminal device. A response message after a request message, where the first request message is used to request the establishment or modification of the first session.
在本申请一可选实施方式中,所述第一请求消息为会话建立请求消息或会话修改请求消息。In an optional implementation manner of the present application, the first request message is a session establishment request message or a session modification request message.
本申请实施例中,所述第一会话为需要建立或修改的会话。可选地,所述第一会话为PDU会话。In the embodiment of the present application, the first session is a session that needs to be established or modified. Optionally, the first session is a PDU session.
以下对所述第一请求消息中携带的内容进行描述。The content carried in the first request message is described below.
Figure PCTCN2019104806-appb-000005
可选地,所述第一请求消息携带第一会话属性参数,所述第一会话属性参数用于以下至少之一:
Figure PCTCN2019104806-appb-000005
Optionally, the first request message carries a first session attribute parameter, and the first session attribute parameter is used for at least one of the following:
所述第一核心网网元确定业务类型;The network element of the first core network determines the service type;
所述第一核心网网元确定是否从第二服务器获取所述至少一个第一服务器的地址信息;Determining, by the first core network element, whether to obtain the address information of the at least one first server from a second server;
所述第一核心网网元确定第二服务器的第一路由,并根据所述第一路由从所述第二服务器获取所述至少一个第一服务器的地址信息。The first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
在一可选实施方式中,所述第一会话属性参数包括以下至少之一:S-NSSAI、DNN。In an optional implementation manner, the first session attribute parameter includes at least one of the following: S-NSSAI, DNN.
Figure PCTCN2019104806-appb-000006
可选地,所述第一请求消息携带第一指示信息;所述第一指示信息用于指示是否请求获取第一服务器的地址信息。
Figure PCTCN2019104806-appb-000006
Optionally, the first request message carries first indication information; the first indication information is used to indicate whether to request to obtain the address information of the first server.
在一可选实施方式中,所述第一指示信息承载在第一容器中,所述第一容器携带在所述第一请求消息中;所述第一核心网网元将所述第一容器不作任何修改(或者说不感知)发送(或者说透传)给所述第二服务器。In an optional implementation manner, the first indication information is carried in a first container, and the first container is carried in the first request message; the first core network element transfers the first container to Send (or transparently transmit) to the second server without any modification (or insensitivity).
Figure PCTCN2019104806-appb-000007
可选地,所述第一请求消息携带第一路由标识;所述第一路由标识用于所述第一核心网网元寻址第二服务器,并从所述第二服务器获取所述至少一个第一服务器的地址信息。
Figure PCTCN2019104806-appb-000007
Optionally, the first request message carries a first route identifier; the first route identifier is used by the first core network element to address a second server and obtain the at least one route from the second server Address information of the first server.
Figure PCTCN2019104806-appb-000008
可选地,所述第一请求消息携带至少一个第一业务标识;所述至少一个第一业务标识用于所述第一核心网网元确定至少一个业务,并从第二服务器获取所述至少一个业务对应的至少一个第一服务器的地址信息。
Figure PCTCN2019104806-appb-000008
Optionally, the first request message carries at least one first service identifier; the at least one first service identifier is used by the first core network element to determine at least one service and obtain the at least one service from a second server Address information of at least one first server corresponding to one service.
在一可选实施方式中,所述至少一个第一业务标识承载在第一容器中;所述第一容器携带在所述第一请求消息中;所述第一核心网网元从所述第一请求消息中获取所述第一容器后,将所述第一容器发送给所述第二服务器;所述第一核心网网元接收所述第二服务器发送的第二容器,所述第二容器承载与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息;所述第一核心网网元将所述第二容器携带在所述第一响应消息中发送给所述终端设备。In an optional implementation manner, the at least one first service identifier is carried in a first container; the first container is carried in the first request message; and the first core network element receives from the first container; After obtaining the first container in a request message, the first container is sent to the second server; the first core network element receives the second container sent by the second server, and the second The container carries address information of at least one first server corresponding to the at least one first service identifier; the first core network element carries the second container in the first response message and sends it to the terminal equipment.
在另一可选实施方式中,所述第一核心网网元从所述第一请求消息中获取所述至少一个第一业务标识后,将所述至少一个第一业务标识发送给所述第二服务器,或者,基于所述至少一个第一业务标识生成至少一个第二业务标识,并将所述至少一个第二业务标识发送给所述第二服务器;所述第一核心网网元接收所述第二服务器发送的与所述至少一个第一业务标识对应的至少一 个第一服务器的地址信息;所述第一核心网网元将所述至少一个第一服务器的地址信息携带在所述第一响应消息中发送给所述终端设备。In another optional implementation manner, after acquiring the at least one first service identifier from the first request message, the first core network element sends the at least one first service identifier to the first The second server, or generate at least one second service identifier based on the at least one first service identifier, and send the at least one second service identifier to the second server; the first core network element receives the The address information of the at least one first server corresponding to the at least one first service identifier sent by the second server; the first core network element carries the address information of the at least one first server in the first A response message is sent to the terminal device.
需要说明的是,所述第一请求消息中携带的内容可以是以上内容的任意组合。以下结合几种可选示例对所述第一请求消息中携带的内容进行举例说明。It should be noted that the content carried in the first request message may be any combination of the above content. The following describes the content carried in the first request message with several optional examples.
示例1:所述第一请求消息携带第一会话属性参数。Example 1: The first request message carries the first session attribute parameter.
示例2:所述第一请求消息携带第一会话属性参数以及以下至少之一:第一指示信息、第一路由标识。Example 2: The first request message carries a first session attribute parameter and at least one of the following: first indication information and a first route identifier.
示例3:所述第一请求消息携带至少一个第一业务标识。Example 3: The first request message carries at least one first service identifier.
示例4:所述第一请求消息携带至少一个第一业务标识以及以下至少之一:第一指示信息、第一路由标识。Example 4: The first request message carries at least one first service identifier and at least one of the following: first indication information and a first routing identifier.
以上示例仅为举例说明,所述第一请求消息中携带的内容不局限于以上几种示例,也可以是其他内容的组合。The above examples are only examples, and the content carried in the first request message is not limited to the above examples, and may also be a combination of other content.
本申请实施例中,所述第一核心网网元根据以下至少之一寻址所述第二服务器:第一路由标识、来自第二核心网网元的指示信息、本地配置信息、至少一个第一业务标识;进而从所述第二服务器获取所述至少一个第一服务器的地址信息。In the embodiment of the present application, the first core network element addresses the second server according to at least one of the following: a first route identifier, indication information from the second core network element, local configuration information, and at least one first A service identifier; and then obtain the address information of the at least one first server from the second server.
在本申请一可选实施方式中,所述第二服务器为动态主机设置协议(Dynamic Host Configuration Protocol,DHCP)服务器和/或域名系统(Domain Name System,DNS)服务器,所述第二服务器也可以称为外部服务器。In an optional implementation manner of this application, the second server is a Dynamic Host Configuration Protocol (DHCP) server and/or a Domain Name System (DNS) server, and the second server may also It is called an external server.
具体实现时,网络侧可以但不局限于通过以下方式为终端设备查找第一服务器(即本地服务器、或者访问服务器、或者EC服务器、或者MEC服务器)的地址信息。During specific implementation, the network side may, but is not limited to, search for the address information of the first server (ie, local server, or access server, or EC server, or MEC server) for the terminal device in the following manner.
触发查找第一服务器的地址的工作可以是第一核心网网元(SMF或UPF)执行(可以在方式二的不使用容器的情况下发生),也可以是第二服务器执行(可以在方式二的使用容器的情况下发生),也可以是终端通过用户面PDU会话来执行(可以在方式一的情况下发生),本申请实施例的技术方案不限制查找第一服务器的地址的方式,一种可能的查找方式为:The task of triggering the search for the address of the first server can be executed by the first core network element (SMF or UPF) (which can happen without the container in the second mode), or by the second server (can be executed in the second mode). It can happen in the case of using the container), or the terminal can be executed through a user-plane PDU session (it can happen in the case of mode 1). The technical solution of the embodiment of the present application does not limit the method of finding the address of the first server. One possible search method is:
以第一核心网网元触发查找第一服务器的地址为例,第一核心网网元根据第一请求消息中的参数,询问DHCP服务器(可以是第二服务器中的DHCP服务器)以得到第一服务器的域名和/或地址,如果是得到的第一服务器的域名,则还可以进一步向DNS服务器询问第一服务器的地址(比如IP地址)。这里,DHCP服务器和/或DNS服务可以都属于第二服务器,也就是说第二服务器可以包含两个实际使用的服务器。Taking the first core network element triggering the search for the address of the first server as an example, the first core network element queries the DHCP server (which may be the DHCP server in the second server) according to the parameters in the first request message to obtain the first If the domain name and/or address of the server is the obtained domain name of the first server, the DNS server may be further asked for the address (for example, IP address) of the first server. Here, the DHCP server and/or DNS service may all belong to the second server, that is, the second server may include two actually used servers.
以第二服务器触发查找第一服务器的地址为例,第二服务器触发的查找与第一核心网网元触发的查找基本类似,区别在于DHCP服务器和/或DNS服务器可以是第二服务器以外的服务器。Take the second server triggering the search for the address of the first server as an example. The search triggered by the second server is basically similar to the search triggered by the first core network element. The difference is that the DHCP server and/or DNS server can be a server other than the second server. .
以终端设备触发查找第一服务器的地址为例,终端设备根据第一信息中的FQDN信息来询问第二服务器,从而获得第一服务器的地址。Taking the terminal device triggering the search for the address of the first server as an example, the terminal device queries the second server according to the FQDN information in the first information, so as to obtain the address of the first server.
本申请实施例中,所述第一响应消息为针对所述第一请求消息的响应消息,所述第一响应消息携带至少一个第一服务器的地址信息。举个例子:所述第一响应消息携带一个第一服务器的地址信息或者多个第一服务器的地址信息。In the embodiment of the present application, the first response message is a response message for the first request message, and the first response message carries address information of at least one first server. For example, the first response message carries address information of one first server or address information of multiple first servers.
进一步,可选地,所述第一服务器至少包括边缘计算服务器。这里,边缘计算服务器也可以成为本地服务器或访问服务器。Further, optionally, the first server includes at least an edge computing server. Here, the edge computing server can also become a local server or an access server.
A)在本申请一可选实施方式中,对于至少一个业务的情况,所述至少一个业务的数据流绑定在所述第一会话上传输;相应地,所述至少一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的所述至少一个业务的数据流传输给所述至少一个第一服务器,和/或从所述至少一个第一服务器接收绑定在所述第一会话上的所述至少一个业务的数据流。B)在本申请另一可选实施方式中,所述第一响应消息携带一个第一服务器的地址信息,所述一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的部分或全部数据流传输给所述一个第一服务器,和/或从所述一个第一服务器接收绑定在所述第一会话上的部分或全部数据流。A) In an optional implementation manner of the present application, in the case of at least one service, the data stream of the at least one service is bound and transmitted on the first session; correspondingly, the address of the at least one first server The information is used by the terminal device to transmit the data stream of the at least one service bound on the first session to the at least one first server, and/or receive binding from the at least one first server The data flow of the at least one service on the first session. B) In another optional implementation manner of the present application, the first response message carries address information of a first server, and the address information of the first server is used by the terminal device to bind to the first server. Part or all of the data stream on a session is transmitted to the one first server, and/or part or all of the data stream bound on the first session is received from the one first server.
在本申请一可选实施方式中,在终端设备发起会话建立或修改之前,所述第一核心网网元向所述终端设备发送第一规则,所述终端设备接收所述第一核心网网元发送的第一规则,所述第一规则用于所述终端设备确定所述第一请求消息中携带的内容;其中,所述第一规则包括以下至少之一:In an optional implementation manner of the present application, before the terminal device initiates session establishment or modification, the first core network element sends a first rule to the terminal device, and the terminal device receives the first core network element. The first rule for meta sending, the first rule is used by the terminal device to determine the content carried in the first request message; wherein, the first rule includes at least one of the following:
至少一个业务标识对应的第一指示信息,所述第一指示信息用于指示是否请求获取第一服务器的地址信息;First indication information corresponding to at least one service identifier, where the first indication information is used to indicate whether to request to obtain address information of the first server;
至少一个业务标识对应的第一会话属性参数,所述第一会话属性参数用于描述所述第一会话。A first session attribute parameter corresponding to at least one service identifier, where the first session attribute parameter is used to describe the first session.
举个例子:所述第一规则为URSP规则;所述业务标识通过所述URSP规则中的业务描述符来表示;所述第一指示信息携带在所述URSP规则下的RSD中;所述第一会话属性参数携带在所述URSP规则下的RSD中。进一步,可选地,所述第一规则还包括生效条件,所述生效条件包括以下至少之一:生效时间、生效时长、生效区域。For example: the first rule is a URSP rule; the service identifier is represented by a service descriptor in the URSP rule; the first indication information is carried in the RSD under the URSP rule; A session attribute parameter is carried in the RSD under the URSP rule. Further, optionally, the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
本申请实施例的技术方案中,终端设备需要发送业务数据包时,如果没有对应的PDU会话可以绑定,则需要新建对应的PDU会话(是否有对应的PDU会话可以通过URSP规则或本地规则来判断),建立会话的过程可以获得自己的地址(即会话地址,或者说终端设备的地址)。为此,终端设备在建立或修改会话时也请求业务对应的访问服务器的地址,这样后续终端设备可以直接与该访问服务器进行通信。会话建立成功后,后续其他的业务数据包对应的PDU会话如果也是该会话,则也可以使用访问服务器地址与访问服务器通信。In the technical solution of the embodiment of the present application, when a terminal device needs to send a service data packet, if there is no corresponding PDU session to bind, it needs to create a new corresponding PDU session (whether there is a corresponding PDU session can be determined by URSP rules or local rules Judgment), the process of establishing a session can obtain its own address (that is, the session address, or the address of the terminal device). For this reason, the terminal device also requests the address of the access server corresponding to the service when establishing or modifying the session, so that the subsequent terminal device can directly communicate with the access server. After the session is successfully established, if the PDU session corresponding to other subsequent service data packets is also the session, the access server address can also be used to communicate with the access server.
以下结合图4和图5所示的交互流程图对本申请实施例的技术方案进行举例说明。在图4和图5中,SMF/UPF对应于本申请实施例的第一核心网网元,外部服务器对应于本申请实施例的第二服务器(如DNS服务器),访问服务器对应于本申请实施例的第一服务器(如EC服务器、或者应用服务器、或者本地服务器)。其中,外部服务器用于与核心网网元(即SMF/UPF)交互得到访问服务器的地址。The following describes the technical solutions of the embodiments of the present application with examples in conjunction with the interaction flowcharts shown in Figs. In Figures 4 and 5, SMF/UPF corresponds to the first core network element of the embodiment of this application, the external server corresponds to the second server (such as the DNS server) of the embodiment of this application, and the access server corresponds to the implementation of this application. Example of the first server (such as EC server, or application server, or local server). Among them, the external server is used to interact with the core network element (ie SMF/UPF) to obtain the address of the access server.
参照图4,图4为本申请实施例提供的获取访问服务器地址的流程图一,该流程包括以下步骤:Referring to Fig. 4, Fig. 4 is the first flow chart of obtaining the address of the access server provided by an embodiment of the application. The flow includes the following steps:
步骤401:终端设备向SMF/UPF发送PDU会话建立或修改请求消息,该PDU会话建立或修改请求消息携带PDU会话属性参数,可选携带第一指示信息和/或第一路由标识。Step 401: The terminal device sends a PDU session establishment or modification request message to the SMF/UPF. The PDU session establishment or modification request message carries the PDU session attribute parameter, and optionally carries the first indication information and/or the first route identifier.
这里,所述PDU会话属性参数用于确定第一PDU会话。Here, the PDU session attribute parameter is used to determine the first PDU session.
在一可选实施方式中,所述PDU会话建立或修改请求消息仅携带PDU会话属性参数,SMF/UPF可以根据PDU会话属性参数来判断是否需要触发步骤402。In an optional implementation manner, the PDU session establishment or modification request message only carries PDU session attribute parameters, and SMF/UPF can determine whether step 402 needs to be triggered according to the PDU session attribute parameters.
这里,PDU会话属性参数包括但不限于以下至少之一:S-NSSAI、DNN。需要说明的是,S-NSSAI和DNN本身用于选择核心网网关,因为特定的网关会对应于访问服务器,因而根据PDU会话属性参数可以判断是否需要触发步骤402。Here, the PDU session attribute parameter includes but is not limited to at least one of the following: S-NSSAI, DNN. It should be noted that the S-NSSAI and DNN itself are used to select the core network gateway, because a specific gateway corresponds to the access server, so it can be determined whether step 402 needs to be triggered according to the PDU session attribute parameters.
在另一可选实施方式中,所述PDU会话建立或修改请求消息不仅携带PDU会话属性参数,还携带第一指示信息和/或第一路由标识。In another optional implementation manner, the PDU session establishment or modification request message not only carries the PDU session attribute parameter, but also carries the first indication information and/or the first route identifier.
其中,所述第一指示信息用于指示是否请求获取访问服务器的地址信息。例如所述第一指示信息用于指示需要请求获取访问服务器的地址信息。Wherein, the first indication information is used to indicate whether to request to obtain the address information of the access server. For example, the first indication information is used to indicate that it is necessary to request to obtain the address information of the access server.
其中,所述第一路由标识用于SMF/UPF寻址外部服务器,具体地,所述第一路由标识用于通知SMF/UPF外部服务器的路由信息,这样SMF/UPF可以根据该第一路由标识找到相应的外部服务器,向外部服务器索要终端设备需要的访问服务器的地址信息。可选地,第一路由标识可以是统一资源定位符(Uniform Resource Locators,URL)、或服务器地址等。此外,可以将PDU会话属性参数(如DNN和/或S-NSSAI)作为所述第一路由标识。Wherein, the first routing identifier is used for the SMF/UPF to address the external server. Specifically, the first routing identifier is used to notify the SMF/UPF of the routing information of the external server, so that the SMF/UPF can be based on the first routing identifier. Find the corresponding external server, and ask the external server for the address information of the access server required by the terminal device. Optionally, the first route identifier may be a uniform resource locator (Uniform Resource Locators, URL), a server address, or the like. In addition, PDU session attribute parameters (such as DNN and/or S-NSSAI) may be used as the first route identifier.
需要说明的是,第一指示信息和第一路由标识可以都不携带在PDU会话建立或修改请求消息中,SMF/UPF可以根据PDU会话属性参数来判断是否需要触发步骤402。It should be noted that the first indication information and the first routing identifier may not be carried in the PDU session establishment or modification request message, and the SMF/UPF may determine whether step 402 needs to be triggered according to the PDU session attribute parameters.
可选地,在PDU会话建立或修改请求消息中携带第一指示信息的情况下,终端设备可以将第一指示信息封装在容器中,将该容器携带在PDU会话建立或修改请求消息中发送给SMF/UPF,SMF/UPF将容器直接发送给外部服务器,即SMF/UPF对容器不感知或者说不作任何处理而直接透传给外部服务器。Optionally, in the case that the first indication information is carried in the PDU session establishment or modification request message, the terminal device may encapsulate the first indication information in a container, carry the container in the PDU session establishment or modification request message, and send it to SMF/UPF, SMF/UPF sends the container directly to the external server, that is, SMF/UPF does not perceive or process the container and directly transmits it to the external server.
步骤402:SMF/UPF根据PDU会话建立或修改请求消息中携带的内容与外部服务器交互,得到访问服务器的地址信息。Step 402: The SMF/UPF interacts with the external server according to the content carried in the PDU session establishment or modification request message to obtain the address information of the access server.
具体地,SMF/UPF根据以下至少之一,寻址访问服务器:PDU会话属性参数、第一路由标识、其他网元的指示信息、本地配置信息,与外部服务器交互,将相关信息发送给外部服务器,得到访问服务器的地址信息。Specifically, SMF/UPF addresses the access server according to at least one of the following: PDU session attribute parameters, first route identifier, indication information of other network elements, local configuration information, interacts with external servers, and sends relevant information to external servers To get the address information of the access server.
这里,SMF/UPF与外部服务器的交互形式不做具体限定,其目的是为了从外部服务器得到终端设备需要的访问服务器的地址信息,让终端设备能够通过用户面直接与访问服务器进行通信(比如与访问服务器建立HTTP连接进行通信)。Here, the interaction form between SMF/UPF and the external server is not specifically limited. Its purpose is to obtain the address information of the access server required by the terminal device from the external server, so that the terminal device can directly communicate with the access server through the user interface (such as with The access server establishes an HTTP connection for communication).
这里,访问服务器的地址信息包括但不限于IP地址、MAC地址等。Here, the address information for accessing the server includes, but is not limited to, an IP address, a MAC address, and so on.
需要说明的是,可以是SMF与外部服务器联系也可以是SMF通知UPF与外部服务器联系,从 而得到访问服务器的地址信息。It should be noted that the SMF can contact the external server or the SMF informs the UPF to contact the external server, so as to obtain the address information of the access server.
步骤403:SMF/UPF向终端设备发送PDU会话建立或修改响应消息,该PDU会话建立或修改响应消息携带访问服务器的地址信息。Step 403: The SMF/UPF sends a PDU session establishment or modification response message to the terminal device. The PDU session establishment or modification response message carries the address information of the access server.
这里,所述PDU会话建立或修改响应消息可以携带一个访问服务器的地址信息,也可以携带多个访问服务器的地址信息。如果携带一个访问服务器的地址信息,则表示绑定在第一PDU会话上的全部业务数据都需要访问该访问服务器。Here, the PDU session establishment or modification response message may carry address information of one access server, or may carry address information of multiple access servers. If the address information of an access server is carried, it means that all service data bound on the first PDU session needs to access the access server.
可选地,访问服务器的地址信息可以通过容器承载,该容器通过SMF/UPF透传给终端设备,即SMF/UPF对该容器不感知或者说不做任何修改。进一步,如果外部服务器接收到的是容器(比如步骤401终端设备发送了容器),外部服务器也回复容器,SMF/UPF通过NAS消息(具体为下行NAS消息)将容器透传给终端设备。Optionally, the address information for accessing the server may be carried by a container, and the container is transparently transmitted to the terminal device through SMF/UPF, that is, the SMF/UPF does not perceive or modify the container. Further, if the external server receives a container (for example, the terminal device sends the container in step 401), the external server also replies to the container, and the SMF/UPF transparently transmits the container to the terminal device through a NAS message (specifically, a downlink NAS message).
步骤404:终端设备根据访问服务器的地址信息,通过用户面与访问服务器之间传输绑定在第一PDU会话上的数据。Step 404: The terminal device transmits the data bound to the first PDU session between the user plane and the access server according to the address information of the access server.
这里,终端设备根据访问服务器的地址信息与访问服务器建立HTTP连接,通过该HTTP连接传输绑定在第一PDU会话上的数据。Here, the terminal device establishes an HTTP connection with the access server according to the address information of the access server, and transmits the data bound to the first PDU session through the HTTP connection.
具体的,在PDU会话建立或修改过程中,终端设备可以获得PDU会话地址(即终端设备的地址),同时还可以获得访问服务器的地址。这样,终端设备根据UE本地策略或URSP策略将业务数据绑定到第一PDU会话上,对于绑定到第一PDU会话上的业务数据,终端设备对其发送的数据包使用源地址=PDU会话地址,目的地址=访问服务器地址;相应地,终端设备接收的数据包正常情况下应当为源地址=访问服务器地址、目的地址=PDU会话地址。考虑到安全等问题,终端设备对于接收到的数据包,若其数据包的源地址不是访问服务器的地址,则终端设备可以丢弃该数据包。Specifically, during the establishment or modification of the PDU session, the terminal device can obtain the PDU session address (that is, the address of the terminal device), and at the same time can also obtain the address of the access server. In this way, the terminal device binds the service data to the first PDU session according to the UE local policy or the URSP policy. For the service data bound to the first PDU session, the terminal device uses the source address=PDU session for the data packets it sends Address, destination address = access server address; correspondingly, the data packet received by the terminal device should normally be source address = access server address, destination address = PDU session address. Considering security and other issues, if the source address of the data packet received by the terminal device is not the address of the access server, the terminal device can discard the data packet.
对于第一PDU会话对应一个访问服务器的地址的情况,通过上述步骤完成PDU会话建立或修改流程后,终端设备将绑定在第一PDU会话上的所有业务数据的目标地址都设置成访问服务器的地址。For the case where the first PDU session corresponds to an address for accessing the server, after completing the PDU session establishment or modification process through the above steps, the terminal device sets the target addresses of all service data bound to the first PDU session as the access server address.
在一可选实施方式中,为了终端设备选择合适的PDU会话属性参数,终端设备接收来自网络侧的业务标识与PDU会话属性参数之间的对应关系(即第一规则),如下表3所示:In an optional implementation manner, in order for the terminal device to select appropriate PDU session attribute parameters, the terminal device receives the correspondence between the service identifier from the network side and the PDU session attribute parameters (that is, the first rule), as shown in Table 3 below :
Figure PCTCN2019104806-appb-000009
Figure PCTCN2019104806-appb-000009
表3table 3
上述第一规则可以通过URSP规则来实现,在实际部署中,对于需要访问本地服务器的业务,可以为这些业务通过URSP规则中的Traffic Descriptor来描述,并在对应的RSD中配置特定的S-NSSAI和DNN,该S-NSSAI和DNN用于本地分流的第一PDU会话。这样,当一种业务建立了本地分流的第一PDU会话后,其他业务数据如果出现,根据匹配的URSP规则也可以绑定到该第一PDU会话上,进而访问本地服务器。URSP规则及其对应的RSD如下表4和表5所示,其中,URSP规则中的Traffic Descriptor可以作为业务标识来描述业务的相关信息,可选地,RSD中可以携带第一指示信息,该第一指示信息用于指示是否请求获取访问服务器的地址信息。The above-mentioned first rule can be implemented through the URSP rule. In actual deployment, for the services that need to access the local server, these services can be described by the Traffic Descriptor in the URSP rule, and the specific S-NSSAI is configured in the corresponding RSD And DNN, the S-NSSAI and DNN are used for the first PDU session of the local offload. In this way, after a service establishes the first PDU session for local offloading, if other service data appears, it can also be bound to the first PDU session according to the matched URSP rule, and then access the local server. The URSP rules and their corresponding RSDs are shown in Table 4 and Table 5 below. Among them, the Traffic Descriptor in the URSP rules can be used as a service identifier to describe service-related information. Optionally, the RSD can carry first indication information. An indication information is used to indicate whether to request to obtain the address information of the access server.
Figure PCTCN2019104806-appb-000010
Figure PCTCN2019104806-appb-000010
表4Table 4
Figure PCTCN2019104806-appb-000011
Figure PCTCN2019104806-appb-000011
表5table 5
参照图5,图5为本申请实施例提供的获取访问服务器地址的流程图二,该流程包括以下步骤:Referring to FIG. 5, FIG. 5 is the second flowchart of obtaining the address of the access server according to an embodiment of the application. The process includes the following steps:
步骤501:终端设备向SMF/UPF发送PDU会话建立或修改请求消息,该PDU会话建立或修改请求消息携带业务标识,可选携带第一指示信息和/或第一路由标识。Step 501: The terminal device sends a PDU session establishment or modification request message to the SMF/UPF. The PDU session establishment or modification request message carries a service identifier, and optionally the first indication information and/or the first route identifier.
默认情况,所述PDU会话建立或修改请求消息还携带PDU会话属性参数,这里,所述PDU会话属性参数用于确定第一PDU会话。By default, the PDU session establishment or modification request message also carries PDU session attribute parameters. Here, the PDU session attribute parameters are used to determine the first PDU session.
在一可选实施方式中,所述PDU会话建立或修改请求消息仅携带业务标识。In an optional implementation manner, the PDU session establishment or modification request message only carries a service identifier.
在另一可选实施方式中,所述PDU会话建立或修改请求消息不仅携带业务标识,还携带第一指示信息和/或第一路由标识。In another optional implementation manner, the PDU session establishment or modification request message not only carries the service identifier, but also carries the first indication information and/or the first route identifier.
其中,所述业务标识用于标识业务,SMF/UPF根据业务标识可以知道需要请求获得哪些业务对应的访问服务器的地址信息。所述业务标识的形式可以是URL、域名、IP地址、3GPP内部定义的应用标识(Application Id)等。此外,可以将PDU会话属性参数(如DNN和/或S-NSSAI)作为所述业务标识。Wherein, the service identifier is used to identify the service, and the SMF/UPF can know the address information of the access server corresponding to which service needs to be requested according to the service identifier. The form of the service identifier may be URL, domain name, IP address, application identifier (Application Id) defined within 3GPP, and so on. In addition, PDU session attribute parameters (such as DNN and/or S-NSSAI) can be used as the service identifier.
其中,所述第一指示信息用于指示是否请求获取访问服务器的地址信息。例如所述第一指示信息用于指示需要请求获取访问服务器的地址信息。Wherein, the first indication information is used to indicate whether to request to obtain the address information of the access server. For example, the first indication information is used to indicate that it is necessary to request to obtain the address information of the access server.
其中,所述第一路由标识用于SMF/UPF寻址外部服务器,具体地,所述第一路由标识用于通知SMF/UPF外部服务器的路由信息,这样SMF/UPF可以根据该第一路由标识找到相应的外部服务器,向外部服务器索要终端设备需要的访问服务器的地址信息。可选地,第一路由标识可以是URL、或服务器地址等。此外,可以将PDU会话属性参数(如DNN和/或S-NSSAI)作为所述第一路由标识。Wherein, the first routing identifier is used for the SMF/UPF to address the external server. Specifically, the first routing identifier is used to notify the SMF/UPF of the routing information of the external server, so that the SMF/UPF can be based on the first routing identifier. Find the corresponding external server, and ask the external server for the address information of the access server required by the terminal device. Optionally, the first route identification may be a URL, or a server address, or the like. In addition, PDU session attribute parameters (such as DNN and/or S-NSSAI) may be used as the first route identifier.
需要说明的是,第一指示信息和第一路由标识可以都不携带在PDU会话建立或修改请求消息中,SMF/UPF可以根据PDU会话属性参数来判断是否需要触发步骤502。It should be noted that the first indication information and the first routing identifier may not be carried in the PDU session establishment or modification request message, and the SMF/UPF may determine whether step 502 needs to be triggered according to the PDU session attribute parameters.
可选地,在PDU会话建立或修改请求消息中携带业务标识和/或第一指示信息的情况下,终端设备可以将业务标识和/或第一指示信息封装在容器中,将该容器携带在PDU会话建立或修改请求消息中发送给SMF/UPF,SMF/UPF将容器直接发送给外部服务器,即SMF/UPF对容器不感知或者说不作任何处理而直接透传给外部服务器。Optionally, when the PDU session establishment or modification request message carries the service identifier and/or the first indication information, the terminal device may encapsulate the service identifier and/or the first indication information in a container, and carry the container in The PDU session establishment or modification request message is sent to the SMF/UPF, and the SMF/UPF sends the container directly to the external server, that is, the SMF/UPF does not perceive or process the container and directly transmits it to the external server.
步骤502:SMF/UPF根据PDU会话建立或修改请求消息中携带的内容与外部服务器交互,得到 访问服务器的地址信息。Step 502: The SMF/UPF interacts with the external server according to the content carried in the PDU session establishment or modification request message to obtain the address information of the access server.
具体地,SMF/UPF根据以下至少之一,寻址访问服务器:PDU会话属性参数、第一路由标识、其他网元的指示信息、本地配置信息,与外部服务器交互,将相关信息发送给外部服务器,得到访问服务器的地址信息。不局限于此,SMF/UPF还可以根据业务标识来寻址访问服务器(需要说明的是,第一路由标识是更直接地指示外部服务器的地址,业务标识也可以用于获知外部服务器地的地址)。Specifically, SMF/UPF addresses the access server according to at least one of the following: PDU session attribute parameters, first route identifier, indication information of other network elements, local configuration information, interacts with external servers, and sends relevant information to external servers To get the address information of the access server. Not limited to this, SMF/UPF can also address the access server according to the service ID (it should be noted that the first routing ID is a more direct indication of the address of the external server, and the service ID can also be used to know the address of the external server. ).
这里,SMF/UPF与外部服务器的交互形式不做具体限定,其目的是为了从外部服务器得到终端设备需要的访问服务器的地址信息(即终端设备指示的业务标识对应的访问服务器的地址信息),让终端设备能够通过用户面直接与访问服务器进行通信(比如与访问服务器建立HTTP连接进行通信)。Here, the form of interaction between SMF/UPF and the external server is not specifically limited, and its purpose is to obtain the address information of the access server required by the terminal device from the external server (that is, the address information of the access server corresponding to the service identifier indicated by the terminal device). Enable the terminal device to directly communicate with the access server through the user interface (for example, establish an HTTP connection with the access server for communication).
这里,访问服务器的地址信息包括但不限于IP地址、MAC地址等。Here, the address information for accessing the server includes, but is not limited to, an IP address, a MAC address, and so on.
需要说明的是,可以是SMF与外部服务器联系也可以是SMF通知UPF与外部服务器联系,从而得到访问服务器的地址信息。It should be noted that the SMF can contact the external server or the SMF informs the UPF to contact the external server, so as to obtain the address information of the access server.
在一可选实施方式中,SMF/UPF可以直接使用终端设备发来的业务标识,将业务标识发送给外部服务器以请求获得访问服务器的地址信息;或者,SMF/UPF根据终端设备发送的业务标识自己生成新的业务标识(比如根据终端设备发送的Application ID生成URL),将新的业务标识发送给外部服务器以请求访问服务器的地址信息。In an optional implementation manner, SMF/UPF can directly use the service ID sent by the terminal device to send the service ID to an external server to request the address information for accessing the server; or, SMF/UPF can be based on the service ID sent by the terminal device Generate a new service ID by itself (for example, generate a URL based on the Application ID sent by the terminal device), and send the new service ID to an external server to request access to the server's address information.
步骤503:SMF/UPF向终端设备发送PDU会话建立或修改响应消息,该PDU会话建立或修改响应消息携带访问服务器的地址信息。Step 503: The SMF/UPF sends a PDU session establishment or modification response message to the terminal device. The PDU session establishment or modification response message carries the address information of the access server.
这里,所述PDU会话建立或修改响应消息可以携带一个访问服务器的地址信息,也可以携带多个访问服务器的地址信息。Here, the PDU session establishment or modification response message may carry address information of one access server, or may carry address information of multiple access servers.
如果在步骤501中PDU会话建立或修改请求消息携带了多个业务标识,则PDU会话建立或修改响应消息中可以携带多个业务标识和多个访问服务器的地址信息之间的对应关系;或者,PDU会话建立或修改响应消息中携带一个访问服务器的地址信息,则表示绑定在第一PDU会话上的全部业务数据都需要访问该访问服务器。If the PDU session establishment or modification request message carries multiple service identifiers in step 501, the PDU session establishment or modification response message may carry the correspondence between the multiple service identifiers and the address information of multiple access servers; or, The PDU session establishment or modification response message carries the address information of an access server, which means that all service data bound on the first PDU session needs to access the access server.
可选地,访问服务器的地址信息可以通过容器承载,该容器通过SMF/UPF透传给终端设备,即SMF/UPF对该容器不感知或者说不做任何修改。进一步,如果外部服务器接收到的是容器(比如步骤401终端设备发送了容器),外部服务器也回复容器,SMF/UPF通过NAS消息(具体为下行NAS消息)将容器透传给终端设备。Optionally, the address information for accessing the server may be carried by a container, and the container is transparently transmitted to the terminal device through SMF/UPF, that is, the SMF/UPF does not perceive or modify the container. Further, if the external server receives a container (for example, the terminal device sends the container in step 401), the external server also replies to the container, and the SMF/UPF transparently transmits the container to the terminal device through a NAS message (specifically, a downlink NAS message).
步骤504:终端设备根据访问服务器的地址信息,通过用户面与访问服务器之间传输绑定在第一PDU会话上的数据。Step 504: The terminal device transmits the data bound to the first PDU session between the user plane and the access server according to the address information of the access server.
这里,终端设备根据访问服务器的地址信息与访问服务器建立HTTP连接,通过该HTTP连接传输绑定在第一PDU会话上的数据。Here, the terminal device establishes an HTTP connection with the access server according to the address information of the access server, and transmits the data bound to the first PDU session through the HTTP connection.
具体的,在PDU会话建立或修改过程中,终端设备可以获得PDU会话地址(即终端设备的地址),同时还可以获得访问服务器的地址。这样,终端设备根据UE本地策略或URSP策略将业务数据绑定到第一PDU会话上,对于绑定到第一PDU会话上的业务数据,终端设备对其发送的数据包使用源地址=PDU会话地址,目的地址=访问服务器地址;相应地,终端设备接收的数据包正常情况下应当为源地址=访问服务器地址、目的地址=PDU会话地址。考虑到安全等问题,终端设备对于接收到的数据包,若其数据包的源地址不是访问服务器的地址,则终端设备可以丢弃该数据包。Specifically, during the establishment or modification of the PDU session, the terminal device can obtain the PDU session address (that is, the address of the terminal device), and at the same time can also obtain the address of the access server. In this way, the terminal device binds the service data to the first PDU session according to the UE local policy or the URSP policy. For the service data bound to the first PDU session, the terminal device uses the source address=PDU session for the data packets it sends Address, destination address = access server address; correspondingly, the data packet received by the terminal device should normally be source address = access server address, destination address = PDU session address. Considering security and other issues, if the source address of the data packet received by the terminal device is not the address of the access server, the terminal device can discard the data packet.
对于第一PDU会话对应一个访问服务器的地址的情况,通过上述步骤完成PDU会话建立或修改流程后,终端设备将绑定在第一PDU会话上的所有业务数据的目标地址都设置成访问服务器的地址。For the case where the first PDU session corresponds to an address for accessing the server, after completing the PDU session establishment or modification process through the above steps, the terminal device sets the target addresses of all service data bound to the first PDU session as the access server address.
在一可选实施方式中,为了终端设备选择合适的业务标识和/或第一指示信息(所述第一指示信息用于指示是否请求获取访问服务器的地址信息),终端设备接收来自网络侧的业务标识与第一指示信息之间的对应关系(即第一规则),如下表6所示:In an optional implementation manner, in order for the terminal device to select a suitable service identifier and/or first indication information (the first indication information is used to indicate whether to request access to the server address information), the terminal device receives the information from the network side The corresponding relationship between the service identifier and the first indication information (that is, the first rule) is shown in Table 6 below:
Figure PCTCN2019104806-appb-000012
Figure PCTCN2019104806-appb-000012
表6Table 6
需要说明的是,本申请实施例中涉及到的PDU会话属性参数不局限于S-NSSAI和/或DNN,还可以有SSC模式(SSC Mode)、PDU会话类型(PDU Session Type)、非无缝卸载指示(Non-Seamless Offload indication)、接入偏好(Access Preference)等。It should be noted that the PDU session attribute parameters involved in the embodiments of this application are not limited to S-NSSAI and/or DNN, and may also include SSC mode (SSC Mode), PDU session type (PDU Session Type), and non-seamless Offload indication (Non-Seamless Offload indication), access preference (Access Preference), etc.
上述第一规则可以通过URSP规则来实现,在实际部署中,对于需要访问访问服务器的业务,可以为这些业务通过URSP规则中的Traffic Descriptor来描述,并在对应的RSD中配置特定的S-NSSAI和DNN,该S-NSSAI和DNN用于本地分流的第一PDU会话。这样,当一种业务建立了本地分流的第一PDU会话后,其他业务数据如果出现,根据匹配的URSP规则也可以绑定到该第一PDU会话上,进而访问访问服务器。URSP规则及其对应的RSD如下表7和表8所示,其中,URSP规则中的Traffic Descriptor可以作为业务标识来描述业务的相关信息,RSD中携带第一指示信息,该第一指示信息用于指示是否请求获取访问服务器的地址信息。The above-mentioned first rule can be implemented through the URSP rule. In actual deployment, for the services that need to access the server, these services can be described by the Traffic Descriptor in the URSP rule, and the specific S-NSSAI is configured in the corresponding RSD And DNN, the S-NSSAI and DNN are used for the first PDU session of the local offload. In this way, after a service establishes the first PDU session of the local offload, if other service data appears, it can also be bound to the first PDU session according to the matched URSP rule, and then access the access server. The URSP rules and their corresponding RSDs are shown in Table 7 and Table 8 below. Among them, the Traffic Descriptor in the URSP rule can be used as a service identifier to describe service-related information, and the RSD carries first indication information, and the first indication information is used for Indicates whether to request access to the server's address information.
Figure PCTCN2019104806-appb-000013
Figure PCTCN2019104806-appb-000013
表7Table 7
Figure PCTCN2019104806-appb-000014
Figure PCTCN2019104806-appb-000014
表8Table 8
在本申请一种可选实施方式中,可以通过以下方式实现终端设备获取访问服务器的地址:网络侧向终端设备发送第一消息,该第一消息包含第一规则,所述第一规则包括业务标识与对应的访问服务器的地址或访问服务器的FQDN(或URL)信息,如下表9所示。如果终端设备获得的是访问服务器的地址,则意味着所述业务标识对应的数据包全都发送到该地址的服务器上;如果终端设备获得的是访问服务器的完整域名(Fully Qualified Domain Name,FQDN),则终端设备使用FQDN与第二服务器交互得到访问服务器的地址后,使用地址为该业务标识对应的数据包进行通信。In an optional implementation manner of the present application, the terminal device can obtain the address of the access server in the following manner: the network side sends a first message to the terminal device, the first message includes a first rule, and the first rule includes a service Identifies and corresponds to the address of the access server or the FQDN (or URL) information of the access server, as shown in Table 9 below. If the terminal device obtains the address of the access server, it means that all the data packets corresponding to the service identifier are sent to the server at that address; if the terminal device obtains the full domain name (Fully Qualified Domain Name, FQDN) of the access server , The terminal device uses the FQDN to interact with the second server to obtain the address of the access server, and then uses the address to communicate with the data packet corresponding to the service identifier.
业务标识Business identity 访问服务器的地址/FQDNAccess server address/FQDN (可选)地点/时间(Optional) location/time
业务标识-1Business ID-1 IP地址-1IP address-1 区域-1Area-1
业务标识-2Business ID-2 IP地址-1IP address-1 区域-1Area-1
业务标识-3Business ID-3 FQDN-1FQDN-1 区域-1Area-1
表9Table 9
终端设备在建立PDU会话后,根据FQDN信息通过PDU会话获得访问服务器的地址,这里,若已有访问服务器的地址则终端设备根据访问服务器的地址与访问服务器直接通信。也就是说PDU会话建立或修改过程不需要增强,而是终端设备自己通过建立的PDU会话与外部服务器和/或访问服务器直接通信。After establishing the PDU session, the terminal device obtains the address of the access server through the PDU session according to the FQDN information. Here, if the address of the access server already exists, the terminal device directly communicates with the access server according to the address of the access server. That is to say, the PDU session establishment or modification process does not need to be enhanced, but the terminal device itself directly communicates with the external server and/or the access server through the established PDU session.
在一种实施方式中,将访问服务器的地址或FQDN信息添加到URSP规则的RSD中,如下表10所示的RSD,终端设备通过获取URSP规则来得到访问服务器的地址或FQDN信息。“业务标识”可以对应URSP规则中的Traffic Descriptor中的参数。In an implementation manner, the address or FQDN information of the access server is added to the RSD of the URSP rule, such as the RSD shown in Table 10 below, and the terminal device obtains the address or FQDN information of the access server by obtaining the URSP rule. The "service identifier" can correspond to the parameters in the Traffic Descriptor in the URSP rules.
Figure PCTCN2019104806-appb-000015
Figure PCTCN2019104806-appb-000015
表10Table 10
在一可选方式中,访问服务器的地址/FQDN信息可以通过核心网侧触发的NAS消息发送给终端设备,比如PCF触发UCU消息将包含访问服务器地址/FQDN信息的URSP规则发送给终端设备。这里URSP规则封装在容器中,该容器由PCF发送给AMF,AMF再将容器通过下行NAS消息发送给终端设备。In an optional manner, the address/FQDN information of the access server can be sent to the terminal device through a NAS message triggered by the core network side. For example, the PCF triggers the UCU message to send the URSP rule containing the access server address/FQDN information to the terminal device. Here, the URSP rule is encapsulated in a container, and the container is sent by the PCF to the AMF, and the AMF sends the container to the terminal device through a downlink NAS message.
进一步,可选地,除第一规则指示访问服务器的地址或FQDN外,第一规则也可以是指示第二服务器的地址或FQDN,终端根据该信息与第二服务器进行通信,确定访问服务器的地址。Further, optionally, in addition to the first rule indicating the address or FQDN of the access server, the first rule may also indicate the address or FQDN of the second server, and the terminal communicates with the second server according to the information to determine the address of the access server .
本申请实施例的技术方案不仅可以应用于获取本地服务器(如EC服务器)地址的场景,也可以用于其他场景,即终端设备可以使用本申请实施例的技术方案来发现任何其希望发现的特定业务对应的应用服务器的地址。The technical solutions of the embodiments of this application can not only be applied to the scenario of obtaining the address of a local server (such as an EC server), but also can be used in other scenarios, that is, the terminal device can use the technical solutions of the embodiments of this application to discover any specific The address of the application server corresponding to the service.
本申请实施例的技术方案可以与PDU会话控制相关机制结合,控制终端设备在特定区域对特定的业务访问本地服务器。比如,通过一种机制(比如LADN机制)控制PDU会话在特定区域(本地服务器覆盖的区域)激活时,才可以让业务访问本地服务器。当终端设备移出特定区域后,原PDU会话将被去激活或删除,通过建立新的PDU会话来访问非本地服务器(即远端服务器)。The technical solution of the embodiment of the present application can be combined with a PDU session control related mechanism to control a terminal device to access a local server for a specific service in a specific area. For example, a mechanism (such as the LADN mechanism) is used to control the activation of the PDU session in a specific area (area covered by the local server) before the business can access the local server. When the terminal device moves out of a specific area, the original PDU session will be deactivated or deleted, and a new PDU session will be established to access the non-local server (that is, the remote server).
本申请实施例的技术方案中,网络侧向终端设备发送的PDU会话建立或修改响应中,除了携带访问服务器的地址信息以外,还可以携带访问服务器的端口号、协议类型等信息。In the technical solution of the embodiment of the present application, the PDU session establishment or modification response sent by the network side to the terminal device may not only carry the address information of the access server, but also information such as the port number and protocol type of the access server.
本申请实施例的技术方案不仅可以用于5G网络下与访问服务器的通信,还可以用于4G网络下与访问服务器的通信。The technical solutions of the embodiments of the present application can be used not only for communication with the access server under the 5G network, but also for communication with the access server under the 4G network.
图6为本申请实施例提供的通信装置的结构组成示意图一,如图6所示,所述通信装置包括:FIG. 6 is a schematic diagram 1 of the structural composition of a communication device provided by an embodiment of the application. As shown in FIG. 6, the communication device includes:
发送单元601,用于向终端设备发送第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The sending unit 601 is configured to send first information to a terminal device, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal device and the At least one first server transmits data through a first session.
在一可选实施方式中,所述第一信息携带在所述第一核心网网元发送的下行NAS消息中。In an optional implementation manner, the first information is carried in a downlink NAS message sent by the first core network element.
在一可选实施方式中,所述第一信息承载在第一容器中,所述第一容器由PCF发送给AMF,所述AMF通过下行NAS消息将所述第一容器发送给所述终端设备。In an optional implementation manner, the first information is carried in a first container, the first container is sent by the PCF to the AMF, and the AMF sends the first container to the terminal device through a downlink NAS message .
在一可选实施方式中,所述第一信息携带在第一响应消息中,所述第一响应消息是所述第一 核心网网元接收所述终端设备发送的第一请求消息后的响应消息,所述第一请求消息用于请求建立或修改第一会话。In an optional implementation manner, the first information is carried in a first response message, and the first response message is a response after the first core network element receives the first request message sent by the terminal device Message, the first request message is used to request the establishment or modification of the first session.
在一可选实施方式中,所述第一请求消息携带第一会话属性参数,所述第一会话属性参数用于以下至少之一:In an optional implementation manner, the first request message carries a first session attribute parameter, and the first session attribute parameter is used for at least one of the following:
所述第一核心网网元确定业务类型;The network element of the first core network determines the service type;
所述第一核心网网元确定是否从第二服务器获取所述至少一个第一服务器的地址信息;Determining, by the first core network element, whether to obtain the address information of the at least one first server from a second server;
所述第一核心网网元确定第二服务器的第一路由,并根据所述第一路由从所述第二服务器获取所述至少一个第一服务器的地址信息。The first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
在一可选实施方式中,所述第一会话属性参数包括以下至少之一:S-NSSAI、DNN。In an optional implementation manner, the first session attribute parameter includes at least one of the following: S-NSSAI, DNN.
在一可选实施方式中,所述第一请求消息携带第一指示信息;In an optional implementation manner, the first request message carries first indication information;
所述第一指示信息用于指示是否请求获取第一服务器的地址信息。The first indication information is used to indicate whether to request to obtain the address information of the first server.
在一可选实施方式中,所述第一指示信息承载在第一容器中,所述第一容器携带在所述第一请求消息中;In an optional implementation manner, the first indication information is carried in a first container, and the first container is carried in the first request message;
所述发送单元601,还用于将所述第一容器不作任何修改发送给所述第二服务器。The sending unit 601 is further configured to send the first container to the second server without any modification.
在一可选实施方式中,所述第一请求消息携带第一路由标识;In an optional implementation manner, the first request message carries a first route identifier;
所述第一路由标识用于所述第一核心网网元寻址第二服务器,并从所述第二服务器获取所述至少一个第一服务器的地址信息。The first route identifier is used by the first core network element to address a second server and obtain address information of the at least one first server from the second server.
在一可选实施方式中,所述第一请求消息携带至少一个第一业务标识;In an optional implementation manner, the first request message carries at least one first service identifier;
所述至少一个第一业务标识用于所述第一核心网网元确定至少一个业务,并从第二服务器获取所述至少一个业务对应的至少一个第一服务器的地址信息。The at least one first service identifier is used by the first core network element to determine at least one service, and obtain address information of at least one first server corresponding to the at least one service from a second server.
在一可选实施方式中,所述至少一个第一业务标识承载在第一容器中;所述第一容器携带在所述第一请求消息中;In an optional implementation manner, the at least one first service identifier is carried in a first container; the first container is carried in the first request message;
所述发送单元601,还用于将所述第一容器发送给所述第二服务器;The sending unit 601 is further configured to send the first container to the second server;
所述装置还包括:接收单元602,用于接收所述第二服务器发送的第二容器,所述第二容器承载与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息;The device further includes: a receiving unit 602, configured to receive a second container sent by the second server, the second container carrying address information of at least one first server corresponding to the at least one first service identifier;
所述发送单元601,还用于将所述第二容器携带在所述第一响应消息中发送给所述终端设备。The sending unit 601 is further configured to carry the second container in the first response message and send it to the terminal device.
在一可选实施方式中,所述发送单元601,还用于将所述至少一个第一业务标识发送给所述第二服务器,或者,基于所述至少一个第一业务标识生成至少一个第二业务标识,并将所述至少一个第二业务标识发送给所述第二服务器;In an optional implementation manner, the sending unit 601 is further configured to send the at least one first service identifier to the second server, or generate at least one second service identifier based on the at least one first service identifier. A service identifier, and sending the at least one second service identifier to the second server;
所述装置还包括:接收单元602,用于接收所述第二服务器发送的与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息;The device further includes: a receiving unit 602, configured to receive address information of at least one first server corresponding to the at least one first service identifier sent by the second server;
所述发送单元601,还用于将所述至少一个第一服务器的地址信息携带在所述第一响应消息中发送给所述终端设备。The sending unit 601 is further configured to carry the address information of the at least one first server in the first response message and send it to the terminal device.
在一可选实施方式中,所述至少一个业务的数据流绑定在所述第一会话上传输;In an optional implementation manner, the data stream of the at least one service is bound and transmitted on the first session;
所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间传输所述第一会话对应的数据,包括:The use of the address information of the at least one first server to transmit data corresponding to the first session between the terminal device and the at least one first server includes:
所述至少一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的所述至少一个业务的数据流传输给所述至少一个第一服务器,和/或从所述至少一个第一服务器接收绑定在所述第一会话上的所述至少一个业务的数据流。The address information of the at least one first server is used by the terminal device to transmit the data stream of the at least one service bound to the first session to the at least one first server, and/or from all The at least one first server receives the data stream of the at least one service bound to the first session.
在一可选实施方式中,所述第一响应消息携带一个第一服务器的地址信息,所述一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的部分或全部数据流传输给所述一个第一服务器,和/或从所述一个第一服务器接收绑定在所述第一会话上的部分或全部数据流。In an optional implementation manner, the first response message carries address information of a first server, and the address information of the first server is used for the part that the terminal device binds to the first session Or all data streams are transmitted to the one first server, and/or part or all of the data streams bound to the first session are received from the one first server.
在一可选实施方式中,所述装置还包括:In an optional embodiment, the device further includes:
寻址单元(图中未示出),用于根据以下至少之一寻址所述第二服务器:第一路由标识、来自第二核心网网元的指示信息、本地配置信息、至少一个第一业务标识。The addressing unit (not shown in the figure) is used to address the second server according to at least one of the following: a first routing identifier, indication information from a second core network element, local configuration information, at least one first Business identity.
在一可选实施方式中,所述发送单元601,还用于向所述终端设备发送第一规则,所述第一规则用于所述终端设备确定所述第一请求消息中携带的内容;其中,所述第一规则包括以下至少之一:In an optional implementation manner, the sending unit 601 is further configured to send a first rule to the terminal device, where the first rule is used by the terminal device to determine the content carried in the first request message; Wherein, the first rule includes at least one of the following:
至少一个业务标识对应的第一指示信息,所述第一指示信息用于指示是否请求获取第一服务器的地址信息;First indication information corresponding to at least one service identifier, where the first indication information is used to indicate whether to request to obtain address information of the first server;
至少一个业务标识对应的第一会话属性参数,所述第一会话属性参数用于描述所述第一会 话。A first session attribute parameter corresponding to at least one service identifier, where the first session attribute parameter is used to describe the first session.
在一可选实施方式中,所述第一规则为URSP规则;In an optional implementation manner, the first rule is a URSP rule;
所述业务标识通过所述URSP规则中的业务描述符来表示;The service identifier is represented by a service descriptor in the URSP rule;
所述第一指示信息携带在所述URSP规则下的RSD中;The first indication information is carried in the RSD under the URSP rule;
所述第一会话属性参数携带在所述URSP规则下的RSD中。The first session attribute parameter is carried in the RSD under the URSP rule.
在一可选实施方式中,所述第一规则还包括生效条件,所述生效条件包括以下至少之一:生效时间、生效时长、生效区域。In an optional implementation manner, the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
在一可选实施方式中,所述第一服务器至少包括边缘计算服务器。In an optional embodiment, the first server includes at least an edge computing server.
本领域技术人员应当理解,本申请实施例的上述通信装置的相关描述可以参照本申请实施例的通信方法的相关描述进行理解。Those skilled in the art should understand that the relevant description of the foregoing communication device in the embodiment of the present application can be understood with reference to the relevant description of the communication method in the embodiment of the present application.
图7为本申请实施例提供的通信装置的结构组成示意图二,如图7所示,所述通信装置包括:FIG. 7 is a second schematic diagram of the structural composition of a communication device provided by an embodiment of the application. As shown in FIG. 7, the communication device includes:
接收单元701,用于接收第一核心网网元发送的第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The receiving unit 701 is configured to receive first information sent by a first core network element, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the The terminal device and the at least one first server transmit data through a first session.
所述第一信息携带在所述第一核心网网元发送的下行NAS消息中。The first information is carried in a downlink NAS message sent by the first core network element.
在一可选实施方式中,所述第一信息承载在第一容器中,所述第一容器由PCF发送给AMF,所述AMF通过下行NAS消息将所述第一容器发送给所述终端设备。In an optional implementation manner, the first information is carried in a first container, the first container is sent by the PCF to the AMF, and the AMF sends the first container to the terminal device through a downlink NAS message .
在一可选实施方式中,所述第一信息携带在第一响应消息中,所述第一响应消息是所述第一核心网网元接收所述终端设备发送的第一请求消息后的响应消息,所述第一请求消息用于请求建立或修改第一会话。In an optional implementation manner, the first information is carried in a first response message, and the first response message is a response after the first core network element receives the first request message sent by the terminal device Message, the first request message is used to request the establishment or modification of the first session.
在一可选实施方式中,所述第一请求消息携带第一会话属性参数,所述第一会话属性参数用于以下至少之一:In an optional implementation manner, the first request message carries a first session attribute parameter, and the first session attribute parameter is used for at least one of the following:
所述第一核心网网元确定业务类型;The network element of the first core network determines the service type;
所述第一核心网网元确定是否从第二服务器获取所述至少一个第一服务器的地址信息;Determining, by the first core network element, whether to obtain the address information of the at least one first server from a second server;
所述第一核心网网元确定第二服务器的第一路由,并根据所述第一路由从所述第二服务器获取所述至少一个第一服务器的地址信息。The first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
在一可选实施方式中,所述第一会话属性参数包括以下至少之一:S-NSSAI、DNN。In an optional implementation manner, the first session attribute parameter includes at least one of the following: S-NSSAI, DNN.
在一可选实施方式中,所述第一请求消息携带第一指示信息;In an optional implementation manner, the first request message carries first indication information;
所述第一指示信息用于指示是否请求获取第一服务器的地址信息。The first indication information is used to indicate whether to request to obtain the address information of the first server.
在一可选实施方式中,所述第一指示信息承载在第一容器中,所述第一容器携带在所述第一请求消息中。In an optional implementation manner, the first indication information is carried in a first container, and the first container is carried in the first request message.
在一可选实施方式中,所述第一请求消息携带第一路由标识;In an optional implementation manner, the first request message carries a first route identifier;
所述第一路由标识用于所述第一核心网网元寻址第二服务器,并从所述第二服务器获取所述至少一个第一服务器的地址信息。The first route identifier is used by the first core network element to address a second server and obtain address information of the at least one first server from the second server.
在一可选实施方式中,所述第一请求消息携带至少一个第一业务标识;In an optional implementation manner, the first request message carries at least one first service identifier;
所述至少一个第一业务标识用于所述第一核心网网元确定至少一个业务,并从第二服务器获取所述至少一个业务对应的至少一个第一服务器的地址信息。The at least one first service identifier is used by the first core network element to determine at least one service, and obtain address information of at least one first server corresponding to the at least one service from a second server.
在一可选实施方式中,所述至少一个第一业务标识承载在第一容器中;所述第一容器携带在所述第一请求消息中;In an optional implementation manner, the at least one first service identifier is carried in a first container; the first container is carried in the first request message;
所述第一响应消息携带第二容器,所述第二容器承载与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息。The first response message carries a second container, and the second container carries address information of at least one first server corresponding to the at least one first service identifier.
在一可选实施方式中,所述至少一个业务的数据流绑定在所述第一会话上传输;In an optional implementation manner, the data stream of the at least one service is bound and transmitted on the first session;
所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间传输所述第一会话对应的数据,包括:The use of the address information of the at least one first server to transmit data corresponding to the first session between the terminal device and the at least one first server includes:
所述至少一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的所述至少一个业务的数据流传输给所述至少一个第一服务器,和/或从所述至少一个第一服务器接收绑定在所述第一会话上的所述至少一个业务的数据流。The address information of the at least one first server is used by the terminal device to transmit the data stream of the at least one service bound to the first session to the at least one first server, and/or from all The at least one first server receives the data stream of the at least one service bound to the first session.
在一可选实施方式中,所述第一响应消息携带一个第一服务器的地址信息,所述一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的部分或全部数据流传输给所述一个第一服务器,和/或从所述一个第一服务器接收绑定在所述第一会话上的部分或全部数据流。In an optional implementation manner, the first response message carries address information of a first server, and the address information of the first server is used for the part that the terminal device binds to the first session Or all data streams are transmitted to the one first server, and/or part or all of the data streams bound to the first session are received from the one first server.
在一可选实施方式中,所述接收单元701,还用于接收所述第一核心网网元发送的第一规则, 所述第一规则用于所述终端设备确定所述第一请求消息中携带的内容;其中,所述第一规则包括以下至少之一:In an optional implementation manner, the receiving unit 701 is further configured to receive a first rule sent by the first core network element, and the first rule is used by the terminal device to determine the first request message The content carried in; wherein, the first rule includes at least one of the following:
至少一个业务标识对应的第一指示信息,所述第一指示信息用于指示是否请求获取第一服务器的地址信息;First indication information corresponding to at least one service identifier, where the first indication information is used to indicate whether to request to obtain address information of the first server;
至少一个业务标识对应的第一会话属性参数,所述第一会话属性参数用于描述所述第一会话。A first session attribute parameter corresponding to at least one service identifier, where the first session attribute parameter is used to describe the first session.
在一可选实施方式中,所述第一规则为URSP规则;In an optional implementation manner, the first rule is a URSP rule;
所述业务标识通过所述URSP规则中的业务描述符来表示;The service identifier is represented by a service descriptor in the URSP rule;
所述第一指示信息携带在所述URSP规则下的RSD中;The first indication information is carried in the RSD under the URSP rule;
所述第一会话属性参数携带在所述URSP规则下的RSD中。The first session attribute parameter is carried in the RSD under the URSP rule.
在一可选实施方式中,所述第一规则还包括生效条件,所述生效条件包括以下至少之一:生效时间、生效时长、生效区域。In an optional implementation manner, the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
在一可选实施方式中,所述第一服务器至少包括边缘计算服务器。In an optional embodiment, the first server includes at least an edge computing server.
本领域技术人员应当理解,本申请实施例的上述通信装置的相关描述可以参照本申请实施例的通信方法的相关描述进行理解。Those skilled in the art should understand that the relevant description of the foregoing communication device in the embodiment of the present application can be understood with reference to the relevant description of the communication method in the embodiment of the present application.
图8是本申请实施例提供的一种通信设备800示意性结构图。该通信设备可以是终端设备,也可以是网络设备,图8所示的通信设备800包括处理器810,处理器810可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 8 is a schematic structural diagram of a communication device 800 provided by an embodiment of the present application. The communication device may be a terminal device or a network device. The communication device 800 shown in FIG. 8 includes a processor 810, and the processor 810 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
可选地,如图8所示,通信设备800还可以包括存储器820。其中,处理器810可以从存储器820中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in FIG. 8, the communication device 800 may further include a memory 820. The processor 810 may call and run a computer program from the memory 820 to implement the method in the embodiment of the present application.
其中,存储器820可以是独立于处理器810的一个单独的器件,也可以集成在处理器810中。The memory 820 may be a separate device independent of the processor 810, or may be integrated in the processor 810.
可选地,如图8所示,通信设备800还可以包括收发器830,处理器810可以控制该收发器830与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。Optionally, as shown in FIG. 8, the communication device 800 may further include a transceiver 830, and the processor 810 may control the transceiver 830 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other devices. Information or data sent by the device.
其中,收发器830可以包括发射机和接收机。收发器830还可以进一步包括天线,天线的数量可以为一个或多个。Wherein, the transceiver 830 may include a transmitter and a receiver. The transceiver 830 may further include an antenna, and the number of antennas may be one or more.
可选地,该通信设备800具体可为本申请实施例的网络设备,并且该通信设备800可以实现本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 800 may specifically be a network device in an embodiment of the present application, and the communication device 800 may implement the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, it will not be repeated here. .
可选地,该通信设备800具体可为本申请实施例的移动终端/终端设备,并且该通信设备800可以实现本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 800 may specifically be a mobile terminal/terminal device of an embodiment of the application, and the communication device 800 may implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the application. For the sake of brevity , I won’t repeat it here.
图9是本申请实施例的芯片的示意性结构图。图9所示的芯片900包括处理器910,处理器910可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 9 is a schematic structural diagram of a chip of an embodiment of the present application. The chip 900 shown in FIG. 9 includes a processor 910. The processor 910 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
可选地,如图9所示,芯片900还可以包括存储器920。其中,处理器910可以从存储器920中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in FIG. 9, the chip 900 may further include a memory 920. The processor 910 can call and run a computer program from the memory 920 to implement the method in the embodiment of the present application.
其中,存储器920可以是独立于处理器910的一个单独的器件,也可以集成在处理器910中。The memory 920 may be a separate device independent of the processor 910, or may be integrated in the processor 910.
可选地,该芯片900还可以包括输入接口930。其中,处理器910可以控制该输入接口930与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。Optionally, the chip 900 may further include an input interface 930. The processor 910 can control the input interface 930 to communicate with other devices or chips, and specifically, can obtain information or data sent by other devices or chips.
可选地,该芯片900还可以包括输出接口940。其中,处理器910可以控制该输出接口940与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。Optionally, the chip 900 may further include an output interface 940. The processor 910 can control the output interface 940 to communicate with other devices or chips, and specifically, can output information or data to other devices or chips.
可选地,该芯片可应用于本申请实施例中的网络设备,并且该芯片可以实现本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the network device in the embodiment of the present application, and the chip can implement the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, details are not described herein again.
可选地,该芯片可应用于本申请实施例中的移动终端/终端设备,并且该芯片可以实现本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the chip can implement the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application. For the sake of brevity, here No longer.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-level chip, a system-on-chip, a system-on-chip, or a system-on-chip, etc.
图10是本申请实施例提供的一种通信系统1000的示意性框图。如图10所示,该通信系统1000包括终端设备1010和网络设备1020。FIG. 10 is a schematic block diagram of a communication system 1000 according to an embodiment of the present application. As shown in FIG. 10, the communication system 1000 includes a terminal device 1010 and a network device 1020.
其中,该终端设备1010可以用于实现上述方法中由终端设备实现的相应的功能,以及该网络设备1020可以用于实现上述方法中由网络设备实现的相应的功能为了简洁,在此不再赘述。Wherein, the terminal device 1010 can be used to implement the corresponding function implemented by the terminal device in the above method, and the network device 1020 can be used to implement the corresponding function implemented by the network device in the above method. For brevity, it will not be repeated here. .
应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。 上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method embodiments can be completed by hardware integrated logic circuits in the processor or instructions in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (ASIC), a ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile 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), and electrically available Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (Random Access Memory, RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as 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 Link Dynamic Random Access Memory (Synchlink DRAM, SLDRAM) ) And Direct Rambus RAM (DR RAM). It should be noted that the memories of the systems and methods described herein are intended to include, but are not limited to, these and any other suitable types of memories.
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the foregoing memory is exemplary but not restrictive. For example, the memory in the embodiment of the present application may also be 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 (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is to say, the memory in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。The embodiment of the present application also provides a computer-readable storage medium for storing computer programs.
可选的,该计算机可读存储介质可应用于本申请实施例中的网络设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the network device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, here No longer.
可选地,该计算机可读存储介质可应用于本申请实施例中的移动终端/终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application , For the sake of brevity, I won’t repeat it here.
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。The embodiments of the present application also provide a computer program product, including computer program instructions.
可选的,该计算机程序产品可应用于本申请实施例中的网络设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the network device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, it is not here. Go into details again.
可选地,该计算机程序产品可应用于本申请实施例中的移动终端/终端设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application, For the sake of brevity, I will not repeat them here.
本申请实施例还提供了一种计算机程序。The embodiment of the present application also provides a computer program.
可选的,该计算机程序可应用于本申请实施例中的网络设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the network device in the embodiment of the present application. When the computer program runs on the computer, it causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity , I won’t repeat it here.
可选地,该计算机程序可应用于本申请实施例中的移动终端/终端设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the mobile terminal/terminal device in the embodiment of the present application. When the computer program runs on the computer, the computer executes each method in the embodiment of the present application. For the sake of brevity, the corresponding process will not be repeated here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,)ROM、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: 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 code .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (82)

  1. 一种通信方法,所述方法包括:A communication method, the method includes:
    第一核心网网元向终端设备发送第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The first core network element sends first information to the terminal device, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal device and the terminal device. At least one first server transmits data through a first session.
  2. 根据权利要求1所述的方法,其中,所述第一信息携带在所述第一核心网网元发送的下行NAS消息中。The method according to claim 1, wherein the first information is carried in a downlink NAS message sent by the network element of the first core network.
  3. 根据权利要求2所述的方法,其中,所述第一信息承载在第一容器中,所述第一容器由PCF发送给AMF,所述AMF通过下行NAS消息将所述第一容器发送给所述终端设备。The method according to claim 2, wherein the first information is carried in a first container, the first container is sent to the AMF by the PCF, and the AMF sends the first container to the all through a downlink NAS message述terminal equipment.
  4. 根据权利要求1所述的方法,其中,所述第一信息携带在第一响应消息中,所述第一响应消息是所述第一核心网网元接收所述终端设备发送的第一请求消息后的响应消息,所述第一请求消息用于请求建立或修改第一会话。The method according to claim 1, wherein the first information is carried in a first response message, and the first response message is a first request message sent by the terminal device received by the first core network element After the response message, the first request message is used to request the establishment or modification of the first session.
  5. 根据权利要求4所述的方法,其中,所述第一请求消息携带第一会话属性参数,所述第一会话属性参数用于以下至少之一:The method according to claim 4, wherein the first request message carries a first session attribute parameter, and the first session attribute parameter is used for at least one of the following:
    所述第一核心网网元确定业务类型;The network element of the first core network determines the service type;
    所述第一核心网网元确定是否从第二服务器获取所述至少一个第一服务器的地址信息;Determining, by the first core network element, whether to obtain the address information of the at least one first server from a second server;
    所述第一核心网网元确定第二服务器的第一路由,并根据所述第一路由从所述第二服务器获取所述至少一个第一服务器的地址信息。The first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
  6. 根据权利要求5所述的方法,其中,所述第一会话属性参数包括以下至少之一:单网络切片选择辅助信息S-NSSAI、数据网络名DNN。The method according to claim 5, wherein the first session attribute parameter includes at least one of the following: single network slice selection auxiliary information S-NSSAI, data network name DNN.
  7. 根据权利要求4至6中任一项所述的方法,其中,所述第一请求消息携带第一指示信息;The method according to any one of claims 4 to 6, wherein the first request message carries first indication information;
    所述第一指示信息用于指示是否请求获取第一服务器的地址信息。The first indication information is used to indicate whether to request to obtain the address information of the first server.
  8. 根据权利要求7所述的方法,其中,所述第一指示信息承载在第一容器中,所述第一容器携带在所述第一请求消息中;所述方法还包括:The method according to claim 7, wherein the first indication information is carried in a first container, and the first container is carried in the first request message; the method further comprises:
    所述第一核心网网元将所述第一容器不作任何修改发送给所述第二服务器。The first core network element sends the first container to the second server without any modification.
  9. 根据权利要求4至8中任一项所述的方法,其中,所述第一请求消息携带第一路由标识;8. The method according to any one of claims 4 to 8, wherein the first request message carries a first routing identifier;
    所述第一路由标识用于所述第一核心网网元寻址第二服务器,并从所述第二服务器获取所述至少一个第一服务器的地址信息。The first route identifier is used by the first core network element to address a second server and obtain address information of the at least one first server from the second server.
  10. 根据权利要求4至9中任一项所述的方法,其中,所述第一请求消息携带至少一个第一业务标识;The method according to any one of claims 4 to 9, wherein the first request message carries at least one first service identifier;
    所述至少一个第一业务标识用于所述第一核心网网元确定至少一个业务,并从第二服务器获取所述至少一个业务对应的至少一个第一服务器的地址信息。The at least one first service identifier is used by the first core network element to determine at least one service, and obtain address information of at least one first server corresponding to the at least one service from a second server.
  11. 根据权利要求10所述的方法,其中,所述至少一个第一业务标识承载在第一容器中;所述第一容器携带在所述第一请求消息中;所述方法还包括:The method according to claim 10, wherein the at least one first service identifier is carried in a first container; the first container is carried in the first request message; and the method further comprises:
    所述第一核心网网元从所述第一请求消息中获取所述第一容器后,将所述第一容器发送给所述第二服务器;After obtaining the first container from the first request message, the first core network element sends the first container to the second server;
    所述第一核心网网元接收所述第二服务器发送的第二容器,所述第二容器承载与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息;Receiving, by the first core network element, a second container sent by the second server, the second container carrying address information of at least one first server corresponding to the at least one first service identifier;
    所述第一核心网网元将所述第二容器携带在所述第一响应消息中发送给所述终端设备。The first core network element carries the second container in the first response message and sends it to the terminal device.
  12. 根据权利要求10所述的方法,其中,所述方法还包括:The method according to claim 10, wherein the method further comprises:
    所述第一核心网网元从所述第一请求消息中获取所述至少一个第一业务标识后,将所述至少一个第一业务标识发送给所述第二服务器,或者,基于所述至少一个第一业务标识生成至少一个第二业务标识,并将所述至少一个第二业务标识发送给所述第二服务器;After obtaining the at least one first service identifier from the first request message, the first core network element sends the at least one first service identifier to the second server, or based on the at least one One first service identifier generates at least one second service identifier, and the at least one second service identifier is sent to the second server;
    所述第一核心网网元接收所述第二服务器发送的与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息;Receiving, by the first core network element, the address information of at least one first server corresponding to the at least one first service identifier sent by the second server;
    所述第一核心网网元将所述至少一个第一服务器的地址信息携带在所述第一响应消息中发送给所述终端设备。The first core network element carries the address information of the at least one first server in the first response message and sends it to the terminal device.
  13. 根据权利要求10至12中任一项所述的方法,其中,所述至少一个业务的数据流绑定在 所述第一会话上传输;The method according to any one of claims 10 to 12, wherein the data stream of the at least one service is bound and transmitted on the first session;
    所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间传输所述第一会话对应的数据,包括:The use of the address information of the at least one first server to transmit data corresponding to the first session between the terminal device and the at least one first server includes:
    所述至少一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的所述至少一个业务的数据流传输给所述至少一个第一服务器,和/或从所述至少一个第一服务器接收绑定在所述第一会话上的所述至少一个业务的数据流。The address information of the at least one first server is used by the terminal device to transmit the data stream of the at least one service bound to the first session to the at least one first server, and/or from all The at least one first server receives the data stream of the at least one service bound to the first session.
  14. 根据权利要求10至12中任一项所述的方法,其中,所述第一响应消息携带一个第一服务器的地址信息,所述一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的部分或全部数据流传输给所述一个第一服务器,和/或从所述一个第一服务器接收绑定在所述第一会话上的部分或全部数据流。The method according to any one of claims 10 to 12, wherein the first response message carries address information of a first server, and the address information of the first server is used by the terminal device to bind Part or all of the data stream on the first session is transmitted to the one first server, and/or part or all of the data stream bound on the first session is received from the one first server.
  15. 根据权利要求5至14中任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 5 to 14, wherein the method further comprises:
    所述第一核心网网元根据以下至少之一寻址所述第二服务器:第一路由标识、来自第二核心网网元的指示信息、本地配置信息、至少一个第一业务标识。The first core network element addresses the second server according to at least one of the following: a first route identifier, indication information from the second core network element, local configuration information, and at least one first service identifier.
  16. 根据权利要求4至15中任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 4 to 15, wherein the method further comprises:
    所述第一核心网网元向所述终端设备发送第一规则,所述第一规则用于所述终端设备确定所述第一请求消息中携带的内容;其中,所述第一规则包括以下至少之一:The first core network element sends a first rule to the terminal device, where the first rule is used by the terminal device to determine the content carried in the first request message; wherein, the first rule includes the following At least one of:
    至少一个业务标识对应的第一指示信息,所述第一指示信息用于指示是否请求获取第一服务器的地址信息;First indication information corresponding to at least one service identifier, where the first indication information is used to indicate whether to request to obtain address information of the first server;
    至少一个业务标识对应的第一会话属性参数,所述第一会话属性参数用于描述所述第一会话。A first session attribute parameter corresponding to at least one service identifier, where the first session attribute parameter is used to describe the first session.
  17. 根据权利要求16所述的方法,其中,所述第一规则为URSP规则;The method according to claim 16, wherein the first rule is a URSP rule;
    所述业务标识通过所述URSP规则中的业务描述符来表示;The service identifier is represented by a service descriptor in the URSP rule;
    所述第一指示信息携带在所述URSP规则下的RSD中;The first indication information is carried in the RSD under the URSP rule;
    所述第一会话属性参数携带在所述URSP规则下的RSD中。The first session attribute parameter is carried in the RSD under the URSP rule.
  18. 根据权利要求16或17所述的方法,其中,所述第一规则还包括生效条件,所述生效条件包括以下至少之一:生效时间、生效时长、生效区域。The method according to claim 16 or 17, wherein the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
  19. 根据权利要求1至18中任一项所述的方法,其中,所述第一服务器至少包括边缘计算服务器。The method according to any one of claims 1 to 18, wherein the first server includes at least an edge computing server.
  20. 一种通信方法,所述方法包括:A communication method, the method includes:
    终端设备接收第一核心网网元发送的第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The terminal device receives the first information sent by the first core network element, where the first information carries address information of at least one first server, and the address information of the at least one first server is used by the terminal device and all The at least one first server transmits data through a first session.
  21. 根据权利要求20所述的方法,其中,所述第一信息携带在所述第一核心网网元发送的下行NAS消息中。The method according to claim 20, wherein the first information is carried in a downlink NAS message sent by the first core network element.
  22. 根据权利要求21所述的方法,其中,所述第一信息承载在第一容器中,所述第一容器由PCF发送给AMF,所述AMF通过下行NAS消息将所述第一容器发送给所述终端设备。The method according to claim 21, wherein the first information is carried in a first container, and the first container is sent by the PCF to the AMF, and the AMF sends the first container to the all through a downlink NAS message.述terminal equipment.
  23. 根据权利要求20所述的方法,其中,所述第一信息携带在第一响应消息中,所述第一响应消息是所述第一核心网网元接收所述终端设备发送的第一请求消息后的响应消息,所述第一请求消息用于请求建立或修改第一会话。The method according to claim 20, wherein the first information is carried in a first response message, and the first response message is a first request message sent by the terminal device received by the first core network element After the response message, the first request message is used to request the establishment or modification of the first session.
  24. 根据权利要求23所述的方法,其中,所述第一请求消息携带第一会话属性参数,所述第一会话属性参数用于以下至少之一:The method according to claim 23, wherein the first request message carries a first session attribute parameter, and the first session attribute parameter is used for at least one of the following:
    所述第一核心网网元确定业务类型;The network element of the first core network determines the service type;
    所述第一核心网网元确定是否从第二服务器获取所述至少一个第一服务器的地址信息;Determining, by the first core network element, whether to obtain the address information of the at least one first server from a second server;
    所述第一核心网网元确定第二服务器的第一路由,并根据所述第一路由从所述第二服务器获取所述至少一个第一服务器的地址信息。The first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
  25. 根据权利要求24所述的方法,其中,所述第一会话属性参数包括以下至少之一:S-NSSAI、DNN。The method according to claim 24, wherein the first session attribute parameter includes at least one of the following: S-NSSAI, DNN.
  26. 根据权利要求23至25中任一项所述的方法,其中,所述第一请求消息携带第一指示信息;The method according to any one of claims 23 to 25, wherein the first request message carries first indication information;
    所述第一指示信息用于指示是否请求获取第一服务器的地址信息。The first indication information is used to indicate whether to request to obtain the address information of the first server.
  27. 根据权利要求26所述的方法,其中,所述第一指示信息承载在第一容器中,所述第一 容器携带在所述第一请求消息中。The method according to claim 26, wherein the first indication information is carried in a first container, and the first container is carried in the first request message.
  28. 根据权利要求23至27中任一项所述的方法,其中,所述第一请求消息携带第一路由标识;The method according to any one of claims 23 to 27, wherein the first request message carries a first routing identifier;
    所述第一路由标识用于所述第一核心网网元寻址第二服务器,并从所述第二服务器获取所述至少一个第一服务器的地址信息。The first route identifier is used by the first core network element to address a second server and obtain address information of the at least one first server from the second server.
  29. 根据权利要求23至28中任一项所述的方法,其中,所述第一请求消息携带至少一个第一业务标识;The method according to any one of claims 23 to 28, wherein the first request message carries at least one first service identifier;
    所述至少一个第一业务标识用于所述第一核心网网元确定至少一个业务,并从第二服务器获取所述至少一个业务对应的至少一个第一服务器的地址信息。The at least one first service identifier is used by the first core network element to determine at least one service, and obtain address information of at least one first server corresponding to the at least one service from a second server.
  30. 根据权利要求29所述的方法,其中,所述至少一个第一业务标识承载在第一容器中;所述第一容器携带在所述第一请求消息中;The method according to claim 29, wherein the at least one first service identifier is carried in a first container; the first container is carried in the first request message;
    所述第一响应消息携带第二容器,所述第二容器承载与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息。The first response message carries a second container, and the second container carries address information of at least one first server corresponding to the at least one first service identifier.
  31. 根据权利要求29或30所述的方法,其中,所述至少一个业务的数据流绑定在所述第一会话上传输;The method according to claim 29 or 30, wherein the data stream of the at least one service is bound for transmission on the first session;
    所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间传输所述第一会话对应的数据,包括:The use of the address information of the at least one first server to transmit data corresponding to the first session between the terminal device and the at least one first server includes:
    所述至少一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的所述至少一个业务的数据流传输给所述至少一个第一服务器,和/或从所述至少一个第一服务器接收绑定在所述第一会话上的所述至少一个业务的数据流。The address information of the at least one first server is used by the terminal device to transmit the data stream of the at least one service bound to the first session to the at least one first server, and/or from all The at least one first server receives the data stream of the at least one service bound to the first session.
  32. 根据权利要求29或30所述的方法,其中,所述第一响应消息携带一个第一服务器的地址信息,所述一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的部分或全部数据流传输给所述一个第一服务器,和/或从所述一个第一服务器接收绑定在所述第一会话上的部分或全部数据流。The method according to claim 29 or 30, wherein the first response message carries address information of a first server, and the address information of the first server is used by the terminal device to bind to the first server. Part or all of the data stream on a session is transmitted to the one first server, and/or part or all of the data stream bound on the first session is received from the one first server.
  33. 根据权利要求23至32中任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 23 to 32, wherein the method further comprises:
    所述终端设备接收所述第一核心网网元发送的第一规则,所述第一规则用于所述终端设备确定所述第一请求消息中携带的内容;其中,所述第一规则包括以下至少之一:The terminal device receives a first rule sent by the first core network element, where the first rule is used by the terminal device to determine the content carried in the first request message; wherein, the first rule includes At least one of the following:
    至少一个业务标识对应的第一指示信息,所述第一指示信息用于指示是否请求获取第一服务器的地址信息;First indication information corresponding to at least one service identifier, where the first indication information is used to indicate whether to request to obtain address information of the first server;
    至少一个业务标识对应的第一会话属性参数,所述第一会话属性参数用于描述所述第一会话。A first session attribute parameter corresponding to at least one service identifier, where the first session attribute parameter is used to describe the first session.
  34. 根据权利要求33所述的方法,其中,所述第一规则为URSP规则;The method according to claim 33, wherein the first rule is a URSP rule;
    所述业务标识通过所述URSP规则中的业务描述符来表示;The service identifier is represented by a service descriptor in the URSP rule;
    所述第一指示信息携带在所述URSP规则下的RSD中;The first indication information is carried in the RSD under the URSP rule;
    所述第一会话属性参数携带在所述URSP规则下的RSD中。The first session attribute parameter is carried in the RSD under the URSP rule.
  35. 根据权利要求33或34所述的方法,其中,所述第一规则还包括生效条件,所述生效条件包括以下至少之一:生效时间、生效时长、生效区域。The method according to claim 33 or 34, wherein the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
  36. 根据权利要求20至35中任一项所述的方法,其中,所述第一服务器至少包括边缘计算服务器。The method according to any one of claims 20 to 35, wherein the first server includes at least an edge computing server.
  37. 一种通信装置,所述装置包括:A communication device, the device includes:
    发送单元,用于向终端设备发送第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The sending unit is configured to send first information to a terminal device, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal device and the at least one A first server transmits data through the first session.
  38. 根据权利要求37所述的装置,其中,所述第一信息携带在所述第一核心网网元发送的下行NAS消息中。The apparatus according to claim 37, wherein the first information is carried in a downlink NAS message sent by the first core network element.
  39. 根据权利要求38所述的装置,其中,所述第一信息承载在第一容器中,所述第一容器由PCF发送给AMF,所述AMF通过下行NAS消息将所述第一容器发送给所述终端设备。The device according to claim 38, wherein the first information is carried in a first container, and the first container is sent by the PCF to the AMF, and the AMF sends the first container to the all through a downlink NAS message.述terminal equipment.
  40. 根据权利要求37所述的装置,其中,所述第一信息携带在第一响应消息中,所述第一响应消息是所述第一核心网网元接收所述终端设备发送的第一请求消息后的响应消息,所述第一请求消息用于请求建立或修改第一会话。The apparatus according to claim 37, wherein the first information is carried in a first response message, and the first response message is a first request message sent by the terminal device received by the first core network element After the response message, the first request message is used to request the establishment or modification of the first session.
  41. 根据权利要求40所述的装置,其中,所述第一请求消息携带第一会话属性参数,所述 第一会话属性参数用于以下至少之一:The apparatus according to claim 40, wherein the first request message carries a first session attribute parameter, and the first session attribute parameter is used for at least one of the following:
    所述第一核心网网元确定业务类型;The network element of the first core network determines the service type;
    所述第一核心网网元确定是否从第二服务器获取所述至少一个第一服务器的地址信息;Determining, by the first core network element, whether to obtain the address information of the at least one first server from a second server;
    所述第一核心网网元确定第二服务器的第一路由,并根据所述第一路由从所述第二服务器获取所述至少一个第一服务器的地址信息。The first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
  42. 根据权利要求41所述的装置,其中,所述第一会话属性参数包括以下至少之一:S-NSSAI、DNN。The apparatus according to claim 41, wherein the first session attribute parameter comprises at least one of the following: S-NSSAI, DNN.
  43. 根据权利要求40至42中任一项所述的装置,其中,所述第一请求消息携带第一指示信息;The device according to any one of claims 40 to 42, wherein the first request message carries first indication information;
    所述第一指示信息用于指示是否请求获取第一服务器的地址信息。The first indication information is used to indicate whether to request to obtain the address information of the first server.
  44. 根据权利要求43所述的装置,其中,所述第一指示信息承载在第一容器中,所述第一容器携带在所述第一请求消息中;The apparatus according to claim 43, wherein the first indication information is carried in a first container, and the first container is carried in the first request message;
    所述发送单元,还用于将所述第一容器不作任何修改发送给所述第二服务器。The sending unit is further configured to send the first container to the second server without any modification.
  45. 根据权利要求40至44中任一项所述的装置,其中,所述第一请求消息携带第一路由标识;The device according to any one of claims 40 to 44, wherein the first request message carries a first routing identifier;
    所述第一路由标识用于所述第一核心网网元寻址第二服务器,并从所述第二服务器获取所述至少一个第一服务器的地址信息。The first route identifier is used by the first core network element to address a second server and obtain address information of the at least one first server from the second server.
  46. 根据权利要求40至45中任一项所述的装置,其中,所述第一请求消息携带至少一个第一业务标识;The apparatus according to any one of claims 40 to 45, wherein the first request message carries at least one first service identifier;
    所述至少一个第一业务标识用于所述第一核心网网元确定至少一个业务,并从第二服务器获取所述至少一个业务对应的至少一个第一服务器的地址信息。The at least one first service identifier is used by the first core network element to determine at least one service, and obtain address information of at least one first server corresponding to the at least one service from a second server.
  47. 根据权利要求46所述的装置,其中,所述至少一个第一业务标识承载在第一容器中;所述第一容器携带在所述第一请求消息中;The apparatus according to claim 46, wherein the at least one first service identifier is carried in a first container; the first container is carried in the first request message;
    所述发送单元,还用于将所述第一容器发送给所述第二服务器;The sending unit is further configured to send the first container to the second server;
    所述装置还包括:接收单元,用于接收所述第二服务器发送的第二容器,所述第二容器承载与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息;The device further includes: a receiving unit, configured to receive a second container sent by the second server, the second container carrying address information of at least one first server corresponding to the at least one first service identifier;
    所述发送单元,还用于将所述第二容器携带在所述第一响应消息中发送给所述终端设备。The sending unit is further configured to carry the second container in the first response message and send it to the terminal device.
  48. 根据权利要求46所述的装置,其中,The device of claim 46, wherein:
    所述发送单元,还用于将所述至少一个第一业务标识发送给所述第二服务器,或者,基于所述至少一个第一业务标识生成至少一个第二业务标识,并将所述至少一个第二业务标识发送给所述第二服务器;The sending unit is further configured to send the at least one first service identifier to the second server, or generate at least one second service identifier based on the at least one first service identifier, and send the at least one Sending the second service identifier to the second server;
    所述装置还包括:接收单元,用于接收所述第二服务器发送的与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息;The device further includes: a receiving unit configured to receive address information of at least one first server corresponding to the at least one first service identifier sent by the second server;
    所述发送单元,还用于将所述至少一个第一服务器的地址信息携带在所述第一响应消息中发送给所述终端设备。The sending unit is further configured to carry the address information of the at least one first server in the first response message and send it to the terminal device.
  49. 根据权利要求46至48中任一项所述的装置,其中,所述至少一个业务的数据流绑定在所述第一会话上传输;The apparatus according to any one of claims 46 to 48, wherein the data stream of the at least one service is bound and transmitted on the first session;
    所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间传输所述第一会话对应的数据,包括:The use of the address information of the at least one first server to transmit data corresponding to the first session between the terminal device and the at least one first server includes:
    所述至少一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的所述至少一个业务的数据流传输给所述至少一个第一服务器,和/或从所述至少一个第一服务器接收绑定在所述第一会话上的所述至少一个业务的数据流。The address information of the at least one first server is used by the terminal device to transmit the data stream of the at least one service bound to the first session to the at least one first server, and/or from all The at least one first server receives the data stream of the at least one service bound to the first session.
  50. 根据权利要求46至48中任一项所述的装置,其中,所述第一响应消息携带一个第一服务器的地址信息,所述一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的部分或全部数据流传输给所述一个第一服务器,和/或从所述一个第一服务器接收绑定在所述第一会话上的部分或全部数据流。The apparatus according to any one of claims 46 to 48, wherein the first response message carries address information of a first server, and the address information of the first server is used by the terminal device to bind Part or all of the data stream on the first session is transmitted to the one first server, and/or part or all of the data stream bound on the first session is received from the one first server.
  51. 根据权利要求41至50中任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 41 to 50, wherein the device further comprises:
    寻址单元,用于根据以下至少之一寻址所述第二服务器:第一路由标识、来自第二核心网网元的指示信息、本地配置信息、至少一个第一业务标识。The addressing unit is configured to address the second server according to at least one of the following: a first routing identifier, indication information from a network element of the second core network, local configuration information, and at least one first service identifier.
  52. 根据权利要求40至51中任一项所述的装置,其中,所述发送单元,还用于向所述终端设备发送第一规则,所述第一规则用于所述终端设备确定所述第一请求消息中携带的内容;其中, 所述第一规则包括以下至少之一:The apparatus according to any one of claims 40 to 51, wherein the sending unit is further configured to send a first rule to the terminal device, and the first rule is used by the terminal device to determine the first rule Content carried in a request message; wherein, the first rule includes at least one of the following:
    至少一个业务标识对应的第一指示信息,所述第一指示信息用于指示是否请求获取第一服务器的地址信息;First indication information corresponding to at least one service identifier, where the first indication information is used to indicate whether to request to obtain address information of the first server;
    至少一个业务标识对应的第一会话属性参数,所述第一会话属性参数用于描述所述第一会话。A first session attribute parameter corresponding to at least one service identifier, where the first session attribute parameter is used to describe the first session.
  53. 根据权利要求52所述的装置,其中,所述第一规则为URSP规则;The device according to claim 52, wherein the first rule is a URSP rule;
    所述业务标识通过所述URSP规则中的业务描述符来表示;The service identifier is represented by a service descriptor in the URSP rule;
    所述第一指示信息携带在所述URSP规则下的RSD中;The first indication information is carried in the RSD under the URSP rule;
    所述第一会话属性参数携带在所述URSP规则下的RSD中。The first session attribute parameter is carried in the RSD under the URSP rule.
  54. 根据权利要求52或53所述的装置,其中,所述第一规则还包括生效条件,所述生效条件包括以下至少之一:生效时间、生效时长、生效区域。The device according to claim 52 or 53, wherein the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
  55. 根据权利要求37至54中任一项所述的装置,其中,所述第一服务器至少包括边缘计算服务器。The apparatus according to any one of claims 37 to 54, wherein the first server includes at least an edge computing server.
  56. 一种通信装置,所述装置包括:A communication device, the device includes:
    接收单元,用于接收第一核心网网元发送的第一信息,其中,所述第一信息携带至少一个第一服务器的地址信息,所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间通过第一会话传输数据。The receiving unit is configured to receive first information sent by a first core network element, where the first information carries address information of at least one first server, and the address information of the at least one first server is used for the terminal Data is transmitted between the device and the at least one first server through a first session.
  57. 根据权利要求56所述的装置,其中,所述第一信息携带在所述第一核心网网元发送的下行NAS消息中。The apparatus according to claim 56, wherein the first information is carried in a downlink NAS message sent by the network element of the first core network.
  58. 根据权利要求57所述的装置,其中,所述第一信息承载在第一容器中,所述第一容器由PCF发送给AMF,所述AMF通过下行NAS消息将所述第一容器发送给所述终端设备。The apparatus according to claim 57, wherein the first information is carried in a first container, and the first container is sent to the AMF by the PCF, and the AMF sends the first container to the all through a downlink NAS message.述terminal equipment.
  59. 根据权利要求56所述的装置,其中,所述第一信息携带在第一响应消息中,所述第一响应消息是所述第一核心网网元接收所述终端设备发送的第一请求消息后的响应消息,所述第一请求消息用于请求建立或修改第一会话。The apparatus according to claim 56, wherein the first information is carried in a first response message, and the first response message is a first request message sent by the terminal device received by the first core network element After the response message, the first request message is used to request the establishment or modification of the first session.
  60. 根据权利要求59所述的装置,其中,所述第一请求消息携带第一会话属性参数,所述第一会话属性参数用于以下至少之一:The apparatus according to claim 59, wherein the first request message carries a first session attribute parameter, and the first session attribute parameter is used for at least one of the following:
    所述第一核心网网元确定业务类型;The network element of the first core network determines the service type;
    所述第一核心网网元确定是否从第二服务器获取所述至少一个第一服务器的地址信息;Determining, by the first core network element, whether to obtain the address information of the at least one first server from a second server;
    所述第一核心网网元确定第二服务器的第一路由,并根据所述第一路由从所述第二服务器获取所述至少一个第一服务器的地址信息。The first core network element determines the first route of the second server, and obtains the address information of the at least one first server from the second server according to the first route.
  61. 根据权利要求60所述的装置,其中,所述第一会话属性参数包括以下至少之一:S-NSSAI、DNN。The apparatus according to claim 60, wherein the first session attribute parameter comprises at least one of the following: S-NSSAI, DNN.
  62. 根据权利要求59至61中任一项所述的装置,其中,所述第一请求消息携带第一指示信息;The device according to any one of claims 59 to 61, wherein the first request message carries first indication information;
    所述第一指示信息用于指示是否请求获取第一服务器的地址信息。The first indication information is used to indicate whether to request to obtain the address information of the first server.
  63. 根据权利要求62所述的装置,其中,所述第一指示信息承载在第一容器中,所述第一容器携带在所述第一请求消息中。The apparatus according to claim 62, wherein the first indication information is carried in a first container, and the first container is carried in the first request message.
  64. 根据权利要求59至63中任一项所述的装置,其中,所述第一请求消息携带第一路由标识;The device according to any one of claims 59 to 63, wherein the first request message carries a first routing identifier;
    所述第一路由标识用于所述第一核心网网元寻址第二服务器,并从所述第二服务器获取所述至少一个第一服务器的地址信息。The first route identifier is used by the first core network element to address a second server and obtain address information of the at least one first server from the second server.
  65. 根据权利要求59至64中任一项所述的装置,其中,所述第一请求消息携带至少一个第一业务标识;The apparatus according to any one of claims 59 to 64, wherein the first request message carries at least one first service identifier;
    所述至少一个第一业务标识用于所述第一核心网网元确定至少一个业务,并从第二服务器获取所述至少一个业务对应的至少一个第一服务器的地址信息。The at least one first service identifier is used by the first core network element to determine at least one service, and obtain address information of at least one first server corresponding to the at least one service from a second server.
  66. 根据权利要求65所述的装置,其中,所述至少一个第一业务标识承载在第一容器中;所述第一容器携带在所述第一请求消息中;The apparatus according to claim 65, wherein the at least one first service identifier is carried in a first container; the first container is carried in the first request message;
    所述第一响应消息携带第二容器,所述第二容器承载与所述至少一个第一业务标识对应的至少一个第一服务器的地址信息。The first response message carries a second container, and the second container carries address information of at least one first server corresponding to the at least one first service identifier.
  67. 根据权利要求65或66所述的装置,其中,所述至少一个业务的数据流绑定在所述第一会话上传输;The device according to claim 65 or 66, wherein the data stream of the at least one service is bound and transmitted on the first session;
    所述至少一个第一服务器的地址信息用于所述终端设备与所述至少一个第一服务器之间传输所述第一会话对应的数据,包括:The use of the address information of the at least one first server to transmit data corresponding to the first session between the terminal device and the at least one first server includes:
    所述至少一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的所述至少一个业务的数据流传输给所述至少一个第一服务器,和/或从所述至少一个第一服务器接收绑定在所述第一会话上的所述至少一个业务的数据流。The address information of the at least one first server is used by the terminal device to transmit the data stream of the at least one service bound to the first session to the at least one first server, and/or from all The at least one first server receives the data stream of the at least one service bound to the first session.
  68. 根据权利要求65或66所述的装置,其中,所述第一响应消息携带一个第一服务器的地址信息,所述一个第一服务器的地址信息用于所述终端设备将绑定在所述第一会话上的部分或全部数据流传输给所述一个第一服务器,和/或从所述一个第一服务器接收绑定在所述第一会话上的部分或全部数据流。The apparatus according to claim 65 or 66, wherein the first response message carries address information of a first server, and the address information of the first server is used by the terminal device to bind to the first server. Part or all of the data stream on a session is transmitted to the one first server, and/or part or all of the data stream bound on the first session is received from the one first server.
  69. 根据权利要求59至68中任一项所述的装置,其中,The device according to any one of claims 59 to 68, wherein:
    所述接收单元,还用于接收所述第一核心网网元发送的第一规则,所述第一规则用于所述终端设备确定所述第一请求消息中携带的内容;其中,所述第一规则包括以下至少之一:The receiving unit is further configured to receive a first rule sent by the first core network element, where the first rule is used by the terminal device to determine the content carried in the first request message; wherein, the The first rule includes at least one of the following:
    至少一个业务标识对应的第一指示信息,所述第一指示信息用于指示是否请求获取第一服务器的地址信息;First indication information corresponding to at least one service identifier, where the first indication information is used to indicate whether to request to obtain address information of the first server;
    至少一个业务标识对应的第一会话属性参数,所述第一会话属性参数用于描述所述第一会话。A first session attribute parameter corresponding to at least one service identifier, where the first session attribute parameter is used to describe the first session.
  70. 根据权利要求69所述的装置,其中,所述第一规则为URSP规则;The device of claim 69, wherein the first rule is a URSP rule;
    所述业务标识通过所述URSP规则中的业务描述符来表示;The service identifier is represented by a service descriptor in the URSP rule;
    所述第一指示信息携带在所述URSP规则下的RSD中;The first indication information is carried in the RSD under the URSP rule;
    所述第一会话属性参数携带在所述URSP规则下的RSD中。The first session attribute parameter is carried in the RSD under the URSP rule.
  71. 根据权利要求69或70所述的装置,其中,所述第一规则还包括生效条件,所述生效条件包括以下至少之一:生效时间、生效时长、生效区域。The device according to claim 69 or 70, wherein the first rule further includes an effective condition, and the effective condition includes at least one of the following: effective time, effective duration, and effective area.
  72. 根据权利要求56至71中任一项所述的装置,其中,所述第一服务器至少包括边缘计算服务器。The device according to any one of claims 56 to 71, wherein the first server includes at least an edge computing server.
  73. 一种网络设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至19中任一项所述的方法。A network device, comprising: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute any one of claims 1 to 19 Methods.
  74. 一种终端设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求20至36中任一项所述的方法。A terminal device, comprising: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute any one of claims 20 to 36 Methods.
  75. 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至19中任一项所述的方法。A chip comprising: a processor, configured to call and run a computer program from a memory, so that a device installed with the chip executes the method according to any one of claims 1 to 19.
  76. 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求20至36中任一项所述的方法。A chip comprising: a processor, configured to call and run a computer program from a memory, so that a device installed with the chip executes the method according to any one of claims 20 to 36.
  77. 一种计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至19中任一项所述的方法。A computer-readable storage medium for storing a computer program that enables a computer to execute the method according to any one of claims 1 to 19.
  78. 一种计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求20至36中任一项所述的方法。A computer-readable storage medium for storing a computer program that enables a computer to execute the method according to any one of claims 20 to 36.
  79. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至19中任一项所述的方法。A computer program product comprising computer program instructions that cause a computer to execute the method according to any one of claims 1 to 19.
  80. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求20至36中任一项所述的方法。A computer program product comprising computer program instructions that cause a computer to execute the method according to any one of claims 20 to 36.
  81. 一种计算机程序,所述计算机程序使得计算机执行如权利要求1至19中任一项所述的方法。A computer program that causes a computer to execute the method according to any one of claims 1 to 19.
  82. 一种计算机程序,所述计算机程序使得计算机执行如权利要求20至36中任一项所述的方法。A computer program that causes a computer to execute the method according to any one of claims 20 to 36.
PCT/CN2019/104806 2019-09-06 2019-09-06 Communication method and apparatus, network device and terminal device WO2021042398A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980099688.4A CN114287142B (en) 2019-09-06 2019-09-06 Communication method and device, network equipment and terminal equipment
PCT/CN2019/104806 WO2021042398A1 (en) 2019-09-06 2019-09-06 Communication method and apparatus, network device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/104806 WO2021042398A1 (en) 2019-09-06 2019-09-06 Communication method and apparatus, network device and terminal device

Publications (1)

Publication Number Publication Date
WO2021042398A1 true WO2021042398A1 (en) 2021-03-11

Family

ID=74852278

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104806 WO2021042398A1 (en) 2019-09-06 2019-09-06 Communication method and apparatus, network device and terminal device

Country Status (2)

Country Link
CN (1) CN114287142B (en)
WO (1) WO2021042398A1 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572835A (en) * 2021-07-21 2021-10-29 腾讯科技(深圳)有限公司 Data processing method, network element equipment and readable storage medium
CN113905019A (en) * 2021-09-29 2022-01-07 天翼物联科技有限公司 Data transmission method, device, equipment and medium based on terminal address management
CN113904871A (en) * 2021-11-12 2022-01-07 中国电信股份有限公司 Network slice access method, PCF entity, terminal and communication system
CN114363117A (en) * 2021-12-13 2022-04-15 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Wireless subnetwork heterogeneous interconnection method and system
CN114727154A (en) * 2022-03-10 2022-07-08 阿里云计算有限公司 Cloud application service data processing method and system, storage medium and processor
CN115242442A (en) * 2022-06-21 2022-10-25 北京市商汤科技开发有限公司 Information identification method and device, computer equipment and storage medium
CN115277632A (en) * 2021-04-30 2022-11-01 维沃移动通信有限公司 Query and information processing method and device and communication equipment
WO2022237631A1 (en) * 2021-05-13 2022-11-17 华为技术有限公司 Method and apparatus for transmitting information
WO2023134295A1 (en) * 2022-01-11 2023-07-20 腾讯科技(深圳)有限公司 Data transmission methods and related devices, computer readable storage medium and computer program product
WO2023222646A1 (en) * 2022-05-16 2023-11-23 Nokia Technologies Oy Method, apparatus and computer program
WO2024012368A1 (en) * 2022-07-14 2024-01-18 维沃移动通信有限公司 Communication processing method and apparatus, communication device and readable storage medium
WO2024088198A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Information transmission method and apparatus, and device
WO2024120282A1 (en) * 2022-12-07 2024-06-13 维沃移动通信有限公司 Information sending method, information receiving method, apparatus, terminal and network side device
WO2024120283A1 (en) * 2022-12-07 2024-06-13 维沃移动通信有限公司 Information transmission method, information transmission apparatus and communication device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900824A (en) * 2022-04-27 2022-08-12 中国移动通信有限公司研究院 Redirection method, terminal configuration data acquisition method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170339101A1 (en) * 2016-05-18 2017-11-23 Fujitsu Limited Communication method and communication apparatus
CN109417571A (en) * 2016-05-10 2019-03-01 奥兰治 Method for accessing the content of trustship on the regioselective server according to user terminal
CN109429183A (en) * 2017-08-25 2019-03-05 中兴通讯股份有限公司 A kind of selection, method of adjustment, device and the equipment of user's surface model
CN109729181A (en) * 2017-10-27 2019-05-07 华为技术有限公司 A kind of method for accessing domain name and equipment
CN109981316A (en) * 2017-12-27 2019-07-05 华为技术有限公司 The switching method and session management network element, terminal device of application server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238243B (en) * 2010-05-05 2014-07-09 华为终端有限公司 Data transmission method and system, address access method, terminal device and server
WO2019127038A1 (en) * 2017-12-26 2019-07-04 Oppo广东移动通信有限公司 Method for data transmission, terminal device and network device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109417571A (en) * 2016-05-10 2019-03-01 奥兰治 Method for accessing the content of trustship on the regioselective server according to user terminal
US20170339101A1 (en) * 2016-05-18 2017-11-23 Fujitsu Limited Communication method and communication apparatus
CN109429183A (en) * 2017-08-25 2019-03-05 中兴通讯股份有限公司 A kind of selection, method of adjustment, device and the equipment of user's surface model
CN109729181A (en) * 2017-10-27 2019-05-07 华为技术有限公司 A kind of method for accessing domain name and equipment
CN109981316A (en) * 2017-12-27 2019-07-05 华为技术有限公司 The switching method and session management network element, terminal device of application server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SAMSUNG: "Discussion on Edge Application Discovery", 3GPP DRAFT; S6-191354 DISCUSSION ON EDGE APPLICATION DISCOVERY -R1, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG6, no. Roma, Italia; 20190708 - 20190712, 5 July 2019 (2019-07-05), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051757916 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277632B (en) * 2021-04-30 2024-03-29 维沃移动通信有限公司 Query and information processing method and device and communication equipment
CN115277632A (en) * 2021-04-30 2022-11-01 维沃移动通信有限公司 Query and information processing method and device and communication equipment
WO2022237631A1 (en) * 2021-05-13 2022-11-17 华为技术有限公司 Method and apparatus for transmitting information
CN113572835B (en) * 2021-07-21 2024-02-27 腾讯科技(深圳)有限公司 Data processing method, network element equipment and readable storage medium
CN113572835A (en) * 2021-07-21 2021-10-29 腾讯科技(深圳)有限公司 Data processing method, network element equipment and readable storage medium
US12101710B2 (en) 2021-07-21 2024-09-24 Tencent Technology (Shenzhen) Company Limited Data processing method and apparatus, network element device, storage medium, and program product
CN113905019A (en) * 2021-09-29 2022-01-07 天翼物联科技有限公司 Data transmission method, device, equipment and medium based on terminal address management
CN113905019B (en) * 2021-09-29 2023-12-01 天翼物联科技有限公司 Data transmission method, device, equipment and medium based on terminal address management
CN113904871B (en) * 2021-11-12 2023-11-21 中国电信股份有限公司 Access method of network slice, PCF entity, terminal and communication system
CN113904871A (en) * 2021-11-12 2022-01-07 中国电信股份有限公司 Network slice access method, PCF entity, terminal and communication system
CN114363117B (en) * 2021-12-13 2023-11-28 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Heterogeneous interconnection method and system for wireless subnetworks
CN114363117A (en) * 2021-12-13 2022-04-15 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Wireless subnetwork heterogeneous interconnection method and system
WO2023134295A1 (en) * 2022-01-11 2023-07-20 腾讯科技(深圳)有限公司 Data transmission methods and related devices, computer readable storage medium and computer program product
CN114727154A (en) * 2022-03-10 2022-07-08 阿里云计算有限公司 Cloud application service data processing method and system, storage medium and processor
WO2023222646A1 (en) * 2022-05-16 2023-11-23 Nokia Technologies Oy Method, apparatus and computer program
CN115242442A (en) * 2022-06-21 2022-10-25 北京市商汤科技开发有限公司 Information identification method and device, computer equipment and storage medium
WO2024012368A1 (en) * 2022-07-14 2024-01-18 维沃移动通信有限公司 Communication processing method and apparatus, communication device and readable storage medium
WO2024088198A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Information transmission method and apparatus, and device
WO2024120282A1 (en) * 2022-12-07 2024-06-13 维沃移动通信有限公司 Information sending method, information receiving method, apparatus, terminal and network side device
WO2024120283A1 (en) * 2022-12-07 2024-06-13 维沃移动通信有限公司 Information transmission method, information transmission apparatus and communication device

Also Published As

Publication number Publication date
CN114287142B (en) 2023-08-29
CN114287142A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
WO2021042398A1 (en) Communication method and apparatus, network device and terminal device
US20220124147A1 (en) Application relocation method and apparatus
WO2021217412A1 (en) Method and apparatus for determining terminal policy behavior, and network device
WO2023280121A1 (en) Method and apparatus for obtaining edge service
US20210385283A1 (en) Multimedia Priority Service
WO2020107751A1 (en) Data transmission method and device, and terminal
US11895083B2 (en) Address obtaining method and an address obtaining apparatus
US20200228618A1 (en) Content delivery method, device, and system
WO2021030989A1 (en) Method and apparatus for path selection, and terminal
WO2022170518A1 (en) Method and apparatus for determining address of terminal device, and network device
WO2021056576A1 (en) Method and device for service transmission, and communication device
WO2019184051A1 (en) Method and terminal device for data transmission
WO2020206677A1 (en) Policy configuration method and apparatus, network device, and terminal
US20230025344A1 (en) Application Discovery Method, Apparatus, and System, and Computer Storage Medium
WO2020051745A1 (en) Data transmission method, device and communication device
US20240275887A1 (en) Congestion control method and apparatus, device, medium, chip, product, and program
WO2021056573A1 (en) Method for establishing session and terminal devices
WO2021062727A1 (en) Redirecting method and apparatus, terminal device and network device
WO2011032417A1 (en) Method and system for initiating forwarding of communicaiton, information and data message and for routing configuration
WO2022099484A1 (en) Identifier sending method and communication apparatus
CN115915196A (en) Link state detection method, communication device and communication system
WO2023174150A1 (en) Access control method and apparatus
WO2021134754A1 (en) Method and apparatus for establishing terminal connection
WO2020042038A1 (en) Method and device for communication
CN109076381B (en) Service data stream sending method and device

Legal Events

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

Ref document number: 19944225

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19944225

Country of ref document: EP

Kind code of ref document: A1