CN107426349A - Address distribution method and device - Google Patents
Address distribution method and device Download PDFInfo
- Publication number
- CN107426349A CN107426349A CN201710720359.XA CN201710720359A CN107426349A CN 107426349 A CN107426349 A CN 107426349A CN 201710720359 A CN201710720359 A CN 201710720359A CN 107426349 A CN107426349 A CN 107426349A
- Authority
- CN
- China
- Prior art keywords
- address
- air
- conditioner set
- data structure
- distributed
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
Abstract
The invention provides a kind of address distribution method and device, wherein, this method includes:Obtain the address assignment request of the first air-conditioner set;In response to the address assignment request, address is distributed for first air-conditioner set.Solves the existing technical problem for entering assigning process excessively complexity when row address distributes manually through the above way.The simple technique effect for efficiently entering row address distribution is reached.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of address distribution method and device.
Background technology
For existing naval vessel vav terminal project, in order to realize to CAN (Controller Area Network,
Controller local area network) bus address distribution.Belong to no master-slave network in view of CAN, generally require configuration address, mesh
It is preceding that mailing address is mainly set manually by the way of dial-up address switch.
However, setting mailing address by above-mentioned manual mode, implement complex, allocative efficiency is than relatively low.
In view of the above-mentioned problems, not yet propose effective settling mode at present.
The content of the invention
The embodiments of the invention provide a kind of address distribution method, is imitated with reaching the simple technology for efficiently entering row address distribution
Fruit, this method include:
Obtain the address assignment request of the first air-conditioner set;
In response to the address assignment request, address is distributed for first air-conditioner set.
In one embodiment, after address is distributed for first air-conditioner set, methods described also includes:
Detect whether first air-conditioner set is replaced by the second air-conditioner set;
To be first air-conditioning in the case where detecting that first air-conditioner set is replaced by the second air-conditioner set
The address of unit commitment is as the address distributed for second air-conditioner set.
In one embodiment, the address assignment request of the first air-conditioner set is obtained, including:
Obtain the application IP addresses frame of the first air-conditioner set;
Using the application IP addresses frame as address assignment request.
In one embodiment, the address assignment request of first air-conditioner set is that first air-conditioner set is being examined
Generated in the case of Self address is measured as the empty control instruction time-out for either itself receiving display board.
In one embodiment, in response to the address assignment request, address is distributed for first air-conditioner set
Afterwards, methods described also includes:
By the address distributed for first air-conditioner set, open and interact transmitting-receiving between first air-conditioner set
Function.
In one embodiment, in response to the address assignment request, address, bag are distributed for first air-conditioner set
Include:
Obtain the MAC Address of first air-conditioner set;
Inquiry whether there is IP address corresponding with the MAC Address in default data structure table;
If it is present using IP address corresponding with the MAC Address as the ground distributed for first air-conditioner set
Location;
If it does not exist, then by the default data structure table, first MAC Address section is equal to the IP corresponding to 0
Address is updated as the address distributed for first air-conditioner set in the default data structure table.
In one embodiment, whether there is in inquiry in default data structure table corresponding with the MAC Address
IP address before, methods described also includes:
Detect whether the default data structure table has been filled with;
In the case of it is determined that the data structure table has filled up, the IP address section inquired about in the data structure table,
First IP address section is returned for memory space corresponding to the IP address section of invalid address, and is the first air conditioner component
With an IP address;
It will be deposited described in the deposit of the MAC Address of the IP address distributed for first air-conditioner set and first air-conditioner set
Store up in space.
In one embodiment, in response to the address assignment request, address is distributed for first air-conditioner set
Afterwards, methods described also includes:
Receive the status frames of first air-conditioner set;
It will be contrasted the reception time corresponding with receiving status frames transmission time corresponding to the status frames, really
Make the time difference;
In the case of exceeding default time difference threshold value in the time difference, the ground of the first air-conditioner set distribution is recovered as
Location.
The embodiment of the present invention additionally provides a kind of address distributing device, to reach the simple technology for efficiently entering row address distribution
Effect, the device include:
Acquisition module, for obtaining the address assignment request of the first air-conditioner set;
Distribute module, in response to the address assignment request, address to be distributed for first air-conditioner set.
In one embodiment, said apparatus also includes:
Detection module, it is for after address is distributed for first air-conditioner set, detecting first air-conditioner set
It is no to be replaced by the second air-conditioner set;
Integration module, in the case where detecting that first air-conditioner set is replaced by the second air-conditioner set, inciting somebody to action
For first air-conditioner set distribution address as the address distributed for second air-conditioner set.
In one embodiment, the acquisition module includes:
First acquisition unit, for obtaining the application IP addresses frame of the first air-conditioner set;
Generation unit, for using the application IP addresses frame as address assignment request.
In one embodiment, the address assignment request of first air-conditioner set is that first air-conditioner set is being examined
Generated in the case of Self address is measured as the empty control instruction time-out for either itself receiving display board.
In one embodiment, said apparatus also includes:
Opening module, in response to the address assignment request, after distributing address for first air-conditioner set,
By the address distributed for first air-conditioner set, open and interact transmission-receiving function between first air-conditioner set.
In one embodiment, the distribute module includes:
Second acquisition unit, for obtaining the MAC Address of first air-conditioner set;
Query unit, for inquiring about in default data structure table with the presence or absence of IP corresponding with the MAC Address
Location;
Allocation unit, for it is determined that in the presence of, be described by IP address corresponding with the MAC Address
The address of first air-conditioner set distribution;
Updating block, in the case of it is determined that being not present, by the default data structure table, first MAC
Address field is equal to IP address corresponding to 0 as the address distributed for first air-conditioner set, and in the default data
It is updated in structure table.
In one embodiment, said apparatus also includes:
Detection module, for whether there is IP corresponding with the MAC Address in default data structure table in inquiry
Before address, detect whether the default data structure table has been filled with;
Query unit, in the case of it is determined that the data structure table has filled up, inquiring about the data structure table
In IP address section, first IP address section is returned for memory space corresponding to the IP address section of invalid address, and is described
First air-conditioner set distributes an IP address;
Memory cell, for the IP address and the MAC of first air-conditioner set that will be distributed for first air-conditioner set
Address is stored in the memory space.
In one embodiment, said apparatus also includes:
Receiving module, in response to the address assignment request, after distributing address for first air-conditioner set,
Receive the status frames of first air-conditioner set;
Determining module, for will corresponding to the status frames send the time it is corresponding with receiving the status frames receive when
Between contrasted, determine the time difference;
Recycling module, in the case of exceeding default time difference threshold value in the time difference, it is recovered as first air-conditioning
The address of unit commitment.
In the above-described embodiments, in response to the address assignment request of the first air-conditioner set, be the first air-conditioner set distributively
Location, so as to realize the automatic distribution to the mailing address of air-conditioner set.Solves existing progress ground manually through the above way
Assigning process excessively complicated technical problem when location is distributed.The simple technique effect for efficiently entering row address distribution is reached.
Brief description of the drawings
The accompanying drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention
Apply example and its illustrate to be used to explain the present invention, do not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of address distribution method according to embodiments of the present invention;
Fig. 2 is the process schematic of address distribution method according to embodiments of the present invention;
Fig. 3 is MAC mapping table schematic diagrames when air conditioner CAN addresses according to embodiments of the present invention are distributed automatically;
Fig. 4 is the structured flowchart of address distributing device according to embodiments of the present invention.
Embodiment
It is right with reference to embodiment and accompanying drawing for the object, technical solutions and advantages of the present invention are more clearly understood
The present invention is described in further details.Here, the exemplary embodiment of the present invention and its illustrate to be used to explain the present invention, but simultaneously
It is not as a limitation of the invention.
, so can be with simple and effective reality in view of if the automatic point location to vav terminal equipment peculiar to vessel can be realized
Existing address distribution, to solve the too low technical problem of efficiency caused by existing manual allocation address.
As shown in figure 1, being address distribution method provided in an embodiment of the present invention, may include steps of:
Step 101:Obtain the address assignment request of the first air-conditioner set;
Step 102:In response to the address assignment request, address is distributed for first air-conditioner set.
In order that some air-conditioner sets break down be replaced after, it is not necessary to new air-conditioner set is entered again again
Row configuration, can control new air-conditioner set to inherit the address of the air-conditioner set of script.Therefore, in one embodiment,
Being distributed for the first air-conditioner set after address can detect whether first air-conditioner set is replaced by the second air-conditioner set;
In the case of detecting that first air-conditioner set is replaced by the second air-conditioner set, by what is distributed for first air-conditioner set
Address is as the address distributed for second air-conditioner set.
That is, new air-conditioner set can inherit the address of old air-conditioner set, to realize the communication with display board, save
The time reconfigured.
For the first air-conditioner set, display board or control panel can be actively triggered as itself distribution IP address, can
In a manner of by generating application IP addresses frame, the application IP addresses frame of generation is sent to display board, to trigger display board distributively
Location.Specifically, obtaining the address assignment request of the first air-conditioner set, can include:Obtain the application IP addresses of the first air-conditioner set
Frame;Using application IP addresses frame as address assignment request, address is distributed for the first air-conditioner set with triggering.
The address assignment request of above-mentioned first air-conditioner set can be that the first air-conditioner set is detecting Self address for sky
Or generated in the case of the control instruction time-out for itself receiving display board, i.e. if there is one of both of these case,
Then the first air-conditioner set can consider itself also unassigned address, it is necessary to ask to distribute into row address.
The purpose of address distribution is to realize the communication between air-conditioner set and display board, i.e. by for air-conditioner set
Communication IP address is distributed, the communication between air-conditioner set and display board could be realized.Therefore, in one embodiment, in sound
Should in address assignment request, after distributing address for the first air-conditioner set, can by the address distributed for the first air-conditioner set,
Open and interact transmission-receiving function between the first air-conditioner set.
In above-mentioned steps 102, in response to address assignment request, address is distributed for the first air-conditioner set, can be wrapped
Include:
S1:Obtain the MAC Address (Media Access Control, physical address) of the first air-conditioner set;
S2:Inquiry whether there is in default data structure table (i.e., it is possible to being MAC Address mapping table) and MAC Address
Corresponding IP address;
S3:If it is present using IP address corresponding with the MAC Address as distributing for first air-conditioner set
Address;
S4:If it does not exist, then by the default data structure table, first MAC Address section is equal to corresponding to 0
IP address is updated as the address distributed for first air-conditioner set in the default data structure table.
Before inquiry whether there is IP address corresponding with the MAC Address in default data structure table, may be used also
To detect whether default data structure table has been filled with;In the case of it is determined that the data structure table has filled up, institute is inquired about
The IP address section in data structure table is stated, first IP address section is returned for memory space corresponding to the IP address section of invalid address
Return, and an IP address is distributed for first air-conditioner set;By the IP address distributed for first air-conditioner set and described
The MAC Address of first air-conditioner set is stored in the memory space.
Failure is likely to occur in view of sometimes some air-conditioner sets, or is pulled out, therefore, one can be set to surpass
When reclaim mechanism so that address can more rationally and effectively be allocated and use.Specifically, in an embodiment
In, in response to the address assignment request, after distributing address for first air-conditioner set, the first air conditioner can be received
The status frames of group;To send the reception time corresponding with receiving status frames time corresponding to the status frames be carried out pair
Than determining the time difference;In the case of exceeding default time difference threshold value in the time difference, the first air conditioner component is recovered as
The address matched somebody with somebody.That is, it is determined whether it is overtime, if it times out, triggering reclaim mechanism, reclaims address.
Address above mentioned distribution method is illustrated with reference to a specific embodiment, it should be noted, however, that should
Specific embodiment does not form the improper restriction to the application merely to the application is better described.
In this example, in order to solve the automatic assignment problem in CAN address of no master slave mode, realize that air-conditioner set is connected to
During air conditioner network, without the purpose of manual configuration mailing address, and reach and changing original air conditioner, the air conditioner after replacing
The purpose of the parameter of original air conditioner can be inherited, it is proposed that following address distribution method, to realize air conditioner CAN network
The automatic distribution address of unit, the plug and play of air-conditioner set is realized, without configuration.
Illustrated exemplified by using vav terminal VAV (air conditioning system with variable) as air-conditioner set, CAN address is automatic
Distribution may include steps of:
S1:Application IP addresses;
S2:Address is distributed;
S3:Time-out recovery
S4:Parameter reconstruction and Conflict solving.
Aforementioned four process is specifically described below as follows:
1) application IP addresses:
Trigger condition:VAV (Variable Air Volume Air Condition System, air conditioning system with variable)
Self address is detected as sky, or, VAV detects the control VAV time-out for itself receiving display board.
Application process:Poll application.
Terminate application condition:VAV applications stop application to IP address, in the case where VAV applies to IP address, open just
Often interactive transmission-receiving function.
2) address is distributed:
Trigger condition:Receive VAV application IP addresses frame.
Assigning process:It is related to data structure (that is, MAC mapping tables), the table can be illustrated in figure 3 8x4 bivariate table,
Wherein, including:Mac sections, can IP sections, (Modbus address fields, timestamp section.Based on the data structure, can by traversal,
Inquiry, increase, delete, renewal, sequence etc. operation, MAC mapping tables are operated, arrive first first, address i.e. sequence number.
Terminate distributive condition:Stop distribution after display board allocative efficiency IP address, or, display board allocative efficiency IP address
The transmission-receiving function that VAV corresponding to opening afterwards is normally interacted.
Basic assigning process 1:MAC Address section is inquired about, if record, then returns to address (sequence corresponding to the MAC Address section
Number).If do not recorded, Mac address fields are inquired about, corresponding IP of first Mac address field equal to 0 is returned into (sequence number).Note
Mac address fields, IP sections, Modbus sections (belonging to producer's level parameter, can set), timestamp (being used for time-out recovery address) are recorded,
Store table status.
Basic assigning process 2:MAC Address section is inquired about, if table according to above-mentioned basic assigning process 1 less than performing.Such as
Fruit table is full, then inquires about IP address section, and the corresponding IP (sequence number) that first IP address section is equal to 8 (invalid addresses) is returned.Note
Recording MAC address section, IP sections, Modbus sections (belonging to producer's level parameter, can set), timestamp (being used for time-out recovery address),
Store-memory table status.
3) time-out recovery:
Trigger condition:Effective IP address, overtime reclaim mechanism corresponding to unlatching is assigned in corresponding VAV.
Removal process:Before VAV status frames are received, renewal time stamp;Before VAV control frames are sent, during inquiry system
Between receiving the difference between timestamp, if difference is more than 30s, it is determined that it is overtime, its IP is write into 8 (that is, invalid addresses).
Terminate overtime recovery condition:Display board stops after reclaiming its IP address.
4) Parameter reconstruction and Conflict solving:
Trigger condition:Change display board.
Parameter reconstruction process:If the MAC mapping tables of display board are empty table, i.e. display board is brand-new, then is distributed in address
When inquire about IP address section, the IP of frame recording is applied in return address, returns to Modbus addresses, renewal Mac addresses, renewal time
Stamp, the flag bit that it is new display board is returned, receives Parameter reconstruction frame, is normally received and dispatched after sending acknowledgement frame.IP is arrived in VAV applications,
If detecting that the flag bit of new display board is effective, Parameter reconstruction frame is sent, is normally received and dispatched after receiving acknowledgement frame.If display
The MAC mapping tables of plate have record, then show that display board is previously used, and perform above-mentioned basic assigning process 1.
Terminate overtime recovery condition:Display board sends acknowledgement frame and the flag bit of new display board is set into invalid stopping.
By way of in upper example so that when air-conditioner set is installed into original air-conditioning network, can automatically derive ground
Location is communicated, it is not necessary to is manually configured, and when the air-conditioner set to break down is changed, can integrate the air-conditioning of script
The parameter of unit, the network state of multi-connected machine or a control multicomputer can be recovered rapidly.
Based on same inventive concept, a kind of address distributing device is additionally provided in the embodiment of the present invention, such as following implementation
Described in example.It is similar to address distribution method to solve the principle of problem due to address distributing device, therefore the reality of address distributing device
The implementation that may refer to address distribution method is applied, part is repeated and repeats no more.It is used below, term " unit " or " mould
Block " can realize the combination of the software and/or hardware of predetermined function.Although the device described by following examples is preferably with soft
Part is realized, but hardware, or software and hardware combination realization and may and be contemplated.Fig. 4 is of the invention real
A kind of structured flowchart of the address distributing device of example is applied, as shown in figure 4, can include:Acquisition module 401 and distribute module 402,
The structure is illustrated below.
Acquisition module 401, for obtaining the address assignment request of the first air-conditioner set;
Distribute module 402, in response to the address assignment request, address to be distributed for first air-conditioner set.
In one embodiment, said apparatus can also include:Detection module, for for first air-conditioner set
Distribute after address, detect whether first air-conditioner set is replaced by the second air-conditioner set;Integration module, for detecting
In the case of the second air-conditioner set being replaced by first air-conditioner set, address that will be distributed for first air-conditioner set
As the address distributed for second air-conditioner set.
In one embodiment, acquisition module 401 can include:First acquisition unit, for obtaining the first air conditioner
The application IP addresses frame of group;Generation unit, for using the application IP addresses frame as address assignment request.
In one embodiment, the address assignment request of above-mentioned first air-conditioner set can be that the first air-conditioner set is being examined
Generated in the case of Self address is measured as the empty control instruction time-out for either itself receiving display board.
In one embodiment, said apparatus can also include:Opening module, for being distributed in response to the address
Request, after distributing address for first air-conditioner set, by the address distributed for first air-conditioner set, unlatching and institute
State the interaction transmission-receiving function between the first air-conditioner set.
In one embodiment, distribute module 402 can include:Second acquisition unit, it is empty for obtaining described first
Adjust the MAC Address of unit;Query unit, it whether there is and the MAC Address pair in default data structure table for inquiring about
The IP address answered;Allocation unit, for it is determined that in the presence of, be by IP address corresponding with the MAC Address
The address of the first air-conditioner set distribution;Updating block, in the case of it is determined that being not present, by the default data
In structure table, first MAC Address section is equal to IP address corresponding to 0 as the address distributed for first air-conditioner set,
And it is updated in the default data structure table.
In one embodiment, said apparatus can also include:Detection module, for inquiring about in default data knot
Before whether there is IP address corresponding with the MAC Address in structure table, detect whether the default data structure table has been filled out
It is full;Query unit, for the IP in the case of it is determined that the data structure table has filled up, inquired about in the data structure table
Address field, first IP address section is returned for memory space corresponding to the IP address section of invalid address, and it is empty for described first
Adjust one IP address of unit commitment;Memory cell, for the IP address and described first that will be distributed for first air-conditioner set
The MAC Address of air-conditioner set is stored in the memory space.
In one embodiment, said apparatus can also include:Receiving module, for being distributed in response to the address
Request, after distributing address for first air-conditioner set, receive the status frames of first air-conditioner set;Determining module, use
Contrasted in the reception time corresponding with receiving status frames time will be sent corresponding to the status frames, when determining
Between it is poor;Recycling module, in the case of exceeding default time difference threshold value in the time difference, it is recovered as first air-conditioner set
The address of distribution.
In another embodiment, a kind of software is additionally provided, the software is used to perform above-described embodiment and preferred reality
Apply the technical scheme described in mode.
In another embodiment, a kind of storage medium is additionally provided, above-mentioned software is stored with the storage medium, should
Storage medium includes but is not limited to:CD, floppy disk, hard disk, scratch pad memory etc..
As can be seen from the above description, the embodiment of the present invention realizes following technique effect:In response to the first air-conditioning
The address assignment request of unit, address is distributed for the first air-conditioner set, so as to realize to the automatic of the mailing address of air-conditioner set
Distribution.Solves the existing technical problem for entering assigning process excessively complexity when row address distributes manually through the above way.Reach
To the simple technique effect for efficiently entering row address distribution.
Obviously, those skilled in the art should be understood that each module of the above-mentioned embodiment of the present invention or each step can be with
Realized with general computing device, they can be concentrated on single computing device, or are distributed in multiple computing devices
On the network formed, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to by it
Store and performed in the storage device by computing device, and in some cases, can be to be held different from order herein
They, are either fabricated to each integrated circuit modules or will be multiple in them by the shown or described step of row respectively
Module or step are fabricated to single integrated circuit module to realize.So, the embodiment of the present invention is not restricted to any specific hard
Part and software combine.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the embodiment of the present invention can have various modifications and variations.Within the spirit and principles of the invention, made
Any modification, equivalent substitution and improvements etc., should be included in the scope of the protection.
Claims (16)
- A kind of 1. address distribution method, it is characterised in that including:Obtain the address assignment request of the first air-conditioner set;In response to the address assignment request, address is distributed for first air-conditioner set.
- 2. according to the method for claim 1, it is characterised in that after address is distributed for first air-conditioner set, institute Stating method also includes:Detect whether first air-conditioner set is replaced by the second air-conditioner set;To be first air-conditioner set in the case where detecting that first air-conditioner set is replaced by the second air-conditioner set The address of distribution is as the address distributed for second air-conditioner set.
- 3. according to the method for claim 1, it is characterised in that the address assignment request of the first air-conditioner set is obtained, including:Obtain the application IP addresses frame of the first air-conditioner set;Using the application IP addresses frame as address assignment request.
- 4. according to the method for claim 1, it is characterised in that the address assignment request of first air-conditioner set is described First air-conditioner set is raw in the case where detecting Self address for the empty control instruction time-out for either itself receiving display board Into.
- 5. according to the method for claim 1, it is characterised in that in response to the address assignment request, be described first After air-conditioner set distribution address, methods described also includes:By the address distributed for first air-conditioner set, open and interact transmitting-receiving work(between first air-conditioner set Energy.
- 6. according to the method for claim 1, it is characterised in that be described first empty in response to the address assignment request Unit commitment address is adjusted, including:Obtain the MAC Address of first air-conditioner set;Inquiry whether there is IP address corresponding with the MAC Address in default data structure table;If it is present using IP address corresponding with the MAC Address as the address distributed for first air-conditioner set;If it does not exist, then by the default data structure table, first MAC Address section is equal to the IP address corresponding to 0 As the address distributed for first air-conditioner set, and it is updated in the default data structure table.
- 7. according to the method for claim 6, it is characterised in that inquiry in default data structure table whether there is with Before IP address corresponding to the MAC Address, methods described also includes:Detect whether the default data structure table has been filled with;In the case of it is determined that the data structure table has filled up, the IP address section inquired about in the data structure table, by One IP address section returns for memory space corresponding to the IP address section of invalid address, and is first air-conditioner set distribution one Individual IP address;The MAC Address of the IP address distributed for first air-conditioner set and first air-conditioner set deposit storage is empty Between in.
- 8. according to the method for claim 1, it is characterised in that in response to the address assignment request, be described first After air-conditioner set distribution address, methods described also includes:Receive the status frames of first air-conditioner set;It will be contrasted the reception time corresponding with receiving status frames transmission time corresponding to the status frames, determined Time difference;In the case of exceeding default time difference threshold value in the time difference, the address of the first air-conditioner set distribution is recovered as.
- A kind of 9. address distributing device, it is characterised in that including:Acquisition module, for obtaining the address assignment request of the first air-conditioner set;Distribute module, in response to the address assignment request, address to be distributed for first air-conditioner set.
- 10. device according to claim 9, it is characterised in that also include:Detection module, for after address is distributed for first air-conditioner set, detect first air-conditioner set whether by It is replaced by the second air-conditioner set;Integration module, for that will be institute in the case where detecting that first air-conditioner set is replaced by the second air-conditioner set The address of the first air-conditioner set distribution is stated as the address distributed for second air-conditioner set.
- 11. device according to claim 9, it is characterised in that the acquisition module includes:First acquisition unit, for obtaining the application IP addresses frame of the first air-conditioner set;Generation unit, for using the application IP addresses frame as address assignment request.
- 12. device according to claim 9, it is characterised in that the address assignment request of first air-conditioner set is institute The first air-conditioner set is stated in the case where detecting Self address for the empty either control instruction time-out of itself reception display board Generation.
- 13. device according to claim 9, it is characterised in that also include:Opening module, in response to the address assignment request, after distributing address for first air-conditioner set, passing through For the address of first air-conditioner set distribution, open and interact transmission-receiving function between first air-conditioner set.
- 14. device according to claim 9, it is characterised in that the distribute module includes:Second acquisition unit, for obtaining the MAC Address of first air-conditioner set;Query unit, it whether there is IP address corresponding with the MAC Address in default data structure table for inquiring about;Allocation unit, for it is determined that in the presence of, by IP address corresponding with the MAC Address be used as be described first The address of air-conditioner set distribution;Updating block, in the case of it is determined that being not present, by the default data structure table, first MAC Address Section is equal to IP address corresponding to 0 as the address distributed for first air-conditioner set, and in the default data structure It is updated in table.
- 15. device according to claim 14, it is characterised in that also include:Detection module, for whether there is IP address corresponding with the MAC Address in default data structure table in inquiry Before, detect whether the default data structure table has been filled with;Query unit, in the case of it is determined that the data structure table has filled up, inquiring about in the data structure table IP address section, first IP address section is returned for memory space corresponding to the IP address section of invalid address, and be described first Air-conditioner set distributes an IP address;Memory cell, for the IP address and the MAC Address of first air-conditioner set that will be distributed for first air-conditioner set It is stored in the memory space.
- 16. device according to claim 9, it is characterised in that also include:Receiving module, in response to the address assignment request, after distributing address for first air-conditioner set, receiving The status frames of first air-conditioner set;Determining module, enter for the reception time corresponding with receiving status frames time will to be sent corresponding to the status frames Row contrast, determines the time difference;Recycling module, in the case of exceeding default time difference threshold value in the time difference, it is recovered as first air-conditioner set The address of distribution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710720359.XA CN107426349A (en) | 2017-08-21 | 2017-08-21 | Address distribution method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710720359.XA CN107426349A (en) | 2017-08-21 | 2017-08-21 | Address distribution method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107426349A true CN107426349A (en) | 2017-12-01 |
Family
ID=60433830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710720359.XA Pending CN107426349A (en) | 2017-08-21 | 2017-08-21 | Address distribution method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107426349A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080080416A1 (en) * | 2006-09-29 | 2008-04-03 | Noseong Park | Method of managing address spaces of incommunicable nodes in zigbee network |
CN104968028A (en) * | 2015-07-23 | 2015-10-07 | 珠海格力电器股份有限公司 | Networking method, system and device for VRV air-conditioning system |
CN106878483A (en) * | 2017-01-24 | 2017-06-20 | 新华三技术有限公司 | A kind of IP address distribution method and device |
-
2017
- 2017-08-21 CN CN201710720359.XA patent/CN107426349A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080080416A1 (en) * | 2006-09-29 | 2008-04-03 | Noseong Park | Method of managing address spaces of incommunicable nodes in zigbee network |
CN104968028A (en) * | 2015-07-23 | 2015-10-07 | 珠海格力电器股份有限公司 | Networking method, system and device for VRV air-conditioning system |
CN106878483A (en) * | 2017-01-24 | 2017-06-20 | 新华三技术有限公司 | A kind of IP address distribution method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101542979B (en) | MAC address overlap eliminating method, network device managing system, server, and information device | |
EP1482712B1 (en) | Virtual network addresses | |
CN101795300B (en) | IP (Internet Protocol) address recovery method and system, as well as DHCP (Dynamic Host Configuration Protocol) repeater and DHCP server | |
CN106021000A (en) | Shared memory management method and device for robot operating system | |
CN106101299B (en) | Method for assigning address to indoor unit and multi-line system | |
CN101785283B (en) | Methods and devices for communicating diagnosis data in a real time communication network | |
CN105005521A (en) | Test method and apparatus | |
CN104023058B (en) | Method and system for managing and allocating storage resources | |
CN104486445A (en) | Distributed extendable resource monitoring system and method based on cloud platform | |
CN104378455A (en) | IP address distribution method and device | |
CN103036692A (en) | Method and device for generating network topologies aimed at IT supporting networks | |
US9588542B2 (en) | Rack server system and method for automatically managing rack configuration information | |
CN108040136B (en) | IP resource management method and system | |
US20140201356A1 (en) | Monitoring system of managing cloud-based hosts and monitoring method using for the same | |
CN105187781A (en) | Method and device for adding monitoring equipment automatically | |
CN107071074A (en) | A kind of load-balancing method and web server group system | |
CN104216759A (en) | Method and device for generating logical disk of virtual machine | |
CN104780232B (en) | A kind of resource allocation methods, controller and system | |
CN108933845A (en) | A kind of public network IP address distribution method and device | |
CN102185724B (en) | Address management method and equipment | |
EP3751421A1 (en) | Method for providing control applications and configuration control device | |
CN105391601B (en) | A kind of performance test methods and system of Network Management Equipment | |
CN115348126A (en) | Network target range entity equipment access method, device and implementation system | |
CN106878106A (en) | A kind of accessible detecting method and device | |
CN107426349A (en) | Address distribution method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171201 |
|
RJ01 | Rejection of invention patent application after publication |