Nothing Special   »   [go: up one dir, main page]

CN108023916B - Self-starting method and base station - Google Patents

Self-starting method and base station Download PDF

Info

Publication number
CN108023916B
CN108023916B CN201610958524.0A CN201610958524A CN108023916B CN 108023916 B CN108023916 B CN 108023916B CN 201610958524 A CN201610958524 A CN 201610958524A CN 108023916 B CN108023916 B CN 108023916B
Authority
CN
China
Prior art keywords
address
hems
base station
initial
service
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
CN201610958524.0A
Other languages
Chinese (zh)
Other versions
CN108023916A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201610958524.0A priority Critical patent/CN108023916B/en
Publication of CN108023916A publication Critical patent/CN108023916A/en
Application granted granted Critical
Publication of CN108023916B publication Critical patent/CN108023916B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a self-starting method and a base station, wherein the self-starting method comprises the following steps: if the base station is inquired to be in a point-to-point protocol PPPoE working mode on the Ethernet, establishing PPPoE session connection with an authentication server; connecting a Domain Name System (DNS) server based on the IP address of the DNS server acquired from a Dynamic Host Configuration Protocol (DHCP) server side, and acquiring the IP address of an initial HeMS (home evolved node system) through the DNS server; if not, acquiring the IP address of the initial HeMS from the local; and connecting the initial HeMS based on the acquired IP address of the initial HeMS, and connecting the initial HeMS with the core network through related parameters issued by the initial HeMS. The invention provides the self-starting method with more comprehensive application scenes and higher reliability, which effectively improves the success rate of the self-starting of the base station and further improves the user experience.

Description

Self-starting method and base station
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a self-starting method and a base station.
Background
After the micro-station deployment is carried out, the station needs to be opened, in the traditional station opening mode, firstly, a user selects purchasing equipment with a proper model according to the recommendation of sales personnel, a subsequent user can try to open the station according to a user instruction or directly contact an equipment manufacturer to open the station, and in the opening process, firstly, equipment installers carry out door-to-door installation at appointed time to complete base station installation and transmission laying; then, a station operator performs opening, but the base station installer and the station operator generally cannot reuse the base station, the station operator needs to have professional skills such as base station upgrading, interface debugging and the like, and before the door-to-door service, the installer needs to know that transmission equipment, transmission of docking equipment (such as a core network and a management station) and parameter configuration are all in place and available, otherwise, the station operator cannot successfully open the station at one time. However, the transmission equipment and the docking equipment may be provided by multiple manufacturers, and the transmission is not ensured to be available before the station is opened.
In view of the above problems, the prior art proposes a self-starting scheme for a micro station. The self-starting scheme in the prior art mainly comprises the following implementation processes: the method comprises the steps that the micro station starts to be started after self-checking of the micro station is completed, the micro station is connected with an initial HeMS (Home eNodeB Management System), relevant parameters required for connection with a SeGW (Security Gateway) are obtained from the initial HeMS, and the SeGW is connected based on the relevant parameters, so that a service IP (Internet Protocol) is obtained to connect with the serving HeMS. And then the base station acquires the latest configuration file from the service HeMS and is connected with the core network, thereby completing the self-starting process.
However, the self-starting scheme in the prior art can only be applied to a scenario in which a GPON (Gigabit-CapablePON, passive optical access system) enters a security gateway through a CMnet (China Mobile internet) and accesses the security gateway through a PTN (Packet transport Network), and therefore, since the self-starting scheme in the prior art covers the scenario not fully, the self-starting scheme cannot be applied in some specific scenarios, for example: in the existing networking, a PPPoE access mode is usually adopted, but in the self-starting scheme in the prior art, only a GPON DHCP (Dynamic Host Configuration Protocol) access process is considered, and a scene adopting the PPPoE access mode is not covered, so that in the scene, a micro station in the prior art cannot complete the self-starting process. In addition, in the actual deployment of the existing networking, a scene that the initial HeMS does not belong to the rear of the firewall of the CMnet metropolitan area network occurs, but the self-starting scheme in the prior art does not consider the scene, and the micro-station in the prior art cannot be connected with the initial HeMS, so that the self-starting failure is caused.
Therefore, an effective solution is not provided at present for the problems that the self-starting success rate of the base station is reduced and the user experience is poor due to incomplete coverage of the self-starting scheme in the prior art.
Disclosure of Invention
The embodiment of the invention provides a self-starting method and a base station, and aims to solve the problems that the self-starting success rate of the base station is reduced and the user experience is poor due to incomplete coverage of scenes in a self-starting scheme in the prior art.
In order to solve the above problem, the present invention discloses a self-starting method, which is applied to a base station, and comprises:
if the base station is inquired to be in a point-to-point protocol PPPoE working mode on the Ethernet, establishing PPPoE session connection with an authentication server;
connecting a Domain Name System (DNS) server based on the IP address of the DNS server acquired from a Dynamic Host Configuration Protocol (DHCP) server side, and acquiring the IP address of an initial HeMS (home evolved node system) through the DNS server; if not, acquiring the IP address of the initial HeMS from the local;
and connecting the initial HeMS based on the acquired IP address of the initial HeMS, and connecting the initial HeMS with a core network through related parameters issued by the initial HeMS.
Optionally, the step of establishing a PPPoE session connection with the authentication server if the base station itself is in the PPPoE operating mode is found, including:
if the inquiry finds that the user is in the PPPoE working mode, the PPPoE session request information is sent to the authentication server, and the PPPoE session request information carries the authentication information of the base station;
and establishing PPPoE session connection with the authentication server based on PPPoE session response information returned by the authentication server, wherein the PPPoE session response information is sent by the authentication server under the condition that the authentication server successfully authenticates the authentication information.
Optionally, the step of connecting to the DNS server based on the IP address of the DNS server obtained from the DHCP server side includes:
sending DHCP request information to the DHCP server or the authentication server;
and acquiring the IP address of the DNS carried in the DHCP response information returned by the DHCP server or the authentication server.
Optionally, if the DHCP response information also carries an interface IP address allocated to the base station and an IP address of a serving HeMS, it is determined that the base station is accessed through a private network address;
correspondingly, the step of connecting the initial HeMS based on the acquired IP address of the initial HeMS and connecting the core network through the relevant parameters issued by the initial HeMS includes:
connecting the initial HeMS based on the interface IP address and the obtained IP address of the initial HeMS, and obtaining related parameters issued by the initial HeMS, wherein the related parameters comprise the IP address of a security gateway SeGW and personalized parameters required for establishing connection with the SeGW;
connecting the SeGW based on the related parameters, and acquiring a service IP address allocated by the SeGW for the base station;
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting the base station with the core network based on the updated configuration parameters.
Optionally, if the DHCP response message also carries an interface IP address allocated to the base station and does not carry the IP address of the serving HeMS, determining that the base station is accessed through a public network address;
correspondingly, the step of connecting the initial HeMS based on the acquired IP address of the initial HeMS and connecting the core network through the relevant parameters issued by the initial HeMS includes:
connecting the initial HeMS based on the interface IP address and the obtained IP address of the initial HeMS, and obtaining related parameters issued by the initial HeMS, wherein the related parameters comprise the IP address of the service HeMS, the IP address of the SeGW and personalized parameters required for establishing connection with the SeGW;
connecting the SeGW based on the related parameters, and acquiring a service IP address allocated by the SeGW for the base station;
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting the base station with the core network based on the updated configuration parameters.
Optionally, the obtaining, by the DNS server, an IP address of the initial HeMS; if not, the step of locally acquiring the IP address of the initial HeMS comprises the following steps:
performing a DNS query about the initial HeMS through the DNS server to obtain an IP address of the initial HeMS;
if the query is successful, acquiring the IP address of the initial HeMS returned by the DNS;
if the query fails, retrieving whether the IP address of the initial HeMS exists locally;
and if so, acquiring the IP address of the initial HeMS from the local.
According to another aspect of the present invention, there is provided a base station, comprising:
the first connection module is used for establishing PPPoE session connection with the authentication server if the base station is inquired to be in a point-to-point protocol PPPoE working mode on the Ethernet;
the system comprises an acquisition module, a DNS server and a server side, wherein the acquisition module is used for connecting the DNS server based on an IP address of a domain name system DNS server acquired from a dynamic host configuration protocol DHCP server side and acquiring the IP address of an initial HeMS (home evolved node system) through the DNS server; if not, acquiring the IP address of the initial HeMS from the local;
and the second connection module is used for connecting the initial HeMS based on the acquired IP address of the initial HeMS and connecting the initial HeMS with a core network through related parameters issued by the initial HeMS.
Optionally, the first connection module is further configured to send PPPoE session request information to the authentication server if the first connection module finds that the first connection module is in the PPPoE operating mode, where the PPPoE session request information carries authentication information of the base station;
and establishing PPPoE session connection with the authentication server based on PPPoE session response information returned by the authentication server, wherein the PPPoE session response information is sent by the authentication server under the condition that the authentication server successfully authenticates the authentication information.
Optionally, the obtaining module is further configured to send DHCP request information to the DHCP server or the authentication server;
and acquiring the IP address of the DNS carried in the DHCP response information returned by the DHCP server or the authentication server.
Optionally, the base station further includes:
the confirmation module is used for confirming that the base station is accessed through a private network address if the DHCP response information also carries an interface IP address allocated for the base station and an IP address of a service HeMS;
correspondingly, the second connection module is further configured to connect the initial HeMS based on the interface IP address and the acquired IP address of the initial HeMS, and acquire related parameters issued by the initial HeMS, where the related parameters include an IP address of a security gateway SeGW and personalized parameters required for establishing a connection with the SeGW; and the number of the first and second groups,
connecting the SeGW based on the related parameters, and acquiring a service IP address allocated by the SeGW for the base station; and the number of the first and second groups,
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting with the core network based on the updated configuration parameters.
Optionally, the confirmation module is further configured to confirm that the base station is accessed through a public network address if the DHCP response information also carries an interface IP address allocated to the base station and does not carry an IP address of the serving HeMS;
correspondingly, the second connection module is further configured to connect the initial HeMS based on the interface IP address and the acquired IP address of the initial HeMS, and acquire related parameters issued by the initial HeMS, where the related parameters include an IP address of the serving HeMS, an IP address of the SeGW, and personalized parameters required for establishing connection with the SeGW; and the number of the first and second groups,
connecting the SeGW based on the related parameters, and acquiring a service IP address allocated by the SeGW for the base station; and the number of the first and second groups,
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting with the core network based on the updated configuration parameters.
Optionally, the obtaining module is further configured to perform a DNS query about the initial HeMS through the DNS server to obtain an IP address of the initial HeMS;
if the query is successful, acquiring the IP address of the initial HeMS returned by the DNS;
if the query fails, retrieving whether the IP address of the initial HeMS exists locally;
and if so, acquiring the IP address of the initial HeMS from the local.
Compared with the prior art, the invention establishes PPPoE session connection with the authentication server if the base station is inquired to be in the PPPoE working mode; connecting a DNS server based on the IP address of the DNS server acquired from the DHCP server side, and acquiring the IP address of the initial HeMS through the DNS server; if not, acquiring the IP address of the initial HeMS from the local; the initial HeMS is connected based on the obtained IP address of the initial HeMS, and the related parameters sent by the initial HeMS are connected with the core network, so that the self-starting method with more comprehensive application scene and higher reliability is provided, the self-starting success rate of the base station is effectively improved, and the user experience is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a method of self-starting according to an embodiment of the present invention;
fig. 2 is a block diagram of a base station according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The base station in the embodiment of the present invention is specifically a TD-LTE (Time Division Long Term Evolution) micro base station, and specifically includes: femto station, Pico station, Nanocell station, Smallcell station.
Referring to fig. 1, a flowchart of a self-starting method according to an embodiment of the present invention is shown, where the method is applied to a base station, and specifically includes the following steps:
step 101, if it is found that the base station itself is in the working mode of point-to-point protocol over ethernet PPPoE, establishing PPPoE session connection with the authentication server.
Specifically, in the embodiment of the present invention, an operator sets PPPoE authentication information in a base station in advance, where the PPPoE authentication information includes, but is not limited to: a username and password. In an embodiment, the authentication information may be set at the time of factory shipment of the base station, that is, written in a factory release version of the base station. In another embodiment of the present invention, the authentication information may be set by manually inputting the authentication information by an operator through a base station installation interface. The invention is not limited in this regard.
After the base station is powered on for self-checking, whether the working mode of the base station is the PPPoE working mode is inquired. And when the user inquires that the user works in the PPPoE working mode, initiating a PPPoE session to the authentication server so as to establish PPPoE session connection with the authentication server.
In the embodiment of the present invention, the authentication Server may be a BRAS (Broadband Remote Access Server) or an SR (Service Router), which is not limited in this respect.
102, connecting a Domain Name System (DNS) server based on an IP address of the DNS server acquired from a Dynamic Host Configuration Protocol (DHCP) server side, and acquiring an IP address of an initial HeMS (home base station management System) through the DNS server; and if not, acquiring the IP address of the initial HeMS from the local.
Specifically, in the embodiment of the present invention, the base station establishes a connection with the DHCP server, and acquires the IP address of the DNS server from the DHCP server side through interaction with the DHCP server. The base station establishes a connection with the DNS server based on the IP address of the DNS server.
The base station initiates a DNS domain name query request of the initial HeMS to the DNS server. The DNS responds to a DNS domain name query request initiated by the base station, queries the domain name of the initial HeMS, thereby obtaining the IP address of the initial HeMS and returning the IP address to the base station. And the base station acquires the IP address of the initial HeMS returned by the DNS server.
In the embodiment of the invention, if the initial HeMS is arranged behind the firewall, in the scene, the IP address of the initial HeMS is conversed into the private network segment behind the firewall, the DNS server cannot resolve the IP address of the initial HeMS by the domain name of the initial HeMS, and the base station cannot acquire the IP address of the HeMS from the DHS server. In this case, the base station will retrieve whether the IP address of the initial HeMS is stored locally. In an embodiment of the present invention, the base station self-start fails if the IP address of the initial HeMS is not queried in the local storage either.
And 103, connecting the initial HEMS based on the acquired IP address of the initial HEMS, and connecting the initial HEMS with a core network through related parameters issued by the initial HEMS.
Specifically, in the embodiment of the present invention, the base station establishes a connection with the initial HeMS based on the acquired IP address of the initial HeMS, acquires the related parameter issued by the HeMS through interaction with the initial HeMS, and connects with the core network based on the related parameter, thereby completing the self-starting process.
In summary, in the technical solution of the embodiment of the present invention, if it is found that the base station itself is in the working mode of the point-to-point protocol over ethernet PPPoE, a PPPoE session connection is established with the authentication server; connecting a Domain Name System (DNS) server based on the IP address of the DNS server acquired from a Dynamic Host Configuration Protocol (DHCP) server side, and acquiring the IP address of an initial HeMS (home evolved node system) through the DNS server; if not, acquiring the IP address of the initial HeMS from the local; the initial HeMS is connected based on the obtained IP address of the initial HeMS, and the related parameters sent by the initial HeMS are connected with the core network, so that the self-starting method with more comprehensive application scene and higher reliability is provided, the self-starting success rate of the base station is effectively improved, and the user experience is further improved.
Furthermore, in a preferred embodiment of the present invention, step 101 may specifically include:
if the inquiry finds that the user is in the PPPoE working mode, the PPPoE session request information is sent to an authentication server, and the PPPoE session request information carries the authentication information of the base station;
and establishing PPPoE session connection with the authentication server based on PPPoE session response information returned by the authentication server, wherein the PPPoE session response information is sent under the condition that the authentication server successfully authenticates the authentication information.
In a preferred embodiment of the present invention, step 102 may specifically include:
sending DHCP request information to a DHCP server or an authentication server;
and acquiring the IP address of the DNS server carried in the DHCP response information returned by the DHCP server or the authentication server.
In a preferred embodiment of the present invention, if the DHCP response message also carries an interface IP address allocated to the base station and an IP address of the serving HeMS, it is determined that the base station is accessed through a private network address;
correspondingly, step 103 may specifically include:
connecting the initial HeMS based on the interface IP address and the obtained IP address of the initial HeMS, and obtaining related parameters issued by the initial HeMS, wherein the related parameters comprise the IP address of a security gateway SeGW and personalized parameters required for establishing connection with the SeGW;
connecting the SeGW based on the relevant parameters, and acquiring a service IP address distributed by the SeGW for the base station;
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and connecting with the core network through the latest configuration parameters.
In a preferred embodiment of the present invention, if the DHCP response message also carries an interface IP address allocated to the base station and does not carry an IP address of the serving HeMS, it is determined that the base station is accessed through the public network address;
correspondingly, step 103 may specifically include:
connecting the initial HeMS based on the interface IP address and the obtained IP address of the initial HeMS, and obtaining related parameters issued by the initial HeMS, wherein the related parameters comprise the IP address of the service HeMS, the IP address of the SeGW and personalized parameters required for establishing connection with the SeGW;
connecting the SeGW based on the relevant parameters, and acquiring a service IP address distributed by the SeGW for the base station;
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting the base station with the core network based on the updated configuration parameters.
In a preferred embodiment of the present invention, step 103 may specifically include:
performing a DNS query about the initial HeMS through a DNS server to obtain an IP address of the initial HeMS;
if the query is successful, acquiring an IP address of the initial HeMS returned by the DNS;
if the query fails, retrieving whether the IP address of the initial HeMS exists locally;
if yes, the IP address of the initial HeMS is acquired from the local.
In order to make the self-starting method of the present invention better understood by those skilled in the art, the following detailed description is given with reference to specific examples.
An operator sets PPPoE authentication information in a base station in advance, wherein the PPPoE authentication information includes but is not limited to: a username and password. In an embodiment, the authentication information may be set at the time of factory shipment of the base station, that is, written in a factory release version of the base station. In another embodiment of the present invention, the authentication information may be set by manually inputting the authentication information by an operator through a base station installation interface. The invention is not limited in this regard.
After the base station is powered on for self-checking, whether the working mode of the base station is the PPPoE working mode is inquired. When the base station inquires that the base station works in the PPPoE working mode, the base station sends PPPoE session request information to an authentication server, wherein the PPPoE session request information carries authentication information (namely a user name and a password) of the base station. In the embodiment of the present invention, the authentication Server may be a BRAS (Broadband Remote Access Server) or an SR (Service Router). In this embodiment, the authentication server is taken as a BRAS for a detailed description.
The BRAS receives PPPoE session request information sent by the base station and verifies the authentication information carried in the PPPoE session request information. After the verification is passed, the BRAS returns PPPoE session response information to the base station. After receiving the PPPoE response information, the base station establishes PPPoE session connection with the BRAS. In the embodiment of the present invention, the details of the PPPoE session request procedure and the BRAS authentication procedure are similar to those in the embodiment of the prior art, and are not described herein again.
After the base station and the BRAS successfully establish the PPPoE session connection, the base station sends a DHCP Discover request (i.e. DHCP request information in the embodiment of the present invention) to a DHCP server or a BRAS in the group network. The DHCP server or the BRAS responds to the received DHCP Discover request and returns DHCP response information to the base station, wherein the information carried in the DHCP response information comprises but is not limited to: the IP address of the DNS server, and the interface IP allocated to the base station.
In an embodiment of the present invention, if the response information returned by the DHCP service or the BRAS to the base station carries the IP address of the serving HeMS, it indicates that the base station accesses through the private network address. On the contrary, if the corresponding information does not carry the IP address of the serving HeMS, it indicates that the base station accesses through the public network address.
The following steps of the public network address access and the private network address access are respectively explained in detail below.
(1) Base station access through private network address
And the base station acquires the interface IP address returned by the DHCP server or the BRAS and the IP address of the DNS server, and stores the interface IP address serving as a connection parameter in the local. The base station connects to the DNS server based on the interface IP and the IP address of the DNS server, and makes a DNS query with respect to the initial HeMS through the DNS server. If the initial HeMS in the networking is not arranged behind the firewall, the DNS server can obtain the IP address of the initial HeMS through DNS query of the HeMS, namely the query is successful. The DNS server returns the IP address of the queried initial HeMS to the base station.
If the initial HeMS in the networking is set behind the firewall, the DNS server cannot acquire the IP address of the initial HeMS through DNS query to the HeMS, i.e., the query fails. In case of a failure of the query, the DNS server may return a query failure message to the base station, or the base station may determine that the query has failed if it does not receive information returned by the DNS server within a predetermined time. And the base station searches whether the IP address of the initial HeMS exists locally or not, and if so, the IP address of the initial HeMS is acquired locally.
The base station connects to the initial HeMS based on the acquired IP address of the initial HeMS (which may be returned by the DNS server or acquired locally). And the base station acquires the relevant parameters issued by the HeMS. Relevant parameters include, but are not limited to: the IP address of the SeGW and the personalization parameters needed to establish a connection with the SeGW.
In a preferred embodiment of the present invention, the base station and the initial HeMS may establish a TCP connection channel, so that information exchange is performed through the TCP connection. In other embodiments, information interaction may also be performed through other connection manners, which is not limited in the present invention.
The base station establishes an IPsec path with the SeGW based on relevant parameters, namely an interface IP, an IP address of the SeGW and individualized parameters required for establishing connection with the SeGW, and acquires a service IP address distributed by the SeGW for the base station through the IPsec path, namely an OM (Operation and Maintenance) IP address of the base station.
The base station establishes connection with the service HeMS based on OM IP and the IP address of the service HeMS through a TLS (Transport Layer Security)/SSL (Secure Sockets Layer) Security protocol, and the management and control of the base station by the service HeMS are realized. In the embodiment of the present invention, the connection between the base station and the serving HeMS may also be a TCP connection, and the information interaction is performed through the TCP connection.
Then, the base station detects whether the built-in version file is the latest version. If yes, whether the built-in configuration parameters are the latest configuration parameters or not is continuously detected. If so, the base station completes the registration to the signaling gateway and the core network through the built-in configuration parameters, thereby completing the self-starting of the base station. If the base station detects that the built-in version file is not the latest version, the base station needs to download the latest version file and update the local version file. If the base station detects that the built-in configuration parameters are not the latest configuration parameters, the base station needs to download the latest configuration parameters and update the local configuration parameters. In the embodiment of the present invention, when the base station updates the local version file and/or the local configuration parameter, the base station needs to reset to enable the updated local version file and/or the updated local configuration parameter to take effect, and perform the self-checking process and the self-starting process again.
(2) Base station access through public network address
And the base station acquires the interface IP address returned by the DHCP server or the BRAS and the IP address of the DNS server, and stores the interface IP address serving as a connection parameter in the local. The base station connects to the DNS server based on the interface IP and the IP address of the DNS server, and makes a DNS query with respect to the initial HeMS through the DNS server. If the initial HeMS in the networking is not arranged behind the firewall, the DNS server can obtain the IP address of the initial HeMS through DNS query of the HeMS, namely the query is successful. The DNS server returns the IP address of the queried initial HeMS to the base station.
If the initial HeMS in the networking is set behind the firewall, the DNS server cannot acquire the IP address of the initial HeMS through DNS query to the HeMS, i.e., the query fails. In case of a failure of the query, the DNS server may return a query failure message to the base station, or the base station may determine that the query has failed if it does not receive information returned by the DNS server within a predetermined time. And the base station searches whether the IP address of the initial HeMS exists locally or not, and if so, the IP address of the initial HeMS is acquired locally.
The base station connects to the initial HeMS based on the acquired IP address of the initial HeMS (which may be returned by the DNS server or acquired locally). And the base station acquires the relevant parameters issued by the HeMS. Relevant parameters include, but are not limited to: the IP address of the serving HeMS, the IP address of the SeGW and the personalization parameters needed to establish a connection with the SeGW.
In a preferred embodiment of the present invention, the base station and the initial HeMS may establish a TCP connection channel, so that information exchange is performed through the TCP connection. In other embodiments, information interaction may also be performed through other connection manners, which is not limited in the present invention.
The base station establishes an IPsec path with the SeGW based on relevant parameters, namely an interface IP, an IP address of the SeGW and individualized parameters required for establishing connection with the SeGW, and acquires a service IP address distributed by the SeGW for the base station through the IPsec path, namely an OM (Operation and Maintenance) IP address of the base station.
The base station establishes connection with the service HeMS based on OM IP and the IP address of the service HeMS through a TLS (Transport Layer Security)/SSL (Secure Sockets Layer) Security protocol, and the management and control of the base station by the service HeMS are realized. In the embodiment of the present invention, the connection between the base station and the serving HeMS may also be a TCP connection, and the information interaction is performed through the TCP connection.
Then, the base station detects whether the built-in version file is the latest version. If yes, whether the built-in configuration parameters are the latest configuration parameters or not is continuously detected. If so, the base station completes the registration to the signaling gateway and the core network through the built-in configuration parameters, thereby completing the self-starting of the base station. If the base station detects that the built-in version file is not the latest version, the base station needs to download the latest version file and update the local version file through the service HeMS. If the base station detects that the built-in configuration parameters are not the latest configuration parameters, the base station needs to download the latest configuration parameters and update the local configuration parameters through the serving HeMS. In the embodiment of the present invention, when the base station updates the local version file and/or the local configuration parameter, the base station needs to reset to enable the updated local version file and/or the updated local configuration parameter to take effect, and perform the self-checking process and the self-starting process again.
Referring to fig. 2, a block diagram of a base station according to an embodiment of the present invention is shown, where the base station may specifically include the following modules:
the first connection module 201 is configured to establish a PPPoE session connection with the authentication server if it is found that the base station itself is in a point-to-point protocol PPPoE operating mode over ethernet.
An obtaining module 202, configured to connect to a domain name system DNS server based on an IP address of the DNS server obtained from a dynamic host configuration protocol DHCP server, and obtain an IP address of an initial home base station management system HeMS through the DNS server; and if not, acquiring the IP address of the initial HeMS from the local.
The second connection module 203 is configured to connect to the initial HeMS based on the acquired IP address of the initial HeMS, and connect to the core network through the related parameters issued by the initial HeMS.
In a preferred embodiment of the present invention, the first connection module 201 may be further configured to send PPPoE session request information to the authentication server if it is found that the first connection module is in the PPPoE operating mode, where the PPPoE session request information carries the authentication information of the base station;
and establishing PPPoE session connection with the authentication server based on PPPoE session response information returned by the authentication server, wherein the PPPoE session response information is sent by the authentication server under the condition that the authentication server successfully authenticates the authentication information.
In a preferred embodiment of the present invention, the obtaining module 202 may be further configured to send DHCP request information to a DHCP server or an authentication server;
and acquiring the IP address of the DNS server carried in the DHCP response information returned by the DHCP server or the authentication server.
In a preferred embodiment of the present invention, the base station further includes:
and a confirmation module (not shown in the figure) for confirming that the base station is accessed through the private network address if the DHCP response message also carries the interface IP address allocated to the base station and the IP address of the serving HeMS.
Correspondingly, the second connection module 203 may be further configured to connect the initial HeMS based on the interface IP address and the obtained IP address of the initial HeMS, and obtain related parameters issued by the initial HeMS, where the related parameters include an IP address of the SeGW and personalized parameters required for establishing connection with the SeGW; and the number of the first and second groups,
connecting the SeGW based on the relevant parameters, and acquiring a service IP address distributed by the SeGW for the base station; and the number of the first and second groups,
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting with the core network based on the updated configuration parameters.
In a preferred embodiment of the present invention, the confirmation module may be further configured to confirm that the base station is accessed through the public network address if the DHCP response information also carries an interface IP address allocated to the base station and does not carry an IP address of the serving HeMS;
correspondingly, the second connection module 203 may be further configured to connect the initial HeMS based on the interface IP address and the acquired IP address of the initial HeMS, and acquire related parameters issued by the initial HeMS, where the related parameters include an IP address of the serving HeMS, an IP address of the SeGW, and personalized parameters required for establishing a connection with the SeGW; and the number of the first and second groups,
connecting the SeGW based on the relevant parameters, and acquiring a service IP address distributed by the SeGW for the base station; and the number of the first and second groups,
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting with the core network based on the updated configuration parameters.
In a preferred embodiment of the present invention, the obtaining module 202 may be further configured to perform a DNS query with respect to the initial HeMS through a DNS server to obtain an IP address of the initial HeMS;
if the query is successful, acquiring an IP address of the initial HeMS returned by the DNS;
if the query fails, retrieving whether the IP address of the initial HeMS exists locally;
if yes, the IP address of the initial HeMS is acquired from the local.
In summary, in the base station in the embodiment of the present invention, if it is found that the base station itself is in the point-to-point protocol over ethernet PPPoE operating mode, a PPPoE session connection is established with the authentication server; connecting a Domain Name System (DNS) server based on the IP address of the DNS server acquired from a Dynamic Host Configuration Protocol (DHCP) server side, and acquiring the IP address of an initial HeMS (home evolved node system) through the DNS server; if not, acquiring the IP address of the initial HeMS from the local; the initial HeMS is connected based on the obtained IP address of the initial HeMS, and the related parameters sent by the initial HeMS are connected with the core network, so that the self-starting method with more comprehensive application scene and higher reliability is provided, the self-starting success rate of the base station is effectively improved, and the user experience is further improved.
For the apparatus embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The use of the phrase "including a" does not exclude the presence of other, identical elements in the process, method, article, or apparatus that comprises the same element, whether or not the same element is present in all of the same element.
The self-starting method and the base station provided by the invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A self-starting method applied to a base station, the method comprising:
if the base station is inquired to be in a point-to-point protocol PPPoE working mode on the Ethernet, establishing PPPoE session connection with an authentication server;
connecting a Domain Name System (DNS) server based on the IP address of the DNS server acquired from a Dynamic Host Configuration Protocol (DHCP) server side, and acquiring the IP address of an initial HeMS (home evolved node system) through the DNS server; if not, acquiring the IP address of the initial HeMS from the local;
connecting the initial HeMS based on the acquired IP address of the initial HeMS, and connecting the initial HeMS with a core network through related parameters issued by the initial HeMS;
the step of connecting the DNS server based on the IP address of the DNS server acquired from the DHCP server side comprises the following steps:
sending DHCP request information to the DHCP server or the authentication server;
acquiring the IP address of the DNS carried in the DHCP response information returned by the DHCP server or the authentication server;
if the DHCP response information also carries an interface IP address allocated for the base station and an IP address of a service HeMS, confirming that the base station is accessed through a private network address;
and if the DHCP response information also carries an interface IP address allocated for the base station and does not carry the IP address of the service HeMS, confirming that the base station is accessed through a public network address.
2. The method of claim 1, wherein the step of establishing a PPPoE session connection with the authentication server if the base station itself is in the PPPoE operating mode comprises:
if the inquiry finds that the user is in the PPPoE working mode, the PPPoE session request information is sent to the authentication server, and the PPPoE session request information carries the authentication information of the base station;
and establishing PPPoE session connection with the authentication server based on PPPoE session response information returned by the authentication server, wherein the PPPoE session response information is sent by the authentication server under the condition that the authentication server successfully authenticates the authentication information.
3. The method according to claim 1, wherein the step of connecting the initial HeMS based on the acquired IP address of the initial HeMS and connecting to a core network via related parameters delivered by the initial HeMS, in case that it is determined that the base station is accessed via a private network address, comprises:
connecting the initial HeMS based on the interface IP address and the obtained IP address of the initial HeMS, and obtaining related parameters issued by the initial HeMS, wherein the related parameters comprise the IP address of a security gateway SeGW and personalized parameters required for establishing connection with the SeGW;
connecting the SeGW based on the related parameters, and acquiring a service IP address allocated by the SeGW for the base station;
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting the base station with the core network based on the updated configuration parameters.
4. The method according to claim 3, wherein the step of connecting the initial HeMS based on the acquired IP address of the initial HeMS and connecting to a core network via related parameters delivered by the initial HeMS, in case that it is determined that the base station is accessed via a public network address, comprises:
connecting the initial HeMS based on the interface IP address and the obtained IP address of the initial HeMS, and obtaining related parameters issued by the initial HeMS, wherein the related parameters comprise the IP address of the service HeMS, the IP address of the SeGW and personalized parameters required for establishing connection with the SeGW;
connecting the SeGW based on the related parameters, and acquiring a service IP address allocated by the SeGW for the base station;
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting the base station with the core network based on the updated configuration parameters.
5. The method of claim 1, wherein the obtaining, by the DNS server, an IP address of an initial HeMS; if not, the step of locally acquiring the IP address of the initial HeMS comprises the following steps:
performing a DNS query about the initial HeMS through the DNS server to obtain an IP address of the initial HeMS;
if the query is successful, acquiring the IP address of the initial HeMS returned by the DNS;
if the query fails, retrieving whether the IP address of the initial HeMS exists locally;
and if so, acquiring the IP address of the initial HeMS from the local.
6. A base station, comprising:
the first connection module is used for establishing PPPoE session connection with the authentication server if the base station is inquired to be in a point-to-point protocol PPPoE working mode on the Ethernet;
the system comprises an acquisition module, a DNS server and a server side, wherein the acquisition module is used for connecting the DNS server based on an IP address of a domain name system DNS server acquired from a dynamic host configuration protocol DHCP server side and acquiring the IP address of an initial HeMS (home evolved node system) through the DNS server; if not, acquiring the IP address of the initial HeMS from the local;
the second connection module is used for connecting the initial HeMS based on the acquired IP address of the initial HeMS and connecting the initial HeMS with a core network through related parameters issued by the initial HeMS;
the obtaining module is further configured to send DHCP request information to the DHCP server or the authentication server;
acquiring the IP address of the DNS carried in the DHCP response information returned by the DHCP server or the authentication server;
the base station further comprises:
the confirmation module is used for confirming that the base station is accessed through a private network address if the DHCP response information also carries an interface IP address allocated for the base station and an IP address of a service HeMS;
the confirmation module is further configured to confirm that the base station is accessed through a public network address if the DHCP response information also carries an interface IP address allocated to the base station and does not carry the IP address of the serving HeMS.
7. The base station of claim 6, wherein the first connection module is further configured to send PPPoE session request information to the authentication server if it is found that the first connection module is in a PPPoE operating mode, where the PPPoE session request information carries authentication information of the base station;
and establishing PPPoE session connection with the authentication server based on PPPoE session response information returned by the authentication server, wherein the PPPoE session response information is sent by the authentication server under the condition that the authentication server successfully authenticates the authentication information.
8. The base station according to claim 6, wherein in a case that it is determined that the base station is accessed through a private network address, the second connection module is further configured to connect the initial HeMS based on the interface IP address and the acquired IP address of the initial HeMS, and acquire related parameters issued by the initial HeMS, where the related parameters include an IP address of a security gateway SeGW and personalized parameters required for establishing a connection with the SeGW; and the number of the first and second groups,
connecting the SeGW based on the related parameters, and acquiring a service IP address allocated by the SeGW for the base station; and the number of the first and second groups,
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting with the core network based on the updated configuration parameters.
9. The base station of claim 8, wherein in a case that it is determined that the base station is accessed through a public network address, the second connection module is further configured to connect the initial HeMS based on the interface IP address and the acquired IP address of the initial HeMS, and acquire related parameters issued by the initial HeMS, where the related parameters include an IP address of the serving HeMS, an IP address of the SeGW, and personalized parameters required for establishing a connection with the SeGW; and the number of the first and second groups,
connecting the SeGW based on the related parameters, and acquiring a service IP address allocated by the SeGW for the base station; and the number of the first and second groups,
connecting the service HeMS based on the service IP address and the IP address of the service HeMS;
and updating the configuration parameters of the base station by the service HeMS, and connecting with the core network based on the updated configuration parameters.
10. The base station of claim 6, wherein the obtaining module is further configured to perform a DNS query with respect to the initial HeMS via the DNS server to obtain an IP address of the initial HeMS;
if the query is successful, acquiring the IP address of the initial HeMS returned by the DNS;
if the query fails, retrieving whether the IP address of the initial HeMS exists locally;
and if so, acquiring the IP address of the initial HeMS from the local.
CN201610958524.0A 2016-11-04 2016-11-04 Self-starting method and base station Active CN108023916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610958524.0A CN108023916B (en) 2016-11-04 2016-11-04 Self-starting method and base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610958524.0A CN108023916B (en) 2016-11-04 2016-11-04 Self-starting method and base station

Publications (2)

Publication Number Publication Date
CN108023916A CN108023916A (en) 2018-05-11
CN108023916B true CN108023916B (en) 2020-12-04

Family

ID=62083859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610958524.0A Active CN108023916B (en) 2016-11-04 2016-11-04 Self-starting method and base station

Country Status (1)

Country Link
CN (1) CN108023916B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109068343B (en) * 2018-08-21 2021-09-10 京信网络系统股份有限公司 Base station opening method and device, computer storage medium and equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873710B2 (en) * 2007-02-06 2011-01-18 5O9, Inc. Contextual data communication platform
CN102137446A (en) * 2011-04-11 2011-07-27 京信通信系统(中国)有限公司 Method and device for realizing various services diversion in home base station
CN102833363A (en) * 2012-08-20 2012-12-19 大唐移动通信设备有限公司 IP (Internet Protocol) address allocation method, device and system
CN103428681A (en) * 2013-08-06 2013-12-04 大唐移动通信设备有限公司 Base station self-starting configuration parameter acquisition method, base station self-starting method and equipment
CN104967985B (en) * 2015-06-12 2019-04-09 大唐移动通信设备有限公司 A kind of base station self-starting method and equipment

Also Published As

Publication number Publication date
CN108023916A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
US10534600B2 (en) Method and system for uniform remote management of network devices
US8869236B1 (en) Automatic configuration of a network device
US9125049B2 (en) Configuring secure wireless networks
US8891404B2 (en) Method and system for managing network devices of generic vendors and manufactures
CN104348903B (en) It is a kind of to establish point-to-point online communication system and its device
US8144692B2 (en) Automation of IP phone provisioning with self-service voice application
US20110264730A1 (en) Client device configured to connect with a home network
WO2016082417A1 (en) Device configuration method, configuration apparatus and management device
CN103858387A (en) Architecture for virtualized home IP service delivery
US20090233609A1 (en) Touchless Plug and Play Base Station
CN104967985B (en) A kind of base station self-starting method and equipment
US20130265910A1 (en) Method, Gateway Device and Network System for Configuring a Device in a Local Area Network
CN106301847B (en) Access point interface configuration recovery method and device and home gateway
CN111066014B (en) Apparatus, method, and program for remotely managing devices
EP2308218B1 (en) Configuration of a communication device
CN108023916B (en) Self-starting method and base station
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
CN103166771A (en) Method and system for managing gateway and under hanging device
CN108377490B (en) Method and device for starting base station
JP7324376B2 (en) Setting system, setting method
CN108616379B (en) Method and system for managing automatic configuration server
US20200304458A1 (en) Management device, l3cpe, and control method therefor
CN110024443B (en) Method for pairing with a gateway
CN107465554B (en) Route switching method and system for wireless networking and single network application
CN111327440B (en) Method and device for automatically configuring set top box

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