A session establishment system, method, electronic device and storage medium
By introducing access management network elements and session control network elements in the session establishment system, decoupling the registration and authentication and session establishment processes, and selecting target service anchors to generate configuration information, the tight coupling of session establishment and access authentication in the prior art is solved. The problem of this problem realizes business scalability and multi-session support, and improves user experience.
Patent Information
- Application Number
- CN202210751425.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-06-28
AI Technical Summary
In the prior art, fixed user device session establishment is tightly coupled with access authentication, resulting in poor service scalability, and PPPoE and IpoE are mutually incompatible protocol systems, limiting service scalability.
A session establishment system is designed, including user equipment, access management network elements and session control network elements. After registration and authentication, signing information and relay agent information are obtained, target service anchor points are selected to generate configuration information, and the solution to session services is realized. Coupled, the user equipment only needs to authenticate and authenticate once to establish multiple sessions.
It realizes the decoupling of the user registration and authentication process and the session establishment process, enhances business scalability, supports multiple session types and rich business forms, and improves user experience.
Smart Images

Figure CN115002933B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a session establishment system, method, electronic device and storage medium. Background Art
[0002] In the prior art, fixed user device session establishment is based on a network tunneling protocol (Point-to-Point Protocol Over Ethernet, PPPOE) or IpoE (IP over Ethernet, a broadband access authentication system) that encapsulates the point-to-point protocol in an Ethernet framework. Access authentication is tightly coupled with session establishment. Each user's contracted session needs to be authenticated when accessing a fixed user device, and the service scalability is not strong. Summary of the invention
[0003] The purpose of the embodiments of the present disclosure is to provide a session establishment system, method, electronic device and storage medium to enhance service scalability. The specific technical solution is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a session establishment system is provided, the system comprising:
[0005] User equipment and service equipment, the service equipment including a service anchor point, an access management network element, and a session control network element;
[0006] The user equipment is used to send a session establishment request to the access management network element when the registration authentication is passed;
[0007] The access management network element is used to forward the session establishment request to the session control network element;
[0008] The session control network element is configured to, if the user equipment registration authentication passes, obtain the subscription information and relay agent information of the user equipment after receiving the session establishment request; select a target service anchor point for providing session services for the user equipment from each of the service anchor points according to the subscription information and relay agent information of the user equipment; generate first configuration information required for the target service anchor point to provide session services for the user equipment, and generate second configuration information required for the user equipment to access the target service anchor point; send the first configuration information to the target service anchor point, and send the second configuration information to the access management network element;
[0009] The access management network element is further used to forward the second configuration information to the user equipment;
[0010] The user equipment is further configured to configure itself according to the second configuration information, and send a session activation request to the target service anchor point based on its own configuration;
[0011] The target service anchor point is used to configure itself according to the first configuration information, and establish a session with the user equipment based on its own configuration and the session activation request.
[0012] In a possible implementation, the access management network element is further used to, after the user equipment registration authentication is passed, send a first message indicating that the user equipment registration authentication is passed to the session control network element, so that the session control network element marks that the user equipment registration authentication is passed; and send a second message indicating that the user equipment registration authentication is passed to the user equipment, so that the user equipment marks that its own registration authentication is passed.
[0013] In a possible implementation manner, the service device further includes: a DHCP server and a contract information server;
[0014] The DHCP server is used to store the relay agent information of the user equipment;
[0015] The contract information server is used to store the contract information of the user equipment;
[0016] The session control network element is specifically configured to obtain the subscription information of the user equipment from the subscription information server, and to obtain the relay agent information of the user equipment from the DHCP server.
[0017] In a possible implementation manner, both the first configuration information and the second configuration information include a session identifier; the session activation request includes the session identifier;
[0018] The target service anchor point is specifically used to add the session identifier in the first configuration information to a session list; after receiving the session activation request, query the session list based on the session identifier in the session activation request; if the session identifier in the session activation request is queried in the session list and the session resources of the target service anchor point allow adding a new session, establish a session with the user equipment; otherwise, reject the session with the user equipment.
[0019] According to a second aspect of an embodiment of the present disclosure, a session establishment method is provided, the method comprising:
[0020] The access management network element receives a session establishment request sent by the user equipment, and forwards the session establishment request to the session control network element;
[0021] In the case where the user equipment registration authentication passes, after receiving the session establishment request, the session control network element obtains the subscription information and relay agent information of the user equipment; selects a target service anchor point for providing session services for the user equipment from each service anchor point according to the subscription information and relay agent information of the user equipment; generates first configuration information required for the target service anchor point to provide session services for the user equipment, and generates second configuration information required for the user equipment to access the target service anchor point; sends the first configuration information to the target service anchor point, and sends the second configuration information to the access management network element; wherein the service anchor point, the access management network element, and the session control network element all include service equipment;
[0022] The access management network element receives the second configuration information and forwards the second configuration information to the user equipment, so that the user equipment configures itself according to the second configuration information and sends a session activation request to the target service anchor point based on its own configuration;
[0023] The target service anchor point configures itself according to the first configuration information, and establishes a session with the user equipment based on its own configuration and the session activation request.
[0024] In a possible implementation, the method further includes:
[0025] After the user equipment registration authentication is passed, the access management network element sends a first message indicating that the user equipment registration authentication is passed to the session control network element, so that the session control network element marks that the user equipment registration authentication is passed; and sends a second message indicating that the user equipment registration authentication is passed to the user equipment, so that the user equipment marks that its own registration authentication is passed.
[0026] In a possible implementation manner, after receiving the session establishment request, the session control network element obtains the subscription information and relay agent information of the user equipment;
[0027] After receiving the session establishment request, the session control network element obtains the subscription information of the user equipment from a subscription information server, and obtains the relay agent information of the user equipment from a DHCP server.
[0028] In a possible implementation manner, both the first configuration information and the second configuration information include a session identifier; the session activation request includes the session identifier;
[0029] The target service anchor point configures itself according to the first configuration information, and establishes a session with the user equipment based on its own configuration and the session activation request, including:
[0030] The target service anchor adds the session identifier in the first configuration information to a session list; after receiving the session activation request, queries the session list based on the session identifier in the session activation request; establishes a session with the user equipment if the session identifier in the session activation request is found in the session list and the session resources of the target service anchor allow adding a new session; otherwise, rejects the session with the user equipment.
[0031] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0032] Memory, used to store computer programs;
[0033] The processor is used to implement any method step described in the second aspect when executing the program stored in the memory.
[0034] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any method step described in the second aspect is implemented.
[0035] Beneficial effects of the embodiments of the present disclosure:
[0036] The embodiments of the present disclosure provide a session establishment system, method, electronic device and storage medium, the system comprising: a user device and a service device, the service device comprising a service anchor point, an access management network element and a session control network element; the user device is used to send a session establishment request to the access management network element when registration authentication is passed; the access management network element is used to forward the session establishment request to the session control network element; the session control network element is used to obtain the subscription information and relay agent information of the user device after receiving the session establishment request when registration authentication is passed; and select a service anchor point from each of the service anchor points to provide session service for the user device according to the subscription information and relay agent information of the user device. The target service anchor point of the service is used to generate the first configuration information required by the target service anchor point to provide the session service for the user equipment, and the second configuration information required by the user equipment to access the target service anchor point is generated; the first configuration information is sent to the target service anchor point, and the second configuration information is sent to the access management network element; the access management network element is also used to forward the second configuration information to the user equipment; the user equipment is also used to configure itself according to the second configuration information, and based on its own configuration, send a session activation request to the target service anchor point; the target service anchor point is used to configure itself according to the first configuration information, and based on its own configuration and the session activation request, establish a session with the user equipment. The user registration and authentication process can be decoupled from the session establishment process, and the service scalability can be enhanced.
[0037] Of course, it is not necessary to achieve all the advantages described above at the same time to implement any product or method of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0039] Figure 1 A schematic diagram of the architecture of a session establishment system provided in an embodiment of the present disclosure.
[0040] Figure 2 An interactive schematic diagram of a session establishment system provided in an embodiment of the present disclosure.
[0041] Figure 3 Another schematic diagram of the architecture of the session establishment system provided in the embodiment of the present disclosure.
[0042] Figure 4This is a diagram showing an example of application of the session establishment system provided in an embodiment of the present disclosure.
[0043] Figure 5 An example diagram of an application of a session establishment system in the related art.
[0044] Figure 6 A flow chart of a session establishment method provided in an embodiment of the present disclosure.
[0045] Figure 7 An exemplary flow chart of a session establishment method provided in an embodiment of the present disclosure.
[0046] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field based on this application belong to the scope of protection of the present disclosure.
[0048] In the prior art, session establishment is based on PPPoE / IPoE, and the user device access authentication process is tightly coupled with the session establishment process. Each session establishment of the user device requires authentication of the PPPoE / IpoE user authentication information. In addition, traditional PPPoE and IPoE are two completely different protocol systems that are incompatible with each other, resulting in limited service scalability.
[0049] In order to solve the above problems, the embodiments of the present disclosure propose a session establishment system, method, electronic device and storage medium, which are described in detail below.
[0050] Figure 1 A schematic diagram of the architecture of a session establishment system provided by an embodiment of the present disclosure, such as Figure 1 As shown, it includes a user device 101 and a service device 102, wherein the service device 102 includes: an access management network element 1021, a session control network element 1022 and a service anchor point 1023, and the user device 101 and the service device 102 can interact to establish a session.
[0051] The specific interaction process is as follows Figure 2As shown, when the user registration authentication is passed, the user equipment 101 sends a session establishment request to the access management network element 1021. After receiving the session establishment request, the access management network element 1021 forwards the session establishment request to the session control network element 1022. After receiving the session establishment request, the session control network element 1022 obtains the subscription information and relay agent information of the user equipment; selects a target service anchor point 10231 for providing session services to the user equipment from each service anchor point 1023 according to the subscription information and relay agent information of the user equipment; generates first configuration information required for the target service anchor point 10231 to provide session services to the user equipment 101, and generates a configuration information for the user equipment 101 to access the target service anchor point 10231. 10231 requires the second configuration information; the first configuration information is sent to the target service anchor point 10231, and the second configuration information is sent to the access management network element 1021; the access management network element 1021 forwards the second configuration information to the user equipment 101, the user equipment 101 configures itself according to the second configuration information, and based on its own configuration, sends a session activation request to the target service anchor point 10231, the target service anchor point 10231 configures itself according to the first configuration information, and based on its own configuration and the session activation request, establishes a session with the user equipment 101.
[0052] Among them, the session control network element 1022 can obtain the subscription information of the user equipment from the subscription information server and obtain the relay agent information of the user equipment from the Dynamic Host Configuration Protocol (DHCP) server. The above-mentioned first configuration information is required for the target service anchor point 10231 to provide session services for the user equipment 101, and can specifically be a traffic identification and forwarding strategy, a quality of service (Quality of Service, QoS) strategy, a local session table, and necessary information required for traffic forwarding, such as the terminal service Internet Protocol Address (Internet Protocol Address, IP), Media Access Control Address (Media Access Control Address, MAC), Address Resolution Protocol (Address Resolution Protocol, ARP), Neighbor Discovery Protocol (Neighbor Discovery Protocol, NDP) information and session identity (identification, identity, ID), etc.; the above-mentioned second configuration information is required for the user equipment 101 to access the target service anchor point 10231, and can specifically be a traffic identification and forwarding strategy and necessary information required for traffic forwarding, such as service IP address (Internet Protocol Address) allocation, default gateway IP, MAC, ARP, NDP information, Domain Name System (Domain Name System, DNS) session ID, etc.
[0053] In traditional PPPoE or IpoE, different service anchor points must be located in different domains, and corresponding independent bearer channels must be established in the bearer network at the same time, which makes planning, deployment and maintenance relatively complex. The session establishment system provided in the embodiment of the present disclosure can perform unified session control on the service anchor points according to the session control network element 1022, such as unified session control on dedicated hardware anchor points and virtualized anchor points, to achieve unified management of the virtual and the real, and to select core or edge service anchor points on demand according to user needs, to meet the differentiated needs of different users, and to enable richer service forms and service growth points.
[0054] In a possible implementation, if a new session type is introduced due to new business requirements, session establishment can also be implemented based on the session establishment system provided in the embodiment of the present disclosure, specifically: according to the new business requirements, generate new first configuration information required for the target business anchor point to provide session services for the user device, and generate new second configuration information required for the user device to access the target business anchor point, and then send the new first configuration information to the target business anchor point, and send the new second configuration information to the access management network element. The subsequent process of session establishment can refer to the embodiment of the present disclosure. In the prior art, PPPoE and IpoE are usually used to implement session establishment, and PPPoE and IpoE are two completely different protocol systems that are incompatible with each other and have limited scalability. In the embodiment of the present disclosure, there is no need to redesign the signaling process, so the business scalability can be enhanced.
[0055] In the disclosed embodiment, the user equipment sends a session establishment request to the access management network element when the registration authentication is passed, so that the user registration authentication process and the session establishment process can be decoupled, that is, no matter how many contracted sessions the user equipment has, only one authentication and authorization is required when accessing a fixed terminal. After the authentication is passed, the session control network element can uniformly complete the anchor point selection according to the contract information, and the service anchor point responds to the session establishment request, which can enhance the service scalability and enable richer service features, such as terminal roaming and richer session types, including but not limited to Internet Protocol version 4 (IPv4), Internet Protocol version 6 (IPv6), IPv4v6, traditional Ethernet sessions, and unstructured sessions, thereby improving the user experience.
[0056] In a possible implementation, the access management network element 1021 is further configured to send a first message indicating that the user equipment registration authentication has passed to the session control network element 1022 after the user equipment registration authentication has passed, so that the session control network element 1022 marks that the user equipment 101 registration authentication has passed; and send a second message indicating that the user equipment 101 registration authentication has passed to the user equipment 101, so that the user equipment 101 marks that its own registration authentication has passed. In this way, after the user equipment registration authentication has passed, the user equipment can send a session establishment request, thereby realizing the decoupling of the user registration authentication process and the session establishment process, which can be enhanced.
[0057] In a possible implementation manner, the first configuration information and the second configuration information both include a session identifier; the session activation request includes the session identifier;
[0058] The session identifier included in the first configuration information may be a traffic identification and forwarding strategy, a QoS strategy, a local session table, and necessary information for traffic forwarding, such as terminal service IP, MAC, ARP, NDP information, and session ID, etc. The session identifier included in the second configuration information may be a traffic identification and forwarding strategy and necessary information for traffic forwarding, such as service IP address allocation, default gateway IP, MAC, ARP, NDP information, DNS, session ID, etc.
[0059] The target service anchor point is specifically used to add the session identifier in the first configuration information to a session list; after receiving the session activation request, query the session list based on the session identifier in the session activation request; if the session identifier in the session activation request is queried in the session list and the session resources of the target service anchor point allow adding a new session, establish a session with the user equipment; otherwise, reject the session with the user equipment.
[0060] In the disclosed embodiment, the protocol process can be simplified, and the configuration information required for session establishment can be uniformly arranged by the session control network element 1022 and sent to the target service anchor point 10231 and the user equipment 101. The user equipment 101 only needs to send session initialization, session termination and other requests to the target service anchor point, and there is no need to negotiate the configuration information required for session establishment through multiple handshakes. Multiple address allocations can be completed simultaneously through a unified signaling process. For example, in an IPv4 / IPv6 dual-stack service scenario, the allocation of IPv4 and IPv6 addresses can be completed simultaneously based on a unified signaling process; while in a traditional PPPoE scenario, it is necessary to obtain an address through IPCP (Internet Protocol Control Protocol) and IPv6CP (IP Control Protocol and IPv6 Control Protocol) respectively. In a traditional IPoE scenario, it is necessary to obtain an address through DHCP and DHCPv6 respectively. The DHCPv6 is a network protocol used to configure an IP address, IP prefix and / or other configurations required by an IPv6 host working on an IPv6 network.
[0061] In a possible implementation manner, the service device 102 further includes: a DHCP server 1025 and a contract information server 1024, such as Figure 3As shown, it is another schematic diagram of the session establishment system provided by the embodiment of the present disclosure, the DHCP server 1025 stores the relay agent information of the user equipment, the contract information server 1024 stores the contract information of the user equipment, and the session control network element 1022 obtains the contract information of the user equipment from the contract information server 1024, and obtains the relay agent information of the user equipment from the DHCP server 1025. The relay agent information may be Option 82 (relay agent information option 82) information, including information such as the access physical port and access device identifier of the user equipment, which is used to obtain the user equipment location and the service anchor point selection decision when the session is established.
[0062] Figure 4 This is an application example diagram of the session establishment system provided by the embodiment of the present disclosure, S1 represents the access management network element notifying the session control network element of the user registration authentication pass information, S2 represents the access management network element to the terminal (equivalent to Figure 1 The user equipment in the system shown in the figure notifies the user of the registration and authentication pass information, S3 indicates that the terminal initiates a session establishment request to the access management network element, S4 indicates that the access management network element relays the session establishment request to the conference control network element, S5 indicates that the session control network element reads the user contract information from the contract information server, S6 indicates that the session control network element reads the user Option82 information from the DHCP server, and the Option82 information has been sent to the DHCP server when the management address is assigned to the terminal, S7 indicates that the session control network element selects the service anchor point according to the contract information, Option82 and other information; S8 indicates that the session control network element sends the configuration to the service anchor point, and the configuration information includes the traffic identification and forwarding strategy, QoS strategy, local session table and the necessary information required for traffic forwarding, such as the terminal service IP, MAC, ARP, NDP information and session ID, etc.; S9 indicates that the session control NE sends configuration to the terminal through the access management NE. The configuration information includes traffic identification and forwarding strategy and necessary information required for traffic forwarding, such as service IP address allocation, default gateway IP, MAC, ARP, NDP information, DNS, session ID, etc.; S10 indicates that the session control NE notifies the terminal of session configuration readiness information through the access management NE; S11 indicates that the terminal initiates a session activation request to the service anchor point, and the request message carries the session ID; S12 indicates that the service anchor point decides whether to accept the session activation request based on information such as the session ID and the local session table. After the session is activated, the service anchor point allocates session resources to the terminal to ensure efficient use of resources; S13 indicates that the service anchor point responds to the session activation request, and the response methods include accepting and rejecting the session activation request.
[0063] Figure 5This is an application example diagram of a session establishment system in the related technology, S14 indicates that the terminal initiates an access and session establishment request to the BRAS pool, sends a PPPoE / IPoE signaling message to the BRAS pool, which includes L2 broadcast traffic, S15 indicates that the BRAS pool sends the PPPoE / IPoE user authentication information to AAA (an access server) for authentication, S16 indicates that AAA authenticates the user authentication information based on the user name, password, Option82 and other information, S17 indicates that AAA passes the user authentication information or rejects the user authentication information; S18 indicates that the session establishment is successful or failed, wherein when AAA passes the user authentication information, the BRAS pool accepts the session establishment request, that is, the session establishment is successful, and when AAA rejects the user authentication information, the BRAS pool rejects the session establishment request, that is, the session establishment fails.
[0064] The signaling interaction diagram of the session establishment system provided by the embodiment of the present disclosure can also be shown as Figure 7 As shown, in Figure 4 In the case of a service session, the service session is carried on the Underlay (bottom layer) L3VPN (Layer 3 Virtual Private Network). Figure 5 In the case of a service session being carried on an Underlay L2VPN (Layer 2 Virtual Private Network), carrying the service session on an Underlay L2VPN will bring L2 security risks and increase the difficulty of deployment and operation and maintenance of the bearer network. In the disclosed embodiment, in the scenario of service anchor point pooling deployment, service sessions can be uniformly carried on an Underlay L3VPN, and there is no need to deploy L2VPN in the Underlay to carry service sessions under the broadband access server (BRAS) control plane and user plane (CU) separation technology system defined in IETF (Internet Engineering Task Force) RFC8772 (Request For Comments 8772, the standard document 8772 finally approved by IETF) to carry service sessions. That is, only one unified L3VPN needs to be deployed in the Underlay layer, which can avoid L2 security issues such as Media Access Control Address (MAC) spoofing and Address Resolution Protocol (ARP) ARP flooding, simplify the planning, construction and maintenance of the bearer network, and improve the service experience.
[0065] Figure 5In the related technologies shown, Option 82 is used to bind the user name to the access circuit and to make authentication decisions. The main purpose is to prevent resource abuse caused by the same user logging in at multiple locations at the same time. In the embodiments of the present disclosure, Option 82 is mainly used for the session control network element to obtain terminal location information. When the user has an edge anchor point requirement, a suitable service anchor point can be selected for the user based on the location information. In the embodiments of the present disclosure, prevention of broadband resource abuse is achieved by binding the terminal device to the user's non-access stratum (NAS) information or by introducing a mechanism similar to the subscriber identity module (SIM) card and the machine-card integration. The user NAS information includes user identity, terminal capabilities and other information.
[0066] In the BRAS pooling deployment scenario, the session establishment system provided by the embodiment of the present disclosure can avoid L2 security issues. Only a unified L3VPN needs to be deployed at the Underlay layer, reducing the deployment and operation and maintenance difficulty of the bearer network. When a user has both Internet access and VoIP (voice calls) needs, it is necessary to establish an Internet service session and a voice service session. Based on the service anchor selection mechanism of the session establishment system provided by the embodiment of the present disclosure, that is, the session control network element selects the service anchor according to the user's contract information and registration authentication status, it can flexibly select the service anchor on demand and issue a diversion strategy to the terminal. In the bearer network, only a unified Underlay L3VPN needs to be deployed to realize multi-service convergence bearing; based on the existing technology, such as RFC8772, independent L2VPNs need to be deployed for Internet access and voice services to carry the corresponding services, which is complex to implement and maintain, and there are L2 security risks. If the user has a delay-sensitive service demand and needs to be anchored at the edge anchor point, the session establishment system provided by the embodiment of the present disclosure can be implemented agilely, and there is no need to deploy each service and each bearer channel in the bearer network.
[0067] Figure 6 A flow chart of a session establishment method provided by an embodiment of the present disclosure, such as Figure 6 As shown, the following steps are included:
[0068] Step S101: an access management network element receives a session establishment request sent by a user equipment, and forwards the session establishment request to a session control network element.
[0069] Step S102, when the user device registration authentication passes, after receiving the session establishment request, the session control network element obtains the contract information and relay agent information of the user device; selects a target service anchor point that provides session services for the user device from each service anchor point based on the contract information and relay agent information of the user device; generates first configuration information required for the target service anchor point to provide session services for the user device, and generates second configuration information required for the user device to access the target service anchor point; sends the first configuration information to the target service anchor point, and sends the second configuration information to the access management network element.
[0070] Among them, the service anchor point, access management network element, and session control network element are all included in the service equipment.
[0071] Step S103: The access management network element receives the second configuration information and forwards the second configuration information to the user equipment, so that the user equipment configures itself according to the second configuration information and sends a session activation request to the target service anchor point based on its own configuration.
[0072] Step S104: The target service anchor point configures itself according to the first configuration information, and establishes a session with the user equipment based on its own configuration and the session activation request.
[0073] In the disclosed embodiment, no matter how many contracted sessions a user device has, only one authentication and authorization is required at the user device. After the authentication is passed, the session control network element can uniformly complete the service anchor point selection according to the contract information, and the service anchor point responds to the session establishment request, thereby decoupling the user registration and authentication process from the session establishment process. If a new session type is introduced due to new business requirements, the session establishment can also be implemented based on the session establishment system provided in the disclosed embodiment, which can enhance business scalability.
[0074] In a possible implementation, the method further includes: after the user equipment registration authentication is passed, the access management network element sends a first message indicating that the user equipment registration authentication is passed to the session control network element, so that the session control network element marks that the user equipment registration authentication is passed; and sends a second message indicating that the user equipment registration authentication is passed to the user equipment, so that the user equipment marks that its own registration authentication is passed.
[0075] In a possible implementation manner, after receiving the session establishment request, the session control network element obtains the subscription information and relay agent information of the user equipment, including:
[0076] After receiving the session establishment request, the session control network element obtains the user equipment's subscription information from the subscription information server and obtains the user equipment's relay agent information from the DHCP server. Figure 7 FIG. 1 is a flow chart showing an example of a method for establishing a session according to an embodiment of the present disclosure. Figure 7 In the process, the access management network element notifies the session control network element and the service anchor point of the user registration and authentication success information respectively, the terminal initiates a session establishment request to the access management network element, the access management network element relays the session establishment request to the session control network element, the session control network element reads the user subscription information from the subscription information server, and reads the user Option82 information from the DHCP server, the session control network element selects a service anchor point according to the user subscription information and the user Option82 information, the session control network element sends the configuration to the service anchor point, the configuration information includes the traffic identification forwarding policy, the QoS policy, the local session table and the necessary information required for traffic forwarding, the session control network element sends the configuration to the access management network element, the configuration information includes the traffic identification forwarding policy and the necessary information required for traffic forwarding, the terminal initiates a session activation request to the service anchor point, the request message carries the session ID, the service anchor point decides whether to accept the session request according to the session ID and the local session table and other information, the service anchor point responds to the session activation request, and the response mode includes accepting or rejecting the session activation request.
[0077] In a possible implementation manner, the first configuration information and the second configuration information both include a session identifier; the session activation request includes the session identifier;
[0078] The target service anchor point configures itself according to the first configuration information, and establishes a session with the user equipment based on its own configuration and the session activation request, including:
[0079] The target service anchor adds the session identifier in the first configuration information to a session list; after receiving the session activation request, queries the session list based on the session identifier in the session activation request; if the session identifier in the session activation request is found in the session list and the session resources of the target service anchor allow adding a new session, establishes a session with the user device; otherwise, rejects the session with the user device.
[0080] The present disclosure also provides an electronic device, such as Figure 8 As shown, it includes a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804.
[0081] Memory 803, used for storing computer programs;
[0082] The processor 801 is used to implement the steps of the session establishment method when executing the program stored in the memory 803.
[0083] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0084] The communication interface is used for communication between the above electronic device and other devices.
[0085] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0086] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0087] In another embodiment provided by the present disclosure, a computer-readable storage medium is further provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any of the above-mentioned session establishment methods are implemented.
[0088] In another embodiment provided by the present disclosure, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any session establishment method in the above embodiments.
[0089] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0091] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method embodiment, since it is basically similar to the system embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0092] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the protection scope of the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure are included in the protection scope of the present disclosure.
Claims
1. A session establishment system, It is characterized in that The system comprises: User equipment and service equipment, the service equipment including a service anchor point, an access management network element, and a session control network element; The user equipment is used to send a session establishment request to the access management network element when the registration authentication is passed; The access management network element is used to forward the session establishment request to the session control network element; The session control network element is configured to, if the user equipment registration authentication passes, obtain the subscription information and relay agent information of the user equipment after receiving the session establishment request; select a target service anchor point for providing session services for the user equipment from each of the service anchor points according to the subscription information and relay agent information of the user equipment; generate first configuration information required for the target service anchor point to provide session services for the user equipment, and generate second configuration information required for the user equipment to access the target service anchor point; send the first configuration information to the target service anchor point, and send the second configuration information to the access management network element; The access management network element is further used to forward the second configuration information to the user equipment; The user equipment is further configured to configure itself according to the second configuration information, and send a session activation request to the target service anchor point based on its own configuration; The target service anchor point is used to configure itself according to the first configuration information, and establish a session with the user equipment based on its own configuration and the session activation request.
2. The system according to claim 1, It is characterized in that The access management network element is further used to send a first message indicating that the user equipment registration authentication has passed to the session control network element after the user equipment registration authentication has passed, so that the session control network element marks that the user equipment registration authentication has passed; and send a second message indicating that the user equipment registration authentication has passed to the user equipment, so that the user equipment marks that its own registration authentication has passed.
3. The system according to claim 1, It is characterized in that The service equipment also includes: a DHCP server and a contract information server; The DHCP server is used to store the relay agent information of the user equipment; The contract information server is used to store the contract information of the user equipment; The session control network element is specifically configured to obtain the subscription information of the user equipment from the subscription information server, and to obtain the relay agent information of the user equipment from the DHCP server.
4. The system according to claim 1, It is characterized in that The first configuration information and the second configuration information both include a session identifier; the session activation request includes the session identifier; The target service anchor point is specifically used to add the session identifier in the first configuration information to the session list; After receiving the session activation request, querying the session list based on the session identifier in the session activation request; If the session identifier in the session activation request is found in the session list and the session resources of the target service anchor point allow adding a new session, a session with the user equipment is established; otherwise, the session with the user equipment is rejected.
5. A session establishment method, It is characterized in that The method comprises: The access management network element receives a session establishment request sent by the user equipment, and forwards the session establishment request to the session control network element; In the case where the user equipment registration authentication passes, after receiving the session establishment request, the session control network element obtains the subscription information and relay agent information of the user equipment; selects a target service anchor point for providing session services for the user equipment from each service anchor point according to the subscription information and relay agent information of the user equipment; generates first configuration information required for the target service anchor point to provide session services for the user equipment, and generates second configuration information required for the user equipment to access the target service anchor point; sends the first configuration information to the target service anchor point, and sends the second configuration information to the access management network element; wherein the service anchor point, the access management network element, and the session control network element all include service equipment; The access management network element receives the second configuration information and forwards the second configuration information to the user equipment, so that the user equipment configures itself according to the second configuration information and sends a session activation request to the target service anchor point based on its own configuration; The target service anchor point configures itself according to the first configuration information, and establishes a session with the user equipment based on its own configuration and the session activation request.
6. The method according to claim 5, It is characterized in that The method further comprises: After the user equipment registration authentication is passed, the access management network element sends a first message indicating that the user equipment registration authentication is passed to the session control network element, so that the session control network element marks that the user equipment registration authentication is passed; and sends a second message indicating that the user equipment registration authentication is passed to the user equipment, so that the user equipment marks that its own registration authentication is passed.
7. The method according to claim 5, It is characterized in that After receiving the session establishment request, the session control network element obtains the subscription information and relay agent information of the user equipment, including: After receiving the session establishment request, the session control network element obtains the subscription information of the user equipment from a subscription information server, and obtains the relay agent information of the user equipment from a DHCP server.
8. The method according to claim 5, It is characterized in that The first configuration information and the second configuration information both include a session identifier; the session activation request includes the session identifier; The target service anchor point configures itself according to the first configuration information, and establishes a session with the user equipment based on its own configuration and the session activation request, including: The target service anchor adds the session identifier in the first configuration information to a session list; after receiving the session activation request, queries the session list based on the session identifier in the session activation request; establishes a session with the user equipment if the session identifier in the session activation request is found in the session list and the session resources of the target service anchor allow adding a new session; otherwise, rejects the session with the user equipment.
9. An electronic device, It is characterized in that It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 5-8 when executing a program stored in a memory.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 5 to 8 are implemented.
