[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101656766B - Method and system for allotting logical address to subordinate equipment - Google Patents

Method and system for allotting logical address to subordinate equipment Download PDF

Info

Publication number
CN101656766B
CN101656766B CN200910177305A CN200910177305A CN101656766B CN 101656766 B CN101656766 B CN 101656766B CN 200910177305 A CN200910177305 A CN 200910177305A CN 200910177305 A CN200910177305 A CN 200910177305A CN 101656766 B CN101656766 B CN 101656766B
Authority
CN
China
Prior art keywords
slave unit
main equipment
equipment
slave
logical address
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
CN200910177305A
Other languages
Chinese (zh)
Other versions
CN101656766A (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 CN200910177305A priority Critical patent/CN101656766B/en
Publication of CN101656766A publication Critical patent/CN101656766A/en
Priority to PCT/CN2010/073166 priority patent/WO2010145416A1/en
Application granted granted Critical
Publication of CN101656766B publication Critical patent/CN101656766B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method and a system for allotting a logical address to subordinate equipment and relates to the communication network technology. The method and the system are used for solving the problems of low flexibility and difficult maintenance of the prior scheme for allotting a logical address to subordinate equipment. The method comprises the following steps: the subordinate equipment transmits a message for requesting the logical address to a corresponding buffer area; main equipment compares the connecting relationship between the main equipment and the subordinate equipment by an buffer area address for receiving the message to acquire the logical address of the subordinate equipment; and the main equipment transmits the acquired logical address to the subordinate equipment. The system comprises a subordinate equipment main control course module, wherein the subordinate equipment main control course module is used for receiving the message for requesting the logical address, which is transmitted by the subordinate equipment, comparing the connecting relationship between the main equipment and the subordinate equipment by the buffer area address for receiving the message to acquire the logical address of the subordinate equipment and transmitting the acquired logical address to the subordinate equipment. The invention has higher flexibility and is easy to maintain.

Description

A kind of is the method and the cascade system of slave unit assign logical addresses
Technical field
The present invention relates to communication network technology, relate in particular to the communication technology of cascade device.
Background technology
In communication network, in order to save cost, flexible networking often adopts the mode of cascade to carry out networking.In cascade network, can comprise a main equipment (Master Equipment is called for short " ME ") and a plurality of slave unit (Slave Equipment; Be called for short " SE "); Can adopt various networking modes flexibly between the master-slave equipment, comprise star-like, chain, ring-like etc., as shown in Figure 1.In the cascade network, each slave unit all can comprise at least one transmit port and at least one receiving port, and the General Definition main equipment is a down direction to the slave unit direction, and slave unit is a up direction to the main equipment direction.
In order to realize the communication of equipment room, need distribute a logical address for each slave unit.Existing implementation method mainly is to come marking equipment through hardware address, for different hardware address distributes the different logical address.During concrete the realization, can use toggle switch that hardware address is set, also can use the fixed sequence program that is provided with when dispatching from the factory number as hardware address.
In practical application, there is following problem in such scheme, carries out address assignment according to hardware address fully, must obtain the hardware address of each equipment in advance, so flexibility is little, not easy care; When just having begun to power on, can't distinguish signaling data stream through logical address for a plurality of slave units on same the cascaded link.
Summary of the invention
The invention provides a kind of is the method and system of slave unit assign logical addresses, little in order to solve the scheme flexibility that has now to the slave unit assign logical addresses, not the problem of easy care.
Of the present invention a kind of be the method for slave unit assign logical addresses, comprise the following steps: that slave unit sends the message of request logical address to corresponding buffer region; Main equipment is known the logical address of said slave unit with the annexation between the buffer zone address contrast master-slave equipment that receives said message; The said logical address that main equipment will be known sends it back slave unit.
Annexation between the said master-slave equipment is by operation maintenance center's configuration and be synchronized to main equipment, perhaps in the annexation between the said master-slave equipment of configuration on the main equipment.
Also comprise step: main equipment is to each slave unit broadcasting multiplex/demultiplexing rule, the signalling time slot of distributing each slave unit.
Also comprise step: after the communication link process of slave unit is received the message that powers on, the foundation of transport layer link between initiation and the main equipment.
Also comprise step: main equipment is provided with different transmitting-receiving buffering areas for the slave units at different levels of each port; Main equipment is the slave unit configuration transmitting-receiving buffer zone address at different levels of each port; Dispose the annexation between the said master-slave equipment, comprising: the corresponding relation between the HOP value of main equipment port numbers, each slave unit, the logical address three of each slave unit.
A kind of cascade system of the present invention; Comprise: slave unit master control process module; Be used to receive the message of slave unit sent request logical address; And, know the logical address of said slave unit, and the said logical address that will know sends it back slave unit with the annexation between the buffer zone address contrast master-slave equipment that receives said message.
Also comprise: OMC data configuration module is used to dispose the annexation between the master-slave equipment.
Also comprise: main equipment link multiplex/demultiplex module is used for the link multiplex/demultiplex rule according to the generation of the annexation between master-slave equipment slave unit, the signalling time slot of distributing each slave unit.
Also comprise: slave unit communication link process module is used for after the communication link process of slave unit is received the message that powers on the foundation of transport layer link between initiation and the main equipment.
Beneficial effect of the present invention is following:
The present invention adopts following scheme to accomplish the distribution of each slave unit logical address: slave unit sends the message of request logical address to corresponding buffer region; Main equipment is with the annexation between the buffer zone address contrast master-slave equipment that receives said message; Know the logical address of said slave unit, the said logical address that main equipment will be known sends it back slave unit.With the prior art contrast, need not to carry out logical address and distribute according to hardware address, need not to obtain in advance the hardware address of each equipment.Therefore flexibility of the present invention is bigger, is easy to safeguard.
Further, because the present invention need not to carry out according to hardware address the distribution of logical address, so when just having begun to power on, can distinguish signaling data stream through logical address for a plurality of slave units on same the cascaded link.
Description of drawings
Fig. 1 is the networking mode sketch map of existing cascade device;
Fig. 2 is the flow chart of the embodiment of the invention 1;
Fig. 3 is the signaling data transfer process sketch map of embodiment of the invention cascade equipment;
Fig. 4 is the system modular sketch map of the embodiment of the invention 3;
Fig. 5 is the flow chart of inventive embodiments 4.
Embodiment
For flexibility and the ease for maintenance that rises to the slave unit assign logical addresses, the embodiment of the invention provides a kind of method and system of slave unit assign logical addresses that are, below specifies through some embodiment.
Embodiment 1, referring to shown in Figure 2, comprise following key step:
101, slave unit sends the message of request logical address to corresponding buffer region.
102, main equipment is known the logical address of this slave unit with the annexation between the buffer zone address contrast master-slave equipment that receives above-mentioned message.
103, the logical address that will know of main equipment sends it back this slave unit.
Embodiment 2, comprise following key step:
201, upward the annexation between the master-slave equipment is configured at main equipment or OMC (Operation Maintenance Center, operation maintenance center); A port of a main equipment can be hung a plurality of slave units, is that example describes with 4 slave units of a port cascade below.
202, (illustrating) as shown in table 1, the annexation between the master-slave equipment comprises: the corresponding relation between the HOP value of main equipment port numbers, each slave unit, the logical address three of each slave unit.The logical address of the slave units at different levels under the same port can be can be interval skip also continuously, depends on the configuration of OMC, and OMC does not have the slave unit of configuration to represent with 0xff;
Figure G2009101773059D00041
Table 1
203, main equipment is encapsulated in the HOP value of slave units at different levels in the control messages (ControlMessage) of port, and the HOP value that the first order slave unit that links to each other is corresponding marks; First order slave unit gets access to HOP value at the corresponding levels according to mark, and the HOP value that the next stage slave unit is corresponding marks; By that analogy.
204, after slave unit obtained each self-corresponding HOP value, in power up, initiatively the logical address of configuration was obtained in the foundation of the transport layer link between initiation and the main equipment from main equipment.
205, need get access to self signaling data stream time slot corresponding (multiplex/demultiplex rule) after slave unit powers on, the slave unit on same link takies different time slots, like this signaling flow independence that on the bottom link, just is isolated from each other.
206, the logic of slave unit needs to judge whether configuration information changes when the multiplex/demultiplex control messages (Control Message) of period treatment main equipment broadcasting.If get access to new multiplex/demultiplex rule, then need reconfigure slave unit.
207, the idiographic flow of message transmission does, main equipment is provided with different transmitting-receiving buffering areas for 4 grades of slave units of each port, and is as shown in Figure 3; When slave unit sends signaling message, select corresponding sending buffer address according to the logical address of purpose slave unit; When receiving the slave unit signaling message, can look into the logical address that configuration obtains slave unit, carry out subsequent processes again from the address that receives buffering area.
Embodiment 3, referring to shown in Figure 4, comprising: slave unit master control process module 301.Further comprise: OMC data configuration module 302, main equipment link multiplex/demultiplex module 303 and slave unit communication link process module 304.
Slave unit master control process module 301: after the system of slave unit control master control process powers on, through initializtion protocol to the master devices request logical address.Because main equipment is provided with different transmitting-receiving buffering areas for the slave units at different levels of each port in advance; And for the slave units at different levels of each port have disposed the transmitting-receiving buffer zone address, so when main equipment receives the logical address request message of slave unit, can learn it is that which rank of slave unit is sent through the address that receives buffering area; Like 2 grades of slave units of 0 port; Configuration in the question blank 1 then can be known the logical address of this slave unit, constructs the logical address of slave unit; Send it back slave unit through initializtion protocol again, accomplish the handling process that the slave unit logical address is obtained.After slave unit master control process gets access to logical address, begin to send out the message that powers on to the basic process of each registration.
OMC data configuration module 302: the annexation in operation maintenance center (OMC) configuration interface between HRP-configured master device and the slave unit port.The situation of corresponding subordinate devices cascaded can be hung a plurality of slave units under the main equipment port.Through the OMC configuration interface, can increase slave unit, deletion slave unit, and each item configuration data of revising slave unit.
Main equipment link multiplex/demultiplex module 303: according to the master-slave equipment annexation that disposes in the OMC configuration interface; Generate the link multiplex/demultiplex rule of slave unit, and be encapsulated in the control messages (Control Message) of port to all slave unit broadcasting.
The flow process that each slave unit on the link (for example altogether 4 grades) obtains configuration is following: the main equipment logic constantly sends to the configuration frame of each slave unit that this link is hung up and down on the link, and the configuration frame comprises following several field:
HOP-ID: identifying this slave unit is which level of place optical fiber, 0~3.
MY-HOP: the slave unit that this field indication receives, it is at the corresponding levels whether this message belongs to.Slave unit can receive itself with and a plurality of configuration frames at different levels in downstream.It only gets a wherein minimum configuration frame of HOP-ID, disposes as the corresponding levels; The MY-HOP field of this frame is 1.Other configuration frame is forwarded to the downstream slave unit.
When main equipment is configured, put 1 only for the MY-HOP field of the configuration frame of the 1st grade of slave unit on the optical fiber, other slave units put 0.These configuration frames comprise 4 situation of HOP-ID from [0~3].
The HOP-ID of all configuration frames the insides that the inspection of the 1st grade of slave unit is received can receive all frames of HOP-ID==0~3; Wherein 0 minimum and MY-HOP field are 1; Therefore thinking that the corresponding levels are the upper levels, is the configuration as the corresponding levels of 0 frame with HOP-ID.Afterwards, the frame of HOP-ID==1~3 is forwarded to downstream, and the MY-HOP field of the frame of HOP-ID=1 is put 1.Can receive the frame of HOP-ID=1~3 for the 2nd grade, it will think that the frame of HOP-ID=1 is configuration at the corresponding levels.All the other are at different levels and the like, can both obtain proper configuration.
Slave unit communication link process module 304: after the communication link process (CLP) of slave unit is received the message that powers on, initiatively initiate and main equipment between the foundation of transport layer link, for other processes provide and main equipment between the support of reliable transmission.Configuration information below the CLP process of slave unit need write down in link setup:
The logical address of main equipment
The logical address of slave unit
The port numbers that connects the place main equipment
The progression of slave unit in link
4 above-mentioned configuration set information all need check whether change in the CLP process after the each and main equipment link re-establishment, and any configuration set information slave unit that changed all will reset Configuration Data.The logic of slave unit will judge also whether above-mentioned 4 configuration set information change when the multiplex/demultiplex control messages (Control Message) of period treatment main equipment broadcasting, if get access to new multiplex/demultiplex rule, also will reset Configuration Data.
Embodiment 4, the method and system module of the invention described above embodiment is combined, further illustrate,, comprise the following steps: referring to shown in Figure 5
Annexation between the 401:OMC data configuration module 302 configuration master-slave equipments is after configuration is accomplished, through data sync, with the slave unit annexation notice main equipment of each port of main equipment that disposes.
402: slave unit communication link process module 304 after the communication link process (CLP) of slave unit is received the message that powers on, initiatively initiate and main equipment between the foundation of transport layer link, for other processes provide and main equipment between the support of reliable transmission.
403: main equipment link multiplex/demultiplex 303 cycles of module are gone up the multiplexing rule to each node of slave unit broadcasting in control messages (Control Message).The rule of multiplex/demultiplex is that in first order slave unit first signalling time slot of use, second level slave unit uses second signalling time slot, by that analogy.
404: after the system of slave unit control master control process powers on, through initializtion protocol to the master devices request logical address.
405: because main equipment is provided with different transmitting-receiving buffering areas for the slave units at different levels of each port in advance; And for the slave units at different levels of each port have disposed the transmitting-receiving buffer zone address, so when slave unit master control process module 301 receives the logical address request message of slave unit, can learn it is that which rank of slave unit is sent through the address that receives buffering area; 1 grade of slave unit like 0 port; Configuration in the question blank 1 then can be known the logical address of this slave unit, constructs the logical address of this slave unit; Send it back slave unit through initializtion protocol again, accomplish the handling process that the slave unit logical address is obtained.
More than be preferred embodiment of the present invention, can not be interpreted as restriction claim of the present invention.Under the prerequisite that does not break away from basic principle of the present invention, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with accompanying claims.

Claims (8)

1. one kind is the method for slave unit assign logical addresses; It is characterized in that; Dispose the annexation between the master and slave equipment, said annexation comprises: the corresponding relation between the HOP value of main equipment port numbers, each slave unit, the logical address three of each slave unit; Said main equipment is in advance for the slave units at different levels of each port are provided with different transmitting-receiving buffering areas, and configuration transmitting-receiving buffer zone address; Said method comprises the following steps:
Slave unit sends the message of request logical address to corresponding buffer region;
Main equipment is according to the buffer zone address that receives said message; Obtain the port numbers of said main equipment and the HOP value of said slave unit; And utilize the HOP value of said main equipment port numbers and slave unit to contrast the annexation between the master-slave equipment, know the logical address of said slave unit;
The said logical address that main equipment will be known sends it back slave unit.
2. be the method for slave unit assign logical addresses according to claim 1; It is characterized in that; Annexation between the said master-slave equipment is by operation maintenance center's configuration and be synchronized to main equipment, perhaps in the annexation between the said master-slave equipment of configuration on the main equipment.
3. be the method for slave unit assign logical addresses according to claim 1, it is characterized in that, also comprise step: main equipment is to each slave unit broadcasting multiplex/demultiplexing rule, the signalling time slot of distributing each slave unit.
4. be the method for slave unit assign logical addresses according to claim 1, it is characterized in that, also comprise step: after the communication link process of slave unit is received the message that powers on, the foundation of transport layer link between initiation and the main equipment.
5. be the method for slave unit assign logical addresses according to claim 1; It is characterized in that; Slave unit initiate and main equipment between during the setting up of transport layer link, perhaps the logic of slave unit judges whether configuration information changes when the multiplex/demultiplex control messages of period treatment main equipment broadcasting; If change, then reset Configuration Data.
6. a cascade system is characterized in that, comprising:
The OMC of operation maintenance center data configuration module; Be used to dispose the annexation between the master and slave equipment; And notify said main equipment through data sync with said annexation, said annexation comprises: the corresponding relation between the HOP value of main equipment port numbers, each slave unit, the logical address three of each slave unit; Wherein, said main equipment is in advance for the slave units at different levels of each port are provided with different transmitting-receiving buffering areas, and configuration transmitting-receiving buffer zone address;
Slave unit master control process module; Be used to receive the message of slave unit sent request logical address; And, obtain the port numbers of said main equipment and the HOP value of said slave unit, and utilize the HOP value of said main equipment port numbers and slave unit to contrast the annexation between the master-slave equipment according to the buffer zone address that receives said message; Know the logical address of said slave unit, and the said logical address that will know sends it back slave unit.
7. a kind of cascade system as claimed in claim 6 is characterized in that, also comprises:
Main equipment link multiplex/demultiplex module is used for the link multiplex/demultiplex rule according to the generation of the annexation between the master and slave equipment of said OMC data configuration block configuration slave unit, the signalling time slot of distributing each slave unit.
8. a kind of cascade system as claimed in claim 6 is characterized in that, also comprises:
Slave unit communication link process module is used for after the communication link process of slave unit is received the message that powers on, the foundation of transport layer link between initiation and the main equipment.
CN200910177305A 2009-09-29 2009-09-29 Method and system for allotting logical address to subordinate equipment Active CN101656766B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910177305A CN101656766B (en) 2009-09-29 2009-09-29 Method and system for allotting logical address to subordinate equipment
PCT/CN2010/073166 WO2010145416A1 (en) 2009-09-29 2010-05-24 Method and cascade system for assigning logic address to slave equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910177305A CN101656766B (en) 2009-09-29 2009-09-29 Method and system for allotting logical address to subordinate equipment

Publications (2)

Publication Number Publication Date
CN101656766A CN101656766A (en) 2010-02-24
CN101656766B true CN101656766B (en) 2012-10-10

Family

ID=41710851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910177305A Active CN101656766B (en) 2009-09-29 2009-09-29 Method and system for allotting logical address to subordinate equipment

Country Status (2)

Country Link
CN (1) CN101656766B (en)
WO (1) WO2010145416A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656766B (en) * 2009-09-29 2012-10-10 中兴通讯股份有限公司 Method and system for allotting logical address to subordinate equipment
CN105072699B (en) * 2015-07-20 2019-01-01 深圳市远望谷信息技术股份有限公司 Multiple method and devices from equipment access slot are quickly distributed in master-slave equipment
CN106454500B (en) * 2016-10-31 2019-09-10 北京小米移动软件有限公司 The address distribution method and device of TV host
CN111245633B (en) * 2018-11-29 2023-04-28 北京天诚同创电气有限公司 Configuration file of micro-grid main equipment and operation method thereof
CN115277293B (en) * 2022-07-26 2025-02-18 江苏恒立液压科技有限公司 ID configuration system and method for devices in CAN bus network
CN117221033B (en) * 2022-10-20 2025-01-24 思瑞浦微电子科技(苏州)股份有限公司 A topological network and dynamic address initialization method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848791A (en) * 2005-04-12 2006-10-18 华为技术有限公司 Acquisition of Tree Network Topology Structure and Address Assignment Method
CN1859436A (en) * 2005-08-04 2006-11-08 上海华为技术有限公司 Method for distributing address in cascade group net
CN101203019A (en) * 2007-11-20 2008-06-18 中兴通讯股份有限公司 Method and device for exchanging logical address and physical address of communication equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1836402B (en) * 2003-05-30 2012-04-25 Lg电子株式会社 Home network system and configuration system thereof
CN1767459A (en) * 2004-10-27 2006-05-03 乐金电子(天津)电器有限公司 Household network system and its electrical appliance equipment
CN101656766B (en) * 2009-09-29 2012-10-10 中兴通讯股份有限公司 Method and system for allotting logical address to subordinate equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848791A (en) * 2005-04-12 2006-10-18 华为技术有限公司 Acquisition of Tree Network Topology Structure and Address Assignment Method
CN1859436A (en) * 2005-08-04 2006-11-08 上海华为技术有限公司 Method for distributing address in cascade group net
CN101203019A (en) * 2007-11-20 2008-06-18 中兴通讯股份有限公司 Method and device for exchanging logical address and physical address of communication equipment

Also Published As

Publication number Publication date
WO2010145416A1 (en) 2010-12-23
CN101656766A (en) 2010-02-24

Similar Documents

Publication Publication Date Title
CN101656766B (en) Method and system for allotting logical address to subordinate equipment
EP2728764B1 (en) Synchronous access method, and communication device and system in frequency hopping radio communication
CN102056184B (en) Remote radio unit link self-adaptation method and device
CN104662845A (en) Optical wireless access system
KR101092160B1 (en) Base stations, radio controls and radio devices
CN104956752A (en) Mobile communication device and method for allocating resources outside of a virtual carrier based on UE capabilities
CN104956753A (en) Mobile communication base station and method for allocating resources outside of a virtual carrier based on UE capabilities
CN106888513B (en) Fronthaul network and data transmission method
JP4818815B2 (en) Optical communication method, optical communication network system, master optical communication device, slave optical communication device
CN103096473B (en) A kind of baseband resource sharing method of Large Copacity baseband pool and system
JP6772381B2 (en) Front Hall Transmission Network data transmission methods, equipment and computer storage media
CN102986243A (en) Method and system for isochronous communication in audio/video networks
CN105636022B (en) A method of the low-power consumption passive and wireless node networking based on RSSI
CN103379551A (en) Method and equipment for allocating high-level data link control link bandwidths
KR960006389A (en) Master Slave Data Communication System
TWI702878B (en) Method and device for sharing an established connection between a primary device and one of a plurality of secondary devices in a network
CN102905229A (en) Method and device for network management
CN107547135B (en) Method, device and networking system for realizing BBU (base band Unit) and RRU (remote radio unit) networking
CN204652392U (en) Based on the data self-healing looped network network device of Optical Fiber Transmission
CN102197692A (en) Relay system, relay device and synchronization method
CZ336197A3 (en) Procedure for dynamic allocation of a channel in radio systems and apparatus for making the same
CN100481774C (en) Method for establishing configuration management operation channel and networking device communication
JP2897769B1 (en) Method for migrating mobile communication network and mobile communication system
RU122538U1 (en) AUTOMATIC MULTI-CHANNEL PRIMARY COMMUNICATION NETWORK
CN104125032A (en) SDH (Synchronous Digital Hierarchy) based wide-area peer-to-peer communication system and method

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