CN113839981A - Session management method, device and storage medium - Google Patents

Session management method, device and storage medium Download PDF

Info

Publication number
CN113839981A
CN113839981A CN202010591572.7A CN202010591572A CN113839981A CN 113839981 A CN113839981 A CN 113839981A CN 202010591572 A CN202010591572 A CN 202010591572A CN 113839981 A CN113839981 A CN 113839981A
Authority
CN
China
Prior art keywords
pdu session
pdu
session
established
application program
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.)
Pending
Application number
CN202010591572.7A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202010591572.7A priority Critical patent/CN113839981A/en
Priority to PCT/CN2021/094174 priority patent/WO2021258912A1/en
Publication of CN113839981A publication Critical patent/CN113839981A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections
    • H04W76/36Selective release of ongoing connections for reassigning the resources associated with the released connections

Abstract

The embodiment of the invention provides a session management method, a session management device and a storage medium, and belongs to the field of communication. The method comprises the following steps: acquiring a Protocol Data Unit (PDU) session establishment request initiated by an application program, and acquiring the number of established PDU sessions to obtain the number of PDU sessions; then when the PDU conversation number is determined to reach the preset number and the application program has the authority of using the PDU conversation, one PDU conversation in the established PDU conversation is deactivated; and when the built PDU session is determined to be deactivated, establishing the PDU session of the application program according to the PDU session establishment request. When the PDU session establishment request initiated by the application program with the PDU session using authority is available, the established PDU session can be deactivated, the PDU session of the application program requesting the PDU session is established, and the intelligence of PDU session switching and the use experience of a user are improved.

Description

Session management method, device and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a session management method, an apparatus, and a storage medium.
Background
With the rapid development of communication technology, mobile data transmission modes are more and more diversified, but the channel for rapidly transmitting mobile data is limited, and not all information uses a rapid transmission channel. For example, as a very important technology in the fifth Generation mobile communication technology (5th-Generation, 5G), the current third Generation Partnership Project (3 GPP) specifies that a terminal can only establish 8 Protocol Data Unit sessions (PDU sessions) at most simultaneously, and when the number of the applied PDU sessions exceeds 8, the later applied PDU sessions can only be processed through a common session. For example, a user purchases a PDU session in a game, when the user starts an Application (APP), but the PDU session of the terminal is full, the user cannot use the PDU session, that is, the APP cannot use a higher network speed, and the user cannot experience the higher network speed of the VIP, so the user experience is poor.
Disclosure of Invention
Embodiments of the present invention mainly aim to provide a session management method, an apparatus, and a storage medium, which are used for intelligently switching PDU sessions and improving user experience of a user using a user equipment.
In a first aspect, an embodiment of the present invention provides a session management method, including: acquiring a PDU session establishment request initiated by a currently running application program, and acquiring the number of established PDU sessions to obtain the number of PDU sessions; when the PDU session number is determined to reach the preset number and the application program has the permission of using the PDU session, carrying out deactivation processing on the established PDU session; and when the PDU session which is established is determined to be deactivated, establishing the PDU session of the application program according to the PDU session establishment request.
In a second aspect, the embodiment of the present invention further provides a session management apparatus, which includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for implementing connection communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any session management method provided in the present specification are implemented.
In a third aspect, an embodiment of the present invention further provides a storage medium for a computer-readable storage, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of any session management method provided in the present specification.
The embodiment of the invention provides a session management method, a session management device and a storage medium, wherein the embodiment of the invention obtains a Protocol Data Unit (PDU) session establishment request initiated by an application program, and obtains the number of established PDU sessions to obtain the number of PDU sessions; then when the PDU conversation number is determined to reach the preset number and the application program has the authority of using the PDU conversation, one PDU conversation in the established PDU conversation is deactivated; and when the built PDU session is determined to be deactivated, establishing the PDU session of the application program according to the PDU session establishment request. Due to the fact that the number of the PDU sessions of the user equipment is limited, according to the scheme, when the number of the established PDU sessions reaches the limit when the PDU session establishment request initiated by the application program with the permission of using the PDU session is provided, the established PDU session can be deactivated, and the PDU session of the application program is established after the PDU session is deactivated, so that the intelligence of PDU session switching is greatly improved, and the use experience of a user is improved.
Drawings
Fig. 1 is a schematic flowchart illustrating steps of a session management method according to an embodiment of the present invention;
FIG. 2 is a flow diagram illustrating sub-steps of the session management method of FIG. 1;
FIG. 3 is a flow diagram illustrating sub-steps of the session management method of FIG. 2;
FIG. 4 is a flow diagram illustrating another sub-step of the session management method of FIG. 2;
FIG. 5 is a flow diagram illustrating another sub-step of the session management method of FIG. 2;
fig. 6 is a schematic block diagram of a session management apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The embodiment of the invention provides a session management method, a session management device and a storage medium. The session management method can be applied to a session management device, the session management device can be arranged in user equipment, and the user equipment can be electronic equipment such as a mobile phone, a tablet computer and a notebook computer.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a step of a session management method according to an embodiment of the present invention.
As shown in fig. 1, the session management method may include steps S101 to S103.
Step S101, acquiring a Protocol Data Unit (PDU) session establishment request initiated by an application program, and acquiring the number of established PDU sessions to obtain the number of PDU sessions.
The PDU session is a Protocol Data Unit session (PDU session), and the PDU session connects PDU Data between a user equipment and a Data Network (DN), that is, a Data transmission channel between the user equipment and the Data Network. It should be noted that, the preset number of PDU sessions included in the ue is set according to an actual situation, which is not specifically limited in the embodiment of the present invention, for example, the ue uses a third Generation Partnership Project (3 GPP) protocol, and the maximum number of PDU sessions that can be established by the ue is 8 or more; the 8 PDU sessions establish multiple network slices, and the number of the 8 PDU sessions establishing network slices may be set according to actual situations, which is not specifically limited in the embodiment of the present invention, for example, 8 different network slices are respectively established for the 8 PDU sessions, and for example, two network slices are respectively established for the 8 PDU sessions, that is, one network slice establishes 4 PDU sessions, and the other network slice establishes the other 4 PDU sessions.
In an embodiment, when detecting that a certain application program on the user equipment is started, the application program initiates a PDU session establishment request, and the session management apparatus obtains the PDU session establishment request from the application program, and obtains the number of currently established PDU sessions to obtain the number of PDU sessions. In one embodiment, one PDU session may correspond to one application identifier, that is, one application uses one PDU session, that is, the number of PDU sessions may be confirmed according to the application identifier.
And step S102, when the PDU conversation number is determined to reach the preset number and the application program has the authority of using the PDU conversation, carrying out deactivation processing on one PDU conversation in the established PDU conversation.
The preset number of PDU sessions is a number of PDU sessions that can be established by the ue, and the preset number may be set according to an actual situation, which is not specifically limited in the embodiment of the present invention, for example, the ue uses a 3rd Generation Partnership Project (3 GPP) protocol, the ue includes 8 PDU sessions, and the preset number is 8 or 10.
In an embodiment, the specific way of determining whether the application has the right to use the PDU session is as follows: acquiring an authority list of the PDU session, wherein an application program identifier of an application program with the authority of using the PDU session is stored in the authority list; and acquiring the application program identifier of the currently running application program, and determining whether the application program identifier of the currently running application program is positioned in the permission list. When the application program identifier of the currently running application program is determined to be located in the authority list, acquiring a user account for logging in the currently running application program, and determining whether the user account is located in a white list of the currently running application program; when the user account is determined to be in a white list of the currently running application program, determining that the currently running application program has the permission to use the PDU session; and when the user account is determined not to be in the white list of the currently running application program or the application program identifier of the currently running application program is determined not to be in the permission list, determining that the currently running application program does not have the permission to use the PDU session. The white list of the application program is a set of application program identifiers of an authority application program used by the PDU session set by the user, and the white list of the application program can be set according to actual conditions, which is not specifically limited in the embodiment of the present invention; the user account may be selected according to an actual situation, which is not specifically limited in the embodiment of the present invention, and for example, the user account may be a mobile phone account of the user, and may also be any other suitable authority identity information.
It should be noted that, when the Network Slice Selection Assistance Information (NSSAI) of the network slice of the network operator is purchased mainly by the development company of the application program and the user account number of the login application program purchases a member of the development company of the application program, the application program has the authority to use the PDU session. The network operator may be determined according to actual conditions, which is not specifically limited in the embodiment of the present invention, for example, the network operator may select an operator such as a mobile operator, a unicom operator, and a telecommunications operator.
For example, when a development company of an application purchases network slice selection assistance information of a network slice of a network operator, a user account logged in the application does not purchase a member of the development company of the application, and the application on the user equipment does not have a usage right of a PDU session.
In an embodiment, as shown in fig. 2, step S102 may include sub-steps S1021 through S1023.
And a substep S1021, obtaining the deactivation priority of each established PDU session.
The deactivation priority is determined according to the set-up duration of the set-up PDU session, the type of the PDU session, and/or a preset application program list set by a user, where the higher the deactivation priority of the set-up PDU session is, the higher the probability of representing the deactivation of the set-up PDU session is, and the lower the deactivation priority of the set-up PDU session is, the lower the probability of representing the deactivation of the set-up PDU session is.
In one embodiment, as shown in fig. 3, step S1021 may include sub-steps S1021a through S1021 b.
Step S1021a, obtaining the setup duration of each established PDU session.
For example, there are 8 established PDU sessions, which are PDU session 1, PDU session 2, PDU session 3, PDU session 4, PDU session 5, PDU session 6, PDU session 7, and PDU session 8, respectively, and the establishment duration of PDU session 1 is 50 minutes, the establishment duration of PDU session 2 is 45 minutes, the establishment duration of PDU session 3 is 40 minutes, the establishment duration of PDU session 4 is 35 minutes, the establishment duration of PDU session 5 is 30 minutes, the establishment duration of PDU session 6 is 25 minutes, the establishment duration of PDU session 7 is 20 minutes, and the establishment duration of PDU session 8 is 15 minutes.
And a substep S1021b, determining the deactivation priority of each established PDU session according to the established duration of each established PDU session.
And sequencing each PDU session according to the established length of time for establishing each PDU session to obtain a PDU session queue, and determining the deactivation priority of each established PDU session according to the sequence of each established PDU session in the PDU session queue. Wherein, the longer the duration of the PDU session establishment, the higher the priority of the deactivation of the PDU session. Illustratively, the establishment duration of the PDU session 1 is 50 minutes, the establishment duration of the PDU session 2 is 45 minutes, the establishment duration of the PDU session 3 is 40 minutes, the establishment duration of the PDU session 4 is 35 minutes, the establishment duration of the PDU session 5 is 30 minutes, the establishment duration of the PDU session 6 is 25 minutes, the establishment duration of the PDU session 7 is 20 minutes, and the establishment duration of the PDU session 8 is 15 minutes, the 8 PDU sessions are sequenced, and a PDU session queue is obtained, that is, the deactivation priority order of the PDU session 1, the PDU session 2, the PDU session 3, the PDU session 4, the PDU session 5, the PDU session 6, the PDU session 7, and the PDU session 8 sequentially changes from high priority to low priority, the deactivation priority of the PDU session 1 is highest, and the deactivation priority of the PDU session 8 is lowest.
In one embodiment, as shown in fig. 4, step S1021 may include sub-steps S1021c through S1021 d.
Step S1021c, obtaining the type of each established PDU session.
Among them, the type of the PDU session may include an enhanced Mobile Broadband (eMMB) type, an Ultra Reliable Low Latency Communication (URLLC) type, a large-scale internet of things (iot to X, V2X) type, and the like.
Sub-step S1021d, determining a deactivation priority for each established PDU session according to the type of each established PDU session.
And obtaining a pre-stored mapping relation table between the PDU session type and the deactivation priority, and determining the deactivation priority of each established PDU session according to the mapping relation table between the PDU session type and the deactivation priority and the type of each established PDU session. The mapping relationship table between the PDU session type and the deactivation priority may be set according to actual conditions, which is not specifically limited in the embodiment of the present invention, for example, deactivation priorities of an embb type, a URLLC type, a large-scale internet of things type, and a V2X type sequentially change from low to high.
Illustratively, deactivation priorities of an eMMB type, a URLLC type, a large-scale internet of things type, and a V2X type sequentially change from low to high, the types of the obtained PDU session 1, PDU session 2, PDU session 3, PDU session 4, and PDU session 5 that have been established are the eMMB type, the type of the PDU session 6 is the large-scale internet of things type, the type of the PDU session 7 is the V2X type, and the type URLLC type of the PDU session 8, and then the deactivation priorities of the PDU sessions are ordered from high to low: PDU session 7, PDU session 6, PDU session 8, PDU session 1, PDU session 2, PDU session 3, PDU session 4, and PDU session 5, wherein the PDU session 1, PDU session 2, PDU session 3, PDU session 4, and PDU session 5 have the same deactivation priority, i.e., the established PDU session 7 has the highest deactivation priority and the established PDU session 1, PDU session 2, PDU session 3, PDU session 4, and PDU session 5 has the lowest deactivation priority.
In one embodiment, as shown in fig. 5, step S1021 may include sub-steps S1021e through S1021 f.
Step S1021e, obtaining an identifier of an application using each established PDU session.
The identifier of the application may be set according to actual conditions, which is not specifically limited in the embodiment of the present invention, and for example, the identifier of the application may be set to APP1, APP2, and the like.
Sub-step S1021f, determining a deactivation priority for each established PDU session based on the identifier of the application using each established PDU session and a preset application list.
Acquiring an identifier list of a preset application program, wherein an identifier of the application program with high deactivation priority is stored in the list; and when the identifier of the application program of each established PDU session is determined to be in the identifier list of the preset application program, the priority of the PDU session deactivation corresponding to the identifier of the application program is the highest. The identifier list of the preset application program may be set according to an actual situation, which is not specifically limited in the embodiment of the present invention.
In one embodiment, an identifier list of a preset application program is obtained, wherein an identifier of an application program with a low deactivation priority is stored in the list; and when the identifier of the application program of each established PDU session is determined to be in the identifier list of the preset application program, the priority of the PDU session deactivation corresponding to the identifier of the application program is the lowest. The identifier list of the preset application program may be set according to an actual situation, which is not specifically limited in the embodiment of the present invention.
In one embodiment, an identifier list of a preset application program is obtained; and when the identifier of the application program of each established PDU session is determined to be in the identifier list of the preset application program, the priority of the PDU session deactivation corresponding to the identifier of the application program is the highest. When the fact that the identifier of the application program of each established PDU session is located in the identifier list of the preset application program is determined to be absent, each PDU session is sequenced according to the established length of time of each PDU session to obtain a PDU session queue, and the sub-optimal level of deactivation of each established PDU session is determined according to the sequence of each established PDU session in the PDU session queue. Wherein, the longer the duration of the PDU session establishment, the higher the priority of the deactivation of the PDU session.
It should be noted that, the above several ways of determining the deactivation priority of each established PDU session may determine the deactivation priority of each established PDU session in one way, or may combine the ways of determining the deactivation priority of each established PDU session in combination of several ways, so as to determine the deactivation priority of each established PDU session, which is not specifically limited in this embodiment of the present invention.
And a substep S1022, determining a target PDU session to be deactivated according to the established deactivation priority of each PDU session.
And taking the established PDU session with the highest deactivation priority as the target PDU session to be deactivated, for example, the PDU session 1 is established for 50 minutes, the PDU session 2 is established for 45 minutes, the PDU session 3 is established for 40 minutes, the PDU session 4 is established for 35 minutes, the PDU session 5 is established for 30 minutes, the PDU session 6 is established for 25 minutes, the PDU session 7 is established for 20 minutes, the PDU session 8 is established for 15 minutes, the PDU session with the longest duration is established as the deactivated target PDU session, and the established PDU session 1 is taken as the target PDU session to be deactivated.
And a substep S1023 of deactivating the target PDU session.
And after the target PDU session is obtained, establishing the application program corresponding to the target PDU session from the PDU session to a common session. The PDU session is established successfully by an application program initiating the PDU session establishment request by deactivating the target PDU session to empty one PDU session.
In one embodiment, a deactivation identifier of the target PDU session is obtained, whether the deactivation identifier of the target PDU session is a first identifier or a second identifier is determined, and when the deactivation identifier is determined to be the first identifier, the target PDU deactivation is determined to be successful; determining that the target PDU deactivation failed when it is determined that the deactivation identifier is the second identifier. The deactivation identifier is set according to an actual situation, which is not specifically limited in the embodiment of the present invention, for example, the first identifier is 1, and the second identifier is 0. By obtaining the deactivation identifier of the target PDU conversation, whether the target PDU conversation is successfully deactivated or not is further determined, and the efficiency of conversation management is improved.
In one embodiment, when the PDU session number is determined to reach the preset number and the application program has the permission to use the PDU session, displaying a PDU session selection page and acquiring an identifier of the application program selected on a deactivation PDU session selection page of the user equipment; and obtaining the PDU session corresponding to the identifier according to the selected identifier and each established PDU session, namely obtaining the target PDU session to be deactivated, and deactivating the target PDU session. The identifier of the application program selected by the user on the PDU session deactivation selection page is obtained, so that the target PDU session to be deactivated is obtained, and the target PDU session is deactivated, so that the flexibility of session management is improved, and the use experience of the user is improved.
Step S103, when the built PDU session is determined to be deactivated, the PDU session of the application program is built according to the PDU session building request.
And when the obtained deactivation identifier of the target PDU session is the first identifier, determining that the built PDU session is deactivated to obtain an empty PDU session, and building the PDU session of the application program according to the PDU session building request. In an embodiment, after the target PDU session to be deactivated is deactivated, the application program corresponding to the target PDU session is established to a common session, so that the application program can transmit information data.
The session management method provided by the above embodiment obtains the number of PDU sessions by obtaining a protocol data unit PDU session establishment request initiated by an application program and obtaining the number of established PDU sessions; then when the PDU conversation number is determined to reach the preset number and the application program has the authority of using the PDU conversation, one PDU conversation in the established PDU conversation is deactivated; and when the built PDU session is determined to be deactivated, establishing the PDU session of the application program according to the PDU session establishment request. Due to the fact that the number of the PDU sessions of the user equipment is limited, according to the scheme, when the number of the established PDU sessions reaches the limit when the PDU session establishment request initiated by the application program with the permission of using the PDU session is provided, the established PDU session can be deactivated, and the PDU session of the application program is established after the PDU session is deactivated, so that the intelligence of PDU session switching is greatly improved, and the use experience of a user is improved.
Referring to fig. 6, fig. 6 is a schematic block diagram illustrating a structure of a session management apparatus according to an embodiment of the present invention.
As shown in fig. 6, the session management apparatus 200 may include a processor 201 and a memory 202, and the processor 201 and the memory 202 are connected by a bus 203, such as an I2C (Inter-integrated Circuit) bus.
In particular, the processor 201 is used to provide computing and control capabilities, supporting the operation of the entire session management apparatus. The Processor 201 may be a Central Processing Unit (CPU), and the Processor 201 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Specifically, the Memory 202 may be a Flash chip, a Read-Only Memory (ROM) magnetic disk, an optical disk, a usb disk, or a removable hard disk.
It will be understood by those skilled in the art that the structure shown in fig. 6 is a block diagram of only a part of the structure related to the solution of the present invention, and does not constitute a limitation of the session management apparatus to which the solution of the present invention is applied, and a specific session management apparatus may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
The processor is configured to run a computer program stored in the memory, and when executing the computer program, implement any one of the session management methods provided by the embodiments of the present invention.
In one embodiment, the processor is configured to execute a computer program stored in the memory, and to implement the following steps when executing the computer program:
acquiring a Protocol Data Unit (PDU) session establishment request initiated by an application program, and acquiring the number of established PDU sessions to obtain the number of PDU sessions;
when the PDU session number is determined to reach the preset number and the application program has the permission of using the PDU session, carrying out deactivation processing on the established PDU session;
and when determining that one PDU session in the established PDU sessions is deactivated, establishing the PDU session of the application program according to the PDU session establishment request.
In an embodiment, when the processor performs the deactivation process on one of the established PDU sessions, the processor is configured to perform:
acquiring the deactivation priority of each established PDU session;
determining a target PDU session to be deactivated according to the established deactivation priority of each PDU session;
and deactivating the target PDU session.
In an embodiment, the processor, when implementing the acquiring the deactivation priority of each established PDU session, is configured to implement:
acquiring the establishment duration of each established PDU session;
and determining the deactivation priority of each established PDU session according to the established time length of each established PDU session.
In an embodiment, the processor, when implementing the acquiring the deactivation priority of each established PDU session, is configured to implement:
acquiring the type of each established PDU session;
and determining the deactivation priority of each established PDU session according to the type of each established PDU session.
In an embodiment, the processor, when implementing the acquiring the deactivation priority of each established PDU session, is configured to implement:
acquiring an identifier of an application program using each established PDU session;
and determining the deactivation priority of each established PDU session according to the identifier of the application program using each established PDU session and a preset application program list.
In an embodiment, the processor is further configured to implement, after implementing the acquiring of the protocol data unit PDU session establishment request initiated by the currently running application program, acquiring the number of the established PDU sessions, and obtaining the number of PDU sessions:
when the PDU conversation number is determined to reach the preset number and the application program has the authority of using the PDU conversation, displaying a PDU conversation selection page;
the deactivating one of the established PDU sessions includes:
acquiring the PDU session identifier selected on the PDU session selection page;
determining a target PDU session to be deactivated according to the PDU session identifier;
and deactivating the target PDU session.
In an embodiment, when the processor determines a target PDU session to be deactivated according to the established deactivation priority of each PDU session, the processor is configured to:
and taking the established PDU session with the highest deactivation priority as a target PDU session to be deactivated.
In an embodiment, the processor is further configured to:
obtaining a deactivation identifier of the target PDU session;
determining that the target PDU session deactivation was successful when it is determined that the deactivation identifier is a first identifier;
determining that the target PDU session deactivation failed when it is determined that the deactivation identifier is a second identifier.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the session management apparatus described above may refer to the corresponding process in the foregoing embodiment of the session management method, and is not described herein again.
Embodiments of the present invention also provide a storage medium for computer-readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of any of the methods for session management as provided by the present specification.
The storage medium may be an internal storage unit of the session management apparatus described in the foregoing embodiment, for example, a hard disk or a memory of the session management apparatus. The storage medium may also be an external storage device of the session management apparatus, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the session management apparatus.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
It should be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A session management method, comprising:
acquiring a Protocol Data Unit (PDU) session establishment request initiated by an application program, and acquiring the number of established PDU sessions to obtain the number of PDU sessions;
when the PDU conversation number is determined to reach the preset number and the application program has the authority of using the PDU conversation, one PDU conversation in the established PDU conversation is deactivated;
and when the PDU session which is established is determined to be deactivated, establishing the PDU session of the application program according to the PDU session establishment request.
2. The session management method according to claim 1, wherein the deactivating of one of the established PDU sessions comprises:
acquiring the deactivation priority of each established PDU session;
determining a target PDU session to be deactivated according to the established deactivation priority of each PDU session;
and deactivating the target PDU session.
3. The session management method according to claim 2, wherein the obtaining the deactivation priority of each established PDU session comprises:
acquiring the establishment duration of each established PDU session;
and determining the deactivation priority of each established PDU session according to the established time length of each established PDU session.
4. The session management method according to claim 2, wherein the obtaining the deactivation priority of each established PDU session comprises:
acquiring the type of each established PDU session;
and determining the deactivation priority of each established PDU session according to the type of each established PDU session.
5. The session management method according to claim 2, wherein the obtaining the deactivation priority of each established PDU session comprises:
acquiring an identifier of an application program using each established PDU session;
and determining the deactivation priority of each established PDU session according to the identifier of the application program using each established PDU session and a preset application program list.
6. The method according to any of claims 1 to 5, wherein the obtaining a protocol data unit, PDU, session establishment request initiated by an application program, obtaining the number of established PDU sessions, and after obtaining the number of PDU sessions, further comprises:
when the PDU conversation number is determined to reach the preset number and the application program has the authority of using the PDU conversation, displaying a PDU conversation selection page;
the deactivating one of the established PDU sessions includes:
acquiring the PDU session identifier selected on the PDU session selection page;
determining a target PDU session to be deactivated according to the PDU session identifier;
and deactivating the target PDU session.
7. The session management method according to claim 2, wherein the determining a target PDU session to be deactivated according to the established deactivation priority of each PDU session comprises:
and acquiring the established PDU session with the highest deactivation priority as a target PDU session to be deactivated.
8. The session management method according to claim 7, wherein the method further comprises:
obtaining a deactivation identifier of the target PDU session;
determining that the target PDU session deactivation was successful when it is determined that the deactivation identifier is a first identifier;
determining that the target PDU session deactivation failed when it is determined that the deactivation identifier is a second identifier.
9. A session management apparatus, characterized in that the session management apparatus comprises a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for enabling connection communication between the processor and the memory, wherein the computer program, when executed by the processor, implements the steps of the session management method according to any one of claims 1 to 8.
10. A storage medium for computer-readable storage, wherein the storage medium stores one or more programs which are executable by one or more processors to implement the steps of the session management method of any one of claims 1 to 8.
CN202010591572.7A 2020-06-24 2020-06-24 Session management method, device and storage medium Pending CN113839981A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010591572.7A CN113839981A (en) 2020-06-24 2020-06-24 Session management method, device and storage medium
PCT/CN2021/094174 WO2021258912A1 (en) 2020-06-24 2021-05-17 Session management method and apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010591572.7A CN113839981A (en) 2020-06-24 2020-06-24 Session management method, device and storage medium

Publications (1)

Publication Number Publication Date
CN113839981A true CN113839981A (en) 2021-12-24

Family

ID=78964732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010591572.7A Pending CN113839981A (en) 2020-06-24 2020-06-24 Session management method, device and storage medium

Country Status (2)

Country Link
CN (1) CN113839981A (en)
WO (1) WO2021258912A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428705A (en) * 2017-09-01 2019-03-05 中国移动通信有限公司研究院 Carrier activation method, equipment and the computer readable storage medium of multicarrier system
CN110169140A (en) * 2017-01-09 2019-08-23 华为技术有限公司 System and method for session management
CN110474969A (en) * 2019-07-29 2019-11-19 华为技术有限公司 Conversation managing method and device
CN110519809A (en) * 2018-05-21 2019-11-29 华为技术有限公司 Manage the methods, devices and systems of PDU session
US20200187276A1 (en) * 2017-08-15 2020-06-11 Huawei Technologies Co., Ltd. Session Handling Method and Apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102395384B1 (en) * 2017-03-20 2022-05-10 삼성전자 주식회사 A method for supporting efficient pdu session activation and deactivation in cellular networks
CN108811009B (en) * 2017-05-05 2021-06-29 大唐移动通信设备有限公司 PDU session connection management method and device
CN110351890B (en) * 2018-04-04 2023-05-09 华为技术有限公司 Communication method and communication equipment under centralized unit-distributed unit architecture
CN110933709B (en) * 2019-12-24 2023-02-28 展讯通信(上海)有限公司 Protocol data unit session management method and communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110169140A (en) * 2017-01-09 2019-08-23 华为技术有限公司 System and method for session management
US20200187276A1 (en) * 2017-08-15 2020-06-11 Huawei Technologies Co., Ltd. Session Handling Method and Apparatus
CN109428705A (en) * 2017-09-01 2019-03-05 中国移动通信有限公司研究院 Carrier activation method, equipment and the computer readable storage medium of multicarrier system
CN110519809A (en) * 2018-05-21 2019-11-29 华为技术有限公司 Manage the methods, devices and systems of PDU session
CN110474969A (en) * 2019-07-29 2019-11-19 华为技术有限公司 Conversation managing method and device

Also Published As

Publication number Publication date
WO2021258912A1 (en) 2021-12-30

Similar Documents

Publication Publication Date Title
EP3614786B1 (en) Data transmission method and apparatus
EP3664372A1 (en) Network management method and related device
US20160094982A1 (en) Call Management Method and Apparatus for Multi-SIM Multi-Active Terminal
EP3166349A1 (en) Internet access traffic sharing method, device and terminal
CN110958281B (en) Data transmission method and communication device based on Internet of things
CN108011899B (en) Session establishment optimization method, device and system
CN105916144B (en) Techniques for dynamically supporting different authentication algorithms
KR101617323B1 (en) Service scheduling method and apparatus, and network device
US20220322088A1 (en) Network roaming method, terminal device, and computer readable storage medium
EP2915370B1 (en) Enhanced extended access class barring
CN113727369A (en) Management method of network component and network equipment
WO2019047117A1 (en) Network access method, terminal device and network device
WO2022052875A1 (en) Terminal cross-region communication method, network element device, and storage medium
CN111049831B (en) Generation control method and device of user hidden identifier and terminal
CN107148035B (en) Frequency band selection method and device and wireless equipment
CN105511587B (en) Method and device for controlling radio frequency link
EP2931000B1 (en) Wireless communication apparatus, wireless communication method, and wireless communication program
US10511494B2 (en) Network control method and apparatus
CN106330504B (en) Method for realizing application and service controller
US10045372B2 (en) Management of the use of a gateway by a plurality of terminals
CN113839981A (en) Session management method, device and storage medium
CN106488537B (en) Sending method, device and mobile terminal
CN114745792A (en) Resource scheduling method and device, equipment and computer readable storage medium
CN113099468A (en) Application program internet path control method and device, electronic equipment and storage medium
CN111124445B (en) Home gateway upgrading method and home gateway

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