CN102387144B - Configuration method and network equipment for internet access protocol - Google Patents

Configuration method and network equipment for internet access protocol Download PDF

Info

Publication number
CN102387144B
CN102387144B CN201110322457.0A CN201110322457A CN102387144B CN 102387144 B CN102387144 B CN 102387144B CN 201110322457 A CN201110322457 A CN 201110322457A CN 102387144 B CN102387144 B CN 102387144B
Authority
CN
China
Prior art keywords
network equipment
internet access
access protocol
initial message
configures
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
CN201110322457.0A
Other languages
Chinese (zh)
Other versions
CN102387144A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110322457.0A priority Critical patent/CN102387144B/en
Publication of CN102387144A publication Critical patent/CN102387144A/en
Application granted granted Critical
Publication of CN102387144B publication Critical patent/CN102387144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a configuration method and network equipment for an internet access protocol. For the embodiment of the invention, first network equipment determines an internet access protocol configured on second network equipment by receiving initial messages which are based on the internet access protocol and are sent by the second network equipment according to characteristic fields contained in the initial messages, so that the first network equipment can generate configured information of the internet access protocol, and the problems in the prior art that the configuration operation is complex, the configuration time is long and faults are easy to occur as the configuration information of the internet access protocol is configured on each network equipment by maintenance personnel manually can be avoided, therefore, the configuration efficiency and the configuration reliability can be improved.

Description

The collocation method of internet access protocol and the network equipment
Technical field
The present invention relates to the communication technology, particularly relate to a kind of collocation method and the network equipment of internet access protocol.
Background technology
Terminal can pass through some network equipments, such as: the equipment such as router, switch, accessing Internet.These network equipments can be interconnected by carrier line, such as: E1 circuit, T1 line etc.Because the data service of terminal is all carried on carrier line, so, the network equipment needs configure internet access protocol corresponding to these carrier lines.
But in prior art, the configuration information of internet access protocol is by Operation and Maintenance personnel manual configuration on each network equipment, and configuration operation is complicated, and setup time is long, and easily makes mistakes, thus result in the reduction of allocative efficiency and configuration reliability.
Summary of the invention
The invention provides a kind of collocation method and the network equipment of internet access protocol, in order to improve allocative efficiency and configuration reliability.
Provide a kind of collocation method of internet access protocol on the one hand, comprising:
First network equipment, by the carrier line between described first network equipment and second network equipment, receives the Initial message based on internet access protocol that described second network equipment sends;
Described first network equipment, according to the feature field comprised in described Initial message, determines the internet access protocol that described second network equipment configures;
Described first network equipment generates the configuration information of described internet access protocol.
Provide a kind of network equipment on the other hand, comprising:
Receiving element, for by the carrier line between the described network equipment and another network equipment, receives the Initial message based on internet access protocol that another network equipment described sends;
Determining unit, for according to the feature field comprised in described Initial message, determines the internet access protocol that another network equipment described configures;
Generation unit, for generating the configuration information of described internet access protocol.
As shown from the above technical solution, the Initial message based on internet access protocol that embodiment of the present invention first network equipment sends by receiving second network equipment, and according to the feature field comprised in described Initial message, determine the internet access protocol that described second network equipment configures, described first network equipment is made to generate the configuration information of described internet access protocol, the configuration operation that caused on each network equipment by Operation and Maintenance personnel manual configuration due to the configuration information of internet access protocol in prior art can be avoided complicated, setup time is long, and the problem of easily makeing mistakes, thus improve allocative efficiency and configuration reliability.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the collocation method of the internet access protocol that Fig. 1 provides for one embodiment of the invention;
The structural representation of the network equipment that Fig. 2 provides for another embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The schematic flow sheet of the collocation method of the internet access protocol that Fig. 1 provides for one embodiment of the invention, as shown in Figure 1, the collocation method of the internet access protocol of the present embodiment can comprise:
101, first network equipment is by the carrier line between described first network equipment and second network equipment, receives the Initial message based on internet access protocol that described second network equipment sends;
Such as: first network equipment specifically can when the physical interface of carrier line be in unlatching (UP) state, mourn in silence and intercept the message that carrier line receives.
102, described first network equipment is according to the feature field comprised in described Initial message, determines the internet access protocol that described second network equipment configures.
103, described first network equipment generates the configuration information of described internet access protocol.
Wherein, described carrier line can include but not limited to primary group circuit-line, such as: the primary group circuit-line (referred to as E1 circuit) of European E1 standard or the primary group circuit-line (referred to as T1 line) of North America T1 standard.
Particularly, when described carrier line is primary group circuit-line, described first network equipment specifically according at least one field in the address field comprised in described Initial message and control field, can determine the internet access protocol that described second network equipment configures.
Such as: described first network equipment is according to the address field comprised in described Initial message, determine point-to-point protocol (the Point-to-Point Protocol that described second network equipment configures, be called for short PPP), frame relay (Frame Relay, be called for short FR) agreement or X.25 agreement.Wherein, the corresponding relation of protocol type and address field can see table 1.
The corresponding relation of table 1 protocol type and address field
Protocol type Address field
PPP 0XFF
FR agreement 0
X.25 agreement 0X01 or 0X03
Again such as: described first network equipment, according to the control field comprised in described Initial message, determines PPP or the FR agreement that described second network equipment configures.Wherein, the corresponding relation of protocol type and address field can see table 2.
The corresponding relation of table 2 protocol type and control field
Protocol type Control field
PPP 0X03
FR agreement 0
Again such as: described first network equipment is according to the address field comprised in described Initial message and control field, determine High-Level Data Link Control (the High-level Data Link Control that described second network equipment configures, being called for short HDLC) agreement or data link exchange (Data Link SWitching is called for short DLSW) agreement.Wherein, the corresponding relation of protocol type and address field can see table 3.
The corresponding relation of table 3 protocol type and address field and control field
The above-mentioned Initial message based on HDLC agreement is a supervisory frame, and the first two bit the 10, three bit and the 4th bit of the control field of this Initial message can be 00,01,10 and 11.
The control field of the above-mentioned Initial message based on DLSW agreement can be 0x83 that is 10000011, or can also be 0x93 that is 10010011.
It should be noted that: also have some Initial messages based on off-gauge HDLC agreement, described first network equipment also according at least one field in the address field comprised in described Initial message and control field, can determine the Cisco-HDLC agreement that described second network equipment configures.Such as: for the Initial message of HDLC (i.e. Cisco-HDLC) agreement based on Cisco form, described first network equipment also according to the address field comprised in described Initial message or control field, can determine the Cisco-HDLC agreement that described second network equipment configures.Wherein, address field is 0x0f00; Control field is 0x8f00.
In the present embodiment, the Initial message based on internet access protocol that first network equipment sends by receiving second network equipment, and according to the feature field comprised in described Initial message, determine the internet access protocol that described second network equipment configures, described first network equipment is made to generate the configuration information of described internet access protocol, the configuration operation that caused on each network equipment by Operation and Maintenance personnel manual configuration due to the configuration information of internet access protocol in prior art can be avoided complicated, setup time is long, and the problem of easily makeing mistakes, thus improve allocative efficiency and configuration reliability.
It should be noted that: for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
The structural representation of the network equipment that Fig. 2 provides for another embodiment of the present invention, as shown in Figure 2, the network equipment of the present embodiment can comprise receiving element 21, determining unit 22 and generation unit 23.Wherein, receiving element 21, for by the carrier line between the described network equipment and another network equipment, receives the Initial message based on internet access protocol that another network equipment described sends; Determining unit 22, for according to the feature field comprised in described Initial message, determines the internet access protocol that another network equipment described configures; Generation unit 23 is for generating the configuration information of described internet access protocol.
The network equipment that in the embodiment that above-mentioned Fig. 1 is corresponding, the function of first network equipment can be provided by the present embodiment realizes.
Alternatively, it is primary group circuit-line that receiving element 21 in the present embodiment receives the described carrier line that described Initial message passes through, such as: the primary group circuit-line (referred to as E1 circuit) of European E1 standard or the primary group circuit-line (referred to as T1 line) of North America T1 standard; Correspondingly, the determining unit 22 in the present embodiment specifically according at least one field in the address field comprised in described Initial message and control field, can determine the internet access protocol that another network equipment described configures.
Such as: determining unit 22 specifically can according to the address field comprised in described Initial message, PPP, FR agreement that another network equipment described in determining configures or X.25 agreement.
Again such as: determining unit 22 specifically according to the control field comprised in described Initial message, can also determine PPP or the FR agreement that another network equipment described configures.
Again such as: determining unit 22 specifically can also according to the address field comprised in described Initial message and control field, the HDLC agreement that another network equipment described in determining configures or DLSW agreement.
In the present embodiment, the network equipment receives the Initial message based on internet access protocol of another network equipment transmission by receiving element, and by determining unit according to the feature field comprised in described Initial message, determine the internet access protocol that another network equipment described configures, generation unit is made to generate the configuration information of described internet access protocol, the configuration operation that caused on each network equipment by Operation and Maintenance personnel manual configuration due to the configuration information of internet access protocol in prior art can be avoided complicated, setup time is long, and the problem of easily makeing mistakes, thus improve allocative efficiency and configuration reliability.
In several embodiments that the application provides, should be understood that the disclosed network equipment and method can realize by another way.Such as, network equipment embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, be called for short ROM), random access memory (Random Access Memory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (4)

1. a collocation method for internet access protocol, is characterized in that, comprising:
First network equipment, by the carrier line between described first network equipment and second network equipment, receives the Initial message based on internet access protocol that described second network equipment sends;
Described first network equipment, according to the feature field comprised in described Initial message, determines the internet access protocol that described second network equipment configures;
Described first network equipment generates the configuration information of the internet access protocol that described second network equipment configures;
Described carrier line is primary group circuit-line; Described first network equipment, according to the feature field comprised in described Initial message, is determined the internet access protocol that described second network equipment configures, being comprised:
Described first network equipment, according at least one field in the address field comprised in described Initial message and control field, determines the internet access protocol that described second network equipment configures.
2. method according to claim 1, it is characterized in that, described first network equipment, according at least one field in the address field comprised in described Initial message and control field, is determined the internet access protocol that described second network equipment configures, being comprised:
Described first network equipment according to the address field comprised in described Initial message, the point-to-point ppp protocol determining described second network equipment configures, frame relay FR agreement or X.25 agreement; Or
Described first network equipment, according to the control field comprised in described Initial message, determines ppp protocol that described second network equipment configures or FR agreement; Or
Described first network equipment, according to the address field comprised in described Initial message and control field, determines HDLC agreement that described second network equipment configures or DLSW agreement.
3. a network equipment, is characterized in that, comprising:
Receiving element, for by the carrier line between the described network equipment and another network equipment, receives the Initial message based on internet access protocol that another network equipment described sends;
Determining unit, for according to the feature field comprised in described Initial message, determines the internet access protocol that another network equipment described configures;
Generation unit, for generating the configuration information of the internet access protocol that another network equipment described configures;
It is primary group circuit-line that described receiving element receives the described carrier line that described Initial message passes through; Described determining unit specifically for
According at least one field in the address field comprised in described Initial message and control field, determine the internet access protocol that another network equipment described configures.
4. the network equipment according to claim 3, is characterized in that, described determining unit specifically for
According to the address field comprised in described Initial message, the point-to-point ppp protocol determining another network equipment described configures, frame relay FR agreement or X.25 agreement; Or
According to the control field comprised in described Initial message, the ppp protocol that another network equipment described in determining configures or FR agreement; Or
According to the address field comprised in described Initial message and control field, the HDLC agreement that another network equipment described in determining configures or DLSW agreement.
CN201110322457.0A 2011-10-21 2011-10-21 Configuration method and network equipment for internet access protocol Active CN102387144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110322457.0A CN102387144B (en) 2011-10-21 2011-10-21 Configuration method and network equipment for internet access protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110322457.0A CN102387144B (en) 2011-10-21 2011-10-21 Configuration method and network equipment for internet access protocol

Publications (2)

Publication Number Publication Date
CN102387144A CN102387144A (en) 2012-03-21
CN102387144B true CN102387144B (en) 2014-12-31

Family

ID=45826118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110322457.0A Active CN102387144B (en) 2011-10-21 2011-10-21 Configuration method and network equipment for internet access protocol

Country Status (1)

Country Link
CN (1) CN102387144B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581747A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Network expansion method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917457A (en) * 2005-08-16 2007-02-21 华为技术有限公司 Method for connecting to IP multimedia sub system
CN101064919A (en) * 2006-04-24 2007-10-31 中兴通讯股份有限公司 Method for authentication of CDMA user roaming to GSM network
CN101765223A (en) * 2008-12-25 2010-06-30 中国移动通信集团公司 Method, SGSN and system of business control equipment obtaining user access type
CN101945456A (en) * 2009-07-08 2011-01-12 中兴通讯股份有限公司 Method and system for providing access network protocol selection function by access network discovery and selection function (ANDSF)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917457A (en) * 2005-08-16 2007-02-21 华为技术有限公司 Method for connecting to IP multimedia sub system
CN101064919A (en) * 2006-04-24 2007-10-31 中兴通讯股份有限公司 Method for authentication of CDMA user roaming to GSM network
CN101765223A (en) * 2008-12-25 2010-06-30 中国移动通信集团公司 Method, SGSN and system of business control equipment obtaining user access type
CN101945456A (en) * 2009-07-08 2011-01-12 中兴通讯股份有限公司 Method and system for providing access network protocol selection function by access network discovery and selection function (ANDSF)

Also Published As

Publication number Publication date
CN102387144A (en) 2012-03-21

Similar Documents

Publication Publication Date Title
CN102739453B (en) Main/standby switching method, equipment and system
CN103401726A (en) Network path detecting method, device and system
CN101924699B (en) Message forwarding method, system and provider edge equipment
CN102273178A (en) Method, platform device and system for setting service single-board address
CN103067277A (en) Method of building control channel, forwarding point (FP) and controller
CN103152390A (en) Method and device and nodes and system for node configuration of distributed storage system
CN102457390A (en) Fault location method and system based on quality of experience (QoE)
CN103746927A (en) Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device
CN102722461A (en) Data communication system of storage management system and communication method thereof
CN103136370B (en) The restoration methods of metadata and device
CN102387042A (en) Automatic configuration method and system as well as network node
CN103326887A (en) Interface management method and system
CN105812221A (en) Data transmission device and method in virtual extensible local area network
CN104796336A (en) Methods and devices for configuring and issuing Open Flow items
CN102801575A (en) Loopback detecting method and device
CN102098196A (en) Data transmission method of blade server
CN105450432A (en) Method for positioning port connection error and associated equipment
CN102387144B (en) Configuration method and network equipment for internet access protocol
CN103004157B (en) Interface register method and device for network device to join cluster system
CN102523221B (en) Detection method of data message and network safety detection device
CN103051484A (en) Method and system for processing session service and session border controller
CN104333515A (en) Method and device for processing SWIFT messages
CN103580953A (en) Method and devices for detecting faults
CN104038449B (en) A kind of method, service board and the communication equipment of service board communication
CN104601679A (en) Equipment software testing method, mobile terminal and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant