CN106888117B - Method and system for acquiring network element IP - Google Patents

Method and system for acquiring network element IP Download PDF

Info

Publication number
CN106888117B
CN106888117B CN201710080070.6A CN201710080070A CN106888117B CN 106888117 B CN106888117 B CN 106888117B CN 201710080070 A CN201710080070 A CN 201710080070A CN 106888117 B CN106888117 B CN 106888117B
Authority
CN
China
Prior art keywords
network element
server
network
acs
dhcp
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
CN201710080070.6A
Other languages
Chinese (zh)
Other versions
CN106888117A (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.)
Jinqianmao Technology Co ltd
Original Assignee
Jinqianmao Technology 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 Jinqianmao Technology Co ltd filed Critical Jinqianmao Technology Co ltd
Priority to CN201710080070.6A priority Critical patent/CN106888117B/en
Publication of CN106888117A publication Critical patent/CN106888117A/en
Application granted granted Critical
Publication of CN106888117B publication Critical patent/CN106888117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • 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/5076Update or notification mechanisms, e.g. DynDNS

Abstract

The invention relates to the technical field of communication, in particular to a method and a system for acquiring a network element IP, wherein the method comprises the following steps: a network element sends a DHCP request; the DHCP server processes the DHCP request of the network element and returns a DHCP response to the network element; a network element requests a DNS server to analyze the host name of an ACS server; after the DNS server completes domain name resolution, the IP mapped by the host name of the ACS server is returned to the network element; the network element establishes protocol connection with the ACS server and carries out protocol interaction; and the unified network manager acquires the IP of the network element from the ACS server through a protocol. The method and the system for acquiring the network element IP adopt the unified network management service end to carry out centralized management and control on the network element, acquire the IP of the EoC terminal of the network element in a unified manner, and carry out comprehensive management and centralized management and control on the whole network by means of the unified network management service end. And the configuration management of the network elements of the whole network is provided, so that the configuration of the network elements is simpler and quicker.

Description

Method and system for acquiring network element IP
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for acquiring a network element IP.
Background
With the increase of the use scale of the network system, the whole network needs to be comprehensively managed by the aid of the network management system, the network elements are centrally managed and controlled by the network management system, the configuration management of the network elements of the whole network is provided, and the configuration of the network elements is simpler and quicker.
In an EoC network system, when an EoC terminal is online, the EoC terminal needs to be managed and configured with a service channel, and in a later maintenance process, due to version upgrade or a change in user requirements, the configuration of the EoC terminal needs to be changed. For configuration management of the EoC terminal, the network management system mainly accesses the IP through WEB or TELNET, etc., on the premise that the IP of the EoC terminal needs to be known.
When the EoC terminal accesses the network, the IP is automatically acquired in a DHCP mode, and the network management system cannot acquire the IP of the EoC terminal, so that the network management system cannot perform centralized management and control on the EoC terminal.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method and the system for acquiring the network element IP are provided, and the unified network management server can realize the centralized management and control of the network element.
In order to solve the technical problems, the invention adopts the technical scheme that: there is provided a method for acquiring an IP of a network element, the method comprising:
the network element sends a DHCP request to a DHCP server;
the DHCP server processes the DHCP request and sends information to the network element, wherein the information comprises a network element allocation IP, an ACS server URL and a DNS server IP;
a network element sends a request for analyzing a host name of an ACS server to a DNS server;
after the DNS server completes domain name resolution, the IP mapped by the host name is sent to a network element;
the network element establishes protocol connection with the ACS server according to the IP mapped by the host name to carry out protocol interaction;
and the unified network management server acquires the IP of the network element from the ACS server through a protocol.
Another technical solution of the present invention is to provide a system for acquiring a network element IP, including:
the first sending unit is used for sending a DHCP request to a DHCP server;
the processing and sending unit is used for processing the DHCP request and sending information to the network element, wherein the information comprises a network element allocation IP, an ACS server URL and a DNS server IP;
a second sending unit, configured to send a request for resolving a host name of the ACS server to the DNS server;
a third sending unit, configured to send the IP mapped by the host name to a network element after completing domain name resolution;
the interaction unit is used for establishing protocol connection with the ACS server according to the IP mapped by the host name to carry out protocol interaction;
and the acquisition unit is used for acquiring the IP of the network element from the ACS server through a protocol.
The invention has the beneficial effects that: the method and the system for acquiring the network element IP adopt the unified network management service end to carry out centralized management and control on the network element, acquire the IP of the EoC terminal of the network element in a unified manner, and carry out comprehensive management and centralized management and control on the whole network by means of the unified network management service end. And the configuration management of the network elements of the whole network is provided, so that the configuration of the network elements is simpler and quicker.
Drawings
Fig. 1 is a block diagram of a system for acquiring an IP of a network element according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for acquiring an IP of a network element in embodiment 1 of the present invention;
fig. 3 is a schematic diagram of a network architecture of each end of a method for acquiring a network element IP according to embodiment 1 of the present invention;
description of reference numerals:
1. a first transmitting unit; 2. a processing and transmitting unit; 3. a second transmitting unit; 4. a third transmitting unit; 5. an interaction unit; 6. an acquisition unit.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
The most key concept of the invention is as follows: and the unified network management server side can be used for carrying out centralized management and control on the network element and uniformly acquiring the IP of the EoC terminal of the network element.
The invention provides a method for acquiring a network element IP, which comprises the following steps:
the network element sends a DHCP request to a DHCP server;
the DHCP server processes the DHCP request and sends information to the network element, wherein the information comprises a network element allocation IP, an ACS server URL and a DNS server IP;
a network element sends a request for analyzing a host name of an ACS server to a DNS server;
after the DNS server completes domain name resolution, the IP mapped by the host name is sent to a network element;
the network element establishes protocol connection with the ACS server according to the IP mapped by the host name to carry out protocol interaction;
and the unified network management server acquires the IP of the network element from the ACS server through a protocol.
Further, in the method for acquiring the network element IP, the network element is an EoC terminal.
Further, in the above method for acquiring the IP of the network element, the DHCP server starts options option6 and option 12 of DHCP, and configures option6 as the IP of the DNS server, and option 12 as the URL of the ACS server.
Further, in the above method for acquiring an IP of a network element, the protocol is a TR069 protocol.
Further, in the method for acquiring the IP of the network element, after the connection between the network element and the ACS server is established, the ACS server may change the URL stored in the network element at any time, and after the change, the network element connects to the ACS server using the changed address.
Further, in the method for acquiring a network element IP, when the protocols are interacted, the network element notifies the ACS server of the network element IP.
As can be seen from the above description, the method for acquiring the network element IP described above adopts the unified network management server to perform centralized management and control on the network element, uniformly acquires the IP of the EoC terminal of the network element, and performs comprehensive management and centralized management and control on the entire network by means of the unified network management server. And the configuration management of the network elements of the whole network is provided, so that the configuration of the network elements is simpler and quicker.
Referring to fig. 1, a system for acquiring an IP of a network element includes:
a first sending unit 1, configured to send a DHCP request to a DHCP server;
the processing and sending unit 2 is configured to process the DHCP request and send information to the network element, where the information includes a network element allocation IP, an ACS server URL, and a DNS server IP;
a second sending unit 3, configured to send a request for resolving a host name of the ACS server to the DNS server;
a third sending unit 4, configured to send the IP mapped by the host name to a network element after completing domain name resolution;
the interaction unit 5 is used for establishing a protocol connection with the ACS server according to the IP mapped by the host name to carry out protocol interaction;
an obtaining unit 6, configured to obtain, through a protocol, the IP of the network element from the ACS server.
Further, in the system for acquiring the network element IP, the network element is an EoC terminal.
Further, in the above system for acquiring an IP of a network element, the protocol is a TR069 protocol.
Further, in the system for acquiring a network element IP, when the protocols are interacted, the network element notifies the ACS server of the network element IP.
Example 1
Referring to fig. 2 and fig. 3, fig. 2 is a flowchart of a method for acquiring an IP of a network element according to the present embodiment; fig. 3 is a schematic diagram of a network architecture at each end of the method for acquiring the network element IP according to the present embodiment; the main network elements of the EoC network system include: OLT (Optical line terminal), ONU (Optical Network Unit), EoC office, EoC terminal.
The method for acquiring the network element IP comprises the following steps:
step 101: the EoC terminal sends a DHCP request.
Step 102: and the DHCP server receives the DHCP request of the EoC terminal and returns a DHCP response to the EoC terminal. The DHCP server allocates an IP, an ACS server URL, and a DNS server IP to the EoC terminal.
In this embodiment, the DHCP server needs to open options [6] and [12] of DHCP, and configures the value of option [6] as the IP of the DNS server, and the value of option [12] as the URL of the ACS server.
Step 103: the EoC terminal requests the DNS server to resolve the hostname of the ACS server.
Step 104: and after the DNS server completes domain name resolution, returning the IP mapped by the host name of the ACS server to the EoC terminal.
Step 105: and the EoC terminal establishes protocol connection with the ACS server and carries out protocol interaction.
In the present embodiment, the TR069 protocol is used as the protocol between the EoC terminal and the ACS server. Once the connection to the ACS server is established, the ACS server can change the address of the ACS server stored in the EoC terminal at any time, and once the change occurs, the EoC terminal must use the changed address to make a subsequent connection to the ACS.
Step 106: and the unified network management server acquires the IP of the EoC terminal from the ACS server through a protocol.
In the present embodiment, the protocol used is the TR069 protocol. The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (2)

1. A method for obtaining an IP of a network element, the method comprising:
the network element sends a DHCP request to a DHCP server; the network element is an EoC terminal;
the DHCP server processes the DHCP request and sends information to the network element, wherein the information comprises a network element allocation IP, an ACS server URL and a DNS server IP;
a network element sends a request for analyzing a host name of an ACS server to a DNS server;
after the DNS server completes domain name resolution, the IP mapped by the host name is sent to a network element;
the network element establishes protocol connection with the ACS server according to the IP mapped by the host name to carry out protocol interaction;
the unified network management server side acquires the IP of the network element from the ACS server through a protocol;
after the network element is connected with the ACS server, the ACS server can change the URL of the ACS server stored in the network element at any time, and after the URL is changed, the network element is connected with the ACS server by using the changed address;
when the protocols are interacted, the network element informs the ACS server of a network element IP;
the protocol is TR 069;
the DHCP server starts options option6 and option 12 of DHCP, and configures option6 as the IP of the DNS server, and option 12 as the URL of the ACS server.
2. A system for obtaining an IP of a network element, comprising:
the first sending unit is used for sending a DHCP request to a DHCP server;
the processing and sending unit is used for processing the DHCP request and sending information to the network element, wherein the information comprises a network element allocation IP, an ACS server URL and a DNS server IP;
a second sending unit, configured to send a request for resolving a host name of the ACS server to the DNS server;
a third sending unit, configured to send the IP mapped by the host name to a network element after completing domain name resolution; the network element is an EoC terminal;
the interaction unit is used for establishing protocol connection with the ACS server according to the IP mapped by the host name to carry out protocol interaction; when the protocols are interacted, the network element informs the ACS server of a network element IP;
an obtaining unit, configured to obtain, via a protocol, an IP of the network element from the ACS server;
the protocol is TR 069;
the DHCP server starts options option6 and option 12 of DHCP, and configures option6 as the IP of the DNS server, and option 12 as the URL of the ACS server.
CN201710080070.6A 2017-02-15 2017-02-15 Method and system for acquiring network element IP Active CN106888117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710080070.6A CN106888117B (en) 2017-02-15 2017-02-15 Method and system for acquiring network element IP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710080070.6A CN106888117B (en) 2017-02-15 2017-02-15 Method and system for acquiring network element IP

Publications (2)

Publication Number Publication Date
CN106888117A CN106888117A (en) 2017-06-23
CN106888117B true CN106888117B (en) 2020-10-23

Family

ID=59179755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710080070.6A Active CN106888117B (en) 2017-02-15 2017-02-15 Method and system for acquiring network element IP

Country Status (1)

Country Link
CN (1) CN106888117B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107968725B (en) * 2017-11-20 2021-02-26 瑞斯康达科技发展股份有限公司 Method and device for returning and configuring configuration information of home gateway unit type terminal device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132326B (en) * 2006-08-24 2010-05-12 华为技术有限公司 Automatic configuration method, system and device
CN101212384B (en) * 2006-12-31 2011-04-20 华为技术有限公司 Method, system, and equipment for implement home network interconnection
CN101282232A (en) * 2007-04-05 2008-10-08 华为技术有限公司 Method, equipment and system for managing far-end apparatus
CN101483543A (en) * 2008-01-11 2009-07-15 华为技术有限公司 Network management method and system, terminal and automatic configuration server
US8886772B2 (en) * 2008-07-31 2014-11-11 Koninklijke Kpn N.V. Method and system for remote device management
CN101702718A (en) * 2009-11-18 2010-05-05 中兴通讯股份有限公司 Method and device for managing user terminal equipment

Also Published As

Publication number Publication date
CN106888117A (en) 2017-06-23

Similar Documents

Publication Publication Date Title
CN101296203B (en) Device, system and method for automatically configuring application terminal in family network
US10355926B2 (en) Service distribution method, device and system
US7991913B2 (en) Method for domain name configuration in IPv6 access network and the network device hereof
US9641253B2 (en) Data over cable service interface specification (DOCSIS) over passive optical network (PON)
CN101141422B (en) Method and system to access family gateway and family gateway
AU2001247630A1 (en) Method and apparatus for coordinating a change in service provider between a client and a server with identity based service access management
EP3128698B1 (en) Service processing method and apparatus and optical line terminal
EP2439903B1 (en) Method for providing information, home gateway and home network system
JP2021536709A (en) Data transmission methods, related equipment, and systems
CN102739539A (en) Method for carrying out topology association on optical network unit (ONU) and Ethernet over coax (EOC)
US20170117965A1 (en) Optical line terminal, communication control method, and communication control program
CN103873271A (en) Gateway EoC terminal, and management system and management method thereof
CN106888117B (en) Method and system for acquiring network element IP
CN103227842A (en) Method and device for acquiring SIP (session initiation protocol) server address
CN1859722B (en) Method and system for obtaining terminal information by user stationed device configuration function
CN101552802A (en) Information processing method, gateway and network system
CN104333462A (en) Method, system and mobile terminal for configuring optical network unit
CN107026753B (en) Method and system for distributing and downloading software version in passive optical network
WO2017167076A1 (en) Device management method and apparatus
CN101453396A (en) Method and system for multiple service provider device management
CN106034166A (en) Method and apparatus for configuring network parameters of local area network,
WO2015143824A1 (en) Method, apparatus and system for processing ipv6 transition technology type
CN103236943A (en) Method for network operation and maintenance service support system to provide network operation and maintenance services
CN115086276B (en) Address management method, device, equipment and system
CN111954098B (en) Equipment identification method, device, equipment and computer readable storage medium

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