CN110365789A - The air-conditioning system means of communication, device, master control set and storage medium - Google Patents

The air-conditioning system means of communication, device, master control set and storage medium Download PDF

Info

Publication number
CN110365789A
CN110365789A CN201910666375.4A CN201910666375A CN110365789A CN 110365789 A CN110365789 A CN 110365789A CN 201910666375 A CN201910666375 A CN 201910666375A CN 110365789 A CN110365789 A CN 110365789A
Authority
CN
China
Prior art keywords
address
control equipment
lower control
practical
parameter
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
Application number
CN201910666375.4A
Other languages
Chinese (zh)
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910666375.4A priority Critical patent/CN110365789A/en
Publication of CN110365789A publication Critical patent/CN110365789A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

This application involves a kind of air-conditioning system means of communication, device, master control set and storage mediums.The described method includes: when meet it is preset re-address condition when, obtain the corresponding initial correspondence parameter of lower control equipment of preset kind;According to the corresponding lower control equipment of the address poll in initial correspondence parameter and preset address range, the practical address and practical communications parameter of lower control equipment are determined;It is communicated according to the practical address of lower control equipment and practical communications parameter and lower control equipment network.Using the application, flexible configuration can be carried out according to the lower control equipment at scene, avoid carrying out software modification because lower control equipment is different, greatly promote the using flexible and versatility of air-conditioning system.

Description

The air-conditioning system means of communication, device, master control set and storage medium
Technical field
This application involves communication technique field, more particularly to a kind of air-conditioning system means of communication, device, master control set and Storage medium.
Background technique
For the air-conditioning system of team control can be carried out, usually it is by what a master control set controlled multiple lower control equipment System.For example, cold water computer-room air conditioning system, lower control equipment generally comprises water cooler, intelligent electric meter, frequency converter, on-line cleaning dress Set etc. a variety of, master control set passes through and the work of the lower lower control equipment of control device talk control.
Currently, can team control air-conditioning system communicate exploitation when be usually according to scene lower control device distribution and it is each it is lower control set Standby address carries out communications parameter configuration and then communicates.However, to be generally only applicable to address more solid for this mode Fixed situation, if scene occurs because increasing and decreasing the case where reasons such as lower control equipment will adjust address, it may be desirable to re-start Software development carries out parameter configuration, therefore there are problems that using flexible and poor universality.
Summary of the invention
Based on this, it is necessary to which the technical issues of being directed to using flexible and poor universality, providing one kind can be improved use The air-conditioning system means of communication, device, master control set and the storage medium of flexibility and versatility.
A kind of air-conditioning system means of communication, which comprises
When meet it is preset re-address condition when, obtain the corresponding initial correspondence parameter of lower control equipment of preset kind;
According to the corresponding lower control equipment of the address poll in the initial correspondence parameter and preset address range, determine The practical address and practical communications parameter of the lower control equipment;
It is communicated according to the practical address of the lower control equipment and practical communications parameter and the lower control equipment network.
A kind of air-conditioning system communication device, comprising:
Parameter acquisition module, for when meet it is preset re-address condition when, obtain the lower control equipment pair of preset kind The initial correspondence parameter answered;
Address poller module, for according to the address poll pair in the initial correspondence parameter and preset address range The lower control equipment answered determines the practical address and practical communications parameter of the lower control equipment;
Networking communication module, for according to it is described it is lower control equipment practical address and practical communications parameter with it is described under Control equipment network communication.
A kind of master control set, including memory and processor, the memory are stored with computer program, the processor It is performed the steps of when executing the computer program
When meet it is preset re-address condition when, obtain the corresponding initial correspondence parameter of lower control equipment of preset kind;
According to the corresponding lower control equipment of the address poll in the initial correspondence parameter and preset address range, determine The practical address and practical communications parameter of the lower control equipment;
It is communicated according to the practical address of the lower control equipment and practical communications parameter and the lower control equipment network.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
When meet it is preset re-address condition when, obtain the corresponding initial correspondence parameter of lower control equipment of preset kind;
According to the corresponding lower control equipment of the address poll in the initial correspondence parameter and preset address range, determine The practical address and practical communications parameter of the lower control equipment;
It is communicated according to the practical address of the lower control equipment and practical communications parameter and the lower control equipment network.
The above-mentioned air-conditioning system means of communication, device, master control set and storage medium preset re-address condition meeting When, the corresponding initial correspondence parameter of lower control equipment of preset kind can be obtained, and according to initial correspondence parameter and preset address model The corresponding lower control equipment of address poll in enclosing, after determining the lower practical address and practical communications parameter for controlling equipment, Then it is communicated according to the practical address of lower control equipment and practical communications parameter and lower control equipment network.In this way, passing through actively The mode of addressing determines the lower practical address for controlling equipment and practical communications parameter and carries out networking communication, is needing to seek again Automatic addressing flexible configuration can be carried out with the communication of networking again again when location according to the lower control equipment at scene, avoided Software modification is carried out because lower control equipment is different, greatly promotes the using flexible and versatility of air-conditioning system.
Detailed description of the invention
Fig. 1 is the applied environment figure of the air-conditioning system means of communication in one embodiment;
Fig. 2 is the flow diagram of the air-conditioning system means of communication in one embodiment;
Fig. 3 is the storage organization schematic diagram that dictionary is communicated in one embodiment;
Fig. 4 is in one embodiment to the flow diagram of lower control equipment addressing;
Fig. 5 is the structural block diagram of air-conditioning system communication device in one embodiment;
Fig. 6 is the internal structure chart of master control set in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
The air-conditioning system means of communication provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, main Control device 102 is used to control the work of lower control equipment;By taking cold water computer-room air conditioning system as an example, lower control equipment may include cooling-water machine Multiple types such as group, intelligent electric meter, frequency converter, on-line cleaning device, temp controlled meter.Master control set 102 meet it is preset again When addressing condition, the corresponding initial correspondence parameter of lower control equipment of preset kind is obtained;According to initial correspondence parameter and default ground The corresponding lower control equipment of address poll in the range of location determines the practical address and reality communication ginseng of lower control equipment Number;It is communicated according to the practical address of lower control equipment and practical communications parameter and lower control equipment network.
In one embodiment, as shown in Fig. 2, providing a kind of air-conditioning system means of communication, it is applied to Fig. 1 in this way In master control set for be illustrated, comprising the following steps:
S110: when meet it is preset re-address condition when, obtain the corresponding initial correspondence of lower control equipment of preset kind Parameter.
Wherein, the condition that condition is the address that instruction needs to inquire lower control equipment again is re-addressed, for example, can be with It is to receive preset instructions or detect that predeterminable event etc. occurs.Wherein, preset kind can be one kind, can also there are many, A kind of corresponding initial correspondence parameter of lower control equipment of preset kind can be one, can also have multiple.Specifically, master control fills It sets and can be the corresponding initial correspondence parameter of lower control equipment for obtaining preset kind from pre-stored data information, or from External memory loads data information and therefrom obtains the corresponding initial correspondence parameter of lower control equipment of preset kind, can also be Receive the corresponding initial correspondence parameter of lower control equipment for the preset kind that external equipment is sent.
S130: according to the corresponding lower control equipment of the address poll in initial correspondence parameter and preset address range, really Fix the practical address and practical communications parameter of control equipment.
Wherein, preset address range is pre-set address range, including multiple addresses according to actual needs.Wheel Corresponding lower control equipment is ask, refers to the lower control equipment of preset kind corresponding to poll initial correspondence parameter.The reality of lower control equipment Border address is that this lower control equipment and master control set scene carry out communicating address used, and the reality of lower control equipment is logical News parameter is that this lower control equipment and master control set scene are communicated configured communications parameter.
Specifically, master control set is corresponding according to the lower control equipment of address and preset kind in preset address range Initial correspondence parameter, respectively poll preset kind lower control equipment.For example, there are many preset kinds, first preset kind The corresponding initial correspondence parameter of lower control equipment be A1, the corresponding initial correspondence parameter of lower control equipment of second preset kind is A2;Master control set according in preset address range address and A1 wheel seek the lower control equipment of first preset kind, really The practical address and practical communications parameter of the lower control equipment of fixed first preset kind, master control set is according to preset address model Address and A2 wheel in enclosing seek the lower control equipment of second preset kind, determine the lower control equipment of second preset kind Practical address and practical communications parameter.
S150: it is communicated according to the practical address of lower control equipment and practical communications parameter and lower control equipment network.
Networking communication refers to that establishing communication network carries out real-time communication.By the automatic addressing of early period, master control set is determined The practical address and practical communications parameter of lower control equipment can lead to according to practical address and the foundation of practical communications parameter Interrogate network.
The above-mentioned air-conditioning system means of communication, can be applied to can team control air-conditioning system master control set;It is preset meeting When re-addressing condition, the corresponding initial correspondence parameter of lower control equipment of preset kind can be obtained, and according to initial correspondence parameter Lower control equipment corresponding with the address poll in preset address range determines the practical address and reality of lower control equipment After communications parameter, then communicated according to the practical address of lower control equipment and practical communications parameter and lower control equipment network.Such as This, the lower practical address for controlling equipment and practical communications parameter are determined by way of Active Addressing and carries out networking communication, Automatic addressing spirit can be carried out according to the lower control equipment at scene with the communication of networking again again when needing to re-address Configuration living avoids carrying out software modification because of lower control equipment difference, greatly promotes the using flexible of air-conditioning system and general Property.
The preset condition that re-addresses includes powering on to restart in one of the embodiments,.As long as in this way, on master control set Electricity is restarted, and is just re-addressed, and the step of executing the lower control equipment corresponding initial correspondence parameter for obtaining preset kind is started. When practical application, when user can increase or delete at the scene lower control equipment newly, powers on master control set and restarts, so that it may Starting master control set re-addresses the overlapping development to re-address simultaneously networking communication, without removing progress software, flexibility With versatility height.
The corresponding initial correspondence parameter of lower control equipment of preset kind is obtained in step S110 in one of the embodiments, The step of include: from external memory load preset kind the corresponding multiple communications parameters of lower control equipment;From lower control equipment Initial correspondence parameter is chosen in corresponding multiple communications parameters.
Specifically, the corresponding multiple communications parameters of lower control equipment of preset kind can be stored in advance in external memory, Content in master control set reading external memory loads the corresponding multiple communications parameters of lower control equipment of preset kind into interior It deposits.Specifically, master control set can choose initial correspondence parameter according to the preset rule of user from multiple communications parameters, For example, it may be selecting first communications parameter for initial correspondence parameter, or the lower control equipment pair of preset kind is stored in advance Typically conventional communications parameter can be marked when the multiple communications parameters answered, master control set is searched from multiple communications parameters has mark The communications parameter of note obtains initial correspondence parameter.It is corresponding logical by using the lower control equipment of the preset preset kind of external memory Parameter is interrogated, can be with flexible configuration, master control set is actively loaded when needing to address, and does not need to carry out software to master control set Change, versatility and flexibility are high.
Specifically, master control set, which can be, initializes protocol stack, and the lower control equipment of preset kind is corresponding more A communications parameter is stored in protocol stack.Further, master control set is corresponding multiple in the lower control equipment for having loaded preset kind After communications parameter, communication dictionary can be established according to the lower control equipment of preset kind and the corresponding relationship of communications parameter, convenient for looking into Look for the corresponding communications parameter of lower control equipment of preset kind.For example, may include communications parameter, communications parameter in communication dictionary The various relevant informations such as the data type of index, communications parameter.As shown in figure 3, for the master applied to cold water computer-room air conditioning system When controlling device, the exemplary diagram of the communication dictionary of foundation.
It is appreciated that in other embodiments, the lower control equipment that preset kind is obtained in step S110 is corresponding initial logical The step of interrogating parameter can also include: to choose from the corresponding multiple communications parameters of lower control equipment of pre-stored preset kind Initial correspondence parameter.I.e., it is possible to which the corresponding multiple communications parameters of lower control equipment of preset kind are directly stored in master control set Inside does not need load operation.
Step S130 includes request response of step in one of the embodiments: successively being chosen from preset address range Address is used the corresponding initial correspondence parameter of lower control equipment of preset kind, is successively sent and asked with the address of selection Order is asked to the lower control equipment of preset kind, address corresponding to the request command of response and initial correspondence ginseng will be received Number, the practical address and practical communications parameter of the lower control equipment as reception request command.
Specifically, master control set, which can be, chooses address according to the size order of address, such as from the smallest Start to choose.It is appreciated that master control set can also successively choose address otherwise, for example, suitable according to arranging Sequence is chosen.Specifically, master control set is used initial correspondence parameter, is sent request command with an address of selection to this The lower control equipment of the corresponding preset kind of initial correspondence parameter;If receiving response, then it is assumed that the request command responded is adopted Address is the practical address of this lower control equipment, and using used initial correspondence parameter as this lower control The practical communications parameter of equipment;If being not received by response, continue to use initial correspondence parameter, next communication with selection Address sends request command, so until there is request command to be responded.For example, for one of them lower control equipment addressing, stream Journey figure is as shown in figure 4, similarly, master control set can in the same way be addressed control equipment under others.Pass through master Device active transmission request command is controlled, to identify the practical address and matched practical communications parameter of lower control equipment, with reality Existing automatic network-building is communicated, easy to operate.
Specifically, preset address range may include lowest address be 1, maximum address be 20 be successively spaced it is multiple logical Address is interrogated, the address distribution of all lower control equipment in scene can be met substantially.Certainly, preset address range can also be according to practical feelings The range of other addresses is arranged in condition.
Request response of step includes step (a1) and step (a2) in one of the embodiments,.
Step (a1): address is gradually chosen the smallest address since preset address range, using first The corresponding initial correspondence parameter of lower control equipment of a preset kind successively with the address of selection sends request command to first The lower control equipment of a preset kind until receive response, will receive address corresponding to the request command of response and just Practical address and practical communications parameter of the beginning communications parameter as the lower control equipment of first preset kind.
Step (a2): removing in preset address range in the address as practical address, from the smallest Address starts gradually to choose address, using the corresponding initial correspondence parameter of lower control equipment of next preset kind, The lower control equipment for successively sending request command to next preset kind with the address of selection will connect until receiving response Receive the lower control equipment of address corresponding to the request command of response and initial correspondence parameter as next preset kind Practical address and practical communications parameter, recycle the practical communications parameter until determining the lower control equipment of all preset kinds With practical address.
Wherein, it recycles until the practical communications parameter for determining the lower control equipment of all preset kinds and practical address, Refer to after executing step (a1), circulation executes step (a2), the reality of the lower control equipment until having determined all preset kinds Border communications parameter and practical address.
Practical address and practical communications parameter of the master control set in the lower control equipment for having determined first preset kind Afterwards, address is screened, request command is successively sent to the lower control equipment of next preset kind, the request of response will be received Practical communication of the corresponding address of order as the lower control equipment for the next preset kind for receiving this request command Address, using initial correspondence parameter corresponding to the request command for receiving response as receive this request command it is next pre- If the practical communications parameter of the lower control equipment of type.Specifically, master control set is removed from preset address range has been used as reality The address of address, to screen address, in the address after screening since the smallest address by Secondary selection address.For example, the lower control equipment of first preset kind is water cooler, the lower control of second preset kind is set Standby is intelligent electric meter, and preset address range is arranged successively X20 since X1;If the practical address of water cooler is X1 directly since address X2, skips the address X1 having determined when then sending request command to intelligent electric meter. In this way, the standard of addressing can be improved to avoid the practical address between different types of lower control equipment there is a phenomenon where repeating True property.
The quantity of the lower control equipment of the same preset kind is multiple in one of the embodiments,.In the present embodiment, step Suddenly (a1) includes: gradually to choose address the smallest address since preset address range, default using first The corresponding initial correspondence parameter of lower control equipment of type successively with the address of selection sends request command to the first default class Equipment is controlled under first of type until receiving response, will receive address corresponding to the request command of response and initial Communications parameter is as the practical address and practical communications parameter for controlling equipment under first of first preset kind;Default It is removed in address range in the address as practical address, communication is gradually chosen since the smallest address Address uses the corresponding initial correspondence parameter of lower control equipment of first preset kind, successively with the address transmission of selection Next lower control equipment of request command to first preset kind is responded until receiving, and will receive the request command of response Corresponding address and initial correspondence parameter as next lower control equipment of first preset kind reality communicatively Location and practical communications parameter recycle practical address and reality until determining all lower control equipment of first preset kind Communications parameter.
Wherein, it recycles until the practical address for determining all lower control equipment of first preset kind and practical communication Parameter refers to that circulation executes and " is removed in the address as practical address in preset address range, from the smallest Address starts gradually to choose address, using the corresponding initial correspondence parameter of lower control equipment of first preset kind, Next lower control equipment of request command to first preset kind is successively sent until receiving sound with the address of selection It answers, using address corresponding to the request command for receiving response and initial correspondence parameter as under first preset kind The practical address and practical communications parameter of equipment are controlled under one " the step of, the institute until having determined first preset kind There are the practical address and practical communications parameter of lower control equipment.For example, the lower control equipment of first preset kind is corresponding just Beginning communications parameter is A1, and control equipment is water cooler 1 under first of first preset kind, the second of first preset kind A lower control equipment is water cooler 2, and n-th of first preset kind lower control equipment is water cooler n, preset address range from X1 starts, and is arranged successively X20;Master control set sends request command using A1, successively since X1 to water cooler 1, if connecing Response is received, then X1 and A1 is respectively the practical address and practical communications parameter of water cooler 1;Then, master control set is adopted Request command is sent with A1, successively since X2 to water cooler 2, is so recycled, the reality until determining all water coolers Address and practical communications parameter.
Accordingly, step (a2) may include: that the communication as practical address is removed in preset address range In address, address is gradually chosen since the smallest address, it is corresponding using the lower control equipment of next preset kind Initial correspondence parameter, successively send to control under request command to first of next preset kind with the address of selection and set It is standby to be responded until receiving, using address corresponding to the request command for receiving response and initial correspondence parameter as next The practical address and practical communications parameter of equipment are controlled under first of a preset kind;It is removed in preset address range In address as practical address, address is gradually chosen since the smallest address, use is next The corresponding initial correspondence parameter of lower control equipment of preset kind successively with the address of selection sends request command to next Next lower control equipment of preset kind will receive address corresponding to the request command of response until receiving response Practical address and practical communications parameter with initial correspondence parameter as next lower control equipment of next preset kind, Recycle the practical address and practical communications parameter until determining all lower control equipment of next preset kind.Circulation step (a2) until determine all preset kinds it is all it is lower control equipment practical addresses and practical communications parameter.
Same type of lower control equipment may be corresponding with multiple equipment individual, for example include multiple water coolers, muti-piece Intelligent electric meter.By carrying out address poll to each same type of lower control equipment, specifically from except having determined as reality First address outside the address of border is polled to the last one address, and main control device can be determined same type of with automatic addressing The address of each lower control equipment;In this way, in the case where increasing newly or deleting lower control equipment, when satisfaction re-addresses condition, Master control set can determine equipment that is newly-increased or deleting by re-addressing, and not need to modify to software, flexibility and logical With property height.For example, it is assumed that the practical address of original one piece of intelligent electric meter is X1, the practical communication of newly-increased intelligent electric meter Address is X6, then when master control set re-addresses, when being polled to the type of intelligent electric meter, it is found that sent using X1 as address Request command has response, then it is assumed that X1 be one piece of intelligent electric meter practical address, be then followed by poll next address, when with When X6 sends request command, discovery has response again, then it is assumed that X6 is the practical address of another piece of intelligent electric meter.
The corresponding initial correspondence parameter of lower control equipment of the same preset kind has multiple in one of the embodiments,. Step (a1) includes: gradually to choose address the smallest address since preset address range, pre- using first If the corresponding first initial correspondence parameter of the lower control equipment of type successively with the address of selection sends request command to the The lower control equipment of one preset kind;It is corresponding next using the lower control equipment of first preset kind if being not received by response A initial correspondence parameter successively with the address of selection sends the lower control equipment of request command to the first preset kind until connecing Response is received, using address corresponding to the request command for receiving response and initial correspondence parameter as first default class The practical address and practical communications parameter of the lower control equipment of type.
Accordingly, step (a2) includes: that the address as practical address is removed in preset address range In, address is gradually chosen since the smallest address, using the lower control equipment of next preset kind corresponding One initial correspondence parameter, the lower control equipment that request command to next preset kind is successively sent with the address of selection; If be not received by response if use next preset kind the corresponding next initial correspondence parameter of lower control equipment, successively with The address of selection sends the lower control equipment of request command to next preset kind until receiving response, will receive sound The reality of address corresponding to the request command answered and initial correspondence parameter as the lower control equipment of next preset kind Address and practical communications parameter.
By the way that multiple initial correspondence parameters are arranged, the hair for making requests order can be selected from more initial correspondence parameters It send, the identification accuracy of practical communications parameter can be improved, prevent from judging by accident.
Further, if the quantity of the lower control equipment of a preset kind be it is multiple, step (a1) specifically includes: from pre- If the smallest address starts gradually to choose address in address range, using the lower control equipment pair of first preset kind First initial correspondence parameter answering successively with the address of selection sends request command to first of the first preset kind Lower control equipment;The corresponding next initial correspondence ginseng of lower control equipment if being not received by response using first preset kind Number is successively sent with the address of selection and controls equipment under request command to first of the first preset kind until receiving sound It answers, using address corresponding to the request command for receiving response and initial correspondence parameter as the of first preset kind The practical address and practical communications parameter of equipment are controlled under one;It is removed in preset address range and has been used as reality communicatively In the address of location, address is gradually chosen since the smallest address, using the lower control of first preset kind The corresponding first practical communications parameter of equipment successively with the address of selection sends request command to first preset kind Next lower control equipment, if be not received by response if using first preset kind lower control equipment it is corresponding it is next just Beginning communications parameter, successively with the address of selection send request command to the first preset kind next lower control equipment until Response is received, address corresponding to the request command for receiving response and initial correspondence parameter is default as first The practical address and practical communications parameter of next lower control equipment of type.In this way, can be joined using multiple initial correspondences Several multiple lower control equipment to first preset kind carry out address poll.Similarly, step (a2) can be using multiple initial logical It interrogates parameter and address poll is carried out to multiple lower control equipment of next preset kind, to determine the practical address of lower control equipment With the practical communications parameter in multiple initial correspondence parameters.
It is appreciated that in other embodiments, the lower control equipment of a preset kind can also correspond to an initial correspondence Parameter.User can select the most representational communications parameter conduct of lower control equipment of preset kind according to actual needs Initial correspondence parameter, in this case, master control set only needs replacing address and makes requests the transmission of order, if do not received Next address is then replaced to response, replacement initial correspondence parameter is not needed, the efficiency of poll can be improved.
In one of the embodiments, after step S150, further includes: do not communicated instead when detecting the presence of lower control equipment When feedback, the lower control equipment of no communication feedback is rejected from communication network.
Specifically, master control set can detecte after sending a command to lower control equipment, judge whether to receive lower control equipment Feedback signal, so that whether the lower control equipment of judgement has communication to feed back.Lower control equipment does not communicate feedback, then it represents that lower to control equipment It has gone offline;By will reject from communication network without the lower control equipment of communication feedback, the lower control to go offline can be cleared up in time Equipment avoids occupying communication resources.
It is illustrated so that the above-mentioned air-conditioning system means of communication are applied to the master control set of cold water computer-room air conditioning system as an example, it is existing The lower control equipment of field has water cooler, intelligent electric meter, and master control set includes that water cooler and intelligence are electric from external memory load The corresponding communications parameter of lower control equipment including table simultaneously forms communication dictionary, and the ground of water cooler is started to query after electrifying startup Location determines the practical address and practical communications parameter of water cooler.After having inquired water cooler, intelligent electric meter is inquired Address determines the practical communications parameter and practical address of intelligent electric meter.It, then can be real after two equipment are all inquired Existing automatic network-building carries out Communication Control.If scene increases water cooler or intelligent electric meter, powers on master control set and restarts, Master control set can re-address, and determine the practical address of newly-increased ammeter, not need adjustment software code.If water cooler It changes with the practical address of intelligent electric meter, powers on master control set and restart, master control set can re-address, equally not It needs to adjust code.If the lower control equipment except the newly-increased water cooler in scene and intelligent electric meter, user determine external memory In whether have the communications parameter of preset newly-increased lower control equipment, restart if so, then powering on master control set, re-addressed, if No, then before powering on and restarting, user adds the communications parameter of newly-increased lower control equipment in external memory, powers on and restarts Afterwards, master control set establishes new communication dictionary from external memory load data, re-addresses, soft again without adjusting Part code.
It should be understood that although each step in the flow chart of Fig. 2 and Fig. 4 is successively shown according to the instruction of arrow, But these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, in Fig. 2 and Fig. 4 At least part step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps One moment executed completion, but can execute at different times, and the execution in these sub-steps or stage sequence is also not necessarily Be successively carry out, but can at least part of the sub-step or stage of other steps or other steps in turn or Alternately execute.
In one embodiment, as shown in figure 5, providing a kind of air-conditioning system communication device, comprising: parameter acquisition module 510, address poller module 530 and networking communication module 550, in which:
Parameter acquisition module 510 be used for when meet it is preset re-address condition when, obtain the lower control equipment of preset kind Corresponding initial correspondence parameter;Address poller module 530 is used for according to the communication in initial correspondence parameter and preset address range Poll corresponding lower control equipment in address determines the practical address and practical communications parameter of lower control equipment;Networking communication module 550 according to the practical address of lower control equipment and practical communications parameter and lower control equipment network for communicating.
Above-mentioned air-conditioning system communication device, parameter acquisition module 510 meet it is preset re-address condition when, can obtain The corresponding initial correspondence parameter of lower control equipment of preset kind, address poller module 530 is according to initial correspondence parameter and default ground The corresponding lower control equipment of address poll in the range of location determines the practical address and practical communications parameter of lower control equipment Afterwards, then networking communication module 550 according to the practical address and practical communications parameter and lower control equipment network of lower control equipment Communication.In this way, determining the lower practical address for controlling equipment and practical communications parameter by way of Active Addressing and carrying out group Netcom's news automatic addressing can be set when needing to re-address with the communication of networking again according to the lower control at scene again It is standby to carry out flexible configuration, it avoids carrying out software modification because lower control equipment is different, greatly promotes the using flexible of air-conditioning system Property and versatility.
The preset condition that re-addresses includes powering on to restart in one of the embodiments,.As long as restarting in this way, powering on, It is just re-addressed, the overlapping development without removing progress software, flexibility and versatility are high.
The lower control that parameter acquisition module 510 loads preset kind from external memory in one of the embodiments, is set Standby corresponding multiple communications parameters;Initial correspondence parameter is chosen from the corresponding multiple communications parameters of lower control equipment.By using The corresponding communications parameter of lower control equipment of the preset each preset kind of external memory, can be with flexible configuration, the master when needing to address Dynamic load does not need to carry out software change, and versatility and flexibility are high.
It is appreciated that in other embodiments, parameter acquisition module 510 can also be under pre-stored preset kind It controls in the corresponding multiple communications parameters of equipment and chooses initial correspondence parameter.I.e., it is possible to which directly control equipment is corresponding under storage inside Multiple communications parameters do not need load operation.
Address poller module 530 from preset address range for successively choosing communicatively in one of the embodiments, Location uses the corresponding initial correspondence parameter of lower control equipment of preset kind, successively with the address transmission request command of selection To the lower control equipment of preset kind, address corresponding to the request command of response and initial correspondence parameter will be received, is made For the practical address and practical communications parameter of the lower control equipment of reception request command.By active transmission request command, with The practical address and matched practical communications parameter of the lower control equipment of identification, to realize that automatic network-building is communicated, operation side Just.
Address poller module 530 successively chooses address from preset address range in one of the embodiments, adopts Request command is sent to default with the corresponding initial correspondence parameter of lower control equipment of preset kind, successively with the address of selection The lower control equipment of type, will receive address corresponding to the request command of response and initial correspondence parameter, as reception The practical address and practical communications parameter of the lower control equipment of request command, comprising: the smallest logical from preset address range News address start gradually to choose address, using the corresponding initial correspondence parameter of lower control equipment of first preset kind, according to The secondary address with selection sends the lower control equipment of request command to first preset kind until receiving response, will receive The lower control equipment of address corresponding to request command to response and initial correspondence parameter as first preset kind Practical address and practical communications parameter;The address as practical address is removed in preset address range In, address is gradually chosen since the smallest address, it is corresponding just using the lower control equipment of next preset kind Beginning communications parameter successively with the address of selection sends the lower control equipment of request command to next preset kind until receiving To response, using address corresponding to the request command for receiving response and initial correspondence parameter as next preset kind Lower control equipment practical address and practical communications parameter, recycle the reality until determining the lower control equipment of all preset kinds Border communications parameter and practical address.In this way, can be to avoid the practical address hair between different types of lower control equipment Raw the phenomenon that repeating, improve the accuracy of addressing.
The quantity of the lower control equipment of the same preset kind is multiple in one of the embodiments,.Address poller module 530 gradually choose address the smallest address since preset address range, using under first preset kind It controls the corresponding initial correspondence parameter of equipment, successively sent under request command to first preset kind with the address of selection Control equipment until receiving response, using address corresponding to the request command for receiving response and initial correspondence parameter as The practical address and practical communications parameter of the lower control equipment of first preset kind, specifically include: from preset address range In the smallest address start gradually to choose address, it is corresponding initial logical using the lower control equipment of first preset kind Parameter is interrogated, is successively sent with the address of selection and controls equipment under request command to first of the first preset kind until receiving To response, using address corresponding to the request command for receiving response and initial correspondence parameter as first preset kind First under control equipment practical address and practical communications parameter;It is removed in preset address range and has been used as practical lead to In the address for interrogating address, address is gradually chosen since the smallest address, using first preset kind The corresponding initial correspondence parameter of lower control equipment successively with the address of selection sends request command to first preset kind Next lower control equipment will receive address corresponding to the request command of response and initial correspondence until receiving response Practical address and practical communications parameter of the parameter as next lower control equipment of first preset kind, recycle until true The practical address and practical communications parameter of all lower control equipment of fixed first preset kind.
By carrying out address poll to each same type of lower control equipment, specifically from except having determined as reality First address outside address is polled to the last one address, and main control device can be determined same type of each with automatic addressing The address of a lower control equipment;In this way, in the case where increasing newly or deleting lower control equipment, it is main when satisfaction re-addresses condition Control device can determine equipment that is newly-increased or deleting by re-addressing, and not need to modify to software, flexibility and general Property it is high.
The corresponding initial correspondence parameter of lower control equipment of the same preset kind has multiple in one of the embodiments,. Address poller module 530 gradually chooses address the smallest address since preset address range, using first The corresponding initial correspondence parameter of lower control equipment of preset kind successively with the address of selection sends request command to first The lower control equipment of preset kind will receive address corresponding to the request command of response and initial until receiving response Practical address and practical communications parameter of the communications parameter as the lower control equipment of first preset kind, specifically include: from The smallest address starts gradually to choose address in preset address range, using the lower control equipment of first preset kind Corresponding first initial correspondence parameter successively with the address of selection sends the lower control of request command to the first preset kind Equipment;If be not received by response if using first preset kind the corresponding next initial correspondence parameter of lower control equipment, The lower control equipment for successively sending request command to the first preset kind with the address of selection will be received until receiving response The lower control equipment of address corresponding to request command to response and initial correspondence parameter as first preset kind Practical address and practical communications parameter.
By the way that multiple initial correspondence parameters are arranged, the hair for making requests order can be selected from more initial correspondence parameters It send, the identification accuracy of practical communications parameter can be improved, prevent from judging by accident.
Above-mentioned air-conditioning system communication device further includes removing module in one of the embodiments, is deposited for that ought detect When lower control equipment does not communicate feedback, the lower control equipment of no communication feedback is rejected from communication network.By that will not have The lower control equipment of communication feedback is rejected from communication network, can clear up the lower control equipment to go offline in time, avoids occupying communication money Source.
Specific about air-conditioning system communication device limits the limit that may refer to above for the air-conditioning system means of communication Fixed, details are not described herein.Modules in above-mentioned air-conditioning system communication device can fully or partially through software, hardware and its Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
In one embodiment, a kind of master control set is provided, internal structure chart can be as shown in Figure 6.Master control dress Set processor, memory, network interface, display screen and input unit including connecting by system bus.Wherein, which fills The processor set is for providing calculating and control ability.The memory of the master control set includes non-volatile memory medium, memory Reservoir.The non-volatile memory medium is stored with operating system and computer program.The built-in storage is non-volatile memories Jie The operation of operating system and computer program in matter provides environment.The network interface of the master control set is used for and external terminal It is communicated by network connection.To realize a kind of air-conditioning system means of communication when the computer program is executed by processor.The master control The display screen of device can be liquid crystal display or electric ink display screen, and the input unit of the master control set can be display The touch layer covered on screen is also possible to the key being arranged on master control set shell, trace ball or Trackpad, can also be external Keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied The block diagram of structure, does not constitute the restriction for the master control set being applied thereon to application scheme, and specific master control set can be with Including than more or fewer components as shown in the figure, perhaps combining certain components or with different component layouts.
In one embodiment, a kind of master control set, including memory and processor are provided, is stored with meter in memory The step of calculation machine program, which realizes the aforementioned air-conditioning system means of communication when executing computer program.
Above-mentioned master control set similarly, can be according to scene due to the step of realizing the aforementioned air-conditioning system means of communication Lower control equipment carries out flexible configuration, avoids carrying out software modification because lower control equipment is different, greatly promotes making for air-conditioning system With flexibility and versatility.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes the step of aforementioned air-conditioning system means of communication when being executed by processor.
Above-mentioned computer readable storage medium similarly, can be with due to the step of aforementioned air-conditioning system means of communication can be achieved Flexible configuration is carried out according to the lower control equipment at scene, avoids carrying out software modification because lower control equipment is different, greatly promotes sky The using flexible and versatility of adjusting system.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (11)

1. a kind of air-conditioning system means of communication characterized by comprising
When meet it is preset re-address condition when, obtain the corresponding initial correspondence parameter of lower control equipment of preset kind;
According to the corresponding lower control equipment of the address poll in the initial correspondence parameter and preset address range, determine described in The practical address and practical communications parameter of lower control equipment;
It is communicated according to the practical address of the lower control equipment and practical communications parameter and the lower control equipment network.
2. the method according to claim 1, wherein the lower control equipment for obtaining preset kind is corresponding initial Communications parameter, comprising:
The corresponding multiple communications parameters of lower control equipment of preset kind are loaded from external memory;
Initial correspondence parameter is chosen from the corresponding multiple communications parameters of the lower control equipment.
3. the method according to claim 1, wherein described according to the initial correspondence parameter and preset address model The corresponding lower control equipment of address poll in enclosing determines that the practical address of the lower control equipment and practical communication are joined Number, comprising:
Address is successively chosen from the preset address range, it is corresponding initial using the lower control equipment of the preset kind Communications parameter successively with the address of selection sends request command to the lower control equipment of the preset kind, will receive sound Address corresponding to the request command answered and initial correspondence parameter, the reality as the lower control equipment for receiving the request command Border address and practical communications parameter.
4. according to the method described in claim 3, it is characterized in that, described successively choose communication from the preset address range Address is used the corresponding initial correspondence parameter of lower control equipment of the preset kind, is successively sent and asked with the address of selection Order is asked to the lower control equipment of the preset kind, address corresponding to the request command of response will be received and is initially led to Parameter is interrogated, the practical address and practical communications parameter as the lower control equipment for receiving the request command, comprising:
Address is gradually chosen the smallest address since the preset address range, using first preset kind The corresponding initial correspondence parameter of lower control equipment, successively with the address of selection send request command to described first it is default The lower control equipment of type will receive address corresponding to the request command of response and initial correspondence until receiving response Practical address and practical communications parameter of the parameter as the lower control equipment of first preset kind;
It removes in the preset address range in the address as practical address, is opened from the smallest address Beginning gradually chooses address, uses the corresponding initial correspondence parameter of lower control equipment of next preset kind, successively to choose Address send request command to next preset kind lower control equipment until receive response, sound will be received The lower control equipment of address corresponding to the request command answered and initial correspondence parameter as next preset kind Practical address and practical communications parameter, recycle practical communications parameter until determining the lower control equipment of all preset kinds with Practical address.
5. according to the method described in claim 4, it is characterized in that, the quantity of the lower control equipment of the same preset kind is more It is a;It is described gradually to choose address the smallest address since the preset address range, it is default using first The corresponding initial correspondence parameter of lower control equipment of type successively with the address of selection sends request command to described first The lower control equipment of preset kind will receive address corresponding to the request command of response and initial until receiving response Practical address and practical communications parameter of the communications parameter as the lower control equipment of first preset kind, comprising:
Address is gradually chosen the smallest address since the preset address range, using first preset kind The corresponding initial correspondence parameter of lower control equipment, request command successively sent to the described first default class with the address of selection Equipment is controlled under first of type until receiving response, will receive address corresponding to the request command of response and initial Communications parameter is as the practical address and practical communications parameter for controlling equipment under first of first preset kind;
It removes in the preset address range in the address as practical address, is opened from the smallest address Beginning gradually choose address, use first preset kind the corresponding initial correspondence parameter of lower control equipment, successively with Next lower control equipment that the address of selection sends request command to first preset kind is responded until receiving, Using address corresponding to the request command for receiving response and initial correspondence parameter as first preset kind The practical address and practical communications parameter of next lower control equipment, recycle the institute until determining first preset kind There are the practical address and practical communications parameter of lower control equipment.
6. according to the method described in claim 4, it is characterized in that, the lower control equipment of the same preset kind is corresponding initial logical News parameter has multiple;It is described gradually to choose address the smallest address since the preset address range, it uses The corresponding initial correspondence parameter of lower control equipment of first preset kind successively with the address of selection sends request command extremely The lower control equipment of first preset kind will receive communication corresponding to the request command of response until receiving response The practical address and practical communication ginseng of address and initial correspondence parameter as the lower control equipment of first preset kind Number, comprising:
Address is gradually chosen the smallest address since the preset address range, using first preset kind The corresponding first initial correspondence parameter of lower control equipment, request command successively sent to described first with the address of selection The lower control equipment of preset kind;
The corresponding next initial correspondence ginseng of lower control equipment if being not received by response using first preset kind It counts, successively with the lower control equipment of the address transmission request command of selection to first preset kind until receiving sound It answers, using address corresponding to the request command for receiving response and initial correspondence parameter as first preset kind Lower control equipment practical address and practical communications parameter.
7. the method according to claim 1, wherein it is described according to it is described it is lower control equipment practical address and After practical communications parameter and the lower control equipment network communication, further includes:
When detecting the presence of lower control equipment and not communicating feedback, the lower control equipment of no communication feedback is picked from communication network It removes.
8. the method according to claim 1, wherein the preset condition that re-addresses includes powering on to restart.
9. a kind of air-conditioning system communication device characterized by comprising
Parameter acquisition module, for when meet it is preset re-address condition when, the lower control equipment for obtaining preset kind is corresponding Initial correspondence parameter;
Address poller module, for corresponding according to the address poll in the initial correspondence parameter and preset address range Lower control equipment determines the practical address and practical communications parameter of the lower control equipment;
Networking communication module, for being set according to the practical address and practical communications parameter of the lower control equipment with the lower control Standby networking communicates.
10. a kind of master control set, including memory and processor, the memory are stored with computer program, which is characterized in that The step of processor realizes any one of claims 1 to 8 the method when executing the computer program.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any item of the claim 1 to 8 is realized when being executed by processor.
CN201910666375.4A 2019-07-23 2019-07-23 The air-conditioning system means of communication, device, master control set and storage medium Pending CN110365789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910666375.4A CN110365789A (en) 2019-07-23 2019-07-23 The air-conditioning system means of communication, device, master control set and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910666375.4A CN110365789A (en) 2019-07-23 2019-07-23 The air-conditioning system means of communication, device, master control set and storage medium

Publications (1)

Publication Number Publication Date
CN110365789A true CN110365789A (en) 2019-10-22

Family

ID=68219670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910666375.4A Pending CN110365789A (en) 2019-07-23 2019-07-23 The air-conditioning system means of communication, device, master control set and storage medium

Country Status (1)

Country Link
CN (1) CN110365789A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142451A (en) * 2020-01-16 2020-05-12 中国农业科学院棉花研究所 Multi-channel data acquisition method and system
CN114495729A (en) * 2022-01-26 2022-05-13 江苏奥斯汀光电科技股份有限公司 Display system capable of being powered wirelessly and display screen positioning method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103994555A (en) * 2013-02-16 2014-08-20 广东美的暖通设备有限公司 Air-conditioning system
US20160234186A1 (en) * 2013-09-30 2016-08-11 Schneider Electric Industries Sas Cloud-authenticated site resource management devices, apparatuses, methods and systems
CN108931035A (en) * 2018-07-30 2018-12-04 宁波奥克斯电气股份有限公司 A kind of control method and device of air-conditioning real-time communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103994555A (en) * 2013-02-16 2014-08-20 广东美的暖通设备有限公司 Air-conditioning system
US20160234186A1 (en) * 2013-09-30 2016-08-11 Schneider Electric Industries Sas Cloud-authenticated site resource management devices, apparatuses, methods and systems
CN108931035A (en) * 2018-07-30 2018-12-04 宁波奥克斯电气股份有限公司 A kind of control method and device of air-conditioning real-time communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142451A (en) * 2020-01-16 2020-05-12 中国农业科学院棉花研究所 Multi-channel data acquisition method and system
CN114495729A (en) * 2022-01-26 2022-05-13 江苏奥斯汀光电科技股份有限公司 Display system capable of being powered wirelessly and display screen positioning method

Similar Documents

Publication Publication Date Title
CN107276866A (en) Home appliance match somebody with somebody network method, device and home appliance
CN106452847B (en) WIFI equipment intelligent identification Method and device
CN110365789A (en) The air-conditioning system means of communication, device, master control set and storage medium
CN108696843A (en) Bluetooth group control method, device and system between a kind of physical equipment
CN111629371B (en) Screen projection method and system
CN115941464B (en) Intelligent network card power supply state control method and device, electronic equipment and storage medium
CN110515307A (en) A kind of method and the network equipment controlling smart home device
CN110689228A (en) Test service scheduling method and device, computer equipment and storage medium
CN110166262A (en) Group management, device, system, computer equipment and readable storage medium storing program for executing
CN113535225A (en) Environment configuration file processing method, device, equipment and medium of application software
CN114978292A (en) Satellite network connection method, system, electronic equipment and storage medium
CN114238269A (en) Database parameter adjusting method and device, electronic equipment and storage medium
CN109978380A (en) A kind of workflow processing method and device
CN106446050A (en) Method and system for subscription by aiming at changed data of database
CN105939514A (en) Method and system for sharing a set of virtual SIM (subscriber identity module) cards and communication device
CN111371593B (en) Service deployment method, device, electronic equipment and storage medium
CN108108473B (en) Data query method and server
CN102193884B (en) Data transfer circuit and method
CN107800780A (en) data service method, device, storage medium and computer equipment
CN113448304B (en) Vehicle ECU diagnostic method and system
CN108803582B (en) Automatic bus switching system and method suitable for remote fault diagnosis
CN109671140B (en) Cloud rendering service processing method adopting micro-service
CN113542084A (en) Indoor unit individual networking method and system
CN106347061A (en) Control method, system and device for remote turbine warming up
CN116337456A (en) Determination method and determination device for test flow, electronic device and test system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191022

RJ01 Rejection of invention patent application after publication