CN103292414B - Air conditioning unit data interactive method and device - Google Patents

Air conditioning unit data interactive method and device Download PDF

Info

Publication number
CN103292414B
CN103292414B CN201210052580.XA CN201210052580A CN103292414B CN 103292414 B CN103292414 B CN 103292414B CN 201210052580 A CN201210052580 A CN 201210052580A CN 103292414 B CN103292414 B CN 103292414B
Authority
CN
China
Prior art keywords
data
controller
summary table
length
control instruction
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.)
Expired - Fee Related
Application number
CN201210052580.XA
Other languages
Chinese (zh)
Other versions
CN103292414A (en
Inventor
龚钊潮
林成霖
龙波
王灵军
陈东亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201210052580.XA priority Critical patent/CN103292414B/en
Publication of CN103292414A publication Critical patent/CN103292414A/en
Application granted granted Critical
Publication of CN103292414B publication Critical patent/CN103292414B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of air conditioning unit data interactive method and device, wherein, the method includes: the first air conditioning unit controller receives the control information meeting predetermined frame form that air conditioning unit second controller sends; The control information meeting predetermined frame form is resolved by the first controller according to the controller data summary table of storage in data base, obtain the control instruction in control information, wherein, controller data summary table have recorded the parameter of the multiple controllers including the first controller and second controller; First controller performs the operation indicated by control instruction. The invention solves the problem that during air conditioning unit data communication in correlation technique, autgmentability is poor, make air conditioning unit there is when data communication good autgmentability, meanwhile, also reduce the parsing difficulty of data.

Description

Air conditioning unit data interactive method and device
Technical field
The present invention relates to the communications field, in particular to a kind of air conditioning unit data interactive method and device.
Background technology
A set of air conditioning unit meeting is made up of multiple controllers, and specific function is responsible for by each controller, and by interactive information between controller, reaches Collaborative Control, and then jointly complete overall unit operation is controlled. The agreement of the interactive information between controller, it is simply that unit communications protocol.
It is strong that existing unit communications protocol is characterized as being data monopoly, it is unfavorable for extension, specifically, existing air conditioning unit controller is when communication, there is following drawback: 1) each controller can be sent to another controller self all of information by frame data, the information being just as sent each time in this communication modes, it is impossible to carry out Function Extension; 2) in frame data, the presentation format of each data is different, and therefore, it is also different for resolving, and this allows for data communication complexity increases; 3) in the controller of two types relatively, there are the data that the controller of same function sends, the discharge order of its information and the presentation format of same information are also different, cause that the controller of said function cannot be used on another close type.
For the problem that in correlation technique, during air conditioning unit data communication, autgmentability is poor, effective solution is not yet proposed at present.
Summary of the invention
The invention provides a kind of air conditioning unit data interactive method and device, the problem that during to solve air conditioning unit data communication in correlation technique, autgmentability is poor.
According to an aspect of the invention, it is provided a kind of air conditioning unit data interactive method, including: the first air conditioning unit controller receives the control information meeting predetermined frame form that air conditioning unit second controller sends; The control information meeting predetermined frame form is resolved by the first controller according to the controller data summary table of storage in data base, obtain the control instruction in control information, wherein, controller data summary table have recorded the parameter of the multiple controllers including the first controller and second controller; First controller performs the operation indicated by control instruction.
Preferably, the control information meeting predetermined frame form is resolved by the first controller according to the controller data summary table of storage in data base, and the step obtaining the control instruction in control information includes: the first controller obtains the function code in the control information of predetermined frame form, data type, data initial address and data length; First controller generates control command according to the function code got, data type, data initial address and data length, wherein, control command is for indicating the operation that data area that start in controller data summary table, that length is data length performs function code instruction from the data initial address data type.
Preferably, the operation that first controller performs indicated by control instruction includes: data area that start from the data initial address data type in controller data summary table, that length is data length is performed the operation of function code instruction by the first controller in response to control instruction, wherein, operation includes at least one of: inquiry and setting.
Preferably, the step of the operation that data area that start from the data initial address data type in controller data summary table, that length is data length is performed function code instruction by the first controller in response to control instruction includes: the first controller obtains, in response to control instruction, the data storage areas that data type is corresponding from controller data summary table; First controller data initial address from data storage areas starts to obtain the value in the corresponding data region that length is data length; The value in the corresponding data region got is packaged into response message according to predetermined frame form by the first controller; The response message being packaged into is returned to second controller by the first controller.
Preferably, the step of the operation that data area that start from the data initial address data type in controller data summary table, that length is data length is performed function code instruction by the first controller in response to control instruction includes: the first controller obtains, in response to control instruction, the data storage areas that data type is corresponding from controller data summary table; First controller data initial address from data storage areas starts to obtain the corresponding data area that length is data length; The corresponding data area update got is the data value to be updated of correspondence in control instruction by the first controller, wherein, the value one_to_one corresponding of the data value to be updated that the number of the data value to be updated carried in control instruction is identical with the number of the value of data area and carries in control instruction and data area.
Preferably, before the first controller receives the control information meeting predetermined frame form that second controller sends, also include: parameter corresponding in the first controller is joined in controller data summary table when joining in the communication network including second controller according to the total tableau format of controller data by the first controller, and instruction information is set in controller data summary table, wherein, parameter includes controlled data and status data, and instruction information is for indicating parameter memory area in controller data summary table.
According to a further aspect in the invention, provide a kind of air conditioning unit data interaction device, this device is positioned at the first air conditioning unit controller, including: receive unit, for receiving the control information meeting predetermined frame form that air conditioning unit second controller sends; Resolution unit, for the control information meeting predetermined frame form being resolved according to the controller data summary table of storage in data base, obtain the control instruction in control information, wherein, controller data summary table have recorded the parameter of the multiple controllers including the first controller and second controller; Performance element, for performing the operation indicated by control instruction.
Preferably, resolution unit includes: acquisition module, is used for the function code, data type, data initial address and the data length that obtain in the control information of predetermined frame form; Generation module, for generating control command according to the function code got, data type, data initial address and data length, wherein, control command is for indicating the operation that data area that start in controller data summary table, that length is data length performs function code instruction from the data initial address data type.
Preferably, performance element is additionally operable in response to control instruction, data area that start in controller data summary table, that length is data length be performed the operation of function code instruction from the data initial address data type.
Preferably, performance element includes: enquiry module, and this enquiry module includes: the first response submodule, for obtaining, in response to control instruction, the data storage areas that data type is corresponding from controller data summary table; First obtains submodule, starts to obtain the value in the corresponding data region that length is data length for the data initial address from data storage areas; Encapsulation submodule, the value for obtaining the corresponding data region that submodule gets by first is packaged into response message according to predetermined frame form; Return submodule, for the response message being packaged into is returned to second controller.
Preferably, performance element also includes: arrange module, arranges module and includes: the second response submodule, for obtaining, in response to control instruction, the data storage areas that data type is corresponding from controller data summary table; Second obtains submodule, starts to obtain the corresponding data region that length is data length for the data initial address from data storage areas; Update submodule, the value that second obtains the data area that submodule gets is updated to data value to be updated corresponding in control instruction by the first controller, wherein, the value one_to_one corresponding of the data value to be updated that the number of the data value to be updated carried in control instruction is identical with the number of the value of data area and carries in control instruction and data area.
In the present invention, when air conditioning unit controller carries out data interaction, mutual control information is arranged to predetermined frame form, the parameter of controller is added in controller data summary table simultaneously, data exchange process is identified by the parameter in controller data summary table and is resolved the control information of predetermined frame form, can realize by increasing the parameter in controller data summary table, increase the function of controller, solve the problem that during air conditioning unit data communication in correlation technique, autgmentability is poor, make air conditioning unit there is when data communication good autgmentability, simultaneously, also the parsing difficulty of data is reduced.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention. In the accompanying drawings:
Fig. 1 is a kind of preferred flow chart of air conditioning unit data interactive method according to embodiments of the present invention;
Fig. 2 is a kind of preferred structure chart of air conditioning unit data interaction device according to embodiments of the present invention;
Fig. 3 is the another kind of preferred structure chart of air conditioning unit data interaction device according to embodiments of the present invention;
Fig. 4 is the another kind of preferred structure chart of air conditioning unit data interaction device according to embodiments of the present invention;
Fig. 5 is another preferred structure chart of air conditioning unit data interaction device according to embodiments of the present invention;
Fig. 6 is a kind of preferred schematic diagram of the control information of middle predetermined frame form according to embodiments of the present invention;
Fig. 7 be according to embodiments of the present invention in air conditioning unit control system the outside machine controller of display panel send the preferred schematic diagram of query statement;
Fig. 8 is the preferred schematic diagram that in air conditioning unit control system according to embodiments of the present invention, the outside machine controller of display panel sends control instruction;
Fig. 9 is a kind of preferred controller data summary table in air conditioning unit control system according to embodiments of the present invention;
Figure 10 is the tables of data of display panel in air conditioning unit control system according to embodiments of the present invention;
Figure 11 is the tables of data of interior machine controller in air conditioning unit control system according to embodiments of the present invention;
Figure 12 is the tables of data of air conditioning unit control system China and foreign countries machine controller according to embodiments of the present invention;
Figure 13 is the tables of data of compressor controller in air conditioning unit control system according to embodiments of the present invention.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments. It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined.
Embodiment 1
The invention provides a kind of air conditioning unit data interactive method, as it is shown in figure 1, the method includes:
S102, the first air conditioning unit controller receives the control information meeting predetermined frame form that air conditioning unit second controller sends;
S104, the control information meeting predetermined frame form is resolved by the first controller according to the controller data summary table of storage in data base, obtain the control instruction in control information, wherein, controller data summary table have recorded the parameter of the multiple controllers including the first controller and second controller;
S106, the first controller performs the operation indicated by control instruction.
Above-mentioned preferred embodiment in, when air conditioning unit controller carries out data interaction, mutual control information is arranged to predetermined frame form, the parameter of controller is added in controller data summary table simultaneously, data exchange process is identified by the parameter in controller data summary table and is resolved the control information of predetermined frame form, can realize by increasing the parameter in controller data summary table, increase the function of controller, solve the problem that during air conditioning unit data communication in correlation technique, autgmentability is poor, make air conditioning unit there is when data communication good autgmentability, simultaneously, also the parsing difficulty of data is reduced.
Present invention also offers a kind of preferred scheme resolving control information, concrete, the control information meeting predetermined frame form is resolved by the first controller according to the controller data summary table of storage in data base, and the step obtaining the control instruction in control information includes: the first controller obtains the function code in the control information of predetermined frame form, data type, data initial address and data length; First controller generates control instruction according to the function code got, data type, data initial address and data length, wherein, control instruction is for indicating the operation that data area that start in controller data summary table, that length is data length performs function code instruction from the data initial address data type. In above-mentioned preferred implementation, control instruction is generated by the function code in the control information of acquisition predetermined frame form, data type, data initial address and data length, the concrete operations that the specific address parameter that control instruction can be found in controller data summary table fast and accurately corresponding is corresponding with control instruction, add the resolution speed of data, also reduce the parsing difficulty of data simultaneously.
Present invention also offers a kind of preferred scheme performing control instruction, concrete, the operation that first controller performs indicated by control instruction includes: data area that start from the data initial address data type in controller data summary table, that length is data length is performed the operation of function code instruction by the first controller in response to control instruction, wherein, operation includes at least one of: inquiry and setting. Above-mentioned preferred embodiment in, the first controller is by responding control instruction, and performs corresponding operation, it is ensured that smoothly completing of the data interaction between air conditioning unit controller.
Present invention also offers the scheme that a kind of preferred first controller performs the operation of function code instruction in response to control instruction, concrete, the step of the operation that data area that start from the data initial address data type in controller data summary table, that length is data length is performed function code instruction by the first controller in response to control instruction includes: the first controller obtains, in response to control instruction, the data storage areas that data type is corresponding from controller data summary table; First controller data initial address from data storage areas starts to obtain the value in the corresponding data region that length is data length; The value in the corresponding data region got is packaged into response message according to predetermined frame form by the first controller; The response message being packaged into is returned to second controller by the first controller. Above-mentioned preferred embodiment, it is possible to achieve when carrying out data interaction between air conditioning unit controller and controller, the inquiry state parameter to square controller.
Present invention also offers the scheme that another kind of preferred first controller performs the operation of function code instruction in response to control instruction, concrete, the step of the operation that data area that start from the data initial address data type in controller data summary table, that length is data length is performed function code instruction by the first controller in response to control instruction includes: the first controller obtains, in response to control instruction, the data storage areas that data type is corresponding from controller data summary table; First controller data initial address from data storage areas starts to obtain the corresponding data region that length is data length; The corresponding data area update got is the data value to be updated of correspondence in control instruction by the first controller, wherein, the value one_to_one corresponding of the data value to be updated that the number of the data value to be updated carried in control instruction is identical with the number of the value of data area and carries in control instruction and data area. Above-mentioned preferred embodiment, it is possible to achieve when carrying out data interaction between air conditioning unit controller and controller, it is possible to achieve the parameter of controller is set.
Herein it should be noted that above-mentioned query manipulation and arrange operation and be only used as the preferred embodiment of the present invention, the present invention can also increase other operation by increasing the function code in controller data summary table.
Above-mentioned air conditioning unit data interactive method has also been improved by the present invention, concrete, before the first controller receives the control information meeting predetermined frame form that second controller sends, also include: parameter corresponding in the first controller is joined in controller data summary table when joining in the communication network including second controller according to the total tableau format of controller data by the first controller, and instruction information is set in controller data summary table, wherein, parameter includes controlled data and status data, instruction information is for indicating parameter memory area in controller data summary table. by above-mentioned preferred embodiment, in air conditioning unit data exchange process, when increasing controller or increase controller function, it is not necessary to change communications protocol, only the parameter increased need to be updated in controller data summary table and can realize data exchange process.
Embodiment 2
The invention provides a kind of air conditioning unit data interaction device, concrete, as in figure 2 it is shown, this device is positioned at the first air conditioning unit controller, including: receive unit 202, for receiving the control information meeting predetermined frame form that air conditioning unit second controller sends; Resolution unit 204, for the control information meeting predetermined frame form being resolved according to the controller data summary table of storage in data base, obtain the control instruction in control information, wherein, controller data summary table have recorded the parameter of the multiple controllers including the first controller and second controller; Performance element 206, for performing the operation indicated by control instruction.
Above-mentioned preferred embodiment in, when air conditioning unit controller carries out data interaction, mutual control information is arranged to predetermined frame form, the parameter of controller is added in controller data summary table simultaneously, data exchange process is identified by the parameter in controller data summary table and is resolved the control information of predetermined frame form, can realize by increasing the parameter in controller data summary table, increase the function of controller, solve the problem that during air conditioning unit data communication in correlation technique, autgmentability is poor, make air conditioning unit there is when data communication good autgmentability, simultaneously, also the parsing difficulty of data is reduced.
Present invention also offers a kind of preferred scheme resolving control information, concrete, as it is shown on figure 3, resolution unit 204 includes: acquisition module 302, it is used for the function code, data type, data initial address and the data length that obtain in the control information of predetermined frame form; Generation module 304, for generating control command according to the function code got, data type, data initial address and data length, wherein, control command is for indicating the operation that data area that start in controller data summary table, that length is data length performs function code instruction from the data initial address data type. In above-mentioned preferred implementation, control instruction is generated by the function code in the control information of acquisition predetermined frame form, data type, data initial address and data length, the concrete operations that the specific address parameter that control instruction can be found in controller data summary table fast and accurately corresponding is corresponding with control instruction, add the resolution speed of data, also reduce the parsing difficulty of data simultaneously.
Present invention also offers a kind of preferred scheme performing control instruction, concrete, performance element 206 is additionally operable in response to control instruction, data area that start in controller data summary table, that length is data length be performed the operation of function code instruction from the data initial address data type. Above-mentioned preferred embodiment in, the first controller is by responding control instruction, and performs corresponding operation, it is ensured that smoothly completing of the data interaction between air conditioning unit controller.
Above-mentioned performance element 206 has also been improved by the present invention, concrete, as shown in Figure 4, performance element 206 includes: enquiry module 402, this enquiry module 402 includes: the first response submodule 4022, for obtaining, in response to control instruction, the data storage areas that data type is corresponding from controller data summary table; First obtains submodule 4024, starts to obtain the value in the corresponding data region that length is data length for the data initial address from data storage areas; Encapsulation submodule 4026, the value for obtaining the corresponding data region that submodule 4024 gets by first is packaged into response message according to predetermined frame form; Return submodule 4028, for the response message being packaged into is returned to second controller. Above-mentioned preferred embodiment, it is possible to achieve when carrying out data interaction between air conditioning unit controller and controller, the inquiry state parameter to square controller.
Above-mentioned performance element 206 is also further improved by the present invention, concrete, as shown in Figure 5, performance element 206 also includes: arrange module 502, this arranges module 502 and includes: the second response submodule 5022, for obtaining, in response to control instruction, the data storage areas that data type is corresponding from controller data summary table; Second obtains submodule 5024, starts to obtain the corresponding data region that length is data length for the data initial address from data storage areas; Update submodule 5026, the corresponding data area update got for obtaining submodule 5024 by second is data value to be updated corresponding in control instruction, wherein, the value one_to_one corresponding of the data value to be updated that the number of the data value to be updated carried in control instruction is identical with the number of the value of data area and carries in control instruction and data area. Above-mentioned preferred embodiment, it is possible to achieve when carrying out data interaction between air conditioning unit controller and controller, it is possible to achieve the parameter of controller is set.
Herein it should be noted that above-mentioned first response submodule 4022 and the second response submodule 5022 can be same submodules, it is also possible to be two separate submodules; Above-mentioned first acquisition submodule 4024 and the second acquisition submodule 5024 can be same submodules, it is also possible to be two separate submodules. Additionally, above-mentioned enquiry module 402 and arrange module 502 and be only used as the preferred embodiment of the present invention, the present invention can also increase other operating function module by increasing the function code in controller data summary table.
Above-mentioned air conditioning unit data interaction device has also been improved by the present invention, concrete, this device also includes: arrange unit, according to the total tableau format of controller data, parameter corresponding in the first controller is joined in controller data summary table when joining in the communication network including second controller for the first controller, and instruction information is set in controller data summary table, wherein, parameter includes controlled data and status data, and instruction information is for indicating parameter memory area in controller data summary table. By above-mentioned preferred embodiment, in air conditioning unit data exchange process, when increasing new controller or increase existing controller function, it is not necessary to change communications protocol, the data interaction that only parameter increased need to be updated in controller data summary table can to realize between controller.
Embodiment 3
Based on above-mentioned air conditioning unit data interaction device, present invention also offers a kind of preferably air conditioning unit control system, preferably, in this control system, the control information of the predetermined frame form used in data exchange process is as shown in Figure 6, preferably, the control information of predetermined frame form includes source address, destination address, function code, data type, data initial address, data length, data, check code, initial code/start bit and end code/stopping position. Wherein function code is to increase to realize the autgmentability of data interaction, it is preferred that function code includes inquiry, control, state and inquiry response, it is possible to increase other function codes according to demand; Data type is then increase to reduce the difficulty of data parsing.
Concrete, as it is shown in fig. 7, this control system includes four controllers, respectively display panel, interior machine controller, compressor controller and outer machine controller, corresponding address difference 1��4. The whole process that Fig. 7 inquires about data for the outside machine controller of display panel illustrates.
First, display panel have sent the Frame with query function code to outer machine controller, dotted line above section in Fig. 7, and the 1st data of this Frame are source address, and in the drawings, source address is 1, represent the address of display panel; 2nd data are destination address, and in the drawings, destination address is 4, represents the address of outer machine controller; 3rd data are function code, and in the drawings, function code is 1, represent inquiry; 4th data are data type, and corresponding to the row of controller data summary table, the 5th data are initial address, and corresponding to the initial row address of controller data summary table, the 6th is data number. In Fig. 7, the column address meaning that the display panel outside machine controller outer machine controller tables of data of inquiry of this frame is 19, and initial row address is the numerical value of two data of 0. In figure 12 it can be seen that the data read are compressor virtual condition and fan condition.
Then, outer machine controller sends response to query data to display panel, and in Fig. 7, dotted line is with lower part, and source address is the address of outer machine controller, and source address is 4; Destination address is the address of display panel, and destination address is 1; Function code is 2, represents inquiry response. The column address meaning that outer machine controller notice display panel tables of data of this frame is 19, and initial row address is the value of the numerical value (virtual condition and fan condition) of two data of 0 is all that 1,1 expression runs, and completes this process. Reach a controller by this process and obtained, to another controller, the data that the former needs, such that it is able to according to the data got, do further control.
Fig. 8 sends the whole process of control instruction for the outside machine controller of display panel, and source address is the address of display panel, and source address is 1; Destination address is the address of outer machine controller, and destination address is 4; Function code is 3, represents and controls. Before sending Frame, 17 row 0 row of outer machine controller tables of data, in figure 12 it can be seen that be switching on and shutting down, numerical value is 0, represents shutdown. Then the outside machine controller of display panel sends and controls data, changes the data of 17 row 0 row into 1, the switching on and shutting down of outer machine controller is also just set to start, and outer machine controller is according to this open state, performs boot action, such as blower fan and compressor is opened. Fig. 8 achieves a controller and sends the purpose of control instruction to another controller.
Fig. 9 is the controller data summary table of air conditioning unit control system, Figure 10-Figure 13 represents the tables of data of each controller respectively, can be seen that, the valid data of each controller are the subsets of data summary table, and different controllers exists common data, as interior machine controller and outer machine controller have switching on and shutting down, all of controller is protocols having version and device type all, same data, are independent in its value of different controllers, it is possible to take different values.
Preferably, tables of data except the 0th��16 row, the analysis mode of every string is just as, and the data such as the 17th row are all the revisable data of Boolean type, and 1 be effective, and 0 is invalid; The data of the 18th row be all the analog data that actual value is equal to transmission value, and are read-only, such as ambient temperature, as 26, then it represents that 26 degree; The data of the 19th row are all the data that Boolean type is read-only, and 1 is that effectively 0 is invalid.
The data type 0��15 of tables of data is used to indicate which data of tables of data are effective, and which function code is effective. Specifically, line number is 2��15 14 data of the 0th row of this data field, altogether 14*8=112 position, each corresponding a kind of data type, is that the corresponding data type of 1 expression is used in affiliated device node, and 0 expression is not used. The highest order corresponding data Class1 6��127 respectively to the byte that line number is 15 is started from the lowest order of the byte that line number is 2. It can be seen that the 16th��19 row have valid data in the controller data summary table of Fig. 9, the 20th��23 row do not have valid data, so the 0th arranges the 2nd behavior 00001111.
The line number of the 0th row of this data field is 32��255,224 bytes, in order each two byte correspondence one data type altogether, respectively corresponding data Class1 6��127. First character joint represents that the initial use section of the data of corresponding data category is (in row, preferably, every 8 data are a section, from row address 0,0��7 is first paragraph, 8��15 is second segment, by that analogy), and the hop count that second byte representation begins to use from above-mentioned the initial segment. In the controller data summary table of Fig. 9, the 16th row only the 0th��1 row effectively, also just only has the 1st section effectively, so initial use section is 1, using hop count is 1, namely the 0th arranges the 32nd behavior 1, the 33rd behavior 1.
2nd row of this data field arrange to the 15th, 14*256=32*112 byte altogether, and the service condition of the corresponding a kind of data category of every 32 bytes, corresponds respectively to the 16th��127 these 112 kinds of data categories in order. 32 bytes have 32*8=256 position altogether, start the service condition of highest order the 0th��255 data of corresponding corresponding data category respectively to the 32nd byte from the lowest order of the 1st byte, and 1 represents that corresponding data use, and 0 expression does not use. In the controller data summary table of Fig. 9, the 17th row only 0 row and 1 row have use, so the 2nd numerical value arranging the 32nd row is 00000011.
Additionally, the data of the 0th��15 row must be carried out assignment according to its tables of data by each controller. Other controllers by read this controller these data it is known which data this controller has be effective. In order to save data read time, first have to read 2��15 row of the 0th row, determine which row whether have use, then for the row having use, read the service condition of the section of respective column in the 32��255 of the 0th row again, again for the situation using section, read the data service condition of corresponding section in the 2nd��15 row. Preferably, if the time can accept, it is possible to directly read all data of the 2nd��15 row, it is possible to which data that have knowing tables of data are effective.
As can be seen from the above description, present invention achieves following technique effect:
In above-mentioned tables of data, each data type has abundant data space for defining data sense, it is possible to along with follow-up development re-defines undefined part. The set of the data of defined part is exactly data summary tables so that data summary table possesses autgmentability.
In above-mentioned tables of data, having abundant data type, by practical situations, only use now several, also have a lot of data types for follow-up definition, therefore data type also possesses autgmentability.
In above-mentioned control system, each equipment has an address, and address and equipment do not have binding relationship, is intended merely to the relevant differentiation realizing equipment on same data communication bus. As it is shown in fig. 7, the address of display panel can not be 1, outer machine controller can not also be 4, in this bus if necessary, it is possible to have multiple outer machine controller, but the address of the controller of bus must be all different. 1st behavior device type of the 16th row of the tables of data of each controller, then be fixing, and the device type such as display panel is 0, and the type of outer machine controller is 1. All can access various types of controller in the bus, it is also possible to access multiple same type of controller. It is freely that controller is accessed, extendible.
In above-mentioned control system, each controller has initiative in communication, can obtain and revise the information of other controllers; Although the tables of data of any controller is also different, but it is all the subset of controller data summary table, each controller can define situation according to the data of data summary table, know how the data obtained and amendment needs, simultaneously the analysis mode of data also can be learnt from data type, the transmission of all data and what deciphering was possible to.
In the present invention, when air conditioning unit controller carries out data interaction, mutual control information is arranged to predetermined frame form, the parameter of controller is added in controller data summary table simultaneously, data exchange process is identified by the parameter in controller data summary table and is resolved the control information of predetermined frame form, can realize by increasing the parameter in controller data summary table, increase the function of controller, solve the problem that during air conditioning unit data communication in correlation technique, autgmentability is poor, make air conditioning unit there is when data communication good autgmentability, simultaneously, also the parsing difficulty of data is reduced.
Obviously, those skilled in the art should be understood that, each module of the above-mentioned present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or it is distributed on the network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, can be stored in storage device is performed by calculation element, and in some cases, shown or described step can be performed with the order being different from herein, or they are fabricated to respectively each integrated circuit modules, or the multiple modules in them or step are fabricated to single integrated circuit module realize. so, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations. All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (11)

1. data interactive method one kind air conditioning unit, it is characterised in that including:
The first air conditioning unit controller receives the control information meeting predetermined frame form that described air conditioning unit second controller sends;
The described control information meeting predetermined frame form is resolved by described first controller according to the controller data summary table of storage in data base, obtain the control instruction in described control information, wherein, described controller data summary table have recorded the parameter of the multiple controllers including described first controller and described second controller;
Described first controller performs the operation indicated by described control instruction;
Parameter corresponding in described first controller is joined in described controller data summary table according to the total tableau format of described controller data by described first controller when joining in the communication network including described second controller.
2. method according to claim 1, it is characterized in that, the described control information meeting predetermined frame form is resolved by described first controller according to the controller data summary table of storage in data base, and the step obtaining the control instruction in described control information includes:
Described first controller obtains the function code in the control information of described predetermined frame form, data type, data initial address and data length;
Described first controller generates control instruction according to the function code got, data type, data initial address and data length, wherein, described control instruction is for indicating the operation that data area that start in described controller data summary table, that length is described data length performs the instruction of described function code from the described data initial address described data type.
3. method according to claim 2, it is characterised in that the operation that described first controller performs indicated by described control instruction includes:
Data area that start from the described data initial address described data type in described controller data summary table, that length is described data length is performed the operation of described function code instruction by described first controller in response to described control instruction, wherein, the operation of described function code instruction includes at least one of: inquiry and setting.
4. method according to claim 3, it is characterized in that, the step of the operation that data area that start from the described data initial address described data type in described controller data summary table, that length is described data length is performed the instruction of described function code by described first controller in response to described control instruction includes:
Described first controller obtains, from described controller data summary table, the data storage areas that described data type is corresponding in response to described control instruction;
Described first controller described data initial address from described data storage areas starts to obtain the value in the corresponding data region that length is described data length;
The value in the corresponding data region got is packaged into response message according to described predetermined frame form by described first controller;
The response message being packaged into is returned to described second controller by described first controller.
5. method according to claim 3, it is characterized in that, the step of the operation that data area that start from the described data initial address described data type in described controller data summary table, that length is described data length is performed the instruction of described function code by described first controller in response to described control instruction includes:
Described first controller obtains, from described controller data summary table, the data storage areas that described data type is corresponding in response to described control instruction;
Described first controller described data initial address from described data storage areas starts to obtain the corresponding data region that length is described data length;
The corresponding data area update got is the data value to be updated of correspondence in described control instruction by described first controller, wherein, the value one_to_one corresponding of the data value to be updated that the number of the data value to be updated carried in described control instruction is identical with the number of the value of described data area and carries in described control instruction and described data area.
6. method according to claim 1, it is characterised in that before described first controller receives the control information meeting predetermined frame form that second controller sends, also include:
Arranging instruction information in described controller data summary table, wherein, described parameter includes controlled data and status data, and described instruction information is for indicating described parameter memory area in described controller data summary table.
7. data interaction device one kind air conditioning unit, it is characterised in that be positioned at the first air conditioning unit controller, including:
Receive unit, for receiving the control information meeting predetermined frame form that described air conditioning unit second controller sends;
Resolution unit, for the described control information meeting predetermined frame form being resolved according to the controller data summary table of storage in data base, obtain the control instruction in described control information, wherein, described controller data summary table have recorded the parameter of the multiple controllers including described first controller and described second controller;
Performance element, for performing the operation indicated by described control instruction, wherein,
Parameter corresponding in described first controller is joined in described controller data summary table according to the total tableau format of described controller data by described first controller when joining in the communication network including described second controller.
8. device according to claim 7, it is characterised in that described resolution unit includes:
Acquisition module, is used for the function code, data type, data initial address and the data length that obtain in the control information of described predetermined frame form;
Generation module, for generating control command according to the function code got, data type, data initial address and data length, wherein, described control command is for indicating the operation that data area that start in described controller data summary table, that length is described data length performs the instruction of described function code from the described data initial address described data type.
9. device according to claim 8, it is characterized in that, described performance element is additionally operable in response to described control instruction, data area that start in described controller data summary table, that length is described data length be performed the operation of described function code instruction from the described data initial address described data type.
10. device according to claim 9, it is characterised in that described performance element includes: enquiry module, described enquiry module includes:
First response submodule, for obtaining, from described controller data summary table, the data storage areas that described data type is corresponding in response to described control instruction;
First obtains submodule, starts to obtain the value in the corresponding data region that length is described data length for the described data initial address from described data storage areas;
Encapsulation submodule, the value for obtaining the corresponding data region that submodule gets by described first is packaged into response message according to described predetermined frame form;
Return submodule, for the response message being packaged into is returned to described second controller.
11. device according to claim 9, it is characterised in that described performance element also includes: arranging module, the described module that arranges includes:
Second response submodule, for obtaining, from described controller data summary table, the data storage areas that described data type is corresponding in response to described control instruction;
Second obtains submodule, starts to obtain the corresponding data region that length is described data length for the described data initial address from described data storage areas;
Update submodule, the corresponding data area update got for obtaining submodule by described second is data value to be updated corresponding in described control instruction, wherein, the value one_to_one corresponding of the data value to be updated that the number of the data value to be updated carried in described control instruction is identical with the number of the value of described data area and carries in described control instruction and described data area.
CN201210052580.XA 2012-03-01 2012-03-01 Air conditioning unit data interactive method and device Expired - Fee Related CN103292414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210052580.XA CN103292414B (en) 2012-03-01 2012-03-01 Air conditioning unit data interactive method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210052580.XA CN103292414B (en) 2012-03-01 2012-03-01 Air conditioning unit data interactive method and device

Publications (2)

Publication Number Publication Date
CN103292414A CN103292414A (en) 2013-09-11
CN103292414B true CN103292414B (en) 2016-06-08

Family

ID=49093713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210052580.XA Expired - Fee Related CN103292414B (en) 2012-03-01 2012-03-01 Air conditioning unit data interactive method and device

Country Status (1)

Country Link
CN (1) CN103292414B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106032915B (en) * 2015-03-18 2020-07-07 青岛海尔空调电子有限公司 Control method of multi-split air conditioning system and indoor unit
CN104833055B (en) * 2015-05-07 2018-02-16 珠海格力电器股份有限公司 The method and apparatus of multi-online air-conditioning system data transfer
CN105864959B (en) * 2016-03-31 2018-12-28 北京博锐尚格节能技术股份有限公司 A kind of water collecting and diversifying device controller
CN110768939B (en) * 2018-07-27 2020-12-04 珠海格力电器股份有限公司 Data frame configuration method, equipment control method and equipment control system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1707189A (en) * 2004-06-07 2005-12-14 无锡小天鹅中央空调有限公司 Multiple air conditioner indoor machine operating control method
EP2166292A2 (en) * 2008-09-17 2010-03-24 Samsung Electronics Co., Ltd. Communication method for air conditioner using different communication schemes
CN101989376A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Intelligent home control system
CN102081361A (en) * 2010-11-29 2011-06-01 广东威创视讯科技股份有限公司 Hardware equipment control method and system
WO2011111956A2 (en) * 2010-03-08 2011-09-15 Lg Electronics Inc. Air conditioning system and controlling method thereof
CN102374610A (en) * 2010-08-05 2012-03-14 三星电子株式会社 Power device and safety control method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1707189A (en) * 2004-06-07 2005-12-14 无锡小天鹅中央空调有限公司 Multiple air conditioner indoor machine operating control method
EP2166292A2 (en) * 2008-09-17 2010-03-24 Samsung Electronics Co., Ltd. Communication method for air conditioner using different communication schemes
CN101989376A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Intelligent home control system
WO2011111956A2 (en) * 2010-03-08 2011-09-15 Lg Electronics Inc. Air conditioning system and controlling method thereof
CN102374610A (en) * 2010-08-05 2012-03-14 三星电子株式会社 Power device and safety control method thereof
CN102081361A (en) * 2010-11-29 2011-06-01 广东威创视讯科技股份有限公司 Hardware equipment control method and system

Also Published As

Publication number Publication date
CN103292414A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN103292414B (en) Air conditioning unit data interactive method and device
US7275236B1 (en) Method for programming a multiple device control system using object sharing
ES2658173T3 (en) A protocol converter
AU2019454205B2 (en) Method and device for IP address allocation and topology management in DAS system, and storage medium
CN101635645A (en) Method and device for managing network topology
CN101996148A (en) Instrument test board configuration method for a plurality of communication protocols
CN105162732A (en) Method and device for creating expansion port
CA2435068C (en) Gateway apparatus and gateway setup tool
CN111478837B (en) Data communication method, air conditioner, air conditioning system and storage medium
CN111654844A (en) Device pairing method and related device and device
CN109542043A (en) A kind of digital control system management method and device based on plug-in unit
CN106032915B (en) Control method of multi-split air conditioning system and indoor unit
CN114967952A (en) Cursor control method and device, storage medium and video processing equipment
CN108989117B (en) Configuration method of communication protocol, wireless communication device and household appliance
CN102354275A (en) Text input box and data processing method thereof
JP2010258865A (en) Field apparatus
KR20190049217A (en) Unified Interface System For Heterogeneous Machine Tool Controller
CN108092959B (en) BACnet protocol analysis method based on configuration
CN108415745A (en) A kind of method of UI controls manipulation smart machine on mobile terminal
US20120272222A1 (en) Software Tool for Automation
CN107561950B (en) Programming method of controller in building and server for providing programming tool of controller
CN106143353B (en) A kind of vehicle-mounted electronic control unit module method for refreshing and system
CN108924080A (en) A kind of pseudo-function means of communication
US9645556B2 (en) Automation device
JP2016527598A (en) Integration of FDT / DTM technology into system level configuration applications for integrated device configuration management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160608