CN110535733A - Control method, device, computer equipment and the storage medium of household electrical appliance - Google Patents
Control method, device, computer equipment and the storage medium of household electrical appliance Download PDFInfo
- Publication number
- CN110535733A CN110535733A CN201910720370.5A CN201910720370A CN110535733A CN 110535733 A CN110535733 A CN 110535733A CN 201910720370 A CN201910720370 A CN 201910720370A CN 110535733 A CN110535733 A CN 110535733A
- Authority
- CN
- China
- Prior art keywords
- electrical appliance
- household electrical
- control
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/2818—Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Abstract
The application proposes control method, device, computer equipment and the storage medium of a kind of household electrical appliance, wherein household electrical appliance include network communication module and bluetooth communication, and method includes: the first inquiry instruction for receiving mobile terminal;According to the first inquiry instruction, the second inquiry instruction is sent to the network communication module of household electrical appliance;And determine the feedback information for not receiving network communication module in the first preset time, then starting Bluetooth commands are sent to mobile terminal, so that mobile terminal and household electrical appliance establish connection by respective bluetooth communication, and household electrical appliance are controlled by Bluetooth function.This method passes through the validity for judging household electrical appliance feedback information, when determining the network failure between household electrical appliance and server, the networked capabilities of household electrical appliance is improved by Bluetooth function, improve the accuracy of controlling household electrical appliance through mobile terminal.
Description
Technical field
This application involves field of home appliance technology more particularly to a kind of control methods of household electrical appliance, device, computer
Equipment and storage medium.
Background technique
Currently, shared device, such as household electrical appliance and server, the network used is more single, usually using nets such as 2G, 4G
Network, once fluctuation and failure occur for the network, household electrical appliance are easily in the state of failure, so as to cause mobile terminal to household
The control of electric appliance is failed.
Summary of the invention
The application proposes control method, device, computer equipment and the storage medium of a kind of household electrical appliance, for solving phase
The network that household electrical appliance use in the technology of pass may make household electrical appliance the case where in failure state occur, so as to cause movement
The problem of terminal control of which fails.
The application one side embodiment proposes a kind of control method of household electrical appliance, and the household electrical appliance include that network is logical
Believe module and bluetooth communication, which comprises
Receive the first inquiry instruction of mobile terminal;
According to the first inquiry instruction, the network communication module of Xiang Suoshu household electrical appliance sends the second inquiry instruction;And
Determine the feedback information for not receiving the network communication module in the first preset time, then to the mobile terminal
Bluetooth enabled instruction is sent, so that the mobile terminal and the household electrical appliance are established by respective bluetooth communication and connected
It connects, and the household electrical appliance is controlled by Bluetooth function.
The control method of the embodiment of the present application household electrical appliance, by receiving the first inquiry instruction of mobile terminal, Xiang Jiayong
The network communication module of electric appliance sends the second inquiry instruction, and determination does not receive the anti-of network communication module in the first preset time
Feedforward information then sends bluetooth enabled instruction to mobile terminal, so that mobile terminal and household electrical appliance pass through respective Bluetooth communication
Module establishes connection, and is controlled by Bluetooth function household electrical appliance, from there through judging household electrical appliance feedback information
Timeliness when determining the network failure between household electrical appliance and server, by sending bluetooth enabled instruction to mobile terminal, makes
Household electrical appliance and mobile terminal establish bluetooth connection, and the networked capabilities of household electrical appliance are improved by Bluetooth function, improve movement
The accuracy of terminal control household electrical appliance.
The application another aspect embodiment proposes a kind of control device of household electrical appliance, and the household electrical appliance include network
Communication module and bluetooth communication, described device include:
Receiving module, for receiving the first inquiry instruction of mobile terminal;
Sending module is looked into for sending second according to the network communication module of the first inquiry instruction, Xiang Suoshu household electrical appliance
Ask instruction;And
Sending module is also used to determine the feedback information for not receiving the network communication module in the first preset time
When, Xiang Suoshu mobile terminal sends bluetooth enabled instruction, so that the mobile terminal and the household electrical appliance pass through respective indigo plant
Tooth communication module establishes connection, and is controlled by Bluetooth function the household electrical appliance.
The control device of the household electrical appliance of the embodiment of the present application, by receiving the first inquiry instruction of mobile terminal, Xiang Jia
The network communication module of electrical appliance sends the second inquiry instruction, and determination does not receive network communication module in the first preset time
Feedback information then sends bluetooth enabled instruction to mobile terminal, so that mobile terminal and household electrical appliance are logical by respective bluetooth
Letter module establishes connection, and is controlled by Bluetooth function household electrical appliance, from there through judging household electrical appliance feedback information
Timeliness, when determining the network failure between household electrical appliance and server, by mobile terminal send bluetooth enabled instruction,
So that household electrical appliance and mobile terminal is established bluetooth connection, the networked capabilities of household electrical appliance are improved by Bluetooth function, improve shifting
The accuracy of dynamic terminal control household electrical appliance.
The application another aspect embodiment proposes a kind of computer equipment, including processor and memory;
Wherein, the processor run by reading the executable program code stored in the memory with it is described can
The corresponding program of program code is executed, with the control method for realizing the household electrical appliance as described in above-mentioned one side embodiment.
The application another aspect embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey
Sequence realizes the control method of the household electrical appliance as described in above-mentioned one side embodiment when the program is executed by processor.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of the control method of household electrical appliance provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the control method of another household electrical appliance provided by the embodiments of the present application;
Fig. 3 is also a kind of flow diagram of the control method of household electrical appliance provided by the embodiments of the present application;
Fig. 4 is the flow diagram of the control method of a specific household electrical appliance of the embodiment of the present application;
Fig. 5 is a kind of structural schematic diagram of the control device of household electrical appliance provided by the embodiments of the present application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the control methods of the household electrical appliance of the embodiment of the present application, device, computer equipment are described and is deposited
Storage media.
Fig. 1 is a kind of flow diagram of the control method of household electrical appliance provided by the embodiments of the present application.
In the embodiment of the present application, household electrical appliance include network communication module and bluetooth communication.Wherein, household electrical appliance can
To be the household appliances such as washing machine, refrigerator, air-conditioning, network communication module for provide wireless communication such as WiFi, 2G, 3G,
4G communication, bluetooth communication can provide Bluetooth communication.
The control method of the household electrical appliance of the embodiment of the present application can be executed by server, to realize when household electrical appliance and clothes
Be engaged in network failure between device when, by sending bluetooth enabled instruction to mobile terminal, establish household electrical appliance and mobile terminal
Bluetooth connection improves mobile terminal and controls household electrical appliance to improve the networked capabilities of household electrical appliance by increasing Bluetooth function
Accuracy.
As shown in Figure 1, the control method of the household electrical appliance includes:
Step 101, the first inquiry instruction of mobile terminal is received.
In the present embodiment, it is generally the case that network connection is established between the network communication module and server of household electrical appliance,
Also network connection is established between mobile terminal and server, mobile terminal passes through the network communication module of server and household electrical appliance
Connection is established, household electrical appliance are controlled.For example, control instruction is sent to server by mobile terminal, server will be received
To control instruction be handed down to household electrical appliance, the control return information of household electrical appliance is reported to server, and server will receive
Control return information feed back to mobile terminal.
Wherein, wireless communication connection can be established between the network communication module and server of household electrical appliance, for example WiFi leads to
Letter, 2G communication, 3G communication, 4G communication etc..
In practical applications, since the network between household electrical appliance and server is not sufficiently stable, can exist household electrical appliance with
The case where network failure between server, therefore, in the present embodiment, when user controls household electrical appliance by mobile terminal
When processed, mobile terminal first can issue the first inquiry instruction to server, wherein the first inquiry instruction for inquire household electrical appliance with
Whether the network between server is effective, may include the mark of household electrical appliance in the first inquiry instruction.
Step 102, according to the first inquiry instruction, the second inquiry instruction is sent to the network communication module of household electrical appliance.
After server receives the first inquiry instruction of mobile terminal, according to the mark of the household electrical appliance in the first inquiry instruction
Know, sends the second inquiry instruction to the network communication module of the corresponding household electrical appliance of the mark.
Wherein, the first inquiry instruction, for inquiring net between the corresponding household electrical appliance of the mark and server to server
The validity of network.Second inquiry instruction, for inquiring the interaction scenario between the network communication module of household electrical appliance and server.
Step 103, the feedback information for not receiving network communication module in the first preset time is determined, then to mobile terminal
Bluetooth enabled instruction is sent, so that mobile terminal and household electrical appliance establish connection by respective bluetooth communication, and is passed through
Bluetooth function controls household electrical appliance.
If server does not receive the feedback information of network communication module in the first preset time, it may be possible to because of household
Network failure between electric appliance and server causes household electrical appliance to be unsuccessfully received the second inquiry instruction and does not generate and second
The corresponding feedback information of inquiry instruction or household electrical appliance are successfully received the second inquiry instruction, and are referred to according to the second inquiry
Order generates feedback information, but because the network failure between household electrical appliance and server causes server to be unsuccessfully received instead
Feedforward information.
Therefore, when server does not receive the feedback information of network communication module in the first preset time, can recognize
Network failure between household electrical appliance and server, in order to guarantee that mobile terminal can continue to control household electrical appliance,
Server can send bluetooth enabled instruction to mobile terminal, to notify mobile terminal to open Bluetooth function.
After mobile terminal opens Bluetooth function, since household electrical appliance and mobile terminal all have bluetooth communication,
Household electrical appliance can establish connection by the bluetooth communication of bluetooth communication and mobile terminal, then mobile terminal and household
Bluetooth communication can be carried out between electric appliance, mobile terminal can control household electrical appliance by Bluetooth function as a result, for example move
Terminal directly issues control instruction or mobile terminal to household electrical appliance by server under mobile terminal by Bluetooth communication
Send out control instruction etc..
It, can in the second inquiry instruction that the first inquiry instruction or server that mobile terminal is sent are sent in the present embodiment
It include the identification information of household electrical appliance, mobile terminal can control different household electrical appliance as a result,.
The control method of the household electrical appliance of the embodiment of the present application, by judging the interaction feelings between household electrical appliance and server
Condition judges whether the network between household electrical appliance and server effective, when determine the network between household electrical appliance and server without
When effect, by sending bluetooth enabled instruction to mobile terminal, mobile terminal is set to open Bluetooth function, then mobile terminal and household
Electric appliance establishes connection by respective bluetooth communication, and the networked capabilities of household electrical appliance are improved from there through Bluetooth function, from
And improve precise control of the mobile terminal to household electrical appliance.
In one embodiment of the application, after server sends the second inquiry instruction to household electrical appliance, if first
The feedback information corresponding with the second inquiry instruction that household electrical appliance transmission is received in preset time illustrates household electrical appliance and service
Network between device is effective, and the interaction between household electrical appliance and server is normal, then server can be sent according to mobile terminal
Control instruction household electrical appliance are controlled.
Specifically, mobile terminal sends the control instruction of household electrical appliance to server, wherein includes household in control instruction
The mark of electric appliance, control parameter etc..After server receives control instruction, control instruction is sent to household electrical appliance, household
After electric appliance receives control instruction, corresponding operation is executed according to control instruction.
For example, the temperature of air-conditioning has been raised 2 by the application program for the control air-conditioning installed on mobile terminal by user
DEG C, then corresponding control instruction is sent to server by mobile terminal, and control instruction is transmitted to household electrical appliance, household by server
Electric appliance executes corresponding operation according to control instruction, so that room temperature increases 2 DEG C.
In the embodiment of the present application, when the network connection established between the network communication module and server of household electrical appliance is normal
Unimpeded, i.e., when the network between household electrical appliance and server is effective, mobile terminal passes through the net between server and household electrical appliance
Network communication controls household electrical appliance, when the network failure between household electrical appliance and server, by sending out to mobile terminal
Bluetooth enabled instruction is sent, mobile terminal is made to open Bluetooth function, then mobile terminal and household electrical appliance are logical by respective bluetooth
Letter module establishes connection, is controlled by Bluetooth function household electrical appliance.As a result, in most cases, pass through household electrical appliance
Network communication between server controls household electrical appliance, in the case where a small number of networks are not smooth, just passes through bluetooth
Function helps improve the networking situation of household electrical appliance, thus not only without forcing user to open the Bluetooth function of mobile terminal, and
And it ensure that mobile terminal is normally carried out the control of household electrical appliance.
In embodiment shown in FIG. 1, mobile terminal inquires the effective of network between household electrical appliance and server to server
Property be by server according to the mark in the first inquiry instruction to the network communication module of corresponding household electrical appliance send second
Inquiry instruction, as a kind of possible situation, server whether can also there is real time data to report judging household electrical appliance after again
It determines the need for sending the second inquiry instruction to network communication module, therefore, as shown in Fig. 2, step 102 shown in FIG. 1 can
To include the following steps:
Step 201, judge whether household electrical appliance there are data to report in the second preset time.
After server receives the first inquiry instruction of mobile terminal, according to the mark of the household electrical appliance in the first inquiry instruction
Know, judges whether the corresponding household electrical appliance of the mark of household electrical appliance there are data to report to server in the second preset time, with
Judge the timeliness of household electrical appliance reported data.For example, judging whether household electrical appliance have data to report to service in first 5 minutes
Device.Wherein, the data of upload can be understood as the arbitrary data that household electrical appliance are sent to server in the second preset time, with
For judging the validity of network between household electrical appliance and server.
Due to including the mark of household electrical appliance in received first inquiry instruction of server, server can be sentenced
Whether the different household electrical appliance that break have data to report within a preset time.
Step 202, it determines that no data report, then sends the second inquiry instruction to the network communication module of household electrical appliance.
In practical applications, the process time controlled by mobile terminal to household electrical appliance is most of than relatively limited
In time, in the state not communicated between household electrical appliance and server.Therefore, according only to household electrical appliance in the second preset time
Inside non-reported data can not determine whether household electrical appliance are effective with the network before server.
Based on this, in order to improve the accuracy of judgement, in the present embodiment, if household electrical appliance in the second preset time not
It carries out data to report, then server further can send the second inquiry instruction to the network communication module of household electrical appliance, with logical
Cross the interaction scenario determined between household electrical appliance and server to network communication module the second inquiry instruction of transmission.Wherein, it services
It may include the mark for having household electrical appliance, the second inquiry in the second inquiry instruction of the network communication module of household electrical appliance that device, which is sent to,
Instruction is for determining the interaction scenario between household electrical appliance and server.
If household electrical appliance there are data to report to server in the second preset time, household electrical appliance can be determined
The network established between network communication module and server is effective, then mobile terminal can send control instruction to server,
The instruction that server is sent according to mobile terminal passes through the network established between the network communication module and server of household electrical appliance
Household electrical appliance are controlled.
The control method of the household electrical appliance of the embodiment of the present application, by judging household electrical appliance reported data and feedback information
When determining the network failure between household electrical appliance and server, the networking energy of household electrical appliance is improved by Bluetooth function for validity
Power improves the accuracy of controlling household electrical appliance through mobile terminal.
In practical applications, in the process controlled by the communication between household electrical appliance and server household electrical appliance
In, network between household electrical appliance and server it is possible that the case where interrupting, in order to by Bluetooth function to household
Electric appliance is controlled.In one embodiment of the embodiment of the present application, the control situation of network communication module can be synchronized to indigo plant
Tooth communication module.
Specifically, if receiving the feedback information of network communication module in the first preset time, illustrate household electrical appliance
Network between server is unobstructed, then when being controlled according to the control instruction that mobile terminal is sent household electrical appliance, service
Device can send control instruction and control number to the network communication module of household electrical appliance.
Wherein, control instruction is that mobile terminal is sent to server, the instruction for being controlled household electrical appliance, can be with
It is that mobile terminal generates before sending inquiry instruction to server;Control number can be the corresponding number of control instruction,
That is, each control instruction that mobile terminal is sent is numbered with corresponding control, it can be used for distinguishing different control and refer to
It enables.
The network communication modules of household electrical appliance receives the control instruction that server is sent and control number, and by control instruction
Household electrical appliance are sent to, while control number is synchronized to bluetooth communication, bluetooth communication records control number.
Household electrical appliance execute corresponding operation according to control instruction, and generate control return information to be respectively sent to network logical
Believe module and bluetooth communication.Bluetooth communication carries out the control return information obtained from household electrical appliance and control number
Binding.Wherein, control return information is used to indicate the executive condition of control instruction.
In the embodiment of the present application, in the connection by being established between household electrical appliance and server, household electrical appliance are controlled
During system, the number of control instruction and control return information are synchronized to bluetooth module, so that bluetooth module will control back
Complex information is bound with control number, so that the control situation carried out by network communication module should be synchronized to bluetooth,
When preventing the network failure of network communication module midway, bluetooth communication can not synchronize these information.
In order to guarantee that mobile terminal is normally carried out the control of household electrical appliance, in one embodiment of the application, service
After device sends control instruction and control number to network communication module, the network between household electrical appliance and server is further judged
Whether effectively.It is illustrated below with reference to Fig. 3, Fig. 3 is the control method of another household electrical appliance provided by the embodiments of the present application
Flow diagram.
After sending control instruction and control number to network communication module, as shown in figure 3, the control of the household electrical appliance
Method, further includes:
Step 301, judge the control return information that household electrical appliance whether are received in third preset time.
In the present embodiment, server to the network communication module of household electrical appliance send control instruction and control number after,
Judge the control return information that household electrical appliance whether are received in third preset time.Wherein, third preset time can basis
Actual conditions setting.
Step 302, the control return information for not receiving household electrical appliance in third preset time is determined, then to mobile terminal
Send bluetooth inquiry instruction.
In the present embodiment, if server does not receive the control return information of household electrical appliance in third preset time,
It is considered that the disconnecting between the network communication module and server of household electrical appliance, the net between household electrical appliance and server
Network failure, then server sends bluetooth inquiry instruction to mobile terminal.Wherein, bluetooth inquiry instruction is used to indicate mobile terminal and opens
Dynamic Bluetooth function simultaneously obtains control return information corresponding with control number, includes control number in bluetooth inquiry instruction.
After mobile terminal receives bluetooth inquiry instruction, starting Bluetooth function is instructed according to bluetooth inquiry, and pass through itself
Bluetooth communication and the bluetooth communications of household electrical appliance establish connection.Then, mobile terminal utilize with household electrical appliance it
Between bluetooth connection, obtain the control return information with control number binding that bluetooth communication saves, and feed back to service
Device.
Step 303, the control return information of mobile terminal feedback is received.
In the present embodiment, server receives control instruction corresponding with control number from mobile terminal.
In the embodiment of the present application, when server sends control instruction and control number to the network communication module of household electrical appliance
Afterwards, corresponding control return information is not obtained in third preset time, server is by sending bluetooth inquiry to mobile terminal
Instruction makes mobile terminal starting Bluetooth function and establishes bluetooth connection with household electrical appliance, and mobile terminal passes through Bluetooth communication as a result,
The control return information with control number binding stored in bluetooth communication is obtained, and feeds back to server, to make to take
Be engaged in network failure of the device between network communication module and server when, the control for still being able to obtain household electrical appliance feedback is replied
Information ensure that the accuracy of control of the mobile terminal to household electrical appliance.
Illustrate the control method of the household electrical appliance of the embodiment of the present application below with reference to Fig. 4, Fig. 4 is the one of the embodiment of the present application
The flow diagram of the control method of a specific household electrical appliance.In the present embodiment, if above-mentioned first preset time is 5 minutes,
Second preset time is 7s, and third preset time is 10s.
As shown in figure 4, the control method of the household electrical appliance includes:
Step 401, mobile terminal receives the control request of user and is requested to generate control instruction according to control.
Step 402, mobile terminal inquires server, whether has data upload in 5 minutes before household electrical appliance.If there is data
It uploads, thens follow the steps 403;No person executes step 404.
Step 403, mobile terminal sends control instruction to server, and server receives control instruction, to household electrical appliance
Network communication module issue control instruction.
In the present embodiment, if 5 minutes before household electrical appliance there are data to be uploaded to server, illustrate that the network of household electrical appliance is logical
Believe that the network between module and server is unimpeded, then mobile terminal sends control instruction to server.Server receives control
Instruction, and control instruction is issued to the network communication module of household electrical appliance.
Step 404, server sends the second inquiry instruction to network communication module.
If server does not receive the data that household electrical appliance report in first 5 minutes, further to network communication mould
Block sends the second inquiry instruction, to determine whether the network between the network communication module of household electrical appliance and server is effective.
Step 405, whether server receives feedback information in 7s.If so, thening follow the steps 403;Otherwise, step is executed
Rapid 406.
Step 406, bluetooth enabled instruction is sent to mobile terminal, so that mobile terminal starts Bluetooth function, passes through bluetooth
Function controls household electrical appliance.
In the present embodiment, if server does not receive the feedback information of the network communication module of household electrical appliance in 7s, say
Network failure between dummy's electrical appliance and server, then server notice mobile terminal starts Bluetooth function, makes household electrical appliance
Bluetooth communication and mobile terminal bluetooth communication between establish connection, by Bluetooth function to household electrical appliance carry out
Control.Specifically, control instruction can be directly handed down to household electrical appliance by Bluetooth communication by mobile terminal, also can be transmitted to service
Device, then household electrical appliance are handed down to by server.
Step 407, whether server receives control return information in 10s.If so, thening follow the steps 411;It is no
Then, step 408 is executed.
Step 408, server notice mobile terminal opens Bluetooth function.
If server does not receive control return information in 7s, illustrate the network communication module and server of household electrical appliance
Between network failure, then notify mobile terminal open Bluetooth function.
Step 409, the bluetooth communication of household electrical appliance and mobile terminal establish connection, and control return information is sent
To mobile terminal.
In the present embodiment, the control received number is synchronized to Bluetooth communication mould by the network communication module of household electrical appliance
Control return information corresponding with control instruction is sent respectively to network communication module and Bluetooth communication mould by block, household electrical appliance
Block, bluetooth communication will control number and bind with control return information, after household electrical appliance establish connection with mobile terminal, move
Dynamic terminal sends bluetooth inquiry instruction to household electrical appliance, household electrical appliance according to bluetooth inquiry instruct in control number, will be with control
The control return information of system number binding is sent to mobile terminal.
Step 410, mobile terminal feeds back to server for return information is controlled.
Step 411, control terminates.
In order to realize above-described embodiment, the embodiment of the present application also proposes a kind of control device of household electrical appliance.Fig. 5 is this Shen
Please embodiment provide a kind of household electrical appliance control device structural schematic diagram.In the present embodiment, household electrical appliance include network
Communication module and bluetooth communication.
As shown in figure 5, the control device of the household electrical appliance includes: receiving module 510, sending module 520.
Receiving module 510, for receiving the first inquiry instruction of mobile terminal;
Sending module 520, for sending the second inquiry to the network communication module of household electrical appliance according to the first inquiry instruction
Instruction;And
Sending module 520 is also used to determine when not receiving the feedback information of network communication module in the first preset time,
Bluetooth enabled instruction is sent to the mobile terminal, so that mobile terminal is built with household electrical appliance by respective bluetooth communication
Vertical connection, and household electrical appliance are controlled by Bluetooth function.
In a kind of possible implementation of the embodiment of the present application, the control device, further includes:
Judgment module, for judging whether household electrical appliance have data to report in the second preset time;
Above-mentioned sending module 520 is also used to determine that household electrical appliance report in the second preset time without data, then to family
The network communication module of electrical appliance sends the second inquiry instruction.
In the alternatively possible implementation of the embodiment of the present application, the control device further include:
Control module, for when receiving the feedback information of network communication module in the first preset time, according to shifting
The control instruction that dynamic terminal is sent controls household electrical appliance.
In a kind of possible implementation of the embodiment of the present application, above-mentioned control module is specifically used for:
Control instruction and control number are sent to network communication module, so that network communication module receives control instruction and control
System number, and control instruction is sent to household electrical appliance, while control number is synchronized to bluetooth communication, so that bluetooth is logical
Believe module by the control return information obtained from household electrical appliance and control number binding.
In a kind of possible implementation of the embodiment of the present application,
Judgment module is also used to judge whether to receive the control return information of household electrical appliance in third preset time;
Above-mentioned sending module 520 is also used to determine that letter is replied in the control for not receiving household electrical appliance in third preset time
When breath, bluetooth inquiry instruction is sent to mobile terminal, wherein bluetooth inquiry instruction includes control number, so that mobile terminal root
Starting Bluetooth function is instructed according to bluetooth inquiry, establishes connection with the bluetooth communication of household electrical appliance, and obtain according to control number
Take the control return information with control number binding saved in bluetooth communication;
Above-mentioned receiving module 510 is also used to receive the control return information of mobile terminal feedback.
It should be noted that the explanation of the above-mentioned control method embodiment to household electrical appliance, is also applied for the implementation
The control device of the household electrical appliance of example, therefore details are not described herein.
The control device of the household electrical appliance of the embodiment of the present application, by receiving the first inquiry instruction of mobile terminal, according to
First inquiry instruction sends the second inquiry instruction to the network communication module of household electrical appliance, determines in the first preset time not
The feedback information of network communication module is received, then bluetooth enabled instruction is sent to mobile terminal, so that mobile terminal and household electric
The bluetooth communication of device establishes connection, and is controlled by Bluetooth function household electrical appliance, from there through judging household electric
The timeliness of device feedback information, it is blue by being sent to mobile terminal when determining the network failure between household electrical appliance and server
Tooth enabled instruction makes household electrical appliance and mobile terminal establish bluetooth connection, and the networking energy of household electrical appliance is improved by Bluetooth function
Power improves the accuracy of controlling household electrical appliance through mobile terminal.
In order to realize above-described embodiment, the embodiment of the present application also proposes a kind of computer equipment, including processor and storage
Device;
Wherein, processor is run and the executable program by reading the executable program code stored in memory
The corresponding program of code, with the control method for realizing the household electrical appliance as described in above-described embodiment.
In order to realize above-described embodiment, the embodiment of the present application also proposes a kind of computer readable storage medium, stores thereon
There is computer program, the control method of the household electrical appliance as described in above-described embodiment is realized when which is executed by processor.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Claims (12)
1. a kind of control method of household electrical appliance, which is characterized in that the household electrical appliance include that network communication module and bluetooth are logical
Believe module, which comprises
Receive the first inquiry instruction of mobile terminal;
According to first inquiry instruction, the network communication module of Xiang Suoshu household electrical appliance sends the second inquiry instruction;
It determines the feedback information for not receiving the network communication module in the first preset time, is then sent to the mobile terminal
Bluetooth enabled instruction, so that the mobile terminal and the household electrical appliance establish connection by respective bluetooth communication, and
The household electrical appliance are controlled by Bluetooth function.
2. the control method of household electrical appliance as described in claim 1, which is characterized in that described to be referred to according to first inquiry
It enables, the network communication module of Xiang Suoshu household electrical appliance sends the second inquiry instruction, comprising:
Judge whether the household electrical appliance there are data to report in the second preset time;
It determines that no data report, then sends second inquiry instruction to the network communication module of the household electrical appliance.
3. the control method of household electrical appliance as claimed in claim 1 or 2, which is characterized in that further include:
If receiving the feedback information of the network communication module in first preset time, according to described mobile whole
The control instruction that end is sent controls the household electrical appliance.
4. the control method of household electrical appliance as claimed in claim 3, which is characterized in that described to be sent according to the mobile terminal
Control instruction the household electrical appliance are controlled, comprising:
Control instruction and control number are sent to the network communication module, so that the network communication module receives the control
Instruction and control number, and the control instruction is sent to the household electrical appliance, while the control being numbered and is synchronized
To the bluetooth communication, so that the bluetooth communication is by the control return information obtained from the household electrical appliance and institute
State control number binding.
5. the control method of household electrical appliance as claimed in claim 4, which is characterized in that sent to the network communication module
After control instruction and control number, further includes:
Judge the control return information that the household electrical appliance whether are received in third preset time;
Determine the control return information for not receiving the household electrical appliance in the third preset time, then to the mobile terminal
Send bluetooth inquiry instruction, wherein the bluetooth inquiry instruction includes that the control is numbered, so that the mobile terminal is according to institute
Bluetooth inquiry instruction starting Bluetooth function is stated, establishes connection with the bluetooth communication of the household electrical appliance, and according to the control
System number obtains the control return information with the control number binding saved in the bluetooth communication;
Receive the control return information of the mobile terminal feedback.
6. a kind of control device of household electrical appliance, which is characterized in that the household electrical appliance include that network communication module and bluetooth are logical
Believe that module, described device include:
Receiving module, for receiving the first inquiry instruction of mobile terminal;
Sending module is looked into for sending second according to the network communication module of first inquiry instruction, Xiang Suoshu household electrical appliance
Ask instruction;And
Sending module is also used to determine when not receiving the feedback information of the network communication module in the first preset time, to
The mobile terminal sends bluetooth enabled instruction, so that the mobile terminal and the household electrical appliance pass through respective Bluetooth communication
Module establishes connection, and is controlled by Bluetooth function the household electrical appliance.
7. the control device of household electrical appliance as claimed in claim 5, which is characterized in that the control device, further includes:
Judgment module, for judging whether the household electrical appliance have data to report in the second preset time;
The sending module is also used to determine that the household electrical appliance report in second preset time without data, then to
The network communication module of the household electrical appliance sends second inquiry instruction.
8. the control device of household electrical appliance as claimed in claims 6 or 7, which is characterized in that the control device, further includes:
Control module, for when receiving the feedback information of the network communication module in first preset time, root
The household electrical appliance are controlled according to the control instruction that the mobile terminal is sent.
9. the control device of household electrical appliance as claimed in claim 8, which is characterized in that the control module is specifically used for:
Control instruction and control number are sent to the network communication module, so that the network communication module receives the control
Instruction and control number, and the control instruction is sent to the household electrical appliance, while the control being numbered and is synchronized
To the bluetooth communication, so that the bluetooth communication is by the control return information obtained from the household electrical appliance and institute
State control number binding.
10. the control device of household electrical appliance as claimed in claim 9, which is characterized in that
Letter is replied in the judgment module, the control for being also used to judge whether to receive the household electrical appliance in third preset time
Breath;
The sending module is also used to determine that letter is replied in the control for not receiving the household electrical appliance in the third preset time
When breath, Xiang Suoshu mobile terminal sends bluetooth inquiry instruction, wherein and the bluetooth inquiry instruction includes that the control is numbered, with
So that the mobile terminal is instructed starting Bluetooth function according to the bluetooth inquiry, is built with the bluetooth communication of the household electrical appliance
Vertical connection, and the control with the control number binding saved in the bluetooth communication is obtained according to the control number
Return information;
The receiving module is also used to receive the control return information of the mobile terminal feedback.
11. a kind of computer equipment, which is characterized in that including processor and memory;
Wherein, the processor is run by reading the executable program code stored in the memory can be performed with described
The corresponding program of program code, with the control method for realizing household electrical appliance such as claimed in any one of claims 1 to 5.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The control method such as household electrical appliance as claimed in any one of claims 1 to 5 is realized when execution.
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 true CN110535733A (en) | 2019-12-03 |
CN110535733B 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) |
Cited By (3)
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 |
WO2022001218A1 (en) * | 2020-06-29 | 2022-01-06 | 广东美的制冷设备有限公司 | Control method, storage medium, household appliance, client, and control system |
Citations (8)
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 |
CN103957037A (en) * | 2014-04-09 | 2014-07-30 | 北京工业大学 | Method for automatic communication between PC side and Android mobile phone side based on Bluetooth |
CN104320162A (en) * | 2014-09-24 | 2015-01-28 | 惠州Tcl移动通信有限公司 | Contact synchronization method, smart mobile terminal and mobile terminal |
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 |
-
2019
- 2019-08-06 CN CN201910720370.5A patent/CN110535733B/en active Active
Patent Citations (8)
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 |
CN103957037A (en) * | 2014-04-09 | 2014-07-30 | 北京工业大学 | Method for automatic communication between PC side and Android mobile phone side based on Bluetooth |
CN104320162A (en) * | 2014-09-24 | 2015-01-28 | 惠州Tcl移动通信有限公司 | Contact synchronization method, smart mobile terminal and mobile terminal |
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 |
Cited By (4)
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 |
WO2022001218A1 (en) * | 2020-06-29 | 2022-01-06 | 广东美的制冷设备有限公司 | Control method, storage medium, household appliance, client, and control system |
CN113938340A (en) * | 2020-06-29 | 2022-01-14 | 广东美的制冷设备有限公司 | Control method, storage medium, household appliance, client and control system |
Also Published As
Publication number | Publication date |
---|---|
CN110535733B (en) | 2021-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105471686A (en) | Terminal control method, terminal control apparatus and system | |
CN110535733A (en) | Control method, device, computer equipment and the storage medium of household electrical appliance | |
US20170279930A1 (en) | Network device and information processing method | |
CN102594635B (en) | Based on the terminal access method of home gateway and system and home gateway | |
CN109254789A (en) | The automatically controlled firmware programming method of smart machine, system, smart machine and server | |
CN103281373A (en) | Home gateway intelligent upgrading device and upgrading method | |
CN105471678B (en) | The reason of household electrical appliance networking fails detection method, system and mobile terminal | |
CN104714504A (en) | Control method and control system on smart home and remote server | |
CN110365704B (en) | Equipment binding method and device and electronic equipment | |
CN101141422A (en) | Method and system to access family gateway and family gateway | |
CN105049340A (en) | Method and device for accessing intelligent equipment based on instant communication | |
CN108418732B (en) | Household appliance and control method thereof | |
CN105991680A (en) | Internet of things smart device software automatic upgrading method and system | |
CN104426969A (en) | Method, system, terminal and server for binding vehicle frame number and mobile communication identifier | |
CN109413653A (en) | Household electrical appliance match network method and distribution network systems | |
CN109981421A (en) | A kind of smart machine distribution method and apparatus | |
CN105357664A (en) | Wireless control system and data communication method thereof | |
CN104918298A (en) | Network connection control method and apparatus, and mobile terminal | |
CN113518125A (en) | Offline data uploading method and system, storage medium and electronic device | |
CN109361579A (en) | A kind of smart machine control method, system and storage medium | |
CN103841537A (en) | Control system and method using family gateway to deploy WLAN metropolitan area network | |
US20050265245A1 (en) | Method of transferring data in a local household network | |
CN112311633B (en) | Distribution network control method, distribution network control device, household appliance and storage medium | |
CN102364907A (en) | Broadband access processing method and broadband access system | |
CN106034058A (en) | Control method of household appliances and apparatus thereof |
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 |