CN115086276B - Address management method, device, equipment and system - Google Patents

Address management method, device, equipment and system Download PDF

Info

Publication number
CN115086276B
CN115086276B CN202210826190.7A CN202210826190A CN115086276B CN 115086276 B CN115086276 B CN 115086276B CN 202210826190 A CN202210826190 A CN 202210826190A CN 115086276 B CN115086276 B CN 115086276B
Authority
CN
China
Prior art keywords
address
wireless terminal
terminal
post
hanging
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
CN202210826190.7A
Other languages
Chinese (zh)
Other versions
CN115086276A (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 CN202210826190.7A priority Critical patent/CN115086276B/en
Publication of CN115086276A publication Critical patent/CN115086276A/en
Application granted granted Critical
Publication of CN115086276B publication Critical patent/CN115086276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides an address management method, device, equipment and system, which comprise the following steps: acquiring an address allocation response message sent to a user plane function UPF by a session management function SMF; the address allocation response message is returned by the SMF according to the received address allocation request sent by the wireless terminal; detecting DPI decoding through the deep data packet, and decoding the address allocation response message to acquire an IP address allocated to the wireless terminal and an IP address segment of the post-hanging terminal in the address allocation response message; the rear hanging terminal is a terminal mounted under the wireless terminal; according to the IP address of the wireless terminal, a configuration information transmission protocol is adopted to establish connection with the wireless terminal, and the IP address field of the post-hanging terminal is sent to the wireless terminal through UPF, so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field. The problem of low efficiency and easy error caused by manually checking and downloading the IP address field is solved.

Description

Address management method, device, equipment and system
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an address management method, device, equipment, and system.
Background
Currently, the technology of back routing (Routing behind Mobile Station) is widely used, and a plurality of back hanging terminals without mobile communication network access capability are mounted on a wireless terminal capable of accessing a mobile communication network. The wireless terminal initiates a request for distributing IP address segments to the post-hanging terminal through a core network element session management function (Session Management Function, short for SMF) to an authentication, authorization and accounting (Authentication, authorization, accounting, short for AAA) server or a dynamic host configuration protocol (Dynamic Host Configuration Protocol, short for DHCP) server, and configures an IP address pool for the post-hanging terminal according to the request, so that the post-hanging terminal can communicate with a network side server to realize data service.
Taking the AAA server as an example of allocating an IP address field for the post-suspension terminal, the wireless terminal must know the IP address field allocated by the AAA server for the post-suspension terminal to configure an IP address pool for the post-suspension terminal. Currently, the AAA server can only sequentially transmit the IP address field allocated for the post-hanging terminal to the SMF and the user plane function (User Plane Function, abbreviated as UPF) for subsequent service data processing. If the wireless terminal needs to know the IP address segment allocated for the post-hanging terminal, a user needs to access the AAA server through the wireless terminal and check the configuration file on the AAA server, find the IP address segment allocated by the AAA server for the post-hanging terminal from the configuration file, and manually download the IP address segment to the wireless terminal.
However, this method is not only inefficient, but also very prone to error, once the user downloads the IP address field allocated to other terminals to the wireless terminal by mistake, so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the wrong IP address field, which causes that the IP address pool of the post-hanging terminal is inconsistent with the IP address field actually allocated to the post-hanging terminal by the AAA server stored in the UPF, and the UPF cannot find the post-hanging terminal in the implementation process of the data service, and the post-hanging terminal cannot communicate with the network side server, thereby implementing the data service.
Disclosure of Invention
The application provides an address management method, device, equipment and system, which are used for solving the problems that in the prior art, a user accesses and checks a configuration file on an AAA server through a wireless terminal, the efficiency of a mode of manually downloading an IP address segment which is found from the configuration file and is distributed for a post-hanging terminal is low, and the error is very easy to occur.
In a first aspect, the present application provides an address management method, including: acquiring an address allocation response message sent to a user plane function UPF by a session management function SMF; the address allocation response message is a response message returned by the SMF according to the received address allocation request sent by the wireless terminal; decoding the address allocation response message by detecting DPI decoding through a deep data packet so as to acquire an IP address allocated to the wireless terminal and an IP address field of a post-hanging terminal in the address allocation response message; the rear hanging terminal is a terminal mounted under the wireless terminal; and establishing connection with the wireless terminal according to the IP address of the wireless terminal and adopting a configuration information transmission protocol, and transmitting the IP address field of the post-hanging terminal to the wireless terminal through the UPF so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field.
In a specific embodiment, the obtaining the address allocation response message sent by the SMF to the UPF includes: the copied address allocation response message is obtained from a switch or a splitter connected between the SMF and the UPF.
In a specific embodiment, decoding the address allocation response message by DPI to obtain an IP address allocated to the wireless terminal and an IP address field of a post-hanging terminal in the address allocation response message includes: acquiring a data packet matched with a PFCP protocol from the address allocation response message; acquiring a PFCP session establishment request message in the data packet according to the message type in the packet head of the data packet matched with the PFCP protocol; and extracting a UE IP address field and a Frame route field from the PFCP session establishment request message to take the UE IP address field as an IP address of the wireless terminal and take the Frame route field as an IP address field of the post-hanging terminal.
In a specific embodiment, the establishing connection with the wireless terminal according to the IP address of the wireless terminal and using a configuration information transmission protocol, and sending the IP address field of the post-hanging terminal to the wireless terminal through the UPF, so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field, includes: establishing TCP connection with the wireless terminal according to the IP address of the wireless terminal, and inquiring and acquiring an ACS URL value of the wireless terminal; and sending a request for setting a parameter value to the wireless terminal according to the ACS URL value of the wireless terminal, wherein the request for setting the parameter value comprises the IP address field of the post-hanging terminal, so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field of the post-hanging terminal in the request for setting the parameter value.
In a second aspect, the present application provides an address management apparatus, comprising: the acquisition module is used for acquiring an address allocation response message sent to the user plane function UPF by the session management function SMF; the address allocation response message is a response message returned by the SMF according to the received address allocation request sent by the wireless terminal; the decoding module is used for decoding the address allocation response message through DPI detection so as to acquire an IP address allocated to the wireless terminal and an IP address field of a post-hanging terminal in the address allocation response message; the rear hanging terminal is a terminal mounted under the wireless terminal; and the processing module is used for establishing connection with the wireless terminal according to the IP address of the wireless terminal and adopting a configuration information transmission protocol, and transmitting the IP address field of the post-hanging terminal to the wireless terminal through the UPF so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field.
In a specific embodiment, the obtaining module is specifically configured to: the copied address allocation response message is obtained from a switch or a splitter connected between the SMF and the UPF.
In a specific embodiment, the decoding module is specifically configured to: acquiring a data packet matched with a PFCP protocol from the address allocation response message; acquiring a PFCP session establishment request message in the data packet according to the message type in the packet head of the data packet matched with the PFCP protocol; and extracting a UE IP address field and a Frame route field from the PFCP session establishment request message to take the UE IP address field as an IP address of the wireless terminal and take the Frame route field as an IP address field of the post-hanging terminal.
In a specific embodiment, the processing module is specifically configured to: establishing TCP connection with the wireless terminal according to the IP address of the wireless terminal, and inquiring and acquiring an ACS URL value of the wireless terminal; and sending a request for setting a parameter value to the wireless terminal according to the ACS URL value of the wireless terminal, wherein the request for setting the parameter value comprises the IP address field of the post-hanging terminal, so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field of the post-hanging terminal in the request for setting the parameter value.
In a third aspect, the present application provides an electronic device, comprising: a processor, a memory, a communication interface; the memory is used for storing executable instructions of the processor; wherein the processor is configured to perform the address management method of the first aspect via execution of the executable instructions.
In a fourth aspect, the present application provides a network-side service system, including: the address management device according to the second or third aspect, AAA server, SMF, UPF, and switch or splitter; the switch or the optical splitter is positioned between the SMF and the UPF, a receiving port of the switch or the optical splitter is connected with the SMF through an optical fiber, and an output port of the switch or the optical splitter is connected with the UPF and the address management device through the optical fiber respectively.
In a fifth aspect, the present application provides a communication system comprising: the network-side service system, the wireless terminal, and the post-suspension terminal according to the fourth aspect; the wireless terminal is respectively in communication connection with the UPF and the rear hanging terminal.
The application provides an address management method, device, equipment and system, which are used for acquiring an address allocation response message sent to a UPF by an SMF; decoding the address allocation response message through DPI decoding to obtain an IP address allocated to the wireless terminal and an IP address segment of a post-hanging terminal in the address allocation response message; and establishing connection with the wireless terminal according to the IP address of the wireless terminal and adopting a configuration information transmission protocol, and transmitting the IP address field of the post-hanging terminal to the wireless terminal through the UPF so that the wireless terminal configures an IP address pool of the post-hanging terminal according to the IP address field. Compared with the prior art that the IP address field of the post-hanging terminal is checked and downloaded by adopting a manual means, the method and the device can acquire the address allocation response message when the SMF sends the address allocation response message to the UPF, decode the address allocation response message to acquire the IP address of the wireless terminal and the IP address field of the post-hanging terminal, and send the IP address field to the wireless terminal through the UPF, thereby solving the problems of low efficiency and easiness in downloading errors caused by manually checking and downloading the IP address field, further effectively improving the efficiency of acquiring and using the IP address field, and further ensuring the successful realization of data service between the post-hanging terminal and a network side server.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the prior art descriptions, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic diagram of a communication system architecture provided in the present application;
FIG. 2 is a flowchart illustrating an embodiment of an address management method according to the present application;
fig. 3 is a schematic flow chart of a second embodiment of an address management method provided in the present application;
fig. 4 is a schematic flow chart of a third embodiment of an address management method provided in the present application;
fig. 5 is a schematic signaling flow diagram of the auto-configuration server sending the IP address field to the customer premise equipment through UPF;
fig. 6 is a schematic structural diagram of an embodiment of an address management device provided in the present application;
fig. 7 is a schematic structural diagram of an electronic device provided in the present application;
fig. 8 is a schematic structural diagram of a network side service system provided in the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which a person of ordinary skill in the art would have, based on the embodiments in this application, come within the scope of protection of this application.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The terms referred to in this application are explained first:
IP address pool: i.e. a segment of an IP address. The IP address pool of the post-suspension terminal is configured by the wireless terminal. The IP address pool configured by the wireless terminal for the post-hanging terminal must be consistent with the IP address segment allocated by the AAA server or the DHCP server for the post-hanging terminal, so that the communication between the post-hanging terminal and the network side server can be realized.
In the prior art, in order to apply for an IP address field to a post-hanging terminal, a wireless terminal initiates an activation request to a core network element SMF. After the SMF receives the activation request, the SMF acquires the subscription information of the wireless terminal from a unified data management function UDM (Unified Data Management, UDM for short) of a core network element, wherein the subscription information comprises whether the wireless terminal has authority and then hangs up the terminal, and the IP address allocation mode of the wireless terminal and the IP address pool acquisition mode of the later hung up terminal. The SMF initiates an IP address allocation request to the AAA server in combination with the subscription information, wherein the IP address allocation request comprises an IP address of the wireless terminal requested to be allocated and an IP address field of the post-hanging terminal. The AAA server responds to the request of the SMF, carries the IP address allocated for the wireless terminal and the IP address section allocated for the post-hanging terminal in response information and sends the response information to the SMF. After receiving the response message from the AAA server, the SMF informs the core network element UPF of the IP address of the wireless terminal and the IP address field of the post-hanging terminal. The UPF saves the IP address of the wireless terminal and the IP address field of the post-hanging terminal so as to find the post-hanging terminal in the subsequent data service.
In the prior art, a user needs to access an AAA server through a wireless terminal and check a configuration file thereon to find an IP address segment allocated by the AAA server for a post-hanging terminal from the configuration file, and manually download the IP address segment to the wireless terminal. This approach is not only inefficient, but is also highly prone to error. Once the wrong IP address field is downloaded to the wireless terminal, the wireless terminal configures the IP address pool of the post-hanging terminal according to the wrong IP address field, so that the IP address pool of the post-hanging terminal is inconsistent with the IP address field stored by UPF, and communication failure between the post-hanging terminal and a network side server can be caused.
Based on the technical problems, the invention concept of the application is as follows: how to enable the wireless terminal to automatically and accurately obtain the IP address segment allocated by the AAA server for the post-hanging terminal so as to effectively improve the efficiency of address allocation and use.
The address management method provided by the application can be applied to the communication system architecture schematic diagram shown in fig. 1. As shown in fig. 1, the communication system includes: the AAA server, the core network element SMF, the core network element UPF, the address management device, the switch, the wireless terminal and the plurality of post-hanging terminals. The AAA server responds to the IP address allocation request of the SMF, carries the IP address allocated for the wireless terminal and the IP address segment allocated for the post-hanging terminal in response information and sends the response information to the SMF. After receiving the response message from the AAA server, the SMF informs the UPF of the IP address of the wireless terminal and the IP address field of the post-hanging terminal.
The switch is located between the SMF and the UPF, and is connected with the SMF and the UPF through optical fibers respectively. The switch may obtain the IP address of the wireless terminal and the IP address field of the post-suspension terminal sent by the SMF to the UPF, and send the IP address and the IP address field to the address management device. The address management device sends the IP address of the wireless terminal and the IP address field of the post-hanging terminal to the wireless terminal through UPF, so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field.
In addition, the communication system may further include a splitter instead of the switch. The optical splitter is located between the SMF and the UPF and is connected with the SMF and the UPF through optical fibers respectively. The optical splitter may acquire the IP address of the wireless terminal and the IP address field of the post-suspension terminal, which are sent to the UPF by the SMF, and send the IP address and the IP address field to the address management device.
The communication system may further include a DHCP server instead of the AAA server, so that the SMF may initiate an IP address allocation request to the DHCP server. The DHCP server responds to the request of the SMF, and sends the response information carried by the IP address allocated to the wireless terminal and the IP address segment allocated to the post-hanging terminal to the SMF.
The following describes the technical scheme of the present application in detail through specific embodiments. It should be noted that the following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a flowchart of an embodiment of an address management method provided in the present application. Referring to fig. 2, the address management method specifically includes the following steps:
step S201: acquiring an address allocation response message sent to a user plane function UPF by a session management function SMF; the address allocation response message is a response message returned by the SMF according to the received address allocation request sent by the wireless terminal.
In this embodiment, after receiving the response message of the AAA server for the IP address allocation request, the SMF sends an address allocation reply message carrying the IP address of the wireless terminal and the IP address field of the post-hanging terminal to the UPF. The address management means may acquire the address allocation reply message.
Step S202: and detecting DPI decoding through the deep data packet, and decoding the address allocation response message to acquire the IP address allocated to the wireless terminal and the IP address segment of the post-hanging terminal in the address allocation response message.
The rear hanging terminal is a terminal mounted under the wireless terminal.
DPI decoding, deep packet inspection (Deep Packet Inspection, DPI for short), is a data packet filtering technique. Compared with common message parsing, DPI decoding can analyze the source address, destination address, source port, destination port and protocol type of the data message, and can identify various application types and contents thereof. When the IP data packet and the TCP/UDP data flow pass through a message analysis system based on DPI technology, the system reorganizes the application layer information by deeply reading the content loaded by the IP message, thereby obtaining the content of the whole application program.
In this embodiment, the address management device performs DPI decoding on the obtained address allocation response message, so as to obtain the IP address of the wireless terminal and the IP address field of the post-hanging terminal.
Step S203: and establishing connection with the wireless terminal according to the IP address of the wireless terminal and adopting a configuration information transmission protocol, and transmitting the IP address field of the post-hanging terminal to the wireless terminal through the UPF so that the wireless terminal configures an IP address pool of the post-hanging terminal according to the IP address field.
In this embodiment, the address management device establishes a connection with the wireless terminal according to the IP address of the wireless terminal using a configuration information transmission protocol negotiated with the wireless terminal. After establishing a connection with a wireless terminal, the address management device sends an IP address field of the post-hanging terminal to the wireless terminal through UPF.
In this embodiment, the wireless terminal configures an IP address pool of the post-suspension terminal according to the IP address field. Specifically, the post-hanging terminal may dynamically acquire an IP address from the wireless terminal through a dynamic host configuration protocol (Dynamic Host Configuration Protocol, abbreviated DHCP). The wireless terminal can also establish a matching relation table of the IP address pool and each post-hanging terminal, and distribute the IP address to the corresponding post-hanging terminal in a static distribution mode.
In this embodiment, the address management device acquires an address allocation response message sent by the SMF to the UPF; decoding the address allocation response message through DPI decoding to obtain an IP address allocated to the wireless terminal and an IP address segment of a post-hanging terminal in the address allocation response message; and establishing connection with the wireless terminal according to the IP address of the wireless terminal and adopting a configuration information transmission protocol, and transmitting the IP address field of the post-hanging terminal to the wireless terminal through the UPF so that the wireless terminal configures an IP address pool of the post-hanging terminal according to the IP address field. Compared with the prior art that the IP address field of the post-hanging terminal is checked and downloaded by adopting a manual means, the method and the device can acquire the address allocation response message when the SMF sends the address allocation response message to the UPF, decode the address allocation response message to acquire the IP address of the wireless terminal and the IP address field of the post-hanging terminal, and send the IP address field to the wireless terminal through the UPF, thereby solving the problems of low efficiency and easiness in downloading errors caused by manually checking and downloading the IP address field, further effectively improving the efficiency of acquiring and using the IP address field, and further ensuring the successful realization of data service between the post-hanging terminal and a network side server.
Fig. 3 is a flowchart of a second embodiment of an address management method provided in the present application. Based on the embodiment shown in fig. 2, referring to fig. 3, a specific implementation manner of step S201 is as follows:
step S301: the copied address allocation response message is obtained from a switch or a splitter connected between the SMF and the UPF.
In this embodiment, a switch or a splitter is provided between the SMF and the UPF. The address management device acquires an address allocation response message sent to the UPF by the SMF through a switch or a splitter connected between the SMF and the UPF. The switch or the optical splitter copies the address allocation response message of the UPF sent from the SMF acquired from the receiving port, and sends the address allocation response message to the address management device through the output port.
Based on the embodiment shown in fig. 2, referring to fig. 3, a specific implementation manner of step S202 is as follows:
step S302: and acquiring the data packet matched with the PFCP protocol from the address allocation response message.
Step S303: and acquiring the PFCP session establishment request message in the data packet according to the message type in the packet head of the data packet matched with the PFCP protocol.
Step S304: and extracting the UE IP address field and the Frame route field from the PFCP session establishment request message to take the UE IP address field as the IP address of the wireless terminal and the Frame route field as the IP address field of the post-hanging terminal.
A packet switched control protocol (Packet Forwarding Control Protocol, PFCP) defines the manner in which a UPF identifies, forwards, buffers, marks, reports and multi-accesses protocol data units (Protocol Data Unit, PDU). In particular, the PFCP protocol may refer to 3gpp ts29.244.
In this embodiment, the address management device acquires a packet matching the PFCP protocol from the address allocation reply message, and decodes the packet according to the PFCP protocol. Specifically, the PFCP session establishment request Message (PFCP Session Establishment Request) is filtered out according to the Message Type (Message Type) in the packet header, that is, if Message type=50, it indicates that the Message is the PFCP session establishment request Message.
The PFCP message field is a multi-layer structure, and the address management device extracts the UE IP address field and the Frame route field at the corresponding positions according to the format of the PFCP session establishment request message. The specific extraction fields are as follows: PFCP Session Establishment Request- > Create PDR- > PDI- > UE IP Address; PFCP Session Establishment Request- > Create PDR- > PDI- > Frame Route.
In this embodiment, the address management device uses the UE IP address field as the IP address of the wireless terminal, and uses the Frame route field as the IP address field of the post-suspension terminal.
In this embodiment, the address allocation response message is copied by the switch or the optical splitter, and decoded by the DPI, specifically, a data packet matched with the PFCP protocol is obtained from the address allocation response message, the PFCP session establishment request message is filtered according to the message type in the packet header, and the relevant field is extracted at the corresponding location as the IP address of the wireless terminal and the IP address field of the post-hanging terminal according to the format of the PFCP session establishment request message. Compared with the prior art, the method and the device for copying and downloading the IP address field of the post-hanging terminal by manual means have the advantages that address allocation response information is copied and decoded, the IP address of the wireless terminal and the IP address field of the post-hanging terminal are automatically acquired, the efficiency of acquiring and using the IP address field is further improved, and successful realization of data service between the post-hanging terminal and a network side server is ensured.
Fig. 4 is a flow chart of a third embodiment of an address management method provided in the present application. Based on the embodiment shown in fig. 2 or fig. 3, referring to fig. 4, a specific implementation manner of the step S203 is as follows:
step S401: and establishing TCP connection with the wireless terminal according to the IP address of the wireless terminal, and inquiring and acquiring the ACS URL value of the wireless terminal.
Step S402: and sending a request for setting the parameter value to the wireless terminal according to the ACS URL value of the wireless terminal, wherein the request for setting the parameter value comprises the IP address field of the post-hanging terminal, so that the wireless terminal configures an IP address pool of the post-hanging terminal according to the IP address field of the post-hanging terminal in the request for setting the parameter value.
In this embodiment, the address management device establishes a connection with the wireless terminal according to the IP address of the wireless terminal using a configuration information transmission protocol negotiated with the wireless terminal. In particular, the TR069 protocol may be employed. Under the TR069 protocol, the address management device is an Auto-Configuration Server (ACS) and the wireless terminal is a customer premise equipment (Customer premises equipment, CPE). Fig. 5 is a schematic signaling flow diagram of the auto-configuration server sending the IP address field to the customer premises equipment through UPF. As shown in fig. 5, the signaling transmission flow specifically includes:
(1) A TCP connection is established between the ACS and the CPE.
(2) Secure socket protocol (Secure Socket Layer, SSL) is initialized, and a security mechanism is established.
(3) CPE sends information message to Inform ACS to require connection establishment.
(4) If the CPE passes the authentication of the ACS, the ACS returns an Inform response message, and connection is established.
(5) The ACS queries the value of the ACS URL set on the CPE.
(6) The CPE replies the acquired value of the ACS URL to the ACS.
(7) The ACS initiates a set parameter value request requesting modification of the CPE's IP address pool.
The parameter value request carries a parameter list, wherein the parameter list carries an IP address field of the post-hanging terminal, and the parameter list may be a key value pair number of name-value, for example [ ip_pool,10.0.0.0/24], where ip_pool is an IP address Pool parameter name on the CPE, and 10.0.0.0/24 is an IP address field.
(8) CPE sets IP address pool successfully, and sends response message to ACS.
In this embodiment, the address management device establishes a connection with the wireless terminal according to the IP address of the wireless terminal by using a configuration information transmission protocol negotiated with the wireless terminal, and sends a request for setting parameter values carrying the IP address field of the post-hanging terminal to the wireless terminal according to the ACS URL value of the wireless terminal obtained by the query. Compared with the prior art, the method and the device for checking and downloading the IP address field of the rear hanging terminal through the manual means, the method and the device for automatically transmitting the IP address field of the rear hanging terminal to the wireless terminal are achieved by sending the request for the setting parameter value of the IP address field of the rear hanging terminal to the wireless terminal, the efficiency of acquiring and using the IP address field is further improved, and successful realization of data service between the rear hanging terminal and a network side server is guaranteed.
Fig. 6 is a schematic structural diagram of an embodiment of an address management device provided in the present application. As shown in fig. 6, the address management device 60 includes: the acquisition module 61, the decoding module 62, the processing module 63. The obtaining module 61 is configured to obtain an address allocation response message sent by the session management function SMF to the user plane function UPF; the address allocation response message is a response message returned by the SMF according to the received address allocation request sent by the wireless terminal. The decoding module 62 is configured to detect DPI decoding through the deep packet inspection, and decode the address allocation reply message to obtain an IP address allocated to the wireless terminal and an IP address field of the post-suspension terminal in the address allocation reply message; the rear hanging terminal is a terminal mounted under the wireless terminal. The processing module 63 is configured to establish a connection with the wireless terminal according to the IP address of the wireless terminal and using a configuration information transmission protocol, and send the IP address field of the post-hanging terminal to the wireless terminal through UPF, so that the wireless terminal configures an IP address pool of the post-hanging terminal according to the IP address field.
The address management device provided in the embodiment of the present application may execute the technical solution shown in the foregoing method embodiment, and its implementation principle and beneficial effects are similar, and will not be described herein again.
In a possible embodiment, the obtaining module 61 is specifically configured to obtain the copied address allocation reply message from a switch or a splitter connected between the SMF and the UPF.
The address management device provided in the embodiment of the present application may execute the technical solution shown in the foregoing method embodiment, and its implementation principle and beneficial effects are similar, and will not be described herein again.
In one possible implementation, the decoding module 62 is specifically configured to obtain, from the address allocation reply message, a data packet matching the PFCP protocol; acquiring a PFCP session establishment request message in the data packet according to the message type in the packet head of the data packet matched with the PFCP protocol; and extracting the UE IP address field and the Frame route field from the PFCP session establishment request message to take the UE IP address field as the IP address of the wireless terminal and the Frame route field as the IP address field of the post-hanging terminal.
The address management device provided in the embodiment of the present application may execute the technical solution shown in the foregoing method embodiment, and its implementation principle and beneficial effects are similar, and will not be described herein again.
In a possible implementation manner, the processing module 63 is specifically configured to establish a TCP connection with the wireless terminal according to the IP address of the wireless terminal, and query and obtain an ACS URL value of the wireless terminal; and sending a request for setting the parameter value to the wireless terminal according to the ACS URL value of the wireless terminal, wherein the request for setting the parameter value comprises the IP address field of the post-hanging terminal, so that the wireless terminal configures an IP address pool of the post-hanging terminal according to the IP address field of the post-hanging terminal in the request for setting the parameter value.
The address management device provided in the embodiment of the present application may execute the technical solution shown in the foregoing method embodiment, and its implementation principle and beneficial effects are similar, and will not be described herein again.
Fig. 7 is a schematic structural diagram of an electronic device provided in the present application. As shown in fig. 7, the electronic device 70 includes a processor 71, a memory 72, and a communication interface 73. Wherein the memory 72 is for storing executable instructions of the processor 71; the processor 71 is configured to perform the technical solutions of any of the method embodiments described above via execution of executable instructions.
Alternatively, the memory 72 may be separate or integrated with the processor 71.
Optionally, when the memory 72 is a device separate from the processor 71, the electronic device 70 may further include: bus 74 for connecting the above devices.
The electronic device is configured to execute the technical scheme in any of the foregoing method embodiments, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 8 is a schematic structural diagram of a network side service system provided in the present application. As shown in fig. 8, the network side service system includes an address management device, an AAA server, a core network element SMF, a core network element UPF, and a switch or an optical splitter. The switch is positioned between the SMF and the UPF, a receiving port of the switch is connected with the SMF through optical fibers, and an output port of the switch is connected with the UPF and the address management device through the optical fibers respectively; the optical splitter is positioned between the SMF and the UPF, the receiving port of the optical splitter is connected with the SMF through an optical fiber, and the output port of the optical splitter is connected with the UPF and the address management device through the optical fiber respectively.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features can be replaced equivalently; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. An address management method, comprising:
acquiring an address allocation response message sent to a user plane function UPF by a session management function SMF; the address allocation response message is a response message returned by the SMF according to the received address allocation request sent by the wireless terminal;
decoding the address allocation response message by detecting DPI decoding through a deep data packet so as to acquire an IP address allocated to the wireless terminal and an IP address field of a post-hanging terminal in the address allocation response message; the rear hanging terminal is a terminal mounted under the wireless terminal;
and establishing connection with the wireless terminal according to the IP address of the wireless terminal and adopting a configuration information transmission protocol, and transmitting the IP address field of the post-hanging terminal to the wireless terminal through the UPF so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field.
2. The address management method of claim 1, wherein the acquiring the address allocation reply message sent by the SMF to the UPF comprises:
the copied address allocation response message is obtained from a switch or a splitter connected between the SMF and the UPF.
3. The address management method according to claim 1, wherein decoding the address assignment response message by DPI decoding to obtain the IP address assigned to the wireless terminal and the IP address segment of the post-suspension terminal in the address assignment response message includes:
acquiring a data packet matched with a PFCP protocol from the address allocation response message;
acquiring a PFCP session establishment request message in the data packet according to the message type in the packet head of the data packet matched with the PFCP protocol;
and extracting a UE IP address field and a Frame route field from the PFCP session establishment request message to take the UE IP address field as an IP address of the wireless terminal and take the Frame route field as an IP address field of the post-hanging terminal.
4. The address management method according to claim 1, wherein the establishing a connection with the wireless terminal according to the IP address of the wireless terminal and using a configuration information transmission protocol, and transmitting the IP address field of the post-suspension terminal to the wireless terminal through the UPF, so that the wireless terminal configures the IP address pool of the post-suspension terminal according to the IP address field, comprises:
establishing TCP connection with the wireless terminal according to the IP address of the wireless terminal, and inquiring and acquiring an ACS URL value of the wireless terminal;
and sending a request for setting a parameter value to the wireless terminal according to the ACS URL value of the wireless terminal, wherein the request for setting the parameter value comprises the IP address field of the post-hanging terminal, so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field of the post-hanging terminal in the request for setting the parameter value.
5. An address management apparatus, comprising:
the acquisition module is used for acquiring an address allocation response message sent to the user plane function UPF by the session management function SMF; the address allocation response message is a response message returned by the SMF according to the received address allocation request sent by the wireless terminal;
the decoding module is used for decoding the address allocation response message through DPI detection so as to acquire an IP address allocated to the wireless terminal and an IP address field of a post-hanging terminal in the address allocation response message; the rear hanging terminal is a terminal mounted under the wireless terminal;
and the processing module is used for establishing connection with the wireless terminal according to the IP address of the wireless terminal and adopting a configuration information transmission protocol, and transmitting the IP address field of the post-hanging terminal to the wireless terminal through the UPF so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field.
6. The address management apparatus of claim 5, wherein the obtaining module is specifically configured to:
the copied address allocation response message is obtained from a switch or a splitter connected between the SMF and the UPF.
7. The address management apparatus of claim 5, wherein the decoding module is specifically configured to:
acquiring a data packet matched with a PFCP protocol from the address allocation response message;
acquiring a PFCP session establishment request message in the data packet according to the message type in the packet head of the data packet matched with the PFCP protocol;
and extracting a UE IP address field and a Frame route field from the PFCP session establishment request message to take the UE IP address field as an IP address of the wireless terminal and take the Frame route field as an IP address field of the post-hanging terminal.
8. The address management device of claim 5, wherein the processing module is specifically configured to:
establishing TCP connection with the wireless terminal according to the IP address of the wireless terminal, and inquiring and acquiring an ACS URL value of the wireless terminal;
and sending a request for setting a parameter value to the wireless terminal according to the ACS URL value of the wireless terminal, wherein the request for setting the parameter value comprises the IP address field of the post-hanging terminal, so that the wireless terminal configures the IP address pool of the post-hanging terminal according to the IP address field of the post-hanging terminal in the request for setting the parameter value.
9. An electronic device, comprising:
a processor, a memory, a communication interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to perform the address management method of any of claims 1 to 4 via execution of the executable instructions.
10. A network side service system, comprising: the address management device of any of claims 5-9, AAA server, SMF, UPF, and switch or splitter;
the switch or the optical splitter is positioned between the SMF and the UPF, a receiving port of the switch or the optical splitter is connected with the SMF through an optical fiber, and an output port of the switch or the optical splitter is connected with the UPF and the address management device through the optical fiber respectively.
11. A communication system, comprising: the network-side service system, wireless terminal, and post-hanging terminal of claim 10; wherein,,
and the wireless terminal is respectively in communication connection with the UPF and the rear hanging terminal.
CN202210826190.7A 2022-07-14 2022-07-14 Address management method, device, equipment and system Active CN115086276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210826190.7A CN115086276B (en) 2022-07-14 2022-07-14 Address management method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210826190.7A CN115086276B (en) 2022-07-14 2022-07-14 Address management method, device, equipment and system

Publications (2)

Publication Number Publication Date
CN115086276A CN115086276A (en) 2022-09-20
CN115086276B true CN115086276B (en) 2023-04-25

Family

ID=83260697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210826190.7A Active CN115086276B (en) 2022-07-14 2022-07-14 Address management method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN115086276B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024086996A1 (en) * 2022-10-24 2024-05-02 Oppo广东移动通信有限公司 Address allocation method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577738A (en) * 2009-06-25 2009-11-11 杭州华三通信技术有限公司 Address distribution method and equipment thereof
CN106454809A (en) * 2016-09-29 2017-02-22 武汉虹信通信技术有限责任公司 Routing behind mobile station method for LTE (Long Term Evolution) system
CN108366380A (en) * 2017-01-26 2018-08-03 中兴通讯股份有限公司 A kind of policy control method and device for supporting multi-homing protocols data cell session
CN109391940A (en) * 2017-08-02 2019-02-26 华为技术有限公司 A kind of method, equipment and system accessing network
CN110830356A (en) * 2018-08-10 2020-02-21 华为技术有限公司 Method and device for transmitting message
CN112235776A (en) * 2020-08-31 2021-01-15 北京中科晶上科技股份有限公司 Method for allocating IP address field according to needs and IP address statistical system
CN114039947A (en) * 2020-07-21 2022-02-11 中国电信股份有限公司 Terminal address allocation method, UPF, system and storage medium
EP3955546A1 (en) * 2019-05-05 2022-02-16 Huawei Technologies Co., Ltd. Method and apparatus for allocating ip address, and method and apparatus for obtaining ip address
CN114124618A (en) * 2021-12-06 2022-03-01 新华三技术有限公司成都分公司 Message transmission method and electronic equipment
CN114285522A (en) * 2021-12-23 2022-04-05 中国电信股份有限公司 Access control method, system and medium for local service area

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11330667B2 (en) * 2019-05-03 2022-05-10 Ofinno, Llc Group communication signaling overload mitigation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577738A (en) * 2009-06-25 2009-11-11 杭州华三通信技术有限公司 Address distribution method and equipment thereof
CN106454809A (en) * 2016-09-29 2017-02-22 武汉虹信通信技术有限责任公司 Routing behind mobile station method for LTE (Long Term Evolution) system
CN108366380A (en) * 2017-01-26 2018-08-03 中兴通讯股份有限公司 A kind of policy control method and device for supporting multi-homing protocols data cell session
CN109391940A (en) * 2017-08-02 2019-02-26 华为技术有限公司 A kind of method, equipment and system accessing network
CN110830356A (en) * 2018-08-10 2020-02-21 华为技术有限公司 Method and device for transmitting message
EP3955546A1 (en) * 2019-05-05 2022-02-16 Huawei Technologies Co., Ltd. Method and apparatus for allocating ip address, and method and apparatus for obtaining ip address
CN114039947A (en) * 2020-07-21 2022-02-11 中国电信股份有限公司 Terminal address allocation method, UPF, system and storage medium
CN112235776A (en) * 2020-08-31 2021-01-15 北京中科晶上科技股份有限公司 Method for allocating IP address field according to needs and IP address statistical system
CN114124618A (en) * 2021-12-06 2022-03-01 新华三技术有限公司成都分公司 Message transmission method and electronic equipment
CN114285522A (en) * 2021-12-23 2022-04-05 中国电信股份有限公司 Access control method, system and medium for local service area

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吕鹏 ; 张芳 ; 王黎明 ; .浙江电信以DC组网为核心的5GC云化部署实践.通信世界.2019,(33),全文. *

Also Published As

Publication number Publication date
CN115086276A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN109756450B (en) Method, device and system for communication of Internet of things and storage medium
US8650311B2 (en) Client device configured to connect with a home network
CN102017677B (en) Access through non-3GPP access networks
RU2556468C2 (en) Terminal access authentication method and customer premise equipment
US8213934B2 (en) Automatic selection of a home agent
CN110417840B (en) Information processing method and device
US7346039B2 (en) Communication system
EP2053790B1 (en) Method and system for implementing configuration management of devices in network
EP2012485A1 (en) Management method, apparatus and system of session connection
EP2536092A1 (en) Method and device for port mapping, and communications system
EP1746803A1 (en) A method, user terminal and server for obtaining the information of the access position
US20130290561A1 (en) Method and device for providing user information to cgn device
US11895083B2 (en) Address obtaining method and an address obtaining apparatus
CN112135293B (en) Method for accessing mobile core network through fixed access equipment
CN110493366A (en) The method and device of network management is added in a kind of access point
US20110231492A1 (en) Method and means for supporting user terminal to access network in fixed access network
CN107005430A (en) A kind of communication means based on data link layer, equipment and system
EP2369791B1 (en) Apparatus and method for establishing connections with a plurality of virtual networks
CN115086276B (en) Address management method, device, equipment and system
EP1881639B1 (en) A method and system for cpecf (customer premises equipment configuration function) obtaining the terminal equipment information and configuring the terminal equipment
EP1906588B1 (en) Method and system for correlating information associated with a user in a nass
CN105591848A (en) Authentication method and device of IPv6 stateless automatic configuration
CN102075588B (en) Method and system for realizing network address translation (NAT) transversing and equipment
EP2477372A1 (en) Method, device and terminal for obtaining terminal identifier
CN112566120A (en) Slice management method, device and system and service subscription server

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