CN111601353A - Routing method of application program and related device - Google Patents

Routing method of application program and related device Download PDF

Info

Publication number
CN111601353A
CN111601353A CN202010384892.5A CN202010384892A CN111601353A CN 111601353 A CN111601353 A CN 111601353A CN 202010384892 A CN202010384892 A CN 202010384892A CN 111601353 A CN111601353 A CN 111601353A
Authority
CN
China
Prior art keywords
app
terminal
pdu session
ursp
routing
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
CN202010384892.5A
Other languages
Chinese (zh)
Other versions
CN111601353B (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.)
Beijing Ziguang Zhanrui Communication Technology Co Ltd
Original Assignee
Beijing Ziguang Zhanrui Communication Technology 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 Beijing Ziguang Zhanrui Communication Technology Co Ltd filed Critical Beijing Ziguang Zhanrui Communication Technology Co Ltd
Priority to CN202010384892.5A priority Critical patent/CN111601353B/en
Priority to PCT/CN2020/106336 priority patent/WO2021223335A1/en
Publication of CN111601353A publication Critical patent/CN111601353A/en
Application granted granted Critical
Publication of CN111601353B publication Critical patent/CN111601353B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/248Connectivity information update

Abstract

The embodiment of the application discloses a routing method and a related device of an application program, wherein the method comprises the following steps: the terminal acquires an APP identity ID of a first application program; the terminal queries a preset Protocol Data Unit (PDU) Session set by taking the first APP ID as a query identifier to obtain a first PDU Session of the first application program APP, wherein the PDU Session set comprises a corresponding relation between the ID of the APP and the PDU Session; and the terminal routes the data flow of the first APP to the first PDU Session for transmission. Therefore, the embodiment of the application can select the routing path for the application program according to the PDU session set.

Description

Routing method of application program and related device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a routing method for an application and a related device.
Background
In the 3rd Generation Partnership Project (3 GPP) protocol, 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 routing path for the application according to a routing Descriptor (RSD) in the URSP rule that the matching is successful. How to select a routing path for an application is not explicitly agreed at present.
Disclosure of Invention
The embodiment of the application provides a routing method and a related device of an application program, so as to select a routing path for the application program according to a PDU session set.
In a first aspect, an embodiment of the present application provides a routing method for an application, including:
the terminal acquires an APP identity ID of a first application program;
the terminal queries a preset Protocol Data Unit (PDU) Session set by taking the first APP ID as a query identifier to obtain a first PDU Session of the first application program APP, wherein the PDU Session set comprises a corresponding relation between the ID of the APP and the PDU Session;
and the terminal routes the data flow of the first APP to the first PDU Session for transmission.
In a second aspect, an embodiment of the present application provides an application routing apparatus, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an APP identity ID of a first application program;
the query unit is used for querying a preset Protocol Data Unit (PDU) Session set by taking the first APP ID as a query identifier to obtain a first PDU Session of the first application program APP, and the PDU Session set comprises a corresponding relation between the ID of the APP and the PDU Session;
and the routing unit is used for routing the data stream of the first APP to the first PDU Session for transmission.
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 application embodiment, the terminal firstly acquires a first application program APP identity ID, secondly, with first APP ID is the query identity, queries a preset protocol data unit PDU Session set, acquires a first PDU Session of first application program APP, PDU Session set includes a correspondence between the ID of APP and PDU Session, and finally, will the data flow route of first APP reaches first PDU Session is transmitted. Through maintaining PDU Session set, the terminal can be according to accurate for APP selection route of APP ID to on all routes the application program IP data package that APP ID corresponds to the PDU Session that corresponds.
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. 2A is a schematic flowchart of a routing method for an application according to an embodiment of the present application;
fig. 2B is a schematic flowchart of another routing method for an application according to an embodiment of the present disclosure;
fig. 3 is a block diagram illustrating functional units of a routing apparatus for an application according to an embodiment of the present disclosure;
fig. 4 is a block diagram of functional units of a routing device of another application 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.
Application program APPIt refers to various applications installed by the device, such as a video application, a browser application, and the like.
Protocol Data Unit (PDU)And refers to the unit of data passed between peer levels. 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).
PDU Session SessionAnd is a granularity unit of a slice network in the fifth generation 5G mobile communication system.
Network slicingThe method is a networking mode according to needs, and can enable an operator to 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 bearer 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.
User equipment Route option strategy (UE Route Selection Policy, URSP)The 5G core network 5GC is from a Policy Control Function (PCF) to a User equipment (User equipment)ment, UE). The UE uses this policy to determine how to route the data outbound path. The UE may determine, via the URSP rules, whether the detected application may be associated with an already established PDU session, may route to a non-3GPP tunnel outside of the PDU session, or may establish a new PDU session. An important input data in the URSP rule is the parameters in the Traffic Descriptor (TD), which can be carried by the application when initiating the network request. After the operating system acquires the Traffic Descriptor parameter associated with the application program and the UE acquires the URSP rule list from the network, matching a corresponding routing Descriptor RSD according to the rule evaluated by the URSP, and then selecting a data route according to a routing path represented by the RSD parameter.
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 above problem, an embodiment of the present application provides a routing method for an application program, which is described in detail below with reference to the accompanying drawings.
Referring to fig. 2A, fig. 2A is a schematic flowchart illustrating a routing method for an application according to an embodiment of the present application, where as shown in the figure, the method includes:
step 201, the terminal obtains an identity ID of a first application program APP.
The first APP may be a system application or a third-party application installed in advance in the terminal, such as a video APP, a game APP, a chat APP, and the like, which is not limited herein. The APP ID specifically refers to identification information of the APP, such as the name of the APP.
Step 202, the terminal queries a preset protocol data unit PDU Session set by using the first APP ID as a query identifier, and obtains a first PDU Session of the first application program APP, wherein the PDU Session set comprises a corresponding relation between the ID of the APP and the PDU Session.
The specific representation form of the PDU Session set may be various, and is not limited herein.
For example, the PDU Session set may be a PDU Session configuration file, and the PDU Session n of APP n is represented by the following format:
{APPn,PDU Session n}。
for another example, the PDU Session set may be an IP routing table as shown in table 1, where APP1, 3, 4, and 5 are pre-installed applications, APP1 ID corresponds to PDU Session1, APP3 ID corresponds to PDU Session3, APP4 ID corresponds to first PDU Session4, and APP5 ID corresponds to first PDU Session 5.
TABLE 1 IP ROUTING TABLE
Figure BDA0002483214580000041
Figure BDA0002483214580000051
And 203, the terminal routes the data flow of the first APP to the first PDU Session for transmission.
In a specific implementation, the operating system of the terminal may perform steps 201 to 203, and step 203 may assist data processing and transmission through the baseband chip and the radio frequency system.
It can be seen that, in this embodiment, the terminal first acquires a first application APP identity ID, then, with the first APP ID as a query identifier, queries a preset protocol data unit PDU Session set, acquires a first PDU Session of the first application APP, where the PDU Session set includes a correspondence between the ID of the APP and the PDU Session, and finally routes a data stream of the first APP to the first PDU Session for transmission. Through maintaining PDU Session set, the terminal can be according to accurate for APP selection route of APP ID to on all routes the application program IP data package that APP ID corresponds to the PDU Session that corresponds.
In one possible example, the method further comprises: the terminal acquires a plurality of APPs installed at the terminal; the terminal establishes a PDScess for an APP successfully matched with at least one URSP (routing policy and user equipment) in the plurality of APPs, wherein the successful URSP matching means that the TD parameter of a path descriptor of the URSP corresponding to the APP only comprises the ID of the APP, and the routing description RSD of the URSP indicates that PDU Session needs to be established; and the terminal creates the PDU Session set according to the PDU Session of the APP successfully matched with the terminal.
The plurality of APPs may be all APPs installed in the home device scanned by the terminal.
As can be seen, in this example, the terminal may perform URSP matching on multiple APPs installed in the home terminal device, create a PDU Session for the APP successfully matched by the URSP, and create a PDU Session set for all APPs successfully matched by the URSP, thereby implementing the routing path selection for the application program according to the URSP.
In this possible example, the establishing, by the terminal, a PDU Session for an APP in which a routing policy URSP of at least one of the plurality of APPs is successfully matched includes:
the terminal executes the following steps aiming at each APP in the plurality of APPs to obtain the PDUSES of at least one APP;
the terminal queries a URSP set of a user equipment routing strategy by taking the currently processed APP ID as a query identifier;
if the TD parameter only comprises the URSP of the APP ID currently processed, judging whether the RSD in the inquired URSP indicates that PDU Session needs to be established or not, wherein the URSP set comprises a plurality of URSPs, and each URSP comprises a corresponding relation between the TD parameter and a routing descriptor RSD;
if yes, establishing PDU Session for the APP currently processed according to the RSD inquired in the URSP,
if not, determining that the currently processed APP is the APP with failed matching;
if the URSP with the TD parameter only including the currently processed APP ID is not inquired, determining that the currently processed APP is the APP with failed matching.
Wherein the TD parameter of each URSP comprises at least one of the following: the application program comprises an identity identification APP ID, an operating system identity identification OS ID, a data network name DNN, an internet protocol IP triple, a domain Descriptor DomainDescriptor, a non-internet protocol Descriptor non-IP Descriptor and connection capabilities ConnectionCapabilities.
The TD parameter obtaining mode comprises any one of the following modes:
transmitting the application program of the terminal to an operating system through an interface;
presetting by an operating system of the terminal;
storing the data in a Subscriber Identity Module (SIM) card; and the number of the first and second groups,
and receiving the TD parameters sent by the network equipment.
In specific implementation, after determining that the currently processed APP is the APP with the matching failure, the terminal obtains the next unprocessed APP and repeatedly executes the step until the last APP in the multiple APPs is processed.
In this possible example, the terminal obtains multiple APPs installed at the home terminal, including: the terminal obtains a plurality of APPs installed at the terminal when the terminal is started.
In this possible example, the method further comprises: the terminal receives the set of URSPs from a network device. The terminal may specifically receive the URSP set from the network device when the terminal is powered on. The terminal can update the original URSP set stored locally according to the URSP set to obtain an updated URSP set.
In this possible example, the method further comprises: and the terminal acquires the locally stored URSP set. The terminal may obtain the locally stored set of URSPs at power-on.
In addition, the terminal will not create a PDU Session for the APP with failed matching, and when these APPs subsequently request data transmission, the terminal will configure the PDU Session for them in real time (new or binding existing or using non-3GPP path).
As can be seen, in this example, the terminal can create PDU sessions for APPs successfully matched with the URSP without omission by traversing multiple APPs, thereby ensuring service comprehensiveness and accuracy.
In one possible example, the method further comprises: and when the terminal unloads the first application program, disconnecting the first PDU Session and deleting the corresponding relation between the first APP and the first PDUSESS in the PDU Session set.
In a specific implementation, the terminal may also reserve the PDU Session for a period of time, such as one day, one week, etc., without changing the unloaded APP in the PDU Session set, where the specific duration may be set by the user, or the terminal may perform intelligent setting based on the user usage data, where the specific duration is not limited uniquely. For example, the terminal determines that the APP is the APP used by the user at a high frequency according to information such as the application use duration and frequency of the user, predicts that the user will still install the APP back within one week, and may reserve a PDU Session time of the APP for one week.
As can be seen, in this example, for an unloaded APP, the terminal disconnects the PDU Session of the APP, and synchronously updates the PDU Session set, thereby ensuring the consistency of PDU Session information in the PDU Session set.
In one possible example, the method further comprises: when a second APP is installed on the terminal, acquiring the ID of the second APP; the terminal queries a URSP set by taking the second APP ID as a query identifier, and queries a second URSP of which the TD parameters only comprise the second APP ID; the terminal judges that a second RSD indication in the second URSP needs to establish the PDUSESS; the terminal establishes a second PDU Session for the second APP according to a second RSD in the second URSP; and the terminal adds the corresponding relation between the second APP and the second PDU Session to the PDU Session set.
The URSP set may be a set of URSPs pre-stored in the home terminal, or a set of URSPs requested from the network device in real time, which is not limited herein.
In addition, the terminal may also first determine whether the second APP is an APP that was unloaded in a short time period, and if so, may directly query the PDU Session set, determine that the PDU Session of the second APP has not been deleted, and notify the system to update the PDU Session of the second APP so as not to delete any more, and continue to retain.
As can be seen, in this example, when a new APP is installed, the terminal may query the adapted URSP in real time, create a PDU Session for the terminal if matching is successful, and synchronously update a PDU Session set.
In one possible example, the method further comprises: the terminal receives a URSP updating instruction from the network equipment; the terminal updates the URSP set of the local terminal according to the URSP updating instruction; and the terminal updates the PDU Session set according to the updated URSP set.
The URSP update instruction may be issued by a network device triggered by an operator or an APP provider, or the terminal may request update periodically or request update as needed.
In a specific implementation, the terminal updates the PDU Session set according to the updated URSP set, specifically including switching, deleting, adding, etc. of the PDU Session of the existing APP at the local terminal,
if the RSD of the URSP of the first APP is updated to indicate that a non-3GPP access except the PDU Session needs to be used, the terminal deletes the corresponding relation between the first APP in the PDU Session set and the first PDU Session.
If the updated RSD of the URSP of the first APP indicates that the first APP can be associated with the established PDU Session, the terminal switches the first PDU Session to an existing other PDU Session, and updates the corresponding relationship between the first APP and the first PDU Session in the PDU Session set.
Therefore, in this example, the terminal can update the URSP set of the local terminal based on the URSP update instruction, update the PDU Session of the existing APP synchronously, and update the corresponding relationship between the APP and the PDU Session in the PDU Session set, thereby ensuring information consistency and system stability.
The routing method of the application program of the present application is further described below with reference to specific examples.
As shown in fig. 2B, the routing method for an application provided in the embodiment of the present application includes the following steps:
step 21, the terminal is powered on and sends a preset message (for example, a cell registration request, etc.) to the network device.
And step 22, the network equipment receives the preset message and issues a URSP rule table to the terminal.
And step 23, the terminal receives the URSP rule table and updates the URSP rule table of the terminal to obtain an updated rule table.
Step 24, the terminal inquires all the APPs and APP IDs installed at the terminal; establishing a corresponding PDU Session for the APP successfully matched with the URSP by inquiring the URSP rule in the URSP rule table; and establishing a corresponding relation between the application program APP and the PDU Session:
and 25, the terminal establishes an operating system IP routing table through the APPID and the operating system process ID, and binds the APPID to the PUD Session.
In this example, the terminal completes traversal detection of pdusesion creation conditions of all APPs of the terminal through the URSP rule table at the startup stage, and does not create IP routing tables for all APPs meeting the conditions, thereby improving the use convenience and system efficiency of the applications.
The embodiment of the application provides a routing device of an application program, which can be a terminal. Specifically, the routing device of the application is used for executing the steps executed by the terminal in the routing method of the application. The routing device of the application program provided by the embodiment of the application program may include modules corresponding to the corresponding steps.
In the embodiment of the present application, the routing device of the application program may be divided into the functional modules according to the above method examples, 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 routing device of the application program according to the above embodiment, in the case of dividing each functional module according to each function. As shown in fig. 3, the routing means 3 of the application comprises an acquisition unit 30, a querying unit 31 and a routing unit 32,
an obtaining unit 30, configured to obtain a first application APP identity ID;
a query unit 31, configured to query a preset protocol data unit PDU Session set with the first APP ID as a query identifier, to obtain a first PDU Session of the first application APP, where the PDU Session set includes a correspondence between the APP ID and the PDU Session;
a routing unit 32, configured to route the data flow of the first APP to the first PDU Session for transmission.
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 routing device of the application provided in the embodiment of the present application includes, but is not limited to, the modules described above, for example: the routing means of the application may also comprise a storage unit 33. The memory unit 33 may be used for storing program codes and data of the routing means of the application.
In the case of using an integrated unit, a schematic structural diagram of a routing device for an application provided in an embodiment of the present application is shown in fig. 4. In fig. 4, the routing device 4 of the application includes: a processing module 40 and a communication module 41. The processing module 40 is used for controlling and managing the actions of the routing means of the application, for example, the steps performed by the acquisition unit 30, the query unit 31 and the routing unit 32, and/or other processes for performing the techniques described herein. The communication module 41 is used to support interaction between the routing means of the application and other devices. As shown in fig. 4, the routing apparatus of the application program may further include a storage module 42, and the storage module 42 is used for storing program codes and data of the routing apparatus of the application program, for example, storing contents stored in the storage unit 33.
The processing module 40 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 41 may be a transceiver, an RF circuit or a communication interface, etc. The storage module 42 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. Both the routing device 3 of the application and the routing device 4 of the application can execute the steps executed by the terminal in the routing method of the application shown in fig. 2A.
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 routing method for an application program, comprising:
the terminal acquires an APP identity ID of a first application program;
the terminal queries a preset Protocol Data Unit (PDU) Session set by taking the first APP ID as a query identifier to obtain a first PDU Session of the first application program APP, wherein the PDU Session set comprises a corresponding relation between the ID of the APP and the PDU Session;
and the terminal routes the data flow of the first APP to the first PDU Session for transmission.
2. The method of claim 1, further comprising:
the terminal acquires a plurality of APPs installed at the terminal;
the terminal establishes PDU Session for the APP successfully matched with the URSP in the routing strategy of at least one piece of APP, wherein the successful URSP matching means that the TD parameter of the access descriptor of the URSP corresponding to the APP only comprises the APPID, and the routing description RSD of the URSP indicates that the PDU Session needs to be established;
and the terminal creates the PDU Session set according to the PDU Session of the APP successfully matched with the terminal.
3. The method according to claim 2, wherein the terminal establishes PDU Session for the APP with successfully matched routing policy, URSP, of at least one of the plurality of APPs, comprising:
the terminal executes the following steps aiming at each APP in the plurality of APPs to obtain the PDUSES of at least one APP;
the terminal queries a URSP set of a user equipment routing strategy by taking the currently processed APP ID as a query identifier; if the TD parameter only comprises the URSP of the APP ID currently processed, judging whether the RSD in the inquired URSP indicates that PDU Session needs to be established or not, wherein the URSP set comprises a plurality of URSPs, and each URSP comprises a corresponding relation between the TD parameter and a routing descriptor RSD;
if yes, establishing PDU Session for the APP currently processed according to the RSD inquired in the URSP,
if not, determining that the currently processed APP is the APP with failed matching;
if the URSP with the TD parameter only including the currently processed APP ID is not inquired, determining that the currently processed APP is the APP with failed matching.
4. The method of claim 3, wherein the TD parameters of each URSP include at least one of: the method comprises the following steps of identifying an identity identifier APP ID, an identity identifier OS ID, a data network name DNN, an internet protocol IP triple, a Domain Descriptor, a non-internet protocol Descriptor non-IP Descriptor and Connection Capabilities of an application program.
5. The method according to claim 3 or 4, wherein the TD parameter is obtained by any one of the following methods:
transmitting the application program of the terminal to an operating system through an interface;
presetting by an operating system of the terminal;
storing the data in a Subscriber Identity Module (SIM) card; and the number of the first and second groups,
and receiving the TD parameters sent by the network equipment.
6. The method according to any one of claims 2-5, further comprising:
the terminal receives the set of URSPs from a network device.
7. The method of claim 6, further comprising:
and the terminal acquires the locally stored URSP set.
8. The method according to any one of claims 2-7, wherein the terminal obtains multiple APPs installed at the home terminal, including:
the terminal obtains a plurality of APPs installed at the terminal when the terminal is started.
9. The method according to any one of claims 1-8, further comprising:
and when the terminal unloads the first application program, disconnecting the first PDU Session and deleting the corresponding relation between the first APP and the first PDU Session in the PDUSESS set.
10. The method according to any one of claims 1-9, further comprising:
when a second APP is installed on the terminal, acquiring the ID of the second APP;
the terminal queries a URSP set by taking the second APP ID as a query identifier, and queries a second URSP of which the TD parameters only comprise the second APP ID;
the terminal judges that a second RSD indication in the second URSP needs to establish PDU Session;
the terminal establishes a second PDU Session for the second APP according to a second RSD in the second URSP;
and the terminal adds the corresponding relation between the second APP and the second PDU Session to the PDU Session set.
11. The method according to any one of claims 1-10, further comprising:
the terminal receives a URSP updating instruction from the network equipment;
the terminal updates the URSP set of the local terminal according to the URSP updating instruction;
and the terminal updates the PDU Session set according to the updated URSP set.
12. An application routing apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an APP identity ID of a first application program;
the query unit is used for querying a preset Protocol Data Unit (PDU) Session set by taking the first APP ID as a query identifier to obtain a first PDU Session of the first application program APP, and the PDU Session set comprises a corresponding relation between the ID of the APP and the PDU Session;
and the routing unit is used for routing the data stream of the first APP to the first PDU Session for transmission.
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.
CN202010384892.5A 2020-05-08 2020-05-08 Routing method of application program and related device Active CN111601353B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010384892.5A CN111601353B (en) 2020-05-08 2020-05-08 Routing method of application program and related device
PCT/CN2020/106336 WO2021223335A1 (en) 2020-05-08 2020-07-31 Route selection method for application program, and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010384892.5A CN111601353B (en) 2020-05-08 2020-05-08 Routing method of application program and related device

Publications (2)

Publication Number Publication Date
CN111601353A true CN111601353A (en) 2020-08-28
CN111601353B CN111601353B (en) 2022-02-22

Family

ID=72192117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010384892.5A Active CN111601353B (en) 2020-05-08 2020-05-08 Routing method of application program and related device

Country Status (2)

Country Link
CN (1) CN111601353B (en)
WO (1) WO2021223335A1 (en)

Cited By (6)

* 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
CN112566218A (en) * 2020-12-01 2021-03-26 中兴通讯股份有限公司 SIM card selection method, device, terminal and storage medium
CN113422725A (en) * 2021-06-03 2021-09-21 中国联合网络通信集团有限公司 Routing strategy management method, system, equipment and medium for application program
CN113676905A (en) * 2021-08-13 2021-11-19 展讯通信(上海)有限公司 Application identifier determining method, application data transmission method and related product
CN113993176A (en) * 2021-09-26 2022-01-28 深圳市广和通无线股份有限公司 Routing strategy updating method, terminal and network side equipment
WO2023213309A1 (en) * 2022-05-06 2023-11-09 维沃移动通信有限公司 Ursp rule verification method and apparatus, and network side device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891419A (en) * 2021-11-17 2022-01-04 展讯通信(上海)有限公司 Policy routing establishing method and related device
CN114040470A (en) * 2021-12-01 2022-02-11 中国电信股份有限公司 Terminal route control method, device, equipment and storage medium
CN116419268A (en) * 2021-12-30 2023-07-11 维沃移动通信有限公司 Method, device, terminal and network element for monitoring and reporting URSP rule
CN114828010B (en) * 2022-04-24 2023-10-03 中国电信股份有限公司 Method for safely accessing network slice based on application attribute and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286567A (en) * 2018-11-23 2019-01-29 腾讯科技(深圳)有限公司 Acquisition methods, device and the equipment of routing strategy
CN109548175A (en) * 2017-08-15 2019-03-29 华为技术有限公司 A kind of conversation processing method and device
CN109743766A (en) * 2018-02-13 2019-05-10 华为技术有限公司 A kind of method and device of data Route Selection
CN110602761A (en) * 2018-06-13 2019-12-20 华为技术有限公司 Data transmission method and device
US20200053622A1 (en) * 2018-08-10 2020-02-13 Mediatek Inc. Enhanced UE Route Selection Policy (URSP) Rule Matching

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3753300A4 (en) * 2018-02-16 2021-03-24 NEC Corporation Distinguishing between general nas level congestion and s-nssai related congestion control
US11096242B2 (en) * 2018-04-30 2021-08-17 Lenovo (Singapore) Pte. Ltd. Establishing an IP multimedia subsystem session
CN110474840B (en) * 2018-05-09 2022-05-10 华为技术有限公司 Data transmission method, device and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109548175A (en) * 2017-08-15 2019-03-29 华为技术有限公司 A kind of conversation processing method and device
CN109743766A (en) * 2018-02-13 2019-05-10 华为技术有限公司 A kind of method and device of data Route Selection
CN110149670A (en) * 2018-02-13 2019-08-20 华为技术有限公司 A kind of method and device of data Route Selection
CN110602761A (en) * 2018-06-13 2019-12-20 华为技术有限公司 Data transmission method and device
US20200053622A1 (en) * 2018-08-10 2020-02-13 Mediatek Inc. Enhanced UE Route Selection Policy (URSP) Rule Matching
CN111034268A (en) * 2018-08-10 2020-04-17 联发科技股份有限公司 Enhanced user equipment path selection policy rule matching
CN109286567A (en) * 2018-11-23 2019-01-29 腾讯科技(深圳)有限公司 Acquisition methods, device and the equipment of routing strategy

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERICSSON 等,: "Discussion on 5QI access category criteria type", 《3GPP TSG-CT WG1 MEETING #114 C1-190127》 *

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
CN112566218A (en) * 2020-12-01 2021-03-26 中兴通讯股份有限公司 SIM card selection method, device, terminal and storage medium
CN112566218B (en) * 2020-12-01 2021-10-26 中兴通讯股份有限公司 SIM card selection method, device, terminal and storage medium
CN113422725A (en) * 2021-06-03 2021-09-21 中国联合网络通信集团有限公司 Routing strategy management method, system, equipment and medium for application program
CN113676905A (en) * 2021-08-13 2021-11-19 展讯通信(上海)有限公司 Application identifier determining method, application data transmission method and related product
CN113676905B (en) * 2021-08-13 2022-11-11 展讯通信(上海)有限公司 Application identifier determining method, application data transmission method and related product
CN113993176A (en) * 2021-09-26 2022-01-28 深圳市广和通无线股份有限公司 Routing strategy updating method, terminal and network side equipment
WO2023213309A1 (en) * 2022-05-06 2023-11-09 维沃移动通信有限公司 Ursp rule verification method and apparatus, and network side device

Also Published As

Publication number Publication date
WO2021223335A1 (en) 2021-11-11
CN111601353B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
CN111601353B (en) Routing method of application program and related device
US11528770B2 (en) Session management method, apparatus, and system
CN110474840B (en) Data transmission method, device and readable storage medium
CN109314917B (en) Network slice selection strategy updating method and device
US11800481B2 (en) Communication method and communication apparatus
CN111641989B (en) Protocol data unit session establishing method and related device
CN112073979B (en) Channel descriptor transmission method and related device
US20210112524A1 (en) Wireless communication method, network device, and terminal device
US20220060935A1 (en) Communications Method and Apparatus
CN113766534B (en) Network slice mapping method and related device
CN111698755B (en) URSP rule-based application data routing method and user equipment
US20210160811A1 (en) Positioning Method and Communications Apparatus
CN113938845A (en) Context management method and device
CN111404814A (en) Data transmission method and communication device
CN109548023B (en) Network sharing system, network connection method and access method of user equipment
CN113630819B (en) Application migration method and device
CN113647183A (en) QoS parameter configuration method and related device
US20220272577A1 (en) Communication method and communication apparatus
WO2021088007A1 (en) Wireless communication method, terminal device, and network device
WO2021203249A1 (en) Session release method and apparatus
WO2022151357A1 (en) Communication method and apparatus, device, and storage medium
WO2024032041A1 (en) Communication method and communication apparatus
US20230224993A1 (en) Communication method and apparatus
CN115734314A (en) Slice access optimization method and related product
CN114762368A (en) Method and related device for guaranteeing QoS (quality of service) of relay communication

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