CN101035318A - Method for mark setting of the remote device and allocation of the communication address - Google Patents

Method for mark setting of the remote device and allocation of the communication address Download PDF

Info

Publication number
CN101035318A
CN101035318A CNA2007100895280A CN200710089528A CN101035318A CN 101035318 A CN101035318 A CN 101035318A CN A2007100895280 A CNA2007100895280 A CN A2007100895280A CN 200710089528 A CN200710089528 A CN 200710089528A CN 101035318 A CN101035318 A CN 101035318A
Authority
CN
China
Prior art keywords
remote device
mailing address
frame
broadcast frame
device identification
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
CNA2007100895280A
Other languages
Chinese (zh)
Other versions
CN100479613C (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 CNB2007100895280A priority Critical patent/CN100479613C/en
Publication of CN101035318A publication Critical patent/CN101035318A/en
Application granted granted Critical
Publication of CN100479613C publication Critical patent/CN100479613C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method of zooming out equipment mark setting and the correspondence address assignment. It includes: First unique equipments mark is installed for equipment mark. After using networking protocol, for each zoom out equipment mark install unique correspondence address. Zoom out equipment controller transmit above networking protocol broadcast frame. After pulling the zoom out equipments to receive it, the equipment mark by way of the correspondence address be an own correspondence address, to pull the zoom out equipments controller to return to mean respond to of success. Finally, the zoom out equipments controller in the respond to of broadcasting time if examine the marking of the zoom out equipments in the broadcasting to return of mean a respond to of success, then the zoom out equipments has already been assigned correspondence address. The invention makes each one pull a far equipment to contain unique equipments marking and be advantageous to the management of equipments. The invention put forward of the zooming out equipments correspondence address assignment method, which reduces the workload of manual intervention, and eliminate the risk of manual errors.

Description

The method that the sign setting of remote device and mailing address distribute
Technical field
The management that the present invention relates to remote device in the mobile communication system with communicate by letter, refer more particularly to the setting of remote device sign and the distribution of mailing address.
Background technology
In mobile communication system, the use of remote device is increasingly extensive.Fig. 1 illustrates the connected mode of remote device and remote device controller; In Fig. 1, remote device comprises several light mouths by zooming out controller control and typically zoom out controller, and each optical interface level connects several remote devices.For the management of remote device with communicate by letter, require each remote device to have unique sign and can use the mailing address that certain network communication protocol communicates.
For the sign of remote device, there is not at present unified way, some remote device even do not have specific sign, this management for equipment is very inconvenient.
And for the communication of remote device, commonplace way is to come the manual mailing address that equipment is set by the toggle switch that is provided with on the remote device at present.Though such method is feasible, there is following shortcoming:
(1) it depends on artificial setting, thereby the risk that exists the manual operation error to cause mailing address to repeat;
(2) in case the connected mode of remote device changes, the configuration of its address and modification are with cumbersome.
But, yet there are no relevant record and solve the problems referred to above according to present documents and materials.
Summary of the invention
The problem to be solved in the present invention is to propose a kind of sign setting of remote device and the method that mailing address distributes, can the flexible management remote device, and can be remote device allocate communications addresses automatically.
For addressing the above problem, the invention provides a kind of sign setting of remote device and the method that mailing address distributes, said method comprising the steps of:
(1) for each remote device a unique device identification is set and is kept in the remote device;
(2) after the procotol of determining to adopt, be the unique mailing address of each remote device configuration, and the device identification and the corresponding mailing address thereof of each remote device is kept in the remote device controller;
(3) described remote device controller sends the broadcast frame of described procotol, carries the device identification of remote device and the information of corresponding mailing address thereof in this frame;
(4) after each remote device is received described broadcast frame, as device identification in the frame and local preserve identical, then the mailing address of this device identification correspondence in the frame is preserved as the mailing address of oneself, return the successful response frame of expression to described remote device controller, carry the device identification of oneself in the frame;
(5) described remote device controller is in the response time of broadcast frame as detect the response frame of the expression success that the remote device that identifies in this broadcast frame returns, think that then this remote device has been assigned with mailing address further, said method also can have following characteristics:
The response frame of remote device controller as not receiving that in the response time of broadcast frame expression that remote device returns is allocated successfully as described in the step (5), then retransmit broadcast frame, until this remote device mailing address that become the distribution of work or reached the repeating transmission number of times of setting according to certain strategy.
Further, said method also can have following characteristics:
In the step (1), each remote device is to use unique device identification of being made up of manufacturer's number and equipment serial number to identify, and this sign is stored in the nonvolatile memory of remote device.
Further, said method also can have following characteristics:
In the step (2), be on the background network management software, to be the corresponding mailing address of each remote device configuration according to described procotol by the user, foundation comprises the device identification of remote device and the equipment disposition table of mailing address information, and guarantees that by automatic inspection the network communication address of configuration does not repeat; According to above-mentioned procotol, above-mentioned equipment disposition table is sent to the remote device controller then.
Further, said method also can have following characteristics:
In the step (3), described remote device controller is according to the device identification and the corresponding mailing address thereof of each remote device, send the broadcast frame of above-mentioned procotol according to the order of sequence successively at interval, the content of each broadcast frame comprises the device identification and the corresponding mailing address thereof of a remote device.
Further, said method also can have following characteristics:
In the step (3), comprise the device identification and the corresponding mailing address thereof of all remote devices in the broadcast frame of the described procotol that described remote device controller sends.
Further, said method also can have following characteristics:
In the step (4), unequal as device identification in the remote device judgment frame and the device identification of oneself, whether the mailing address and the existing mailing address of current remote device that compare in the frame equate again, if equate, the mailing address of putting current remote device is an invalid mailing address, otherwise abandons this frame.
Further, said method also can have following characteristics:
Step (5) afterwards, described remote device carries out end to end communication by the mailing address and the remote device controller that distribute.
Further, said method also can have following characteristics:
The procotol that is adopted in the step (2) is a High level data link control.
Method proposed by the invention makes each remote device all have unique device identification, and this will help the management of equipment; In addition, the distribution method of remote device mailing address proposed by the invention, not only can reduce the workload of manual intervention, also can eliminate the risk of manual operation error, when replacing or additions and deletions take place in remote device, the mailing address of remote device can be redistributed automatically according to the equipment disposition table, thereby the advantage of this method is more obvious; In the mailing address assigning process, this method has the function that detects the repeated communications address in addition, thereby can solve the problem of mailing address conflict between the different remote devices.
Description of drawings
Fig. 1 is the connected mode figure of remote device and remote device controller in the prior art;
Fig. 2 be among the present invention remote device to the flow chart of the processing procedure of the broadcast frame that distributes the address.
Embodiment
First embodiment
Communicate in order to make remote device can use certain network communication protocol, the sign of remote device and the distribution of mailing address are crucial, and its specific implementation method may further comprise the steps:
(1) remote device is identified, each remote device uses unique device identification of being made up of manufacturer's number and equipment serial number to identify, and this sign is stored in the nonvolatile memory of remote device, need write remote device when dispatching from the factory;
The method of device identification is not limited thereto, but should guarantee unique mark.
(2) definite procotol that will adopt, in the present embodiment, the procotol that is adopted is High-Level Data Link Control (HDLC) agreement, but also can use other agreement.
(3) user is the corresponding mailing address of each remote device configuration according to described procotol on the background network management software, and the network communication address of configuration does not repeat, and sets up and comprise the device identification of remote device and the equipment disposition table of two fields of mailing address;
Whether the network management software that uses can repeat by the automatic inspection mailing address, and the situation that therefore can avoid this address to repeat takes place.
(4), above-mentioned equipment disposition table is sent to the remote device controller according to above-mentioned procotol;
(5) the remote device controller sends the broadcast frame of above-mentioned procotol successively at interval according to the equipment disposition table received and the sequencing of list item wherein, and the content of each broadcast frame comprises the device identification and the corresponding mailing address thereof of a remote device;
(6) each remote device is handled after receiving the broadcast frame that distributes the address, as device identification in the frame and local preserve identical, then the mailing address of this device identification correspondence in the frame is preserved as the mailing address of oneself, and will represent that successful response frame returns to the remote device controller, comprises the device identification of this equipment in the frame;
(7) the remote device controller is in the response time of broadcast frame as receive that the remote device that identifies in the frame represents successful response frame, then thinks and finishes this remote device mailing address that become the distribution of work; Otherwise, retransmit this broadcast frame according to certain strategy, as continuing to send broadcast frame,,, think that then this remote device has problem if also be not allocated successfully after reaching the repeating transmission number of times up to this remote device mailing address that become the distribution of work by the own repeating transmission number of times of setting.
Remote device just can carry out end to end communication with the remote device controller after having distributed mailing address.
Wherein, in the step 6, remote device handle to distribute the broadcast frame of address, its specific implementation as shown in Figure 2, Fig. 2 is that a remote device is to the flow chart of the processing procedure of the broadcast frame that distributes the address among the present invention, as described in Figure 2, its specific implementation method is as follows:
(100): the broadcast frame described in the remote device receiving step 5;
(101): whether device identification in the more described frame of this remote device and the device identification of oneself be equal, if equate, and execution in step 102, otherwise, execution in step 104;
(102): this remote device is preserved mailing address in frame as own mailing address, promptly by the one-tenth distribution of work mailing address;
(103): this remote device returns response frame and gives the remote device controller, comprises the device identification of this equipment in the frame, finishes;
(104) whether mailing address and the existing mailing address of current remote device that compares in the frame equates, if equate, and execution in step 105, otherwise, execution in step 106;
(105) mailing address of putting current remote device is an invalid mailing address, finishes;
(106) remote device abandons this frame, is left intact, and finishes.
In another embodiment, the remote device controller also can once send the broadcast frame that comprises all devices sign and corresponding mailing address thereof in the step (5).Perhaps also can comprise some device identifications and corresponding mailing address thereof at the broadcast frame that once sends.Step (6) remote device receives that the processing behind the broadcast frame that distributes the address and the processing of step (7) remote device controller all are essentially identical, just the remote device of this time frame acceptance of the bid knowledge is not one, but it is a plurality of, the remote device controller is only retransmitted broadcast frame to the remote device that does not return success response in the response time of broadcast frame, this broadcast frame can include only the device identification and the corresponding mailing address thereof of the remote device that does not return success response.
With an application example above-mentioned flow process is further specified below:
Earlier remote device is identified, in this example, adopt 4 remote devices, its device identification is respectively ID_1, ID_2, and ID_3, ID_4,4 remote devices of remote device system device and this link to each other.The procotol that adopts is High-Level Data Link Control (HDLC) agreement.The user is 4 corresponding mailing addresses of remote device configuration at the background network management software at the HDLC agreement, can obtain equipment disposition table 1, and is as follows:
Table 1 remote device allocation list
Device identification Mailing address
ID_1
1
ID_2 2
ID_3 3
ID_4 4
In table 1, what first row were corresponding is the sign sequence number of remote device, the secondary series correspondence be the mailing address that remote device disposed for correspondence, each line display one remote device mailing address pairing with it.
According to above-mentioned HDLC agreement, after the equipment disposition table sent to the remote device controller, the remote device controller is according to the equipment disposition table received and the sequencing of list item wherein, send the broadcast frame of above-mentioned procotol successively at interval, the content of each broadcast frame comprises the device identification and the corresponding mailing address thereof of a remote device.
Remote device is handled after receiving the broadcast frame described in the step 5.Have following situation:
Device identification is that the equipment of ID_3 is being received broadcast frame, the content of its broadcast frame is: device identification is 3 for the ID_3 mailing address, the device identification and the device identification of oneself that relatively obtain in the frame as remote device equate, with the mailing address of the mailing address 3 in the use frame as oneself, and the response frame that returns.
Device identification is ID_4, mailing address is that 1 remote device is received broadcast frame, the content of its broadcast frame is: device identification is ID_1, mailing address is 1, remote device relatively obtains: the device identification in the frame and the device identification of current remote device are unequal, mailing address in the frame and the existing mailing address of current remote device equate that then putting its mailing address is an invalid mailing address.
Device identification is ID_3, and mailing address is that 4 remote device is received a broadcast frame, and the content of this broadcast frame is: device identification is ID_2, and mailing address is 2, then abandons this broadcast frame and is left intact.
If the remote device controller is received the legal response that the remote device of device identification correspondence in a certain broadcast frame returns, then be expressed as this equipment mailing address that become the distribution of work.Otherwise the remote device controller will be retransmitted this broadcast frame.

Claims (9)

1, the method for a kind of sign setting of remote device and mailing address distribution, described method comprises:
(1) for each remote device a unique device identification is set and is kept in the remote device;
(2) after the procotol of determining to adopt, be the unique mailing address of each remote device configuration, and the device identification and the corresponding mailing address thereof of each remote device is kept in the remote device controller;
(3) described remote device controller sends the broadcast frame of described procotol, carries the device identification of remote device and the information of corresponding mailing address thereof;
(4) after each remote device is received described broadcast frame, as device identification in the frame and local preserve identical, then the mailing address of this device identification correspondence in the frame is preserved as the mailing address of oneself, return the successful response frame of expression to described remote device controller, carry the device identification of oneself in the frame;
(5) described remote device controller thinks that then this remote device has been assigned with mailing address in the response time of broadcast frame as detect the response frame of the expression success that the remote device that identifies in this broadcast frame returns.
2, distribution method as claimed in claim 1 is characterized in that:
The response frame of remote device controller as not receiving that in the response time of broadcast frame expression that remote device returns is allocated successfully as described in the step (5), then retransmit broadcast frame, until this remote device mailing address that become the distribution of work or reached the repeating transmission number of times of setting according to certain strategy.
3, distribution method as claimed in claim 1 is characterized in that:
In the step (1), each remote device is to use unique device identification of being made up of manufacturer's number and equipment serial number to identify, and this sign is stored in the nonvolatile memory of remote device.
4, distribution method as claimed in claim 1 is characterized in that:
In the step (2), be on the background network management software, to be the corresponding mailing address of each remote device configuration according to described procotol by the user, foundation comprises the device identification of remote device and the equipment disposition table of mailing address information, and guarantees that by automatic inspection the network communication address of configuration does not repeat; According to above-mentioned procotol, above-mentioned equipment disposition table is sent to the remote device controller then.
5, distribution method as claimed in claim 1 is characterized in that:
In the step (3), described remote device controller is according to the device identification and the corresponding mailing address thereof of each remote device, send the broadcast frame of above-mentioned procotol according to the order of sequence successively at interval, the content of each broadcast frame comprises the device identification and the corresponding mailing address thereof of a remote device.
6, distribution method as claimed in claim 1 is characterized in that:
In the step (3), comprise the device identification and the corresponding mailing address thereof of all remote devices in the broadcast frame of the described procotol that described remote device controller sends.
7, distribution method as claimed in claim 1 is characterized in that:
In the step (4), unequal as device identification in the remote device judgment frame and the device identification of oneself, whether the mailing address and the existing mailing address of current remote device that compare in the frame equate again, if equate, the mailing address of putting current remote device is an invalid mailing address, otherwise abandons this frame.
8, distribution method as claimed in claim 1 is characterized in that:
Step (5) afterwards, described remote device carries out end to end communication by the mailing address and the remote device controller that distribute.
9, distribution method as claimed in claim 1 is characterized in that:
The procotol that is adopted in the step (2) is a High level data link control.
CNB2007100895280A 2007-03-27 2007-03-27 Method for mark setting of the remote device and allocation of the communication address Expired - Fee Related CN100479613C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100895280A CN100479613C (en) 2007-03-27 2007-03-27 Method for mark setting of the remote device and allocation of the communication address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100895280A CN100479613C (en) 2007-03-27 2007-03-27 Method for mark setting of the remote device and allocation of the communication address

Publications (2)

Publication Number Publication Date
CN101035318A true CN101035318A (en) 2007-09-12
CN100479613C CN100479613C (en) 2009-04-15

Family

ID=38731568

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100895280A Expired - Fee Related CN100479613C (en) 2007-03-27 2007-03-27 Method for mark setting of the remote device and allocation of the communication address

Country Status (1)

Country Link
CN (1) CN100479613C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820368A (en) * 2010-04-08 2010-09-01 华为技术有限公司 Ethernet link failure detection method and device
CN106506379A (en) * 2016-09-22 2017-03-15 福建天泉教育科技有限公司 A kind of based on the data transmission method of LAN, system and transmitting terminal
CN106506198A (en) * 2016-10-20 2017-03-15 新奥科技发展有限公司 A kind of micronet system and control method
CN106656561A (en) * 2016-11-07 2017-05-10 深圳市优必选科技有限公司 Device identification setting method, master control circuit and robot
CN107071077A (en) * 2017-01-10 2017-08-18 邯郸美的制冷设备有限公司 Mailing address distribution method, equipment and its system of air-conditioning system
CN109379258A (en) * 2018-09-13 2019-02-22 悦动奇点(北京)健康科技有限公司 A kind of communication means applied to body-building somatosensory device, apparatus and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820368A (en) * 2010-04-08 2010-09-01 华为技术有限公司 Ethernet link failure detection method and device
CN106506379A (en) * 2016-09-22 2017-03-15 福建天泉教育科技有限公司 A kind of based on the data transmission method of LAN, system and transmitting terminal
CN106506198A (en) * 2016-10-20 2017-03-15 新奥科技发展有限公司 A kind of micronet system and control method
CN106656561A (en) * 2016-11-07 2017-05-10 深圳市优必选科技有限公司 Device identification setting method, master control circuit and robot
CN106656561B (en) * 2016-11-07 2020-03-27 深圳市优必选科技有限公司 Equipment identifier setting method, master control circuit and robot
CN107071077A (en) * 2017-01-10 2017-08-18 邯郸美的制冷设备有限公司 Mailing address distribution method, equipment and its system of air-conditioning system
CN109379258A (en) * 2018-09-13 2019-02-22 悦动奇点(北京)健康科技有限公司 A kind of communication means applied to body-building somatosensory device, apparatus and system
CN109379258B (en) * 2018-09-13 2020-11-20 悦动奇点(北京)健康科技有限公司 Communication method, device and system applied to fitness somatosensory equipment

Also Published As

Publication number Publication date
CN100479613C (en) 2009-04-15

Similar Documents

Publication Publication Date Title
CN101035318A (en) Method for mark setting of the remote device and allocation of the communication address
CN1866910A (en) Data message transmission method and Ethernet bridge apparatus based on VLAN
CN1123154C (en) System, device and method for routine selection dhcp configuration agreement packets
CN1170401C (en) Apparatus and method for distributing interconnected network protocol address to network interface card
CN1744612A (en) DHCP address allocation method
CN1388670A (en) USB communication controller, USB commnication system and USB communication controlling method
CN101068171A (en) Speed-measuring resource dynamic distributing method and system for network speed-measuring system
CN1672359A (en) Mapping of a source specific multicast group address to a source address
CN1764117A (en) Method for transmitting upgrade software to optical network unit in Ethernet passive optical network
CN1845554A (en) Control method for dynamically distributing IP address in 3G network
CN101043355A (en) Method for preventing MAC address cheat
CN1859304A (en) Method for realizing neighbour discovery
CN1815972A (en) Method for obtaining configuration data of business plate in distribution type management system
CN101075841A (en) Reliable telecommunication for baseband pool unit and remote radio-frequency unit
CN101035331A (en) Method of updating daylight saving time information in wireless terminal
CN1909524A (en) Automatic configuration method and system for digital household terminal
CN1741504A (en) Flow controlling method based on application and network equipment for making applied flow control
CN1691678A (en) System and method of assigning unique network code to devices connected in a home network
CN1905570A (en) Method and apparatus for indentifying multi-stage remote-wireless apparatus
CN1249956C (en) Method for virtual Ethernet adapter card
CN1499751A (en) Data transmitting device and method for transmitting and receiving data and data communication system
CN1914887A (en) Automatic prefix allocation to IPV6 communication network equipment
CN1110224C (en) Recovering group data between mobile systems
CN101064733A (en) Method and apparatus for controlling user equipment access based on data packet package types
CN1404338A (en) Radio communication system with function of data changing and renewing

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

Granted publication date: 20090415

Termination date: 20180327