CN111641989A - Protocol data unit session establishing method and related device - Google Patents

Protocol data unit session establishing method and related device Download PDF

Info

Publication number
CN111641989A
CN111641989A CN202010487755.4A CN202010487755A CN111641989A CN 111641989 A CN111641989 A CN 111641989A CN 202010487755 A CN202010487755 A CN 202010487755A CN 111641989 A CN111641989 A CN 111641989A
Authority
CN
China
Prior art keywords
app
ursp
target
terminal
application
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202010487755.4A
Other languages
Chinese (zh)
Other versions
CN111641989B (en
Inventor
苗苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Tianjin Co Ltd
Original Assignee
Spreadtrum Communications Tianjin Co Ltd
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 Spreadtrum Communications Tianjin Co Ltd filed Critical Spreadtrum Communications Tianjin Co Ltd
Priority to CN202010487755.4A priority Critical patent/CN111641989B/en
Publication of CN111641989A publication Critical patent/CN111641989A/en
Application granted granted Critical
Publication of CN111641989B publication Critical patent/CN111641989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a protocol data unit session establishing method and a related device, wherein the method comprises the following steps: the method comprises the steps that a terminal firstly creates a first application scene where a target application program APP is located currently, then, an APP identity Identification (ID) set is inquired according to the first application scene to obtain a first APP ID, corresponding to the first application scene, of the target APP, then, a user equipment routing selection strategy (URSP) selection set is inquired according to the first APP ID to obtain a first URSP, corresponding to the first APP ID, of the target APP, the URSP selection set comprises the corresponding relation between the URSP and the APP ID, and finally, a first Protocol Data Unit (PDU) Session of the target APP is determined according to the first URSP. Therefore, the PDU Session can be created for the application program according to the application scene.

Description

Protocol data unit session establishing method and related device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for establishing a protocol data unit session and a related apparatus.
Background
In the 3rd Generation Partnership Project (3 GPP) protocol, a UE Route Selection Policy (URSP) evaluates that a path Descriptor (TD) parameter associated with an application needs to be matched with a Traffic Descriptor parameter in a URSP rule, and then creates a corresponding PDU Session for the application according to a routing Descriptor (RSD) in the URSP rule that the matching is successful. How to select PDU Session for an application is not explicitly agreed at present.
Disclosure of Invention
The embodiment of the application provides a protocol data unit Session establishment method and a related device, so as to establish PDU Session for an application program according to an application scene.
In a first aspect, an embodiment of the present application provides a method for establishing a protocol data unit session, including:
the method comprises the steps that a terminal creates a first application scene where a target application program APP is located currently;
the terminal queries an application program APP identity Identification (ID) set according to the first application scene to obtain a first APP ID of the target APP corresponding to the first application scene, wherein the APP ID set comprises a corresponding relation between the application scene and the APP ID;
the terminal queries a URSP selection set of a user equipment routing strategy according to the first APP ID to obtain a first URSP of the target APP, wherein the first URSP corresponds to the first APP ID, and the URSP selection set comprises a corresponding relation between the URSP and the APP ID;
and the terminal determines a first Protocol Data Unit (PDU) Session of the target APP according to the first URSP.
In a second aspect, an embodiment of the present application provides a device for establishing a protocol data unit session, including:
the application scene determining unit is used for creating a first application scene where the target application program APP is currently located;
an APP ID determining unit, configured to query an APP identity ID set of an application program according to the first application scenario to obtain a first APP ID of the target APP corresponding to the first application scenario, where the APP ID set includes a correspondence between the application scenario and the APP ID;
a URSP determining unit, configured to query a URSP selection set of a user equipment routing policy according to the first APP ID, to obtain a first URSP of the target APP, where the first URSP corresponds to the first APP ID, and the URSP selection set includes a correspondence between URSPs and APP IDs;
a PDU Session determining unit, configured to determine a first protocol data unit PDU Session of the target APP according to the first URSP.
In a third aspect, an embodiment of the present application provides a terminal, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the steps in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, an embodiment of the present application provides a chip, including: and the processor is used for calling and running the computer program from the memory so that the device provided with the chip executes part or all of the steps described in any method of the first aspect of the embodiment of the application.
In a fifth aspect, this application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps as described in any one of the methods of the first aspect of this application.
In a sixth aspect, the present application provides a computer program, wherein the computer program is operable to cause a computer to perform some or all of the steps as described in any of the methods of the first aspect of the embodiments of the present application. The computer program may be a software installation package.
It can be seen that, in this embodiment of the application, a terminal first creates a first application scenario in which a target APP is currently located, then queries an APP identity ID set of the application according to the first application scenario to obtain a first APP ID of the target APP corresponding to the first application scenario, where the APP ID set includes a correspondence between the application scenario and the APP ID, then queries a routing policy URSP selection set of a user equipment according to the first APP ID to obtain a first URSP of the target APP corresponding to the first APP ID, where the URSP selection set includes a correspondence between the URSP and the APP ID, and finally determines a first protocol data unit PDU Session of the target APP according to the first URSP. By analyzing the application scene of the application program, the APP ID set and the URSP selection set are maintained, and the terminal can accurately determine the URSP for the APP according to the application scene, so that the corresponding PDU Session is matched for the application program in the current application scene.
Drawings
Reference will now be made in brief to the drawings that are needed in describing embodiments or prior art.
Fig. 1A is a system architecture diagram of an example communication system provided by an embodiment of the present application;
fig. 1B is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a protocol data unit session establishment method according to an embodiment of the present application;
fig. 3 is a block diagram illustrating functional units of a pdu session setup device according to an embodiment of the present application;
fig. 4 is a block diagram illustrating functional units of another apparatus for establishing a protocol data unit session according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
The definitions or explanations of the concepts and terms referred to in this application are as follows.
The APP refers to various applications installed on the device, such as a shopping application, a communication application, and the like.
Protocol Data Unit (PDU) refers to a Unit of Data transferred between peer layers. The PDU of the physical layer is data bits (bit), the PDU of the data link layer is data frames (frame), the PDU of the network layer is data packets (packet), the PDU of the transport layer is data segments (segment), and the other higher layer PDUs are data (data).
The PDU Session is a granularity unit of a network slice in the fifth generation 5G mobile communication system.
The network slice is a networking mode according to needs, an operator can separate a plurality of virtual end-to-end networks on a unified infrastructure, and each network slice is logically isolated from a wireless access network bearing network to a core network so as to adapt to various types of applications. In one network slice, at least three parts of a wireless network sub-slice, a bearer network sub-slice and a core network sub-slice can be divided.
The UE Route Selection Policy (URSP) is one of Policy information provided by the 5G core network 5GC from a Policy Control Function entity (PCF) to a User Equipment (UE). The UE uses this policy to determine how to route the data outbound path. The UE may determine, via the URSP rule, whether the detected application may be associated with an already established PDU session or whether a new PDU session may be established. An important input datum in the URSP rule is a parameter in a Traffic Descriptor (TD), which may be carried by an application when initiating a network request.
The technical solution of the embodiment of the present application may be applied to the example communication system 100 shown in fig. 1A, where the example communication system 100 includes a terminal 110 and a network device 120, and the terminal 110 is communicatively connected to the network device 120.
The example communication system 100 may be, for example: a Global System for Mobile communications (GSM) System, a Code Division Multiple Access (CDMA) System, a Wideband Code Division Multiple Access (WCDMA) System, a General Packet Radio Service (GPRS), a Long Term Evolution (Long Term Evolution, LTE) System, an Advanced Long Term Evolution (LTE-a) System, a New Radio (NR) System, an Evolution System of an NR System, an LTE (LTE-based Access to unlicensed spectrum, LTE-U) System on unlicensed spectrum, an NR (NR-based Access to unlicensed spectrum, an NR-U) System on unlicensed spectrum, a Universal Mobile Telecommunications System (UMTS), or other next generation communications systems.
Generally, the conventional Communication system supports a limited number of connections and is easy to implement, however, with the development of Communication technology, the mobile Communication system will support not only conventional Communication but also, for example, Device-to-Device (D2D) Communication, Machine-to-Machine (M2M) Communication, Machine Type Communication (MTC), and Vehicle-to-Vehicle (V2V) Communication, and the embodiments of the present application can also be applied to these Communication systems. Optionally, the communication system in the embodiment of the present application may be applied to a Carrier Aggregation (CA) scenario, may also be applied to a Dual Connectivity (DC) scenario, and may also be applied to an independent (SA) networking scenario.
The frequency spectrum of the application is not limited in the embodiment of the present application. For example, the embodiments of the present application may be applied to a licensed spectrum and may also be applied to an unlicensed spectrum.
A terminal 110 in the embodiments of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user device. The terminal may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a relay device, a vehicle-mounted device, a wearable device, a terminal in a future 5G network or a terminal in a future evolved Public Land Mobile Network (PLMN), and the like, which are not limited in this embodiment. As shown in fig. 1B, the terminal 110 in the terminal according to the embodiment of the present disclosure may include one or more of the following components: the device comprises a processor 110, a memory 120 and an input-output device 130, wherein the processor 110 is respectively connected with the memory 120 and the input-output device 130 in a communication mode.
The network device 120 in this embodiment may be a device for communicating with a terminal, where the network device may be an evolved NodeB (eNB or eNodeB) in an LTE system, and may also be a wireless controller in a Cloud Radio Access Network (CRAN) scenario, or the network device may be a relay device, an access point, a vehicle-mounted device, a wearable device, and a network device in a future 5G network or a network device in a future evolved PLMN network, one or a group (including multiple antenna panels) of base stations in a 5G system, or may also be a network node forming a gNB or a transmission point, such as a baseband unit (BBU) or a Distributed Unit (DU), and the present embodiment is not limited.
In some deployments, the gNB may include a Centralized Unit (CU) and a DU. The gNB may also include an Active Antenna Unit (AAU). The CU implements part of the function of the gNB and the DU implements part of the function of the gNB. For example, the CU is responsible for processing non-real-time protocols and services, and implementing functions of a Radio Resource Control (RRC) layer and a Packet Data Convergence Protocol (PDCP) layer. The DU is responsible for processing a physical layer protocol and a real-time service, and implements functions of a Radio Link Control (RLC) layer, a Medium Access Control (MAC) layer, and a Physical (PHY) layer. The AAU implements part of the physical layer processing functions, radio frequency processing and active antenna related functions. Since the information of the RRC layer eventually becomes or is converted from the information of the PHY layer, the higher layer signaling, such as the RRC layer signaling, may also be considered to be transmitted by the DU or by the DU + AAU under this architecture. It is to be understood that the network device may be a device comprising one or more of a CU node, a DU node, an AAU node. In addition, the CU may be divided into network devices in an access network (RAN), or may be divided into network devices in a Core Network (CN), which is not limited in this application.
In the embodiment of the present application, the terminal 110 or the network device 120 includes a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer includes hardware such as a Central Processing Unit (CPU), a Memory Management Unit (MMU), and a memory (also referred to as a main memory). The operating system may be any one or more computer operating systems that implement business processing through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer comprises applications such as a browser, an address list, word processing software, instant messaging software and the like. Furthermore, the embodiment of the present application does not particularly limit the specific structure of the execution main body of the method provided by the embodiment of the present application, as long as the communication can be performed according to the method provided by the embodiment of the present application by running the program recorded with the code of the method provided by the embodiment of the present application, for example, the execution main body of the method provided by the embodiment of the present application may be a terminal, or a functional module in the terminal that can call the program and execute the program.
Currently, in the 3rd Generation Partnership Project (3 GPP) protocol, UE Route Selection Policy (URSP) evaluation requires that a path Descriptor (TD) parameter associated with an application be matched with a Traffic Descriptor parameter in a URSP rule, and then a corresponding routing path is created for the application according to a routing Descriptor (RSD) in the URSP rule that is successfully matched. How to select a routing path for an application is not explicitly agreed at present.
In view of the foregoing problems, an embodiment of the present application provides a method for establishing a protocol data unit session, which is described in detail below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for establishing a pdu session according to an embodiment of the present application, where the method includes s201 to s 204, where:
s201, the terminal creates a first application scene where the target application program APP is currently located.
The target APP may be a system application or a third-party application installed in advance in the terminal, the target APP may be a communication APP, such as WeChat, QQ, strange, spy, and the like, the target APP may be a video APP, such as tremble, fast hand, watermelon video, and the like, and the target APP may also be a game APP, such as Royal, King, Anken: large fleets & bugs, & ltpeace and elite ], etc., the target APP may also be other types of APPs, not limited herein.
In one possible example, the terminal creates a first application scenario in which the target application APP is currently located, including: the terminal acquires state information of the target APP, wherein the state information is used for reflecting the current state of the target APP; and the terminal creates the current application scene of the target APP according to the state information.
In this possible example, the status information includes at least one of a use place, a use time, and a type.
Optionally, the state information includes the use location, and the terminal creates an application scenario where the target APP is currently located according to the state information, including: and the terminal creates the current application scene of the target APP according to the using place.
The application scene where the terminal creates the application program according to the use place may be the application scene where the terminal creates the application program according to the kind of the use place. For example, if the use location is at home, the current application scenario of the target APP is an application scenario at home, if the use location is at office, the current application scenario of the target APP is an application scenario at office, and if the use location is at restaurant, the current application scenario of the target APP is an application scenario at restaurant, and other types of use locations may also be included, which is not specifically limited.
The application scene where the application program is currently located can be created by the terminal according to the use place, or the corresponding application scene can be created by the terminal according to the specific name of the use place. For example, if the usage location is at a, the current application scene of the target APP is at a, and if the usage location is at B, the current application scene of the target APP is at B, which is not specifically limited.
Optionally, the state information includes the use location and the type, and the terminal creates an application scenario where the target APP is currently located according to the state information, including: and the terminal creates an application scene where the target APP is currently located according to the using place and the type.
The creating, by the terminal, the current application scenario of the target APP according to the usage location and the type may be that the terminal creates the current application scenario of the target APP according to the type of the usage location and the type of the target APP. For example, if the use location is at home and the target APP is a game APP, the current application scene of the target APP is a game playing application scene at home, if the use location is at office and the target APP is a shopping APP, the current application scene of the target APP is a business shopping application scene at business office, if the use location is at restaurant and the target APP is a communication APP, the current application scene of the target APP is a social software application scene at restaurant, and the like, without specific limitation.
The creating, by the terminal, the application scene where the target APP is currently located according to the use location and the type may be that the terminal creates the application scene where the target APP is currently located according to the specific name of the use location and the type of the target APP. For example, if the usage location is a and the target APP is a shopping APP, the current application scenario of the target APP is an online shopping application scenario at a, and if the usage location is a B and the target APP is a communication APP, the current application scenario of the target APP is a social software application scenario played at B, and the like, which are not specifically limited.
Optionally, the state information includes the usage time, and the terminal creates an application scenario where the target APP is currently located according to the state information, including: and the terminal creates the current application scene of the target APP according to the use time.
For example, if the use time is weekday afternoon, the application scene where the target APP is currently located is a weekday afternoon a-period application scene, where the a-period includes the weekday afternoon, and if the use time is monday afternoon five-hour, the application scene where the target APP is currently located is a monday afternoon B-period application scene, and so on, it should be noted that the time period may be determined according to the use habit of the user, and then, different time periods in the time period are partitioned without specific limitation.
Optionally, the state information includes the use location, the use time, and the type, and the terminal creates an application scenario where the target APP is currently located according to the state information, including: and the terminal creates an application scene where the target APP is currently located according to the using place, the using time and the type.
The terminal creating the current application scenario of the target APP according to the usage location, the usage time, and the type includes the terminal creating the current application scenario of the target APP according to the type or specific name of the usage location, the usage time, and the type of the target APP, and is not particularly limited. For example, if the current location of the terminal is a company, the time is 6 pm on a weekday, and the type of the target APP is a game APP, the first application scenario may be a game application scenario played at the company at 6 pm on the weekday.
It should be noted that the application scenario of the target APP may also be created in other ways, which is not limited in particular.
And s202, the terminal queries an application program APP identity Identification (ID) set according to the first application scene to obtain a first APP ID of the target APP corresponding to the first application scene, wherein the APP ID set comprises a corresponding relation between the application scene and an APPID.
The APP ID specifically refers to identification information corresponding to the APP and the application scenario, and is used to indicate the current application scenario of the APP.
The following describes this section in detail by taking the first way of creating an application scene for an application program as an example:
for example, when the APP is at home, the APP ID allocated to the APP is APP1, when the APP is at office, the APP ID allocated to the APP is APP2, and when the APP is at restaurant, the APP ID allocated to the APP is APP 3.
The specific representation form of the APP ID set may be various, and is not limited herein.
For example, the APP ID set may be an APP ID configuration file, and the correspondence between APP n and the corresponding application scenario may be:
{ at home, APP1}, { at office, APP2}, and { APP3, at restaurant }.
As another example, the APP ID set may be as shown in table 1:
TABLE 1
Application scenarios APP ID
At home APP1
In an office APP2
In a restaurant APP3
It should be noted that the APP ID set is only an example, and the correspondence between the application scenario and the APP ID is not specifically limited.
And s 203, the terminal queries a URSP selection set of a user equipment routing strategy according to the first APP ID to obtain a first URSP of the target APP corresponding to the first APP ID, wherein the URSP selection set comprises a corresponding relation between the URSP and an APPID.
In a specific implementation, it is preset that the URSP1 is a URSP signed with a telecom operator, the URSP2 is a URSP signed with a unicom operator, and the URSP3 is a URSP signed with a mobile operator.
The correspondence between the URSP and the APP ID is obtained by the terminal through URSP selection statistics of APPs of different scenes in the local historical data, for example, if the APP ID of the APP is APP1, the frequency of the URSP selected by the APP is highest as URSP1, then APP1 corresponds to the URSP1, if the APP ID of the APP is APP2, the frequency of the URSP selected by the APP is highest as URSP2, then APP2 corresponds to the URSP2, if the APP ID of the APP is APP3, the frequency of the URSP selected by the APP is highest as URSP3, then APP3 corresponds to the URSP 3.
The specific representation form of the APP ID set may be various, and is not limited herein.
For example, the URSP selection set may be a URSP configuration file, and the correspondence between APP n and ursn may be expressed as:
{APP1,URSP1},{APP2,URSP2},{APP3,URSP3}。
as another example, the URSP selection set may be as shown in table 2:
TABLE 2
APP ID URSP
APP1 URSP1
APP2 URSP2
APP3 URSP3
It should be noted that the above URSP selection set is only an example, the correspondence between APP ID and URSP is not specifically limited, and the URSP may also include a URSP registered by the target APP and another operator.
And s 204, the terminal determines a first Protocol Data Unit (PDU) Session of the target APP according to the first URSP.
Wherein, the determining, by the terminal, a first protocol data unit PDU Session of the target APP according to the first URSP includes: the terminal determines whether a PDUSESION matched with the first APP ID exists or not according to the URSP; if so, determining the matched PDU Session as the first PDU Session; if not, establishing the first PDU Session for the currently processed APP according to the first URSP.
In the concrete implementation, if a PDU Session created by the terminal for the application program exists in the PDU sessions that match the application scene where the application program is currently located, the PDU Session does not need to be created, and the matched PDU Session is directly used as a target object, and if the PDU Session created by the terminal for the application program does not exist in the PDU Session that matches the application scene where the application program is currently located, the PDU Session needs to be created, and the created PDU Session is used as the target object.
It can be seen that, in this embodiment of the application, a terminal first creates a first application scenario in which a target APP is currently located, then queries an APP identity ID set of the application according to the first application scenario to obtain a first APP ID of the target APP corresponding to the first application scenario, where the APP ID set includes a correspondence between the application scenario and the APP ID, then queries a routing policy URSP selection set of a user equipment according to the first APP ID to obtain a first URSP of the target APP corresponding to the first APP ID, where the URSP selection set includes a correspondence between the URSP and the APP ID, and finally determines a first protocol data unit PDU Session of the target APP according to the first URSP. By analyzing the application scene of the application program, the APP ID set and the URSP selection set are maintained, and the terminal can accurately determine the URSP for the APP according to the application scene, so that the corresponding PDU Session is matched for the application program in the current application scene.
In one possible example, the method further comprises: after successfully determining a PDU Session for a currently processed APP, the terminal acquires an application scene established in the PDU Session determining process, an allocated APP ID and a matched URSP; the terminal determines the APP ID set according to the application scene established in the PDU Session determining process and the allocated APP ID; and the terminal determines the URSP selection set according to the APP ID distributed in the PDU Session determining process and the matched URSP.
The currently processed APP may be one of all APPs installed in the local device and scanned by the terminal.
The creating process of the application scenario established in the process of determining the PDU Session is consistent with the selection manner of s201 in fig. 2, please refer to the description of s201 in fig. 2, and details are not repeated here.
The implementation manner of determining the APP ID set by the terminal according to the application scenario established in the PDU Session determining process and the allocated APP ID may be: the terminal judges whether the APP ID set exists or not; if the APP ID set does not exist, establishing the APP ID set, and storing an application scene established in the PDU Session determining process and the distributed APP ID in the APP ID set in a corresponding form; and if the APP ID set exists, storing the application scene established in the PDU Session determining process and the allocated APPID in the APP ID set in a corresponding form.
The implementation manner of determining, by the terminal, the URSP selection set according to the APP ID allocated in the PDU Session determining process and the matched URSP may be: the terminal judges whether the URSP selection set exists or not; if the URSP selection set does not exist, establishing the URSP selection set, and storing the APP ID distributed in the PDU Session determining process and the matched URSP in the URSP selection set in a corresponding form; if the URSP selection set exists, determining whether the matching frequency of the APP ID and the URSP is the maximum frequency of all frequencies corresponding to all URSPs matched with the APP ID, if so, updating the URSP corresponding to the APP ID which is the same as the allocated APP ID in the URSP selection set to be the matched URSP, and if not, keeping the existing URSP selection set.
As can be seen, in this example, the terminal may perform URSP matching on multiple APPs installed in the home terminal device, create an application scenario, record APP ID, record URSP, and create a PDU Session for an APP that is successfully subjected to URSP matching, and create an application scenario set, APP ID set, and URSP selection set for all APPs that are successfully subjected to URSP matching, thereby determining a PDU Session for an application program according to the application scenario.
In one possible example, the method further comprises: and when the terminal unloads the target APP, disconnecting the PDU Session currently corresponding to the target APP, and deleting the corresponding relation between the application scene of the target APP and the APPID in the APP ID set and the corresponding relation between the APP ID of the target APP and the URSP in the URSP selection set.
In a specific implementation, the terminal may also reserve, in the APP ID set, a corresponding relationship between the application scene and the APP ID in the APPID set corresponding to the unloaded APP and a corresponding relationship between the APPID and the URSP of the target APP in the URSP selection set for a period of time, such as a day, a week, and the like, and the specific duration may be set by the user, or the terminal may perform intelligent setting based on data used by the user, which is not limited uniquely here.
As can be seen, in this example, for an offloaded APP, a terminal may disconnect a PDU Session of the APP, and update an APP ID set, a URSP selection set, and a possibly existing application scene set synchronously, so as to ensure consistency of information in the APP ID set, the URSP selection set, and the possibly existing application scene set.
In one possible example, the method further comprises: and the terminal routes the data stream of the target application program to the first PDU Session for transmission.
And the terminal routes the data stream of the target application program to the first PDU Session for transmission so as to realize the communication between the terminal and the network equipment.
The embodiment of the application provides a protocol data unit session establishing device, which can be a terminal. Specifically, the pdu session establishing apparatus is configured to perform the steps performed by the terminal in the above pdu session establishing method. The protocol data unit session establishing device provided by the embodiment of the application can comprise modules corresponding to corresponding steps.
In the embodiment of the present application, the protocol data unit session establishing apparatus may be divided into the functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 3 shows a schematic diagram of a possible structure of the pdu session setup device according to the above embodiment, in the case of dividing each functional module according to each function. As shown in fig. 3, the pdu session establishing device 30 includes an application scenario determining unit 301, an APP ID determining unit 302, a URSP determining unit 303 and a pdu usage determining unit 304,
an application scenario determining unit 301, configured to create a first application scenario in which a target application APP is currently located;
an APP ID determining unit 302, configured to query an APP identity ID set of an application program according to the first application scenario to obtain a first APP ID of the target APP corresponding to the first application scenario, where the APP ID set includes a correspondence between the application scenario and the APP ID;
a URSP determining unit 303, configured to query, according to the first APP ID, a URSP selection set of a user equipment routing policy, to obtain a first URSP of the target APP corresponding to the first APP ID, where the URSP selection set includes a correspondence between a URSP and an APP ID;
a PDU Session determining unit 304, configured to determine a first protocol data unit PDU Session of the target APP according to the first URSP.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. Of course, the protocol data unit session establishment apparatus provided in the embodiment of the present application includes, but is not limited to, the above modules, for example: the protocol data unit session establishing means may further comprise a storage unit 305. The storage unit 305 may be used to store program codes and data of the protocol data unit session establishing means.
In the case of using an integrated unit, a schematic structural diagram of a protocol data unit session establishment apparatus provided in an embodiment of the present application is shown in fig. 4. In fig. 4, the protocol data unit session establishing means 40 comprises: a processing module 400 and a communication module 401. The processing module 400 is used for controlling and managing the actions of the PDU Session setup device, e.g. the steps performed by the application scenario determining unit 301, the APP ID determining unit 302, the URSP determining unit 303 and the PDU Session determining unit 304, and/or other procedures for performing the techniques described herein. The communication module 401 is configured to support interaction between the pdu session setup device and other devices. As shown in fig. 4, the protocol data unit session establishing device may further include a storage module 402, where the storage module 402 is used to store the program code and data of the protocol data unit session establishing device, for example, store the contents stored in the storage unit 305.
The processing module 400 may be a Processor or a controller, and may be, for example, a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication module 401 may be a transceiver, an RF circuit or a communication interface, etc. The storage module 402 may be a memory.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. The pdu session establishing means 30 and the pdu session establishing means 40 may each perform the steps performed by the terminal in the pdu session establishing method shown in fig. 2.
The embodiment of the present application further provides a chip, where the chip includes a processor, configured to call and run a computer program from a memory, so that a device in which the chip is installed performs some or all of the steps described in the terminal in the above method embodiment.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the terminal in the above method embodiment.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to perform some or all of the steps described in the above method embodiment for a network-side device.
The present application further provides a computer program product, where the computer program product includes a computer program operable to make a computer perform some or all of the steps described in the terminal in the above method embodiments. The computer program product may be a software installation package.
The steps of a method or algorithm described in the embodiments of the present application may be implemented in hardware, or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in Random Access Memory (RAM), flash Memory, Read Only Memory (ROM), Erasable Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, a hard disk, a removable disk, a compact disc Read only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in an access network device, a target network device, or a core network device. Of course, the processor and the storage medium may reside as discrete components in an access network device, a target network device, or a core network device.
Those skilled in the art will appreciate that in one or more of the examples described above, the functionality described in the embodiments of the present application may be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a Digital Video Disk (DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the embodiments of the present application in further detail, and it should be understood that the above-mentioned embodiments are only specific embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the embodiments of the present application should be included in the scope of the embodiments of the present application.

Claims (14)

1. A method for protocol data unit session establishment, comprising:
the method comprises the steps that a terminal creates a first application scene where a target application program APP is located currently;
the terminal queries an application program APP identity Identification (ID) set according to the first application scene to obtain a first APP ID of the target APP corresponding to the first application scene, wherein the APP ID set comprises a corresponding relation between the application scene and the APP ID;
the terminal queries a URSP selection set of a user equipment routing strategy according to the first APP ID to obtain a first URSP of the target APP, wherein the first URSP corresponds to the first APP ID, and the URSP selection set comprises a corresponding relation between the URSP and the APP ID;
and the terminal determines a first Protocol Data Unit (PDU) Session of the target APP according to the first URSP.
2. The method according to claim 1, wherein the terminal creates a first application scenario in which the target application APP is currently located, and includes:
the terminal acquires state information of the target APP, wherein the state information is used for reflecting the current state of the target APP;
and the terminal creates the current application scene of the target APP according to the state information.
3. The method of claim 2, wherein the status information comprises at least one of a location of use, a time of use, and a type.
4. The method according to claim 3, wherein the state information includes the usage location, and the terminal creates an application scenario where the target APP is currently located according to the state information, including:
and the terminal creates the current application scene of the target APP according to the using place.
5. The method according to claim 3, wherein the state information includes the usage location and the type, and the terminal creates an application scenario where the target APP is currently located according to the state information, including:
and the terminal creates an application scene where the target APP is currently located according to the using place and the type.
6. The method according to claim 3, wherein the state information includes the usage location, the usage time, and the type, and the terminal creates an application scenario where the target APP is currently located according to the state information, including:
and the terminal creates an application scene where the target APP is currently located according to the using place, the using time and the type.
7. The method according to claim 4, wherein the terminal creating the current application scenario of the target APP according to the usage location includes the terminal creating the current application scenario of the target APP according to a type or a specific name of the usage location.
8. The method according to any one of claims 1-7, further comprising:
after successfully determining a PDU Session for a currently processed APP, the terminal acquires an application scene established in the PDU Session determining process, an allocated APP ID and a matched URSP;
the terminal determines the APP ID set according to the application scene established in the PDU Session determining process and the allocated APP ID;
and the terminal determines the URSP selection set according to the APP ID distributed in the PDU Session determining process and the matched URSP.
9. The method of any of claims 1-8, wherein the terminal determining a first protocol data unit, PDU, Session of the target APP from the first URSP comprises:
the terminal determines whether a PDU Session matched with the first APP ID exists or not according to the URSP;
if so, determining the matched PDU Session as the first PDU Session;
if not, establishing the first PDU Session for the currently processed APP according to the first URSP.
10. The method according to any one of claims 1-9, further comprising:
and when the terminal unloads the target APP, disconnecting the PDU Session currently corresponding to the target APP when the terminal unloads the target APP, and deleting the corresponding relation between the application scene and the APP ID of the target APP in the APP ID set and the corresponding relation between the APP ID and the URSP of the target APP in the URSP selection set.
11. The method according to any one of claims 1-10, further comprising: and the terminal routes the data stream of the target application program to the first PDU Session for transmission.
12. An apparatus for protocol data unit session establishment, comprising:
the application scene determining unit is used for creating a first application scene where the target application program APP is currently located;
an APP ID determining unit, configured to query an APP identity ID set of an application program according to the first application scenario to obtain a first APP ID of the target APP corresponding to the first application scenario, where the APP ID set includes a correspondence between the application scenario and the APP ID;
a URSP determining unit, configured to query a URSP selection set of a user equipment routing policy according to the first APP ID, to obtain a first URSP of the target APP, where the first URSP selection set corresponds to the first APP ID, and the URSP selection set includes a correspondence between the URSP and an APPID;
a PDU Session determining unit, configured to determine a first protocol data unit PDU Session of the target APP according to the first URSP.
13. A terminal comprising a processor, memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-11.
14. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-11.
CN202010487755.4A 2020-06-01 2020-06-01 Protocol data unit session establishing method and related device Active CN111641989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010487755.4A CN111641989B (en) 2020-06-01 2020-06-01 Protocol data unit session establishing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010487755.4A CN111641989B (en) 2020-06-01 2020-06-01 Protocol data unit session establishing method and related device

Publications (2)

Publication Number Publication Date
CN111641989A true CN111641989A (en) 2020-09-08
CN111641989B CN111641989B (en) 2021-04-09

Family

ID=72331313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010487755.4A Active CN111641989B (en) 2020-06-01 2020-06-01 Protocol data unit session establishing method and related device

Country Status (1)

Country Link
CN (1) CN111641989B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112218386A (en) * 2020-10-16 2021-01-12 展讯通信(天津)有限公司 Application program service path establishing method and device for multi-card terminal, storage medium and terminal
CN113038477A (en) * 2021-03-09 2021-06-25 中国联合网络通信集团有限公司 Slice routing rule tamper-proof method, terminal, network element and medium
CN113422725A (en) * 2021-06-03 2021-09-21 中国联合网络通信集团有限公司 Routing strategy management method, system, equipment and medium for application program
CN113993176A (en) * 2021-09-26 2022-01-28 深圳市广和通无线股份有限公司 Routing strategy updating method, terminal and network side equipment
WO2023274829A1 (en) * 2021-07-01 2023-01-05 Deutsche Telekom Ag Method for referencing local resources in ue route selection policy (ursp) in a telecommunications system and system thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483725A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN109286567A (en) * 2018-11-23 2019-01-29 腾讯科技(深圳)有限公司 Acquisition methods, device and the equipment of routing strategy
CN109743766A (en) * 2018-02-13 2019-05-10 华为技术有限公司 A kind of method and device of data Route Selection
WO2019100882A1 (en) * 2017-11-27 2019-05-31 华为技术有限公司 Session processing method, device, and system
US20190335392A1 (en) * 2018-04-30 2019-10-31 Weihua QIAO 5G Policy Control for Restricted Local Operator Services
CN110474840A (en) * 2018-05-09 2019-11-19 华为技术有限公司 Data transmission method, device and readable storage medium storing program for executing
US20200092380A1 (en) * 2018-09-17 2020-03-19 Samsung Electronics Co., Ltd. Packet data unit (pdu) session control method and apparatus
WO2020064125A1 (en) * 2018-09-28 2020-04-02 Lenovo (Singapore) Pte. Ltd. Determining a type of network connection from an os-specific connection capability

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483725A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Resource allocation method and Related product
WO2019100882A1 (en) * 2017-11-27 2019-05-31 华为技术有限公司 Session processing method, device, and system
CN109743766A (en) * 2018-02-13 2019-05-10 华为技术有限公司 A kind of method and device of data Route Selection
US20190335392A1 (en) * 2018-04-30 2019-10-31 Weihua QIAO 5G Policy Control for Restricted Local Operator Services
CN110474840A (en) * 2018-05-09 2019-11-19 华为技术有限公司 Data transmission method, device and readable storage medium storing program for executing
US20200092380A1 (en) * 2018-09-17 2020-03-19 Samsung Electronics Co., Ltd. Packet data unit (pdu) session control method and apparatus
WO2020064125A1 (en) * 2018-09-28 2020-04-02 Lenovo (Singapore) Pte. Ltd. Determining a type of network connection from an os-specific connection capability
CN109286567A (en) * 2018-11-23 2019-01-29 腾讯科技(深圳)有限公司 Acquisition methods, device and the equipment of routing strategy

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112218386A (en) * 2020-10-16 2021-01-12 展讯通信(天津)有限公司 Application program service path establishing method and device for multi-card terminal, storage medium and terminal
CN112218386B (en) * 2020-10-16 2022-11-29 展讯通信(天津)有限公司 Application program service path establishing method and device for multi-card terminal, storage medium and terminal
CN113038477A (en) * 2021-03-09 2021-06-25 中国联合网络通信集团有限公司 Slice routing rule tamper-proof method, terminal, network element and medium
CN113038477B (en) * 2021-03-09 2023-01-10 中国联合网络通信集团有限公司 Slice routing rule tamper-proof method, terminal and medium
CN113422725A (en) * 2021-06-03 2021-09-21 中国联合网络通信集团有限公司 Routing strategy management method, system, equipment and medium for application program
WO2023274829A1 (en) * 2021-07-01 2023-01-05 Deutsche Telekom Ag Method for referencing local resources in ue route selection policy (ursp) in a telecommunications system and system thereof
CN117643038A (en) * 2021-07-01 2024-03-01 德国电信股份有限公司 Method for referencing local resources in a UE routing policy (urs p) in a telecommunication system and system thereof
US12120019B2 (en) 2021-07-01 2024-10-15 Deutsche Telekom Ag Referencing local resources in user equipment (UE) route selection policy (URSP) in a telecommunications system
CN113993176A (en) * 2021-09-26 2022-01-28 深圳市广和通无线股份有限公司 Routing strategy updating method, terminal and network side equipment

Also Published As

Publication number Publication date
CN111641989B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN111601353B (en) Routing method of application program and related device
CN111641989B (en) Protocol data unit session establishing method and related device
EP3745746B1 (en) Communication method and apparatus
CN110519709B (en) Context management method and device
JP7017586B2 (en) Wireless communication method, network equipment and terminal equipment
CN109842643B (en) Session processing method, device and system
CN112073979B (en) Channel descriptor transmission method and related device
CN111698755B (en) URSP rule-based application data routing method and user equipment
WO2021238774A1 (en) Communication method and apparatus
CN113766534B (en) Network slice mapping method and related device
US11425764B2 (en) Communication method and communications apparatus for reporting establishment causes
CN111147422B (en) Method and device for controlling connection between terminal and network
CN112449399A (en) Communication method, device and system
CN112954768B (en) Communication method, device and system
CN114449577A (en) QoS parameter configuration method and related device
CN114071649B (en) Method and device for accessing local network
CN113453311B (en) Method and device for processing information of closed access group
CN113746649A (en) Network slice control method and communication device
CN112291848A (en) Terminal capability configuration method and communication device
CN112689326B (en) Method, terminal and network side equipment for indicating NSSAI carrying
US20240276583A1 (en) Communication method and apparatus
CN115734314A (en) Slice access optimization method and related product
CN112153756B (en) Data processing method and communication equipment based on tunnel establishment service
CN114762368A (en) Method and related device for guaranteeing QoS (quality of service) of relay communication
CN115884134A (en) Communication method and communication device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant