CN115002852A - Network access method, device, electronic equipment and readable storage medium - Google Patents

Network access method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115002852A
CN115002852A CN202210452198.1A CN202210452198A CN115002852A CN 115002852 A CN115002852 A CN 115002852A CN 202210452198 A CN202210452198 A CN 202210452198A CN 115002852 A CN115002852 A CN 115002852A
Authority
CN
China
Prior art keywords
network
user terminal
session
user
session type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210452198.1A
Other languages
Chinese (zh)
Inventor
瞿子凡
唐斓
曾映辉
唐斌
李嵘
彭滔
周旭文
严国正
彭鸯
周侯雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210452198.1A priority Critical patent/CN115002852A/en
Publication of CN115002852A publication Critical patent/CN115002852A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/00837Determination of triggering parameters for hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Abstract

The invention provides a network access method, a network access device, electronic equipment and a readable storage medium, and relates to the technical field of communication. The method comprises the following steps: determining a session type and user subscription data corresponding to a user terminal according to an IP session establishment request sent by the user terminal; and if the session type and the signed session type corresponding to the user signed data are not matched with the roaming place network, dredging the user flow of the user terminal to the home place network of the user terminal for outgoing, wherein the roaming place network is the current access network of the user terminal. Therefore, the problem that the communication service of the user terminal is influenced when the session type of the roaming area network is not matched with the subscription session type of the user terminal in the related technology can be solved.

Description

Network access method, device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a network access method, an apparatus, an electronic device, and a readable storage medium.
Background
When the current mobile terminal accesses the network under the roaming condition, a local breakout roaming mode is generally adopted, namely, subscription data and internet access strategy control data of a user are in a home location, and implementation of a user internet access strategy and user data access to the internet are in a roaming location.
Based on a local breakout roaming mode, an IPv6 single stack user can normally acquire an IPv6 terminal address under a roaming condition, but if no NAT64 or DNS64 equipment exists in a roaming place, the IPv6 single stack user cannot normally access an IPv4 service:
the IPv6 single stack user acquires the IPv6 terminal address in a roaming place: an IP session establishment request initiated by a terminal to a network contains an IP protocol stack type 'a' of an IP session (the type of the 'a' can be an IPv4 single stack, an IPv6 single stack and an IPv4/IPv6 double stack), a core network session control network element in a roaming place can obtain subscription information of a terminal number from a subscription network element in a user home place, the subscription information contains an IP protocol stack type 'b' of the current session to be established, the type of the 'b' can be an IPv4 single stack, an IPv6 single stack and an IPv4/IPv6 double stack), the network allocates IP addresses of corresponding types to the user terminal according to the type of a & andd & ltb & gt, and when the a & ltd & gtb & lt0 & gt, the session establishment fails. a. The relationship between the value of b and the session establishment state is shown in fig. 1 as a relationship table between the values of a and b and the session establishment state.
As can be seen from the relationship table shown in fig. 1, the IPv6 single-stack user roams in the foreign province and has three scenes, namely scene 5, scene 6, and scene 8, where scene 5 and scene 6 are situations that occur when the IPv6 network is developed and matured, and scene 8 is a mainstream situation of the current network, and the policy control network element of the current user-owned province network cannot distinguish the three scenes, so that different policies cannot be issued according to different scenes.
(2) The IPv6 single stack user cannot normally access the IPv4 service in a roaming place: an IPv6 single stack user needs to deploy DNS64 and NAT64 equipment in a roaming place to realize the access of an IPv6 terminal to an IPv4 server, and under the scene that DNS64 and NAT64 equipment are not deployed in the roaming place, an operator network cannot analyze the address of the server into the address of IPv6 to inform the user, and cannot convert an IPv6 message sent by the user into an IPv4 message to be sent to the IPv4 server, so that the service use of the IPv6 single stack user is influenced.
The current solution is: when an IPv6 single stack user roams to the outside, a Home Routed roaming scheme is uniformly adopted to ensure that an IP session anchor point of an IPv6 terminal is a Home location session control network element and a user plane anchor point is a Home province user plane network element, so that the terminal can access the resources of IPv4 by using an IPv6 single stack in any place, but the Home Routed roaming scheme has defects in terms of 5G large flow and ultra-low time delay, and a scheme is needed to adjust the flow grooming mode of the IPv6 single stack user.
In order to solve the above problems, no effective solution has been proposed.
Disclosure of Invention
Embodiments of the present invention provide a network access method, an apparatus, an electronic device, and a readable storage medium, so as to solve a problem that a communication service of a user terminal is affected when a session type of a roaming area network of the user terminal in the related art is not matched with a subscription session type.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a network access method, where the method includes: determining a session type and a signing session type corresponding to a user terminal according to an IP session establishment request sent by the user terminal; and if the current access network of the user terminal is a roaming network and the signed session type is not matched with the session type, dredging the user traffic of the user terminal to the home network of the user terminal for outgoing.
Further, determining an access network and a subscription session type of the user terminal according to the IP session request sent by the user terminal includes: receiving the IP session establishment request, wherein the IP session establishment request comprises a session type field, and the session type field comprises the session type and the session type; and determining the session type and the session type according to the session type field.
Further, still include: and if the access network of the user terminal is a roaming network and the subscription session type is matched with the session type, dredging the user traffic to the access network for outgoing.
Further, still include: and if the access network of the user terminal is the home network, the user traffic is diverted to the home network for outgoing.
Further, if the access network of the ue is a roaming network and the subscribed session type is not matched with the session type, offloading the user traffic of the ue to the home network of the ue, including: and if the access network of the user terminal is the roaming local network and the subscription session type of the user terminal is the IPv6 single stack type, allocating an IPv6 single stack address to the user terminal and dredging the user traffic to the home network for outgoing.
In a third aspect, an embodiment of the present invention further provides a network access apparatus, where the apparatus includes: the determining module is used for determining a session type and a signing session type corresponding to a user terminal according to an IP session establishing request sent by the user terminal; and the first routing module is used for dredging the user traffic of the user terminal to the home network of the user terminal for outgoing if the access network of the user terminal is a roaming network and the signed session type is not matched with the session type.
Further, the determining module includes: a receiving submodule, configured to receive the IP session establishment request, where the IP session establishment request includes a session type field, and the session type field includes the session type and the session type; and the determining submodule is used for determining the session type and the session type according to the session type field.
Further, still include: and the second routing module is used for dredging the user traffic to the access network for outgoing if the access network of the user terminal is a roaming area network and the signed session type is matched with the session type.
Further, still include: and the third routing module is used for dredging the user traffic to the home network for outgoing if the access network of the user terminal is the home network.
Further, the first routing module comprises: and the routing unit is used for distributing an IPv6 single stack address to the user terminal and leading the user traffic to the home network for outgoing if the access network of the user terminal is the roaming network and the signed session type of the user terminal is an IPv6 single stack type.
In a third aspect, an embodiment of the present invention additionally provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the network access method as described in the previous first aspect.
In a fourth aspect, the present invention provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the network access method according to the first aspect.
In the embodiment of the invention, the session type and the user subscription data corresponding to the user terminal are determined according to the IP session establishment request sent by the user terminal; and if the session type and the signed session type corresponding to the user signed data are not matched with the roaming place network, dredging the user flow of the user terminal to the home place network of the user terminal for outgoing, wherein the roaming place network is the current access network of the user terminal. In this embodiment, the session type and the subscription session type requested by the user terminal are determined according to the IP session establishment request sent by the user terminal, and when both are not matched with the home network, the user traffic of the user terminal is diverted to the home network of the user terminal for outgoing. Therefore, the problem that the communication service of the user terminal is influenced when the session type of the roaming local network is not matched with the subscription session type of the user terminal in the related technology is solved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic illustration of an IP session type in the prior art;
fig. 2 is a flowchart illustrating a network access method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a core network in an embodiment of the invention;
fig. 4 is a flowchart illustrating another network access method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an area network access device in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
According to an embodiment of the present invention, a network access method is provided, as shown in fig. 2, the method may specifically include the following steps:
s202, determining a session type and user subscription data corresponding to a user terminal according to an IP session establishment request sent by the user terminal;
in this embodiment, the user equipment UE includes, but is not limited to, a mobile terminal capable of performing data communication based on a wireless network, such as a mobile phone, a tablet, and an internet of things device, which is not limited in this embodiment.
The session types in this embodiment include, but are not limited to, IPv4 single stack, IPv6 single stack, IPv4/IPv6 dual stack, and the like, where the IPv4 single stack indicates terminal communication whose IP address supported by the user terminal is an IPv4 address; the IPv6 single stack indicates that the IP address supported by the user terminal is the terminal of the IPv6 address to carry out data communication; the IPv4/IPv6 dual stack indicates that the IP address supported by the user terminal is an IPv4 address or an IPv6 address, and the terminal with either an IPv4 address or an IPv6 address can perform data communication.
In a specific application scenario, one core network includes a user subscription data storage network element, a policy control network element, a user access network element, a session management network element, a user plane network element and a base station, wherein after a user terminal UE establishes a session with the user access control network element through accessing a mobile network of the base station, the policy control network element determines whether the user terminal is accessed in a roaming manner, and determines a session type and a subscription session type of the user terminal, and then issues an internet policy control and charging rule of the user terminal.
In one example, as shown in the core network diagram of fig. 3, the user terminal 300 and the user terminal 302 are located in a home location and a roaming location, respectively, and both are user terminals of the same home location. In the home network, the user terminal 300 is connected to the user plane network element 310 and the user access control network element 320 through the base station 1. The home network further includes a user subscription data storage network element 330, a policy control network element 340, and a session management network element 350; in the roaming network, the user terminal 302 is connected to the user plane network element 312 and the user access control network element 322 through the base station 2, and the roaming network further includes a session management network element 352. The user terminal 300 and the user terminal 302 are issued internet policy control and charging rules by the same policy control network element 340, and the subscription session types of the user terminal 300 and the user terminal 302 are stored in the user subscription data storage network element 330.
In this embodiment, after accessing the mobile wireless network, the user terminal initiates an IP session establishment request, and the session control network element sends a session key cell in the session establishment request to the policy control network element.
Therefore, the policy control network element can directly determine whether the user terminal is located in the roaming area network or not according to the user subscription data, and whether the session type requested by the user terminal is matched with the session type supported by the roaming area network or not, so that the policy control network element issues the internet policy control and charging rules of the user terminal, and leads the user traffic of the user terminal according to the matching result.
Optionally, in this embodiment, the determining, according to the IP session establishment request sent by the user terminal, the access network of the user terminal and the user subscription data includes, but is not limited to: receiving an IP session establishment request through a session management network element, wherein the IP session establishment request comprises a session type and user subscription data; and sending a session message to the policy control network element through the session management network element, wherein the session message comprises a session type field, and the session type field comprises a session type and user subscription data.
Specifically, in this embodiment, the session management network element receives an IP session establishment request sent by the user terminal, and acquires the user subscription data of the user terminal and the session type of the user request according to the IP session establishment request. And sending a session message to the policy control network element through the session management network element, wherein the session message comprises a session type field, and the session type field comprises a session type and user subscription data, so that the policy control network element acquires the current access network of the user terminal and the user subscription data according to the user subscription data in the session type field. The user subscription data is used for indicating that the IP session type signed by the user terminal is stored in the user subscription data storage network element.
In a specific example, a field pdussessinttypedetail is added in a message from a session management network element to a policy control network element, and is used for identifying an IP session type requested by the UE and an IP session type subscribed to the UE by a user subscription data storage network element. The policy control network element may obtain the subscription session type of the user terminal from the user subscription data storage network element.
According to the embodiment, an IP session establishment request is received through a session management network element, wherein the IP session establishment request comprises a session type and user subscription data; and sending the session message to the policy control network element through the session management network element, so that the policy control network element can quickly and directly determine the session type and the signed session type of the user terminal.
And S204, if the session type and the signed session type corresponding to the user signed data are not matched with the roaming place network, dredging the user flow of the user terminal to the home place network of the user terminal for outgoing, wherein the roaming place network is the current access network of the user terminal.
In a specific application scenario, the policy control network element obtains the subscription session type of the user terminal from the user subscription data storage network element, and under the condition that the session type requested by the user terminal is not matched with the subscription session type and the current access network of the user terminal is a roaming network, the user traffic of the user terminal is diverted to the home network of the user terminal for outgoing.
For example, if the signed session type of the user terminal is IPv6 single stack, the current access network of the user terminal is IPv4 single stack, and the session type requested by the user terminal is IPv6 single stack, the session type requested by the user terminal is not matched with the signed session type, and the current access network of the user terminal is a roaming network, and the user traffic of the user terminal is directed to the home network of the user terminal for outgoing.
In actual application, a policy rule for judging whether a user accesses a roaming place is added in a policy control network element; adding a policy rule for indicating a session control network element to distribute different types of IPs for a user; and adding different policy rules for the traffic forwarding action. In this embodiment, the specific policy rule may be set according to actual experience, which is not limited in this embodiment.
In addition, after the IPv6 single-stack user terminal performs network access from the roaming area network, the roaming area network grooms the user traffic according to the traffic forwarding rule issued by the home policy control network element, so that the user terminal normally accesses the internet.
Optionally, in this embodiment, the method further includes, but is not limited to: and if the session type and the signing session type are matched with the roaming place network, dredging the user flow to the roaming place network for outgoing.
In a specific application scenario, if the session type requested by the user terminal and the subscription session type of the user terminal are matched with the roaming-site network, it indicates that the roaming-site network can support the session type of the user terminal. For example, if the user signed session type is IPv6 single stack and the current access network of the user terminal is IPv6 single stack, the signed session type matches the session type of the roaming destination network, allocates an IPv6 address to the user terminal, and forwards the user traffic for the user terminal through the roaming destination network.
Optionally, in this embodiment, the method further includes, but is not limited to: and if the current access network of the user terminal is the home network, dredging the user traffic to the home network for outgoing.
In a specific application scenario, if the current access network of the user terminal is the home network of the user terminal, based on the fact that the user terminal is stored in the signed data storage network element, the policy control network element issues a default internet access policy control and charging rule corresponding to the home.
Optionally, in this embodiment, if the session type and the subscription session type corresponding to the user subscription data are not matched with the roaming-destination network, the method of offloading the user traffic of the user terminal to the home-destination network of the user terminal for outgoing includes, but is not limited to: if the roaming network is an IPv4 single stack and the subscription session type and the session type of the user terminal are IPv6 single stack types, an IPv6 single stack address is distributed for the user terminal, and user traffic is dredged to the home network for outgoing.
In a specific application scenario, if the session type only supported by the roaming network is IPv4 single stack and the signed session type and the session type of the user terminal are IPv6 single stack, the policy control network element determines whether the user terminal only supports IPv6 single stack according to the pdussissiontypetail cell, and if so, issues a policy control and charging rule, instructs the user terminal to obtain IPv6 single stack address, and instructs the roaming network to route the user traffic back to the local place.
In a specific embodiment, as shown in fig. 4, the network access method in this embodiment may specifically include the following steps:
step S41: a user terminal accesses a mobile network and initiates an IP session establishment request;
specifically, the session control network element sends the session establishment key information element to the policy control network element.
S42: the policy control network element judges whether the user terminal is an IPv6 single stack user;
specifically, the policy control network element judges whether the user is an IPv6 single stack user according to the pdussessinttypedetail cell, and if not, executes S43; if yes, go to S44.
And S43, the strategy control network element issues default Internet access strategy control and charging rules of the number attribution province.
Step S44: the policy control network element judges whether the user terminal roams at an other place;
specifically, the policy control network element judges whether the user terminal roams in a non-home location such as a foreign province or the like according to the cell related to the user location information, if not, S45 is executed; if yes, go to S46.
And S45, the strategy control network element issues default Internet access strategy control and charging rules of the number attribution province.
S46, the strategy control network element continuously judges whether the user terminal only supports IPv6 single stack;
specifically, the policy control network element judges whether the user terminal only supports the IPv6 single stack according to the pdussessiontypetail cell, if not, executes S47; if yes, go to S48.
S47, the strategy control network element issues strategy control and charging rules to indicate the user to obtain IPv4/IPv6 double-stack address, and the user data is released from the roaming place;
s48, the strategy control network element issues strategy control and charging rules to instruct the user to obtain IPv6 single stack address and instruct the roaming network to dredge the user flow to the home location for outgoing.
In the above example, the session control network element will send the IP protocol stack type requested/supported by the user terminal and the IP protocol stack type signed by the number to the policy control network element together, and the policy control network element determines and issues different policy rules to implement allocation of the terminal IP address, which solves the problem that the current IPv6 single stack user normally accesses the internet in roaming.
According to the embodiment of the invention, the session type and the user subscription data corresponding to the user terminal are determined according to the IP session establishment request sent by the user terminal; and if the session type and the signed session type corresponding to the user signed data are not matched with the roaming place network, dredging the user flow of the user terminal to the home place network of the user terminal for outgoing, wherein the roaming place network is the current access network of the user terminal. In this embodiment, the session type and the subscription session type requested by the user terminal are determined according to the IP session establishment request sent by the user terminal, and when both the session type and the subscription session type are not matched with the home network, the user traffic of the user terminal is diverted to the outgoing office of the home network of the user terminal. Therefore, the problem that the communication service of the user terminal is influenced when the session type of the roaming area network is not matched with the subscription session type of the user terminal in the related technology is solved.
Example two
A network access apparatus provided in an embodiment of the present invention is described in detail.
Referring to fig. 5, a schematic structural diagram of a network access apparatus in an embodiment of the present invention is shown.
The application program loading device of the embodiment of the invention comprises: a determination module 50 and a processing module 52.
The functions of the modules and the interaction relationship between the modules are described in detail below.
A determining module 50, configured to determine a session type and user subscription data corresponding to a user terminal according to an IP session establishment request sent by the user terminal;
a processing module 52, configured to, if the session type and the subscription session type corresponding to the user subscription data are not matched with a roaming destination network, offload user traffic of the user terminal to a home network of the user terminal for outgoing, where the roaming destination network is a current access network of the user terminal.
Optionally, in this embodiment, the determining module 50 includes:
a receiving unit, configured to receive, through a session management network element, the IP session establishment request, where the IP session establishment request includes the session type and the user subscription data;
a sending unit, configured to send a session message to a policy control network element through the session management network element, where the session message includes a session type field, and the session type field includes the session type and the user subscription data.
Optionally, in this embodiment, the processing module 50 is further configured to:
and if the session type and the signing session type are matched with the roaming place network, dredging the user traffic to the roaming place network for outgoing.
Optionally, in this embodiment, the processing module 50 is further configured to:
and if the current access network of the user terminal is the home network, dredging the user traffic to the home network for outgoing.
Optionally, in this embodiment, the processing module 50 includes:
and the processing unit is configured to allocate an IPv6 single stack address to the user terminal and offload the user traffic to the home network for outgoing if the roaming destination network is an IPv4 single stack and the subscription session type and the session type of the user terminal are IPv6 single stack types.
Moreover, in the embodiment of the invention, the session type and the user subscription data corresponding to the user terminal are determined according to the IP session establishment request sent by the user terminal; and if the session type and the signed session type corresponding to the user signed data are not matched with the roaming place network, dredging the user flow of the user terminal to the home place network of the user terminal for outgoing, wherein the roaming place network is the current access network of the user terminal. In this embodiment, the session type and the subscription session type requested by the user terminal are determined according to the IP session establishment request sent by the user terminal, and when both are not matched with the home network, the user traffic of the user terminal is diverted to the home network of the user terminal for outgoing. Therefore, the problem that the communication service of the user terminal is influenced when the session type of the roaming area network is not matched with the subscription session type of the user terminal in the related technology is solved.
EXAMPLE III
Preferably, an embodiment of the present invention further provides an electronic device, including: memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the network access method as described above.
Optionally, in this embodiment, the memory is configured to store program code for performing the following steps:
s1, determining the session type and the user contract data corresponding to the user terminal according to the IP session establishment request sent by the user terminal;
s2, if the session type and the subscription session type corresponding to the user subscription data are not matched with the roaming destination network, grooming the user traffic of the user terminal to the home network of the user terminal for outgoing, where the roaming destination network is the current access network of the user terminal.
Optionally, the specific example in this embodiment may refer to the example described in embodiment 1 above, and this embodiment is not described again here.
EXAMPLE five
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the readable storage medium stores a program or instructions thereon, and the program or instructions when executed by the processor implement the steps of the regional network access method according to embodiment 1.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s1, determining the session type and the user contract data corresponding to the user terminal according to the IP session establishment request sent by the user terminal;
s2, if the session type and the subscription session type corresponding to the user subscription data are not matched with the roaming destination network, grooming the user traffic of the user terminal to the home network of the user terminal for outgoing, where the roaming destination network is the current access network of the user terminal.
Optionally, the storage medium is further configured to store program codes for executing the steps included in the method in embodiment 1, which is not described in detail in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
Optionally, the specific example in this embodiment may refer to the example described in embodiment 1 above, and this embodiment is not described again here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method for network access, the method comprising:
determining a session type and user subscription data corresponding to a user terminal according to an IP session establishment request sent by the user terminal;
if the session type and the subscription session type corresponding to the user subscription data are not matched with a roaming local network, dredging user traffic of the user terminal to the home local network of the user terminal for outgoing, wherein the roaming local network is a current access network of the user terminal.
2. The method of claim 1, wherein determining the access network and the subscription data of the user terminal according to the IP session request sent by the user terminal comprises:
receiving the IP session establishment request through a session management network element, wherein the IP session establishment request comprises the session type and the user subscription data;
and sending a session message to a policy control network element through the session management network element, wherein the session message comprises a session type field, and the session type field comprises the session type and the user subscription data.
3. The method of claim 1, further comprising:
and if the session type and the signing session type are matched with the roaming place network, dredging the user traffic to the roaming place network for outgoing.
4. The method of claim 1, further comprising:
and if the current access network of the user terminal is the home network, dredging the user traffic to the home network for outgoing.
5. The method of claim 1, wherein if the session type and the subscription session type corresponding to the user subscription data do not match with a roaming-destination network, the offloading the user traffic of the user terminal to a home network outlet of the user terminal comprises:
if the roaming network is an IPv4 single stack and the subscription session type and the session type of the user terminal are IPv6 single stack types, allocating an IPv6 single stack address to the user terminal and dredging the user traffic to the home network for outgoing.
6. A network access apparatus, the apparatus comprising:
the determining module is used for determining the session type and the user subscription data corresponding to the user terminal according to the IP session establishment request sent by the user terminal;
and the processing module is used for dredging the user traffic of the user terminal to the home network of the user terminal for outgoing if the session type and the signing session type corresponding to the user signing data are not matched with the roaming network, wherein the roaming network is the current access network of the user terminal.
7. The apparatus of claim 6, wherein the determining module comprises:
a receiving unit, configured to receive, through a session management network element, the IP session establishment request, where the IP session establishment request includes the session type and the user subscription data;
a sending unit, configured to send a session message to a policy control network element through the session management network element, where the session message includes a session type field, and the session type field includes the session type and the user subscription data.
8. The apparatus of claim 6, wherein the processing module is further configured to:
and if the session type and the signing session type are matched with the roaming place network, dredging the user traffic to the roaming place network for outgoing.
9. The apparatus of claim 6, wherein the processing module is further configured to:
and if the current access network of the user terminal is the home network, dredging the user traffic to the home network for outgoing.
10. The apparatus of claim 6, wherein the processing module comprises:
and the processing unit is configured to allocate an IPv6 single stack address to the user terminal and offload the user traffic to the home network for outgoing if the roaming destination network is an IPv4 single stack and the subscription session type and the session type of the user terminal are IPv6 single stack types.
11. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the network access method according to any of claims 1 to 5.
12. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the network access method according to any one of claims 1 to 5.
CN202210452198.1A 2022-04-27 2022-04-27 Network access method, device, electronic equipment and readable storage medium Pending CN115002852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210452198.1A CN115002852A (en) 2022-04-27 2022-04-27 Network access method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210452198.1A CN115002852A (en) 2022-04-27 2022-04-27 Network access method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115002852A true CN115002852A (en) 2022-09-02

Family

ID=83025252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210452198.1A Pending CN115002852A (en) 2022-04-27 2022-04-27 Network access method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115002852A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451220A (en) * 2014-09-23 2016-03-30 黑莓有限公司 Method and apparatus for selecting an ip type during roaming
CN108323245A (en) * 2017-06-19 2018-07-24 华为技术有限公司 It is a kind of registration and session establishment method, terminal and AMF entities
CN109246769A (en) * 2017-05-05 2019-01-18 华为技术有限公司 A kind of PDU session establishing method and device
CN109819484A (en) * 2017-11-21 2019-05-28 华为技术有限公司 A kind of method, network element and the terminal device of session context processing
CN110972218A (en) * 2018-09-30 2020-04-07 华为技术有限公司 Communication method and device
WO2020143716A1 (en) * 2019-01-10 2020-07-16 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for facilitating roaming of terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451220A (en) * 2014-09-23 2016-03-30 黑莓有限公司 Method and apparatus for selecting an ip type during roaming
CN109246769A (en) * 2017-05-05 2019-01-18 华为技术有限公司 A kind of PDU session establishing method and device
CN108323245A (en) * 2017-06-19 2018-07-24 华为技术有限公司 It is a kind of registration and session establishment method, terminal and AMF entities
CN109819484A (en) * 2017-11-21 2019-05-28 华为技术有限公司 A kind of method, network element and the terminal device of session context processing
US20200280892A1 (en) * 2017-11-21 2020-09-03 Huawei Technologies Co., Ltd. Session context handling method, network element, and terminal device
CN110972218A (en) * 2018-09-30 2020-04-07 华为技术有限公司 Communication method and device
WO2020143716A1 (en) * 2019-01-10 2020-07-16 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for facilitating roaming of terminal device
US20220116753A1 (en) * 2019-01-10 2022-04-14 Telefonaktiebolaget Lm Ericsson (Publ) Methods and Apparatuses for Facilitating Roaming of Terminal Device

Similar Documents

Publication Publication Date Title
EP3398305B1 (en) Method and architecture for virtualized network service provision
CN111698725A (en) Method for dynamically determining network slice and electronic equipment
CN113596191B (en) Data processing method, network element equipment and readable storage medium
CN104145505B (en) Access processing method, device and system
CN107919969A (en) Policy control method and device
JPWO2005039211A1 (en) Wireless line shared network system, management apparatus and method thereof
CN112437104B (en) Method and device for managing service quality and communication system
US8670422B2 (en) System and method for sending and receiving packets
CN112105091B (en) Session management method, session Management Function (SMF) entity, terminal and network side entity
CN110972126A (en) Path, path information processing method and device
CN108271255B (en) Method and device for distributing service data
CN112187495A (en) Communication method and communication system of terminal and server
WO2019034663A1 (en) Mobile radio communication network and method for associating a mobile radio terminal device to a network slice instance of a mobile radio communication network
US11863519B2 (en) Communication method and apparatus for handling DNS messages
CN104427568A (en) Method and device for realizing unloading of 3GPP network flow
CN113301092B (en) Network reconnection method, device, system and storage medium
US10743360B2 (en) Method for accessing local network, and related device
US20050130681A1 (en) Method of managing a communication with multi-server service providing means
CN101453752B (en) Method, system and equipment for implementing service priority in communication network
CN115002852A (en) Network access method, device, electronic equipment and readable storage medium
CN108124293B (en) Voice service switching method and device in spatial heterogeneous integrated network
CN107920375B (en) Data service switching method, device and system in spatial heterogeneous integrated network
CN116097789A (en) Methods, apparatus and computer program products for wireless communication
CN113259498A (en) Local service distribution method and device, electronic equipment and storage medium
CN112637310B (en) Method for discovering edge service and edge service network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination