CN109167847B - IPv6 address generation method, SMF and communication system - Google Patents

IPv6 address generation method, SMF and communication system Download PDF

Info

Publication number
CN109167847B
CN109167847B CN201810903992.7A CN201810903992A CN109167847B CN 109167847 B CN109167847 B CN 109167847B CN 201810903992 A CN201810903992 A CN 201810903992A CN 109167847 B CN109167847 B CN 109167847B
Authority
CN
China
Prior art keywords
code
smf
amf
ipv6 address
interface
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.)
Active
Application number
CN201810903992.7A
Other languages
Chinese (zh)
Other versions
CN109167847A (en
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 United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co 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 United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810903992.7A priority Critical patent/CN109167847B/en
Publication of CN109167847A publication Critical patent/CN109167847A/en
Application granted granted Critical
Publication of CN109167847B publication Critical patent/CN109167847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Abstract

The embodiment of the invention discloses an IPv6 address generation method, an SMF and a communication system, relates to the technical field of communication, and can generate an IPV6 address prefix according to the position information of UE, so that the UE is finely controlled. The method comprises the steps that SMF receives user equipment UE position information, a data network name and an access type which are sent by AM; the SMF generates an access type code AT in an IPV6 address prefix according to the access type of the UE and the data network name; the SMF generates a province code PI and a district code CC in an IPV6 address prefix according to a tracking area code TAC in the position information of the UE; the SMF generates a subnet space identifier SSI in the address prefix of the IPV6 according to the TAI code and the Cell ID in the position information of the UE; the SMF sends the IPV6 address prefix to the UE through the UPF, so that the UE generates an interface identification ID of the IPV6 address according to the physical interface address of the UE. The embodiment of the invention is applied to a network system.

Description

IPv6 address generation method, SMF and communication system
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an IPv6 address generation method, an SMF and a communication system.
Background
Because the public Internet Protocol Version 4(Internet Protocol Version 4, IPv4) addresses of the domestic operators and branch offices are used up continuously, in order to ensure the development of business sustainability, the operators gradually realize the commercial use and scale deployment of Internet Protocol Version 6(Internet Protocol Version 6, IPv6) according to different scenes, and whether an effective and compliant user supervision scheme can be provided is a key for the commercial use of IPv 6.
In the prior art, according to an address type requirement sent by User Equipment (UE), an IPv6 prefix is allocated to the UE, where the IPv6 prefix may be managed by a PDN-GW (Packet Data Network Gateway) or an SMF (Session Management Function), or may be obtained from the outside by the PDN-GW or the SMF Session Management Function, and the UE generates a global IPv6 address according to the allocated IPv6 prefix and an interface identifier generated by the UE itself, for subsequent Data transmission. In the prior art, the IPV6 address prefix is distributed by the PDN-GW or SMF managing the IPV6 prefix, and the generation mechanism is randomly generated, so that effective compliance supervision on the IPV6 address cannot be provided.
Disclosure of Invention
The embodiment of the invention provides an IPv6 address generation method, an SMF and a communication system, which can generate an IPV6 address prefix according to the position information of UE, thereby realizing the refined control of the UE.
In a first aspect, a method for generating an IPv6 address is provided, where the method includes:
the SMF receives the position information, the data network name and the Access type of the UE, which are sent by the AMF (Access and Mobility Management Function module); wherein, the location information of the UE includes: TAI code and Cell code Cell ID; the TAI code comprises a mobile country code, a mobile network code and a tracking area code TAC; the SMF generates an access type code AT in an IPV6 address prefix according to the access type of the UE and the data network name; the SMF generates a province code PI and a district code CC in an IPV6 address prefix according to a tracking area code TAC in the position information of the UE; the SMF generates a subnet space identifier SSI in the address prefix of the IPV6 according to the TAI code and the Cell ID in the position information of the UE; the SMF sends the IPV6 address prefix to the UE through the UPF, so that the UE generates an interface identification ID of the IPV6 address according to the physical interface address of the UE.
In the method, firstly, the SMF receives the location information, the data network name and the access type of the user equipment UE sent by the AMF; wherein, the location information of the UE includes: TAI code and Cell code Cell ID; the TAI code comprises a mobile country code, a mobile network code and a tracking area code TAC; secondly, the SMF generates an access type code AT in an IPV6 address prefix according to the access type of the UE and the data network name; the SMF generates a province code PI and a district code CC in an IPV6 address prefix according to a tracking area code TAC in the position information of the UE; the SMF generates a subnet space identifier SSI in the address prefix of the IPV6 according to the TAI code and the Cell ID in the position information of the UE; finally, the SMF sends the IPV6 address prefix to the UE through the UPF, so that the UE generates an interface identification ID of the IPV6 address according to the physical interface address of the UE. According to the invention, the IPV6 address prefix can be generated according to the position information of the UE, thereby realizing the refined control of the UE.
Optionally, the SMF receives the location information, the data network name, and the access type of the UE sent by the AMF, where the receiving includes: the SMF sends a first connection request to the UE through the AMF, wherein the first connection request is used for indicating the AMF to establish connection with the UE through an N1 interface and allocating the bandwidth for transmitting data between the AMF and the UE through an N1 interface; the SMF sends a second connection request to a Radio Access Network (RAN) through the AMF, wherein the second connection request is used for indicating the AMF and the RAN to establish connection through an N2 interface and distributing bandwidth for data transmission between the AMF and the RAN through an N2 interface.
Optionally, the sending, by the SMF, the first connection request to the RAN through the AMF includes: receiving a Protocol Data Unit (PDU) session establishment request sent by UE (user equipment) by an AMF (advanced multimedia messaging framework), wherein the PDU session establishment request carries a first parameter, and the first parameter comprises Network Slice Selection auxiliary information NSSAI(s) (Network Slice Selection Assistance information), a data Network name DNN (data Network name), a PDU session address and a request type code; the AMF determines the SMF according to the first parameter and sends the second parameter to the SMF; the second parameter comprises NSSAI(s), request type code, subscription Permanent identity SUPI (subscription Permanent identity), DNN, PDU session address, location information of UE and access type; the SMF registers in UDM (Unified Data Management) according to SUPI, DNN and PDU session address.
Optionally, the SMF registers in the UDM according to the SUPI, DNN and PDU session address, and then further includes: the SMF determines a UPF (User Port Function) mode according to the second parameter and sends a third connection request to the UPF; and the third connection request is used for indicating the SMF and the UPF to establish connection through the N3 interface and allocating the bandwidth for the SMF and the UPF to transmit data through the N3 interface.
Optionally, the SMF generates a province code PI and a district code CC in the IPV6 address prefix according to the tracking area code TAC in the location information of the UE, and specifically includes: and the SMF queries province code PI and district code CC in address prefix of IPV6 in a database according to tracking area code TAC in the position information of the UE.
In a second aspect, there is provided an SMF, comprising:
the receiving module is used for receiving the position information, the data network name and the access type of the user equipment UE sent by the AMF; wherein, the location information of the UE includes: TAI code and Cell code Cell ID; the TAI codes include mobile country code, mobile network code and tracking area code TAC.
And the processing module is used for generating an access type code AT in the address prefix of the IPV6 according to the access type of the UE and the data network name received by the receiving module.
And the processing module is further used for generating province code PI and county code CC in the address prefix of the IPV6 according to the tracking area code TAC in the position information of the UE received by the receiving module.
And the processing module is further configured to generate a subnet space identifier SSI in the IPV6 address prefix according to the TAI code and the Cell ID in the location information of the UE received by the receiving module.
And the sending module is used for sending the IPV6 address prefix to the UE through the UPF so that the UE generates an interface identification ID of the IPV6 address according to the physical interface address of the UE.
Optionally, the sending module is further configured to send a first connection request to the UE through the AMF, where the first connection request is used to instruct the AMF to establish a connection with the UE through an N1 interface, and allocate a bandwidth for data transmission between the AMF and the UE through an N1 interface.
And the sending module is further configured to send a second connection request to the radio access network RAN through the AMF, where the second connection request is used to instruct the AMF to establish a connection with the RAN through an N2 interface, and allocate a bandwidth for data transmission between the AMF and the RAN through an N2 interface.
Optionally, the receiving module is further configured to receive a second parameter sent by the AMF; the second parameters include nssai(s), request type code, subscription permanent identity, SUPI, DNN, protocol data unit, PDU, session address, location information of the UE, and access type.
And the processing module is also used for registering in the UDM according to the SUPI, the DNN and the PDU session address received by the receiving module.
Optionally, the processing module is further configured to determine the UPF mode according to the second parameter received by the receiving module.
The sending module is used for sending a third connection request to the UPF according to the UPF mode determined by the processing module; and the third connection request is used for indicating the SMF and the UPF to establish connection through the N3 interface and allocating the bandwidth for the SMF and the UPF to transmit data through the N3 interface.
Optionally, the processing module is specifically configured to query, in the database, a province code PI and a prefecture and county code CC in an IPV6 address prefix according to the tracking area code TAC in the location information of the UE received by the receiving module.
It can be understood that, the above-mentioned provided AMF is used for executing the method corresponding to the AMF in the first aspect provided above, and therefore, the beneficial effects that can be achieved by the AMF may refer to the beneficial effects of the method corresponding to the AMF in the first aspect above and the corresponding scheme in the following detailed description, and are not repeated herein.
In a third aspect, a communication system is provided, which includes: UPF, user equipment UE and AMF and SMF of the second aspect.
The AMF is used for receiving a Protocol Data Unit (PDU) session establishment request sent by the UE, wherein the PDU session request carries a first parameter, and the first parameter comprises network slice selection auxiliary information NSSAI(s), a data network name DNN, a PDU session address and a request type code.
The AMF is also used for determining the SMF according to the first parameter and sending a second parameter to the SMF; wherein the second parameters include nssai(s), request type code, subscription permanent identity, SUPI, DNN, PDU session address, location information of the UE, and access type.
It can be understood that, the above-mentioned provided communication system is configured to execute the method corresponding to the first aspect, and therefore, the beneficial effects that can be achieved by the communication system may refer to the beneficial effects of the method corresponding to the first aspect and the corresponding scheme in the following detailed description, which are not described herein again.
Drawings
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for generating an IPv6 address according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an IPV6 address encoding format according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an SMF according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
With the rapid development of the internet, the limited address space defined by the IPv4 will be exhausted, thereby affecting the further development of the internet. To expand the address space, the IPV6 is proposed as the next version. IPv6 redefines the address space using a 128-bit address length, i.e., a 128-bit binary number. The 128-bit binary number of the IPv6 address consists of two logical parts: a 64-bit IPv6 network prefix and a 64-bit host address. In the prior art, a gateway device is adopted to send a 64-bit IPv6 network prefix to a UE, and a terminal generates an IPv6 address, and a 64-bit host address is generally generated by the terminal according to a physical address. However, in the prior art, the IPV6 address prefix is allocated by the PDN-GW or SMF managing IPV6 prefix, and the generation mechanism is randomly generated, so that effective compliance supervision of IPV6 address cannot be provided.
Referring to fig. 1, the present invention provides a communication system 10 comprising a UE101, a RAN102, a UPF103, an AMF104, and an SMF 105. Wherein, the communication interface between the UE101 and the AMF104 is N1; the communication interface of the AMF104 with the RAN102 is N2; the communication interface between the SMF105 and the UPF103 is N3; the RAN102 and UPF103 communication interface is N4; the communication interface with the UPF103 is N4. In addition, the communication system 10 further includes: NSSF106, NEF107, NRF108, PCF109, UDM110, AF111, AUSF112, and DN 113. AMF104, SMF105, NSSF106, NEF107, NRF108, PCF109, UDM110, AF111, and AUSF112 are all connected to a communication bus 114; wherein, the communication interface between the AMF104 and the communication bus 114 is Namf, the communication interface between the SMF105 and the communication bus 114 is Nsmf, the communication interface between the NSSF106 and the communication bus 114 is NSSF, the communication interface between the NEF107 and the communication bus 114 is Nnef, the communication interface between the NRF108 and the communication bus 114 is nrrf, the communication interface between the PCF109 and the communication bus 114 is Npcf, the communication interface between the UDM110 and the communication bus 114 is numm, the communication interface between the AF111 and the communication bus 114 is Naf, and the communication interface between the AUSF112 and the communication bus 114 is Nausf; the DN113 and UPF103 communication interface is N4.
It should be noted that all network elements in the communication system 10 are explained as follows:
UE: user Equipment, User Equipment.
RAN: radio Access Network, Radio Access Network.
UPF: user plane Function, User plane Function module, the main functions include: (1) an anchor point for Intra-RAT mobility; (2) data message routing and forwarding; (3) QoS processing of the data message; (4) detecting data messages and executing QoS strategies; (5) and (6) flow statistics and reporting.
AMF: core Access and Mobility Management Function module, the main functions include: (1) mobility management; (2) routing of SM messages; (3) access authentication; (4) a secure anchor function (SEA); (5) a security context management function (SCM).
SMF: session Management Function, Session Management Function module, the main functions include: (1) managing a session; (2) UP selection and control: (3) the SM NAS message terminates; (4) and (4) downlink data notification.
NSSF: network Slice Selection Function; the main functions include: and the NSSF cooperates with the RAN/AMF to select auxiliary information according to the network slice carried by the UE and transmit the signaling to the corresponding network slice.
NEF, Network Exposure Function, Network capability open Function module; the main functions include: (1) collecting, analyzing and recombining network capacity; (2) opening of network capabilities.
NRF: network reproducibility Function, Network Function Repository; the main functions include: (1) supporting network function service registration, state monitoring and the like; (2) and automatic management, selection and expansion of network function services are realized.
PCF: policy Control function, Policy Control function module, the main functions include: (1) detecting application and service data flow; (2) QoS control; (3) managing the amount; (4) flow-based charging; (5) background data (Background data) transfer policy negotiation; (6) managing a PFD (packet Filter descriptor) configured from a third-party AS through the NEF and the PFDF; (7) data flow split management (different DN); (8) the method has a UDR (user Data repeatability) front-end function to provide user subscription information; (9) providing network selection and mobility management related policies (such as RFSP retrieval); (10) configuration of UE policy (the network side has to support providing policy information to the UE, e.g. network discovery and selection policy, SSC mode selection policy, network slice selection policy).
UDM: the Unified signing Data Management module of the Unified signing database comprises the following main functions: (11) managing subscription information; (12) and (6) authenticating the user.
AF: application Function, Application Function.
AUSF: authentication Server Function; the main functions include: (1) EAP (Extensible Authentication Protocol) Authentication server function; (2) the key is stored.
DN: data Network, Data Network.
Referring to fig. 2, an embodiment of the present invention provides a method for generating an IPv6 address, where the method includes:
201. the SMF receives the position information, the data network name and the access type of the user equipment UE sent by the AMF; wherein, the location information of the UE includes: TAI code and Cell code Cell ID; the TAI codes include mobile country code, mobile network code and tracking area code TAC.
Illustratively, the mobile country code is uniformly assigned and managed by ITU (International telecommunications Union), which uniquely identifies the country to which the mobile subscriber belongs, and has 3 digits in total, and 460 digits in china. Mobile network code, 2 bits in total, for example: the china mobile TD system uses 00, the china unicom GSM system uses 01, the china mobile GSM system uses 02, and the china telecommunication CDMA system uses 03.
Preferably, the access types are mainly classified into two major types, namely, 3GPP (the 3rd Generation Partnership Project) access and non-3 GPP access, where the 3GPP access types include fixed network static access, fixed network dynamic access, mobile access, and the like, and may be further subdivided as needed, for example, the mobile access may be classified into 2G access, 3G access, 4G access, 5G access, and the like, where the 4G access and the 5G access are further classified into data access and voice access, and the non-3 GPP access generally refers to WiFi (Wireless local area network) access.
202. The SMF generates an access type code AT in the IPV6 address prefix according to the access type of the UE and the data network name.
Illustratively, when the length of the access type code AT is 4 bits, the access type code AT is 16 groups, the access type code AT can be respectively allocated to fixed broadband, wireless local area network wlan (wireless lan), 4G data, 4G voice, 5G data, 5G voice, etc. In addition, when the access type is 5G access and DNN is a data network accessed by a mobile broadband, the length of the access type coding AT adopts a 5G data coding space; when the access type is 5G access and DNN is a data network of voice access, the length of the access type coding AT adopts 5G voice coding space.
203. And the SMF generates a province code PI and a district code CC in an IPV6 address prefix according to the tracking area code TAC in the position information of the UE.
The SMF generates a province code PI and a district code CC in an IPV6 address prefix according to a tracking area code TAC in the location information of the UE, and specifically includes: and the SMF queries province code PI and district code CC in address prefix of IPV6 in a database according to tracking area code TAC in the position information of the UE.
204. The SMF generates a subnet space identifier SSI in the address prefix of the IPV6 according to the TAI code and the Cell ID in the location information of the UE.
Preferably, the SSI address space part of the IPV6 address is generated by encoding the Cell ID and adding the 4G eNB (which may be understood as a 4G base station) or the 5G gbb (which may be understood as a 5G base station) in the TAC, and if the SSI address space bit length is greater than the length of the encoded 4G eNB or the 5G gbb in the TAC and the length of the Cell ID, 0 is added in the upper bits; if the SSI space bit length is less than the 4G eNB or 5G gNB coding length in the TAC plus the length of the Cell ID, then all or part of the Cell ID fields are discarded according to priority.
205. The SMF sends the IPV6 address prefix to the UE through the UPF, so that the UE generates an interface identification ID of the IPV6 address according to the physical interface address of the UE.
In addition, referring to fig. 2, before step 201, the method further includes:
301. the AMF receives a Protocol Data Unit (PDU) session establishment request sent by the UE, wherein the PDU session request carries a first parameter, and the first parameter comprises network slice selection auxiliary information NSSAI(s), a data network name DNN, a PDU session address and a request type code.
302. The AMF determines the SMF according to the first parameter and sends the second parameter to the SMF; wherein the second parameters include nssai(s), request type code, subscription permanent identity, SUPI, DNN, PDU session address, location information of the UE, and access type.
Exemplarily, in the 4G network, the location information and the access type are sent to the PDN-GW by an MME (Mobility Management Entity) through a PDU session establishment request; in a 3G network, location information and access type are sent by an SGSN (Serving GPRS Support Node) to a GGSN (Gateway GPRS Support Node) by establishing a PDU session request.
303. The SMF registers in the UDM according to SUPI, DNN and PDU session addresses.
304. The SMF determines a UPF mode according to the second parameter and sends a third connection request to the UPF; and the third connection request is used for indicating the SMF and the UPF to establish connection through the N3 interface and allocating the bandwidth for the SMF and the UPF to transmit data through the N3 interface.
305. The SMF sends a first connection request to the UE through the AMF, wherein the first connection request is used for indicating the AMF to establish connection with the UE through an N1 interface and allocating the bandwidth for the AMF and the UE to transmit data through an N1 interface.
306. The SMF sends a second connection request to the RAN through the AMF, wherein the second connection request is used for indicating the AMF to establish connection with the RAN through the N2 interface and distributing the bandwidth for transmitting data between the AMF and the RAN through the N2 interface.
To implement refined management and control on IPV6 address, for example, referring to fig. 3, an embodiment of the present invention provides an IPV6 address encoding format, which specifically includes: the IPV6 accesses an address block prefix code PB, and the length of the address block prefix code PB is n bits; province code PI with the length of s bits; accessing type code AT with length of t bits; the county code CC is r bits in length; the subnet space identifier SSI is 64-n-s-t-r bits in length; and the interface identification ID is 64 bits in length. The sequence of all codes in the IPV6 address may be IPV6 access address block prefix code PB, province code PI, access type code AT, district code CC, subnet space identifier SSI, interface identification ID.
The IPV6 access address block prefix code PB, province code PI, access type code AT, district code CC and subnet space identifier SSI form the IPV6 address prefix.
It should be noted that the location order, coding and meaning of the PI and AT are autonomously planned by the operator of the IPV6 address. For example, for the same PB, the order of PI and AI in all IPV6 addresses is determined, and the length of PI and AI is determined, the CC is located after PI and AT, that is to say the position and length of PI, AT, CC is determined for IPV6 address of the same PB. Additionally, IPV6 access address block prefix code PB may include, but is not limited to, world assigned access address block codes for countries and country assigned access address block codes for telecommunications operators.
In the method, firstly, the SMF receives the location information, the data network name and the access type of the user equipment UE sent by the AMF; wherein, the location information of the UE includes: TAI code and Cell code Cell ID; the TAI code comprises a mobile country code, a mobile network code and a tracking area code TAC; secondly, the SMF generates an access type code AT in an IPV6 address prefix according to the access type of the UE and the data network name; the SMF generates a province code PI and a district code CC in an IPV6 address prefix according to a tracking area code TAC in the position information of the UE; the SMF generates a subnet space identifier SSI in the address prefix of the IPV6 according to the TAI code and the Cell ID in the position information of the UE; finally, the SMF sends the IPV6 address prefix to the UE through the UPF, so that the UE generates an interface identification ID of the IPV6 address according to the physical interface address of the UE. According to the invention, the IPV6 address prefix can be generated according to the position information of the UE, thereby realizing the refined control of the UE.
Referring to fig. 4, an embodiment of the present invention provides an SMF105, where the SMF105 includes:
a receiving module 401, configured to receive location information, a data network name, and an access type of a UE sent by an AMF; wherein, the location information of the UE includes: TAI code and Cell code Cell ID; the TAI codes include mobile country code, mobile network code and tracking area code TAC.
A processing module 402, configured to generate an access type code AT in the IPV6 address prefix according to the access type of the UE and the data network name received by the receiving module 401.
The processing module 402 is further configured to generate a province code PI and a prefecture code CC in the address prefix of the IPV6 according to the tracking area code TAC in the location information of the UE received by the receiving module 401.
The processing module 402 is further configured to generate a subnet space identifier SSI in the IPV6 address prefix according to the TAI code and the Cell ID in the location information of the UE received by the receiving module 401.
A sending module 403, configured to send the IPV6 address prefix to the UE through the UPF, so that the UE generates an interface identifier ID of the IPV6 address according to the physical interface address of the UE.
In an exemplary scheme, the sending module 403 is further configured to send, to the UE through the AMF, a first connection request, where the first connection request is used to instruct the AMF to establish a connection with the UE through an N1 interface, and allocate a bandwidth for the AMF and the UE to transmit data through an N1 interface.
The sending module 403 is further configured to send a second connection request to the radio access network RAN through the AMF, where the second connection request is used to instruct the AMF to establish a connection with the RAN through an N2 interface, and allocate a bandwidth for data transmission between the AMF and the RAN through an N2 interface.
In an exemplary scheme, the receiving module 401 is further configured to receive a second parameter sent by the AMF; the second parameters include nssai(s), request type code, subscription permanent identity, SUPI, DNN, protocol data unit, PDU, session address, location information of the UE, and access type.
The processing module 402 is further configured to register in the UDM according to the SUPI, DNN and PDU session address received by the receiving module 401.
In an exemplary scheme, the processing module 402 is further configured to determine the UPF mode according to the second parameter received by the receiving module 401.
A sending module 403, configured to send a third connection request to the UPF according to the UPF mode determined by the processing module 402; and the third connection request is used for indicating the SMF and the UPF to establish connection through the N3 interface and allocating the bandwidth for the SMF and the UPF to transmit data through the N3 interface.
In an exemplary scheme, the processing module 402 is specifically configured to query the database for the province code PI and the county code CC in the address prefix of the IPV6 according to the tracking area code TAC in the location information of the UE received by the receiving module 401.
Since the SMF in the embodiment of the present invention may be applied to implement the method corresponding to the SMF in the above method embodiment, the technical effect obtained by the SMF in the embodiment of the present invention may also refer to the method corresponding to the SMF in the above method embodiment, and details of the embodiment of the present invention are not repeated herein.
Referring to fig. 1, an embodiment of the present invention provides a communication system 10, where the communication system 10 includes:
UPF103, user equipment UE101, AMF104, and SMF105 described above.
The AMF104 is configured to receive a protocol data unit PDU session establishment request sent by the UE101, where the PDU session establishment request carries a first parameter, where the first parameter includes network slice selection auxiliary information nssai(s), a data network name DNN, a PDU session address, and a request type code.
The AMF104 is further configured to determine the SMF105 according to the first parameter and send a second parameter to the SMF 105; wherein the second parameters include nssai(s), request type code, subscription permanent identity, SUPI, DNN, PDU session address, location information of UE101, and access type.
Since the communication system in the embodiment of the present invention may be applied to implement the method embodiment, the technical effect obtained by the communication system may also refer to the method embodiment, and the embodiment of the present invention is not described herein again.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware or in software instructions executed by a processor. For example: the processing module may be implemented by a processor, and the obtaining module and the sending module may be implemented by a transceiver or other circuits with signal receiving function. An embodiment of the present invention further provides a storage medium, where the storage medium may include a memory, and is configured to store computer software instructions for SMF, where the computer software instructions include program codes designed to execute a method corresponding to SMF in the above-described IPv6 address generation method. Specifically, the software instructions may be composed of corresponding software modules, and the software modules may be stored in a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor.
The embodiment of the present invention further provides a computer program, where the computer program may be directly loaded into the memory, and contains a software code, and after the computer program is loaded and executed by a computer, the computer program can implement the method corresponding to the SMF in the IPv6 address generation method.
Furthermore, the steps of a method or algorithm described in connection with the present disclosure may be embodied in hardware or may be embodied in software instructions executed by a processor. For example: the functional modules for processing information in the UPF, the user equipment UE and the AMF4 may be implemented by a processor, and the functional modules for acquiring or transceiving information may be implemented by a transceiver or other circuits with signal receiving function. Embodiments of the present invention also provide a storage medium, which may include a memory for storing computer software instructions for a communication system, including program code designed to perform the above-described IPv6 address generation method. Specifically, the software instructions may be composed of corresponding software modules, and the software modules may be stored in a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor.
The embodiment of the present invention further provides a computer program, where the computer program may be directly loaded into the memory, and includes a software code, and the computer program is loaded and executed by a computer, so as to implement the above-mentioned IPv6 address generation method.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
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 changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in 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 (11)

1. A method for generating an IPv6 address, comprising:
the SMF receives the position information, the data network name and the access type of the user equipment UE sent by the AMF; wherein the location information of the UE includes: TAI code and cell code CellID; the TAI code comprises a mobile country code, a mobile network code and a tracking area code TAC;
the SMF generates an access type code AT in an IPV6 address prefix according to the access type of the UE and the data network name;
the SMF generates a province code PI and a district code CC in the IPV6 address prefix according to a tracking area code TAC in the position information of the UE;
the SMF generates a subnet space identifier SSI in the IPV6 address prefix according to a TAI code and a Cell ID in the UE location information;
and the SMF sends the IPV6 address prefix to the UE through UPF so that the UE can generate an interface identification ID of an IPV6 address according to the physical interface address of the UE.
2. The method for generating IPv6 address according to claim 1, wherein the SMF receives location information, data network name, and access type of the UE sent by the AMF, and includes:
the SMF sends a first connection request to the UE through the AMF, wherein the first connection request is used for indicating the AMF to establish connection with the UE through an N1 interface and allocating the bandwidth for the AMF and the UE to transmit data through the N1 interface; and the SMF sends a second connection request to a Radio Access Network (RAN) through the AMF, wherein the second connection request is used for indicating the AMF and the RAN to establish connection through an N2 interface and allocating the bandwidth for data transmission between the AMF and the RAN through the N2 interface.
3. The method for generating IPv6 address according to claim 2, wherein the SMF sends a first connection request to the RAN through the AMF, and before the method includes:
the AMF receives a Protocol Data Unit (PDU) session establishment request sent by the UE, wherein the PDU session request carries first parameters, and the first parameters comprise network slice selection auxiliary information NSSAI(s), a data network name DNN, a PDU session address and a request type code;
the AMF determines the SMF according to the first parameter and sends a second parameter to the SMF; wherein the second parameters include the NSSAI(s), the request type code, a subscription permanent identity, SUPI, the DNN, the PDU session address, location information of the UE, and an access type;
the SMF registers in UDM according to the SUPI, the DNN and the PDU session address.
4. The method for generating IPv6 address according to claim 3, wherein the SMF registers in the UDM according to the SUPI, the DNN, and the PDU session address, and then further comprises:
the SMF determines a UPF mode according to the second parameter and sends a third connection request to the UPF; and the third connection request is used for indicating the SMF and the UPF to establish connection through the N3 interface and allocating the bandwidth for the SMF and the UPF to transmit data through the N3 interface.
5. The method for generating an IPv6 address of claim 1, wherein the SMF generates a province code PI and a district-county code CC in the IPv6 address prefix according to a tracking area code TAC in the location information of the UE, and specifically includes:
and the SMF queries province code PI and county code CC in the IPV6 address prefix in a database according to the tracking area code TAC in the UE position information.
6. An SMF, comprising:
the receiving module is used for receiving the position information, the data network name and the access type of the user equipment UE sent by the AMF; wherein the location information of the UE includes: TAI code and Cell code Cell ID; the TAI code comprises a mobile country code, a mobile network code and a tracking area code TAC;
a processing module, configured to generate an access type code AT in an IPV6 address prefix according to the access type of the UE and the data network name received by the receiving module;
the processing module is further configured to generate a province code PI and a prefecture and county code CC in the IPV6 address prefix according to the tracking area code TAC in the location information of the UE received by the receiving module;
the processing module is further configured to generate a subnet space identifier SSI in the IPV6 address prefix according to the TAI code and the CellID in the location information of the UE received by the receiving module;
a sending module, configured to send the IPV6 address prefix to the UE through a UPF, so that the UE generates an interface identifier ID of an IPV6 address according to a physical interface address of the UE.
7. The SMF of claim 6, comprising:
the sending module is further configured to send a first connection request to the UE through the AMF, where the first connection request is used to instruct the AMF to establish a connection with the UE through an N1 interface, and allocate a bandwidth for the AMF and the UE to transmit data through the N1 interface;
the sending module is further configured to send a second connection request to the radio access network RAN through the AMF, where the second connection request is used to instruct the AMF and the RAN to establish a connection through an N2 interface, and allocate a bandwidth for data transmission between the AMF and the RAN through the N2 interface.
8. The SMF according to claim 7, comprising:
the receiving module is further configured to receive a second parameter sent by the AMF; the second parameters comprise NSSAI(s), request type code, contract permanent identity (SUPI), DNN, Protocol Data Unit (PDU) session address, location information of the UE and access type;
the processing module is further configured to register in a UDM according to the SUPI, the DNN, and the PDU session address received by the receiving module.
9. The SMF according to claim 8, comprising:
the processing module is further configured to determine a UPF mode according to the second parameter received by the receiving module;
the sending module is used for sending a third connection request to the UPF according to the UPF mode determined by the processing module; and the third connection request is used for indicating the SMF and the UPF to establish connection through the N3 interface and allocating the bandwidth for the SMF and the UPF to transmit data through the N3 interface.
10. The SMF of claim 6, comprising:
the processing module is specifically configured to query, in a database, a province code PI and a prefecture and county code CC in the IPV6 address prefix according to the tracking area code TAC in the location information of the UE received by the receiving module.
11. A communication system, comprising: UPF, user equipment UE, AMF and SMF according to any of claims 6-10;
the AMF is used for receiving a Protocol Data Unit (PDU) session establishment request sent by the UE, wherein the PDU session request carries a first parameter, and the first parameter comprises network slice selection auxiliary information NSSAI(s), a data network name DNN, a PDU session address and a request type code;
the AMF is also used for determining the SMF according to the first parameter and sending a second parameter to the SMF; wherein the second parameters include the NSSAI(s), the request type code, a subscription permanent identity, SUPI, the DNN, the PDU session address, location information of the UE, and an access type.
CN201810903992.7A 2018-08-09 2018-08-09 IPv6 address generation method, SMF and communication system Active CN109167847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810903992.7A CN109167847B (en) 2018-08-09 2018-08-09 IPv6 address generation method, SMF and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810903992.7A CN109167847B (en) 2018-08-09 2018-08-09 IPv6 address generation method, SMF and communication system

Publications (2)

Publication Number Publication Date
CN109167847A CN109167847A (en) 2019-01-08
CN109167847B true CN109167847B (en) 2021-04-06

Family

ID=64895374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810903992.7A Active CN109167847B (en) 2018-08-09 2018-08-09 IPv6 address generation method, SMF and communication system

Country Status (1)

Country Link
CN (1) CN109167847B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613234A (en) * 2019-02-19 2021-11-05 华为技术有限公司 Policy management method and device
CN111726800A (en) * 2019-03-04 2020-09-29 华为技术有限公司 Method and apparatus for protecting auxiliary information
CN111726427B (en) * 2019-03-22 2023-08-29 中国移动通信有限公司研究院 Information processing method, equipment and computer readable storage medium
CN111769964A (en) * 2019-04-01 2020-10-13 华为技术有限公司 Communication method and device
CN110191202B (en) * 2019-05-06 2020-11-20 视联动力信息技术股份有限公司 Method and device for determining access address of equipment
CN112104757A (en) * 2019-06-18 2020-12-18 中国移动通信有限公司研究院 Method, equipment and system for configuring IP address
CN110300194A (en) * 2019-07-09 2019-10-01 凌云天博光电科技股份有限公司 A kind of IP address conversion method and device of the network equipment
CN113498118B (en) * 2020-04-01 2023-08-25 大唐移动通信设备有限公司 Method and device for determining user plane function UPF network element
CN111464964A (en) * 2020-04-01 2020-07-28 中国联合网络通信集团有限公司 Call addressing method and device
CN114500463B (en) * 2020-11-13 2023-08-08 中盈优创资讯科技有限公司 Method and device for address allocation based on IPv6 coding visualization
CN114553819B (en) * 2020-11-23 2023-07-25 中盈优创资讯科技有限公司 IPv6 address identification method and device
CN114710805B (en) * 2022-04-11 2024-02-06 中国电信股份有限公司 Interaction method and device for slice service data, electronic equipment and readable medium
CN114785756B (en) * 2022-06-22 2022-09-30 新华三技术有限公司 Information sending method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018128500A1 (en) * 2017-01-06 2018-07-12 Samsung Electronics Co., Ltd. Inter-rat handover for next generation system
WO2018126692A1 (en) * 2017-01-09 2018-07-12 华为技术有限公司 Method and apparatus for controlling data transmission
CN108337705A (en) * 2018-01-31 2018-07-27 中国联合网络通信集团有限公司 A kind of user plane reselecting method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10531420B2 (en) * 2017-01-05 2020-01-07 Huawei Technologies Co., Ltd. Systems and methods for application-friendly protocol data unit (PDU) session management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018128500A1 (en) * 2017-01-06 2018-07-12 Samsung Electronics Co., Ltd. Inter-rat handover for next generation system
WO2018126692A1 (en) * 2017-01-09 2018-07-12 华为技术有限公司 Method and apparatus for controlling data transmission
CN108337705A (en) * 2018-01-31 2018-07-27 中国联合网络通信集团有限公司 A kind of user plane reselecting method and device

Also Published As

Publication number Publication date
CN109167847A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN109167847B (en) IPv6 address generation method, SMF and communication system
ES2375001T3 (en) METHOD AND PROVISIONS FOR LOCATING A USER EQUIPMENT FOR SWITCHED CIRCUIT SERVICES THROUGH A LTE COMMUNICATION NETWORK OF SWITCHED PACKAGES.
WO2020073855A1 (en) Method and device for establishing session, and, method and device for transmitting packet
EP3487196B1 (en) Privacy managing entity selection in communication system
US9766967B2 (en) Providing a network access failure cause value of a user equipment
US11659621B2 (en) Selection of IP version
RU2759094C1 (en) Network segment configuration update
CN114667746A (en) Apparatus and method for PSA-UPF relocation in wireless communication system
CN113382468B (en) Address allocation method for local network device, electronic device, and storage medium
EP3972332A1 (en) Congestion control method and device
CN108881520B (en) IPv6 address allocation method, SMF and communication system
US11968694B2 (en) Communication method and apparatus, and device
CN113543165B (en) Communication method, device and system
CN111615844A (en) Method and apparatus for selecting a session management entity serving a wireless communication device
US11558813B2 (en) Apparatus and method for network automation in wireless communication system
CN111131506B (en) Message processing method and device
EP3522668B1 (en) Method and device for trust relationship establishment
CN115004635A (en) Subscription information acquisition method and device
US11564086B2 (en) Secure mobile-terminated message transfer
CN109196895B (en) Message transmission method, device and system
CN114691734B (en) Cache management and control method and device, computer readable medium and electronic equipment
WO2023060409A1 (en) Sensing control method and apparatus, device, system, and storage medium
CN109525979B (en) Context information management method and device
WO2023060408A1 (en) Sensing data collection method and apparatus, and device, system and storage medium
EP4322480A1 (en) Secure identification of applications in communication 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
GR01 Patent grant
GR01 Patent grant