CN103472779B - The method of Smart Home building control system and access air-conditioning system thereof - Google Patents

The method of Smart Home building control system and access air-conditioning system thereof Download PDF

Info

Publication number
CN103472779B
CN103472779B CN201310388772.2A CN201310388772A CN103472779B CN 103472779 B CN103472779 B CN 103472779B CN 201310388772 A CN201310388772 A CN 201310388772A CN 103472779 B CN103472779 B CN 103472779B
Authority
CN
China
Prior art keywords
data
hbs
indoor set
byte
tcp
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.)
Active
Application number
CN201310388772.2A
Other languages
Chinese (zh)
Other versions
CN103472779A (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.)
Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Original Assignee
Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Hitachi Air Conditioning System Co Ltd filed Critical Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Priority to CN201310388772.2A priority Critical patent/CN103472779B/en
Publication of CN103472779A publication Critical patent/CN103472779A/en
Application granted granted Critical
Publication of CN103472779B publication Critical patent/CN103472779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a kind of method of Smart Home building control system and access air-conditioning system thereof, this system comprises: Smart Home building controller, for being controlled each Smart Home by the LAN (Local Area Network) based on ICP/IP protocol; Air-conditioning system, it comprises at least one off-premises station and multiple indoor set of being connected by HBS bus; Communication protocol conversion device, for after the TCP/IP addressing requirement receiving the transmission of Smart Home building controller, sends the requirement of HBS off-premises station by HBS bus; System address is obtained from the HBS off-premises station basic format data received; Send the HBS indoor set requirement of carrying system address; Smart Home building controller is sent to after the HBS indoor set basic format data of reception are converted to the data of TCP/IP basic format.In technical scheme of the present invention, Smart Home building control system can communicate with air-conditioning system, or controls each indoor set.

Description

The method of Smart Home building control system and access air-conditioning system thereof
Technical field
The present invention relates to field of air conditioning, particularly relate to the method for a kind of Smart Home building control system access air-conditioning system.
Background technology
Smart Home building control system utilizes the technology such as comprehensive wiring, network service, automatically control to realize networking, intelligently management to control the system of the Smart Homes such as household electrical appliance, communication facilities, security safety control equipment.
In recent years, along with consumers in general day by day increasing Smart Home building control system demand, consumer wish air-conditioning system to be brought in Smart Home building control system carry out management control.
At present, Smart Home building control system on market passes through usually based on TCP/IP(TransmissionControlProtocol/InternetProtocol, transmission control protocol/Internet Protocol) LAN (Local Area Network) of communications protocol and computer, the Smart Homes such as Web TV communicate, but often through HBS(HomeBusSystem between each equipment of air-conditioning system inside (such as indoor set and off-premises station), home bus system) bus communicates, the form meeting the Frame of TCP/IP communications protocol is incompatible with the form of the Frame meeting HBS bus protocol, cause existing Smart Home building to control system cannot directly communicate with air-conditioning system, thus air-conditioning system cannot be brought in existing Smart Home building control system carry out management control.
Therefore, be necessary for consumer and a kind of Smart Home building control system that can manage control air-conditioning system is provided.
Summary of the invention
The embodiment provides a kind of method of Smart Home building control system and access air-conditioning system thereof, realize the communication between air-conditioning and Smart Home building control system, reach the object included in Smart Home building control system by air-conditioning and carry out managing control.
According to an aspect of the present invention, provide a kind of Smart Home building control system, comprising:
Smart Home building controller, for being communicated with multiple Smart Home by the LAN (Local Area Network) based on TCP/IP communications protocol, is controlled each Smart Home;
Air-conditioning system, it comprises: at least one off-premises station be connected by HBS bus, and multiple indoor set;
Communication protocol conversion device, be connected by described LAN (Local Area Network) with described Smart Home building controller, and be connected by described HBS bus with described air-conditioning system, for after the TCP/IP addressing requirement receiving the transmission of described Smart Home building controller, send the requirement of HBS off-premises station by described HBS bus broadcast; After the HBS off-premises station basic format data receiving the reply of each off-premises station, obtain the system address carried respectively in each HBS off-premises station basic format data; For the system address of each acquisition, sent the HBS indoor set requirement of carrying this system address by described HBS bus broadcast, and receive the HBS indoor set basic format data of the indoor set reply with this system address; The HBS indoor set basic format data of reception are converted to the data of TCP/IP basic format:
By the byte being used for carrying system address and address of indoor unit in the HBS indoor set basic format data of a frame HBS basic format, respectively correspondence mappings is to the byte for carrying system address and address of indoor unit in the data of a frame TCP/IP basic format; Each byte of carrying indoor set state parameter will be used in these HBS indoor set basic format data, correspondence mappings is to each byte for carrying indoor set state parameter in the data of this TCP/IP basic format respectively, obtains the data of the TCP/IP basic format changed by these HBS indoor set basic format data;
Described communication protocol conversion device is also for being sent to described Smart Home building controller by the data of the TCP/IP be converted to basic format by described LAN (Local Area Network).
Further, described Smart Home building controller is also for after the data receiving the TCP/IP basic format that described communication protocol conversion device sends, therefrom parse origin system address, source address of indoor unit, and each indoor set state parameter, each indoor set state parameter parsed correspondence is had this origin system address, the indoor set of source address of indoor unit shows.
Preferably, the byte for carrying system address and address of indoor unit in described HBS indoor set basic format data, is specifically respectively the 4th byte of carrying origin system address and the 5th byte of carrying source address of indoor unit; And,
The byte for carrying system address and address of indoor unit in the data of described TCP/IP basic format, is specifically respectively the 9th, 10 bytes; And,
The each byte for carrying indoor set state parameter in described HBS indoor set basic format data, be specifically respectively the 10th, 11,12,13,15,19,21,22,23,26 bytes; And
In described HBS indoor set basic format data the 10th, 11,12,13,15,19,21,22,23, the indoor set state parameter of 26 bytes is specifically respectively:
Operation mode, air quantity, wind deflector position, design temperature, alarm code, tracheae temperature, freezing temperature, blowout temperature, inlet temperature, expansion valve opening.
Further, described indoor set, also for after the state of this indoor set changes, sends by described HBS bus the data that HBS changes form; And
The data of described communication protocol conversion device also for the HBS received being changed form are converted to the data that TCP/IP changes form:
Described HBS is changed the origin system address of the 4th byte in the data of form, the source address of indoor unit of the 5th byte, be mapped to a frame TCP/IP respectively and change the 9th in the data of form, 10 bytes; By this HBS change form data in be used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte for carrying indoor set state parameter in the data of described TCP/IP change form respectively successively, and the TCP/IP that the data obtaining changing form by this HBS are changed changes the data of form;
The data of described communication protocol conversion device also for the TCP/IP be converted to being changed form are sent to described Smart Home building controller by described LAN (Local Area Network).
Further, described Smart Home building controller, also for when controlling the state of an indoor set in described air-conditioning system, sends to described communication protocol conversion device the data that TCP/IP changes form by described LAN (Local Area Network); And
The data of described communication protocol conversion device also for the TCP/IP received being changed form are converted to the data that HBS changes form:
Described TCP/IP is changed the system address of the 9th byte, the address of indoor unit of the 10th byte in the data of form, be mapped to the goal systems address of the 6th byte in the data of a frame HBS change form, the target address of indoor unit of the 7th byte respectively; Described TCP/IP is changed and in the data of form, is used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte of carrying indoor set state parameter in the data of described HBS change form respectively successively, and the HBS that the data obtaining changing form by this TCP/IP are changed changes the data of form;
The data that the HBS of described communication protocol conversion device also for being converted to changes form are sent by described HBS bus.
According to another aspect of the present invention, additionally provide the method for a kind of Smart Home building control system access air-conditioning system, comprising:
Communication protocol conversion device, after the TCP/IP addressing requirement being received the transmission of the Smart Home building controller in described Smart Home building control system by LAN (Local Area Network), sends the requirement of HBS off-premises station by HBS bus broadcast;
Each off-premises station in the described air-conditioning system be connected with described HBS bus, receiving after described HBS off-premises station requires, replys HBS off-premises station basic format data;
Described communication protocol conversion device, after the HBS off-premises station basic format data receiving the reply of each off-premises station, obtains the system address carried respectively in each HBS off-premises station basic format data; And for the system address of each acquisition, sent the HBS indoor set requirement of carrying this system address by described HBS bus broadcast;
Each indoor set in the described air-conditioning system be connected with described HBS bus, confirmation receive the system address carried in the requirement of HBS indoor set identical with the system address of this indoor set after, reply HBS indoor set basic format data;
The HBS indoor set basic format data of reception are converted to the data of TCP/IP basic format by described communication protocol conversion device: by the byte being used for carrying system address and address of indoor unit in the HBS indoor set basic format data of a frame HBS basic format, and respectively correspondence mappings is to the byte for carrying system address and address of indoor unit in the data of a frame TCP/IP basic format; Each byte of carrying indoor set state parameter will be used in these HBS indoor set basic format data, correspondence mappings is to each byte for carrying indoor set state parameter in the data of this TCP/IP basic format respectively, obtains the data of the TCP/IP basic format changed by these HBS indoor set basic format data;
Afterwards, the data of the TCP/IP basic format be converted to are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device.
Further, after the data of the TCP/IP basic format be converted to are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device, also comprise:
Described Smart Home building controller is after the data receiving the TCP/IP basic format that described communication protocol conversion device sends, therefrom parse origin system address, source address of indoor unit, and each indoor set state parameter, each indoor set state parameter parsed correspondence is had this origin system address, the indoor set of source address of indoor unit shows.
Preferably, the byte for carrying system address and address of indoor unit in described HBS indoor set basic format data, is specifically respectively the 4th byte of carrying origin system address and the 5th byte of carrying source address of indoor unit; And,
The byte for carrying system address and address of indoor unit in the data of described TCP/IP basic format, is specifically respectively the 9th, 10 bytes; And,
The each byte for carrying indoor set state parameter in described HBS indoor set basic format data, be specifically respectively the 10th, 11,12,13,15,19,21,22,23,26 bytes; And,
In described HBS indoor set basic format data the 10th, 11,12,13,15,19,21,22,23, the indoor set state parameter of 26 bytes is specifically respectively:
Operation mode, air quantity, wind deflector position, design temperature, alarm code, tracheae temperature, freezing temperature, blowout temperature, inlet temperature, expansion valve opening.
Further, after the data of the TCP/IP basic format be converted to are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device, also comprise:
If the state of an indoor set in described air-conditioning system changes, then this indoor set sends by described HBS bus the data that HBS changes form;
Described communication protocol conversion device is converted into the data that TCP/IP changes form after receiving HBS to change the data of form: described HBS is changed the origin system address of the 4th byte in the data of form, the source address of indoor unit of the 5th byte, is mapped to a frame TCP/IP respectively and changes the 9th in the data of form, 10 bytes; By this HBS change form data in be used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte for carrying indoor set state parameter in the data of described TCP/IP change form respectively successively, and the TCP/IP that the data obtaining changing form by this HBS are changed changes the data of form;
The data that the TCP/IP be converted to changes form are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device.
Further, after the data of the TCP/IP basic format be converted to are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device, also comprise:
If the state of the indoor set that described Smart Home building controller controls in described air-conditioning system changes, then send to described communication protocol conversion device the data that TCP/IP changes form by described LAN (Local Area Network);
The data that the TCP/IP received is changed form by described communication protocol conversion device are converted to the data that HBS changes form: described TCP/IP is changed the system address of the 9th byte, the address of indoor unit of the 10th byte in the data of form, are mapped to the goal systems address of the 6th byte in the data of a frame HBS change form, the target address of indoor unit of the 7th byte respectively; Described TCP/IP is changed and in the data of form, is used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte of carrying indoor set state parameter in the data of described HBS change form respectively successively, and the HBS that the data obtaining changing form by this TCP/IP are changed changes the data of form;
The data that the HBS be converted to changes form are sent by described HBS bus by described communication protocol conversion device.
In technical scheme of the present invention, owing to being provided with communication protocol conversion device in Smart Home building control system, communication protocol conversion device can be changed mutually with the Frame meeting HBS bus protocol form the Frame meeting TCP/IP communications protocol form, thus Smart Home building control system can to access off-premises station in the air-conditioning system be connected with HBS bus and indoor set by communication protocol conversion device with the communication mode of TCP/IP communications protocol support, obtain the state parameter of each indoor set, or each indoor set is controlled, reach the object included in Smart Home building control system by air-conditioning and carry out managing control.
Accompanying drawing explanation
Fig. 1 is the configuration diagram of the Smart Home building control system of the embodiment of the present invention;
Fig. 2 is the process flow diagram of the Smart Home building control system access air-conditioning system of the embodiment of the present invention;
Fig. 3 is the process flow diagram of the Smart Home building controller monitoring indoor set state change of the embodiment of the present invention;
Fig. 4 is the process flow diagram that the Smart Home building controller of the embodiment of the present invention controls indoor set.
Embodiment
For making object of the present invention, technical scheme and advantage clearly understand, enumerate preferred embodiment referring to accompanying drawing, the present invention is described in more detail.But it should be noted that, the many details listed in instructions are only used to make reader to have a thorough understanding, even if do not have these specific details also can realize these aspects of the present invention to one or more aspect of the present invention.
The term such as " module " used in this application, " system " is intended to comprise the entity relevant to computing machine, such as but not limited to hardware, firmware, combination thereof, software or executory software.Such as, module can be, but be not limited in: the thread of the process that processor runs, processor, object, executable program, execution, program and/or computing machine.For example, application program computing equipment run and this computing equipment can be modules.One or more module can be positioned at an executory process and/or thread, and module also and/or can be distributed on a computing machine between two or more platform computing machines.
The present inventor considers, if can change mutually with the Frame meeting HBS bus protocol the Frame meeting TCP/IP communications protocol, then likely make Smart Home building control system can communicate with air-conditioning system, thus realize carrying out managing the function controlled to air-conditioning system.
Technical scheme of the present invention is described in detail below in conjunction with accompanying drawing.The configuration diagram of the Smart Home building control system that the embodiment of the present invention provides, as shown in Figure 1, comprise: Smart Home building controller 101 and communication protocol conversion device 102, air-conditioning system 103, and other Smart Home (not marking in figure) except air-conditioning system.
Wherein, Smart Home building controller 101, for being communicated with multiple Smart Home by the LAN (Local Area Network) based on TCP/IP communications protocol, is controlled each Smart Home.
Communication protocol conversion device 102 is connected with Smart Home building controller 101 by the LAN (Local Area Network) based on TCP/IP communications protocol.
Air-conditioning system 103 generally includes off-premises station 901 and indoor set 902.Off-premises station 901 in air-conditioning system is at least 1, and each off-premises station 901 can be with multiple indoor set 902, forms a unit.Such as air-conditioning system can comprise M unit, for each unit, this unit comprises an off-premises station 901 and N number of indoor set 902, wherein, N≤4, off-premises station 901 in this unit and indoor set 902 share same system address, and each indoor set 902 in this unit has respective address of indoor unit; Namely air-conditioning system comprises M off-premises station 901, M × N number of indoor set 902, and corresponding exists M system address, M × N number of address of indoor unit, wherein, and M≤16, (M × N)≤64.
Each indoor set 902 in same unit is connected with the off-premises station 901 of this unit by HBS bus; The off-premises station 901 of each unit is also connected by HBS bus.
Communication protocol conversion device 102 is connected with each indoor set 902 with each off-premises station 901 in air-conditioning system respectively by HBS bus; Particularly, communication protocol conversion device 102 can access any HBS bus being connected with a unit in air-conditioning system.
For each off-premises station 901, this off-premises station, in order to the system address by this unit, sends to communication protocol conversion device 102 by HBS bus.
For each indoor set 902, this is used for indoor machine with the indoor set state parameter gathering this indoor set, and sends to communication protocol conversion device 102 by HBS bus; And this indoor set carries out corresponding control operation according to the steering order received to this indoor set.
Communication protocol conversion device 102 obtains indoor set state parameter from each indoor set 902 respectively by HBS bus; And by HBS bus to each indoor set 902 sending controling instruction.
A kind of Smart Home building control system access air-conditioning system that the embodiment of the present invention provides, the method monitored air-conditioning system, particular flow sheet as shown in Figure 2, can comprise the steps:
S201: Smart Home building controller 101 sends TCP/IP addressing requirement to communication protocol conversion device 102.
Particularly, Smart Home building controller 101, when monitoring the air-conditioning system of access first, sends TCP/IP addressing requirement by the LAN (Local Area Network) based on TCP/IP communications protocol to communication protocol conversion device 102.The data of one frame ICP/IP protocol generally include packet header, can comprise the inclusion carrying other content-data in addition, and the TCP/IP addressing requirement in the present invention can be specifically that a frame only includes packet header and do not have the ICP/IP protocol data of inclusion.
S202: after communication protocol conversion device 102 receives TCP/IP addressing requirement, sends the requirement of HBS off-premises station by HBS bus broadcast.
Particularly, communication protocol conversion device 102 is resolved it after receiving the data of a frame ICP/IP protocol by LAN (Local Area Network); If confirm to receive TCP/IP addressing requirement according to analysis result, then sent the HBS off-premises station requirement of predetermined format by HBS bus broadcast, it is the data that a frame meets HBS bus protocol form that HBS off-premises station requires.
S203: each off-premises station 901 be connected with HBS bus receives after HBS off-premises station requires, replys HBS off-premises station basic format data.
Particularly, for each off-premises station 901 of air-conditioning system 103, this off-premises station 901, after the data being received a frame HBS bus protocol by HBS bus, is resolved these data; If after confirming to receive the requirement of HBS off-premises station by analysis result, reply the HBS off-premises station basic format data carrying the system address of this off-premises station.In the HBS off-premises station basic format data of replying, the 4th byte carries the system address of this off-premises station.
S204: after communication protocol conversion device 102 receives each HBS off-premises station basic format data, parses the system address carried respectively in each HBS off-premises station basic format data.
Particularly, communication protocol conversion device 102, for the data of the every frame HBS bus format received by HBS bus, is resolved these data; If after confirming to receive HBS off-premises station basic format data by analysis result, parse the system address that in these HBS off-premises station basic format data, the 4th byte is carried.
S205: for resolving each system address obtained, communication protocol conversion device 102 sends the HBS indoor set requirement of carrying this system address by HBS bus broadcast.
Particularly, communication protocol conversion device 102 is for resolving each system address obtained, after this system address being set to the 6th byte of HBS indoor set requirement, send this HBS indoor set requirement by HBS bus broadcast, it is the data that a frame meets HBS bus protocol form that HBS indoor set requires.
S206: each indoor set 902 be connected with HBS bus, after the system address confirming to carry during the HBS indoor set received requires is identical with the system address of this indoor set, replys HBS indoor set basic format data.
Particularly, for each indoor set 902 of air-conditioning system 103, this indoor set is resolved these data after receiving the data of a frame HBS bus format by HBS bus; If after determining receive the requirement of HBS indoor set by analysis result, parse the system address carried in this HBS indoor set requirement, by the system address that parses compared with the system address of this indoor set; The system address parsed if judge is identical with the system address of this indoor set, then the system address of this indoor set and address of indoor unit are set to the byte being used for carrying system address and address of indoor unit in frame HBS indoor set basic format data by this indoor set respectively, and are set to respectively successively by the indoor set state parameter of this indoor set and are used for carrying in each byte of indoor set state parameter in these HBS indoor set basic format data; Afterwards, these HBS indoor set basic format data are replied to communication protocol conversion device 102 by HBS bus.
The byte for carrying system address and address of indoor unit in these HBS indoor set basic format data, can be respectively the 4th byte and the 5th byte; The each byte for carrying indoor set state parameter in these HBS indoor set basic format data, can be respectively the 10th, 11,12,13,15,19,21,22,23 and 26 bytes; And the indoor set state parameter that the 10th, 11,12,13,15,19,21,22,23 and 26 bytes are carried can be respectively: operation mode, air quantity, wind deflector position, design temperature, alarm code, tracheae temperature, freezing temperature, blowout temperature, inlet temperature and expansion valve opening.
S207: the HBS indoor set basic format data received are converted to TCP/IP basic format data by communication protocol conversion device 102.
In this step, communication protocol conversion device 102 is resolved these data after receiving the data of a frame HBS bus format by HBS bus; Receive the HBS indoor set basic format data of HBS basic format if determined by analysis result after, by the byte being used for carrying system address and address of indoor unit in these HBS indoor set basic format data, respectively correspondence mappings is to the byte for carrying system address and address of indoor unit in the data of a frame TCP/IP basic format; Each byte of carrying indoor set state parameter will be used in these HBS indoor set basic format data, correspondence mappings is to each byte for carrying indoor set state parameter in the data of this TCP/IP basic format respectively, obtains the data of the TCP/IP basic format converted to by HBS indoor set basic format data.
By the byte being used for carrying system address and address of indoor unit in these HBS indoor set basic format data, respectively correspondence mappings is to the byte for carrying system address and address of indoor unit in the data of a frame TCP/IP basic format, can be specifically by the origin system address of the 4th byte in these HBS indoor set basic format data and the source address of indoor unit of the 5th byte, correspondence mappings be to the 9th byte in the data of a frame TCP/IP basic format and the 10th byte respectively.
Each byte of carrying indoor set state parameter will be used in these HBS indoor set basic format data, correspondence mappings is to each byte for carrying indoor set state parameter in the data of this TCP/IP basic format respectively, can be specifically by the 10th, 11,12,13,15,19,21,22,23 and 26 bytes in these HBS indoor set basic format data, respectively correspondence mappings to the 11st in the data of this TCP/IP basic format, 12,13,14,15,16,17,18,19 and 20 bytes.
S208: the data of the TCP/IP basic format be converted to are sent to Smart Home building controller 101 by LAN (Local Area Network) by communication protocol conversion device 102.
S209: Smart Home building controller 101 is according to the data of the every frame TCP/IP basic format received, and the indoor set relate to the data of this TCP/IP basic format and each indoor set state parameter thereof carry out correspondence display.
Particularly, Smart Home building controller 101 is resolved these data after receiving the data of a frame TCP/IP form by LAN (Local Area Network); Receive the data of TCP/IP basic format if determined by analysis result after, then from the 9th data of this TCP/IP basic format, 10 bytes parse origin system address and source address of indoor unit respectively, and parse each indoor set state parameter respectively from the 11 to 20 byte the data of this TCP/IP basic format; The indoor set that the indoor set state parameter parsed correspondence has origin system address and the source address of indoor unit parsed is shown.Like this, Smart Home building controller 101 gets the state parameter of each indoor set of air-conditioning system 103, and shows, thus achieves the monitoring function to air-conditioning system 103.
Afterwards, if the state of an indoor set 902 in air-conditioning system changes, then Smart Home building controller 101 monitors the concrete grammar of the state change of indoor set 902, and process flow diagram as shown in Figure 3, comprises the steps:
S301: if the state of an indoor set 902 in air-conditioning system changes, then this indoor set sends by HBS bus the data that HBS changes form.
Particularly, if the state of an indoor set 902 in air-conditioning system changes, then this indoor set the system address of this indoor set and address of indoor unit are set to respectively HBS change form data in the 4th byte and the 5th byte in, each indoor set state parameter of this indoor set is set to HBS successively respectively by byte order change being used in the data of form and carry in each byte of indoor set state parameter, and this HBS is changed the data of form is sent by HBS bus.
This HBS changes each byte for carrying indoor set state parameter in the data of form, can be the byte that this HBS changes that in the data of form, the 7th byte is later.
S302: communication protocol conversion device 102 is after the data receiving HBS change form, and the data this HBS being changed form are converted to the data that TCP/IP changes form.
In this step, communication protocol conversion device 102 is resolved these data after receiving the data of a frame HBS bus format by HBS bus; If after determining that receiving HBS changes the data of form by analysis result, this HBS is changed the origin system address of the 4th byte in the data of form, the source address of indoor unit of the 5th byte, be mapped to a frame TCP/IP respectively and change the 9th in the data of form, 10 bytes; By this HBS change form data in be used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte for carrying indoor set state parameter in the data of this TCP/IP change form respectively successively, and the TCP/IP that the data obtaining changing form by this HBS are changed changes the data of form.
By this HBS change form data in be used for each byte of carrying indoor set state parameter, by byte order successively respectively correspondence mappings to change each byte for carrying indoor set state parameter in the data of form to this TCP/IP, can be particularly this HBS is changed the later byte order of the 7th byte in the data of form successively respectively correspondence mappings change the later byte of the 10th byte in the data of form to this TCP/IP.
S303: the data that the TCP/IP be converted to changes form are sent to Smart Home building controller 101 by LAN (Local Area Network) by communication protocol conversion device 102.
S304: Smart Home building controller 101 changes the data of form according to the TCP/IP received, each indoor set state parameter of the indoor set that the data upgrading this TCP/IP change form relate to.
Particularly, Smart Home building controller 101 is resolved these data after receiving the data of a frame TCP/IP form by LAN (Local Area Network); If after determining that receiving TCP/IP changes the data of form by analysis result, then change the 9th data of form from this TCP/IP, 10 bytes parse origin system address and source address of indoor unit respectively, and parse each indoor set state parameter respectively in the later byte of the 10th byte changed the data of form from this TCP/IP; Determine the indoor set with this origin system address and source address of indoor unit shown, by should indoor set display each indoor set state parameter be updated to each indoor set state parameter parsed.
If Smart Home building controller 101 needs to control the indoor set of in air-conditioning system 902, then concrete control method process flow diagram as shown in Figure 4, comprises the steps:
S401: Smart Home building controller 101 sends to communication protocol conversion device 102 data that TCP/IP changes form by LAN (Local Area Network).
Particularly, when Smart Home building controller 101 needs to control an indoor set 902 in air-conditioning system, the system address of this indoor set and address of indoor unit are set to respectively one frame TCP/IP change form data in the 9th byte and the 10th byte in, and by each indoor set state parameter of this indoor set by byte order be set to respectively successively this TCP/IP change form data in be used for carrying in each byte of indoor set parameter, afterwards, the data this TCP/IP being changed form are sent to communication protocol conversion device 102 by LAN (Local Area Network).
This TCP/IP change form data in for carry each byte of indoor set parameter can be this TCP/IP change form data in the 10th byte after each byte.
S402: the data that the TCP/IP received is changed form by communication protocol conversion device 102 are converted to the data that HBS changes form.
In this step, communication protocol conversion device 102 is resolved these data after receiving the data of a frame TCP/IP form by LAN (Local Area Network); If after determining that receiving TCP/IP changes the data of form by analysis result, then this TCP/IP is changed the system address of the 9th byte, the address of indoor unit of the 10th byte in the data of form, be mapped to the goal systems address of the 6th byte in the data of a frame HBS change form, the target address of indoor unit of the 7th byte respectively; By this TCP/IP change form data in be used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte for carrying indoor set state parameter in the data of this HBS change form respectively successively, and the HBS that the data obtaining changing form by this TCP/IP are changed changes the data of form.
By this TCP/IP change form data in be used for each byte of carrying indoor set state parameter, by byte order successively respectively correspondence mappings to this HBS change form data in each byte for carrying indoor set state parameter, can be specifically the later each byte of the 10th byte being used for carrying indoor set state parameter this TCP/IP changed in the data of form, by byte order successively respectively correspondence mappings to change the later each byte of the 7th byte in the data of form to this HBS.
S403: the data that the HBS be converted to changes form are sent by HBS bus broadcast by communication protocol conversion device 102.
S404: for each indoor set 902, this indoor set changes the data of form according to the HBS received, and changes the state parameter of this indoor set.
Particularly, for each indoor set 902, this indoor set is resolved these data after receiving the data of a frame HBS bus format by HBS bus; If after determining that receiving HBS changes the data of form by analysis result, then the 6th byte and the 7th byte that change the data of form from this HBS parse goal systems address, target address of indoor unit respectively; The goal systems address parsed, target address of indoor unit are compared with the system address of this indoor set, address of indoor unit respectively; If judge, goal systems address and target address of indoor unit are identical with address of indoor unit with the system address of this indoor set respectively, then from the HBS that receives change the data of form for carry indoor set state parameter each byte parse each indoor set state parameter respectively, and according to each indoor set state parameter parsed, each indoor set state parameter of corresponding this indoor set of change.
This HBS changes each byte for carrying indoor set state parameter of data of form, can be that this HBS changes the later each byte of the 7th byte of the data of form.
In the technical scheme of the embodiment of the present invention, owing to being provided with communication protocol conversion device in Smart Home building control system, communication protocol conversion device can be changed mutually with the Frame meeting HBS bus protocol form the Frame meeting TCP/IP communications protocol form, thus Smart Home building control system can to access off-premises station in the air-conditioning system be connected with HBS bus and indoor set by communication protocol conversion device with the communication mode of TCP/IP communications protocol support, obtain the state parameter of each indoor set, or each indoor set is controlled, reach the object included in Smart Home building control system by air-conditioning and carry out managing control.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a Smart Home building control system, is characterized in that, comprising:
Smart Home building controller, for being communicated with multiple Smart Home by the LAN (Local Area Network) based on TCP/IP communications protocol, is controlled each Smart Home;
Air-conditioning system, it comprises: at least one off-premises station be connected by HBS bus, and multiple indoor set;
Communication protocol conversion device, be connected by described LAN (Local Area Network) with described Smart Home building controller, and be connected by described HBS bus with described air-conditioning system, for after the TCP/IP addressing requirement receiving the transmission of described Smart Home building controller, send the requirement of HBS off-premises station by described HBS bus broadcast; After the HBS off-premises station basic format data receiving the reply of each off-premises station, obtain the system address carried respectively in each HBS off-premises station basic format data; For the system address of each acquisition, sent the HBS indoor set requirement of carrying this system address by described HBS bus broadcast, and receive the HBS indoor set basic format data of the indoor set reply with this system address; The HBS indoor set basic format data of reception are converted to the data of TCP/IP basic format:
By the byte being used for carrying system address and address of indoor unit in the HBS indoor set basic format data of a frame HBS basic format, respectively correspondence mappings is to the byte for carrying system address and address of indoor unit in the data of a frame TCP/IP basic format; Each byte of carrying indoor set state parameter will be used in these HBS indoor set basic format data, correspondence mappings is to each byte for carrying indoor set state parameter in the data of this TCP/IP basic format respectively, obtains the data of the TCP/IP basic format changed by these HBS indoor set basic format data;
Described communication protocol conversion device is also for being sent to described Smart Home building controller by the data of the TCP/IP be converted to basic format by described LAN (Local Area Network).
2. the system as claimed in claim 1, is characterized in that,
Described Smart Home building controller is also for after the data receiving the TCP/IP basic format that described communication protocol conversion device sends, therefrom parse origin system address, source address of indoor unit, and each indoor set state parameter, each indoor set state parameter parsed correspondence is had this origin system address, the indoor set of source address of indoor unit shows.
3. system as claimed in claim 2, it is characterized in that, the byte for carrying system address and address of indoor unit in described HBS indoor set basic format data, is specifically respectively the 4th byte of carrying origin system address and the 5th byte of carrying source address of indoor unit; And,
The byte for carrying system address and address of indoor unit in the data of described TCP/IP basic format, is specifically respectively the 9th, 10 bytes; And,
The each byte for carrying indoor set state parameter in described HBS indoor set basic format data, be specifically respectively the 10th, 11,12,13,15,19,21,22,23,26 bytes; And
In described HBS indoor set basic format data the 10th, 11,12,13,15,19,21,22,23, the indoor set state parameter of 26 bytes is specifically respectively:
Operation mode, air quantity, wind deflector position, design temperature, alarm code, tracheae temperature, freezing temperature, blowout temperature, inlet temperature, expansion valve opening.
4. system as claimed in claim 2, is characterized in that,
Described indoor set, also for after the state of this indoor set changes, sends by described HBS bus the data that HBS changes form; And
The data of described communication protocol conversion device also for the HBS received being changed form are converted to the data that TCP/IP changes form:
Described HBS is changed the origin system address of the 4th byte in the data of form, the source address of indoor unit of the 5th byte, be mapped to a frame TCP/IP respectively and change the 9th in the data of form, 10 bytes; By this HBS change form data in be used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte for carrying indoor set state parameter in the data of described TCP/IP change form respectively successively, and the TCP/IP that the data obtaining changing form by this HBS are changed changes the data of form;
The data of described communication protocol conversion device also for the TCP/IP be converted to being changed form are sent to described Smart Home building controller by described LAN (Local Area Network).
5. system as claimed in claim 4, is characterized in that,
Described Smart Home building controller, also for when controlling the state of an indoor set in described air-conditioning system, sends to described communication protocol conversion device the data that TCP/IP changes form by described LAN (Local Area Network); And
The data of described communication protocol conversion device also for the TCP/IP received being changed form are converted to the data that HBS changes form:
Described TCP/IP is changed the system address of the 9th byte, the address of indoor unit of the 10th byte in the data of form, be mapped to the goal systems address of the 6th byte in the data of a frame HBS change form, the target address of indoor unit of the 7th byte respectively; Described TCP/IP is changed and in the data of form, is used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte of carrying indoor set state parameter in the data of described HBS change form respectively successively, and the HBS that the data obtaining changing form by this TCP/IP are changed changes the data of form;
The data that the HBS of described communication protocol conversion device also for being converted to changes form are sent by described HBS bus.
6. a method for Smart Home building control system access air-conditioning system, comprising:
Communication protocol conversion device, after the TCP/IP addressing requirement being received the transmission of the Smart Home building controller in described Smart Home building control system by LAN (Local Area Network), sends the requirement of HBS off-premises station by HBS bus broadcast;
Each off-premises station in the described air-conditioning system be connected with described HBS bus, receiving after described HBS off-premises station requires, replys HBS off-premises station basic format data;
Described communication protocol conversion device, after the HBS off-premises station basic format data receiving the reply of each off-premises station, obtains the system address carried respectively in each HBS off-premises station basic format data; And for the system address of each acquisition, sent the HBS indoor set requirement of carrying this system address by described HBS bus broadcast;
Each indoor set in the described air-conditioning system be connected with described HBS bus, confirmation receive the system address carried in the requirement of HBS indoor set identical with the system address of this indoor set after, reply HBS indoor set basic format data;
The HBS indoor set basic format data of reception are converted to the data of TCP/IP basic format by described communication protocol conversion device: by the byte being used for carrying system address and address of indoor unit in the HBS indoor set basic format data of a frame HBS basic format, and respectively correspondence mappings is to the byte for carrying system address and address of indoor unit in the data of a frame TCP/IP basic format; Each byte of carrying indoor set state parameter will be used in these HBS indoor set basic format data, correspondence mappings is to each byte for carrying indoor set state parameter in the data of this TCP/IP basic format respectively, obtains the data of the TCP/IP basic format changed by these HBS indoor set basic format data;
Afterwards, the data of the TCP/IP basic format be converted to are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device.
7. method as claimed in claim 6, is characterized in that, after the data of the TCP/IP basic format be converted to are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device, also comprise:
Described Smart Home building controller is after the data receiving the TCP/IP basic format that described communication protocol conversion device sends, therefrom parse origin system address, source address of indoor unit, and each indoor set state parameter, each indoor set state parameter parsed correspondence is had this origin system address, the indoor set of source address of indoor unit shows.
8. method as claimed in claim 7, it is characterized in that, the byte for carrying system address and address of indoor unit in described HBS indoor set basic format data, is specifically respectively the 4th byte of carrying origin system address and the 5th byte of carrying source address of indoor unit; And,
The byte for carrying system address and address of indoor unit in the data of described TCP/IP basic format, is specifically respectively the 9th, 10 bytes; And,
The each byte for carrying indoor set state parameter in described HBS indoor set basic format data, be specifically respectively the 10th, 11,12,13,15,19,21,22,23,26 bytes; And,
In described HBS indoor set basic format data the 10th, 11,12,13,15,19,21,22,23, the indoor set state parameter of 26 bytes is specifically respectively:
Operation mode, air quantity, wind deflector position, design temperature, alarm code, tracheae temperature, freezing temperature, blowout temperature, inlet temperature, expansion valve opening.
9. method as claimed in claim 7, is characterized in that, after the data of the TCP/IP basic format be converted to are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device, also comprise:
If the state of an indoor set in described air-conditioning system changes, then this indoor set sends by described HBS bus the data that HBS changes form;
Described communication protocol conversion device is converted into the data that TCP/IP changes form after receiving HBS to change the data of form: described HBS is changed the origin system address of the 4th byte in the data of form, the source address of indoor unit of the 5th byte, is mapped to a frame TCP/IP respectively and changes the 9th in the data of form, 10 bytes; By this HBS change form data in be used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte for carrying indoor set state parameter in the data of described TCP/IP change form respectively successively, and the TCP/IP that the data obtaining changing form by this HBS are changed changes the data of form;
The data that the TCP/IP be converted to changes form are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device.
10. method as claimed in claim 9, is characterized in that, after the data of the TCP/IP basic format be converted to are sent to described Smart Home building controller by described LAN (Local Area Network) by described communication protocol conversion device, also comprise:
If the state of the indoor set that described Smart Home building controller controls in described air-conditioning system changes, then send to described communication protocol conversion device the data that TCP/IP changes form by described LAN (Local Area Network);
The data that the TCP/IP received is changed form by described communication protocol conversion device are converted to the data that HBS changes form: described TCP/IP is changed the system address of the 9th byte, the address of indoor unit of the 10th byte in the data of form, are mapped to the goal systems address of the 6th byte in the data of a frame HBS change form, the target address of indoor unit of the 7th byte respectively; Described TCP/IP is changed and in the data of form, is used for each byte of carrying indoor set state parameter, by byte order, correspondence mappings is to each byte of carrying indoor set state parameter in the data of described HBS change form respectively successively, and the HBS that the data obtaining changing form by this TCP/IP are changed changes the data of form;
The data that the HBS be converted to changes form are sent by described HBS bus by described communication protocol conversion device.
CN201310388772.2A 2013-08-30 2013-08-30 The method of Smart Home building control system and access air-conditioning system thereof Active CN103472779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310388772.2A CN103472779B (en) 2013-08-30 2013-08-30 The method of Smart Home building control system and access air-conditioning system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310388772.2A CN103472779B (en) 2013-08-30 2013-08-30 The method of Smart Home building control system and access air-conditioning system thereof

Publications (2)

Publication Number Publication Date
CN103472779A CN103472779A (en) 2013-12-25
CN103472779B true CN103472779B (en) 2016-02-10

Family

ID=49797670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310388772.2A Active CN103472779B (en) 2013-08-30 2013-08-30 The method of Smart Home building control system and access air-conditioning system thereof

Country Status (1)

Country Link
CN (1) CN103472779B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079624A (en) * 2014-05-09 2014-10-01 国云科技股份有限公司 Message access layer framework based on service and implementing method thereof
CN104079626A (en) * 2014-05-21 2014-10-01 四川长虹电器股份有限公司 Communication method for multiple indoor units and multiple outdoor units of air conditioners
CN104033990B (en) * 2014-05-30 2017-06-16 四川长虹电器股份有限公司 Air-conditioner host automatic alternate device and method
CN105444333A (en) * 2014-08-19 2016-03-30 青岛海信日立空调系统有限公司 Central air conditioner control system
CN105592018A (en) * 2014-10-30 2016-05-18 青岛海信日立空调系统有限公司 Protocol conversion method, device, and building automatic control system
CN106152386B (en) * 2015-04-15 2019-05-21 青岛海尔空调电子有限公司 A kind of processing method and processing device of AIR COND SIG Air Conditioner Singnal
CN105592069B (en) * 2015-11-13 2019-04-30 青岛海信日立空调系统有限公司 A kind of method for converting protocol, device and control system
CN106440042A (en) * 2016-10-19 2017-02-22 深圳沃海森科技有限公司 Intelligent constant temperature, constant humidity, constant cleanness and constant oxygen air conditioning system for building
CN108105938A (en) * 2017-12-11 2018-06-01 大连前锋科技发展有限公司 A kind of building air-conditioner control system
CN109373524B (en) * 2018-11-30 2020-11-24 青岛海信日立空调系统有限公司 Protocol conversion method and system for air conditioner to access cloud and air conditioning system
JP2020094797A (en) * 2018-12-03 2020-06-18 ダイキン工業株式会社 Device management system
CN110173843B (en) * 2019-05-21 2021-05-04 四川虹美智能科技有限公司 Multi-split air conditioner centralized control system and control method thereof
CN112769772A (en) * 2020-12-24 2021-05-07 青岛海信日立空调系统有限公司 Protocol conversion device for air conditioner and air conditioner control system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573247A (en) * 2003-06-19 2005-02-02 Lg电子株式会社 Central control system of air conditioners and method for operating the same
CN1854623A (en) * 2005-04-28 2006-11-01 Lg电子株式会社 Air conditioning system and method for controlling the same
CN101377335A (en) * 2007-08-30 2009-03-04 三星电子株式会社 Hybrid air-conditioning system and method for controlling the same
KR20090052742A (en) * 2007-11-21 2009-05-26 엘지전자 주식회사 Apparatus for central controlling and managing of multi-type air conditioning system and method thereof
CN101834769A (en) * 2010-03-31 2010-09-15 青岛海信日立空调系统有限公司 Two-way communication switching method of HBS (High Byte Strobe) bus communication protocol and RS-485 bus communication protocol
CN102589087A (en) * 2012-02-29 2012-07-18 青岛海尔空调电子有限公司 Wireless control method and wireless network system of air conditioner
CN103032920A (en) * 2011-10-10 2013-04-10 Lg电子株式会社 Air conditioner, air conditioning system having the same, and method for controlling outdoor unit of the system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573247A (en) * 2003-06-19 2005-02-02 Lg电子株式会社 Central control system of air conditioners and method for operating the same
CN1854623A (en) * 2005-04-28 2006-11-01 Lg电子株式会社 Air conditioning system and method for controlling the same
CN101377335A (en) * 2007-08-30 2009-03-04 三星电子株式会社 Hybrid air-conditioning system and method for controlling the same
KR20090052742A (en) * 2007-11-21 2009-05-26 엘지전자 주식회사 Apparatus for central controlling and managing of multi-type air conditioning system and method thereof
CN101834769A (en) * 2010-03-31 2010-09-15 青岛海信日立空调系统有限公司 Two-way communication switching method of HBS (High Byte Strobe) bus communication protocol and RS-485 bus communication protocol
CN103032920A (en) * 2011-10-10 2013-04-10 Lg电子株式会社 Air conditioner, air conditioning system having the same, and method for controlling outdoor unit of the system
CN102589087A (en) * 2012-02-29 2012-07-18 青岛海尔空调电子有限公司 Wireless control method and wireless network system of air conditioner

Also Published As

Publication number Publication date
CN103472779A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103472779B (en) The method of Smart Home building control system and access air-conditioning system thereof
CN103438548B (en) Based on the system and method for the Long-distance Control central air-conditioning of mobile terminal
CN102589087B (en) Wireless control method and wireless network system of air conditioner
CN104242465B (en) A kind of transformer substation remote monitoring system based on B/S and method
CN102297493B (en) Method and system for monitoring air conditioning units
CN103383128A (en) Centralized control system and control method for multi-connected central air conditioner
CN104049617A (en) Implementing method for home control system based on network and cloud technology
CN103994555A (en) Air-conditioning system
CN113036921B (en) Intelligent heat dissipation monitoring system of box-type substation
CN105652675A (en) Control method for intelligent household equipment, device, terminal and system
CN105159102A (en) Smart home appliance, smart home appliance system and method thereof
CN104791940A (en) Multi-online indoor unit and outdoor unit wireless communication method and multiple online
CN108662718B (en) Networking method and device of air conditioner
CN102681519A (en) Intelligent building control and monitoring management platform as well as corresponding control and monitoring management method
CN205448172U (en) Central air conditioning intelligence temperature controller and central air conditioning system
CN102889665B (en) Remote monitoring system and method for air conditioner
CN203413775U (en) Centralized controller and centralized control system of multi-union central air conditioner
CN106032915A (en) Control method for multi-split air-conditioning system, and indoor unit
CN208241667U (en) Multi-line system
CN202094936U (en) Fire alarm image-text system
CN101691946A (en) Network air conditioner
CN203907885U (en) Air conditioner, and wireless controller, information system and control system for air conditioner
CN110493338A (en) A kind of equipment mutual control method, system and computer readable storage medium
CN105333574A (en) Identification method for connection mode of base station air-conditioning system and base station air-conditioning system
EP2819349A1 (en) Communication device, communication method, and management device

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