CN109654671B - Air conditioning system data transmission method, controller and air conditioning system - Google Patents
Air conditioning system data transmission method, controller and air conditioning system Download PDFInfo
- Publication number
- CN109654671B CN109654671B CN201811653493.3A CN201811653493A CN109654671B CN 109654671 B CN109654671 B CN 109654671B CN 201811653493 A CN201811653493 A CN 201811653493A CN 109654671 B CN109654671 B CN 109654671B
- Authority
- CN
- China
- Prior art keywords
- temperature
- controller
- control information
- mth
- conditioning equipment
- 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
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/58—Remote control using Internet communication
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/52—Indication arrangements, e.g. displays
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The embodiment of the invention provides an air conditioning system data transmission method, a controller and an air conditioning system, and belongs to the technical field of air conditioners. According to the method, through the control instructions sent by the server or other controllers, after the control information corresponding to one controller is deleted from the received control instructions, the obtained adjusted control instructions are broadcasted, so that data are reduced more and more in the transmission process, useless data are prevented from being transmitted continuously, the server is not required to issue the control instructions containing the control information corresponding to a plurality of controllers for a plurality of times, the data transmission pressure of the server in the air-conditioning system is reduced, and the data transmission efficiency is improved.
Description
Technical Field
The invention relates to the technical field of air conditioners, in particular to an air conditioner system data transmission method, a controller and an air conditioner system.
Background
At present, in an air conditioning environment controller, each controller individually controls one air conditioning device, a server needs to uniformly regulate and control the air conditioning devices, and when the server issues a control instruction, the server sends the control instruction to each controller respectively, which also makes the data volume issued by the server large, and the control instruction received by each controller not only includes the control information required by the controller, but also includes the control information of other useless controllers, so that for one of the controllers, the obtained control instruction contains a lot of redundant other data, which makes the redundant data of the whole air conditioning system too much, and thus makes the data processing pressure of the server too large.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide an air conditioning system data transmission method, a controller and an air conditioning system, so as to improve the above problems.
In a first aspect, an embodiment of the present invention provides an air conditioning system data transmission method, where the air conditioning system includes M controllers, a server, and a transceiver terminal, where the M controllers implement communication through an ad hoc network, and are applied to an mth controller among the M controllers, and M is any integer from 1 to M, where the method includes:
receiving a control instruction broadcast by the server through the transceiving terminal or other controllers;
when the control information corresponding to the mth controller is detected in the control instruction, acquiring the control information corresponding to the mth controller;
deleting the control information corresponding to the mth controller from the control instruction to obtain an adjusted control instruction;
broadcasting the adjusted control instruction.
Optionally, the method further comprises:
and when the control information corresponding to the mth controller is not detected in the control command, not broadcasting the control command.
Optionally, the method further comprises:
when the control instruction is detected to only include the control information corresponding to the mth controller, the control instruction is not broadcasted after the control information corresponding to the mth controller is acquired.
Optionally, the control information includes temperature control information, and after the control information corresponding to the mth controller is acquired when the control information corresponding to the mth controller is detected in the control instruction, the method further includes:
and controlling the air conditioning equipment correspondingly controlled by the mth controller according to the temperature control information.
Optionally, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the temperature control information includes:
acquiring a current required temperature value from the temperature control information;
comparing the current required temperature value with the current temperature value displayed by the air conditioning equipment to obtain a first temperature difference value;
judging whether the first temperature difference value is within a first preset temperature fluctuation range or not;
and if not, controlling the air conditioning equipment according to the temperature control information.
Optionally, after determining whether the first temperature difference value is within a first preset temperature fluctuation range, the method further includes:
when the first temperature difference value is within the first preset temperature fluctuation range, acquiring current temperature values displayed by M-1 air-conditioning equipment except the air-conditioning equipment correspondingly controlled by the mth controller, wherein each controller correspondingly controls one air-conditioning equipment;
calculating a first average temperature value of current temperature values displayed by the remaining M-1 air-conditioning equipment;
calculating a second temperature difference value between the first average temperature value and a current temperature value displayed by the air conditioning equipment correspondingly controlled by the mth controller;
judging whether the second temperature difference value is within a second preset temperature fluctuation range or not;
if so, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value.
Optionally, after determining whether the second temperature difference is within a second preset temperature fluctuation range, the method further includes:
and when the second temperature difference value is not within a second preset temperature fluctuation range, controlling the air-conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value and a second average temperature value of the current temperature value displayed by the air-conditioning equipment correspondingly controlled by the mth controller.
In a second aspect, an embodiment of the present invention provides a controller, where the controller is located in an air conditioning system, the air conditioning system includes M controllers, a server, and a transceiver terminal, the M controllers implement communication through an ad hoc network, the controller is an mth controller, M is any integer between 1 and M, and the controller includes:
the control instruction receiving module is used for receiving a control instruction broadcast by the server through the transceiving terminal or other controllers;
a control information acquisition module, configured to acquire control information corresponding to the mth controller when the control information corresponding to the mth controller is detected in the control instruction;
the control information deleting module is used for deleting the control information corresponding to the mth controller from the control instruction to obtain an adjusted control instruction;
a control instruction broadcasting module for broadcasting the adjusted control instruction.
Optionally, the control instruction broadcasting module is further configured to not broadcast the control instruction when the control information corresponding to the mth controller is not detected in the control instruction.
Optionally, the control instruction broadcasting module is further configured to, when it is detected that the control instruction only includes the control information corresponding to the mth controller, obtain the control information corresponding to the mth controller, and then not broadcast the control instruction.
Optionally, the control information includes temperature control information, and the controller further includes: and the temperature control module is used for controlling the air conditioning equipment correspondingly controlled by the mth controller according to the temperature control information.
Optionally, the temperature control module is configured to obtain a current required temperature value from the temperature control information; comparing the current required temperature value with the current temperature value displayed by the air conditioning equipment to obtain a first temperature difference value; judging whether the first temperature difference value is within a first preset temperature fluctuation range or not; and if not, controlling the air conditioning equipment according to the temperature control information.
Optionally, the temperature control module is further configured to:
when the first temperature difference value is within the first preset temperature fluctuation range, acquiring current temperature values displayed by M-1 air-conditioning equipment except the air-conditioning equipment correspondingly controlled by the mth controller, wherein each controller correspondingly controls one air-conditioning equipment;
calculating a first average temperature value of current temperature values displayed by the remaining M-1 air-conditioning equipment;
calculating a second temperature difference value between the first average temperature value and a current temperature value displayed by the air conditioning equipment correspondingly controlled by the mth controller;
judging whether the second temperature difference value is within a second preset temperature fluctuation range or not;
if so, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value.
Optionally, the temperature control module is further configured to control the air-conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value and a second average temperature value of the current temperature value displayed by the air-conditioning equipment correspondingly controlled by the mth controller when the second temperature difference value is not within a second preset temperature fluctuation range.
In a third aspect, an embodiment of the present invention provides an air conditioning system, where the air conditioning system includes M controllers, a server, and a transceiver terminal, where the M controllers implement communication through an ad hoc network, each controller is connected to the transceiver terminal in a wireless manner, and the transceiver terminal is connected to the server;
the server is used for broadcasting a control instruction through the receiving and sending terminal;
the mth controller of the M controllers is used for receiving the control instruction broadcast by the server through the transceiving terminal or other controllers;
the mth controller is further configured to, when the control instruction detects the control information corresponding to the mth controller, obtain the control information corresponding to the mth controller;
the mth controller is further configured to delete the control information corresponding to the mth controller from the control instruction, and obtain an adjusted control instruction;
the mth controller is also configured to broadcast the adjusted control instruction.
The embodiment of the invention has the beneficial effects that:
the embodiment of the invention provides an air conditioning system data transmission method, a controller and an air conditioning system, wherein the method enables one controller to delete control information corresponding to the controller from received control instructions through control instructions sent by a server or other controllers, and then broadcasts the obtained adjusted control instructions, so that data are reduced more and more in the transmission process, useless data are prevented from being transmitted continuously, the server is not required to issue control instructions containing control information corresponding to a plurality of controllers for a plurality of times, the data transmission pressure of the server in the air conditioning system is reduced, and the data transmission efficiency is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 shows a block diagram of an electronic device applicable to an embodiment of the present application;
fig. 2 is a block diagram of an air conditioning system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an application of an air conditioning system according to an embodiment of the present invention;
fig. 4 is a flowchart of a data transmission method of an air conditioning system according to an embodiment of the present invention;
fig. 5 is a block diagram of a controller according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device may include: at least one processor 110, such as a CPU, at least one communication interface 120, at least one memory 130, and at least one communication bus 140. Wherein the communication bus 140 is used for realizing direct connection communication of these components. The communication interface 120 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The memory 130 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). Memory 130 may optionally be at least one memory device located remotely from the aforementioned processor. The memory 130 stores computer readable instructions, which when executed by the processor 110, cause the electronic device to perform the method processes of fig. 4, which are described below.
Referring to fig. 2, fig. 2 is a block diagram of an air conditioning system 200 according to an embodiment of the present invention, where the air conditioning system 200 includes M controllers 210, a transceiver terminal 220, and a server 230, each controller 210 is connected to the transceiver terminal 220 in a wireless manner, the transceiver terminal 220 is connected to the server 230, the M controllers 210 implement communication through an ad hoc network, and M is an integer greater than 1.
The structure of the controller 210 can refer to the above-mentioned schematic structural diagram of the electronic device 100.
Referring to fig. 3 in combination, fig. 3 is an application schematic diagram of an air conditioning system 200 according to an embodiment of the present invention, where the transceiver terminal 220 may receive information sent by the server 230 to the controller 210 and also receive information sent by the controller 210 to the server 230, and the transceiver terminal 220 may be a WiFi device or a LORA communication device, and the like, and serves as a data transmission medium between the controller 210 and the server 230.
Each controller 210 may individually control an air conditioner for controlling and adjusting the operation state of the air conditioner.
The following may describe portions of embodiments of the air conditioning system 200 in more detail in conjunction with portions of embodiments of the method.
Referring to fig. 4, fig. 4 is a flowchart of a data transmission method for an air conditioning system according to an embodiment of the present invention, where the method is applied to an mth controller in the air conditioning system, M is any integer between 1 and M, and the method includes the following steps:
step S110: and receiving a control instruction broadcast by the transceiving terminal or other controllers.
When the air-conditioning equipment is controlled, a server or other controllers send control instructions to the mth controller, the control instructions sent by the server are sent to a transmitting-receiving terminal firstly, the transmitting-receiving terminal broadcasts and sends the control instructions to each controller, and the M controllers communicate through a network, so the control instructions sent by the M controllers are sent in a broadcasting mode. The control instruction may carry related control information for controlling the air conditioning device correspondingly controlled by the mth controller, such as temperature control information or mode adjustment information, so that the mth controller receives the control instruction broadcast by the transceiver terminal or other controllers.
Step S120: and when the control information corresponding to the mth controller is detected in the control instruction, acquiring the control information corresponding to the mth controller.
Step S130: and deleting the control information corresponding to the mth controller from the control instruction to obtain an adjusted control instruction.
If the mth controller detects that the control instruction has the corresponding control information, the mth controller acquires the control information, and can control the corresponding air conditioning equipment according to the control information. In order to reduce the data amount of the data in the transmission process, after the mth controller deletes the corresponding control information from the control instruction, the remaining control instruction for deleting the control information, that is, the adjusted control instruction, is obtained, that is, the adjusted control instruction does not have the control information corresponding to the mth controller.
Step S140: broadcasting the adjusted control instruction.
The mth controller can broadcast the adjusted control instruction, so that other controllers can receive the adjusted control instruction, then other controllers acquire own control information from the adjusted control instruction, delete own control information from the adjusted control instruction, and send the control instruction to other controllers, therefore, the information in the control instruction is gradually reduced in the transmission process, and useless data is prevented from being continuously transmitted and occupying transmission resources.
In addition, when the controller broadcasts the control command, it is another controller that transmits the control command in its broadcast range, for example, when M is 6, each controller forms a networking structure as shown in fig. 3 when networking is performed, only the controller in room X is in the broadcast range of the transceiver terminal, only the controller in room D and the controller in room B are in the controller range of room C, after the room C receives the control command from room D, it is detected whether there is control information corresponding to the controller in room C, when it is detected that there is control information corresponding to the controller in room C, the control information is acquired, and the control information is deleted from the received control command, and the adjusted control command is acquired; finally, the controller in room C broadcasts the adjusted control command. The controllers within the broadcast range of the controller of room C include the controller of room B and the controller of room D. For the controller of the room B, the same flow as that of the controller of the room C is performed. As for the controller of room D, the received control instruction from the controller of room C does not include the control information corresponding to the controller of room D, and therefore, the controller of room D does not broadcast the control instruction any more.
Therefore, in the embodiment, after the controller deletes the control information corresponding to the controller from the received control instruction, the obtained adjusted control instruction is broadcasted, so that data is reduced more and more in the transmission process, useless data is prevented from being continuously transmitted, a server is not required to issue control instructions containing control information corresponding to a plurality of controllers for a plurality of times, the data transmission pressure in the air conditioning system is reduced, and the data transmission efficiency is improved.
In addition, each controller controls one air conditioner correspondingly, and the controller can adjust the temperature, the air output and the like of the air conditioner, so the control information can also comprise temperature control information, namely after the mth controller obtains the corresponding control information from the control instruction, the mth controller can obtain the temperature control information from the control information, and then the air conditioner correspondingly controlled by the mth controller is controlled according to the temperature control information.
Specifically, the mth controller may obtain a current required temperature value from the temperature control information, compare the current required temperature value with a current temperature value displayed by the air conditioning equipment to obtain a first temperature difference value, determine whether the first temperature difference value is within a first preset temperature fluctuation range, and control the air conditioning equipment according to the temperature control information if the first temperature difference value is not within the first preset temperature fluctuation range.
If m is 1, the current temperature value displayed by the air conditioning equipment correspondingly controlled by the controller 1 is 27 ℃, the current required temperature value in the temperature control information is 23 ℃, and the first preset temperature fluctuation range is (-3 ℃), obviously, the first temperature difference value between the current required temperature value and the current temperature value displayed by the air conditioning equipment is not in the first preset fluctuation range, that is, the temperature deviation between the current required temperature value and the current temperature value displayed by the air conditioning equipment is larger than the first preset temperature fluctuation range, the deviation is considered to be strong, the air conditioning equipment is controlled according to the temperature control information, that is, the current temperature value displayed by the air conditioning equipment is controlled to be adjusted to be the current required temperature value, and if the temperature of 27 ℃ is adjusted to be 23 ℃.
In addition, if the first temperature difference value is in the first preset temperature fluctuation range, acquiring current temperature values displayed by M-1 air conditioners left after the air conditioners correspondingly controlled by the mth controller, wherein each controller correspondingly controls one air conditioner, then calculating a first average temperature value of the current temperature values displayed by the M-1 air conditioners, then calculating a second temperature difference value between the first average temperature value and the current temperature value displayed by the air conditioners correspondingly controlled by the mth controller, judging whether the second temperature difference value is in a second preset temperature fluctuation range, and if so, controlling the air conditioners correspondingly controlled by the mth controller according to the first average temperature value.
For example, if M is 6, M is 1, that is, the remaining M-1 air conditioners are the remaining 5 air conditioners, that is, when the current temperature displayed by the air conditioner correspondingly controlled by the 1 st controller is 27 ℃, the current required temperature value in the temperature control information is 25 ℃, and the first preset temperature fluctuation range is (-3 ℃ to 3 ℃), that is, the first temperature difference is within the first preset temperature fluctuation range, therefore, the first average temperature value of the remaining 5 air conditioners is calculated, for example, the first average temperature value is 26 ℃, then the second temperature difference between the first average temperature value and the current temperature value displayed by the air conditioner correspondingly controlled by the 1 st controller is obtained, that is, the second temperature difference is 1 ℃, then whether the second temperature difference is within the second preset temperature fluctuation range, for example, the second preset temperature fluctuation range is (-1.5 ℃ to 1.5 ℃), at this time, the air-conditioning equipment correspondingly controlled by the 1 st controller can be controlled according to the first average temperature difference, that is, the 1 st controller adjusts the current temperature value displayed by the correspondingly controlled air-conditioning equipment to 26 ℃.
In addition, when the second temperature difference is not within the second preset temperature dialing range, the air-conditioning equipment correspondingly controlled by the mth controller is controlled according to the first average temperature value and a second average temperature value of the current temperature value displayed by the air-conditioning equipment correspondingly controlled by the mth controller, for example, the first average temperature value is 25 ℃, the current temperature value displayed by the air-conditioning equipment correspondingly controlled by the 1 st controller is 27 ℃, the second average temperature value is 26 ℃, and the current temperature value of the air-conditioning equipment correspondingly controlled by the 1 st controller can be adjusted to 26 ℃.
Therefore, when the temperature of the plurality of air conditioning equipment is adjusted, the temperature of other air conditioning equipment can be referred to, so that the temperature of the air conditioning equipment can be controlled, the air conditioning equipment does not need to be controlled independently, and the effective energy saving is realized.
In an optional implementation manner, before the above steps are performed, that is, before receiving a control instruction broadcast by a transceiver terminal or another controller, ad hoc networking needs to be performed on M controllers, and a specific process thereof is as follows: and the mth controller detects whether data transmission exists in a data transmission channel between the mth controller and the server, if not, the characteristic information of the mth controller is sent to the server, and the process is repeated until the server receives the characteristic information sent by the M controllers, so that the server performs ad hoc networking on the M controllers according to the sending sequence given to the received characteristic information sent by the M controllers.
It can be understood that, first, the server is connected to the transceiver terminal, the transceiver terminal is connected to each controller, and each controller is not connected, so if M controllers want to perform ad hoc networking, the mth controller needs to monitor whether data transmission is performed on a data transmission channel between the mth controller and the server, if data transmission is performed, it indicates that other controllers may be performing data transmission with the server, and if data transmission is not performed, the server can send its own characteristic information, which can effectively reduce wireless data collision. The characteristic information comprises a serial number, the actual temperature of the environment, a data sending period, a space serial number, a winter and summer mode displayed by the correspondingly controlled air conditioning equipment, a current temperature value displayed by the correspondingly controlled air conditioning equipment and the like.
After the networking is carried out in the mode, the increase and decrease of the nodes can be flexibly carried out, after each controller receives a control instruction, the control information of each controller is extracted, then the control information of each controller is deleted, and then the control information is continuously sent out, so that the complete wireless data interaction process can be realized, the transmission of useless data can be effectively avoided, and the data transmission efficiency is improved.
Referring to fig. 5, fig. 5 is a block diagram of a controller 210 according to an embodiment of the present invention, the controller 210 is located in an air conditioning system, the controller 210 is an mth controller in the air conditioning system, M is any integer between 1 and M, and the controller 210 includes:
a control instruction receiving module 211, configured to receive a control instruction broadcast by the server through the transceiver terminal or another controller;
a control information obtaining module 212, configured to obtain, when the control instruction detects control information corresponding to the mth controller, control information corresponding to the mth controller;
a control information deleting module 213, configured to delete the control information corresponding to the mth controller from the control instruction, so as to obtain an adjusted control instruction;
a control instruction broadcasting module 214, configured to broadcast the adjusted control instruction.
Optionally, the control instruction broadcasting module 214 is further configured to not broadcast the control instruction when the control information corresponding to the mth controller is not detected in the control instruction.
Optionally, the control instruction broadcasting module 214 is further configured to, when it is detected that the control instruction only includes the control information corresponding to the mth controller, obtain the control information corresponding to the mth controller, and then not broadcast the control instruction.
Optionally, the control information includes temperature control information, and the controller further includes: and the temperature control module is used for controlling the air conditioning equipment correspondingly controlled by the mth controller according to the temperature control information.
Optionally, the temperature control module is configured to obtain a current required temperature value from the temperature control information; comparing the current required temperature value with the current temperature value displayed by the air conditioning equipment to obtain a first temperature difference value; judging whether the first temperature difference value is within a first preset temperature fluctuation range or not; and if not, controlling the air conditioning equipment according to the temperature control information.
Optionally, the temperature control module is further configured to:
when the first temperature difference value is within the first preset temperature fluctuation range, acquiring current temperature values displayed by M-1 air-conditioning equipment except the air-conditioning equipment correspondingly controlled by the mth controller, wherein each controller correspondingly controls one air-conditioning equipment;
calculating a first average temperature value of current temperature values displayed by the remaining M-1 air-conditioning equipment;
calculating a second temperature difference value between the first average temperature value and a current temperature value displayed by the air conditioning equipment correspondingly controlled by the mth controller;
judging whether the second temperature difference value is within a second preset temperature fluctuation range or not;
if so, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value.
Optionally, the temperature control module is further configured to control the air-conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value and a second average temperature value of the current temperature value displayed by the air-conditioning equipment correspondingly controlled by the mth controller when the second temperature difference value is not within a second preset temperature fluctuation range.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method, and will not be described in too much detail herein.
In summary, embodiments of the present invention provide an air conditioning system data transmission method, a controller, and an air conditioning system, in which, according to control instructions sent by a server or other controllers, after deleting control information corresponding to one controller from a received control instruction, one controller broadcasts an obtained adjusted control instruction, so that data is reduced more and more in a transmission process, and useless data is prevented from being transmitted continuously, without issuing control instructions containing control information corresponding to multiple controllers for multiple times by the server, pressure on data transmission by the server in the air conditioning system is reduced, and data transmission efficiency is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (7)
1. A data transmission method of an air conditioning system, wherein the air conditioning system comprises M controllers, a server and a transceiver terminal, the M controllers realize communication through an ad hoc network, and the method is applied to the mth controller in the M controllers, M is any integer from 1 to M, and the method comprises the following steps:
receiving a control instruction broadcast by the server through the transceiving terminal or other controllers;
when the control information corresponding to the mth controller is detected in the control instruction, acquiring the control information corresponding to the mth controller; the control information comprises temperature control information;
acquiring a current required temperature value from the temperature control information; comparing the current required temperature value with a current temperature value displayed by air conditioning equipment correspondingly controlled by the mth controller to obtain a first temperature difference value; judging whether the first temperature difference value is within a first preset temperature fluctuation range or not;
when the first temperature difference value is within the first preset temperature fluctuation range, obtaining current temperature values displayed by the remaining M-1 air-conditioning equipment, wherein each controller correspondingly controls one air-conditioning equipment;
calculating a first average temperature value of current temperature values displayed by the remaining M-1 air-conditioning equipment;
calculating a second temperature difference value between the first average temperature value and a current temperature value displayed by the air conditioning equipment correspondingly controlled by the mth controller;
when the second temperature difference value is within a second preset temperature fluctuation range, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value;
when the first temperature difference value is not within the first preset temperature fluctuation range, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the temperature control information;
deleting the control information corresponding to the mth controller from the control instruction to obtain an adjusted control instruction;
broadcasting the adjusted control instruction.
2. The method of claim 1, further comprising:
and when the control information corresponding to the mth controller is not detected in the control command, not broadcasting the control command.
3. The method of claim 1, further comprising:
when the control instruction is detected to only include the control information corresponding to the mth controller, the control instruction is not broadcasted after the control information corresponding to the mth controller is acquired.
4. The method of claim 1, wherein determining whether the second temperature difference value is within a second predetermined temperature fluctuation range further comprises:
and when the second temperature difference value is not within a second preset temperature fluctuation range, controlling the air-conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value and a second average temperature value of the current temperature value displayed by the air-conditioning equipment correspondingly controlled by the mth controller.
5. The controller is characterized in that the controller is located in an air conditioning system, the air conditioning system comprises M controllers, a server and a transceiver terminal, the M controllers realize communication through an ad hoc network, the controller is an mth controller, M is any integer from 1 to M, and the controller comprises:
the control instruction receiving module is used for receiving a control instruction broadcast by the server through the transceiving terminal or other controllers;
a control information acquisition module, configured to acquire control information corresponding to the mth controller when the control information corresponding to the mth controller is detected in the control instruction; the control information comprises temperature control information;
the temperature control module is used for acquiring a current required temperature value from the temperature control information; comparing the current required temperature value with a current temperature value displayed by air conditioning equipment correspondingly controlled by the mth controller to obtain a first temperature difference value; judging whether the first temperature difference value is within a first preset temperature fluctuation range or not;
when the first temperature difference value is within the first preset temperature fluctuation range, obtaining current temperature values displayed by the remaining M-1 air-conditioning equipment, wherein each controller correspondingly controls one air-conditioning equipment;
calculating a first average temperature value of current temperature values displayed by the remaining M-1 air-conditioning equipment;
calculating a second temperature difference value between the first average temperature value and a current temperature value displayed by the air conditioning equipment correspondingly controlled by the mth controller;
when the second temperature difference value is within a second preset temperature fluctuation range, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value;
when the first temperature difference value is not within the first preset temperature fluctuation range, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the temperature control information;
the control information deleting module is used for deleting the control information corresponding to the mth controller from the control instruction to obtain an adjusted control instruction;
a control instruction broadcasting module for broadcasting the adjusted control instruction.
6. The controller of claim 5, wherein the control information comprises temperature control information, the controller further comprising:
and the temperature control module is used for controlling the air conditioning equipment correspondingly controlled by the mth controller according to the temperature control information.
7. An air conditioning system is characterized by comprising M controllers, a server and a transceiver terminal, wherein the M controllers realize communication through an ad hoc network, each controller is connected with the transceiver terminal in a wireless mode, and the transceiver terminal is connected with the server;
the server is used for broadcasting a control instruction through the receiving and sending terminal;
the mth controller of the M controllers is used for receiving the control instruction broadcast by the server through the transceiving terminal or other controllers;
the mth controller is further configured to, when the control instruction detects the control information corresponding to the mth controller, obtain the control information corresponding to the mth controller; the control information comprises temperature control information;
acquiring a current required temperature value from the temperature control information; comparing the current required temperature value with a current temperature value displayed by air conditioning equipment correspondingly controlled by the mth controller to obtain a first temperature difference value; judging whether the first temperature difference value is within a first preset temperature fluctuation range or not;
when the first temperature difference value is within the first preset temperature fluctuation range, obtaining current temperature values displayed by the remaining M-1 air-conditioning equipment, wherein each controller correspondingly controls one air-conditioning equipment;
calculating a first average temperature value of current temperature values displayed by the remaining M-1 air-conditioning equipment;
calculating a second temperature difference value between the first average temperature value and a current temperature value displayed by the air conditioning equipment correspondingly controlled by the mth controller;
when the second temperature difference value is within a second preset temperature fluctuation range, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the first average temperature value;
when the first temperature difference value is not within the first preset temperature fluctuation range, controlling the air conditioning equipment correspondingly controlled by the mth controller according to the temperature control information;
the mth controller is further configured to delete the control information corresponding to the mth controller from the control instruction, and obtain an adjusted control instruction;
the mth controller is also configured to broadcast the adjusted control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811653493.3A CN109654671B (en) | 2018-12-29 | 2018-12-29 | Air conditioning system data transmission method, controller and air conditioning system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811653493.3A CN109654671B (en) | 2018-12-29 | 2018-12-29 | Air conditioning system data transmission method, controller and air conditioning system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109654671A CN109654671A (en) | 2019-04-19 |
CN109654671B true CN109654671B (en) | 2021-01-08 |
Family
ID=66117035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811653493.3A Active CN109654671B (en) | 2018-12-29 | 2018-12-29 | Air conditioning system data transmission method, controller and air conditioning system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109654671B (en) |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10303877A (en) * | 1996-09-05 | 1998-11-13 | Matsushita Electric Ind Co Ltd | Equipment for transmission and reception, transmission method using the same, method for transmission and reception and transmission method using the same |
KR100649599B1 (en) * | 2004-03-22 | 2006-11-27 | 엘지전자 주식회사 | Air conditioning system for multi-region integration |
JP4165604B2 (en) * | 2006-07-31 | 2008-10-15 | ダイキン工業株式会社 | Air conditioning control device and air conditioning control method |
KR100857139B1 (en) * | 2007-02-01 | 2008-09-05 | 엘지전자 주식회사 | Multi-Air Conditioning System and Its Data Creation Method |
KR20090078565A (en) * | 2008-01-15 | 2009-07-20 | 삼성전자주식회사 | How to update the software of the system air conditioner |
CN103388870B (en) * | 2012-05-08 | 2015-08-26 | 珠海格力电器股份有限公司 | Central air conditioner control method and device based on BACnet object ID |
CN104334976B (en) * | 2012-06-13 | 2017-07-11 | 三菱电机株式会社 | Air-conditioning system and relay |
EP2865958A4 (en) * | 2012-06-26 | 2016-03-09 | Mitsubishi Electric Corp | Air conditioner control system |
CN105228137B (en) * | 2014-05-26 | 2018-10-30 | 普天信息技术有限公司 | A kind of transmission method of authorization message |
CN107131610A (en) * | 2017-05-10 | 2017-09-05 | 珠海格力电器股份有限公司 | Message leaving method and device, storage equipment, mobile terminal and electric appliance |
CN108592302B (en) * | 2018-04-13 | 2021-04-30 | 珠海格力电器股份有限公司 | Data transmission method, apparatus, multi-split system, and storage medium |
-
2018
- 2018-12-29 CN CN201811653493.3A patent/CN109654671B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109654671A (en) | 2019-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3184918B1 (en) | Hvac control using geofencing | |
EP1833199B1 (en) | Adjustment of wireless communication parameters based upon battery status | |
US10317867B2 (en) | Thermostat update and copy methods and systems | |
JP4741659B2 (en) | Transmission apparatus, transmission method, system LSI, and program | |
CN112202654B (en) | Control instruction processing method, device, equipment and storage medium | |
CN112526892A (en) | Method and device for controlling intelligent household equipment and electronic equipment | |
CN108810129A (en) | Internet of Things network control system and method, terminal device and local network services equipment | |
CN114598986B (en) | Positioning method, device and terminal on sidelink SL | |
CN107306412B (en) | Method, user equipment and base station for realizing reliable transmission of message | |
CN104754050B (en) | A kind of smart machine method for remote management and intelligence control system | |
CN109654671B (en) | Air conditioning system data transmission method, controller and air conditioning system | |
CN106658401A (en) | Out-of-control unmanned aerial vehicle initiative retrieving method and system | |
CN107560065B (en) | A kind of intelligent air conditioning control method and server | |
CN112203256B (en) | Control method and device of vehicle-mounted unit, storage medium and electronic device | |
CN113436631A (en) | Voice information processing method and system and device for voice information processing | |
US10187222B2 (en) | Methods and devices for communicating over a building management system network | |
EP3232694A1 (en) | User access to wireless low energy device | |
CN112312373A (en) | Channel optimization method, system and computer readable storage medium | |
CN114553626B (en) | Equipment state query method, query device, electronic equipment and storage medium | |
CN106209926A (en) | A kind of data-updating method and equipment | |
CN109462638B (en) | Equipment state management method and system | |
CN104618199A (en) | Automatic node access identification method and device based on CAN communication and air conditioner | |
CN103576664A (en) | Automation component for transmitting value change information in intelligent household system and method | |
CN111917886B (en) | Intelligent device data migration method and device and intelligent device | |
CN110319537B (en) | Method for controlling bus communication of air conditioner, host and air conditioning system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |