Session establishment method, system, device, equipment and storage medium

By introducing the collaborative work of the first and second session management function modules in 5G LAN technology, the problem of poor session quality in 5G LAN group is solved, and more efficient bandwidth management and user experience improvement is achieved.

CN116133058BActive Publication Date: 2025-05-02CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211615522.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-15
Publication Date
2025-05-02
Estimated Expiration
2042-12-15

Smart Images

  • Figure CN116133058B_ABST
    Figure CN116133058B_ABST
Patent Text Reader

Abstract

The present disclosure provides a session establishment method, system, device, equipment and storage medium, which are applied to a first session management function module, and the method includes: in response to a session request sent by a terminal, obtaining the bandwidth parameter of the session group in which the terminal is located, the session request includes the bandwidth data required for the session, and when the bandwidth parameter is less than the contract parameter, sending the session request to the second session management function module, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data, and establishing a session when receiving a first response signal sent by the second management function module, wherein both the first session management function module and the second session management function module update the bandwidth parameter stored locally based on the bandwidth data of the session. The present disclosure improves the communication efficiency of the session group and improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of the times, communications have entered the 5G era. With the advent of the 5G era, 5G LAN technology has gradually become the current hot technology.

[0003] 5G LAN technology is similar to local area network or VPN type services. Customers can customize 5G LAN communication groups according to actual needs. Terminals in the group can communicate point-to-point or point-to-multipoint, including Ethernet communication and IP communication.

[0004] However, in the related art, when communicating through 5G LAN, due to the lack of management of terminals in the 5G LAN call group, the terminal session quality in the current call group is poor, which reduces the user experience. Summary of the invention

[0005] The present disclosure provides a session establishment method, system, apparatus, device and storage medium, which at least to some extent overcome the problem of poor group session quality in current 5G LAN technology.

[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0007] According to one aspect of the present disclosure, a session establishment method is provided, which is applied to a first session management function module, including:

[0008] In response to a session request sent by a terminal, obtaining a bandwidth parameter of a session group in which the terminal is located, wherein the session request includes bandwidth data required for the session;

[0009] When the bandwidth parameter is less than the contracted bandwidth parameter, sending a session request to the second session management function module, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data;

[0010] A session of the terminal is established when a first response signal sent by the second management function module is received, and a bandwidth parameter stored locally is modified based on the bandwidth data.

[0011] In one embodiment of the present disclosure, before obtaining the bandwidth parameter of the session group in which the terminal is located in response to the session request sent by the terminal, and the session request includes the bandwidth data required for the session, the method further includes:

[0012] Receiving a second modification event sent by a second session management function module;

[0013] The bandwidth parameter stored locally is modified based on the second modification event to obtain a modified bandwidth parameter.

[0014] In one embodiment of the present disclosure, after obtaining the bandwidth parameter of the session group in which the terminal is located in response to the session request sent by the terminal, and the session request includes the bandwidth data required for the session, if the bandwidth parameter is less than the contracted bandwidth parameter, before sending the session request to the second session management function module, the method further includes:

[0015] receiving a third modification event sent by the second session management function module;

[0016] Modifying the bandwidth parameter stored locally based on the third modification event to obtain a modified bandwidth parameter;

[0017] If the sum of the modified bandwidth parameter and the bandwidth data is not less than the contracted bandwidth data, the session request sent to the second session management function module is canceled, and a session establishment failure request is sent to the terminal.

[0018] In one embodiment of the present disclosure, the method further includes:

[0019] In response to a session release request sent by the terminal, the session release request includes bandwidth data occupied by the session, sending the session release request to the second session management function module, so that the second session management function module modifies the bandwidth parameters stored in the second management function module based on the bandwidth data;

[0020] Upon receiving a second response signal sent by the second session management function module, releasing the session;

[0021] Modify the locally stored bandwidth parameters based on the bandwidth data.

[0022] In one embodiment of the present disclosure, in the case of receiving a second response signal sent by the second session management function module, after releasing the session: the method further includes:

[0023] Send a session establishment invitation to a terminal that has failed to successfully establish a session in the past.

[0024] In one embodiment of the present disclosure, before sending a session establishment invitation to a terminal that has failed to successfully establish a session in the past, after modifying the bandwidth parameters stored locally based on the bandwidth data, the method further includes:

[0025] Determine the target terminal based on the modified bandwidth parameter, the contracted bandwidth parameter, and the bandwidth data required in the session request sent by the terminal that has failed to successfully establish a session in the past;

[0026] Sending a session establishment invitation to a terminal that has failed to successfully establish a session in the past, including:

[0027] Send a session invitation to the target terminal.

[0028] According to another aspect of the present disclosure, a session establishment system is provided, including:

[0029] It includes a first session management function module and a second session management function module;

[0030] The first session management function module is used to respond to a session request sent by the terminal, obtain a bandwidth parameter of a session group in which the terminal is located, the session request includes bandwidth data required for the session, send the session request to the second session management function module when the bandwidth parameter is less than the contracted bandwidth parameter, establish a session of the terminal when a first response signal sent by the second management function module is received, and modify the bandwidth parameter stored locally based on the bandwidth data;

[0031] The second session management function module is used to modify the bandwidth parameters stored in the second management function module based on the bandwidth data in the session request when receiving the session request, and send a first response signal to the second management function module.

[0032] According to another aspect of the present disclosure, a session establishment device is provided, which is applied to a first session management function module, including:

[0033] An acquisition module, configured to acquire bandwidth parameters of a session group in which the terminal is located in response to a session request sent by the terminal, wherein the session request includes bandwidth data required for the session;

[0034] A first sending module, configured to send a session request to a second session management function module when the bandwidth parameter is less than the contracted bandwidth parameter, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data;

[0035] The establishing module is used to establish a session of the terminal when a first response signal sent by the second management function module is received, and to modify the bandwidth parameters stored locally based on the bandwidth data.

[0036] In one embodiment of the present disclosure, the device further includes:

[0037] A first receiving module, in response to a session request sent by the terminal, obtains a bandwidth parameter of a session group in which the terminal is located, wherein the session request includes bandwidth data required for the session, and is used to receive a second modification event sent by a second session management function module;

[0038] The first modification module is used to modify the bandwidth parameter stored locally based on the second modification event to obtain the modified bandwidth parameter.

[0039] In one embodiment of the present disclosure, the device further includes:

[0040] a second receiving module, in response to a session request sent by the terminal, obtaining a bandwidth parameter of a session group in which the terminal is located, after the session request includes bandwidth data required for the session, and before sending the session request to the second session management function module if the bandwidth parameter is less than the contracted bandwidth parameter, for receiving a third modification event sent by the second session management function module;

[0041] A second modification module, configured to modify the bandwidth parameter stored locally based on the third modification event to obtain a modified bandwidth parameter;

[0042] The second sending module is used to cancel sending the session request to the second session management function module and send a session establishment failure request to the terminal if the sum of the modified bandwidth parameter and the bandwidth data is not less than the contracted bandwidth data.

[0043] In one embodiment of the present disclosure, the device further includes:

[0044] a third sending module, configured to respond to a session release request sent by the terminal, the session release request including bandwidth data occupied by the session, and send the session release request to the second session management function module, so that the second session management function module modifies the bandwidth parameters stored in the second management function module based on the bandwidth data;

[0045] A release module, configured to release the session upon receiving a second response signal sent by the second session management function module;

[0046] The third modification module is used to modify the bandwidth parameters stored locally based on the bandwidth data.

[0047] In one embodiment of the present disclosure, the device further includes:

[0048] The fourth sending module is used for sending a session establishment invitation to a terminal that has failed to successfully establish a session in the past after releasing the session when receiving the second response signal sent by the second session management function module.

[0049] In one embodiment of the present disclosure, the device further includes:

[0050] A determination module, before sending a session establishment invitation to a terminal that has failed to successfully establish a session in the past, after modifying the bandwidth parameters stored locally based on the bandwidth data, for determining a target terminal based on the modified bandwidth parameters, the contracted bandwidth parameters, and the bandwidth data required in the session request sent by the terminal that has failed to successfully establish a session in the past;

[0051] The fourth sending module includes:

[0052] The first sending unit is configured to send a session invitation to a target terminal.

[0053] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-mentioned session establishment method by executing the executable instructions.

[0054] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned session establishment method is implemented.

[0055] The session establishment method provided by the embodiment of the present disclosure is applied to a first session management function module, and the method includes: in response to a session request sent by a terminal, obtaining a bandwidth parameter of a session group in which the terminal is located, the session request including bandwidth data required for the session, and when the bandwidth parameter is less than the contract parameter, sending the session request to a second session management function module, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data, and establishing a session when a first response signal sent by the second management function module is received, wherein the first session management function module and the second session management function module both update the bandwidth parameters stored in their respective local areas based on the bandwidth data of the session, thereby avoiding the bandwidth used by the session group from exceeding the contract bandwidth, improving the communication efficiency of the session group, and improving the user experience.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0058] Figure 1 A diagram showing the architecture of a session establishment system in an embodiment of the present disclosure is shown;

[0059] Figure 2 A flow chart of a session establishment method according to an embodiment of the present disclosure is shown;

[0060] Figure 3 Another flow chart of a method for establishing a session in an embodiment of the present disclosure is shown;

[0061] Figure 4 A flow chart of another session establishment method in an embodiment of the present disclosure is shown;

[0062] Figure 5A flow chart of another session establishment method in an embodiment of the present disclosure is shown;

[0063] Figure 6 A flow chart of another session establishment method in an embodiment of the present disclosure is shown;

[0064] Figure 7 A schematic diagram of a session establishment device in an embodiment of the present disclosure is shown; and

[0065] Figure 8 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0066] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0067] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0068] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0069] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0070] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0071] In order to solve the above problems, the embodiments of the present disclosure provide a session establishment method, system, apparatus, device and storage medium.

[0072] For ease of understanding, the present disclosure first introduces a session establishment system.

[0073] Figure 1 A session establishment system architecture diagram in an embodiment of the present disclosure is shown.

[0074] like Figure 1 As shown, the session establishment system may include:

[0075] A first session management function module 102 and a second session management function module 104;

[0076] The first session management function module 102 is used to respond to a session request sent by the terminal, obtain a bandwidth parameter of a session group in which the terminal is located, the session request includes bandwidth data required for the session, and send the session request to the second session management function module when the bandwidth parameter is less than the contracted bandwidth parameter, and establish a session of the terminal when receiving a first response signal sent by the second management function module, and modify the bandwidth parameter stored locally based on the bandwidth data.

[0077] The second session management function module 104 is configured to, upon receiving a session request, modify bandwidth parameters stored in the second management function module based on bandwidth data in the session request, and send a first response signal to the second management function module.

[0078] In some embodiments, the first session management function module 102 and the second session management function module 104 may be connected via a wired network or a wireless network.

[0079] In some embodiments, the wireless network or wired network described above uses standard communication technology and / or protocols. The network is typically the Internet, but may also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or any combination of a virtual private network). In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent data exchanged over the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec), etc. may be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies may also be used to replace or supplement the above data communication technologies.

[0080] Based on the same inventive concept, an embodiment of the present disclosure provides a session establishment method. In principle, the method can be executed by any electronic device with computing and processing capabilities.

[0081] Figure 2 A flow chart of a session establishment method provided by an embodiment of the present disclosure is shown. It should be noted that the session establishment method is applied to a first session management function module, and the first session management function module can be any module in the session management system, such as Figure 2 As shown, the session establishment method provided by the embodiment of the present disclosure may include:

[0082] S210 , in response to a session request sent by a terminal, obtaining bandwidth parameters of a session group in which the terminal is located, wherein the session request includes bandwidth data required for the session.

[0083] In one embodiment, the terminal may be a terminal in a session group, and the session group may be a 5G LAN group.

[0084] In one embodiment, the conversation group needs to occupy a certain bandwidth, and the above bandwidth data is the bandwidth data required by the conversation request initiated by the terminal.

[0085] In one embodiment, the bandwidth parameter may be bandwidth data occupied by the other sessions in the session group where the terminal is located.

[0086] In one embodiment, the terminal may be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, augmented reality devices, virtual reality devices, etc.

[0087] In one embodiment, the terminal may transmit via a wired network or a wireless network.

[0088] In one embodiment, the first session management function module may include a service management function (SMF) network element.

[0089] S220: When the bandwidth parameter is less than the contracted bandwidth parameter, send a session request to the second session management function module, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data.

[0090] In one embodiment, the bandwidth parameter and the contracted bandwidth parameter may be stored in the first session management function module. When the terminal initiates a session request, the first session management function module may respond to the session request and compare the bandwidth parameter with the contracted bandwidth parameter.

[0091] In one embodiment, the second session management function module may be an SMF network element corresponding to the terminal to be responded to the session request initiated by the terminal.

[0092] Exemplarily, after the terminal initiates a session request, multiple terminals correspond to different SMF network elements respectively, and the second session management function module can be any of the SMF network elements.

[0093] In one embodiment, the second session management function module may also store bandwidth parameters and contracted bandwidth parameters of the session group.

[0094] In one embodiment, after the second session management function module receives the bandwidth data, since the number of sessions in the group changes, the bandwidth occupied by the sessions also changes, so the stored bandwidth parameters can be modified based on the bandwidth data.

[0095] In one embodiment, after modifying the bandwidth parameter, the second management function module may compare the modified bandwidth parameter with the contracted bandwidth parameter. If the modified bandwidth parameter is still not greater than the contracted bandwidth parameter, the second session management function module sends a first response signal to the first session management function module.

[0096] S230: establishing a session of the terminal upon receiving the first response signal sent by the second management function module, and modifying the bandwidth parameters stored locally based on the bandwidth data.

[0097] In one embodiment, after receiving the first response signal sent by the second session management module, the first management module determines that the session initiated by the terminal can be established, then the first session management module establishes the session and modifies the bandwidth parameters stored in the first session management module according to the bandwidth data.

[0098] The session establishment method provided by the embodiment of the present disclosure is applied to a first session management function module, and the method includes: in response to a session request sent by a terminal, obtaining a bandwidth parameter of a session group in which the terminal is located, the session request including bandwidth data required for the session, and when the bandwidth parameter is less than the contract parameter, sending the session request to a second session management function module, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data, and establishing a session when a first response signal sent by the second management function module is received, wherein the first session management function module and the second session management function module both update the bandwidth parameters stored in their respective local areas based on the bandwidth data of the session, thereby avoiding the bandwidth used by the session group from exceeding the contract bandwidth, improving the communication efficiency of the session group, and improving the user experience.

[0099] Figure 3 FIG. 1 shows another flow chart of a session establishment method provided by an embodiment of the present disclosure. It should be noted that the session establishment method is applied to a first session management function module, and the first session management function module can be any module in a session management system, such as Figure 3 As shown, the session establishment method provided by the embodiment of the present disclosure may include:

[0100] S310: Receive a second modification event sent by a second session management function module.

[0101] In one embodiment, a group may include multiple session management function modules. When any other session management function module sends a session request to the second session management function module and establishes a session, the second session management function module may send a second modification event to the first session management function module to enable the first session management function module to modify the bandwidth parameters stored in the first session management function module.

[0102] S320: Modify the bandwidth parameter stored locally based on the second modification event to obtain a modified bandwidth parameter.

[0103] In one embodiment, after the first session management function module modifies the bandwidth parameters stored locally, the bandwidth parameter data stored in multiple session management function modules in the group can be made consistent.

[0104] S330, in response to a session request sent by the terminal, obtaining a bandwidth parameter of a session group in which the terminal is located, the session request including bandwidth data required for the session;

[0105] S340, when the bandwidth parameter is less than the contracted bandwidth parameter, sending a session request to the second session management function module, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data;

[0106] S350: establishing a terminal session when a first response signal sent by the second management function module is received, and modifying a bandwidth parameter stored locally based on the bandwidth data.

[0107] In the session establishment method provided by the embodiment of the present disclosure, a modification event is sent to the first session management function module through the second session management function module, so that the first session management function module modifies the bandwidth parameters stored in the first session management function module, so that the data of the bandwidth parameters stored in multiple session management function modules are consistent, thereby avoiding the problem of being unable to reach a consensus on whether to establish a session due to inconsistent bandwidth parameters stored in multiple session management function modules.

[0108] Figure 4 A flow chart of another session establishment method provided by an embodiment of the present disclosure is shown. It should be noted that the session establishment method is applied to a first session management function module, and the first session management function module can be any module in the session management system, such as Figure 4 As shown, the session establishment method provided by the embodiment of the present disclosure may include:

[0109] S410: Receive a third modification event sent by the second session management function module.

[0110] In one embodiment, in one embodiment, a group may include multiple session management function modules. When any other session management function module sends a session request to the second session management function module and establishes a session, the second session management function module may send a third modification event to the first session management function module.

[0111] S420: Modify the bandwidth parameter stored locally based on the third modification event to obtain a modified bandwidth parameter.

[0112] In some embodiments, the third modification event may include bandwidth data occupied by the session established by the second session management function module.

[0113] In some embodiments, the first session management function module may modify the bandwidth parameters stored locally based on the bandwidth data.

[0114] S430: If the sum of the modified bandwidth parameter and the bandwidth data is not less than the contracted bandwidth data, cancel sending the session request to the second session management function module, and send a session establishment failure request to the terminal.

[0115] In one embodiment, the bandwidth data is bandwidth data in a session request sent by a terminal corresponding to the first session management function module.

[0116] In one embodiment, when the sum of the modified bandwidth parameter and the bandwidth parameter in the session request sent by the terminal is not less than the contracted bandwidth data, it means that the bandwidth data occupied by all sessions in the group has exceeded the contracted bandwidth data. In this case, the first session management function module determines that the session request sent by the terminal cannot be supported, and cancels sending the session request to the second session management function module, and sends a session establishment failure request to the terminal.

[0117] Figure 5 1 shows another flow chart of a session establishment method provided by an embodiment of the present disclosure. It should be noted that the session establishment method is applied to a first session management function module, and the first session management function module can be any module in a session management system, such as Figure 5 As shown, the session establishment method provided by the embodiment of the present disclosure may include:

[0118] S510, in response to a session release request sent by the terminal, the session release request including bandwidth data occupied by the session, sending the session release request to the second session management function module, so that the second session management function module modifies the bandwidth parameters stored in the second management function module based on the bandwidth data.

[0119] In one embodiment, the session release request may be a request sent by the terminal to the first session management function module when canceling the session.

[0120] In one embodiment, the second session management function module modifying the bandwidth parameter based on the bandwidth data included in the release request may include subtracting the bandwidth data included in the release request from the bandwidth parameter to obtain the modified bandwidth parameter.

[0121] S520: When a second response signal sent by the second session management function module is received, release the session.

[0122] S530: Modify the bandwidth parameters stored locally based on the bandwidth data.

[0123] In one embodiment, the method by which the first session management function module modifies the bandwidth parameters stored locally may be the same as the method by which the second session management function module modifies the bandwidth parameters, which will not be described in detail herein.

[0124] Figure 6 1 shows another flow chart of a session establishment method provided by an embodiment of the present disclosure. It should be noted that the session establishment method is applied to a first session management function module, and the first session management function module can be any module in a session management system, such as Figure 6 As shown, the session establishment method provided by the embodiment of the present disclosure may include:

[0125] S610: Determine a target terminal based on the modified bandwidth parameter, the subscribed bandwidth parameter, and bandwidth data required in a session request sent by a terminal that has failed to successfully establish a session in the past.

[0126] In one embodiment, after a terminal releases a session, the bandwidth parameter in the group becomes smaller, and session invitations may be sent to terminals that have not successfully established sessions in history.

[0127] In some embodiments, a threshold interval may be determined based on the difference between the modified bandwidth parameter and the contracted bandwidth parameter, and then the target terminal may be determined based on the threshold interval.

[0128] For example, if the modified bandwidth parameter is 500M and the contracted bandwidth parameter is 600M, it can be determined that the terminal initiating the session request with bandwidth data within 100M is the target terminal.

[0129] S620: Send a session invitation to the target terminal.

[0130] In one embodiment, the target terminal includes a terminal that has historically failed to successfully establish a session.

[0131] Based on the same inventive concept, an embodiment of the present disclosure provides a network detection device.

[0132] Figure 7 1 shows another session establishment device architecture diagram provided by an embodiment of the present disclosure. It should be noted that the session establishment method is applied to the first session management function module, and the first session management function module can be any module in the session management system, such as Figure 7 As shown, the session establishment device 700 provided in the embodiment of the present disclosure may include:

[0133] An acquisition module 710, configured to acquire bandwidth parameters of a session group in which the terminal is located in response to a session request sent by the terminal, wherein the session request includes bandwidth data required for the session;

[0134] The first sending module 720 is used to send the session request to the second session management function module when the bandwidth parameter is less than the contracted bandwidth parameter, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data;

[0135] The establishing module 730 is used to establish a session of the terminal when receiving the first response signal sent by the second management function module, and modify the bandwidth parameters stored locally based on the bandwidth data.

[0136] The session establishment device provided by the embodiment of the present disclosure is applied to a first session management function module, and the method includes: in response to a session request sent by a terminal, obtaining a bandwidth parameter of a session group in which the terminal is located, the session request includes bandwidth data required for the session, and when the bandwidth parameter is less than the contract parameter, sending the session request to a second session management function module, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data, and establishing a session when a first response signal sent by the second management function module is received, wherein the first session management function module and the second session management function module both update the bandwidth parameters stored in their respective local areas based on the bandwidth data of the session, thereby avoiding the bandwidth used by the session group from exceeding the contract bandwidth, improving the communication efficiency of the session group, and improving the user experience.

[0137] In one embodiment of the present disclosure, the device further includes:

[0138] A first receiving module, in response to a session request sent by the terminal, obtains a bandwidth parameter of a session group in which the terminal is located, wherein the session request includes bandwidth data required for the session, and is used to receive a second modification event sent by a second session management function module;

[0139] The first modification module is used to modify the bandwidth parameter stored locally based on the second modification event to obtain the modified bandwidth parameter.

[0140] In one embodiment of the present disclosure, the device further includes:

[0141] a second receiving module, in response to a session request sent by the terminal, obtaining a bandwidth parameter of a session group in which the terminal is located, after the session request includes bandwidth data required for the session, and before sending the session request to the second session management function module if the bandwidth parameter is less than the contracted bandwidth parameter, for receiving a third modification event sent by the second session management function module;

[0142] A second modification module, configured to modify the bandwidth parameter stored locally based on the third modification event to obtain a modified bandwidth parameter;

[0143] The second sending module is used to cancel sending the session request to the second session management function module and send a session establishment failure request to the terminal if the sum of the modified bandwidth parameter and the bandwidth data is not less than the contracted bandwidth data.

[0144] In one embodiment of the present disclosure, the device further includes:

[0145] a third sending module, configured to respond to a session release request sent by the terminal, the session release request including bandwidth data occupied by the session, and send the session release request to the second session management function module, so that the second session management function module modifies the bandwidth parameters stored in the second management function module based on the bandwidth data;

[0146] A release module, configured to release the session upon receiving a second response signal sent by the second session management function module;

[0147] The third modification module is used to modify the bandwidth parameters stored locally based on the bandwidth data.

[0148] In one embodiment of the present disclosure, the device further includes:

[0149] The fourth sending module is used for sending a session establishment invitation to a terminal that has failed to successfully establish a session in the past after releasing the session when receiving the second response signal sent by the second session management function module.

[0150] In one embodiment of the present disclosure, the device further includes:

[0151] A determination module, before sending a session establishment invitation to a terminal that has failed to successfully establish a session in the past, after modifying the bandwidth parameters stored locally based on the bandwidth data, for determining a target terminal based on the modified bandwidth parameters, the contracted bandwidth parameters, and the bandwidth data required in the session request sent by the terminal that has failed to successfully establish a session in the past;

[0152] The fourth sending module includes:

[0153] The first sending unit is configured to send a session invitation to a target terminal.

[0154] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0155] Refer to the following Figure 8 The electronic device 800 according to this embodiment of the present disclosure is described. Figure 8The electronic device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0156] like Figure 8 As shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 may include but are not limited to: at least one processing unit 810, at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).

[0157] The storage unit stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 performs the steps of various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 810 can perform the following steps of the above method embodiment:

[0158] In response to a session request sent by a terminal, obtaining a bandwidth parameter of a session group in which the terminal is located, wherein the session request includes bandwidth data required for the session;

[0159] When the bandwidth parameter is less than the contracted bandwidth parameter, sending a session request to the second session management function module, so that the second session management function module modifies the bandwidth parameter stored in the second management function module based on the bandwidth data;

[0160] A session of the terminal is established when a first response signal sent by the second management function module is received, and a bandwidth parameter stored locally is modified based on the bandwidth data.

[0161] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 8201 and / or a cache memory unit 8202 , and may further include a read-only memory unit (ROM) 8203 .

[0162] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0163] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0164] The electronic device 800 may also communicate with one or more external devices 840 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 800, and / or communicate with any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 850. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 860. As shown, the network adapter 860 communicates with other modules of the electronic device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0165] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0166] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, which may be a readable signal medium or a readable storage medium. A program product capable of implementing the above method of the present disclosure is stored thereon. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above “Exemplary Method” section of this specification.

[0167] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0168] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0169] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0170] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0171] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0172] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0173] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0174] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. A session establishment method, characterized in that: Applied to the first session management function module, including: In response to a session request sent by a terminal, obtaining a bandwidth parameter of a session group in which the terminal is located, wherein the session request includes bandwidth data required for the session, and the bandwidth parameter includes total bandwidth data occupied by other sessions in the session group in which the terminal is located; When the bandwidth parameter is less than the contracted bandwidth parameter, sending the session request to the second session management function module, so that the second session management function module modifies the bandwidth parameter stored in the second session management function module based on the bandwidth data; A session of the terminal is established when a first response signal sent by the second session management function module is received, and a bandwidth parameter stored locally is modified based on the bandwidth data.

2. The session establishment method according to claim 1, characterized in that: Before obtaining the bandwidth parameter of the session group in which the terminal is located in response to the session request sent by the terminal, wherein the session request includes bandwidth data required for the session, the method further includes: receiving a second modification event sent by the second session management function module; The bandwidth parameter stored locally is modified based on the second modification event to obtain a modified bandwidth parameter.

3. The session establishment method according to claim 1, characterized in that: After obtaining the bandwidth parameter of the session group in which the terminal is located in response to the session request sent by the terminal, wherein the session request includes bandwidth data required for the session, and before sending the session request to the second session management function module when the bandwidth parameter is less than the contracted bandwidth parameter, the method further includes: receiving a third modification event sent by the second session management function module; Modifying the bandwidth parameter stored locally based on the third modification event to obtain a modified bandwidth parameter; If the sum of the modified bandwidth parameter and the bandwidth data is not less than the contracted bandwidth parameter, the session request sent to the second session management function module is canceled, and a session establishment failure request is sent to the terminal.

4. The session establishment method according to claim 1, characterized in that: The method further comprises: In response to a session release request sent by the terminal, the session release request includes bandwidth data occupied by the session, sending the session release request to the second session management function module, so that the second session management function module modifies the bandwidth parameters stored in the second session management function module based on the bandwidth data; Upon receiving a second response signal sent by the second session management function module, releasing the session; The locally stored bandwidth parameters are modified based on the bandwidth data.

5. The session establishment method according to claim 4, characterized in that: In the case of receiving the second response signal sent by the second session management function module, after releasing the session: the method further includes: Send a session establishment invitation to the terminal that has failed to successfully establish a session in the past.

6. The session establishment method according to claim 5, characterized in that: Before sending a session establishment invitation to a terminal that has failed to successfully establish a session in the past, and after modifying a bandwidth parameter stored locally based on the bandwidth data, the method further includes: Determine the target terminal based on the modified bandwidth parameter, the contracted bandwidth parameter, and the bandwidth data required in the session request sent by the terminal that has failed to successfully establish a session in the past; The sending of a session establishment invitation to a terminal that has failed to successfully establish a session in the past includes: Send a session invitation to the target terminal.

7. A session establishment system, characterized in that: The system includes a first session management function module and a second session management function module; The first session management function module is configured to obtain a bandwidth parameter of a session group in which the terminal is located in response to a session request sent by a terminal, wherein the session request includes bandwidth data required for the session, and when the bandwidth parameter is less than a contracted bandwidth parameter, send the session request to the second session management function module, and when a first response signal sent by the second session management function module is received, establish a session of the terminal, and modify the bandwidth parameter stored locally based on the bandwidth data; The second session management function module is used to modify the bandwidth parameters stored in the second session management function module based on the bandwidth data in the session request when receiving the session request, and send a first response signal to the first session management function module, wherein the bandwidth parameters include the total bandwidth occupied by other sessions in the session group where the terminal is located.

8. A session establishing device, characterized in that: Applied to the first session management function module, including: An acquisition module, configured to acquire bandwidth parameters of a session group in which the terminal is located in response to a session request sent by the terminal, wherein the session request includes bandwidth data required for the session; A first sending module is used to send the session request to a second session management function module when the bandwidth parameter is less than the contracted bandwidth parameter, so that the second session management function module modifies the bandwidth parameter stored in the second session management function module based on the bandwidth data, wherein the bandwidth parameter includes bandwidth data of total occupancy of other sessions in the session group where the terminal is located; An establishing module is used to establish a session of the terminal when a first response signal sent by the second session management function module is received, and to modify a bandwidth parameter stored locally based on the bandwidth data.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the session establishment method described in any one of claims 1 to 6 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the session establishment method described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Slicing control method and device

    CN113132132A

  • Local area network communication method, device, and system

    WO2020147760A1