Network access method for terminal device, electronic device and storage medium
By transforming network elements in 5G and 4G core networks, and controlling network elements through contract data management and billing strategies, the problem of interaction needs of 4G and 5G core networks in 5G network deployment is solved, and a small transformation cost is achieved interoperability and interoperability under the
Patent Information
- Application Number
- CN201911340132.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-23
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2039-12-23
AI Technical Summary
During the deployment of 5G network, the interaction requirements between the 4G core network and the 5G core network are difficult to be met by the network elements in the existing network, especially when node transformations such as MME, DRA, OCS and PGW are not carried out.
When receiving the access request from the terminal device, the contract data is obtained from the network element request that provides the contract data management function, and when the contract data is not obtained, the access request is sent to the network element controlled by the billing and policy control. Perform processing and respond to the access request based on the feedback processing results to realize the interoperability between 4G and 5G core networks.
With a smaller transformation cost, the interoperability between 4G and 5G core networks is achieved, which meets the interaction needs, and simplifies message processing through interface type conversion (such as N7 interface conversion to Gx interface), improving interoperability between networks sex.
Smart Images

Figure CN113099402B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of communication technology, and in particular to a network access method for a terminal device, an electronic device, and a storage medium. Background Art
[0002] The 3rd Generation Partnership Project (3GPP) introduced the 5G network as the fifth generation mobile communication network. At present, the network elements in the network architecture based on the service-oriented interface proposed by 3GPP include: Policy Control Function (PCF), which is responsible for QoS, billing, and access mobility policy control. Access and Mobility Management Function (AMF), which is responsible for user mobility management and connection management. Session Management Function (SMF), which supports the establishment, modification, and release of 3GPP and Non-3GPP sessions, is responsible for the allocation and management of user IP addresses; and implements and terminates unified control policies.
[0003] The inventors of the present invention found that during the 5G network deployment process, operators who choose MME (Mobility Management Entity) to route according to user terminal capabilities will bring about interaction requirements between the 4G core network and the 5G core network before the existing network MME is fully transformed, and the network elements in the existing network are difficult to meet such interaction requirements. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a network access method for a terminal device, an electronic device and a storage medium, so that the interaction requirements between the 4G core network and the 5G core network can be solved without modifying the surrounding network elements MME (Mobility Management Entity), DRA (Diameter Routing Agent), OCS (online Charging system), PGW (PDN GateWay), etc.
[0005] To solve the above technical problems, an embodiment of the present invention provides a network access method, which is applied to a first network element used for billing and policy control in a first network, including: according to an access request of a terminal device, requesting a second network element in the first network used for providing a contract data management function to obtain the contract data of the terminal device; if the contract data of the terminal device cannot be obtained, sending the access request to a third network element in the second network used for billing and policy control, triggering the third network element to process the access request; and responding to the access request according to the processing result of the access request fed back by the third network element.
[0006] An embodiment of the present invention also provides a network access method, which is applied to a third network element in a second network for billing and policy control, including: receiving an access request of a terminal device sent by a first network element in a first network for billing and policy control; requesting a fourth network element in the second network for providing a contract data management function to obtain contract data of the terminal device; processing the access request according to the contract data; and sending the processing result of the access request to the first network element.
[0007] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the network access method as described above.
[0008] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned network access method when executed by a processor.
[0009] Compared with the prior art, the implementation manner of the present invention simply transforms the PCRF / PCF network elements in the 4G and 5G core networks. When receiving an access request from a terminal device, it requests the second network element in the first network for providing a contract data management function to obtain the contract data of the terminal device. If the contract data cannot be obtained, the access request is sent to the third network element in the second network for billing and policy control for processing. The access request is responded to according to the processing result fed back by the third network element, thereby realizing the intercommunication between the 4G and 5G core networks and meeting the interaction requirements of the 4G core network and the 5G core network.
[0010] In addition, the network speed of the first network is greater than that of the second network, the first network element is a policy control function network element PCF, and the third network element is a policy and charging rules function network element PCRF; an access request is sent to the third network element in the second network for billing and policy control, including: converting the interface type of the access request from an N7 interface type to a Gx interface type; forwarding the converted access request to PCRF, triggering PCRF to process the access request; responding to the access request according to the processing result of the access request fed back by the third network element, including: receiving a service response message in which the interface type indicating the processing result is a Gx interface type fed back by PCRF; converting the interface type of the service response message from a Gx interface type to an N7 interface type; and sending a service response message converted to the N7 interface type. When the 5G core network receives an access request from a 5G terminal and the terminal user is not a 5G user, the 5G core network cannot make a decision on the request. Since the N7 interface type and the Gx interface type protocols are similar, the conversion process is relatively simple. Therefore, the PCF converts the interface type of the access request from the N7 interface type to the Gx interface type and forwards it to the PCRF for processing. This can achieve interoperability between the 4G and 5G core networks under the premise of low network element transformation costs in the 5G and 4G core networks, and meet the interaction needs of the 4G and 5G core networks.
[0011] In addition, the network speed of the first network is lower than that of the second network, the first network element is a policy and charging rules function PCRF network element, and the third network element is a policy control function network element PCF; the sending of the access request to the third network element in the second network for charging and policy control includes: sending the access request of the Gx interface type to the PCF, triggering the PCF to process the access request; the responding to the access request according to the processing result of the access request fed back by the third network element includes: receiving a service response message of the interface type of the Gx interface type indicating the processing result fed back by the PCF; sending the service response message of the Gx interface type. When the 4G core network receives an access request from a 4G terminal and the terminal user is not a 4G user, the 4G core network cannot make a decision on the request. Since the PCF can directly identify the message of the Gx interface type, the PCRF directly forwards the access request to the PCRF for processing, thereby realizing the intercommunication between the 4G and 5G core networks.
[0012] In addition, the access request is an access request sent by the session management function network element SMF; sending the service response message converted to the N7 interface type includes: sending the service response message converted to the N7 interface type to the SMF. The SMF network element in the 5G core network receives the message of the N7 interface type, converts the service response message of the Gx interface type to the N7 type for SMF to receive, and realizes the interaction requirements between the 4G core network and the 5G core network. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.
[0014] Figure 1 is a flow chart of a network access method for a terminal device according to a first embodiment of the present invention;
[0015] Figure 2 is a schematic diagram of an interaction flow of a network access method for a terminal device according to a first embodiment of the present invention;
[0016] Figure 3 is a flow chart of a network access method for a terminal device according to a second embodiment of the present invention;
[0017] Figure 4 is a schematic diagram of an interaction flow of a network access method for a terminal device according to a first embodiment of the present invention;
[0018] Figure 5 is a flow chart of a network access method for a terminal device according to a third embodiment of the present invention;
[0019] Figure 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. DETAILED DESCRIPTION
[0020] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.
[0021] The first embodiment of the present invention relates to a network access method for a terminal device, which is applied to a first network element for billing and policy control in a first network. The specific process is as follows: Figure 1 As shown, it includes: according to the access request of the terminal device, requesting the second network element in the first network for providing the contract data management function to obtain the contract data of the terminal device; if the contract data of the terminal device cannot be obtained, sending the access request to the third network element in the second network for billing and policy control, triggering the third network element to process the access request; responding to the access request according to the processing result of the access request fed back by the third network element.
[0022] The implementation details of the network access method of the terminal device of this embodiment are specifically described below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.
[0023] In this implementation manner, the first network is a 5G network, and the first network element is a policy control function (Policy Control Function) PCF network element in the 5G core network as an example to illustrate the network access method of the terminal device. The network access method of the terminal device in this implementation manner is as follows: Figure 1 As shown, specifically including:
[0024] Step 101, receiving an access request from a terminal device sent by SMF.
[0025] Specifically, SMF is a session management function (SMF) network element in the 5G network architecture based on a service-oriented interface proposed by the 3rd Generation Partnership Project (3GPP). It supports the establishment, modification, and release of 3GPP and Non-3GPP sessions, and is responsible for the allocation and management of user network IP addresses and the implementation and termination of unified control strategies. When a terminal device initiates an access request to the 5G core network, the mobility management entity (Mobility Management Entity) MME first routes the access request according to the capabilities of the terminal device, that is, the 5G terminal is connected to the 5G core network, and the 4G terminal is connected to the 4G core network. In the 5G core network, the SMF first receives the access request and forwards the access request to the PCF network element for decision processing. Therefore, in this step, the PCF network element receives the access request of the terminal device sent by the SMF and processes the access request of the terminal device.
[0026] Step 102: The PCF network element requests the second network element to obtain the subscription data of the terminal device, and determines whether the subscription data is obtained. If the subscription data of the terminal device is obtained, step 105 is executed; if the subscription data of the terminal device is not obtained, step 103 is executed.
[0027] Specifically, the second network element is a unified data storage function (UDR) network element in the 5G core network, which is responsible for providing user contract data management and mobility management functions. When the PCF receives the access request from the terminal device of the SMF, it requests the UDR for the contract data of the user who initiated the request. The contract data contains the contract attributes of the user. Different contract attributes indicate the network service rights of the user. For example, if the user signs a contract for a 4G network, it means that the user can only obtain services provided by the 4G network; if the user signs a contract for 5G, it means that the user can obtain services provided by the 5G network. If the PCF obtains the user's contract data in the UDR network element of the 5G network, it means that the terminal user has contract information for the 5G network, and the PCF can make a decision on the user's access request. If the PCF fails to obtain the user's contract data in the UDR network element of the 5G network, it means that the terminal user does not have contract information for the 5G network, and the PCF cannot accurately make a decision on the user's access request, and enters step 103. Since the MME can only identify the capabilities of the terminal device but cannot distinguish the contract information of the user to which the terminal device belongs, that is, it cannot allocate the 4G user using the 5G terminal to the 4G core network for access request processing, there will be a situation where... In this step, the PCF obtains the contract data of the terminal device from the UDR, and determines whether the user to which the terminal device belongs is a 5G user based on the feedback result of the UDR.
[0028] Step 103: Send the access request to a third network element in the second network for charging and policy control, triggering the third network element to process the access request.
[0029] Specifically, the second network is a 4G network, and the third network element is a Policy and Charging Rules Function (PCRF) network element in the 4G network, which selects and provides available policies and charging control decisions for the core network. In 3GPP, the PCRF in the 4G core network uses the Gx interface to receive and send messages, while the SMF in the 5G network uses the N7 interface to receive and send messages. The PCF can directly process messages of the N7 interface type sent by the SMF, while the PCRF cannot process messages of the N7 interface type. Therefore, before forwarding the access request of the terminal to the third network element, the PCF needs to convert the interface type of the access request from the N7 interface type to the Gx interface type, and then forward the converted access request to the PCRF, triggering the PCRF to process the access request. In a specific example, after receiving the access request sent by the PCF, the PCRF requests the subscription data of the terminal that initiated the request from the UDR in the second network, and then processes the access request according to the subscription data, and feeds back the processing result to the PCF in the first network.
[0030] Step 104: respond to the access request according to the processing result of the access request fed back by the third network element.
[0031] Specifically, after the third network element PCRF processes the access request, it will feed back the returned processing result to PCF in the form of a service response message. Since the interface type of the service response message sent by PCRF is the Gx interface type, after receiving the service response message, PCF converts the service response message to the N7 type and then forwards it to SMF. SMF returns the processing result of the access request to the terminal that initiated the access request.
[0032] If the contract data of the terminal device is obtained in step 102, the process proceeds to step 105 to respond to the access request according to the obtained contract data.
[0033] Specifically, after PCF requests UDR to obtain the contract data of the terminal device, if UDR returns the contract data of the terminal device, it means that the terminal device can obtain the service of the 5G network. PCF can directly make a decision on the user's access request based on the obtained contract data, and after obtaining the processing result, return the service response message to SMF.
[0034] In a specific implementation, the interaction process between the 5G core network and the 4G core network in this implementation is as follows: Figure 2 As shown, it includes: step 201, SMF first initiates a service request to PCF according to the access request received from the terminal device;
[0035] Step 202: PCF requests UDR in the 5G core network to obtain subscription data;
[0036] Step 203, the UDR returns a response to the subscription data acquisition request to the PCF; if there is no subscription information of the terminal that initiates the access request, the PCF converts the service request in step 201 from an N7 interface message to a Gx interface message;
[0037] If there is contract information of the terminal initiating the access request, the PCF makes a processing decision on the access request.
[0038] Step 204, the PCF sends the converted service request to the PCRF;
[0039] Step 205, PCRF requests the UDR in the 4G core network to obtain the subscription data;
[0040] Step 206, UDR returns the subscription data to PCRF;
[0041] Step 207, PCRF responds to PCF with the processing result of the service request; PCF converts the processing result from N7 interface message to Gx interface message;
[0042] Step 208: PCF returns a response to the service request to SMF.
[0043] Compared with the existing technology, this implementation method transforms the PCF / PCRF network elements in the 5G and 4G networks to enable the 5G core network and the 4G core network to achieve message intercommunication and forwarding, thereby meeting the interaction needs of the 5G core network and the 4G core network at a relatively low transformation cost, and solving the problem of processing network access requests of terminal devices in an environment where 5G and 4G networks coexist.
[0044] The second embodiment of the present invention relates to a network access method for a terminal device. The difference between the second embodiment and the first embodiment is that: in the first embodiment, the network access method for the terminal device is specifically described by taking the first network as a 5G network as an example; while in this embodiment, the network access method for the terminal device is specifically described by taking the first network as a 4G network as an example. When the first network is a 4G network, since the PCF network element can process Gx interface type messages, the first network element PCRF in the 4G network can directly forward the terminal's access request to the PCF network element in the 5G network without converting the interface type of the access request.
[0045] In this embodiment, the network access method of the terminal device is as follows: Figure 3 As shown, specifically including:
[0046] Step 301: Receive an access request from a terminal device sent by PGW.
[0047] Specifically, the public data network gateway PGW is a network element in the 4G network that is responsible for the establishment, modification, and release of sessions, the allocation and management of UE IP addresses, and the implementation and termination of unified control strategies.
[0048] Step 302: Request the second network element to obtain the contract data of the terminal device, and determine whether the contract data is obtained. If the contract data of the terminal device is obtained, execute step 305; if the contract data of the terminal device is not obtained, execute step 303.
[0049] Specifically, the second network element is the UDR in the 4G network. After the PCRF receives the access request sent by the PGW, it requests the UDR to obtain the contract data of the terminal device, and determines how to process the access request based on whether the contract data is obtained.
[0050] Step 303: Send the access request to a third network element in the second network for charging and policy control, triggering the third network element to process the access request.
[0051] Specifically, the third network element is the PCF in the 5G network. When the PCRF fails to obtain the subscription data of the terminal device, the access request is forwarded to the PCF.
[0052] Step 304: respond to the access request according to the processing result of the access request fed back by the third network element.
[0053] Step 305: respond to the access request according to the acquired subscription data and return the processing result to the PGW.
[0054] Steps 302 to 305 are substantially the same as steps 102 to 105 in the first embodiment of the present invention, except that: in step 303, since the PCF can directly process messages of the Gx interface type, the PCRF can directly forward the access request of the Gx interface type sent by the PGW to the PCF without performing a conversion process. In addition, other relevant implementation details have been specifically described in the first embodiment of the present invention and will not be repeated here.
[0055] In a specific implementation, the interaction process between the 4G core network and the 5G core network in this implementation is as follows: Figure 4 As shown, including:
[0056] Step 401, the PGW first initiates a service request to the PCRF according to the access request received from the terminal device;
[0057] Step 402: PCRF requests the UDR in the 5G core network to obtain subscription data;
[0058] Step 403: The UDR returns a response to the subscription data acquisition request to the PCRF;
[0059] If the PCRF does not obtain the subscription data, step 404 is executed, and the PCRF sends the service request to the PCF;
[0060] If the PCRF obtains the subscription data, the PCRF processes the access request and then executes step 408.
[0061] Step 405, the PCF requests the UDR in the 4G core network to obtain the subscription data;
[0062] Step 406, UDR returns the contract data to PCF;
[0063] Step 407, the PCF responds to the PCRF with the processing result of the service request;
[0064] Step 408: PCRF returns a response to the service request to PGW.
[0065] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0066] The third embodiment of the present invention relates to a network access method for a terminal device, which is applied to a third network element PCRF for billing and policy control in a second network. The second network in this embodiment can be either a 5G network or a 4G network.
[0067] The following takes the second network as 4G as an example to illustrate the network access method of the terminal device in this implementation mode. Figure 5 As shown, specifically including:
[0068] Step 501: PCRF receives an access request from a terminal device sent by a first network element.
[0069] Specifically, the first network element is a PCF network element used for billing and policy control in the 5G core network. Among them, the interface type of the access request of the terminal device sent by the first network element is the Gx type. When the PCF in the first network requests the subscription data of the terminal device from the UDR in the first network and fails to obtain the subscription data, the access request is forwarded to the PCRF.
[0070] Step 502: Request the fourth network element to obtain the subscription data of the terminal device.
[0071] Specifically, the fourth network element is a UDR network element in the 4G core network that is used to provide contract data management functions.
[0072] Step 503: Process the access request according to the contract data.
[0073] Specifically, since the access request of the terminal device is forwarded from the PCF in the 5G core network to the 4G core network, it means that the contract attribute of the user carried by the terminal device is 4G. Therefore, after the PCRF obtains the contract data returned by the UDR, it can directly make decisions on the access request based on the contract data.
[0074] Step 504: Send the processing result of the access request to the first network element.
[0075] Specifically, after the PCRF obtains the processing result, it returns the processing result to the PCF in the 5G network, and the 5G core network returns the service response of the access request to the user.
[0076] Similarly, if the second network is 5G and the first network is 4G, the first network element is PCF and the third network element is PCRF. After receiving the access request sent by PCRF, PCF requests the UDR in the second network to obtain the subscription data of the terminal device of the access request, and makes a processing decision on the access request based on the obtained subscription data.
[0077] The specific implementation of this embodiment is exactly the same when the second network is a 4G network and the first network is a 5G network. The specific implementation details have been explained in the above process and will not be repeated here.
[0078] It is not difficult to find that this embodiment is an example implemented in cooperation with the first embodiment or the second embodiment of the present invention. The relevant technical details mentioned in the first embodiment or the second embodiment are still valid in this embodiment, and the technical effects that can be achieved in the first embodiment or the second embodiment can also be achieved in this embodiment. In order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment or the second embodiment.
[0079] A fourth embodiment of the present invention relates to an electronic device, such as Figure 6 As shown, it includes at least one processor 601; and a memory 602 that is communicatively connected to the at least one processor 601; wherein the memory 602 stores instructions that can be executed by the at least one processor 601, and the instructions are executed by the at least one processor 601 so that the at least one processor 601 can execute the network access method of the terminal device in the first to third embodiments.
[0080] The memory 602 and the processor 601 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 601 and the memory 602 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 601 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 601.
[0081] The processor 601 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 602 can be used to store data used by the processor 601 when performing operations.
[0082] A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
[0083] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0084] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.
Claims
1. A network access method for a terminal device, characterized in that: Applied to a first network element for charging and policy control in a first network, the method comprising: According to an access request of the terminal device, requesting a second network element in the first network for providing a subscription data management function to obtain the subscription data of the terminal device; If the subscription data of the terminal device cannot be obtained, sending the access request to a third network element for billing and policy control in the second network, triggering the third network element to process the access request; Respond to the access request according to the processing result of the access request fed back by the third network element; The network speed of the first network is greater than the network speed of the second network, the first network element is a policy control function network element PCF, and the third network element is a policy and charging rules function network element PCRF; The sending the access request to a third network element in the second network for charging and policy control includes: Converting the interface type of the access request from the N7 interface type to the Gx interface type; forwarding the converted access request to the PCRF, triggering the PCRF to process the access request; The responding to the access request according to the processing result of the access request fed back by the third network element includes: Receiving a service response message fed back by the PCRF indicating that the interface type of the processing result is a Gx interface type; Convert the interface type of the service response message from the Gx interface type to the N7 interface type; Sending the service response message converted to the N7 interface type; or the network speed of the first network is lower than the network speed of the second network, the first network element is a policy and charging rules function PCRF network element, and the third network element is a policy control function network element PCF; the sending the access request to the third network element in the second network for charging and policy control includes: Sending an access request of a Gx interface type to the PCF, triggering the PCF to process the access request; The responding to the access request according to the processing result of the access request fed back by the third network element includes: Receive a service response message fed back by the PCF indicating that the interface type of the processing result is a Gx interface type; Send a service response message of the Gx interface type.
2. The network access method of a terminal device according to claim 1, characterized in that: The access request is an access request sent by a session management function network element SMF; The sending of the service response message converted to the N7 interface type includes: Send the service response message converted to the N7 interface type to the SMF.
3. The network access method of a terminal device according to claim 1, characterized in that: The access request is an access request with an interface type of Gx interface type sent by a public data network gateway PGW; The sending of the service response message of the Gx interface type includes: Send a service response message of the Gx interface type to the PGW.
4. The network access method for a terminal device according to any one of claims 1 to 3, characterized in that: Also includes: If the contract data of the terminal device is obtained, the access request is responded to according to the obtained contract data.
5. A network access method for a terminal device, characterized in that: Applied to a third network element for charging and policy control in a second network, the method comprising: receiving an access request of a terminal device sent by a first network element for billing and policy control in a first network, wherein the network speed of the first network is greater than the network speed of the second network, the first network element is a policy control function network element PCF, the third network element is a policy and charging rule function network element PCRF, the first network element converts the interface type of the access request from the N7 interface type to the Gx interface type, and forwards the converted access request to the PCRF, triggering the PCRF to process the access request; or the network speed of the first network is lower than the network speed of the second network, the first network element is a policy and charging rules function PCRF network element, the third network element is a policy control function network element PCF, and the first network element sends an access request of the Gx interface type to the PCF, triggering the PCF to process the access request; Requesting a fourth network element in the second network for providing a subscription data management function to obtain the subscription data of the terminal device; Processing the access request according to the contract data; The processing result of the access request is sent to the first network element, wherein the first network element receives a service response message from the PCRF indicating that the interface type of the processing result is a Gx interface type, converts the interface type of the service response message from the Gx interface type to the N7 interface type, and sends the service response message converted to the N7 interface type; or the first network element receives a service response message from the PCF indicating that the interface type of the processing result is a Gx interface type, and sends the service response message of the Gx interface type.
6. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the network access device method of the terminal device as described in any one of claims 1 to 4, or execute the network access device method of the terminal device as described in claim 5.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it implements the network access device method of the terminal device according to any one of claims 1 to 4, or executes the network access device method of the terminal device according to claim 5.
