CN104076749A - Concurrent connection method, monitoring method and related device and system - Google Patents

Concurrent connection method, monitoring method and related device and system Download PDF

Info

Publication number
CN104076749A
CN104076749A CN201310102679.0A CN201310102679A CN104076749A CN 104076749 A CN104076749 A CN 104076749A CN 201310102679 A CN201310102679 A CN 201310102679A CN 104076749 A CN104076749 A CN 104076749A
Authority
CN
China
Prior art keywords
electrical appliance
household electrical
monitoring server
link
monitoring
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
CN201310102679.0A
Other languages
Chinese (zh)
Other versions
CN104076749B (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 CN201310102679.0A priority Critical patent/CN104076749B/en
Publication of CN104076749A publication Critical patent/CN104076749A/en
Application granted granted Critical
Publication of CN104076749B publication Critical patent/CN104076749B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a concurrent connection method, a monitoring method and a related device and a system. A household appliance judges whether the own state meets a first preset condition, if yes, link connection between the household appliance and a monitoring server is broken, and after the link is broken for a first preset time duration or the household appliance is switched from a shutdown state to a startup state, the link between the household appliance and the monitoring server is built again. A plurality of household appliances exist in one monitoring system, the own state of each household appliance is not totally the same, and thereof, the time when the link between each household appliance and the monitoring server is different, the above time sharing multiplex connection mode is adopted for realizing a large amount of concurrent long connection between the household appliance and the monitoring server, the long connection does not mean the distance is long but refers to long-time connection, and usability of the monitoring system is improved.

Description

Concurrent method of attachment, method for supervising and relevant device and system
Technical field
The application relates to computer control automation field, particularly relates to a kind of concurrent method of attachment, method for supervising and relevant device and system.
Background technology
Along with the fast development of Internet technology, application in domestic appliances is more and more extensive, and household electrical appliance can be connected with the supervisory system based on internet, thereby realizes the monitoring to household electrical appliance.
At present, the existing supervisory system based on internet, is man-to-man monitor mode mostly, i.e. household electrical appliance of an Internet Server monitoring, also some is the monitor mode of one-to-many, an Internet Server is monitored multiple household electrical appliance, but existing one-to-many monitor mode, can only realize short-term monitoring, in the time that needs are monitored household electrical appliance, household electrical appliance are connecting Internet server, treat after household electrical appliance monitoring, disconnect being connected between household electrical appliance and Internet Server, like this, monitoring efficiency is low, can not monitor in real time the state of household electrical appliance, and, if the moment being connected with Internet Server at household electrical appliance goes wrong, the availability of whole supervisory system will be had a strong impact on.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of concurrent method of attachment, method for supervising and relevant device and system, and to realize the monitor mode of a large amount of concurrent long-time connections, technical scheme is as follows:
The application provides a kind of concurrent method of attachment, is applied to the process connecting between household electrical appliance and monitoring server, comprising:
Obtain the running status of described household electrical appliance, wherein, described running status at least comprises the Link State between open state, off-mode or described household electrical appliance and described monitoring server;
Judge that whether described running status meets first pre-conditioned, obtain judged result;
In the time obtaining described running status and meet the first pre-conditioned judged result, disconnect the link between described household electrical appliance and described monitoring server;
Link between described household electrical appliance and described monitoring server reaches the first default duration in the disconnection duration of off-state, or in the time that described household electrical appliance are converted to open state by off-mode, re-establish the link between described household electrical appliance and described monitoring server.
Preferably, described to judge that whether described running status meets first pre-conditioned, obtains judged result and comprise:
Record the shutdown duration of described household electrical appliance in off-mode;
Obtain the Link State between household electrical appliance and monitoring server, wherein, described Link State comprises coupled situation and off-state.
In the time knowing that link between household electrical appliance and monitoring server is in coupled situation, record link between described household electrical appliance and the described monitoring server monitoring moment in the time of coupled situation;
Shutdown duration and the second default duration of more described household electrical appliance in off-mode, in the time that described shutdown duration is greater than the described second default duration, the running status that obtains described household electrical appliance meets the first pre-conditioned judged result; Or,
Difference between current monitoring moment and the monitoring moment of last monitoring of more described household electrical appliance and the 3rd default duration, in the time that described difference is greater than the described the 3rd default duration, the running status that obtains described household electrical appliance meets described the first pre-conditioned judged result, wherein, the monitoring moment of described last monitoring is that the link of described household electrical appliance and described monitoring server is the zero hour in the time of coupled situation for the last time before the described current monitoring moment.
Preferably, before obtaining the running status of described household electrical appliance, also comprise:
After described household electrical appliance power on, for described household electrical appliance distribute a random factor;
Utilize described random factor to calculate the described second default duration and/or the described the 3rd default duration.
Preferably, describedly record described household electrical appliance and be specially in the shutdown duration of off-mode:
When the microprocessor of described household electrical appliance inside receives the trigger pip of cutting out described household electrical appliance, start to clock, finish until receive the trigger pip of the described household electrical appliance of unlatching.
Preferably, described record link between described household electrical appliance and the described monitoring server monitoring moment in the time of coupled situation, is specially:
When the microprocessor of described household electrical appliance inside receives the response message of the described household electrical appliance connection of permission of described monitoring server feedback, in the record moment now, obtain monitoring the moment.
The application also provides a kind of method for supervising, is applied to household electrical appliance, and described household electrical appliance utilize above-mentioned concurrent method of attachment to connect with monitoring server, and described method comprises:
Obtain the service data of described household electrical appliance;
By described service data and the identify label binding that shows described household electrical appliance, obtain monitor message, and described monitor message is sent to described monitoring server.
Preferably, the MAC Address that described identify label is described household electrical appliance.
The application also provides a kind of method for supervising, is applied to monitoring server, is provided with a data buffer area in described monitoring server, and described method comprises:
Receive the monitor message that comprises identify label that described household electrical appliance send, and be stored in described data buffer area;
Resolve described monitor message and obtain identify label and the service data of described household electrical appliance, and described service data is carried out to corresponding analyzing and processing.
The application also provides a kind of household electrical appliance, and described household electrical appliance can connect with long-range monitoring server, and described household electrical appliance at least comprise: detection module, microprocessor and communication module;
Described detection module, for detection of the service data of household electrical appliance, and offers described microprocessor;
Described communication module, carries out data transmission for microprocessor and long-range monitoring server;
Described microprocessor, for obtaining the running status of described household electrical appliance, meets first when pre-conditioned when judging described running status, controls described household electrical appliance and disconnects the link between described monitoring server; And reach the first default duration at the link of judging between described household electrical appliance and described monitoring server in the disconnection duration of off-state, or in the time that described household electrical appliance are converted to open state by off-mode, control described household electrical appliance and re-establish the link between described monitoring server.
The application also provides a kind of monitoring server, and described monitoring server is applied above-mentioned concurrent method of attachment and connected with household electrical appliance, and described monitoring server comprises processor, storer, communication module, wherein:
One data buffer area is set in described storer, and for storing the monitor message from described household electrical appliance, wherein, described monitor message comprises the identify label that shows described household electrical appliance identity;
Described processor, for obtaining and resolve described monitor message, obtains identify label and the service data of described household electrical appliance, and described service data is carried out to corresponding analyzing and processing;
Described communication module, for carrying out data transmission with described household electrical appliance.
The application also provides a kind of supervisory system, comprising: multiple household electrical appliance and a monitoring server, and between described multiple household electrical appliance and described monitoring server, adopt above-mentioned concurrent method of attachment to connect, on described monitoring server, be provided with data buffer area;
Described household electrical appliance obtain the service data of self, will after described service data and the identify label of self binding, obtain monitor message, and described monitor message is sent to described monitoring server;
Described monitoring server receives described monitor message, described monitor message is stored in to described data buffer area, resolve described monitor message acquisition and show the identify label of described household electrical appliance identity and the service data of described household electrical appliance, and described service data is done to corresponding analyzing and processing.
The technical scheme being provided from above the embodiment of the present application, concurrent connected mode provided by the invention, household electrical appliance adopt the connecting mode of time-sharing multiplex, connect with long-range monitoring server, it is always connected, concrete making at application household electrical appliance and monitoring server, household electrical appliance are within the certain hour cycle, the link disconnecting between itself and monitoring server connects, and after certain hour section, again connects the link between monitoring server.In the supervisory system being formed by multiple household electrical appliance and monitoring server, multiple household electrical appliance all adopt above-mentioned time-sharing multiplex connecting mode to be connected with monitoring server, because the running status of multiple household electrical appliance is incomplete same, therefore, at a time, the state of link in system between some household electrical appliance and monitoring server in disconnecting, the link of another part household electrical appliance and monitoring server, in coupled situation, connects a large amount of household electrical appliance thereby can realize a monitoring server.And compared with existing one-to-many monitor mode, not need to monitor household electrical appliance time, just connect monitoring server, but disconnect after certain hour section with monitoring server, no matter household electrical appliance all connect monitoring server again in which kind of state, thereby have improved the availability of supervisory system.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, the accompanying drawing the following describes is only some embodiment that record in the application, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of concurrent method of attachment of the embodiment of the present application;
Fig. 2 is the schematic flow sheet of the another kind of concurrent method of attachment of the embodiment of the present application;
Fig. 3 is the schematic flow sheet of the another kind of concurrent method of attachment of the embodiment of the present application;
Fig. 4 is the schematic flow sheet of a kind of method for supervising that is applied to household electrical appliance of the embodiment of the present application;
Fig. 5 is the schematic flow sheet of a kind of method for supervising that is applied to monitoring server of the embodiment of the present application;
Fig. 6 is the schematic flow sheet of a kind of method for supervising that is applied to supervisory system of the embodiment of the present application;
Fig. 7 is the structural representation of a kind of household electrical appliance of the embodiment of the present application;
Fig. 8 is the structural representation of a kind of monitoring server of the embodiment of the present application;
Fig. 9 is the structural representation of a kind of supervisory system of the embodiment of the present application.
Embodiment
The embodiment of the present application provides a kind of concurrent method of attachment, so-called concurrent referring to has multiple programs to move at the same time within a period of time in macroscopic view, but in single processor system, each moment but only can have program to carry out, thus on microcosmic these programs can only be timesharing alternately carry out.
Described concurrent connected mode is applied to household electrical appliance, realize connecting between remote monitoring server, because connecting interface, the thread resources of monitoring server are limited, therefore, household electrical appliance connect long-range monitoring server by the connected mode of time-sharing multiplex.
Concrete, the household electrical appliance in the application can be air-conditioning, TV, refrigerator, washing machine etc.
Concrete, each household electrical appliance according to the running status of self or and monitoring server between coupled situation, calculating is rolled off the production line the moment, calculate the moment that the link between disconnection household electrical appliance and monitoring server connects, and after the first default duration, or, in the time that household electrical appliance are converted to open state by off-mode, again connect the link between household electrical appliance and monitoring server.Like this, the moment of rolling off the production line of the multiple household electrical appliance in supervisory system is incomplete same, thereby realizes time-sharing multiplex.
In order to make those skilled in the art person understand better the technical scheme in the application, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiment.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtaining under creative work prerequisite, all should belong to the scope of the application's protection.
Embodiment of concurrent method of attachment that the application provides, as shown in Figure 1, described concurrent method of attachment is applied to household electrical appliance, said method comprising the steps of:
100, obtain the running status of household electrical appliance;
Wherein, described running status at least comprise open state, off-mode or and described monitoring server between Link State;
200, judge that whether described running status meets first pre-conditioned, if so, perform step 300; Otherwise, return to execution step 100.
Concrete, judge whether described running status meets first pre-conditioned, be specifically as follows:
Judge that whether described household electrical appliance are greater than the second default duration in the shutdown duration of off-mode, if so, obtain described running status and meet the first pre-conditioned result; Or,
Judge that link between described household electrical appliance and long-range monitoring server is in the time of coupled situation, the current of correspondence monitored the moment and enters the difference between last monitoring moment before in current monitoring moment, whether be greater than the 3rd monitor duration, if so, obtain described running status and meet the first pre-conditioned result.
300, disconnect the link between described household electrical appliance and described monitoring server.
400, judge whether the link between described household electrical appliance and monitoring server reaches the first default duration in the disconnection duration of off-state, or, judge that whether household electrical appliance are converted to open state by off-mode, if so, perform step 500; Otherwise, maintain current state.
Herein maintain current state, refer to the state that household electrical appliance and monitoring server disconnect that maintains.
500, again connect the link between described household electrical appliance and monitoring server.
When concrete enforcement, the link between described household electrical appliance and monitoring server disconnects after the first default duration, and no matter household electrical appliance are in which kind of state, all by the link again connecting between household electrical appliance and monitoring server.Or, in the time that household electrical appliance are converted to open state by off-mode, again connect the link between household electrical appliance and monitoring server.
The concurrent method of attachment that the present embodiment provides, it is first pre-conditioned that household electrical appliance judge whether oneself state meets, if, the link disconnecting between itself and monitoring server connects, and disconnect after the first default duration at described link, or when household electrical appliance are converted to open state by off-mode, household electrical appliance re-establish the link between monitoring server.In a supervisory system, there are multiple household electrical appliance, the oneself state of each household electrical appliance is incomplete same, therefore, the asynchronism(-nization) that link between each household electrical appliance and monitoring server disconnects, thus adopt the connecting mode of this kind of time-sharing multiplex to realize a large amount of concurrent long connection the between household electrical appliance and monitoring server, the long not distance that connects, and refer to long-time connection, improve the availability of supervisory system.
Referring to Fig. 2, show the schematic flow sheet of a kind of concrete concurrent method of attachment of the embodiment of the present application, described concurrent method of attachment is applied to household electrical appliance, specifically comprises the following steps:
101, obtain the running status of described household electrical appliance;
Wherein, running status at least comprises the Link State between open state, off-mode or household electrical appliance and monitoring server.
Concrete, the microprocessor of household electrical appliance inside can obtain the running status of household electrical appliance, wherein, when household electrical appliance are during in off-mode, the not power-off of described microprocessor, still can continue operation, therefore, can obtain the state of household electrical appliance shutdown by microprocessor.
102, record the shutdown duration of household electrical appliance in off-mode;
Microprocessor, in the time household electrical appliance being detected in off-mode, starts timing, in the time detecting that household electrical appliance are converted to open state by off-mode, finishes timing, obtains the duration that shuts down.
103, obtain the Link State between household electrical appliance and monitoring server; Wherein, described Link State comprises coupled situation and off-state.
104, record Link State between household electrical appliance and the monitoring server monitoring moment in the time of coupled situation.
In the time that household electrical appliance connect with monitoring server, monitoring server can feed back the response message of a permission household electrical appliance access, and now, the microprocessor in household electrical appliance starts timing, thereby obtains the monitoring moment.
Wherein, it should be noted that, step 101,102 and step 103,104 order can put upside down mutually, or carry out simultaneously.Be that step 101 and 103 is exchanged, step 102 and step 104 are exchanged.
105, judge whether shutdown duration is greater than the second default duration, or whether current monitoring moment and the difference of monitoring the moment last time be greater than the 3rd and preset duration, if so, perform step 106, otherwise return to step 101.
When concrete enforcement, the described second default duration or the 3rd default duration all can add that the mode of random factor is definite according to a fixing duration, wherein, the second default duration and the 3rd default duration can equate, also can not wait, specifically can determine the second default duration, the 3rd default duration according to actual applied environment.
Suppose, described fixing duration is 1 hour, and random factor is 0.5, and the second default duration is 1.5 hours.If the shutdown duration of household electrical appliance is 2 hours, 2 hours > 1.5 hours, perform step 106.
The described current monitoring moment is the moment that household electrical appliance and monitoring server enter current coupled situation, before the monitoring moment of last monitoring refers to that the link of household electrical appliance and monitoring server enters current coupled situation, the last zero hour in the time of coupled situation.
Suppose, the current monitoring moment is points in the mornings 11, before the current monitoring moment, the zero hour of link between household electrical appliance and monitoring server in coupled situation is points in the mornings 9, the monitoring moment of last monitoring is 9 points, and the difference between the monitoring moment of current monitoring moment and last monitoring is 2 hours, now, 2 hours > 1.6 hours (supposing that the 3rd default duration is 1.6 hours), execution step 106.
106, disconnect the link between household electrical appliance and monitoring server.
107, record the disconnection duration of link in off-state between household electrical appliance and monitoring server.
In the time household electrical appliance and monitoring server disconnecting link being detected, start timing, in the time connection order being detected again, finish timing, obtain disconnecting duration.
108, judge whether described disconnection duration reaches the first default duration, or whether household electrical appliance be converted to open state by off-mode, if so, perform step 109; Otherwise, maintain current state.
Described current state is that link between household electrical appliance and monitoring server is in off-state.
Wherein, the described first default duration can be determined according to the framework of the supervisory system at monitoring server place, when the framework of supervisory system is larger, needs the number of units of the household electrical appliance of monitoring more, and the first default duration is longer, otherwise the first default duration is shorter.The first default duration can also be the numerical value of system default.
109, household electrical appliance re-establish the link between itself and described monitoring server.
Suppose that the first default duration is 5 minutes, after the link between household electrical appliance and monitoring server disconnects 5 minutes, no matter household electrical appliance all re-establish the link between household electrical appliance and monitoring server in which kind of state, or, link between household electrical appliance and monitoring server does not reach the first default duration 5 minutes in the disconnection duration of off-state, but detect that household electrical appliance are converted to open state by off-mode, equally again connect the link between household electrical appliance and monitoring server.
The concurrent method of attachment that the present embodiment provides, whether meet pre-conditioned by the state that judges household electrical appliance self, if, the link disconnecting between household electrical appliance and monitoring server connects, in a supervisory system, there are multiple household electrical appliance, the oneself state of each household electrical appliance is incomplete same, therefore, the asynchronism(-nization) that link between each household electrical appliance and monitoring server disconnects, thereby the connecting mode that adopts this kind of time-sharing multiplex is realized a large amount of concurrent long connection the between household electrical appliance and monitoring server, improves the availability of supervisory system.
The application also provides another kind of concurrent method of attachment, the embodiment corresponding from Fig. 2 is different, and the method step of the concurrent method of attachment shown in Fig. 2 is specialized, and refers to Fig. 3, described concurrent method of attachment is applied to household electrical appliance, comprises the following steps:
201, after described household electrical appliance power on, distribute a random factor.
202, utilize described random factor to calculate the second default duration and/or the 3rd default duration.
203, obtain the running status of household electrical appliance;
Wherein said running status at least comprises the Link State between open state, off-mode or household electrical appliance and monitoring server, and described Link State comprises coupled situation and off-state.
204, when the microprocessor of household electrical appliance inside receives the trigger pip of cutting out described household electrical appliance, start to clock, finish until receive the trigger pip of the described household electrical appliance of unlatching, obtain the shutdown duration of described household electrical appliance in off-mode.
205, obtain the Link State between described household electrical appliance and described monitoring server, wherein, described Link State comprises coupled situation and off-state;
206, when described microprocessor receives the response message of the described household electrical appliance connection of permission of described monitoring server feedback, obtain monitoring the moment.
207, judge whether shutdown duration is greater than the second default duration, or whether difference between the monitoring moment of current monitoring moment and last monitoring be greater than the 3rd default duration, if so, perform step 208, otherwise, return and perform step 203.
208, disconnect the link between described household electrical appliance and described monitoring server.
209, record link between household electrical appliance and the monitoring server disconnection duration in off-state.
210, judge whether the link maintenance between described household electrical appliance and described monitoring server reaches the first default duration at the disconnection duration of off-state, or judge that whether described household electrical appliance are converted to open state by off-mode, if so, perform step 211; Otherwise described household electrical appliance maintain current state.
Wherein, the described first default duration is determined according to the number of units of the described household electrical appliance that comprise in the supervisory system at described monitoring server place, or the acquiescence numerical value being arranged by system.
211, re-establish the link between described household electrical appliance and described monitoring server.
Wherein, the described first default duration is determined according to the number of units of the described household electrical appliance that comprise in the supervisory system at described monitoring server place.
The concurrent method of attachment that the present embodiment provides is applied to household electrical appliance, adopts time-sharing multiplex connected mode to realize a large amount of concurrent long connection the between monitoring server, and length connects not distance, has improved the availability of supervisory system.
The application also provides a kind of method for supervising that is applied to household electrical appliance, and described household electrical appliance adopt above-mentioned concurrent method of attachment to connect with monitoring server, as shown in Figure 4, said method comprising the steps of:
301, obtain the service data of described household electrical appliance;
Described service data can comprise the running status of household electrical appliance, working time in this kind of running status, and the numerical value etc. of corresponding major parameter under running status.Such as parameters such as motor speed in the time of normal boot-strap state of the design temperature of, air-conditioning, air-conditioning, voltage, electric currents.
302, by described service data and the identify label binding that shows described household electrical appliance identity, obtain monitor message, and be sent to described monitoring server.
Wherein, described identify label can be unique mark that can show household electrical appliance, such as MAC(Media Access Control, medium access control) address.
Household electrical appliance adopt the disclosed concurrent method of attachment of above-described embodiment to connect after monitoring server, household electrical appliance obtain the service data of self by sensing device (such as sensor), and this service data is bound with showing the identify label of household electrical appliance identity, be sent to monitoring server, because concurrent connected mode is time-sharing multiplex connected mode, therefore, must be by the service data of household electrical appliance and identify label binding, thus the service data that monitoring server is distinguished receive is the service data of which household electrical appliance.
The application also provides a kind of method for supervising that is applied to monitoring server, is provided with a data buffer area in described monitoring server, and this data buffer area can be the part in memory block, can be also storage area independently.
As shown in Figure 5, described method for supervising comprises the following steps:
401, receive the monitor message that comprises identify label that described household electrical appliance send, and be stored in described data buffer area.
402, resolve described monitor message and obtain identify label and the service data of described household electrical appliance, and described service data is carried out to corresponding analyzing and processing.
Because a large amount of household electrical appliance connect with monitoring server by time-sharing multiplex mode, therefore, monitoring server receives a large amount of monitor messages, because the processing power of monitoring server is limited, therefore monitor message is stored in data buffer area.Known according to the embodiment of above-mentioned concurrent method of attachment, the link that household electrical appliance can disconnect between itself and monitoring server in the time of off-mode connects, and disconnect the eve connecting, the service data of self is sent to monitoring server and carries out buffer memory, the parameter of the running status of household electrical appliance in the time of off-mode remains unchanged, now, if user wants to check the current running status of household electrical appliance, what monitoring server was shown is the data of storage in data buffer area, like this, for user, sensation household electrical appliance and monitoring server are linked together always.
The application also provides a kind of method for supervising that is applied to supervisory system, described supervisory system comprises multiple household electrical appliance and a monitoring server, wherein, between described multiple household electrical appliance and monitoring server, connect by above-mentioned concurrent connected mode, as shown in Figure 6, described method for supervising comprises:
501, household electrical appliance obtain the service data of described household electrical appliance;
502, household electrical appliance, by described service data and the identify label binding that shows described household electrical appliance identity, obtain monitor message, and are sent to described monitoring server.
503, monitoring server receives the monitor message that comprises identify label that described household electrical appliance send, and is stored in described data buffer area.
504, monitoring server is resolved described monitor message, obtains identify label and the service data of described household electrical appliance, and described service data is carried out to corresponding analyzing and processing.
Now, when if desired household electrical appliance controls, also comprise:
505, when described service data meets when pre-conditioned, send the control command of response to household electrical appliance corresponding to described identify label.
By bind the identify label of household electrical appliance in service data, make monitoring server know that handled monitor message is the monitor message of which household electrical appliance, connect with monitoring server at application household electrical appliance thereby realize always.
Corresponding to the above-mentioned concurrent method of attachment that is applied to household electrical appliance, the application also provides a kind of household electrical appliance, and as shown in Figure 7, described household electrical appliance at least comprise: microprocessor 602 and communication module 603.
Detection module 601, for detection of the service data of household electrical appliance and offer microprocessor 602.
Wherein, detection module 601 can be realized by sensor.
Communication module 603, carries out data transmission for microprocessor 602 and long-range monitoring server.
Microprocessor 602, for detection of the running status of household electrical appliance, records the shutdown duration of household electrical appliance in off-mode; And detect the Link State between communication module 603 and long-range monitoring server, and monitoring moment when recording link between household electrical appliance and monitoring server and entering coupled situation.
When concrete enforcement, in the time that microprocessor 602 detects household electrical appliance in off-mode, start timing, in the time detecting that household electrical appliance are converted to open state by off-mode, finish timing, obtain the duration that shuts down.
In the time that household electrical appliance connect with monitoring server, monitoring server can feed back the response message of a permission household electrical appliance access, in the microprocessor records moment now, obtains monitoring the moment.
Micro-processing 602, also for being greater than the second default duration when judging described shutdown duration, or difference between the monitoring moment of current monitoring moment and last monitoring is while being greater than the 3rd default duration, control the link between described communication module disconnection and described monitoring server; And, when the link of judging between described household electrical appliance and monitoring server reaches the first default duration in the disconnection duration of off-state, maybe, in the time detecting that described household electrical appliance are converted to open state by off-mode, re-establish the link between described communication module and described monitoring server.
Wherein, the described first default duration is determined according to the number of units of the described household electrical appliance that comprise in the supervisory system at described monitoring server place, can is also the acquiescence numerical value being arranged by system.
The household electrical appliance that the present embodiment provides, utilize microprocessor to detect the state of household electrical appliance, and meet certain when pre-conditioned at the state of household electrical appliance, disconnect the link between household electrical appliance and monitoring server, and disconnect after the first default duration at household electrical appliance and monitoring server, re-establish connecting between household electrical appliance and monitoring server; Or, disconnect after the link between monitoring server at household electrical appliance, if when household electrical appliance are converted to open state from off-mode, re-establish connecting between household electrical appliance and monitoring server, thereby realize time-sharing multiplex connected mode, and then realize a large amount of concurrent connections, improve the availability of supervisory system.
Corresponding to the above-mentioned concurrent method of attachment that is applied to monitoring server, the application also provides a kind of monitoring server, and described monitoring server adopts the above-mentioned concurrent method of attachment that is applied to monitoring server to connect with multiple household electrical appliance, forms supervisory system.
As shown in Figure 8, described monitoring server at least comprises: processor 701, storer 702, and communication module 703, wherein:
One data buffer area is set in storer 702, and for storing the monitor message from described household electrical appliance, wherein, described monitor message comprises the identify label that shows described household electrical appliance identity.
Processor 701, for resolving the described monitor message receiving, obtains identify label and the service data of described household electrical appliance, and described service data is carried out to corresponding analyzing and processing.
Described processor receives described monitor message, and resolve described monitor message, obtain service data and the identify label of household electrical appliance, and service data is processed accordingly, when described service data meets when pre-conditioned, produce corresponding control command, and offer household electrical appliance corresponding to described identify label.
Communication module 703, for connecting with described household electrical appliance.
One data buffer area is set on the storer in described monitoring server, the monitor message of the household electrical appliance that receive is stored in this data buffer area, the monitor message of the multiple household electrical appliance that receive is processed one by one, thereby In the view of the user who uses this supervisory system, multiple household electrical appliance are that a direct sum monitoring server connects.
The application also provides a kind of supervisory system, and referring to Fig. 9, described supervisory system comprises multiple household electrical appliance and a monitoring server, and the household electrical appliance in the present embodiment describe as an example of air-conditioning example.
Between described multiple air-conditioning 801 and described monitoring server 802, adopt above-mentioned concurrent method of attachment to connect, on described monitoring server, be provided with data buffer area;
Air-conditioning 801, for obtaining the service data of self, will obtain monitor message after described service data and the identify label of self binding, and described monitor message is sent to described monitoring server.
Described service data can comprise the service datas such as the running status, motor speed, operating voltage, working current, frequency of operation of air-conditioning.
Monitoring server 802, be used for receiving described monitor message, first described monitor message is stored in to described data buffer area, resolve described monitor message and obtain the identify label that shows described household electrical appliance identity, and the service data of described household electrical appliance, and described service data is done to corresponding analyzing and processing.
Monitoring server 802 is by the service data that receives air-conditioning 801 being resolved to the state of knowing household electrical appliance, and to household electrical appliance sending controling instruction, realizes the Long-distance Control to household electrical appliance.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.
The above is only the application's embodiment; it should be pointed out that for those skilled in the art, do not departing under the prerequisite of the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the application's protection domain.

Claims (11)

1. a concurrent method of attachment, is applied to the process connecting between household electrical appliance and monitoring server, it is characterized in that, comprising:
Obtain the running status of described household electrical appliance, wherein, described running status at least comprises the Link State between open state, off-mode or described household electrical appliance and described monitoring server;
Judge that whether described running status meets first pre-conditioned, obtain judged result;
In the time obtaining described running status and meet the first pre-conditioned judged result, disconnect the link between described household electrical appliance and described monitoring server;
Link between described household electrical appliance and described monitoring server reaches the first default duration in the disconnection duration of off-state, or in the time that described household electrical appliance are converted to open state by off-mode, re-establish the link between described household electrical appliance and described monitoring server.
2. method according to claim 1, is characterized in that, described to judge that whether described running status meets first pre-conditioned, obtains judged result and comprise:
Record the shutdown duration of described household electrical appliance in off-mode;
Obtain the Link State between household electrical appliance and monitoring server, wherein, described Link State comprises coupled situation and off-state;
In the time knowing that link between household electrical appliance and monitoring server is in coupled situation, record link between described household electrical appliance and the described monitoring server monitoring moment in the time of coupled situation;
Shutdown duration and the second default duration of more described household electrical appliance in off-mode, in the time that described shutdown duration is greater than the described second default duration, the running status that obtains described household electrical appliance meets the first pre-conditioned judged result; Or,
Difference between current monitoring moment and the monitoring moment of last monitoring of more described household electrical appliance and the 3rd default duration, in the time that described difference is greater than the described the 3rd default duration, the running status that obtains described household electrical appliance meets described the first pre-conditioned judged result, wherein, the monitoring moment of described last monitoring is that the link of described household electrical appliance and described monitoring server is the zero hour in the time of coupled situation for the last time before the described current monitoring moment.
3. method according to claim 1 and 2, is characterized in that, before obtaining the running status of described household electrical appliance, also comprises:
After described household electrical appliance power on, for described household electrical appliance distribute a random factor;
Utilize described random factor to calculate the described second default duration and/or the described the 3rd default duration.
4. method according to claim 2, is characterized in that, describedly records described household electrical appliance and is specially in the shutdown duration of off-mode:
When the microprocessor of described household electrical appliance inside receives the trigger pip of cutting out described household electrical appliance, start to clock, finish until receive the trigger pip of the described household electrical appliance of unlatching.
5. method according to claim 2, is characterized in that, described record link between described household electrical appliance and the described monitoring server monitoring moment in the time of coupled situation, is specially:
When the microprocessor of described household electrical appliance inside receives the response message of the described household electrical appliance connection of permission of described monitoring server feedback, in the record moment now, obtain monitoring the moment.
6. a method for supervising, is applied to household electrical appliance, it is characterized in that, described household electrical appliance utilize the method described in described claim 1-5 any one to connect with monitoring server, and described method comprises:
Obtain the service data of described household electrical appliance;
By described service data and the identify label binding that shows described household electrical appliance, obtain monitor message, and described monitor message is sent to described monitoring server.
7. method according to claim 6, is characterized in that, the MAC Address that described identify label is described household electrical appliance.
8. a method for supervising, is applied to monitoring server, it is characterized in that, is provided with a data buffer area in described monitoring server, and described method comprises:
Receive the monitor message that comprises identify label that described household electrical appliance send, and be stored in described data buffer area;
Resolve described monitor message and obtain identify label and the service data of described household electrical appliance, and described service data is carried out to corresponding analyzing and processing.
9. household electrical appliance, is characterized in that, described household electrical appliance can connect with long-range monitoring server, and described household electrical appliance at least comprise: detection module, microprocessor and communication module;
Described detection module, for detection of the service data of household electrical appliance, and offers described microprocessor;
Described communication module, carries out data transmission for microprocessor and long-range monitoring server;
Described microprocessor, for obtaining the running status of described household electrical appliance, meets first when pre-conditioned when judging described running status, controls described household electrical appliance and disconnects the link between described monitoring server; And reach the first default duration at the link of judging between described household electrical appliance and described monitoring server in the disconnection duration of off-state, or in the time that described household electrical appliance are converted to open state by off-mode, control described household electrical appliance and re-establish the link between described monitoring server.
10. a monitoring server, is characterized in that, described monitoring server application rights requires the method described in 1-5 any one to connect with household electrical appliance, and described monitoring server comprises processor, storer, communication module, wherein:
One data buffer area is set in described storer, and for storing the monitor message from described household electrical appliance, wherein, described monitor message comprises the identify label that shows described household electrical appliance identity;
Described processor, for obtaining and resolve described monitor message, obtains identify label and the service data of described household electrical appliance, and described service data is carried out to corresponding analyzing and processing;
Described communication module, for carrying out data transmission with described household electrical appliance.
11. 1 kinds of supervisory systems, it is characterized in that, comprise: multiple household electrical appliance and a monitoring server, between described multiple household electrical appliance and described monitoring server, adopt the method described in claim 1-5 any one to connect, on described monitoring server, be provided with data buffer area;
Described household electrical appliance obtain the service data of self, will after described service data and the identify label of self binding, obtain monitor message, and described monitor message is sent to described monitoring server;
Described monitoring server receives described monitor message, described monitor message is stored in to described data buffer area, resolve described monitor message acquisition and show the identify label of described household electrical appliance identity and the service data of described household electrical appliance, and described service data is done to corresponding analyzing and processing.
CN201310102679.0A 2013-03-27 2013-03-27 Concurrent connection method, monitoring method and related device and system Expired - Fee Related CN104076749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310102679.0A CN104076749B (en) 2013-03-27 2013-03-27 Concurrent connection method, monitoring method and related device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310102679.0A CN104076749B (en) 2013-03-27 2013-03-27 Concurrent connection method, monitoring method and related device and system

Publications (2)

Publication Number Publication Date
CN104076749A true CN104076749A (en) 2014-10-01
CN104076749B CN104076749B (en) 2017-02-01

Family

ID=51598079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310102679.0A Expired - Fee Related CN104076749B (en) 2013-03-27 2013-03-27 Concurrent connection method, monitoring method and related device and system

Country Status (1)

Country Link
CN (1) CN104076749B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104867312A (en) * 2015-06-02 2015-08-26 阔地教育科技有限公司 Remote control method and remote controller

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3103503A1 (en) * 1981-02-03 1982-10-21 CCV Contract Vermittlungs- und Verwaltungsgesellschaft mbH, 8400 Regensburg Energy-saving switch
DE3428441A1 (en) * 1984-08-01 1986-02-13 Siemens AG, 1000 Berlin und 8000 München Switching device for the power supply to an electrical apparatus
CN2789777Y (en) * 2005-05-01 2006-06-21 珠海格力电器股份有限公司 Long-distance maintanance and fault diagnosing system for family appliances
JP2007236023A (en) * 2006-02-27 2007-09-13 Toyota Motor Corp Power supply system for building
CN101540868A (en) * 2009-02-13 2009-09-23 广州杰赛科技股份有限公司 Monitoring system of HFC television network
CN101958819A (en) * 2010-10-22 2011-01-26 南京大学 Internet-based intelligent vehicle-mounted home monitoring system and working method thereof
CN202261351U (en) * 2011-09-28 2012-05-30 海尔集团公司 Device used for monitoring electricity consumption information
CN102833137A (en) * 2012-05-31 2012-12-19 深圳大学 Digital home system based on intelligent gateway

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3103503A1 (en) * 1981-02-03 1982-10-21 CCV Contract Vermittlungs- und Verwaltungsgesellschaft mbH, 8400 Regensburg Energy-saving switch
DE3428441A1 (en) * 1984-08-01 1986-02-13 Siemens AG, 1000 Berlin und 8000 München Switching device for the power supply to an electrical apparatus
CN2789777Y (en) * 2005-05-01 2006-06-21 珠海格力电器股份有限公司 Long-distance maintanance and fault diagnosing system for family appliances
JP2007236023A (en) * 2006-02-27 2007-09-13 Toyota Motor Corp Power supply system for building
CN101540868A (en) * 2009-02-13 2009-09-23 广州杰赛科技股份有限公司 Monitoring system of HFC television network
CN101958819A (en) * 2010-10-22 2011-01-26 南京大学 Internet-based intelligent vehicle-mounted home monitoring system and working method thereof
CN202261351U (en) * 2011-09-28 2012-05-30 海尔集团公司 Device used for monitoring electricity consumption information
CN102833137A (en) * 2012-05-31 2012-12-19 深圳大学 Digital home system based on intelligent gateway

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104867312A (en) * 2015-06-02 2015-08-26 阔地教育科技有限公司 Remote control method and remote controller

Also Published As

Publication number Publication date
CN104076749B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
KR101336162B1 (en) Management system of electric power distribution for automation of electric power control and electric power distribution
CN103813039A (en) Home appliance control method, home server and home appliance control system
CN106527162A (en) Linkage control method and device based on AllJoyn
KR20200017577A (en) IOT device state monitor-control system using blockchain network
CN106155797A (en) Terminal unit and the changing method of performance mode thereof
CN105099763A (en) Method and device for reminding lost connection of equipment
CN103795579A (en) Switch test system and switch test method
CN113746821A (en) Intelligent device control method and device, storage medium and electronic device
CN110749027B (en) Monitoring method and device for electrical equipment, air conditioner and storage medium
CN106063068A (en) Apparatus control device and demand response method
WO2021213547A1 (en) Electricity leakage detection method and apparatus, and electronic device
CN107355948B (en) Control method and device of photovoltaic air conditioner
CN105354769A (en) Data processing method and device used for power distribution network equipment
CN104076749A (en) Concurrent connection method, monitoring method and related device and system
CN109462522A (en) A kind of state monitoring method of external terminal device, terminal and its system
JP5646048B2 (en) System side control apparatus and method
WO2013001395A1 (en) Active power identification for load monitoring system
CN104539493A (en) Intelligent terminal system and method of management and control over intelligent household electric appliances based on USB interface
CN109557453B (en) Multi-master-control-chip identification processing method and system
JP2014147223A (en) Apparatus management system, apparatus management device, and apparatus management method
CN104753993B (en) A kind of method and monitoring device of monitoring server
CN103716377B (en) A kind of method and smart card for realizing UPS remote monitorings
CN105591794B (en) The method and apparatus for managing the network equipment
CN110830305B (en) Method and device for wireless device to access WIFI network, electronic device and storage medium
CN103363618B (en) The control method of multi-module air conditioner and recuperation of heat thereof

Legal Events

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

Granted publication date: 20170201