CN110535733B - Control method and device of household appliance, computer equipment and storage medium - Google Patents

Control method and device of household appliance, computer equipment and storage medium Download PDF

Info

Publication number
CN110535733B
CN110535733B CN201910720370.5A CN201910720370A CN110535733B CN 110535733 B CN110535733 B CN 110535733B CN 201910720370 A CN201910720370 A CN 201910720370A CN 110535733 B CN110535733 B CN 110535733B
Authority
CN
China
Prior art keywords
control
communication module
household appliance
bluetooth
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910720370.5A
Other languages
Chinese (zh)
Other versions
CN110535733A (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.)
Wuxi Xiaojing Sharing Network Technology Co ltd
Original Assignee
Wuxi Xiaojing Sharing Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Xiaojing Sharing Network Technology Co ltd filed Critical Wuxi Xiaojing Sharing Network Technology Co ltd
Priority to CN201910720370.5A priority Critical patent/CN110535733B/en
Publication of CN110535733A publication Critical patent/CN110535733A/en
Application granted granted Critical
Publication of CN110535733B publication Critical patent/CN110535733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2818Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The application provides a control method and device of a household appliance, computer equipment and a storage medium, wherein the household appliance comprises a network communication module and a Bluetooth communication module, and the method comprises the following steps: receiving a first query instruction of the mobile terminal; sending a second query instruction to a network communication module of the household appliance according to the first query instruction; and if the feedback information of the network communication module is determined not to be received within the first preset time, a Bluetooth starting instruction is sent to the mobile terminal, so that the mobile terminal and the household appliance are connected through respective Bluetooth communication modules, and the household appliance is controlled through a Bluetooth function. According to the method, the effectiveness of feedback information of the household appliance is judged, and when the network between the household appliance and the server is determined to be invalid, the networking capability of the household appliance is improved through the Bluetooth function, and the accuracy of the mobile terminal in controlling the household appliance is improved.

Description

Control method and device of household appliance, computer equipment and storage medium
Technical Field
The present application relates to the field of household appliance technologies, and in particular, to a method and an apparatus for controlling a household appliance, a computer device, and a storage medium.
Background
At present, a network used by a shared device, such as a household appliance and a server, is single, and usually 2G, 4G and other networks are used, once the network fluctuates and fails, the household appliance is easily in a failure state, so that the control of the mobile terminal on the household appliance is failed.
Disclosure of Invention
The application provides a control method and device of a household appliance, computer equipment and a storage medium, which are used for solving the problem that a network used by the household appliance in the related technology can cause the household appliance to be in a failure state, so that the control of a mobile terminal to the household appliance is failed.
An embodiment of one aspect of the present application provides a control method for a home appliance, where the home appliance includes a network communication module and a bluetooth communication module, and the method includes:
receiving a first query instruction of the mobile terminal;
sending a second query instruction to a network communication module of the household appliance according to the first query instruction; and
and if the situation that the feedback information of the network communication module is not received within the first preset time is determined, a Bluetooth starting instruction is sent to the mobile terminal, so that the mobile terminal and the household appliance are connected through respective Bluetooth communication modules, and the household appliance is controlled through a Bluetooth function.
According to the control method of the household appliance, the first query instruction of the mobile terminal is received, the second query instruction is sent to the network communication module of the household appliance, it is determined that the feedback information of the network communication module is not received within the first preset time, the Bluetooth starting instruction is sent to the mobile terminal, so that the mobile terminal and the household appliance are connected through respective Bluetooth communication modules, the household appliance is controlled through the Bluetooth function, therefore, the timeliness of the feedback information of the household appliance is judged, when the network between the household appliance and the server is determined to be invalid, the Bluetooth starting instruction is sent to the mobile terminal, the household appliance and the mobile terminal are connected in a Bluetooth mode, the networking capacity of the household appliance is improved through the Bluetooth function, and the accuracy of the mobile terminal in controlling the household appliance is improved.
An embodiment of another aspect of the present application provides a control apparatus for a household appliance, where the household appliance includes a network communication module and a bluetooth communication module, the apparatus includes:
the receiving module is used for receiving a first query instruction of the mobile terminal;
the sending module is used for sending a second query instruction to the network communication module of the household appliance according to the first query instruction; and
and the sending module is further used for sending a Bluetooth starting instruction to the mobile terminal when determining that the feedback information of the network communication module is not received within the first preset time, so that the mobile terminal and the household appliance are connected through respective Bluetooth communication modules and are controlled through a Bluetooth function.
The control device of the household appliance in the embodiment of the application sends a second query instruction to a network communication module of the household appliance by receiving a first query instruction of the mobile terminal, determines that feedback information of the network communication module is not received within a first preset time, and sends a Bluetooth starting instruction to the mobile terminal, so that the mobile terminal and the household appliance are connected through respective Bluetooth communication modules, and the household appliance is controlled through a Bluetooth function.
Another embodiment of the present application provides a computer device, including a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the control method of the home appliance as described in an embodiment of the above aspect.
Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the control method of the home appliance as described in the above one embodiment.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a control method of a household appliance according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another control method for a household appliance according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a control method of a household appliance according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a control method of a specific household appliance according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a control device of a household appliance according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
A control method, apparatus, computer device, and storage medium of a home appliance according to an embodiment of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a control method of a home appliance according to an embodiment of the present application.
In the embodiment of the application, the household appliance comprises a network communication module and a Bluetooth communication module. The household appliances can be household appliances such as washing machines, refrigerators and air conditioners, the network communication module is used for providing wireless network communication such as WiFi, 2G, 3G and 4G communication, and the Bluetooth communication module can provide Bluetooth communication.
The control method of the household appliance can be executed by the server, so that when the network between the household appliance and the server fails, the Bluetooth starting instruction is sent to the mobile terminal, the household appliance is connected with the mobile terminal in a Bluetooth mode, the networking capacity of the household appliance is improved by adding the Bluetooth function, and the accuracy of the mobile terminal in controlling the household appliance is improved.
As shown in fig. 1, the control method of the home appliance includes:
step 101, receiving a first query instruction of a mobile terminal.
In this embodiment, in a normal case, a network connection is established between the network communication module of the home appliance and the server, a network connection is also established between the mobile terminal and the server, and the mobile terminal establishes a connection with the network communication module of the home appliance through the server to control the home appliance. For example, the mobile terminal sends the control instruction to the server, the server sends the received control instruction to the household appliance, the control reply information of the household appliance is reported to the server, and the server feeds the received control reply information back to the mobile terminal.
The network communication module of the household appliance and the server can establish wireless communication connection, such as WiFi communication, 2G communication, 3G communication, 4G communication and the like.
In practical application, because a network between the home appliance and the server is not stable enough, and a situation that the network between the home appliance and the server fails may exist, in this embodiment, when the user controls the home appliance through the mobile terminal, the mobile terminal may first issue a first query instruction to the server, where the first query instruction is used to query whether the network between the home appliance and the server is valid, and the first query instruction may include an identifier of the home appliance.
And 102, sending a second query instruction to a network communication module of the household appliance according to the first query instruction.
And after receiving the first query instruction of the mobile terminal, the server sends a second query instruction to the network communication module of the household appliance corresponding to the identifier according to the identifier of the household appliance in the first query instruction.
The first query instruction is used for querying the validity of the network between the household appliance corresponding to the identifier and the server. And the second query instruction is used for querying the interaction condition between the network communication module of the household appliance and the server.
And 103, if the feedback information of the network communication module is determined not to be received within the first preset time, sending a Bluetooth starting instruction to the mobile terminal so that the mobile terminal and the household appliance are connected through respective Bluetooth communication modules, and controlling the household appliance through a Bluetooth function.
If the server does not receive the feedback information of the network communication module within the first preset time, it may be that the home appliance does not successfully receive the second query instruction and does not generate the feedback information corresponding to the second query instruction because of a network failure between the home appliance and the server, or that the home appliance successfully receives the second query instruction and generates the feedback information according to the second query instruction, but the server does not successfully receive the feedback information because of a network failure between the home appliance and the server.
Therefore, when the server does not receive the feedback information of the network communication module within the first preset time, the network between the household appliance and the server is considered to be invalid, and in order to ensure that the mobile terminal can continue to control the household appliance, the server can send a bluetooth starting instruction to the mobile terminal so as to inform the mobile terminal to start a bluetooth function.
After the mobile terminal starts the Bluetooth function, because the household appliance and the mobile terminal are both provided with the Bluetooth communication modules, the household appliance can be connected with the Bluetooth communication module of the mobile terminal through the Bluetooth communication module, so that the mobile terminal and the household appliance can be in Bluetooth communication, and therefore the mobile terminal can control the household appliance through the Bluetooth function, for example, the mobile terminal directly issues a control instruction to the household appliance through Bluetooth communication, or the mobile terminal issues the control instruction to the mobile terminal through a server, and the like.
In this embodiment, the first query instruction sent by the mobile terminal or the second query instruction sent by the server may both include identification information of the home appliance, so that the mobile terminal may control different home appliances.
According to the control method of the household appliance, whether the network between the household appliance and the server is effective or not is judged by judging the interaction condition between the household appliance and the server, when the fact that the network between the household appliance and the server is invalid is determined, the Bluetooth starting instruction is sent to the mobile terminal, the mobile terminal is enabled to start the Bluetooth function, then the mobile terminal and the household appliance are connected through respective Bluetooth communication modules, the networking capacity of the household appliance is improved through the Bluetooth function, and therefore the control accuracy of the mobile terminal on the household appliance is improved.
In an embodiment of the application, after the server sends the second query instruction to the home appliance, if feedback information corresponding to the second query instruction sent by the home appliance is received within a first preset time, which indicates that a network between the home appliance and the server is effective and interaction between the home appliance and the server is normal, the server may control the home appliance according to the control instruction sent by the mobile terminal.
Specifically, the mobile terminal sends a control instruction of the household appliance to the server, wherein the control instruction includes an identifier, a control parameter and the like of the household appliance. And after receiving the control instruction, the server sends the control instruction to the household appliance, and after receiving the control instruction, the household appliance executes corresponding operation according to the control instruction.
For example, a user adjusts the temperature of the air conditioner by 2 ℃ through an application program installed on the mobile terminal and used for controlling the air conditioner, the mobile terminal sends a corresponding control instruction to the server, the server forwards the control instruction to the household appliance, and the household appliance executes corresponding operation according to the control instruction so as to increase the indoor temperature by 2 ℃.
In the embodiment of the application, when the network connection established between the network communication module of the household appliance and the server is normally smooth, namely the network between the household appliance and the server is effective, the mobile terminal controls the household appliance through the network communication between the server and the household appliance, when the network between the household appliance and the server is invalid, the mobile terminal starts the Bluetooth function by sending the Bluetooth starting instruction to the mobile terminal, and then the mobile terminal and the household appliance are connected through respective Bluetooth communication modules and control the household appliance through the Bluetooth function. Therefore, under most conditions, the household appliances are controlled through network communication between the household appliances and the server, and under the condition that a few networks are not smooth, the networking condition of the household appliances is improved through the Bluetooth function, so that the Bluetooth function of the mobile terminal is not required to be forced to be opened by a user, and the normal control of the mobile terminal on the household appliances is ensured.
In the embodiment shown in fig. 1, the step of querying, by the mobile terminal, the validity of the network between the home appliance and the server from the server is to send, by the server, a second query instruction to the network communication module of the corresponding home appliance according to the identifier in the first query instruction, where as a possible case, the server may further determine whether the second query instruction needs to be sent to the network communication module after judging whether the home appliance has the real-time data report, and therefore, as shown in fig. 2, step 102 shown in fig. 1 may include the following steps:
step 201, determining whether the household appliance has data to report within a second preset time.
After receiving the first query instruction of the mobile terminal, the server judges whether data of the household appliance corresponding to the identification of the household appliance are reported to the server within a second preset time according to the identification of the household appliance in the first query instruction so as to judge the timeliness of the data reported by the household appliance. For example, it is determined whether the data of the home appliance is reported to the server within the last 5 minutes. The uploaded data can be understood as any data which is sent to the server by the household appliance within the second preset time, so as to judge the validity of the network between the household appliance and the server.
The first query instruction received by the server contains the identifier of the household appliance, so that the server can judge whether different household appliances have data to report within the preset time.
Step 202, if it is determined that no data is reported, a second query instruction is sent to the network communication module of the household appliance.
In practical application, the process time for controlling the household appliance through the mobile terminal is limited, and the household appliance and the server are in an un-communication state in most of the time. Therefore, it cannot be determined whether the network between the household appliance and the server is valid only according to the fact that the household appliance does not report data within the second preset time.
Based on this, in order to improve the accuracy of the determination, in this embodiment, if the home appliance does not report data within the second preset time, the server may further send a second query instruction to the network communication module of the home appliance, so as to determine the interaction condition between the home appliance and the server by sending the second query instruction to the network communication module. The second query instruction sent by the server to the network communication module of the household appliance may include the identifier of the household appliance, and the second query instruction is used for determining the interaction condition between the household appliance and the server.
If the household appliance has data reported to the server within the second preset time, the fact that the network established between the network communication module of the household appliance and the server is valid can be determined, the mobile terminal can send a control instruction to the server, and the server controls the household appliance through the network established between the network communication module of the household appliance and the server according to the instruction sent by the mobile terminal.
According to the control method of the household appliance, when the fact that the network between the household appliance and the server is invalid is determined by judging the effectiveness of the reported data and the feedback information of the household appliance, the networking capacity of the household appliance is improved through the Bluetooth function, and the accuracy of the mobile terminal in controlling the household appliance is improved.
In practical applications, in the process of controlling the household appliance through communication between the household appliance and the server, an interruption situation may occur in a network between the household appliance and the server in order to control the household appliance through a bluetooth function. In one embodiment of the present application, the control condition of the network communication module can be synchronized to the bluetooth communication module.
Specifically, if the feedback information of the network communication module is received within the first preset time, which indicates that the network between the household appliance and the server is unobstructed, the server may send the control instruction and the control number to the network communication module of the household appliance when the household appliance is controlled according to the control instruction sent by the mobile terminal.
The control instruction is an instruction which is sent to the server by the mobile terminal and is used for controlling the household appliances, and the control instruction can be generated before the mobile terminal sends a query instruction to the server; the control number may be a number corresponding to the control instruction, that is, each control instruction sent by the mobile terminal has a corresponding control number, which can be used to distinguish different control instructions.
The network communication module of the household appliance receives the control instruction and the control number sent by the server, sends the control instruction to the household appliance, synchronizes the control number to the Bluetooth communication module, and the Bluetooth communication module records the control number.
The household appliance executes corresponding operation according to the control instruction, generates control reply information and respectively sends the control reply information to the network communication module and the Bluetooth communication module. The Bluetooth communication module binds the control reply information acquired from the household appliance with the control number. The control reply information is used for indicating the execution condition of the control instruction.
In the embodiment of the application, in the process of controlling the household appliance through the connection established between the household appliance and the server, the serial number of the control instruction and the control reply information are synchronized to the Bluetooth module, so that the Bluetooth module binds the control reply information and the control serial number, and the control condition carried out through the network communication module is synchronized to the Bluetooth, so that the situation that the network communication module fails to synchronize the information when the network communication module fails in the midway is prevented.
In order to ensure that the mobile terminal normally controls the household appliance, in an embodiment of the application, after the server sends the control instruction and the control number to the network communication module, it is further determined whether the network between the household appliance and the server is valid. Fig. 3 is a schematic flowchart of another control method for a household appliance according to an embodiment of the present application.
After sending the control instruction and the control number to the network communication module, as shown in fig. 3, the method for controlling a home appliance further includes:
step 301, judging whether a control reply message of the household appliance is received within a third preset time.
In this embodiment, after sending the control instruction and the control number to the network communication module of the home appliance, the server determines whether the control reply message of the home appliance is received within a third preset time. The third preset time can be set according to actual conditions.
Step 302, if it is determined that the control reply message of the household appliance is not received within the third preset time, a bluetooth query instruction is sent to the mobile terminal.
In this embodiment, if the server does not receive the control reply message of the home appliance within the third preset time, it may be considered that the connection between the network communication module of the home appliance and the server is interrupted, and the network between the home appliance and the server is disabled, the server sends the bluetooth query instruction to the mobile terminal. The Bluetooth inquiry command is used for indicating the mobile terminal to start a Bluetooth function and acquiring control reply information corresponding to the control number, and the Bluetooth inquiry command comprises the control number.
And after receiving the Bluetooth inquiry command, the mobile terminal starts the Bluetooth function according to the Bluetooth inquiry command and establishes connection with the Bluetooth communication module of the household appliance through the Bluetooth communication module of the mobile terminal. And then, the mobile terminal acquires control reply information which is stored by the Bluetooth communication module and bound with the control number by utilizing Bluetooth connection with the household appliance, and feeds the control reply information back to the server.
And step 303, receiving the control reply information fed back by the mobile terminal.
In this embodiment, the server receives a control instruction corresponding to the control number from the mobile terminal.
In the embodiment of the application, after the server sends the control instruction and the control number to the network communication module of the household appliance, the corresponding control reply information is not acquired within the third preset time, the server sends the Bluetooth inquiry instruction to the mobile terminal, so that the mobile terminal starts the Bluetooth function and establishes Bluetooth connection with the household appliance, therefore, the mobile terminal acquires the control reply information bound with the control number and stored in the Bluetooth communication module through Bluetooth communication and feeds the control reply information back to the server, and therefore when the network of the server between the network communication module and the server fails, the control reply information fed back by the household appliance can still be acquired, and the accuracy of the control of the mobile terminal on the household appliance is ensured.
The following describes a control method of a home appliance according to an embodiment of the present application with reference to fig. 4, and fig. 4 is a flowchart illustrating a specific control method of a home appliance according to an embodiment of the present application. In this embodiment, the first preset time is 5 minutes, the second preset time is 7s, and the third preset time is 10 s.
As shown in fig. 4, the control method of the home appliance includes:
step 401, the mobile terminal receives a control request of a user and generates a control instruction according to the control request.
Step 402, the mobile terminal inquires the server whether data are uploaded within the previous 5 minutes of the household appliance. If the data is uploaded, executing step 403; otherwise, go to step 404.
And 403, the mobile terminal sends a control instruction to the server, and the server receives the control instruction and sends the control instruction to the network communication module of the household appliance.
In this embodiment, if data is uploaded to the server in the first 5 minutes of the home appliance, which indicates that the network between the network communication module of the home appliance and the server is smooth, the mobile terminal sends a control instruction to the server. The server receives the control instruction and issues the control instruction to the network communication module of the household appliance.
In step 404, the server sends a second query instruction to the network communication module.
And if the server does not receive the data reported by the household appliance within the last 5 minutes, further sending a second query instruction to the network communication module to determine whether the network between the network communication module of the household appliance and the server is effective.
Step 405, whether the server receives feedback information within 7 s. If so, go to step 403; otherwise, step 406 is performed.
And step 406, sending a bluetooth starting instruction to the mobile terminal so that the mobile terminal starts a bluetooth function, and controlling the household appliance through the bluetooth function.
In this embodiment, if the server does not receive the feedback information of the network communication module of the home appliance within 7s, which indicates that the network between the home appliance and the server is invalid, the server notifies the mobile terminal to start the bluetooth function, so that the bluetooth communication module of the home appliance and the bluetooth communication module of the mobile terminal are connected, and the home appliance is controlled through the bluetooth function. Specifically, the mobile terminal can directly issue the control command to the household appliance through bluetooth communication, and can also send the control command to the server and then issue the control command to the household appliance through the server.
Step 407, whether the server receives the control reply message within 10 s. If so, go to step 411; otherwise, step 408 is performed.
Step 408, the server informs the mobile terminal to start the bluetooth function.
And if the server does not receive the control reply information within 7s, which indicates that the network between the network communication module of the household appliance and the server is invalid, the mobile terminal is informed to start the Bluetooth function.
And step 409, establishing connection between the Bluetooth communication module of the household appliance and the mobile terminal, and sending the control reply information to the mobile terminal.
In this embodiment, the network communication module of the home appliance synchronizes the received control number to the bluetooth communication module, the home appliance sends the control reply information corresponding to the control command to the network communication module and the bluetooth communication module, respectively, the bluetooth communication module binds the control number with the control reply information, after the home appliance establishes a connection with the mobile terminal, the mobile terminal sends a bluetooth inquiry command to the home appliance, and the home appliance sends the control reply information bound with the control number to the mobile terminal according to the control number in the bluetooth inquiry command.
And step 410, the mobile terminal feeds back the control reply information to the server.
In step 411, control ends.
In order to implement the above embodiments, the present application further provides a control device for a household appliance. Fig. 5 is a schematic structural diagram of a control device of a household appliance according to an embodiment of the present application. In this embodiment, the home appliance includes a network communication module and a bluetooth communication module.
As shown in fig. 5, the control device of the home appliance includes: a receiving module 510 and a sending module 520.
A receiving module 510, configured to receive a first query instruction of a mobile terminal;
a sending module 520, configured to send a second query instruction to the network communication module of the home appliance according to the first query instruction; and
the sending module 520 is further configured to send a bluetooth start instruction to the mobile terminal when it is determined that the feedback information of the network communication module is not received within the first preset time, so that the mobile terminal and the home appliance are connected through respective bluetooth communication modules, and the home appliance is controlled through a bluetooth function.
In a possible implementation manner of the embodiment of the present application, the control device further includes:
the judging module is used for judging whether the household appliance has data to report within second preset time;
the sending module 520 is further configured to send a second query instruction to the network communication module of the home appliance if it is determined that the home appliance has not reported data within a second preset time.
In another possible implementation manner of the embodiment of the present application, the control device further includes:
and the control module is used for controlling the household appliance according to the control instruction sent by the mobile terminal when receiving the feedback information of the network communication module within the first preset time.
In a possible implementation manner of the embodiment of the present application, the control module is specifically configured to:
and sending a control instruction and a control number to the network communication module so that the network communication module receives the control instruction and the control number, sends the control instruction to the household appliance, and synchronizes the control number to the Bluetooth communication module so that the Bluetooth communication module binds control reply information acquired from the household appliance with the control number.
In one possible implementation of the embodiments of the present application,
the judging module is also used for judging whether the control reply information of the household appliance is received within a third preset time;
the sending module 520 is further configured to send a bluetooth query instruction to the mobile terminal when it is determined that the control reply information of the home appliance is not received within the third preset time, where the bluetooth query instruction includes a control number, so that the mobile terminal starts a bluetooth function according to the bluetooth query instruction, establishes a connection with a bluetooth communication module of the home appliance, and obtains the control reply information bound with the control number and stored in the bluetooth communication module according to the control number;
the receiving module 510 is further configured to receive a control reply message fed back by the mobile terminal.
It should be noted that the above explanation of the embodiment of the control method for the household appliance is also applicable to the control device for the household appliance in the embodiment, and therefore, the explanation is not repeated herein.
The control device of the household appliance comprises a first inquiry instruction receiving the mobile terminal, a second inquiry instruction is sent to a network communication module of the household appliance according to the first inquiry instruction, it is determined that feedback information of the network communication module is not received within a first preset time, a Bluetooth starting instruction is sent to the mobile terminal, so that the mobile terminal is connected with the Bluetooth communication module of the household appliance, the household appliance is controlled through a Bluetooth function, therefore, the timeliness of the feedback information of the household appliance is judged, when the network between the household appliance and a server is determined to be invalid, the Bluetooth starting instruction is sent to the mobile terminal, the household appliance is connected with the mobile terminal in a Bluetooth mode, the networking capacity of the household appliance is improved through the Bluetooth function, and the accuracy of the mobile terminal in controlling the household appliance is improved.
In order to implement the foregoing embodiments, an embodiment of the present application further provides a computer device, including a processor and a memory;
wherein, the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the control method of the home appliance as described in the above embodiments.
In order to implement the above embodiments, the present application also proposes a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the control method of the home appliance as described in the above embodiments.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (8)

1. A method for controlling a home appliance, the home appliance including a network communication module and a bluetooth communication module, the method comprising:
receiving a first query instruction of the mobile terminal;
sending a second query instruction to a network communication module of the household appliance according to the first query instruction;
if the situation that the feedback information of the network communication module is not received within the first preset time is determined, a Bluetooth starting instruction is sent to the mobile terminal, so that the mobile terminal and the household appliance are connected through respective Bluetooth communication modules, and the household appliance is controlled through a Bluetooth function;
if the feedback information of the network communication module is received within the first preset time, a control instruction and a control number are sent to the network communication module, so that the network communication module receives the control instruction and the control number, sends the control instruction to the household appliance, and synchronizes the control number to the Bluetooth communication module, so that the Bluetooth communication module binds control reply information acquired from the household appliance with the control number.
2. The method for controlling a home appliance according to claim 1, wherein the sending a second query instruction to a network communication module of the home appliance according to the first query instruction comprises:
judging whether the household appliance has data to report within a second preset time;
and if no data report is determined, sending the second query instruction to a network communication module of the household appliance.
3. The method for controlling home appliances according to claim 1, further comprising, after transmitting the control command and the control number to the network communication module:
judging whether control reply information of the household appliance is received within third preset time;
if the control reply information of the household appliance is determined not to be received within the third preset time, a Bluetooth inquiry instruction is sent to the mobile terminal, wherein the Bluetooth inquiry instruction comprises the control number, so that the mobile terminal starts a Bluetooth function according to the Bluetooth inquiry instruction, establishes connection with a Bluetooth communication module of the household appliance, and acquires the control reply information which is stored in the Bluetooth communication module and is bound with the control number according to the control number;
and receiving the control reply information fed back by the mobile terminal.
4. A control apparatus of a home appliance, the home appliance including a network communication module and a Bluetooth communication module, the apparatus comprising:
the receiving module is used for receiving a first query instruction of the mobile terminal;
the sending module is used for sending a second query instruction to the network communication module of the household appliance according to the first query instruction; and
the sending module is further used for sending a Bluetooth starting instruction to the mobile terminal when determining that the feedback information of the network communication module is not received within a first preset time, so that the mobile terminal and the household appliance are connected through respective Bluetooth communication modules and are controlled through a Bluetooth function;
and the control module is used for sending a control instruction and a control number to the network communication module when receiving the feedback information of the network communication module within the first preset time so that the network communication module receives the control instruction and the control number and sends the control instruction to the household appliance, and meanwhile, the control number is synchronized to the Bluetooth communication module so that the Bluetooth communication module binds the control reply information acquired from the household appliance with the control number.
5. The control device of a home appliance according to claim 4, further comprising:
the judging module is used for judging whether the household appliance has data to report within second preset time;
the sending module is further configured to send the second query instruction to a network communication module of the home appliance if it is determined that the home appliance has no data report within the second preset time.
6. The control device of a home appliance according to claim 4,
the judging module is also used for judging whether control reply information of the household appliance is received within a third preset time;
the sending module is further configured to send a bluetooth query instruction to the mobile terminal when determining that the control reply information of the home appliance is not received within the third preset time, where the bluetooth query instruction includes the control number, so that the mobile terminal starts a bluetooth function according to the bluetooth query instruction, establishes a connection with a bluetooth communication module of the home appliance, and obtains the control reply information bound with the control number and stored in the bluetooth communication module according to the control number;
the receiving module is further configured to receive the control reply information fed back by the mobile terminal.
7. A computer device comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the control method of the home appliance according to any one of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a control method of a home appliance according to any one of claims 1 to 3.
CN201910720370.5A 2019-08-06 2019-08-06 Control method and device of household appliance, computer equipment and storage medium Active CN110535733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910720370.5A CN110535733B (en) 2019-08-06 2019-08-06 Control method and device of household appliance, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910720370.5A CN110535733B (en) 2019-08-06 2019-08-06 Control method and device of household appliance, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110535733A CN110535733A (en) 2019-12-03
CN110535733B true CN110535733B (en) 2021-12-21

Family

ID=68661406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910720370.5A Active CN110535733B (en) 2019-08-06 2019-08-06 Control method and device of household appliance, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110535733B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111542130A (en) * 2020-05-21 2020-08-14 海尔优家智能科技(北京)有限公司 Method and device for controlling household appliance and terminal equipment
CN113726829A (en) * 2020-05-25 2021-11-30 青岛海尔洗衣机有限公司 Method and device for controlling household appliance, wireless terminal and storage medium
CN113938340A (en) * 2020-06-29 2022-01-14 广东美的制冷设备有限公司 Control method, storage medium, household appliance, client and control system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957037A (en) * 2014-04-09 2014-07-30 北京工业大学 Method for automatic communication between PC side and Android mobile phone side based on Bluetooth
CN106209142A (en) * 2016-09-06 2016-12-07 济南大学 A kind of Intelligent bracelet based on hybrid network
CN107204883A (en) * 2017-07-27 2017-09-26 北京小米移动软件有限公司 Network failure processing method and device
CN107635214A (en) * 2017-08-21 2018-01-26 深圳创维-Rgb电子有限公司 Response method, device, system and readable storage medium storing program for executing based on blue Tooth remote controller
CN108134722A (en) * 2017-12-27 2018-06-08 惠州Tcl家电集团有限公司 Control method for washing machine, mobile terminal, system and readable storage medium storing program for executing
CN108198298A (en) * 2017-12-27 2018-06-22 惠州Tcl家电集团有限公司 Unlocking method, terminal and the computer readable storage medium of shared household electrical appliances

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868418A (en) * 2012-09-26 2013-01-09 天津安普德科技有限公司 Bluetooth-based low-power-consumption wireless audio receiver/transmitter
CN104320162B (en) * 2014-09-24 2020-12-25 惠州Tcl移动通信有限公司 Method for synchronizing contact persons, intelligent mobile terminal and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957037A (en) * 2014-04-09 2014-07-30 北京工业大学 Method for automatic communication between PC side and Android mobile phone side based on Bluetooth
CN106209142A (en) * 2016-09-06 2016-12-07 济南大学 A kind of Intelligent bracelet based on hybrid network
CN107204883A (en) * 2017-07-27 2017-09-26 北京小米移动软件有限公司 Network failure processing method and device
CN107635214A (en) * 2017-08-21 2018-01-26 深圳创维-Rgb电子有限公司 Response method, device, system and readable storage medium storing program for executing based on blue Tooth remote controller
CN108134722A (en) * 2017-12-27 2018-06-08 惠州Tcl家电集团有限公司 Control method for washing machine, mobile terminal, system and readable storage medium storing program for executing
CN108198298A (en) * 2017-12-27 2018-06-22 惠州Tcl家电集团有限公司 Unlocking method, terminal and the computer readable storage medium of shared household electrical appliances

Also Published As

Publication number Publication date
CN110535733A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN110535733B (en) Control method and device of household appliance, computer equipment and storage medium
CN109495358B (en) Network distribution method and network distribution system for household appliances
US7129823B2 (en) Communications setting method and communications setting system for power line communications system
CN111031565B (en) Method and device for identifying off-line state of ZigBee device
CN110365704B (en) Equipment binding method and device and electronic equipment
CN110045622B (en) Household appliance control method and device and household appliance
KR20130114202A (en) Method and system for identifying at least one electrically powered device by a power supply device via a powerline connection
CN106909081B (en) Household electrical appliance and expansion platform based on same
CN109413653B (en) Network distribution method and network distribution system for household appliances
US9836958B2 (en) Device control method, server, system and computer storage medium
CN108418732B (en) Household appliance and control method thereof
CN111614523A (en) Control method of household appliance, intelligent terminal and household appliance
CN110868701B (en) Vehicle-mounted access equipment, control method thereof and rail vehicle
CN113985743A (en) Equipment control method, device and system, storage medium and electronic device
US20150178068A1 (en) Electric product and method for updating firmware of the same
CN110768695B (en) Transmission power configuration method, head end equipment, electrical system and chip
CN112311633B (en) Distribution network control method, distribution network control device, household appliance and storage medium
US9900176B2 (en) Communication method and apparatus using smart module in home network system
CN108134720B (en) Equipment self-adaptive control method and device and server
CN112312386A (en) Equipment binding method and device and electronic equipment
CN110750327A (en) Virtual network function management method and system, agent device, and storage medium
CN112305926A (en) Distribution network control method, distribution network control device, household appliance and storage medium
CN105207811B (en) Method and device for replacing non-AllJoyn equipment
JP5028979B2 (en) Device management system, device management method and agent
CN112865990B (en) File upgrading method, system and device

Legal Events

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