CN101197855A - Equipment node address code distribution method and distributing system, and address configuration node - Google Patents

Equipment node address code distribution method and distributing system, and address configuration node Download PDF

Info

Publication number
CN101197855A
CN101197855A CNA2007103017358A CN200710301735A CN101197855A CN 101197855 A CN101197855 A CN 101197855A CN A2007103017358 A CNA2007103017358 A CN A2007103017358A CN 200710301735 A CN200710301735 A CN 200710301735A CN 101197855 A CN101197855 A CN 101197855A
Authority
CN
China
Prior art keywords
node
address
code
module
equipment
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
CNA2007103017358A
Other languages
Chinese (zh)
Other versions
CN101197855B (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.)
Sany Heavy Industry Co Ltd
Original Assignee
Sany Heavy Industry 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 Sany Heavy Industry Co Ltd filed Critical Sany Heavy Industry Co Ltd
Priority to CN2007103017358A priority Critical patent/CN101197855B/en
Publication of CN101197855A publication Critical patent/CN101197855A/en
Application granted granted Critical
Publication of CN101197855B publication Critical patent/CN101197855B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a distribution method for equipment node address codes, comprising the following steps that: an address configuration node in a system configures starting signals are allocated for each equipment node broadcast address; the equipment nodes receives the starting signals and respectively returns a unique confirmation code to the address configuration node; the address configuration node distributes unique equipment node address codes, and broadcasts the equipment node address codes as well as the confirmation codes; the equipment nodes determine that the confirmation codes accord with the own confirmation codes, and saves the equipment node address codes. Meanwhile, the present invention also discloses a distribution system for equipment node address code, as well as an address configuration node. The present invention solves the problem that the prior art is high in error rate when setting address codes, and has the advantages of easy realization, low cost, low error probability, etc.

Description

The distribution method of equipment node address code and distribution system, and address configuration node
Technical field
The present invention relates to equipment node address code and distribute the field, particularly relate to a kind of distribution method of equipment node address code and distribution system, and address configuration node.
Background technology
In Process Control System or device test system, often include a large amount of equipment of the same type, these equipment pass through bus interconnection, every corresponding device node of equipment.When device node need be realized exchanges data, for discerning each separate equipment node, each device node must have unique sign in the system, is different from other device nodes with this.
In application, often be adopted as each device node setting node address in the system, to distinguish the miscellaneous equipment node, promptly each device node inside all comprises an equipment node address code, and this equipment node address code has uniqueness in system.Equipment node address code is included in the data that device node sends, and the data receiver is according to this equipment node address code identification equipment node.
The realization of equipment node address code comprises the hardware and software dual mode.Under hardware mode, equipment node address code is provided with equipment node address code by the hardware configuration that changes this device interior for it by the internal circuit configuration decision of equipment.For example, for this equipment the node address sign indicating number is set by the toggle switch of stirring in the equipment.
Hardware implementation mode stability is higher, realizes comparatively simply, but needs the outer hardware circuit of plus, and cost is higher, simultaneously, when device node more for a long time, that the work of equipment node address code is set is comparatively loaded down with trivial details and error probability is higher for each device node.
Under software mode, the man-machine interface by equipment is provided with it, and the equipment node address code of setting is kept in the internal storage space of equipment.For example, the address code setting device is controlled the address code setting device by the equipment in the man-machine interface connected system, and equipment node address code information is sent to equipment, and equipment is saved in internal storage space with this address code.
Software realization mode does not need the outer hardware circuit of plus, realizes comparatively simply yet, but its reliability is relatively poor.The user realizes setting to node address by the man-machine interface on the equipment, when device node more for a long time, the user repeats to be provided with because of carelessness causes node address easily, or wrong node address sign indicating number is set, and influences the normal operation of whole system.
Summary of the invention
Technical problem to be solved by this invention provides a kind of distribution method of equipment node address code, and address code is provided with the error rate problem of higher in the prior art to solve.This method easily realizes, cost is low, and error probability is low.
Another object of the present invention provides a kind of distribution system of equipment node address code, and address code is provided with the error rate problem of higher in the prior art to solve.This system easily realizes, cost is low, and error probability is low.
Another object of the present invention provides a kind of address configuration node, and in application and the equipment node address code distribution system, this address configuration node is easily realized, cost is low, and error probability is low.
The present invention relates to a kind of distribution method of equipment node address code, comprising: the address configuration node in the system is to each device node broadcast address configuration enabling signal; Described device node receives enabling signal, returns unique confirmation code to described address configuration node; Described address configuration node distributes unique equipment node address code, broadcasts this equipment node address code and above-mentioned confirmation code; Described device node determines that above-mentioned confirmation code is consistent with self confirmation code, preserves this equipment node address code.
Preferably, described device node returns unique confirmation code to described device address configuration node with preset period.
Preferably, described address configuration node is broadcasted this equipment node address code and above-mentioned confirmation code with during cycle.
Preferably, also comprise: described device node sends the Address Confirmation data to described address configuration node; Described address configuration node go off the air this equipment node address code and above-mentioned confirmation code.
Preferably, described address configuration node is gone off the air before this equipment node address code and the above-mentioned confirmation code, also comprise: described address configuration node extracts the system's numbering sign indicating number that comprises in the described Address Confirmation data, confirms that this system's numbering sign indicating number and self system's numbering are yard consistent.
Preferably, also comprise: described address configuration node broadcasting comprises the polling data of system's numbering sign indicating number and equipment node address code; Described device node receives polling data, and is consistent with self with equipment node address code as above-mentioned system numbering sign indicating number, returns poll and confirms data.
Preferably, also comprise: described address configuration node broadcast node search data; Described device node receives above-mentioned node searching data, and device node is not provided with device address code as described, replys the Address requests data that comprise unique confirmation code; Described address configuration node distributes unique equipment node address code, broadcasts this equipment node address code and above-mentioned confirmation code; Described device node determines that above-mentioned confirmation code is consistent with self confirmation code, preserves this equipment node address code.
Preferably, described address configuration node distributes before unique equipment node address code, also comprises: described address configuration node extracts system's numbering sign indicating number that described Address requests data comprise, and confirms that this system's numbering sign indicating number and self system's numbering are yard consistent.
Preferably, also comprise: address configuration node does not receive the poll affirmation data or the Address requests data of described device node, the information of inner this device node preserved of deletion as described.
Preferably, also comprise: upgrade described equipment disposition node, described address configuration node reads equipment node address code and system's numbering sign indicating number of each device node.
The invention still further relates to a kind of distribution system of equipment node address code, comprise address configuration node and each device node, described address configuration node comprises startup module, distribution module, reaches broadcast module, described device node comprises confirmation code sending module, confirmation code affirmation module, reaches and preserve module: described startup module is used for to each device node broadcast address configuration enabling signal; Described confirmation code sending module is used to receive enabling signal, returns unique confirmation code to described distribution module; Described distribution module is used to distribute unique equipment node address code, sends to broadcast module; Described broadcast module is used to broadcast this equipment node address code and above-mentioned confirmation code; Described confirmation code is confirmed module, is used for determining that above-mentioned confirmation code is consistent with self confirmation code, starts described preservation module; Described preservation module is used to preserve this equipment node address code.
Preferably, described address configuration node also comprises the poll module, and described device node also comprises poll affirmation module; Described poll module is used to send the polling data that comprises system's numbering sign indicating number and equipment node address code and arrives described broadcast module; Described broadcast module is broadcasted this polling data; Described poll is confirmed module, is used for returning poll and confirming data when said system numbering sign indicating number is consistent with self with equipment node address code.
Preferably, described address configuration node also comprises search module, and described device node also comprises the Address requests module; Described search module is used to send search data to described broadcast module; Described broadcast module is broadcasted this search data; Described Address requests module is used for device address code be not set, and replys the Address requests data that comprise unique confirmation code.
The present invention relates to a kind of address configuration node again, comprises startup module, distribution module, reaches broadcast module: described startup module is used for to each device node broadcast address configuration enabling signal; Described distribution module is used to distribute unique equipment node address code, sends to broadcast module; Described broadcast module is used to broadcast this equipment node address code and above-mentioned confirmation code;
Preferably, also comprise: described poll module is used to send the polling data that comprises system's numbering sign indicating number and equipment node address code and arrives described broadcast module; Described search module is used to send search data to described broadcast module; Described broadcast module is broadcasted this polling data and search data.
Compared with prior art, the present invention has the following advantages:
Present device address code configuration node sends the address assignment frame that comprises equipment node address code and unique confirmation code by the forms of broadcasting, each device node receives this address assignment frame in the system, confirm according to unique confirmation code whether to one's name this equipment node address code, in this way, then preserve with equipment node address code, as self identification.The address code of avoiding the corresponding one by one configuration of address configuration node and device node to cause is provided with the higher problem of error rate.Therefore, the present invention has easy realization, cost is low, and the low advantage of error probability.
The present invention confirms that by this system numbering sign indicating number a device node belongs to this system, prevents to sneak into because of the device node of other system to cause confusing of equipment node address code, effectively guarantees the normal operation of whole system.
Address configuration node of the present invention is by poll and search, the new device node that adds in the discovery system, and be its configuration device node address sign indicating number, avoid artificial device node to be configured the trouble of bringing, the autgmentability of enhanced system to new interpolation.
Description of drawings
Fig. 1 is a system configuration schematic diagram of the present invention;
Fig. 2 is a present device node address code distributing method signaling diagram;
Fig. 3 is the polling procedure signaling diagram of present device configuration node to each device node;
Fig. 4 is the search procedure first embodiment signaling diagram of present device configuration node to each device node;
Fig. 5 is the search procedure second embodiment signaling diagram of present device configuration node to each device node;
Fig. 6 is the distribution system first embodiment schematic diagram of present device node address sign indicating number;
Fig. 7 is the distribution system second embodiment schematic diagram of present device node address sign indicating number;
Fig. 8 is the present device node first embodiment schematic diagram;
Fig. 9 is the present device node second embodiment schematic diagram.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Consult Fig. 1, system configuration of the present invention is shown, comprise address configuration node 11 and a plurality of device node 12, address configuration node 11 and a plurality of device node 12 are connected by bus.
The address information of address configuration node inside 11 comprises system's numbering sign indicating number, and the equipment node address code tabulation.Wherein, system's numbering sign indicating number is used to identify the residing system of this address configuration node, and is identical with the system's numbering sign indicating number that is kept at device node 12 inside, and the equipment node address code tabulation comprises the equipment node address code of each device node 12 in this system.When adding new device node 12 in the system, the equipment node address code that disposes for this device node 12 adds in this equipment node address code tabulation, when some device nodes 12 were removed in detecting system, the equipment node address code of this device node 12 removed from this equipment node address code tabulation.
The address information of device node 12 inside comprises two parts: the system's numbering sign indicating number and the equipment node address code of device node 12 systems of living in.Wherein, system's numbering sign indicating number is used to identify an independently system, this system's numbering sign indicating number produces when being started first in system by address configuration node at random, its size is more than 4 bytes, guarantee that different systems has unique system's numbering sign indicating number, system's numbering sign indicating number can be cured in the internal storage space of device node 12.
Equipment node address code is used for each separate equipment node of tag system, this equipment node address code is distributed by the current device node address tabulation of address configuration node 11 according to its inside, can be cured in the internal storage space of each device node 12.In same system, the equipment node address code of each device node 12 has uniqueness.
Device node 12 and address configuration node 11 are when moving first, and the address information of device node 12 and address configuration node 11 is not configured, system when starting first, the address reconfiguration course of start-up system.
Consult Fig. 2, present device node address code distributing method is shown, concrete steps are as follows.
Step S201, address configuration node 11 generate a confirmation code tabulation and system's numbering sign indicating number in inside.The confirmation code tabulation is in order to store the affirmation information that each device node 12 sends, and system's numbering sign indicating number indicates system.
Step S202, address configuration node 11 be each device node 12 broadcast addresses configuration enabling signal in system.
After step S203, device node 12 receive the address configuration enabling signal, generate a confirmation code, this confirmation code has uniqueness in system, device node 12 is after this confirmation code is backed up in inside, this confirmation code and check code, Address requests frame head and Address requests postamble are combined into the Address requests frame, this Address requests frame are sent to address configuration node 11 with certain cycle.
The form of Address requests frame is as shown in table 1 below:
The Address requests frame head Confirmation code Check code The Address requests postamble
Table 1
Step S204, address configuration node 11 carry out verification to this Frame after receiving this Address requests frame, if the verification failure abandons this Frame; If verification succeeds, then from this Address requests frame, isolate confirmation code, and this confirmation code of search in portion's confirmation code tabulation within it, to determine whether this confirmation code exists, if detecting this confirmation code exists, represent that then this device node 12 has been assigned with equipment node address code,, then confirmation code is saved in the inner confirmation code tabulation if detecting this confirmation code does not exist.
Step S205, the address configuration node 11 node address sign indicating number of allocating a device, this equipment node address code is unique in system, again equipment node address code and confirmation code, system's numbering sign indicating number, check code, address assignment frame head and address assignment postamble are combined into the address assignment frame, this address assignment frame are sent to each device node 12 in the system with the form of broadcasting with certain cycle.
The form of address assignment frame is as shown in table 2 below:
The address assignment frame head Confirmation code Equipment node address code System's numbering sign indicating number Check code The address assignment postamble
Table 2
After step S206, device node 12 receive the address assignment frame, this Frame is carried out verification, if the verification failure abandons this Frame; If verification succeeds, this device node 12 is isolated confirmation code from its received address assignment frame, and the confirmation code of this confirmation code and preservation is compared, if both are inequality, abandons this Frame; If both are identical, then from the address assignment frame, isolate equipment node address code and system numbering sign indicating number, this equipment node address code and system are numbered sign indicating number as self identification information, and stop to send the Address requests frame to address configuration node 11.
Step S207, device node 12 are combined into the Address Confirmation frame with confirmation code, equipment node address code, system's numbering sign indicating number, check code, Address Confirmation frame head and Address Confirmation postamble, send to address configuration node 11, Notify Address configuration node 11 these device nodes 12 have been labeled.
The Address Confirmation frame is as shown in table 3 below:
The Address Confirmation frame head Confirmation code Equipment node address code System's numbering sign indicating number Check code The Address Confirmation postamble
Table 3
Step S208, address configuration node 11 carry out verification to the data of this frame inside after receiving the Address Confirmation frame that is sent by device node 12, if the verification failure abandons this Frame; If verification succeeds is then isolated equipment node address code from the Address Confirmation frame, be saved in the tabulation of internal unit node address, stop to comprise the address assignment frame of this equipment node address code to system broadcasts.
So far, the device node address of a device node 12 is configured to finish, and repeats above-mentioned steps S203-step S208, and address configuration node 11 is finished the configuration of each device node 12 in the system.
By above process, can realize configuration to the address information of each device node 12 in the system.Present device address code configuration node 11 sends the address assignment frame that comprises equipment node address code and unique confirmation code by the forms of broadcasting, each device node 12 receives this address assignment frame in the system, confirm according to unique confirmation code whether to one's name this equipment node address code, in this way, then preserve with equipment node address code, as self identification.The address code of avoiding the corresponding one by one configuration of address configuration node 11 and device node 12 to cause is provided with the higher problem of error rate.Therefore, the present invention has easy realization, cost is low, and the low advantage of error probability.
The present invention confirms that by this system numbering sign indicating number a device node 12 belongs to this system, prevents to sneak into because of the device node of other system to cause confusing of equipment node address code, effectively guarantees the normal operation of whole system.
Under system's normal operating condition, system starts at every turn, address assignment node 11 is according to its inner device node address list of preserving, device node in the system 12 is carried out poll, poll is the device node address list that address assignment node 11 is preserved according to its inside, send Frame to device node 12 successively, and each device node 12 is confirmed by the Frame that receives and identification equipment node 12 is replied.
Consult Fig. 3, the polling procedure of present device configuration node to each device node is shown, concrete steps are as follows.
Step S301, address configuration node 11 generate the device polling frame with certain equipment node address code in the device node address list and system's numbering sign indicating number, check code, device polling frame head and the combination of device polling postamble, broadcast in system.
The device polling frame format is as shown in table 4 below.
The device polling frame head Equipment node address code System's numbering sign indicating number Check code The device polling postamble
Table 4
After device node 12 in step S302, the system receives this device polling frame, this device polling frame is carried out verification, if the verification failure abandons this Frame; If verification succeeds, and these device node 12 inside comprise address information, from this device polling frame, isolate system's numbering sign indicating number and equipment node address code, its inner system numbers sign indicating number and equipment node address code compares with being kept at, if both are complementary, this device node 12 indicates and self is identified, and replys to comprise the poll acknowledgement frame that system's numbering sign indicating number, equipment node address code, data check sign indicating number, poll affirmation frame head and poll are confirmed postamble.
Device polling acknowledgement frame form is as shown in table 5 below.
Poll is confirmed frame head Equipment node address code System's numbering sign indicating number Check code Poll is confirmed postamble
Table 5
Step S303, address configuration node 11 receive this poll acknowledgement frame, and this poll acknowledgement frame is carried out verification, if the verification failure then abandons this Frame; If verification succeeds, confirm this device node, isolate equipment node address code and system numbering sign indicating number in the slave unit poll frame, mate with the equipment node address code and the system's numbering sign indicating number that are kept in the device node, as do not match, device node 12 will abandon this device polling frame.
Address configuration node 11 of the present invention is searched for each device node 12 in the system after to each device node 12 poll again, finds the new device node 12 that adds, and is these device node 12 configuration device node addresss.
Consult Fig. 4, search procedure first embodiment of present device configuration node to each device node is shown, concrete steps are as follows.
Step S401, address configuration node 11 broadcast node search signal in system.
Step S402, the device node 12 that is not identified in system's polling procedure receive this device node search signal, this device node 12 generates a confirmation code, this confirmation code has uniqueness in device node 12 systems of living in, device node 12 portion within it backs up this confirmation code.If device node 12 comprises the device node address information, the system that device node 12 will be kept in its internal storage space numbers sign indicating number, equipment node address code, confirmation code, matching request frame head, reaches matching request postamble composition matching request frame, and this matching request frame is sent to address configuration node 11.
Device polling acknowledgement frame form is as shown in table 6 below.
The matching request frame head Confirmation code Equipment node address code System's numbering sign indicating number Check code The matching request postamble
Table 6
After step S403, address configuration node 11 receive the matching request Frame, at first this matching request Frame is carried out verification, if the verification failure abandons this Frame; If verification succeeds, system coding, equipment node address code and the confirmation code that then will be included in matching request frame inside are separated from this frame, with the system coding separated be kept at its inner system coding and compare, as difference, preserve equipment node address code and confirmation code; As identical, address configuration node 11 keeps the device node address of this device node 12 in device node 12 address lists, simultaneously system's numbering sign indicating number, equipment node address code, confirmation code, check code, coupling affirmation frame head and coupling are confirmed postamble composition coupling acknowledgement frame, and in system, broadcasted this coupling acknowledgement frame.
Coupling acknowledgement frame form is as shown in table 7 below.
Coupling is confirmed frame head Confirmation code Equipment node address code System's numbering sign indicating number Check code Coupling is confirmed postamble
Table 7
Step S404, device node 11 if this device node 12 has been identified, then abandon this Frame after receiving the coupling acknowledgement frame; Inside does not comprise address information if this device node 12 is not identified, and this device node 12 also will abandon this Frame; If this device node 12 is not identified, and inside comprises address information, and this device node 12 at first carries out verification to this Frame, if the verification failure then abandons this Frame; If verification succeeds, this device node 12 will be isolated confirmation code from this Frame, and will be consistent with the confirmation code that is kept at device node inside as if this confirmation code, then indicate self to be identified; If this confirmation code is inconsistent with the confirmation code that is kept at device node inside, then abandon this Frame.
Step S405, system coding and its inner system's numbering sign indicating number preserved separated from the matching request frame as if address configuration node 11 do not match, address configuration node 11 will be according to the current device node address list that is kept at its inside, for this device node 12 is redistributed an equipment node address code.The confirmation code that equipment disposition node 11 will be separated from the matching request confirmation code, the equipment node address code of redistributing, system's numbering sign indicating number, data check sign indicating number, address assignment frame head and address assignment postamble are formed the address assignment frame, this address assignment frame of broadcasting in system.
When the device node 12 in step S406, the system receives this address assignment frame,, then abandon this Frame if this device node 12 has been identified; If be not identified, device node 12 receives this address assignment frame, at first this Frame is carried out verification, if the verification failure then abandons these frame data; If verification succeeds, from the address assignment frame, isolate confirmation code, compare with the confirmation code that is kept at device node inside, if both couplings, then extract system's numbering sign indicating number in the address assignment frame, and equipment node address code and it is kept at device node 12 inside, simultaneously the confirmation code of from the address assignment frame, separating, equipment node address code, system's numbering sign indicating number, data check sign indicating number, Address Confirmation frame head, and Address Confirmation postamble composition Address Confirmation frame postback to address configuration node 11.
After step S407, address configuration node 11 receive this Address Confirmation frame, at first the data of this frame inside are carried out verification, if the verification failure then abandons these frame data; If verification succeeds, address configuration node 11 will be isolated equipment node address code from the Address Confirmation frame, add the device node address list of address configuration node 11 inside to.
So far, new device node 12 is added in the system.Address configuration node 11 of the present invention is by poll and search, the new device node 12 that adds in the discovery system, and be its configuration device node address sign indicating number, avoid artificial device node 12 to be configured the trouble of bringing, the autgmentability of enhanced system to new interpolation.
Consult Fig. 5, search procedure second embodiment of present device configuration node to each device node is shown, concrete steps are as follows.
Step S501, address configuration node 11 broadcast node search signal in system.
Step S502, after the device node 12 of configuration address information does not receive this device node search signal, generate a confirmation code.After these confirmation codes of the inner backup of device node 12, with this confirmation code, check code, Address requests frame head, and the Address requests postamble be combined into the Address requests frame, this Address requests frame is sent to address configuration node 11 with certain cycle.
Step S503, address configuration node 11 carry out verification to this Frame after receiving this Address requests frame, if the verification failure then abandons this Frame; If verification succeeds, then according to the device node address list of its inside, be this device node 12 node address sign indicating number of allocating a device, confirmation code, equipment node address code, system's numbering sign indicating number, check code, address assignment frame head, and the address assignment postamble be combined into the address assignment frame, broadcast with the device node 12 of some cycles in system.
Step S504, when the device node 12 that has been identified at system's polling procedure receives this address assignment frame, this device node 12 will abandon this address and distribute frame; When receiving this address assignment frame, the data of this frame inside are carried out verification, if the verification failure then abandons these frame data as if the device node 12 that is not identified at system's polling procedure; If verification succeeds, this device node 12 will be isolated confirmation code and compare with the confirmation code that self keeps from the address assignment frame that it receives, if both are identical, then from the address assignment frame that it receives, isolate equipment node address code, reach system's numbering sign indicating number, be saved in self internal storage space, stop to send the Address requests frame.Simultaneously, with confirmation code, equipment node address code, system's numbering sign indicating number, check code, Address Confirmation frame head, reach the Address Confirmation postamble and be combined into the Address Confirmation frame, send to address configuration node 11.
After step S505, address configuration node 11 receive this Address Confirmation frame, the data of this frame inside are carried out verification, if the verification failure then abandons these frame data; If verification succeeds represents that then this device node 12 is identified, the equipment node address code that it will separate in the acknowledgement frame of address is saved in its inner device node address list, the address assignment frame of going off the air and comprising this device address code.
If in poll and device node search procedure, all do not detect a certain device node 12 in the original system, show that then this device node 12 is removed from system, address configuration node 11 will remove the device node address of this device node from be kept at its inner device node address list this moment.
When system need change address configuration node 11, new address configuration node 11 can be added in the system, then the address information renewal process of enabling address configuration node 11.In this process, address configuration node 11 will read the address information of the device node inside in this system, number sign indicating number and will generate the equipment node address code tabulation with the system that obtains system.
According to the distribution method of the said equipment node address sign indicating number, the present invention also provides a kind of distribution system of equipment node address code.This system easily realizes, cost is low, and error probability is low.
Consult Fig. 6, distribution system first embodiment of present device node address sign indicating number is shown, comprise address configuration node 11 and each device node 12, address configuration node 11 comprises startup module 111, distribution module 112, reaches broadcast module 113, and device node 12 comprises confirmation code sending module 121, confirmation code affirmation module 122, reaches and preserve module 123.
Start module 111 to each device node broadcast address configuration enabling signal, confirmation code sending module 121 receives enabling signal, returns unique confirmation code to 1 distribution module 112.Distribution module 112 is distributed unique equipment node address code, sends to broadcast module 113.Broadcast module 113 this equipment node address code of broadcasting and above-mentioned confirmation codes.
Confirmation code confirms that module 122 determines that above-mentioned confirmation codes are consistent with self confirmation code, start preservation module 123.Preserve module 123 and preserve this equipment node address code.
Consult Fig. 7, distribution system second embodiment of present device node address sign indicating number is shown, comprise address configuration node 11 and each device node 12, address configuration node 11 comprises startup module 111, distribution module 112, broadcast module 113, poll module 114, reaches search module 115, and device node 12 comprises confirmation code sending module 121, confirmation code affirmation module 122, preservation module 123, poll affirmation module 124, reaches Address requests module 125.
Poll module 114 sends the polling data that comprises system's numbering sign indicating number and equipment node address code and arrives broadcast module 113, broadcast module 113 these polling datas of broadcasting.Poll affirmation module 124 is returned poll and is confirmed data when said system numbering sign indicating number is consistent with self with equipment node address code.
Search module 115 sends search data to broadcast module 113, broadcast module 113 these search datas of broadcasting.Address requests module 125 be not provided with device address code, replys the Address requests data that comprise unique confirmation code.Address configuration node 11 is these device node 12 configuration device node address sign indicating numbers according to these Address requests data.
The present invention also provides a kind of address configuration node.Consult Fig. 8, address configuration node of the present invention is shown, address configuration node 11 comprises startup module 111, distribution module 112, reaches broadcast module 113.
Start module 111 to each device node broadcast address configuration enabling signal.Distribution module 112 is distributed unique equipment node address code, sends to broadcast module 113.Broadcast module 113 this equipment node address code of broadcasting and above-mentioned confirmation codes.
Consult Fig. 8, present device node first embodiment is shown, address configuration node 11 comprises startup module 111, distribution module 112, broadcast module 113, poll module 114, reaches search module 115.
Poll module 114 sends the polling data that comprises system's numbering sign indicating number and equipment node address code and arrives broadcast module 113, broadcast module 113 these polling datas of broadcasting.
Search module 115 sends search data to broadcast module 113, broadcast module 113 these search datas of broadcasting.
More than to the distribution method of a kind of equipment node address code provided by the present invention and distribution system, and address configuration node, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (15)

1. the distribution method of an equipment node address code is characterized in that, comprising:
Address configuration node in the system is to each device node broadcast address configuration enabling signal;
Described device node receives enabling signal, returns unique confirmation code to described address configuration node;
Described address configuration node distributes unique equipment node address code, broadcasts this equipment node address code and above-mentioned confirmation code;
Described device node determines that above-mentioned confirmation code is consistent with self confirmation code, preserves this equipment node address code.
2. the method for claim 1 is characterized in that, described device node returns unique confirmation code to described device address configuration node with preset period.
3. the method for claim 1 is characterized in that, described address configuration node is broadcasted this equipment node address code and above-mentioned confirmation code with during cycle.
4. method as claimed in claim 3 is characterized in that, also comprises:
Described device node sends the Address Confirmation data to described address configuration node;
Described address configuration node go off the air this equipment node address code and above-mentioned confirmation code.
5. method as claimed in claim 4 is characterized in that, described address configuration node is gone off the air before this equipment node address code and the above-mentioned confirmation code, also comprises:
Described address configuration node extracts the system's numbering sign indicating number that comprises in the described Address Confirmation data, confirms that this system's numbering sign indicating number and self system's numbering are yard consistent.
6. the method for claim 1 is characterized in that, also comprises:
Described address configuration node broadcasting comprises the polling data of system's numbering sign indicating number and equipment node address code;
Described device node receives polling data, and is consistent with self with equipment node address code as above-mentioned system numbering sign indicating number, returns poll and confirms data.
7. method as claimed in claim 6 is characterized in that, also comprises:
Described address configuration node broadcast node search data;
Described device node receives above-mentioned node searching data, and device node is not provided with device address code as described, replys the Address requests data that comprise unique confirmation code;
Described address configuration node distributes unique equipment node address code, broadcasts this equipment node address code and above-mentioned confirmation code;
Described device node determines that above-mentioned confirmation code is consistent with self confirmation code, preserves this equipment node address code.
8. method as claimed in claim 7 is characterized in that, described address configuration node distributes before unique equipment node address code, also comprises:
Described address configuration node extracts system's numbering sign indicating number that described Address requests data comprise, and confirms that this system's numbering sign indicating number and self system's numbering are yard consistent.
9. method as claimed in claim 7 is characterized in that, also comprises:
Address configuration node does not receive the poll affirmation data or the Address requests data of described device node, the information of inner this device node preserved of deletion as described.
10. the method for claim 1 is characterized in that, also comprises:
Upgrade described equipment disposition node, described address configuration node reads equipment node address code and system's numbering sign indicating number of each device node.
11. the distribution system of an equipment node address code, it is characterized in that, comprise address configuration node and each device node, described address configuration node comprises startup module, distribution module, reaches broadcast module, and described device node comprises confirmation code sending module, confirmation code affirmation module, reaches and preserve module:
Described startup module is used for to each device node broadcast address configuration enabling signal;
Described confirmation code sending module is used to receive enabling signal, returns unique confirmation code to described distribution module;
Described distribution module is used to distribute unique equipment node address code, sends to broadcast module;
Described broadcast module is used to broadcast this equipment node address code and above-mentioned confirmation code;
Described confirmation code is confirmed module, is used for determining that above-mentioned confirmation code is consistent with self confirmation code, starts described preservation module;
Described preservation module is used to preserve this equipment node address code.
12. method as claimed in claim 11 is characterized in that, described address configuration node also comprises the poll module, and described device node also comprises poll affirmation module;
Described poll module is used to send the polling data that comprises system's numbering sign indicating number and equipment node address code and arrives described broadcast module; Described broadcast module is broadcasted this polling data;
Described poll is confirmed module, is used for returning poll and confirming data when said system numbering sign indicating number is consistent with self with equipment node address code.
13. method as claimed in claim 11 is characterized in that, described address configuration node also comprises search module, and described device node also comprises the Address requests module;
Described search module is used to send search data to described broadcast module; Described broadcast module is broadcasted this search data;
Described Address requests module is used for device address code be not set, and replys the Address requests data that comprise unique confirmation code.
14. an address configuration node is characterized in that, comprises startup module, distribution module, reaches broadcast module:
Described startup module is used for to each device node broadcast address configuration enabling signal;
Described distribution module is used to distribute unique equipment node address code, sends to broadcast module;
Described broadcast module is used to broadcast this equipment node address code and above-mentioned confirmation code.
15. address configuration node as claimed in claim 14 is characterized in that, also comprises:
Described poll module is used to send the polling data that comprises system's numbering sign indicating number and equipment node address code and arrives described broadcast module;
Described search module is used to send search data to described broadcast module;
Described broadcast module is broadcasted this polling data and search data.
CN2007103017358A 2007-12-25 2007-12-25 Equipment node address code distribution method and distributing system, and address configuration node Expired - Fee Related CN101197855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007103017358A CN101197855B (en) 2007-12-25 2007-12-25 Equipment node address code distribution method and distributing system, and address configuration node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007103017358A CN101197855B (en) 2007-12-25 2007-12-25 Equipment node address code distribution method and distributing system, and address configuration node

Publications (2)

Publication Number Publication Date
CN101197855A true CN101197855A (en) 2008-06-11
CN101197855B CN101197855B (en) 2010-08-18

Family

ID=39547996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007103017358A Expired - Fee Related CN101197855B (en) 2007-12-25 2007-12-25 Equipment node address code distribution method and distributing system, and address configuration node

Country Status (1)

Country Link
CN (1) CN101197855B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541001A (en) * 2010-12-15 2012-07-04 株式会社日立制作所 Control system and node address setting method for control system
CN103973528A (en) * 2014-05-28 2014-08-06 梅志国 Control network establishment method of IEEE802.15.4-based intelligent home system
CN104639288A (en) * 2015-01-22 2015-05-20 广东省自动化研究所 CAN (Controller Area Network) bus-based multi-sensor correction communication method
CN105391814A (en) * 2015-10-19 2016-03-09 珠海格力电器股份有限公司 Address allocation method and device for main and auxiliary wire controllers
CN106055834A (en) * 2016-06-22 2016-10-26 江西服装学院 Three-dimensional garment design system
CN106547267A (en) * 2017-01-03 2017-03-29 中车株洲电力机车有限公司 A kind of address code system and method for suspension controller
CN108965489A (en) * 2018-06-13 2018-12-07 厦门拓宝科技有限公司 A kind of module automatic management method based on 485 bus apparatus
CN109361585A (en) * 2018-12-22 2019-02-19 沈阳阿尔特科技发展有限公司 A kind of method that child node baud rate and address is arranged in host node automatically
CN111077813A (en) * 2019-09-26 2020-04-28 深圳市东深电子股份有限公司 Dam safety monitoring data automatic acquisition system and method
CN111586204A (en) * 2020-05-12 2020-08-25 广州极飞科技有限公司 Communication address allocation method, communication system, master device and slave device
CN112104760A (en) * 2020-08-13 2020-12-18 四川虹美智能科技有限公司 Address code allocation method, host and slave
CN112564975A (en) * 2020-12-11 2021-03-26 广州广哈通信股份有限公司 Time slot allocation method and system for ring network node
CN112615942A (en) * 2020-12-09 2021-04-06 广州广哈通信股份有限公司 Remote configuration method and device for E1 looped network address code and storage medium
CN112653776A (en) * 2020-12-30 2021-04-13 珠海雷特科技股份有限公司 Intelligent device searching method, computer apparatus, computer-readable storage medium
CN113709169A (en) * 2021-09-01 2021-11-26 川云智能科技(苏州)有限公司 Infrared-based data transmission protocol
CN114553829A (en) * 2020-11-26 2022-05-27 山东大学 Automatic distribution method of multi-machine communication node address and multi-machine communication system
CN115314470A (en) * 2022-06-29 2022-11-08 广东南控云图科技有限公司 RS-485 networking communication address automatic allocation method, host, slave and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243749B1 (en) * 1998-10-08 2001-06-05 Cisco Technology, Inc. Dynamic network address updating
GB2348570B (en) * 1999-03-31 2003-03-05 Ericsson Telefon Ab L M Mobile internet access
CN100440841C (en) * 2006-05-29 2008-12-03 中国移动通信集团公司 Method for distributing address for intelligent information household electronic equipments in household network

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541001A (en) * 2010-12-15 2012-07-04 株式会社日立制作所 Control system and node address setting method for control system
CN102541001B (en) * 2010-12-15 2014-09-03 株式会社日立制作所 Control system and node address setting method for control system
CN103973528A (en) * 2014-05-28 2014-08-06 梅志国 Control network establishment method of IEEE802.15.4-based intelligent home system
CN103973528B (en) * 2014-05-28 2017-06-20 梅志国 The controlling network method for building up of the intelligent domestic system based on IEEE802.15.4
CN104639288A (en) * 2015-01-22 2015-05-20 广东省自动化研究所 CAN (Controller Area Network) bus-based multi-sensor correction communication method
CN104639288B (en) * 2015-01-22 2018-01-05 广东省自动化研究所 Multisensor correction communication method based on CAN
CN105391814A (en) * 2015-10-19 2016-03-09 珠海格力电器股份有限公司 Address allocation method and device for main and auxiliary wire controllers
CN106055834A (en) * 2016-06-22 2016-10-26 江西服装学院 Three-dimensional garment design system
CN106547267A (en) * 2017-01-03 2017-03-29 中车株洲电力机车有限公司 A kind of address code system and method for suspension controller
CN108965489A (en) * 2018-06-13 2018-12-07 厦门拓宝科技有限公司 A kind of module automatic management method based on 485 bus apparatus
CN109361585B (en) * 2018-12-22 2021-10-26 沈阳阿尔特科技发展有限公司 Method for automatically setting baud rate and address of child node by main node
CN109361585A (en) * 2018-12-22 2019-02-19 沈阳阿尔特科技发展有限公司 A kind of method that child node baud rate and address is arranged in host node automatically
CN111077813B (en) * 2019-09-26 2021-04-27 深圳市东深电子股份有限公司 Dam safety monitoring data automatic acquisition system and method
CN111077813A (en) * 2019-09-26 2020-04-28 深圳市东深电子股份有限公司 Dam safety monitoring data automatic acquisition system and method
CN111586204A (en) * 2020-05-12 2020-08-25 广州极飞科技有限公司 Communication address allocation method, communication system, master device and slave device
CN112104760A (en) * 2020-08-13 2020-12-18 四川虹美智能科技有限公司 Address code allocation method, host and slave
CN114553829A (en) * 2020-11-26 2022-05-27 山东大学 Automatic distribution method of multi-machine communication node address and multi-machine communication system
CN112615942A (en) * 2020-12-09 2021-04-06 广州广哈通信股份有限公司 Remote configuration method and device for E1 looped network address code and storage medium
CN112564975A (en) * 2020-12-11 2021-03-26 广州广哈通信股份有限公司 Time slot allocation method and system for ring network node
CN112564975B (en) * 2020-12-11 2022-09-27 广州广哈通信股份有限公司 Time slot allocation method and system for ring network node
CN112653776A (en) * 2020-12-30 2021-04-13 珠海雷特科技股份有限公司 Intelligent device searching method, computer apparatus, computer-readable storage medium
CN113709169A (en) * 2021-09-01 2021-11-26 川云智能科技(苏州)有限公司 Infrared-based data transmission protocol
CN113709169B (en) * 2021-09-01 2022-11-01 川云智能科技(苏州)有限公司 Data transmission method based on infrared
CN115314470A (en) * 2022-06-29 2022-11-08 广东南控云图科技有限公司 RS-485 networking communication address automatic allocation method, host, slave and system

Also Published As

Publication number Publication date
CN101197855B (en) 2010-08-18

Similar Documents

Publication Publication Date Title
CN101197855B (en) Equipment node address code distribution method and distributing system, and address configuration node
CN109104341B (en) Batch deployment method of same-family type intelligent home system
CN106817250B (en) Dynamic election method and system
CN102355682A (en) Sensor adapting method, sensor adapting device and IOT (Internet Of Things) system
EP4274190A1 (en) Smart device control method and apparatus, electronic device, and computer readable medium
CN105610962A (en) Anti-conflict mobile terminal IP address allocation relay equipment and method
CN101447894A (en) Identification of physical address of partial node, network configuration and maintaining method, network system
CN104639583A (en) Method and device for sharing environment contexts
CN113691609B (en) Data acquisition method and device, electronic equipment and storage medium
CN103414641A (en) Neighbor table item release method, device and network equipment
CN104426816A (en) Virtual machine communication method and device
CN102523316B (en) A kind of address distribution method and equipment
EP2914028A1 (en) Method and apparatus for deregistering terminal peripheral
CN101150545B (en) A data distribution method multi-module data configuration of media gateway
US11457507B2 (en) Communication system for serial communication between communication devices
CN114661322B (en) Upgrade method of operating system, electronic equipment and storage medium
CN103442098A (en) Method, system and server for allocating virtual IP addresses
CN106028303B (en) Intelligent device discovery method and device
CN111917886B (en) Intelligent device data migration method and device and intelligent device
CN115835368B (en) Decentralizing multi-base-station time slot synchronization method, system and storage medium
CN105224429A (en) A kind of detection USB device carry information approach and system
CN110750534A (en) Method and apparatus for deploying Redis clusters
CN113395366A (en) Network address allocation method and device
CN105245635A (en) FCoE communication method, device and system
CN100450229C (en) Method for recognizing baseband unit

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

Granted publication date: 20100818

Termination date: 20131225