CN1567831A - Method of automatic network address configuration for communication unit within equipment - Google Patents

Method of automatic network address configuration for communication unit within equipment Download PDF

Info

Publication number
CN1567831A
CN1567831A CN 03139757 CN03139757A CN1567831A CN 1567831 A CN1567831 A CN 1567831A CN 03139757 CN03139757 CN 03139757 CN 03139757 A CN03139757 A CN 03139757A CN 1567831 A CN1567831 A CN 1567831A
Authority
CN
China
Prior art keywords
address
communication unit
network address
access control
communication
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.)
Granted
Application number
CN 03139757
Other languages
Chinese (zh)
Other versions
CN1307823C (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB031397573A priority Critical patent/CN1307823C/en
Publication of CN1567831A publication Critical patent/CN1567831A/en
Application granted granted Critical
Publication of CN1307823C publication Critical patent/CN1307823C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method of configuring network addresses of communication units in device in communication field, selecting a communication unit in each system to act as central control unit to take charge of allocating network addresses of other communication units; the form of each network address contains number of the local system and by adopting different system numbers, differentiating the network addresses of communication units of different systems; the central control unit actively sends address information to other communication units which do not access to the network, where the communication unit receives the address information and then sets its own network address according to the requirement. It is completely convenient to manage media access control layer address generating algorithm and upgrade the software, can more effectively use address space. And the whole operating course cannot generate broadcast information to cause added network flow overhead, especially applied to applications which have very high requirement on the reliability, like communication devices, ect.

Description

Device interior communication unit network address automatic distributing method
Technical field
The present invention relates to data communication field, relate in particular to the ethernet network address configuration method of computer or communication equipment intercommunication unit.
Background technology
At present, in computer or communication equipment (following general designation communication equipment), adopt the Ethernet exchanged form to communicate between a plurality of communication units of device interior mostly, adopt special-purpose Ethernet switching chip.Generally speaking, the ethernet network device communication unit of employing Ethernet exchanged form is linked in the network by the access control process chip of special use, each communication unit must correspondence one overlap unique media access control layer (Media Access Control, hereinafter to be referred as MAC Address) address and Internet Protocol (Internet Protocol is hereinafter to be referred as IP) address (the following general designation network address).MAC Address is general to be adopted inserting the method realization that the control and treatment chip is configured, and the method for configuration mainly comprises by the fixed configurations of access control process chip own, perhaps utilizes the software configuration data of artificial this communication unit of preparation to be configured; The IP address also can utilize the software configuration data of artificial this communication unit of preparation to be configured.But, in a cover communication equipment, comprise a lot of intercommunication unit usually, adopt the method for fixed in hardware or human configuration data to bother very much, need dispose separately each communication unit, because One's name is legion is easy to make mistakes.In communication equipment inside the method for the network address of each communication unit often using is set and the frame position information that can distinguish each communication unit position is set on also having by frame at equipment, for example can distinguish the slot number of groove position, veneer place etc., all communication units read this frame position information information in system starting process, and adopt unified algorithm generate automatically separately MAC Address and the way of IP address.But the prerequisite that adopts this method is that the method that reads frame position information must be provided in the design process of communication equipment; increased the complexity of communication equipment greatly; and because common frame position information design limited bits, the communication unit quantity that causes being connected on the same network is restricted.Chinese patent 00125629.7 " network equipment address automatic configuration method " (publication number: CN 1287316A), provide a kind of and carried out address automatic distributing method according to the Ethernet switching chip port numbers, whether this method periodic scan Ethernet switching chip port has terminal to insert.So-called " scanning " refers generally to regularly inquire about the register of Ethernet switching chip, confirms whether the buffer status of Ethernet switching chip port correspondence change has taken place.This method has adopted decentralized control for multistage network, the method for an administrative unit of each grade network settings, and the network progression of support is subjected to the restriction of network address figure place, and because administrative unit is many, is not easy to carry out the unified upgrading of algorithm.
Summary of the invention
The objective of the invention is to overcome the shortcoming that the equipment complexity, the network equipment restricted number that exist in the prior art are big, be not easy to the algorithm upgrading, propose a kind of not limiting network number of devices, make things convenient for the ethernet address distribution method of software upgrading.
For achieving the above object, the present invention proposes a kind of device interior communication unit network address configuration method, it is characterized in that:
Selecting a communication unit in each system is central control unit, is responsible for the network address of the every other communication unit in the native system and distributes; The system numbering that all comprises native system in the form of each network address by the configuration of system data being adopted different system's numberings, is distinguished the network address between the communication unit of different system;
Central control unit initiatively to as yet not other communication units of access network send address messages, comprise this communication unit media access control layer address and Internet Protocol address in the described address message content, described communication unit receives the network address that oneself is set behind the described address message on request.
In the said equipment intercommunication unit networks address configuration method, further may further comprise the steps:
The first step: in system's installation process, the system of configuration communication system numbering and media access control layer address generating algorithm; Central control unit utilizes these information to generate the media access control layer address of other each communication units; The tricks that the span of system numbering will be installed according to real system and the quantity of internal system communication unit rationally are provided with;
Second step: system's numbering and media access control layer address generating algorithm that central control unit is provided with according to system, generate the mapping table that media access control layer address and communication unit are connected the Ethernet switching chip port numbers, simultaneously this mapping table is converted to the static routing table that Ethernet switching chip can be discerned, Ethernet switching chip is given in configuration;
The 3rd step: central control unit regularly to as yet not the communication unit of access communication system send the media access control layer packet of configuration media access control layer address, comprise the network address that this communication unit should be provided with in the packet;
The 4th step: the access control process chip of the new communication unit oneself that starts is set to " heterozygosis " pattern, to receive the packet of configuration network address;
The 5th step: the new communication unit that starts is after the packet that receives the configuration network address, and the access control process chip of oneself is set to normal mode of operation, and the network address that oneself is set is the address of appointment in the configuration data bag, finishes start-up course.
The present invention by adopt by central control unit initiatively periodically to should access network but as yet not the communication unit of access network send the method for configuration data bag, adopt a central control unit to go out the media access control layer address of the every other communication unit except that central control unit in the communication system according to the algorithm computation of default, be convenient to very much the management and the software upgrading of media access control layer address generating algorithm, can more effectively utilize address space.And this method can not cause increasing the network traffics expense because of producing broadcast in the whole operation process, is specially adapted to communication equipment etc. for the very high application of reliability requirement.
Description of drawings
Fig. 1 is the flow chart of device interior communication unit network address configuration method of the present invention.
Embodiment
Below by embodiment the present invention is further described.
Fig. 1 has described device interior communication unit network address configuration method of the present invention.In Fig. 1, a unique system's numbering of the artificial appointment of each newly-built communication system and an address assignment algorithm also dispose and give central control unit.The effect of address assignment algorithm is to be connected Ethernet switching chip port number assignment media access control layer address according to each communication unit, and concrete mapping relations can be set flexibly according to system scale.The mode of this system numbering by data configuration disposed to by central control unit, and central control unit is according to the mapping table of this system's numbering according to one group of unique media access control layer address of predefined address assignment algorithm assigns and Ethernet switching chip port numbers.
The mapping table that central control unit is connected the Ethernet switching chip port numbers with this group media access control layer address and communication unit is converted to the static routing table of Ethernet switching chip, be written in the Ethernet switching chip, the address configuration packet that the media access control layer address of certain communication unit will be issued in assurance from now on can not be leaked to other communication units.
The mapping table that central control unit is connected the Ethernet switching chip port numbers according to media access control layer address and communication unit regularly to should access communication system but as yet not the equipment of access communication system send a packet that is specifically designed to the network address of deploying new equipment address.In order to distinguish mutually, can adopt some specific form and check digit with normal packet.
The new communication unit that inserts is in start-up course, and the special-purpose access control process chip that oneself is set earlier is " heterozygosis " pattern, to receive the packet of configuration network address.Communication unit can receive all message that appear at the special-purpose access control process chip that is connected under this pattern, no matter the destination address of this message whether with the media access control layer matching addresses of special-purpose access control process chip.Because communication unit is in start-up course and do not know the own network address because of this setting, if be set to normal mode of operation, can't receive the configuration data bag that belongs to him, but be set to " heterozygosis " pattern, then can receive the packet that appears at arbitrarily on the access control process chip, therefore guarantee to receive the configuration data bag that belongs to it.
The new communication unit that inserts is when receiving the configuration order that comprises this communication unit media access control layer address, resetting special-purpose access control process chip is normal mode of operation, and media access control layer address setting that should special use access control process chip is the address that requires, and this device start success also enters normal operating state.
Suppose that a system has comprised 200 communication units, links together by Ethernet switching chip.If the usage quantity of this system is 10,000 covers, can initialization system numbering length it be 16 then.Can set the network address (16 system) of each communication unit by following tableau format:
The Ethernet switching chip port numbers The IP address MAC Address
1 ?10.0.1.1 ?20-00-00-00-01-01
2 ?10.0.1.2 ?20-00-00-00-01-02
?… ?…
Wherein preceding 8 special codes that fixedly install to this type systematic of 24 of the front MAC Address and IP address can arbitrarily be set at the variety classes system.System's numbering of 16 can be distinguished 65536 cover systems, and 8 network element numberings can be distinguished 256 device interior communication units.For example, be numbered 1 equipment, be connected to first port of Ethernet switching chip, then MAC Address is: 20-00-00-00-01-01, the IP address is 10.0.1.1.
Central control unit is converted to the static routing table of Ethernet switching chip with above-mentioned mapping relations table and is configured in the corresponding Ethernet switching chip, central control unit is made regular check in the table and to be existed but also do not have the equipment of connecting system then, and regularly sends address configuration information according to the MAC Address in the table.Since the Ethernet switching chip fixed configurations static routing table, its address configuration information will correctly arrive at the communication unit of expectation.Communication unit can correctly receive this packet by " heterozygosis " pattern is set, and the MAC Address of oneself correctly is set and transfers to the normal operation mode startup according to the content in the configuration information.
Among the present invention, by MAC Address and Ethernet switching chip port mapping table are written in the Ethernet switching chip, guaranteed that address configuration information that central control unit sends can arrive the communication unit of expectation, and prevent that Ethernet switching chip inside from producing broadcast and reducing the Ethernet switching chip performance, also can prevent potential address conflict, by carrying the IP address information in the address configuration packet that sends at central control unit, can directly realize centralized configuration to the IP address, configuration flow is very simple, has very high reliability.Be specially adapted to equipment such as high communication equipment of reliability requirement and computer servers.

Claims (3)

1, a kind of device interior communication unit network address configuration method is characterized in that:
Selecting a communication unit in each system is central control unit, is responsible for the network address of the every other communication unit in the native system and distributes; The system numbering that all comprises native system in the form of each network address by the configuration of system data being adopted different system's numberings, is distinguished the network address between the communication unit of different system;
Central control unit initiatively to as yet not other communication units of access network send address messages, comprise this communication unit media access control layer address and Internet Protocol address in the described address message content, described communication unit receives the network address that oneself is set behind the described address message on request.
2, device interior communication unit network address configuration method according to claim 1 is characterized in that described method further may further comprise the steps:
The first step: in system's installation process, the system of configuration communication system numbering and media access control layer address generating algorithm; Central control unit utilizes these information to generate the media access control layer address of other each communication units;
Second step: system's numbering and media access control layer address generating algorithm that central control unit is provided with according to system, generate the mapping table that media access control layer address and communication unit are connected the Ethernet switching chip port numbers, simultaneously this mapping table is converted to the static routing table that Ethernet switching chip can be discerned, Ethernet switching chip is given in configuration;
The 3rd step: central control unit regularly to as yet not the communication unit of access communication system send the media access control layer packet of configuration media access control layer address, comprise the network address that this communication unit should be provided with in the packet;
The 4th step: the access control process chip of the new communication unit oneself that starts is set to " heterozygosis " pattern, to receive the packet of configuration network address;
The 5th step: the new communication unit that starts is after the packet that receives the configuration network address, and the access control process chip of oneself is set to normal mode of operation, and the network address that oneself is set is the address of appointment in the configuration data bag, finishes start-up course.
3, device interior communication unit network address configuration method according to claim 1, it is characterized in that, in the described first step, the tricks that the span of system numbering will be installed according to real system and the quantity of internal system communication unit rationally are provided with.
CNB031397573A 2003-07-07 2003-07-07 Method of automatic network address configuration for communication unit within equipment Expired - Fee Related CN1307823C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031397573A CN1307823C (en) 2003-07-07 2003-07-07 Method of automatic network address configuration for communication unit within equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031397573A CN1307823C (en) 2003-07-07 2003-07-07 Method of automatic network address configuration for communication unit within equipment

Publications (2)

Publication Number Publication Date
CN1567831A true CN1567831A (en) 2005-01-19
CN1307823C CN1307823C (en) 2007-03-28

Family

ID=34470709

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031397573A Expired - Fee Related CN1307823C (en) 2003-07-07 2003-07-07 Method of automatic network address configuration for communication unit within equipment

Country Status (1)

Country Link
CN (1) CN1307823C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100366018C (en) * 2006-01-26 2008-01-30 华为技术有限公司 Method for realizing communication unit interconnection
CN101447894B (en) * 2008-12-22 2013-01-30 三一重工股份有限公司 Identification of physical address of partial node, network configuration and maintaining method, and network system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4899274A (en) * 1985-11-21 1990-02-06 International Business Machines Corporation Dynamic terminal address allocation by the terminal itself in a data processing system
CN1287316A (en) * 2000-10-10 2001-03-14 上海龙林通讯技术开发有限公司 Automatic network equipment address allocating method
JP2003152757A (en) * 2001-11-15 2003-05-23 Ntt Power & Building Facilities Inc Receptacle with lan switch function and network setting method in power line communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100366018C (en) * 2006-01-26 2008-01-30 华为技术有限公司 Method for realizing communication unit interconnection
CN101447894B (en) * 2008-12-22 2013-01-30 三一重工股份有限公司 Identification of physical address of partial node, network configuration and maintaining method, and network system

Also Published As

Publication number Publication date
CN1307823C (en) 2007-03-28

Similar Documents

Publication Publication Date Title
KR100645733B1 (en) Automatic configuration of network for monitoring
CN1288558C (en) Virtual network having adaptive control program
CN1188783C (en) Address administration of PNNI graded network
US7949754B2 (en) Method and apparatus for prescribing station identifiers in a profit IO network
US20030069946A1 (en) Central directory server
US6832283B2 (en) Method for addressing network components
WO1997025823A2 (en) Management of telephone central offices
KR20030093808A (en) Method and apparatus for sharing a single internet protocol address, without converting network address in an internet access gateway for local network
CN101133612A (en) IP addressing in joined private networks
JP3420512B2 (en) Dynamic domain name system
CN111064793B (en) Method and system for maintaining and managing elastic public network IP address pool under public cloud platform
US7099945B2 (en) Mapping control functions of a plurality of communication installations into a single logical interface
CN1539234A (en) Method and device for determining internet protocol addresses of terminal device
JP2004356920A (en) Dhcp server system
CN102572003B (en) Method and system for acquiring and processing multiplexing address and port range
CN111464370B (en) Network distribution device, Internet of things control system and network distribution method thereof
CN1567831A (en) Method of automatic network address configuration for communication unit within equipment
CN1277378C (en) Two-layer message isolating method
CN104506668A (en) Route configuration method and device of dedicated cloud host
CN111092964B (en) Equipment identification method in vehicle-mounted network
KR0141347B1 (en) Structure and the method of address attribution for self-routing control
CN1287316A (en) Automatic network equipment address allocating method
CN113746653B (en) Gateway configuration method, client, server and storage medium
WO2024116216A1 (en) Computer network platform of a train and corresponding configuration method
CN117240692A (en) FC network communication system supporting dynamic migration of application software

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070328

Termination date: 20140707

EXPY Termination of patent right or utility model