CN104076749B - Concurrent connection method, monitoring method, related equipment and system - Google Patents

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

Info

Publication number
CN104076749B
CN104076749B CN201310102679.0A CN201310102679A CN104076749B CN 104076749 B CN104076749 B CN 104076749B CN 201310102679 A CN201310102679 A CN 201310102679A CN 104076749 B CN104076749 B CN 104076749B
Authority
CN
China
Prior art keywords
household appliance
monitoring
state
monitoring server
link
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.)
Expired - Fee Related
Application number
CN201310102679.0A
Other languages
Chinese (zh)
Other versions
CN104076749A (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

Landscapes

  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses a concurrent connection method, a monitoring method, related equipment and a system. In a monitoring system, a plurality of household appliances are provided, and the states of the household appliances are not completely the same, so that the disconnection time of a link between each household appliance and a monitoring server is different, a large number of long concurrent connections between the household appliances and the monitoring server are realized by adopting the time-sharing multiplexing connection mode, the long connections are not long-distance but long-time connections, and the usability of the monitoring system is improved.

Description

Concurrent connection method, monitoring method, related equipment and system
Technical Field
The present application relates to the field of computer monitoring technologies, and in particular, to a concurrent connection method, a monitoring method, and related devices and systems.
Background
With the rapid development of the internet technology, the household appliances are more and more widely applied, and can be connected with a monitoring system based on the internet, so that the household appliances are monitored.
At present, most of the existing internet-based monitoring systems are in a one-to-one monitoring mode, namely, an internet server monitors a household appliance; some of the monitoring modes are one-to-many monitoring modes, namely one internet server monitors a plurality of household appliances, but the existing one-to-many monitoring mode can only realize short-term monitoring, namely when the household appliances need to be monitored, the household appliances are connected with the internet server, and after the household appliances are monitored, the connection between the household appliances and the internet server is disconnected.
Disclosure of Invention
In order to solve the foregoing technical problems, embodiments of the present application provide a concurrent connection method, a monitoring method, and related devices and systems, so as to implement a monitoring mode of a large number of concurrent long-time connections, and the technical solution is as follows:
the application provides a concurrent connection method, which is applied to a connection process between a household appliance and a monitoring server, and comprises the following steps:
acquiring the running state of the household appliance, wherein the running state at least comprises a starting-up state, a shutdown state or a link state between the household appliance and the monitoring server;
judging whether the running state meets a first preset condition or not to obtain a judgment result;
when a judgment result that the running state meets a first preset condition is obtained, disconnecting a link between the household appliance and the monitoring server;
when the disconnection time of the link between the household appliance and the monitoring server in a disconnection state reaches a first preset time, or when the household appliance is switched from a power-off state to a power-on state, the link between the household appliance and the monitoring server is reestablished.
Preferably, the judging whether the operating state meets a first preset condition includes:
recording the shutdown duration of the household appliance in a shutdown state;
the method comprises the steps of obtaining a link state between the household appliance and a monitoring server, wherein the link state comprises a connection state and a disconnection state.
When the link between the household appliance and the monitoring server is in a connection state, recording the monitoring time when the link between the household appliance and the monitoring server is in the connection state;
comparing the shutdown time length of the household appliance in the shutdown state with a second preset time length, and when the shutdown time length is longer than the second preset time length, obtaining a judgment result that the running state of the household appliance meets a first preset condition; or,
comparing a difference value between the current monitoring time and the last monitoring time of the household appliance with a third preset time length, and obtaining a judgment result that the running state of the household appliance meets the first preset condition when the difference value is greater than the third preset time length, wherein the last monitoring time is a starting time when a link between the household appliance and the monitoring server is in a connection state for the last time before the current monitoring time.
Preferably, before acquiring the operation state of the household appliance, the method further includes:
after the household appliance is powered on, distributing a random factor for the household appliance;
and calculating the second preset time length and/or the third preset time length by utilizing the random factor.
Preferably, the recording the shutdown duration of the household appliance in the shutdown state specifically includes:
and when the microprocessor in the household appliance receives a trigger signal for closing the household appliance, the microprocessor starts to time until the microprocessor finishes receiving the trigger signal for opening the household appliance.
Preferably, the recording of the monitoring time when the link between the home appliance and the monitoring server is in a connection state specifically includes:
and when the microprocessor in the household appliance receives a response message which is fed back by the monitoring server and allows the household appliance to be connected, recording the moment at the moment to obtain the monitoring moment.
The application also provides a monitoring method, which is applied to the household appliance, wherein the household appliance is connected with the monitoring server by using the concurrent connection method, and the method comprises the following steps:
acquiring operation data of the household appliance;
and binding the operating data with an identity mark indicating the household appliance to obtain monitoring information, and sending the monitoring information to the monitoring server.
Preferably, the identity is a MAC address of the home appliance.
The application also provides a monitoring method, which is applied to a monitoring server, wherein a data cache region is arranged in the monitoring server, and the method comprises the following steps:
receiving monitoring information containing an identity identifier sent by the household appliance and storing the monitoring information in the data cache region;
and analyzing the monitoring information to obtain the identity and the operation data of the household appliance, and performing corresponding analysis processing on the operation data.
The present application further provides a household appliance, the household appliance can be connected with a remote monitoring server, the household appliance at least includes: the device comprises a detection module, a microprocessor and a communication module;
the detection module is used for detecting the operation data of the household appliance and providing the operation data to the microprocessor;
the communication module is used for data transmission between the microprocessor and a remote monitoring server;
the microprocessor is used for acquiring the running state of the household appliance, and controlling the household appliance to disconnect a link between the household appliance and the monitoring server when the running state is judged to meet a first preset condition; and controlling the household appliance to reestablish the link with the monitoring server when the disconnection time length of the link between the household appliance and the monitoring server in the disconnection state is judged to reach a first preset time length or when the household appliance is switched from the power-off state to the power-on state.
The application also provides a monitoring server, the monitoring server is connected with the household appliance by applying the concurrent connection method, the monitoring server comprises a processor, a memory and a communication module, wherein:
the memory is provided with a data cache region for storing monitoring information from the household appliance, wherein the monitoring information comprises an identity label indicating the identity of the household appliance;
the processor is used for acquiring and analyzing the monitoring information, acquiring the identity identification and the operation data of the household appliance, and performing corresponding analysis processing on the operation data;
and the communication module is used for carrying out data transmission with the household appliance.
The present application further provides a monitoring system, comprising: the household appliances are connected with the monitoring server by adopting the concurrent connection method, and the monitoring server is provided with a data cache region;
the household appliance obtains operation data of the household appliance, binds the operation data with an identity of the household appliance to obtain monitoring information, and sends the monitoring information to the monitoring server;
the monitoring server receives the monitoring information, stores the monitoring information in the data cache region, analyzes the monitoring information to obtain an identity which indicates the identity of the household appliance and the operation data of the household appliance, and performs corresponding analysis processing on the operation data.
According to the technical scheme provided by the embodiment of the application, the household appliance is connected with the remote monitoring server in a time-division multiplexing connection mode, so that the household appliance and the monitoring server are always connected in an application layer. In the monitoring system composed of a plurality of household appliances and a monitoring server, the plurality of household appliances are all connected with the monitoring server in the time-sharing multiplexing connection mode, and the running states of the plurality of household appliances are not completely the same, so that at a certain moment, links between some household appliances and the monitoring server in the system are in a disconnected state, and links between the other part of household appliances and the monitoring server are in a connected state, so that one monitoring server can be connected with a large number of household appliances. Compared with the existing one-to-many monitoring mode, the monitoring server is not connected when the household appliance is monitored, but is reconnected no matter what state the household appliance is in after the household appliance is disconnected with the monitoring server for a certain period of time, so that the usability of the monitoring system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a concurrent connection method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another concurrent connection method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another concurrent connection method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a monitoring method applied to a household appliance according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a monitoring method applied to a monitoring server according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a monitoring method applied to a monitoring system according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a household appliance according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a monitoring server according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a monitoring system according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a concurrent connection method, wherein the concurrent connection method means that a plurality of programs are simultaneously operated macroscopically in a period of time, but in a single-processor system, only one program can be executed at each moment, so that microscopically, the programs can be alternately executed in a time-sharing manner.
The concurrent connection mode is applied to the household appliances to realize the connection with the remote monitoring server, and the household appliances are connected with the remote monitoring server in a time-sharing multiplexing connection mode because the connection interface and the thread resource of the monitoring server are limited.
In particular, the household appliances in the present application may be air conditioners, televisions, refrigerators, washing machines, and the like.
Specifically, each household appliance calculates the offline time according to the running state of the household appliance or the connection state between the household appliance and the monitoring server, that is, calculates the time for disconnecting the link connection between the household appliance and the monitoring server, and reconnects the link between the household appliance and the monitoring server after a first preset time period or when the household appliance is switched from the power-off state to the power-on state. Therefore, the offline time of the plurality of household appliances in the monitoring system is not completely the same, and time-sharing multiplexing is realized.
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
One embodiment of a concurrent connection method provided by the present application, as shown in fig. 1, is applied to a household appliance, and the method includes the following steps:
100, acquiring the running state of the household appliance;
the running state at least comprises a starting-up state, a shutdown state or a link state with the monitoring server;
200, judging whether the running state meets a first preset condition, if so, executing a step 300; otherwise, return to step 100.
Specifically, whether the operation state meets a first preset condition is determined, and specifically, the determining may be:
judging whether the shutdown time of the household appliance in the shutdown state is longer than a second preset time, if so, obtaining a result that the running state meets a first preset condition; or,
and judging whether the difference between the corresponding current monitoring time and the last monitoring time before the current monitoring time is greater than a third monitoring time when the link between the household appliance and the remote monitoring server is in a connection state, and if so, obtaining a result that the operation state meets a first preset condition.
300, disconnecting the link between the home appliance and the monitoring server.
400, judging whether the disconnection time of the link between the household appliance and the monitoring server in the disconnection state reaches a first preset time, or judging whether the household appliance is switched from the shutdown state to the startup state, if so, executing the step 500; otherwise, the current state is maintained.
The current state is maintained by maintaining the household appliance disconnected from the monitoring server.
And 500, reconnecting the link between the home appliance and the monitoring server.
In specific implementation, after the link between the household appliance and the monitoring server is disconnected for the first preset time, the link between the household appliance and the monitoring server is reconnected no matter what state the household appliance is in. Or when the household appliance is switched from the power-off state to the power-on state, the link between the household appliance and the monitoring server is reconnected.
In the concurrent connection method provided by this embodiment, the home appliance determines whether a state of the home appliance meets a first preset condition, if so, disconnects a link between the home appliance and the monitoring server, and reestablishes the link between the monitoring servers after the link is disconnected for a first preset duration or when the home appliance is switched from a power-off state to a power-on state. In a monitoring system, a plurality of household appliances are provided, and the states of the household appliances are not completely the same, so that the disconnection time of a link between each household appliance and a monitoring server is different, a large number of long concurrent connections between the household appliances and the monitoring server are realized by adopting the time-sharing multiplexing connection mode, the long connections are not long-distance but long-time connections, and the usability of the monitoring system is improved.
Referring to fig. 2, a flowchart of a specific concurrent connection method in an embodiment of the present application is shown, where the concurrent connection method is applied to a household appliance, and specifically includes the following steps:
101, acquiring the running state of the household appliance;
the running state at least comprises a starting state, a shutdown state or a link state between the household appliance and the monitoring server.
Specifically, the microprocessor inside the household appliance can acquire the running state of the household appliance, wherein when the household appliance is in a shutdown state, the microprocessor is not powered off and still continues to run, and therefore the shutdown state of the household appliance can be acquired through the microprocessor.
102, recording the shutdown duration of the household appliance in a shutdown state;
and when detecting that the household appliance is switched from the shutdown state to the startup state, the microprocessor finishes timing to obtain the shutdown duration.
103, acquiring a link state between the household appliance and the monitoring server; wherein the link state comprises a connected state and a disconnected state.
And 104, recording the monitoring time when the link state between the household appliance and the monitoring server is in a connection state.
When the household appliance is connected with the monitoring server, the monitoring server can feed back response information allowing the household appliance to be accessed, and at the moment, a microprocessor in the household appliance starts timing, so that the monitoring time is obtained.
It should be noted that, the order of steps 101 and 102 and the order of steps 103 and 104 may be reversed or performed simultaneously. I.e. steps 101 and 103 are exchanged and step 102 and step 104 are exchanged.
105, judging whether the shutdown time length is greater than a second preset time length or whether the difference between the current monitoring time and the last monitoring time is greater than a third preset time length, if so, executing a step 106, otherwise, returning to the step 101.
In specific implementation, the second preset time length or the third preset time length may be determined according to a mode of adding a random factor to a fixed time length, where the second preset time length and the third preset time length may be equal to or different from each other, and the second preset time length and the third preset time length may be specifically determined according to an actual application environment.
Assuming that the fixed time period is 1 hour and the random factor is 0.5, the second preset time period is 1.5 hours. If the time period of the household appliance is 2 hours, and the 2 hours is more than 1.5 hours, step 106 is executed.
The current monitoring time is the time when the household appliance and the monitoring server enter the current connection state, and the monitoring time of the last monitoring is the starting time when the link of the household appliance and the monitoring server is in the connection state for the last time before entering the current connection state.
Assuming that the current monitoring time is 11 am, the starting time of the link between the household appliance and the monitoring server before the current monitoring time is 9 am, the monitoring time of the last monitoring is 9 am, the difference between the current monitoring time and the monitoring time of the last monitoring is 2 hours, and at this time, 2 hours is greater than 1.6 hours (assuming that the third preset time period is 1.6 hours), and step 106 is executed.
And 106, disconnecting the link between the household appliance and the monitoring server.
And 107, recording the disconnection time length of the link between the household appliance and the monitoring server in the disconnection state.
And when detecting that the household appliance is disconnected from the monitoring server, starting timing, and when detecting a reconnection instruction, ending timing to obtain disconnection duration.
108, judging whether the disconnection time length reaches a first preset time length or whether the household appliance is switched from a power-off state to a power-on state, if so, executing step 109; otherwise, the current state is maintained.
The current state is that a link between the household appliance and the monitoring server is in a disconnected state.
The first preset time duration can be determined according to a framework of a monitoring system where the monitoring server is located, and when the framework of the monitoring system is larger, namely the number of the household appliances to be monitored is larger, the first preset time duration is longer, and otherwise, the first preset time duration is shorter. The first preset time period may also be a default value of the system.
The household appliance reestablishes its link with the monitoring server 109.
If the first preset time is 5 minutes, after the link between the household appliance and the monitoring server is disconnected for 5 minutes, the link between the household appliance and the monitoring server is reestablished no matter what state the household appliance is in, or the disconnection time when the link between the household appliance and the monitoring server is in the disconnection state does not reach the first preset time for 5 minutes, but the household appliance is detected to be switched from the power-off state to the power-on state, and the link between the household appliance and the monitoring server is reconnected.
In the concurrent connection method provided by this embodiment, by determining whether the states of the home appliances meet the preset conditions, if yes, the link connection between the home appliances and the monitoring server is disconnected, and in one monitoring system, there are a plurality of home appliances, and the states of each home appliance are not identical, so that the time for disconnecting the link between each home appliance and the monitoring server is different, and thus, a large number of concurrent connections between the home appliances and the monitoring server are realized by adopting the time-division multiplexing connection method, and the availability of the monitoring system is improved.
The present application further provides another concurrent connection method, which is different from the embodiment shown in fig. 2 in that the method steps of the concurrent connection method shown in fig. 2 are embodied, please refer to fig. 3, and the concurrent connection method is applied to a household appliance, and includes the following steps:
and 201, after the household appliance is powered on, allocating a random factor.
And 202, calculating by using the random factor to obtain a second preset time length and/or a third preset time length.
203, acquiring the running state of the household appliance;
the operating state at least comprises a starting state, a shutdown state or a link state between the household appliance and the monitoring server, and the link state comprises a connection state and a disconnection state.
204, when the microprocessor in the household appliance receives the trigger signal for closing the household appliance, the microprocessor starts to time until the trigger signal for opening the household appliance is received, and the shutdown duration of the household appliance in the shutdown state is obtained.
205, obtaining a link state between the home appliance and the monitoring server, wherein the link state includes a connection state and a disconnection state;
206, the microprocessor obtains the monitoring time when receiving the response message allowing the connection of the household appliance fed back by the monitoring server.
207, determining whether the shutdown time length is greater than a second preset time length or whether the difference between the current monitoring time and the last monitoring time is greater than a third preset time length, if so, executing step 208, otherwise, returning to execute step 203.
208, disconnecting the link between the household appliance and the monitoring server.
And 209, recording the disconnection time length of the link between the household appliance and the monitoring server in a disconnection state.
210, determining whether a disconnection time length during which a link between the household appliance and the monitoring server is maintained in a disconnection state reaches a first preset time length, or determining whether the household appliance is switched from a shutdown state to a startup state, if yes, executing step 211; otherwise, the household appliance maintains the current state.
The first preset time is determined according to the number of the household appliances contained in a monitoring system where the monitoring server is located, or is a default numerical value set by the system.
And 211, reestablishing a link between the household appliance and the monitoring server.
The first preset time is determined according to the number of the household appliances contained in a monitoring system where the monitoring server is located.
The concurrent connection method provided by the embodiment is applied to household appliances, a large number of concurrent long connections with the monitoring server are realized in a time-sharing multiplexing connection mode, the long connections are not far away, and the usability of the monitoring system is improved.
The present application further provides a monitoring method applied to a home appliance, where the home appliance is connected to a monitoring server by using the concurrent connection method, as shown in fig. 4, the method includes the following steps:
301, obtaining the operation data of the household appliance;
the operation data may include an operation state of the home appliance, an operation time in such an operation state, and values of corresponding main parameters in the operation state, and the like. For example, the set temperature of the air conditioner, the motor speed, the voltage, the current and other parameters when the air conditioner is in the normal starting state.
And 302, binding the operation data with an identity which indicates the identity of the household appliance to obtain monitoring information, and sending the monitoring information to the monitoring server.
The identity may be a unique identifier that can indicate the home appliance, such as a Media Access Control (MAC) address.
After the household appliance is connected with the monitoring server by adopting the concurrent connection method disclosed by the embodiment, the household appliance acquires the operation data of the household appliance through the sensing device (such as a sensor), binds the operation data with the identity which indicates the identity of the household appliance and sends the binding result to the monitoring server.
The application also provides a monitoring method applied to the monitoring server, wherein a data cache region is arranged in the monitoring server, and the data cache region can be a part of the storage region or an independent storage region.
As shown in fig. 5, the monitoring method includes the following steps:
401, receiving the monitoring information containing the identity identifier sent by the household appliance, and storing the monitoring information in the data cache region.
And 402, analyzing the monitoring information to obtain the identity and the operation data of the household appliance, and performing corresponding analysis processing on the operation data.
Because a large number of household appliances are connected with the monitoring server in a time-sharing multiplexing mode, the monitoring server receives a large number of monitoring information, and the monitoring information is stored in the data cache region because the processing capacity of the monitoring server is limited. According to the embodiment of the concurrent connection method, the household appliance can be disconnected from the link connection between the household appliance and the monitoring server in the shutdown state, the running data of the household appliance is sent to the monitoring server for caching in the moment before the disconnection, the parameters of the running state of the household appliance in the shutdown state are kept unchanged, and at the moment, if a user wants to check the current running state of the household appliance, the monitoring server displays the data stored in the data cache area, so that the user feels that the household appliance and the monitoring server are always connected together.
The present application further provides a monitoring method applied to a monitoring system, where the monitoring system includes a plurality of home appliances and a monitoring server, where the plurality of home appliances are connected to the monitoring server in the concurrent connection manner, as shown in fig. 6, the monitoring method includes:
501, a household appliance obtains operation data of the household appliance;
502, the household appliance binds the operation data with an identity label indicating the identity of the household appliance to obtain monitoring information, and sends the monitoring information to the monitoring server.
503, the monitoring server receives the monitoring information containing the identity sent by the household appliance and stores the monitoring information in the data cache region.
And 504, the monitoring server analyzes the monitoring information to obtain the identity and the operation data of the household appliance, and performs corresponding analysis processing on the operation data.
At this time, if the household appliance needs to be controlled, the method further comprises the following steps:
and 505, when the operating data meet a preset condition, sending a response control command to the household appliance corresponding to the identity.
The identity of the household appliance is bound in the running data, so that the monitoring server can know which household appliance is the processed monitoring information, and the household appliance is always connected with the monitoring server in the aspect of application.
Corresponding to the above-mentioned concurrent connection method applied to the household appliance, the present application also provides a household appliance, as shown in fig. 7, the household appliance at least includes: a microprocessor 602 and a communication module 603.
The detecting module 601 is used for detecting the operation data of the household appliance and providing the operation data to the microprocessor 602.
The detection module 601 may be implemented by a sensor.
And a communication module 603, configured to perform data transmission between the microprocessor 602 and a remote monitoring server.
The microprocessor 602 is configured to detect an operating state of the home appliance, and record a shutdown duration of the home appliance in a shutdown state; and detecting a link state between the communication module 603 and the remote monitoring server, and recording a monitoring time when a link between the home appliance and the monitoring server enters a connection state.
In specific implementation, when the microprocessor 602 detects that the household appliance is in the power-off state, timing is started, and when the microprocessor detects that the household appliance is switched from the power-off state to the power-on state, timing is ended to obtain the power-off duration.
When the household appliance is connected with the monitoring server, the monitoring server can feed back response information allowing the household appliance to be accessed, and the microprocessor records the moment at the moment to obtain the monitoring moment.
The microprocessor 602 is further configured to control the communication module to disconnect a link with the monitoring server when it is determined that the shutdown time is longer than a second preset time or a difference between the current monitoring time and the last monitoring time is longer than a third preset time; and when the disconnection time length of the link between the household appliance and the monitoring server in the disconnection state is judged to reach a first preset time length, or when the household appliance is detected to be switched from the power-off state to the power-on state, reestablishing the link between the communication module and the monitoring server.
The first preset time is determined according to the number of the household appliances included in the monitoring system where the monitoring server is located, or may be a default value set by the system.
According to the household appliance provided by the embodiment, the state of the household appliance is detected by using the microprocessor, when the state of the household appliance meets a certain preset condition, a link between the household appliance and the monitoring server is disconnected, and after the household appliance and the monitoring server are disconnected for a first preset time, the connection between the household appliance and the monitoring server is reestablished; or after the link between the household appliance and the monitoring server is disconnected, if the household appliance is switched from the power-off state to the power-on state, the connection between the household appliance and the monitoring server is reestablished, so that a time-sharing multiplexing connection mode is realized, a large number of concurrent connections are realized, and the usability of the monitoring system is improved.
Corresponding to the concurrent connection method applied to the monitoring server, the application also provides the monitoring server, and the monitoring server is connected with the plurality of household appliances by adopting the concurrent connection method applied to the monitoring server to form a monitoring system.
As shown in fig. 8, the monitoring server at least includes: processor 701, memory 702, communication module 703, wherein:
a data buffer is disposed in the memory 702 for storing monitoring information from the household appliance, wherein the monitoring information includes an identification indicating an identity of the household appliance.
And the processor 701 is configured to analyze the received monitoring information, obtain an identity and operation data of the home appliance, and perform corresponding analysis processing on the operation data.
The processor receives the monitoring information, analyzes the monitoring information, obtains the operating data and the identification of the household appliance, correspondingly processes the operating data, generates a corresponding control command when the operating data meets a preset condition, and provides the corresponding control command for the household appliance corresponding to the identification.
A communication module 703, configured to connect with the household appliance.
The monitoring system comprises a monitoring server, a storage device and a monitoring system, wherein the storage device in the monitoring server is provided with a data cache region, and received monitoring information of the household appliances is stored in the data cache region, so that the received monitoring information of the household appliances is processed one by one, and a user using the monitoring system sees that the household appliances are always connected with the monitoring server.
The present application further provides a monitoring system, referring to fig. 9, the monitoring system includes a plurality of home appliances and a monitoring server, in which the home appliances in this embodiment are described by taking an air conditioner as an example.
The plurality of air conditioners 801 and the monitoring server 802 are connected by adopting the concurrent connection method, and a data cache area is arranged on the monitoring server;
the air conditioner 801 is configured to obtain operation data of the air conditioner, bind the operation data with an identity of the air conditioner to obtain monitoring information, and send the monitoring information to the monitoring server.
The operation data may include operation data such as an operation state of the air conditioner, a rotational speed of a motor, an operating voltage, an operating current, an operating frequency, and the like.
The monitoring server 802 is configured to receive the monitoring information, first store the monitoring information in the data cache region, analyze the monitoring information to obtain an identity indicating an identity of the home appliance and operation data of the home appliance, and perform corresponding analysis processing on the operation data.
The monitoring server 802 analyzes the received operation data of the air conditioner 801 to obtain the state of the household appliance, and sends a control instruction to the household appliance, so as to realize remote control of the household appliance.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The foregoing is directed to embodiments of the present application and it is noted that numerous modifications and adaptations may be made by those skilled in the art without departing from the principles of the present application and are intended to be within the scope of the present application.

Claims (11)

1. A concurrent connection method is applied to a connection process between a household appliance and a monitoring server, and is characterized by comprising the following steps:
acquiring the running state of the household appliance, wherein the running state at least comprises a starting-up state, a shutdown state or a link state between the household appliance and the monitoring server;
judging whether the running state meets a first preset condition or not to obtain a judgment result;
when a judgment result that the running state meets a first preset condition is obtained, disconnecting a link between the household appliance and the monitoring server;
when the disconnection time of the link between the household appliance and the monitoring server in a disconnection state reaches a first preset time, or when the household appliance is switched from a power-off state to a power-on state, the link between the household appliance and the monitoring server is reestablished.
2. The method according to claim 1, wherein the determining whether the operating state satisfies a first preset condition includes:
recording the shutdown duration of the household appliance in a shutdown state;
acquiring a link state between the household appliance and the monitoring server, wherein the link state comprises a connection state and a disconnection state;
when the link between the household appliance and the monitoring server is in a connection state, recording the monitoring time when the link between the household appliance and the monitoring server is in the connection state;
comparing the shutdown time length of the household appliance in the shutdown state with a second preset time length, and when the shutdown time length is longer than the second preset time length, obtaining a judgment result that the running state of the household appliance meets a first preset condition; or,
comparing a difference value between the current monitoring time and the last monitoring time of the household appliance with a third preset time length, and obtaining a judgment result that the running state of the household appliance meets the first preset condition when the difference value is greater than the third preset time length, wherein the last monitoring time is a starting time when a link between the household appliance and the monitoring server is in a connection state for the last time before the current monitoring time.
3. The method according to claim 2, further comprising, before acquiring the operating state of the home appliance:
after the household appliance is powered on, distributing a random factor for the household appliance;
and calculating the second preset time length and/or the third preset time length by utilizing the random factor.
4. The method according to claim 2, wherein the recording of the shutdown duration of the household appliance in the shutdown state is specifically:
and when the microprocessor in the household appliance receives a trigger signal for closing the household appliance, the microprocessor starts to time until the microprocessor finishes receiving the trigger signal for opening the household appliance.
5. The method according to claim 2, wherein the recording of the monitoring time when the link between the household appliance and the monitoring server is in a connected state is specifically:
and when the microprocessor in the household appliance receives a response message which is fed back by the monitoring server and allows the household appliance to be connected, recording the moment at the moment to obtain the monitoring moment.
6. A monitoring method applied to a household appliance, wherein the household appliance is connected with a monitoring server by using the method of any one of claims 1 to 5, and the monitoring method comprises the following steps:
acquiring operation data of the household appliance;
and binding the operating data with an identity mark indicating the household appliance to obtain monitoring information, and sending the monitoring information to the monitoring server.
7. The monitoring method according to claim 6, wherein the identification is a MAC address of the home appliance.
8. A monitoring method is applied to a monitoring server, and is characterized in that a data cache region is arranged in the monitoring server, and the method comprises the following steps:
receiving monitoring information which is sent by the household appliance and contains an identity label based on the connection established in advance, and storing the monitoring information in the data cache region; the connection is a connection between the household appliance and the monitoring server established by the method of any one of claims 1 to 5;
and analyzing the monitoring information to obtain the identity and the operation data of the household appliance, and performing corresponding analysis processing on the operation data.
9. A household appliance connectable to a remote monitoring server, the household appliance comprising at least: the device comprises a detection module, a microprocessor and a communication module;
the detection module is used for detecting the operation data of the household appliance and providing the operation data to the microprocessor;
the communication module is used for data transmission between the microprocessor and a remote monitoring server;
the microprocessor is used for acquiring the running state of the household appliance, and controlling the household appliance to disconnect a link between the household appliance and the monitoring server when the running state is judged to meet a first preset condition; and controlling the household appliance to reestablish the link with the monitoring server when the disconnection time length of the link between the household appliance and the monitoring server in the disconnection state is judged to reach a first preset time length or when the household appliance is switched from the power-off state to the power-on state.
10. A monitoring server connected to a home appliance using the method of any one of claims 1 to 5, the monitoring server comprising a processor, a memory, and a communication module, wherein:
the memory is provided with a data cache region for storing monitoring information from the household appliance, wherein the monitoring information comprises an identity label indicating the identity of the household appliance;
the processor is used for acquiring and analyzing the monitoring information, acquiring the identity identification and the operation data of the household appliance, and performing corresponding analysis processing on the operation data;
and the communication module is used for carrying out data transmission with the household appliance.
11. A monitoring system, comprising: the monitoring system comprises a plurality of household appliances and a monitoring server, wherein the household appliances are connected with the monitoring server by adopting the method of any one of claims 1 to 5, and a data cache area is arranged on the monitoring server;
the household appliance obtains operation data of the household appliance, binds the operation data with an identity of the household appliance to obtain monitoring information, and sends the monitoring information to the monitoring server;
the monitoring server receives the monitoring information, stores the monitoring information in the data cache region, analyzes the monitoring information to obtain an identity which indicates the identity of the household appliance and the operation data of the household appliance, and performs corresponding analysis processing on the operation data.
CN201310102679.0A 2013-03-27 2013-03-27 Concurrent connection method, monitoring method, related equipment 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, related equipment 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, related equipment and system

Publications (2)

Publication Number Publication Date
CN104076749A CN104076749A (en) 2014-10-01
CN104076749B true 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, related equipment and system

Country Status (1)

Country Link
CN (1) CN104076749B (en)

Families Citing this family (2)

* 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
CN114428488B (en) * 2022-01-27 2024-06-18 重庆允丰科技有限公司 Equipment state monitoring method and system based on industrial Internet platform

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 珠海格力电器股份有限公司 Household appliance remote maintenance and fault diagnosis system
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 珠海格力电器股份有限公司 Household appliance remote maintenance and fault diagnosis system
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

Also Published As

Publication number Publication date
CN104076749A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
CN112015475B (en) Application program starting method and device
CN107800687B (en) Equipment binding method and system based on Internet of things and washing machine
EP3575975B1 (en) Method and apparatus for operating smart network interface card
KR100562491B1 (en) Method and apparatus for controlling a device on a network
CN110838953B (en) Test method, test system, electronic equipment and storage medium
CN101102288A (en) A method and system for realizing large-scale instant message
KR102081274B1 (en) IOT device state monitor-control system using blockchain network
US8843607B2 (en) System and method for managing computer network interfaces
CN109040295B (en) Method and device for determining abnormal disconnection, terminal and storage medium
EP3739911B1 (en) Method and device for event notification in home network system
US20120047292A1 (en) Monitoring System, Device Server, Host Computer, Monitoring Method, and Storage Medium
CN108954702B (en) Control method and device of air conditioner, air conditioner and storage medium
CN104076749B (en) Concurrent connection method, monitoring method, related equipment and system
CN105425932A (en) Management method and system for whole cabinet sever power source
CN113064384A (en) Intelligent household appliance, cloud server and method for monitoring abnormity
EP3462112B1 (en) Refrigerator, intelligent detection method thereof, and intelligent detection system
US7877646B2 (en) Method and system for monitoring a computing device
CN109582626B (en) Method, device and equipment for accessing bus and readable storage medium
CN116886749A (en) Connection method, connection device and electronic equipment
CN112130460A (en) Page display method and device and storage medium
CN103716377A (en) Method for realizing UPS remote monitoring and smart card
TW201428470A (en) Automatic booting system and method
KR101601680B1 (en) Cloud computing method, clould computing server performing the same and storage media storing the same
CN111343700A (en) Wireless sensor network communication method
CN105357078A (en) Detection method and system of network state of intelligent equipment

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

Granted publication date: 20170201

CF01 Termination of patent right due to non-payment of annual fee