CN105142235A - Communication method and communication device of air conditioning unit - Google Patents

Communication method and communication device of air conditioning unit Download PDF

Info

Publication number
CN105142235A
CN105142235A CN201510497199.8A CN201510497199A CN105142235A CN 105142235 A CN105142235 A CN 105142235A CN 201510497199 A CN201510497199 A CN 201510497199A CN 105142235 A CN105142235 A CN 105142235A
Authority
CN
China
Prior art keywords
air conditioner
server
connection
request
module
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
CN201510497199.8A
Other languages
Chinese (zh)
Other versions
CN105142235B (en
Inventor
申伟刚
余祥
牟桂贤
张辉
徐少浩
曾亨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201510497199.8A priority Critical patent/CN105142235B/en
Publication of CN105142235A publication Critical patent/CN105142235A/en
Application granted granted Critical
Publication of CN105142235B publication Critical patent/CN105142235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a communication method and a communication device of an air conditioning unit, wherein the communication method comprises the following steps: detecting a connection state between an air conditioner and a server, wherein the connection state comprises communication accessibility and communication interruption; initiating an ith re-connection request to the server by the air conditioner when the connection state is communication interruption, wherein i is less than or equal to N; N is a natural number; re-detecting whether connection between the air conditioner and the server is re-established or not after initiating the ith re-connection request to the server; pausing to initiate the re-connection request to the server when the connection state is still communication interruption; and controlling the air conditioner to send air-conditioning operation data to the server when the connection state is communication accessibility. According to the invention, the technical problems of flow waste of a wireless communication module and excessive pressure of the server due to the fact that the wireless communication module is continuously re-connected with the server within a long time after communication between the wireless communication module of the air conditioning unit and the server is interrupted can be solved.

Description

The means of communication of air-conditioner set and device
Technical field
The present invention relates to air conditioner field, in particular to a kind of means of communication and device of air-conditioner set.
Background technology
After normal work is also installed in GPRS module shipment, will keep in communication with server, information is sent to server in real time.When there are the abnormal conditions such as server exception or network congestion, appearance is interrupted by GPRS module and server-link, and the data causing GPRS module to receive cannot be sent to server.And after recovery connects, the data during disconnecting cannot be resent to server.
At present, when GPRS module and server disconnecting, if GPRS module being provided with reconnects mechanism, GPRS module will uninterrupted connection server, until reconnect with server.In the process of the uninterrupted connection server of GPRS module, a large amount of consumption of flow will be caused.In addition, if GPRS module amount controller is too many, after server reparation completes, a large amount of GPRS module incites somebody to action connection server simultaneously, and cause server stress excessive, performance will be affected.
After above-mentioned air-conditioner set wireless communication module and server communicating interrupt, constantly reconnect the problem that the pressure of the flow waste of the wireless communication module that server causes and server is excessive in wireless communication module is long-time, not yet propose effective solution at present.
Summary of the invention
Embodiments provide a kind of means of communication and device of air-conditioner set, after at least solving air-conditioner set wireless communication module and server communicating interrupt, in wireless communication module is long-time, constantly reconnect the technical problem that the pressure of the flow waste of the wireless communication module that server causes and server is excessive.
According to an aspect of the embodiment of the present invention, provide a kind of means of communication of air-conditioner set, comprising: detect the connection status between air conditioner and server, wherein, connection status comprises the unimpeded or communicating interrupt of communication; When connection status is communicating interrupt, air conditioner is initiated i time to server and is rebuild connection request, and wherein, i is less than or equal to N, and N is natural number; After server being initiated to rebuild connection request i-th time, whether the connection detected between air conditioner and server rebuilds again, when connection status is still communicating interrupt, suspends and initiates to rebuild connection request to server; When connection status be communication unimpeded time, control air conditioner and send operation of air conditioner data to server.
Further, after suspending the reconstruction connection request of initiating server, method also comprises: after delay first preset time period, and air conditioner initiates to rebuild connection request to server again.
Further, after delay first preset time period, the step that air conditioner initiates to rebuild connection request to server again comprises: the random times in sense cycle, air conditioner is initiated j time to server and is rebuild connection request, wherein, sense cycle is the time cycle after delay first preset time period, and j is less than or equal to M, and M is natural number.
Further, random times in sense cycle, after air conditioner initiates to rebuild connection request j time to server, method also comprises: whether the connection detected between air conditioner and server rebuilds again, when connection status is still communicating interrupt, in next sense cycle, air conditioner is initiated j time to server and is rebuild connection request, until air conditioner and server are rebuild successfully.
Further, after detecting the connection status between air conditioner and server, method also comprises: when connection status is communicating interrupt, air conditioner by the operation of air conditioner data buffer storage that generated to buffer unit; After connection reconstruction between air conditioner and server, the operation of air conditioner data of buffer memory in buffer unit are sent to server.
Further, air conditioner detects the connection status between air conditioner and server by wireless communication module, and initiates to rebuild connection request and operation of air conditioner data by wireless communication module.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of communication device of air-conditioner set, comprising: first detection module, for detecting the connection status between air conditioner and server, wherein, connection status comprises the unimpeded or communicating interrupt of communication; First request module, for when connection status is communicating interrupt, initiate i time to server and rebuild connection request, wherein, i is less than or equal to N, and N is natural number; Second detection module, for after initiate to rebuild connection request i-th time to server, whether the connection detected between air conditioner and server rebuilds again, when connection status is still communicating interrupt, suspends and initiates to rebuild connection request to server; First control module, for when connection status be communication unimpeded time, control air conditioner and send operation of air conditioner data to server.
Further, device also comprises, the 3rd request module, and for after delay first preset time period, air conditioner initiates to rebuild connection request to server again.
Further, the 3rd request module comprises: the first request submodule, for the random times in sense cycle, air conditioner is initiated j time to server and is rebuild connection request, and wherein, sense cycle is the time cycle after delay first preset time period, j is less than or equal to M, and M is natural number.
Further, 3rd request module also comprises: detection sub-module, whether rebuild for the connection again detected between air conditioner and server, when connection status is still communicating interrupt, in next sense cycle, air conditioner is initiated j time to server and is rebuild connection request, until air conditioner and server are rebuild successfully.
Further, device also comprises: cache module, for when connection status is communicating interrupt, air conditioner by the operation of air conditioner data buffer storage that generated to buffer unit; The operation of air conditioner data of buffer memory in buffer unit, after the connection reconstruction between air conditioner and server, are sent to server by sending module.
Further, device detects the connection status between air conditioner and server by wireless communication module, and initiates to rebuild connection request and operation of air conditioner data by wireless communication module.
In embodiments of the present invention, adopt the connection status detected between air conditioner and server, wherein, connection status comprises the unimpeded or communicating interrupt of communication; When connection status is communicating interrupt, air conditioner is initiated i time to server and is rebuild connection request, and wherein, i is less than or equal to N, and N is natural number; After server being initiated to rebuild connection request i-th time, whether the connection detected between air conditioner and server rebuilds again, when connection status is still communicating interrupt, suspends and initiates to rebuild connection request to server; When connection status be communication unimpeded time, control air conditioner sends mode from operation of air conditioner data to server, after solving air-conditioner set wireless communication module and server communicating interrupt, in wireless communication module is long-time, constantly reconnect the technical problem that the pressure of the flow waste of the wireless communication module that server causes and server is excessive.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the means of communication of a kind of optional air-conditioner set according to the embodiment of the present invention;
Fig. 2 is the network topological diagram of a kind of optional air-conditioner set system according to the embodiment of the present invention;
Fig. 3 is the flow chart of the means of communication of another optional air-conditioner set according to the embodiment of the present invention;
Fig. 4 is the flow chart of the means of communication according to the optional air-conditioner set of the another kind of the embodiment of the present invention; And
Fig. 5 is the structural representation of the communication device of a kind of optional air-conditioner set according to the embodiment of the present invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment one
According to the embodiment of the present invention, provide a kind of embodiment of the method for the means of communication of air-conditioner set, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
Fig. 1 is the flow chart of the means of communication of a kind of optional air-conditioner set according to the embodiment of the present invention, and as shown in Figure 1, the method comprises the steps:
Step S102, detects the connection status between air conditioner and server, and wherein, connection status comprises the unimpeded or communicating interrupt of communication.
In above-mentioned steps S102, air conditioner detects the connection status between air conditioner and server.Connection status can comprise the unimpeded and communicating interrupt of communication, wherein, cause the reason of communicating interrupt can in following three kinds any one or multiple: the communicating interrupt that air conditioner abnormal power-down causes, the network congestion between air conditioner and server or network interruption and server occur abnormal.
It should be noted that, air conditioner can comprise wireless communication module, and the connection that air conditioner can be detected between server by wireless communication module fills state.
Step S104, when connection status is communicating interrupt, air conditioner is initiated i time to server and is rebuild connection request, and wherein, i is less than or equal to N, and N is natural number.
In above-mentioned steps S104, between air conditioner and server during communicating interrupt, rebuild initiating to server the request connected in air conditioner, wherein, the number of times i rebuilding connection request can preset, and the number of times i rebuilding connection request is less than or equal to default natural number N, such as, N=5, i=3.
It should be noted that, air conditioner can comprise wireless communication module, and when wireless communication module is provided with reconnect function, air conditioner can initiate to rebuild connection request to server by wireless communication module.
Step S106, after server being initiated to rebuild connection request i-th time, whether the connection detected between air conditioner and server rebuilds again.
Step S108, when connection status is still communicating interrupt, suspends and initiates to rebuild connection request to server.
At above-mentioned steps S106 in step S108, after air conditioner initiates to rebuild the request connected i-th time, air conditioner detects the connection status between air conditioner and server again.When communicating interrupt, can suspend and Multiple Bonds connection request is initiated to server.
It should be noted that, air conditioner can comprise wireless communication module, and air conditioner can detect connection status between air conditioner and server again by wireless communication module.
Also it should be noted that, the application is by after initiation rebuilds the request connected i-th time, when connection status between air conditioner and server is still communicating interrupt, by suspending the method for connection server, can avoid air conditioner after communicating interrupt, air conditioner reconnects server for a long time incessantly, the problem of the flow waste of the air conditioner caused.Further, when server is connected with multiple air conditioner, exist at synchronization, the situation of connection server while of multiple air conditioner, suspend the connection to server by above-mentioned steps air conditioner, the problem being reconnected the server Bonding pressure increase that server causes by air conditioner for a long time incessantly can be solved.
Step S110, when connection status be communication unimpeded time, control air conditioner and send operation of air conditioner data to server.
In above-mentioned steps S110, after the connection status that air conditioner detects between air conditioner and server, if connection reconstruction success, namely connection status be communication unimpeded time, recover normal communication between air conditioner and server.
It should be noted that, operation of air conditioner data herein can be when air-conditioner set runs, and fault data when air-conditioner set breaks down detected, and this fault data can comprise the data such as title, the type of fault, the time of fault generation of defective device.
By above-mentioned steps S102 to step S110, detect the connection status between air conditioner and server, wherein, connection status comprises the unimpeded or communicating interrupt of communication; When connection status is communicating interrupt, air conditioner is initiated i time to server and is rebuild connection request, and wherein, i is less than or equal to N, and N is natural number; After server being initiated to rebuild connection request i-th time, whether the connection detected between air conditioner and server rebuilds again, when connection status is still communicating interrupt, suspends and initiates to rebuild connection request to server; When connection status be communication unimpeded time, control air conditioner and send operation of air conditioner data to server, after solving air-conditioner set wireless communication module and server communicating interrupt, in wireless communication module is long-time, constantly reconnect the technical problem that the pressure of the flow waste of the wireless communication module that server causes and server is excessive.
Alternatively, in step S108, after suspending the reconstruction connection request of initiating server, the method can also comprise:
Step S109, after delay first preset time period, air conditioner initiates to rebuild connection request to server again.
Particularly, after air conditioner initiates to rebuild connection request i time to server, rebuild under not having successful situation, air conditioner suspends the reconstruction connection request of initiating server.First preset time period can preset, such as: 10 hours.
Alternatively, step S109, after delay first preset time period, air conditioner is again initiated to rebuild connection request to server and can be comprised:
Step S1091, the random times in sense cycle, air conditioner is initiated j time to server and is rebuild connection request, and wherein, sense cycle is the time cycle after delay first preset time period, and j is less than or equal to M, and M is natural number.
In above-mentioned steps S1091, sense cycle can be the time cycle preset, such as: sense cycle can be 0 o'clock of after communicating interrupt second day to 24 o'clock.Air conditioner can after communicating interrupt second day the random time of 0 o'clock to 24 o'clock to server initiate rebuild connection request.Further, 0 o'clock to 8 o'clock of every day is that server workload is less, the period that operating pressure is lower, when sense cycle is 0 o'clock to 24 o'clock of after communicating interrupt second day, moment air conditioner can being rebuild connection request was arranged in the time period of 0 o'clock to 8 o'clock of after communicating interrupt second day.Wherein, the number of times j rebuilding connection request is less than or equal to default natural number M, such as, and M=5, j=4.
It should be noted that, number of times i and the number of times j rebuilding connection request of above-mentioned reconstruction connection request can be identical number of times also can be different number of times.
It should be noted that, by in above-mentioned steps S1091, initiate to reconnect request to server by the random times of air conditioner in sense cycle, avoid at synchronization, a large amount of air conditioners initiates to reconnect request, the problem that the server stress caused is excessive to server.
Alternatively, in step S1091, the random times in sense cycle, after air conditioner initiates to rebuild connection request j time to server, the method can also comprise:
Step S1093, whether the connection detected between air conditioner and server rebuilds again, and when connection status is still communicating interrupt, in next sense cycle, air conditioner is initiated j time to server and rebuild connection request, until air conditioner and server are rebuild successfully.
In above-mentioned steps S1093, after air conditioner initiates to rebuild connection request j time to server, air conditioner can detect connection status again, when not rebuilding successful, in next sense cycle, again initiates to rebuild connection request.
It should be noted that, under air conditioner and server do not rebuild successful situation in first sense cycle, again can rebuild in next sense cycle.Avoid and constantly initiate to rebuild connection request, the problem that the air conditioner flow caused is wasted and server stress is large within the current detection cycle at air conditioner.
Alternatively, in step S102, after detecting the connection status between air conditioner and server, the method can also comprise:
Step S1031, when connection status is communicating interrupt, air conditioner by the operation of air conditioner data buffer storage that generated to buffer unit.
In above-mentioned steps S1031, when air conditioner detects that connection status is communicating interrupt, the operation of air conditioner data in the communicating interrupt time period can be carried out buffer memory.Wherein buffer unit can be the FLASH chip in air conditioner in wireless communication module.
The operation of air conditioner data of buffer memory in buffer unit, after the connection reconstruction between air conditioner and server, are sent to server by step S1033.
In above-mentioned steps S1033, after air conditioner and server re-establish and are connected, operation of air conditioner data in the communicating interrupt time period can resend to server by wireless communication module, to guarantee the integrality of operation of air conditioner data, so that server is analyzed more accurately and diagnosed.
It should be noted that, the application by above-mentioned steps S1031 to S1033, to solve in prior art between air conditioner and server during communicating interrupt, when rebuilding the annexation with server, data during communicating interrupt cannot be sent to server, the data loss problem caused.
Alternatively, air conditioner detects the connection status between air conditioner and server by wireless communication module, and sends reconstruction connection request and operation of air conditioner data by wireless communication module.
Particularly, air conditioner can comprise wireless communication module, and wireless communication module can be connected with the off-premises station of air conditioner.Wireless communication module can be GPRS module.Air conditioner detects the connection status between air conditioner and server by wireless communication module, and sends reconstruction connection request and operation of air conditioner data to server.
In conjunction with a kind of optional application scenarios, as shown in Figure 2, air-conditioning system air-cooled ducted air conditioner is connected with off-premises station by system bus, and wireless communication module is connected with the server be positioned on the Internet.Fig. 3 is the flow chart of the means of communication of another optional air-conditioner set according to the embodiment of the present invention, and as shown in Figure 3, a kind of optional execution mode of the application can comprise the steps:
Step a, wireless communication module detects communicating interrupt between air conditioner and server, it should be noted that, the wireless communication module in the application can be GPRS module.
Step b, wireless communication module is initiated 5 times to server and is rebuild connection request.
Step c, wireless communication module judges whether reconnect between air conditioner and server.When reconnecting successfully between air conditioner and server, perform step f, when reconnecting unsuccessfully between air conditioner and server, perform steps d.
Steps d, wireless communication module suspends initiates to rebuild connection request.
Step e, the random times of wireless communication module between 0 o'clock to 8 o'clock of second day is again initiated 5 times and is rebuild connection request.
Step f, wireless communication module sends operation of air conditioner data to server.
As from the foregoing, under the above-mentioned enforcement scene of the application, by wireless communication module after communicating interrupt, after the reconstruction connection request of initiating preset times, suspend the mode of initiating to rebuild connection request, avoid wireless communication module and attempt a large amount of flow waste that connection server causes for a long time, and solve multiple wireless communication module and initiate at the same time to rebuild connection request, the problem that the server stress caused is excessive.
In conjunction with another optional application scenarios, Fig. 4 is the flow chart of the means of communication according to the optional air-conditioner set of the another kind of the embodiment of the present invention, and as shown in Figure 4, a kind of optional execution mode of the application can comprise the steps:
Steps A, GPRS module detects communicating interrupt between air conditioner and server.
Step B, GPRS module detects and is stored in FLASH chip by operation of air conditioner data, wherein, is provided with FLASH chip in GPRS module.
Step C, whether GPRS module judges to re-establish between air conditioner with server to be connected.When reconnecting successfully between air conditioner and server, perform step D, when reconnecting unsuccessfully between air conditioner and server, perform step B.
Step D, the operation of air conditioner data stored in FLASH are sent to server by GPRS module.
It should be noted that, the GPRS module under above-mentioned application scenarios can be the wireless communication module in the present embodiment.
As from the foregoing, under the above-mentioned enforcement scene of the application, after air conditioner and server communicating interrupt being detected by GPRS module, the service data of air conditioner is stored in FLASH chip, until reconnecting between air conditioner and server successfully, the operation of air conditioner data stored in FLASH are sent to the mode of server, solve the problem of the loss of data caused by air conditioner and server communicating interrupt.
Embodiment two
According to the embodiment of the present invention, additionally provide a kind of embodiment of communication device of air-conditioner set, it should be noted that, the communication device of this air-conditioner set may be used for the means of communication of the air-conditioner set realizing the embodiment of the present invention, the means of communication of the air-conditioner set of the embodiment of the present invention also can be performed by the communication device of this air-conditioner set, carry out repeating no more of explanation in the inventive method embodiment.
Fig. 5 is the structural representation of the communication device of a kind of optional air-conditioner set according to the embodiment of the present invention.As described in Figure 5, this device comprises:
First detection module 40, for detecting the connection status between air conditioner and server, wherein, connection status comprises the unimpeded or communicating interrupt of communication.
Particularly, first detection module 40 detects the connection status between air conditioner and server.Connection status can comprise the unimpeded and communicating interrupt of communication, wherein, cause the reason of communicating interrupt can in following three kinds any one or multiple: the communicating interrupt that air conditioner abnormal power-down causes, the network congestion between air conditioner and server or network interruption and server occur abnormal.
It should be noted that, first detection module 40 can comprise wireless communication module, and the connection that first detection module 40 can be detected between air conditioner and server by wireless communication module fills state.
First request module 42, for when connection status is communicating interrupt, initiate i time to server and rebuild connection request, wherein, i is less than or equal to N, and N is natural number.
Particularly, between air conditioner and server during communicating interrupt, rebuild initiating to server the request connected in first request module 42, wherein, the number of times i rebuilding connection request can preset, and the number of times i rebuilding connection request is less than or equal to default natural number N, such as, N=5, i=3.
It should be noted that, the first request module 42 can comprise wireless communication module, and when wireless communication module is provided with reconnect function, the first request module 42 can be initiated to rebuild connection request to server by wireless communication module.
Second detection module 44, for after initiate to rebuild connection request i-th time to server, whether the connection detected between air conditioner and server rebuilds again.
Second request module 46, for when connection status is still communicating interrupt, suspends and initiates to rebuild connection request to server.
Particularly, after the first request module 42 initiates to rebuild the request connected i-th time, the second detection module 44 detects the connection status between air conditioner and server again.When communicating interrupt, the second request module 46 can be suspended server initiation Multiple Bonds connection request.
It should be noted that, the second detection module 44 can comprise wireless communication module, and the second detection module 44 can detect connection status between air conditioner and server again by wireless communication module.
Also it should be noted that, the application is by after initiation rebuilds the request connected i-th time, when connection status between air conditioner and server is still communicating interrupt, by suspending the method for connection server, can avoid air conditioner after communicating interrupt, air conditioner reconnects server for a long time incessantly, the problem of the flow waste of the air conditioner caused.Further, when server is connected with multiple air conditioner, exist at synchronization, the situation of connection server while of multiple air conditioner, suspend the connection to server by above-mentioned steps air conditioner, the problem being reconnected the server Bonding pressure increase that server causes by air conditioner for a long time incessantly can be solved.
Also it should be noted that, above-mentioned first detection module 40 can be identical detection module with the second detection module 44.Above-mentioned first request module 42 and the second request module 46 can be identical request module.
Control module 48, for when connection status be communication unimpeded time, control air conditioner and send operation of air conditioner data to server.
Particularly, after the second detection module 44 detects the connection status between air conditioner and server, if connection reconstruction success, namely connection status be communication unimpeded time, recover normal communication between air conditioner and server.
It should be noted that, operation of air conditioner data herein can be when air-conditioner set runs, and fault data when air-conditioner set breaks down detected, and this fault data can comprise the data such as title, the type of fault, the time of fault generation of defective device.
By above-mentioned first detection module 40, for detecting the connection status between air conditioner and server, wherein, connection status comprises the unimpeded or communicating interrupt of communication; First request module 42, for when connection status is communicating interrupt, air conditioner is initiated i time to server and is rebuild connection request, and wherein, i is less than or equal to N, and N is natural number; Second detection module 44, for after initiate to rebuild connection request i-th time to server, whether the connection detected between air conditioner and server rebuilds again, the second request module 46, for when connection status is still communicating interrupt, suspends and initiate to rebuild connection request to server; Control module 48, for when connection status be communication unimpeded time, control air conditioner and send operation of air conditioner data to server, after solving air-conditioner set wireless communication module and server communicating interrupt, in wireless communication module is long-time, constantly reconnect the technical problem that the pressure of the flow waste of the wireless communication module that server causes and server is excessive.
Alternatively, this device can also comprise:
3rd request module, for after delay first preset time period, air conditioner initiates to rebuild connection request to server again.
Particularly, after the first request module 42 initiates to rebuild connection request i time to server, rebuild under not having successful situation, air conditioner suspends the reconstruction connection request of initiating server.First preset time period can preset, such as: 10 hours.
Alternatively, the 3rd request module can comprise:
First request submodule, for the random times in sense cycle, air conditioner is initiated j time to server and is rebuild connection request, and wherein, sense cycle is the time cycle after delay first preset time period, and j is less than or equal to M, and M is natural number.
Particularly, sense cycle can be the time cycle preset, such as: sense cycle can be 0 o'clock of after communicating interrupt second day to 24 o'clock.First request submodule can after communicating interrupt second day the random time of 0 o'clock to 24 o'clock to server initiate rebuild connection request.Further, 0 o'clock to 8 o'clock of every day is that server workload is less, the period that operating pressure is lower, when sense cycle is 0 o'clock to 24 o'clock of after communicating interrupt second day, the first request submodule can be rebuild moment of connection request be arranged in the time period of 0 o'clock to 8 o'clock of after communicating interrupt second day.Wherein, the number of times j rebuilding connection request is less than or equal to default natural number M, such as, and M=5, j=4.
It should be noted that, initiate to reconnect request to server by the random times of air conditioner in sense cycle, avoid at synchronization, a large amount of air conditioners initiates to reconnect request, the problem that the server stress caused is excessive to server.
Alternatively, the 3rd request module can also comprise:
Whether detection sub-module, rebuild for the connection again detected between air conditioner and server.
4th request module, for when connection status is still communicating interrupt, in next sense cycle, air conditioner is initiated j time to server and is rebuild connection request, until air conditioner and server are rebuild successfully.
Particularly, after the first request submodule initiates to rebuild connection request j time to server, again can detecting connection status, when not rebuilding successful, in next sense cycle, again initiating to rebuild connection request.
It should be noted that, under air conditioner and server do not rebuild successful situation in first sense cycle, again can rebuild in next sense cycle.Avoid and constantly initiate to rebuild connection request, the problem that the air conditioner flow caused is wasted and server stress is large within the current detection cycle at air conditioner.
It should be noted that, the first request module in the embodiment of the present application, the second request module, the 3rd request module and the 4th request module can be identical request module.
Alternatively, this device can also comprise:
Cache module, for when connection status is communicating interrupt, air conditioner by the operation of air conditioner data buffer storage that generated to cache module.
Particularly, when detecting that connection status is communicating interrupt, the operation of air conditioner data in the communicating interrupt time period can be carried out buffer memory.Wherein cache module can FLASH chip in the wireless communication module of air conditioner.
The operation of air conditioner data of buffer memory in buffer unit, after the connection reconstruction between air conditioner and server, are sent to server by sending module.
Particularly, after air conditioner and server re-establish and are connected, operation of air conditioner data in the communicating interrupt time period can resend to server by wireless communication module, to guarantee the integrality of operation of air conditioner data, so that server is analyzed more accurately and diagnosed.
It should be noted that, the function that the application is performed by cache module and sending module, to solve in prior art between air conditioner and server during communicating interrupt, when rebuilding the annexation with server, data during communicating interrupt cannot be sent to server, the data loss problem caused.
Alternatively, this device detects the connection status between air conditioner and server by wireless communication module, and initiates to rebuild connection request and operation of air conditioner data by wireless communication module.
Particularly, air conditioner can comprise wireless communication module, and wireless communication module can be connected with the off-premises station of air conditioner.Wireless communication module can be GPRS module.Connection status between air conditioner and server can be detected by wireless communication module, and send to server and rebuild connection request and operation of air conditioner data.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed technology contents, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, can be that a kind of logic function divides, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed on multiple unit.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
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 (12)

1. means of communication for air-conditioner set, is characterized in that, comprising:
Detect the connection status between air conditioner and server, wherein, described connection status comprises the unimpeded or communicating interrupt of communication;
When described connection status is described communicating interrupt, described air conditioner is initiated i time to described server and is rebuild connection request, and wherein, i is less than or equal to N, and N is natural number;
After described server being initiated to rebuild connection request i-th time, whether the connection again detected between described air conditioner and described server rebuilds;
When described connection status is still described communicating interrupt, suspends and initiate to rebuild connection request to described server;
When described connection status be described communication unimpeded time, control described air conditioner and send operation of air conditioner data to described server.
2. method according to claim 1, it is characterized in that, after suspending the reconstruction connection request of initiating described server, described method also comprises: after delay first preset time period, and described air conditioner initiates described reconstruction connection request to described server again.
3. method according to claim 2, is characterized in that, after described first preset time period of delay, the step that described air conditioner initiates described reconstruction connection request to described server again comprises:
Random times in sense cycle, described air conditioner initiates j described reconstruction connection request to described server, and wherein, described sense cycle is the time cycle after delay first preset time period, and j is less than or equal to M, and M is natural number.
4. method according to claim 3, is characterized in that, the random times in sense cycle, and after described air conditioner initiates j described reconstruction connection request to described server, described method also comprises:
Whether the connection again detected between described air conditioner and described server rebuilds;
When described connection status is still described communicating interrupt, in next sense cycle, described air conditioner initiates j described reconstruction connection request, until described air conditioner and described server are rebuild successfully to described server.
5. method according to claim 1, is characterized in that, after detecting the connection status between air conditioner and server, described method also comprises:
When described connection status is described communicating interrupt, described air conditioner by the described operation of air conditioner data buffer storage that generated to buffer unit;
After connection reconstruction between described air conditioner and described server, the described operation of air conditioner data of buffer memory in described buffer unit are sent to described server.
6. method according to claim 1, it is characterized in that, described air conditioner detects the connection status between described air conditioner and described server by wireless communication module, and sends described reconstruction connection request and described operation of air conditioner data by described wireless communication module.
7. a communication device for air-conditioner set, is characterized in that, comprising:
First detection module, for detecting the connection status between air conditioner and server, wherein, described connection status comprises the unimpeded or communicating interrupt of communication;
First request module, for when described connection status is described communicating interrupt, initiate i time to described server and rebuild connection request, wherein, i is less than or equal to N, and N is natural number;
Second detection module, for after initiate to rebuild connection request i-th time to described server, whether the connection again detected between described air conditioner and described server rebuilds;
Second request module, for when described connection status is still described communicating interrupt, suspends and initiates to rebuild connection request to described server;
Control module, for when described connection status be described communication unimpeded time, control described air conditioner and send operation of air conditioner data to described server.
8. device according to claim 7, is characterized in that, described device also comprises,
3rd request module, for after delay first preset time period, described air conditioner initiates described reconstruction connection request to described server again.
9. device according to claim 8, is characterized in that, described 3rd request module comprises:
First request submodule, for the random times in sense cycle, described air conditioner initiates j described reconstruction connection request to described server, wherein, described sense cycle is the time cycle after delay first preset time period, and j is less than or equal to M, and M is natural number.
10. device according to claim 9, is characterized in that, described 3rd request module also comprises:
Whether detection sub-module, rebuild for the connection again detected between described air conditioner and described server;
4th request module, for when described connection status is still described communicating interrupt, in next sense cycle, described air conditioner initiates j described reconstruction connection request, until described air conditioner and described server are rebuild successfully to described server.
11. devices according to claim 7, is characterized in that, described device also comprises:
Cache module, for when described connection status is described communicating interrupt, described air conditioner by the described operation of air conditioner data buffer storage that generated to buffer unit;
The described operation of air conditioner data of buffer memory in described buffer unit, after the connection reconstruction between described air conditioner and described server, are sent to described server by sending module.
12. devices according to claim 7, it is characterized in that, described device detects the connection status between described air conditioner and described server by wireless communication module, and initiates described reconstruction connection request and described operation of air conditioner data by described wireless communication module.
CN201510497199.8A 2015-08-13 2015-08-13 The means of communication and device of air-conditioner set Active CN105142235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510497199.8A CN105142235B (en) 2015-08-13 2015-08-13 The means of communication and device of air-conditioner set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510497199.8A CN105142235B (en) 2015-08-13 2015-08-13 The means of communication and device of air-conditioner set

Publications (2)

Publication Number Publication Date
CN105142235A true CN105142235A (en) 2015-12-09
CN105142235B CN105142235B (en) 2019-02-26

Family

ID=54727401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510497199.8A Active CN105142235B (en) 2015-08-13 2015-08-13 The means of communication and device of air-conditioner set

Country Status (1)

Country Link
CN (1) CN105142235B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254427A (en) * 2016-07-22 2016-12-21 广东美的暖通设备有限公司 The air conditioning unit means of communication and device
CN106817729A (en) * 2017-01-22 2017-06-09 广东美的暖通设备有限公司 The communication control method and device of air-conditioning
CN108259536A (en) * 2016-12-29 2018-07-06 佛山市顺德区美的电热电器制造有限公司 A kind of control method, apparatus and system
CN110220273A (en) * 2019-04-26 2019-09-10 广东建设职业技术学院 A kind of Heating,Ventilating and Air Conditioning monitor supervision platform and its control method based on Internet of Things
CN111397174A (en) * 2020-03-27 2020-07-10 四川虹美智能科技有限公司 Centralized management and control system and management method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387069A (en) * 2011-10-08 2012-03-21 华为技术有限公司 Method and system for connecting clients with server and clients as well as server
CN202581692U (en) * 2012-05-08 2012-12-05 珠海格力电器股份有限公司 Air conditioning system and fault processing device and processing system as well as data processing platform
US20130054818A1 (en) * 2011-08-31 2013-02-28 Seiko Epson Corporation Processing terminal and processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130054818A1 (en) * 2011-08-31 2013-02-28 Seiko Epson Corporation Processing terminal and processing method
CN102387069A (en) * 2011-10-08 2012-03-21 华为技术有限公司 Method and system for connecting clients with server and clients as well as server
CN202581692U (en) * 2012-05-08 2012-12-05 珠海格力电器股份有限公司 Air conditioning system and fault processing device and processing system as well as data processing platform

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254427A (en) * 2016-07-22 2016-12-21 广东美的暖通设备有限公司 The air conditioning unit means of communication and device
CN108259536A (en) * 2016-12-29 2018-07-06 佛山市顺德区美的电热电器制造有限公司 A kind of control method, apparatus and system
CN108259536B (en) * 2016-12-29 2021-09-14 佛山市顺德区美的电热电器制造有限公司 Control method, device and system
CN106817729A (en) * 2017-01-22 2017-06-09 广东美的暖通设备有限公司 The communication control method and device of air-conditioning
CN106817729B (en) * 2017-01-22 2020-03-06 广东美的暖通设备有限公司 Communication control method and device of air conditioner
CN110220273A (en) * 2019-04-26 2019-09-10 广东建设职业技术学院 A kind of Heating,Ventilating and Air Conditioning monitor supervision platform and its control method based on Internet of Things
CN111397174A (en) * 2020-03-27 2020-07-10 四川虹美智能科技有限公司 Centralized management and control system and management method thereof

Also Published As

Publication number Publication date
CN105142235B (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN105142235A (en) Communication method and communication device of air conditioning unit
CN103053175B (en) IPTV fault locating method, device and system
CN104170323A (en) Fault handling method, device and system based on network function virtualization
CN102739453B (en) Main/standby switching method, equipment and system
CN103729275B (en) Hard disk firmware repairing system and hard disk firmware repairing method
CN106201844A (en) A kind of log collecting method and device
CN105202704B (en) The display methods and device of air-conditioning fault message
CN104424048A (en) Data storage method and equipment
CN106681869A (en) Computer fault detection system
CN104613607A (en) Data interaction method and device and air-conditioner control system
CN105222281A (en) The method that air-conditioning high pressure detects and device
CN105611316A (en) Method, device and system for adjusting frame rate
CN104391656A (en) IO (input/ output) resource allocation method and device of storage device and storage device
CN105511325A (en) Data-processing system, method, and device for machine unit
CN105553743A (en) Log obtaining method, system, first network device and third network device
CN105322542A (en) Processing method and device for distribution network fault
CN104615065A (en) Data processing method and device for train network control system
CN105790902A (en) Redundant network card switching realization method and system
CN106557404A (en) A kind of method and mobile terminal of application control
CN111010706B (en) Abnormality recovery method and device
CN105100125A (en) Sleep control method, sleep control device and sleep control system for virtual desktop
CN102325171B (en) Data storage method in monitoring system and system
CN103391246A (en) Message processing method and device
CN105487921A (en) Task stack management method and apparatus
CN104468221A (en) Server fault hot-switching method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant