CN101666534A - Air conditioner control system - Google Patents

Air conditioner control system Download PDF

Info

Publication number
CN101666534A
CN101666534A CN200910192460A CN200910192460A CN101666534A CN 101666534 A CN101666534 A CN 101666534A CN 200910192460 A CN200910192460 A CN 200910192460A CN 200910192460 A CN200910192460 A CN 200910192460A CN 101666534 A CN101666534 A CN 101666534A
Authority
CN
China
Prior art keywords
data
interface
middleware
air
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910192460A
Other languages
Chinese (zh)
Other versions
CN101666534B (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.)
FOSHAN ZHONGEWEI ELECTRONIC Co Ltd
Original Assignee
FOSHAN ZHONGEWEI ELECTRONIC 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 FOSHAN ZHONGEWEI ELECTRONIC Co Ltd filed Critical FOSHAN ZHONGEWEI ELECTRONIC Co Ltd
Priority to CN2009101924608A priority Critical patent/CN101666534B/en
Publication of CN101666534A publication Critical patent/CN101666534A/en
Application granted granted Critical
Publication of CN101666534B publication Critical patent/CN101666534B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an air conditioner control system which comprises a database, an air conditioner, middleware and server system software; when the server system software in the database is in running state, the server system software sends a command to the middleware by an Ethernet port based on a TCP/IP protocol; after receiving command data by the Ethernet port, the middleware decodes thedata by using a singlechip and transmits the data to an RS485 interface on the middleware through protocol conversion; the RS485 interface transmits the data to an RS485 interface on the air conditioner; the air conditioner invokes a corresponding command to process the data; also, the air conditioner transmits the data after being processed to an Ethernet interface on the server system software by the Ethernet interface; and a CPU decodes the data and stores result into the database by invoking a database storing command. The adoption of the scheme can realize the control of the air conditioner by a network at any time in any place and realize real-time monitoring, thereby being quite convenient for management and bringing great convenience to life and work.

Description

A kind of air-conditioner control system
Technical field:
The present invention relates to air-conditioning control technique field, refer in particular to a kind of air-conditioner control system.
Technical background:
Air-conditioning generally adopts IR remote controller to control at present, by this control mode domestic air conditioning is almost satisfied, but it is not all right to some user prerequisite front opening air-conditioning of wanting to go home, and need very not enough for the control of company and this type of hotel, require energy-conservation such as company, but some employee opens air-conditioner temperature very lowly, is very difficult central controlled with present IR remote controller.
Summary of the invention:
The objective of the invention is to overcome the deficiencies in the prior art, the air-conditioner control system that provides a kind of database easy to use or line control machine to unify to regulate and control.
For achieving the above object, technical scheme provided by the present invention is: a kind of air-conditioner control system, it includes database, air-conditioning, it also includes middleware, server system software, wherein, database is connected with the Ethernet interface of middleware by the Ethernet network interface, and the RS485 mouth of middleware is connected with the RS485 serial ports of air-conditioning; When the server system software in the database is in running status, server system software sends order by the Ethernet network interface based on ICP/IP protocol to middleware, middleware takes orders by Ethernet interface after the data, by single-chip microcomputer data are deciphered by protocol conversion again and to be sent to RS485 interface on the middleware, the RS485 interface is transferred on the RS485 interface on the air-conditioning again, air-conditioning calls corresponding order data is handled, and the data after handling are sent on the RS485 interface on the middleware by the RS485 interface; Single-chip microcomputer on the middleware is deciphered by protocol conversion data again and is sent on the Ethernet interface on the middleware; Ethernet interface is on the Ethernet interface that data is sent on the server system, and CPU deciphers processing to data, again the result is put into database by calling the database memory command.
The air-conditioner control system workflow: build-in services device systems soft ware at first, and make system be in running status, system provides visualization interface for the user, and corresponding order is arranged on the visual interface; On database, preserve corresponding information by setting up corresponding database, comprising having: the control code information of air-conditioning, air-conditioning status information, user profile, producer's information, air-conditioning fault message, when the air-conditioning return information, preserve the information of returning with top corresponding database;
Described server system software sends data and instruction process: server system software is by clicking corresponding order button, the corresponding program of this command calls, CPU orders corresponding procedure code by handling this, calls query sentence of database searching air conditioner control code database after program is carried out and takes out the corresponding command; Director data is accessed from database, sends in its Ethernet interface buffering area through server by socket socket and ICP/IP protocol; By Ethernet director data is passed to middleware, middleware is accepted the data that server sends by Ethernet interface; Ethernet chip is put into the reception buffering area to data after receiving data, single-chip microcomputer on the middleware reads in the data that Ethernet chip receives buffering area among the RAM by the SPI mouth, processor of single chip computer carries out protocol conversion to the data that receive, and converts the RS485 interface that RS485 interface protocol data re-send to air-conditioning to; 485 interfaces send to data 485 interface buffers of air-conditioning again; Air-conditioning is handled accordingly to the order that receives.
Described server system software is accepted data and instruction process: the transmitting and receiving data order of server system software elder generation, and CPU accepts data command by processing execution, after this command process, takes out corresponding order from air-conditioning control code database information storehouse; Director data is by being transferred to middleware by the Ethernet interface on the server, middleware is stored in the data that receive the buffering area of accepting of middleware, single-chip microcomputer on the middleware reads among the RAM by the data that the SPI mouth is accepted buffering area to Ethernet with chip, processor of single chip computer carries out protocol conversion to the data that receive, send to the RS485 interface on the middleware after the conversion, the RS485 interface sends the data to air-conditioning again, and air-conditioning calls corresponding order and handles; The structure of handling is sent on the RS485 interface on the middleware by the RS485 interface, the single-chip microcomputer of middleware data from the RS485 interface sends to RAM memory on the middleware single-chip microcomputer, single-chip microcomputer takes out data code decoding and sends to Ethernet interface on the middleware by protocol conversion again, Ethernet interface sends to Ethernet interface on the server system software to data, and CPU takes out data code decoding and by the database memory command data stored in the database.
The present invention is after having adopted such scheme, whole air-conditioning system is because the infra-red remote control control air-conditioning that adopted the server system software replacement, network air-conditioner can be monitored the temperature of air-conditioning in real time, and can minimum temperature be set by network air-conditioner, can reach air-conditioning centralized management and energy-conservation like this, but also have plenty of remote status inquiry and fault feedback, the main just maintenance of air-conditioning.
Description of drawings:
Fig. 1 is principle of the invention figure.
The specific embodiment:
The invention will be further described below in conjunction with accompanying drawing 1, preferred embodiment of the present invention is: a kind of air-conditioner control system, it includes database, air-conditioning, it also includes middleware, wherein, database is connected with the Ethernet interface of middleware by the Ethernet network interface, and the RS485 mouth of middleware is connected with the RS485 serial ports of air-conditioning; When the server system software in the database is in running status, server system software sends order by the Ethernet network interface based on ICP/IP protocol to middleware, middleware takes orders by Ethernet interface after the data, by single-chip microcomputer data are deciphered by protocol conversion again and to be sent to RS485 interface on the middleware, the RS485 interface is transferred on the RS485 interface on the air-conditioning again, air-conditioning calls corresponding order data is handled, and the data after handling are sent on the RS485 interface on the middleware by the RS485 interface; Single-chip microcomputer on the middleware is deciphered by protocol conversion data again and is sent on the Ethernet interface on the middleware; Ethernet interface is on the Ethernet interface that data is sent on the server system, and CPU deciphers processing to data, again the result is put into database by calling the database memory command.
The air-conditioner control system workflow:: build-in services device systems soft ware at first, and make system be in running status, system provides visualization interface for the user, and corresponding order is arranged on the visual interface; On database, preserve corresponding information by setting up corresponding database, comprising having: the control code information of air-conditioning, air-conditioning status information, user profile, producer's information, air-conditioning fault message, when the air-conditioning return information, preserve the information of returning with top corresponding database;
Server sends data and instruction process: server system software is by clicking corresponding order button, the corresponding program of this command calls, CPU orders corresponding procedure code by handling this, calls query sentence of database searching air conditioner control code database after program is carried out and takes out the corresponding command; Director data is accessed from database, sends in its Ethernet interface buffering area through server by socket socket and ICP/IP protocol; By Ethernet director data is passed to middleware, middleware is accepted the data that server sends by Ethernet interface; Ethernet chip is put into the reception buffering area to data after receiving data, single-chip microcomputer on the middleware reads in the data that Ethernet chip receives buffering area among the RAM by the SPI mouth, processor of single chip computer carries out protocol conversion to the data that receive, and converts the RS485 interface that RS485 interface protocol data re-send to air-conditioning to; 485 interfaces send to data 485 interface buffers of air-conditioning again; Air-conditioning is handled accordingly to the order that receives.
Server is accepted data and instruction process: the transmitting and receiving data order of server system software elder generation, and CPU accepts data command by processing execution, after this command process, takes out corresponding order from air-conditioning control code database information storehouse; Director data is by being transferred to middleware by the Ethernet interface on the server, middleware is stored in the data that receive the buffering area of accepting of middleware, single-chip microcomputer on the middleware reads among the RAM by the data that the SPI mouth is accepted buffering area to Ethernet with chip, processor of single chip computer carries out protocol conversion to the data that receive, send to the RS485 interface on the middleware after the conversion, the RS485 interface sends the data to air-conditioning again, and air-conditioning calls corresponding order and handles; The structure of handling is sent on the RS485 interface on the middleware by the RS485 interface, the single-chip microcomputer of middleware data from the RS485 interface sends to RAM memory on the middleware single-chip microcomputer, single-chip microcomputer takes out data code decoding and sends to Ethernet interface on the middleware by protocol conversion again, Ethernet interface sends to Ethernet interface on the server system software to data, and CPU takes out data code decoding and by the database memory command data stored in the database.
Whole air-conditioning system is because the infra-red remote control control air-conditioning that adopted the server system software replacement can be realized controlling air-conditioning by network whenever and wherever possible, and monitor in real time, and extremely convenient management brings great convenience to live and work.
The embodiment of the above is preferred embodiment of the present invention only, is not to limit practical range of the present invention with this, so the variation that all shapes according to the present invention, principle are done all should be encompassed in protection scope of the present invention.

Claims (3)

1, a kind of air-conditioner control system, it includes database, air-conditioning is characterized in that: it also includes middleware, server system software, wherein, database is connected with the Ethernet interface of middleware by the Ethernet network interface, and the RS485 mouth of middleware is connected with the RS485 serial ports of air-conditioning; When the server system software in the database is in running status, server system software sends order by the Ethernet network interface based on ICP/IP protocol to middleware, middleware takes orders by Ethernet interface after the data, by single-chip microcomputer data are deciphered by protocol conversion again and to be sent to RS485 interface on the middleware, the RS485 interface is transferred on the RS485 interface on the air-conditioning again, air-conditioning calls corresponding order data is handled, and the data after handling are sent on the RS485 interface on the middleware by the RS485 interface; Single-chip microcomputer on the middleware is deciphered by protocol conversion data again and is sent on the Ethernet interface on the middleware; Ethernet interface is on the Ethernet interface that data is sent on the server system, and CPU deciphers processing to data, again the result is put into database by calling the database memory command;
The air-conditioner control system workflow: build-in services device systems soft ware at first, and make system be in running status, system provides visualization interface for the user, and corresponding order is arranged on the visual interface; On database, preserve corresponding information by setting up corresponding database, comprising having: the control code information of air-conditioning, air-conditioning status information, user profile, producer's information, air-conditioning fault message, when the air-conditioning return information, preserve the information of returning with top corresponding database.
2, a kind of air-conditioner control system according to claim 1: it is characterized in that: server system software sends data and instruction process: server system software is by clicking corresponding order button, the corresponding program of this command calls, CPU orders corresponding procedure code by handling this, calls query sentence of database searching air conditioner control code database after program is carried out and takes out the corresponding command; Director data is accessed from database, sends in its Ethernet interface buffering area through server by socket socket and ICP/IP protocol; By Ethernet director data is passed to middleware, middleware is accepted the data that server sends by Ethernet interface; Ethernet chip is put into the reception buffering area to data after receiving data, single-chip microcomputer on the middleware reads in the data that Ethernet chip receives buffering area among the RAM by the SPI mouth, processor of single chip computer carries out protocol conversion to the data that receive, and converts the RS485 interface that RS485 interface protocol data re-send to air-conditioning to; 485 interfaces send to data 485 interface buffers of air-conditioning again; Air-conditioning is handled accordingly to the order that receives.
3, a kind of air-conditioner control system according to claim 1: it is characterized in that: server system software is accepted data and instruction process: the transmitting and receiving data order of server system software elder generation, CPU accepts data command by processing execution, after this command process, from air-conditioning control code database information storehouse, take out corresponding order; Director data is by being transferred to middleware by the Ethernet interface on the server, middleware is stored in the data that receive the buffering area of accepting of middleware, single-chip microcomputer on the middleware reads among the RAM by the data that the SPI mouth is accepted buffering area to Ethernet with chip, processor of single chip computer carries out protocol conversion to the data that receive, send to the RS485 interface on the middleware after the conversion, the RS485 interface sends the data to air-conditioning again, and air-conditioning calls corresponding order and handles; The structure of handling is sent on the RS485 interface on the middleware by the RS485 interface, the single-chip microcomputer of middleware data from the RS485 interface sends to RAM memory on the middleware single-chip microcomputer, single-chip microcomputer takes out data code decoding and sends to Ethernet interface on the middleware by protocol conversion again, Ethernet interface sends to Ethernet interface on the server system software to data, and CPU takes out data code decoding and by the database memory command data stored in the database.
CN2009101924608A 2009-09-18 2009-09-18 Air conditioner control system Expired - Fee Related CN101666534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101924608A CN101666534B (en) 2009-09-18 2009-09-18 Air conditioner control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101924608A CN101666534B (en) 2009-09-18 2009-09-18 Air conditioner control system

Publications (2)

Publication Number Publication Date
CN101666534A true CN101666534A (en) 2010-03-10
CN101666534B CN101666534B (en) 2011-11-09

Family

ID=41803260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101924608A Expired - Fee Related CN101666534B (en) 2009-09-18 2009-09-18 Air conditioner control system

Country Status (1)

Country Link
CN (1) CN101666534B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102721141A (en) * 2012-05-31 2012-10-10 广东欧科空调制冷有限公司 Control system and control method for direct-current brushless fan coil unit
CN103327012A (en) * 2013-05-30 2013-09-25 江西洪都航空工业集团有限责任公司 All-purpose RS232/422/485 data receiving method based on communication protocol
CN103388885A (en) * 2012-05-08 2013-11-13 珠海格力电器股份有限公司 Control method, device and system of air conditioning system
WO2015024260A1 (en) * 2013-08-23 2015-02-26 华为技术有限公司 Data transmission method, user equipment and proxy equipment
CN104633858A (en) * 2015-01-29 2015-05-20 株洲南车时代电气股份有限公司 Air conditioner system control device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1198092C (en) * 2003-03-25 2005-04-20 贵州汇通华城楼宇科技有限公司 Integrated control method of energy-saving control system for central air conditioning and its sensor module
KR100529952B1 (en) * 2004-03-22 2005-11-22 엘지전자 주식회사 Multi air conditioner's central control system and its operating method
CN2898692Y (en) * 2006-01-25 2007-05-09 南晓楚 Intelligent energy-saving control system of central air conditioner

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103388885A (en) * 2012-05-08 2013-11-13 珠海格力电器股份有限公司 Control method, device and system of air conditioning system
CN102721141A (en) * 2012-05-31 2012-10-10 广东欧科空调制冷有限公司 Control system and control method for direct-current brushless fan coil unit
CN102721141B (en) * 2012-05-31 2014-10-29 广东欧科空调制冷有限公司 Control system and control method for direct-current brushless fan coil unit
CN103327012A (en) * 2013-05-30 2013-09-25 江西洪都航空工业集团有限责任公司 All-purpose RS232/422/485 data receiving method based on communication protocol
WO2015024260A1 (en) * 2013-08-23 2015-02-26 华为技术有限公司 Data transmission method, user equipment and proxy equipment
CN104769906A (en) * 2013-08-23 2015-07-08 华为技术有限公司 Data transmission method, user device and proxy device
CN104633858A (en) * 2015-01-29 2015-05-20 株洲南车时代电气股份有限公司 Air conditioner system control device
CN104633858B (en) * 2015-01-29 2017-09-08 株洲南车时代电气股份有限公司 A kind of air-conditioning system control device

Also Published As

Publication number Publication date
CN101666534B (en) 2011-11-09

Similar Documents

Publication Publication Date Title
CN101666534B (en) Air conditioner control system
CN103034217B (en) Monitoring control method of intelligent home gateway based on internet of things
US10353361B2 (en) Smart device control system
CN102297493B (en) Method and system for monitoring air conditioning units
CN104317255A (en) Internet-of-things-based intelligent household control system
EP1953469B1 (en) Integrated management system and method using enhanced remote communication protocal for controlling multi-type air conditioners
CN202254104U (en) Air conditioner monitoring system
CN104838212A (en) Air conditioning system
CN202230371U (en) Intelligent home control system
CN105721564A (en) Data acquisition method and system based on industrial Internet of things
CN104794873A (en) Remote controller and household electrical appliance bidirectional communication control method, remote controller and remote control system
CN108919668A (en) A kind of intelligent home control system based on NB-IOT
CN105849789B (en) It manages to the control by the controllable electronic equipment of infrared control signal
WO2017041258A1 (en) Smart home appliance wireless control system
KR20130103102A (en) Remote building automation control system and method for building energy facilities
CN203745859U (en) Remote monitoring system for air-conditioner room
CN105006120A (en) Internet-of-Things system for electric appliances of building
JP6216322B2 (en) Energy consuming equipment control device, energy consuming equipment control method, and energy consuming equipment control system
CN101691946A (en) Network air conditioner
CN106581717A (en) Control system for household disinfection cabinet
KR102463605B1 (en) System for automating work by internet of things
CN104360658A (en) Intelligent building control system based on field bus
CN206822870U (en) A kind of control system of Domestic sterilising cupboard
CN108965072B (en) Intelligent gateway external equipment association control method
CN108224685A (en) Air-conditioning tele-control system based on power carrier

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: 20111109

Termination date: 20210918