CN112333062A - Control method and control device for household equipment and computer readable storage medium - Google Patents

Control method and control device for household equipment and computer readable storage medium Download PDF

Info

Publication number
CN112333062A
CN112333062A CN202011212942.8A CN202011212942A CN112333062A CN 112333062 A CN112333062 A CN 112333062A CN 202011212942 A CN202011212942 A CN 202011212942A CN 112333062 A CN112333062 A CN 112333062A
Authority
CN
China
Prior art keywords
equipment
hotspot
control
terminal
home
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.)
Pending
Application number
CN202011212942.8A
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011212942.8A priority Critical patent/CN112333062A/en
Publication of CN112333062A publication Critical patent/CN112333062A/en
Pending legal-status Critical Current

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/2807Exchanging configuration information on appliance services in a home automation network
    • 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
    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a control method, a control device and a computer readable storage medium of household equipment, wherein the control method of the household equipment comprises the following steps: when detecting that the household equipment connected with the control terminal is disconnected with the router, searching hotspot information of the terminal equipment in the local area network; adding the hot spot of the terminal equipment according to the searched hot spot information; and sending the connection information of the hotspot of the terminal equipment to the household equipment so that the household equipment can access the hotspot according to the connection information. The effect of the home equipment accessing the network is improved.

Description

Control method and control device for household equipment and computer readable storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a control method and a control apparatus for home devices, and a computer-readable storage medium.
Background
Along with the development of the internet of things technology, the application of the household equipment is gradually increased, the user can control the household equipment accessed to the wireless local area network through the wireless local area network without directly and manually operating the household equipment, and the efficiency of controlling the household equipment is improved.
Disclosure of Invention
The invention mainly aims to provide a control method, a control device and a computer readable storage medium for household equipment, and aims to solve the technical problem of poor network access effect of the household equipment.
In order to achieve the above object, the present invention provides a method for controlling home devices, where the method for controlling home devices is applied to a control terminal, and includes:
when detecting that the household equipment connected with the control terminal is disconnected with the router, searching hotspot information of the terminal equipment in the local area network;
adding the hot spot of the terminal equipment according to the searched hot spot information;
and sending the connection information of the hotspot of the terminal equipment to the household equipment so that the household equipment can access the hotspot according to the connection information.
Preferably, after the step of sending the connection information of the hotspot of the terminal device to the home device, the method further includes:
acquiring the use frequency of the control instruction associated with the household equipment;
determining the control instruction with the use frequency larger than the preset use frequency as a target control instruction;
and outputting prompt information of the target control instruction.
Preferably, after the step of outputting the prompt message of the target control instruction, the method for controlling the home equipment further includes:
and when a selection instruction of the prompt message is detected, sending the target control instruction corresponding to the selection instruction to the household equipment through the hotspot.
Preferably, when it is detected that the home device connected to the control terminal is disconnected from the router, the step of searching for the hotspot information of the terminal device in the local area network further includes:
acquiring a connected equipment list of the router;
and judging whether the household equipment is in the connected equipment list or not, wherein when the household equipment is not in the connected equipment list, the household equipment connected with the control terminal is determined to be detected to be disconnected from the router.
Preferably, when it is detected that the home device connected to the control terminal is disconnected from the router, the step of searching for the hotspot information of the terminal device in the local area network further includes:
acquiring the connection times of the household equipment to the router within a preset time interval;
and judging whether the connection times are greater than a preset time, wherein when the connection times are greater than a preset time threshold value, the fact that the household equipment connected with the control terminal is disconnected with the router is determined.
Preferably, after the step of sending the connection information of the hotspot of the terminal device to the home device, the method further includes:
acquiring a communication protocol of the household equipment;
the control instruction corresponding to the household equipment is packaged according to the communication protocol;
and sending the encapsulated control command to the household equipment through the hotspot.
Preferably, the step of joining the hotspot of the terminal device according to the searched hotspot information includes:
determining identification information of the hot spot according to the hot spot information;
and adding the hot spot according to the identification information.
Preferably, the step of sending the connection information of the hotspot of the terminal device to the home device includes:
establishing Bluetooth communication connection with the household equipment;
and sending the connection information of the hot spot to the household equipment through the Bluetooth communication connection.
In addition, in order to achieve the above object, the present invention further provides a control device, where the control device includes a memory, a processor, and a control program of the home equipment, the control program of the home equipment is stored in the memory and is executable on the processor, and the control program of the home equipment, when executed by the processor, implements the steps of the control method of the home equipment according to any one of the above aspects.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, where a control program of a home device is stored on the computer-readable storage medium, and the control program of the home device, when executed by a processor, implements the steps of the control method of the home device according to any one of the above aspects.
According to the control method, the control device and the computer-readable storage medium of the home equipment provided by the embodiment of the invention, when the problem solving device connected with the control terminal is detected to be disconnected with the router, hotspot information of the terminal equipment in the local area network is searched, a hotspot of the terminal equipment is added according to the searched hotspot information, and the connection information of the hotspot of the terminal equipment is sent to the home equipment, so that the home equipment is accessed to the hotspot according to the connection information, the connection state of the home equipment and the router can be detected, that is, the state of accessing the home equipment to the network can be detected, and under the condition of disconnection, the hotspot of the terminal equipment is added and the connection information of the hotspot is sent to the home equipment, at the moment, the home equipment can be added to the hotspot according to the connection information, so that the connection with the hotspot is realized, and the effect of accessing the home equipment to.
Drawings
Fig. 1 is a schematic structural diagram of a control terminal according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of a control method of household equipment according to the present invention;
fig. 3 is a schematic flow chart of a control method of household equipment according to a second embodiment of the present invention;
fig. 4 is a schematic flow chart of a control method of household equipment according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of a fourth embodiment of a control method of household equipment according to the present invention;
fig. 6 is a flowchart illustrating a fifth embodiment of a control method for home devices according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
As shown in fig. 1, fig. 1 is a schematic structural diagram of a control terminal according to an embodiment of the present invention.
The control terminal in the embodiment of the invention can be a PC, a smart phone, a tablet computer, a portable computer and other devices, and can also be a gateway, a wireless access Point (Access Point) and other network devices.
As shown in fig. 1, the control terminal may include: a processor 1001, such as a CPU, a communication interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The communication interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a communication module, a user interface module, and a control program of a home appliance.
In the control terminal shown in fig. 1, the communication interface 1004 is mainly used for connecting the home equipment and the terminal equipment, and performing data communication with the home equipment and the terminal equipment; and the processor 1001 may be configured to call the control program of the home device stored in the memory 1005, and perform the following operations:
when detecting that the household equipment connected with the control terminal is disconnected with the router, searching hotspot information of the terminal equipment in the local area network;
adding the hot spot of the terminal equipment according to the searched hot spot information;
and sending the connection information of the hotspot of the terminal equipment to the household equipment so that the household equipment can access the hotspot according to the connection information.
Further, the processor 1001 may call the control program of the home appliance stored in the memory 1005, and further perform the following operations:
acquiring the use frequency of the control instruction associated with the household equipment;
determining the control instruction with the use frequency larger than the preset use frequency as a target control instruction;
and outputting prompt information of the target control instruction.
Further, the processor 1001 may call the control program of the home appliance stored in the memory 1005, and further perform the following operations:
and when a selection instruction of the prompt message is detected, sending the target control instruction corresponding to the selection instruction to the household equipment through the hotspot.
Further, the processor 1001 may call the control program of the home appliance stored in the memory 1005, and further perform the following operations:
acquiring a connected equipment list of the router;
and judging whether the household equipment is in the connected equipment list or not, wherein when the household equipment is not in the connected equipment list, the household equipment connected with the control terminal is determined to be detected to be disconnected from the router.
Further, the processor 1001 may call the control program of the home appliance stored in the memory 1005, and further perform the following operations:
acquiring the connection times of the household equipment to the router within a preset time interval;
and judging whether the connection times are greater than a preset time, wherein when the connection times are greater than a preset time threshold value, the fact that the household equipment connected with the control terminal is disconnected with the router is determined.
Further, the processor 1001 may call the control program of the home appliance stored in the memory 1005, and further perform the following operations:
acquiring a communication protocol of the household equipment;
the control instruction corresponding to the household equipment is packaged according to the communication protocol;
and sending the encapsulated control command to the household equipment through the hotspot.
Further, the processor 1001 may call the control program of the home appliance stored in the memory 1005, and further perform the following operations:
determining identification information of the hot spot according to the hot spot information;
and adding the hot spot according to the identification information.
Further, the processor 1001 may call the control program of the home appliance stored in the memory 1005, and further perform the following operations:
establishing Bluetooth communication connection with the household equipment;
and sending the connection information of the hot spot to the household equipment through the Bluetooth communication connection.
Referring to fig. 2, a first embodiment of the present invention provides a method for controlling home devices, where the method for controlling home devices includes:
step S10, when detecting that the household equipment connected with the control terminal is disconnected with the router, searching hotspot information of the terminal equipment in the local area network;
in this embodiment, the execution main body is a control terminal, which may be a smart phone, a tablet computer, a notebook computer, or a gateway, the control terminal establishes a communication connection with the home equipment, and may establish a communication connection with the router, and may transmit a control instruction with the home equipment after establishing a communication connection with the home equipment, and may acquire a list of connected devices sent by the router after establishing a communication connection with the router, and perform network data transmission with the router; the control terminal detects whether the home equipment connected with the control terminal is disconnected with the router or not at regular time or in real time, when the disconnection is detected, the control terminal indicates that the home equipment cannot communicate with other equipment through the router, namely cannot communicate with other equipment through the local area network, at the moment, in order to enable the home equipment to be further accessed into the router so as to be accessed into the wireless local area network, the equipment in the same wireless local area network is enabled to communicate, the control terminal searches hotspot information of the terminal equipment in the local area network, and the searching method is to detect identification information of hotspots, such as Service Set Identifiers (SSIDs) of the hotspots.
Step S20, adding the hot spot of the terminal equipment according to the searched hot spot information;
after the hotspot information is searched, adding the hotspot of the terminal equipment according to the hotspot information, wherein the hotspot information can comprise an SSID (Service Identifier) and can also comprise a PSID (Provider Service Identifier), adding the corresponding hotspot according to the hotspot information, the hotspot (Hostpost) is an area which uses a router and provides a network through a wireless local area network, a control terminal in the area can search the hotspot, the control terminal can directly add the hotspot after searching the hotspot without encryption, the control terminal can firstly judge whether the encryption information corresponding to the hotspot is stored in a memory under the condition that the hotspot is encrypted, the control terminal can add the hotspot of the terminal equipment according to the encryption information and the hotspot information under the condition that the encryption information is not stored in the memory, and the control terminal can establish connection with the terminal equipment in a non-hotspot mode under the condition that the encryption information is not included in the memory, the control terminal can also send self authentication information to the terminal device before obtaining the encryption information, the authentication information is used for identifying the identity of the control terminal, the authentication information can be composed of at least one of characters, numerical values and symbols, the authentication information can also comprise images or audios, the terminal device authenticates the control terminal through the authentication information, the authentication mode can be that whether the authentication information exists in a preset authentication list or not is judged, when the authentication information exists in the authentication list, the authentication is successful, and under the condition that the authentication is successful, the terminal device sends the encryption information of the hot spot to the control terminal, and the control terminal receives the encryption information and adds the hot spot according to the encryption information and the hot spot information.
In addition, after a preset time interval, if the hotspot information is not searched yet, the control terminal may send a request for opening the hotspot to a nearby terminal device through a non-hotspot communication mode, where the communication mode may be bluetooth, and the control terminal opens the hotspot after receiving the request.
Step S30, sending the connection information of the hotspot of the terminal equipment to the household equipment, so that the household equipment can access the hotspot according to the connection information.
After the hotspot is added, the control terminal can send connection information of the hotspot to the household equipment, the connection information comprises identification information of the hotspot, such as an SSID (service set identifier), and the connection information can also comprise encryption information of the hotspot.
After the home equipment joins the hot spot, the control terminal can send a control instruction to the home equipment through the hot spot to control the operation of the home equipment or change the operation state of the home equipment; in addition, since the hotspot itself may be accessed to the network, for other devices not in the local area network where the control terminal is located, as long as the other devices can access to the network, the control command may be sent to the home device through the network.
In this embodiment, when it is detected that a solution device connected to the control terminal is disconnected from the router, hotspot information of the terminal device in the local area network is searched, a hotspot of the terminal device is added according to the searched hotspot information, and connection information of the hotspot of the terminal device is sent to the home device, so that the home device is accessed to the hotspot according to the connection information, and a connection state between the home device and the router can be detected, that is, a state that the home device is accessed to the network can be detected.
Referring to fig. 3, a second embodiment is proposed based on the first embodiment, and in the second embodiment, step S30 of the first embodiment is followed by:
step S40, obtaining the use frequency of the control instruction associated with the household equipment;
after the control terminal sends the connection information of the hot spot to the home equipment, a control instruction needs to be sent to the home equipment in order to control the home equipment, and for the same user, the habit of controlling the household equipment is stable, therefore, in order to improve the efficiency of controlling the household equipment and accord with the use habit of the user, the method can acquire the control instruction which is frequently used by the user and control the household equipment by sending the frequently used control instruction, the method for acquiring the frequently used control instruction is to acquire the use frequency of the control instruction associated with the household equipment, the commonly used control commands are determined according to the frequency of use, the frequency of use itself may be composed of at least one of characters, numerical values, symbols, the frequency of use may be the number of times a certain control command is used, for example, if the number of times of use of "power on" is "100 times", the frequency of use of the command is 100; the use frequency can be acquired from a memory of the control terminal or from the server, when the use frequency is acquired from the server, the control terminal can send a request to the server through the hotspot and receive the use frequency which is returned by the server according to the request and is related to the household equipment.
Step S50, determining the control instruction with the use frequency greater than the preset use frequency as a target control instruction;
after the control terminal obtains the use frequency, the control terminal takes the control instruction with the use frequency greater than the preset use frequency as the target control instruction, for example, the preset use frequency is 50 times/month, the use frequency of a certain control instruction is 60 times/month, and the use frequency is greater than the preset use frequency, wherein the preset use frequency is a parameter for indicating a common use control instruction, and the control instruction is indicated as the target control instruction when the use frequency is greater than the preset use frequency.
And step S60, outputting the prompt message of the target control command.
When the target control instruction is determined, in order to enable a user to learn the relevant condition of the target control instruction, the user can learn common control instructions, the user can conveniently learn the use habit of the user, prompt information of the target control instruction can be generated and output, the prompt information comprises the common control instruction, the corresponding use frequency, the use duration and the like, the prompt information can be composed of only texts or images and can also be composed of images and texts together, the prompt information can also comprise sound, in addition, the prompt information can be arranged in sequence according to the use frequency from large to small, for example, the prompt information corresponding to the target control instruction corresponding to the use frequency is displayed in sequence from top to bottom in a list according to the use frequency from large to small.
And step S70, when a selection instruction of the prompt message is detected, sending the target control instruction corresponding to the selection instruction to the household equipment through the hotspot.
After the control terminal outputs the prompt message, the control terminal can also detect a selection instruction of the user for the prompt message, and when the selection instruction is detected, a target control instruction corresponding to the selection instruction is sent to the household equipment through the hot spot. The selection instruction is a computer instruction, and the form of the selection instruction may be multiple, for example, the selection instruction may be a click instruction on a touch screen of the control terminal, the click instruction may be a click instruction of a button on a software layer, the selection instruction may also be a voice instruction, and the control terminal further analyzes the voice by detecting the voice of the user to obtain the voice instruction.
In this embodiment, by obtaining the use frequency of the control instruction associated with the home device, it is determined that the control instruction with the use frequency greater than the preset use frequency is the target control instruction, and the prompt information of the target control instruction is output, so that the use habit of the home device can be learned according to the prompt information, after the prompt information of the target control instruction is output, a selection instruction of the prompt information is also detected, the selection instruction is used for instructing a user to control the home device, and the home device is controlled by sending the selection instruction to the home device, so that the technical effect of controlling the home device according to the requirement of the user is achieved.
Referring to fig. 4, a third embodiment is proposed based on the first embodiment, and in the third embodiment, step S10 of the first embodiment further includes:
step S80, acquiring a connected device list of the router;
step S90, determining whether the home device is in the connected device list, wherein when the home device is not in the connected device list, it is determined that the home device connected to the control terminal is detected to be disconnected from the router.
In order to detect whether the home equipment connected with the control terminal is disconnected with the router or not, the control terminal can judge through a connected equipment list sent by the router, wherein the connected equipment list is a list of equipment which establishes communication connection with the router currently, the connected equipment list comprises an identification code of the equipment, and the identification code can be an equipment name or hardware information of the equipment, the hardware information comprises a physical address for example, and the connected equipment list can also comprise the time when the equipment is connected with the router; after the control terminal acquires the connected device list, judging whether the home equipment is in the connected device list, wherein the specific adopted method can be that whether the physical address of the home equipment is in the physical address of the connected device list or not is judged, and the fact that the home equipment connected with the terminal device is disconnected from the router is detected under the condition that the home equipment is not in the connected device list; in addition, the control terminal can also generate and output prompt information of connection failure in the state that the household equipment is disconnected from the router, so that the user can learn that the household equipment is disconnected from the router at present.
In this embodiment, whether the home device is in the connected device list is determined by obtaining the connected device list of the router, so that when the home device is not in the connected device list, it is determined that the home device is detected to be disconnected from the router, and thus, whether the home device is disconnected from the router is detected.
Referring to fig. 5, a fourth embodiment is proposed based on the first embodiment, and in the fourth embodiment, step S10 of the first embodiment is preceded by:
step S100, acquiring the connection times of the household equipment to the router within a preset time interval;
and step S110, judging whether the connection times are greater than a preset time, wherein when the connection times are greater than a preset time threshold value, the fact that the household equipment connected with the control terminal is disconnected with the router is determined.
When the control terminal detects whether the connection between the home equipment and the router is disconnected, there is a case that the connection between the home equipment and the router is unstable and appears as time-break and time-break connection, under this case, when the control terminal sends a control instruction to the home equipment, because the connection of the home equipment itself is unstable, there is a case of packet loss during data transmission, at this time, the control instruction may be lost, in order to avoid the problem of data loss when the connection is unstable and the control instruction is transmitted and other data is transmitted, the control terminal first needs to judge whether the connection between the home equipment and the router is unstable, for the judgment, the method provided in this embodiment is to obtain the connection times of the home equipment to the router within a preset time interval, and a skilled person in the art can understand that the connection times can also be replaced by the frequency of the home equipment to the router, when the connection times are larger than the preset times, the connection between the household equipment and the router is unstable, the fact that the household equipment is disconnected from the router is determined to be detected, a hot spot is searched and added, connection information of the hot spot is sent to the household equipment, and the household equipment receives a control instruction through the hot spot, so that the household equipment is controlled.
In this embodiment, whether the connection frequency is greater than the preset frequency is determined by obtaining the connection frequency of the home equipment to the router within the preset time interval, and when the connection frequency is greater than the preset frequency, it indicates that the connection between the home equipment and the router is unstable, and at this time, it is determined that the connection between the home equipment and the router is detected, and a subsequent step is further performed to add the home equipment to a hot spot, thereby avoiding a packet loss problem to a certain extent when the home equipment adopts an unstable communication connection to perform data exchange with a control terminal.
Referring to fig. 6, a fifth embodiment is proposed based on the first embodiment, and in the fifth embodiment, after step S30 of the first embodiment, the method further includes:
step S120, acquiring a communication protocol of the household equipment;
the communication protocol can be a wireless communication protocol specifically, the wireless communication protocol includes an 802.11 protocol, a ZigBee protocol, and the like, wherein the 802.11 protocol includes 802.11a, 802.11b, and the like, the ZigBee protocol is also called a ZigBee protocol, and is a low-speed short-distance wireless network protocol, each home device has a corresponding communication protocol for realizing communication with other devices, the home device adopting the 802.11 protocol can communicate with a remote device, and the home device adopting the ZigBee protocol has a characteristic of low power consumption, and can perform low-speed short-distance communication.
The method for acquiring the communication protocol of the home equipment may be to acquire a correspondence between the communication protocol pre-stored in the memory and the home equipment, determine the communication protocol adopted by the home equipment according to the correspondence, or send a request to the server, receive the communication protocol of the home equipment returned by the server according to the request, or send the request to the home equipment directly by the control terminal to acquire the communication protocol.
Step S130, packaging the control instruction corresponding to the household equipment according to the communication protocol;
after the communication protocol is acquired, the control instruction is encapsulated according to the communication protocol, and the encapsulation process is determined according to the communication protocol, for example, the communication protocol is an 802.11 protocol, so that three frames, namely a data frame, a control frame and a management frame, are mainly required to be encapsulated in the data transmission process, and the control command is encapsulated according to the three frames.
And step S140, sending the encapsulated control command to the household equipment through the hotspot.
After the encapsulation is completed, the encapsulated control instruction is sent to the household equipment through the hotspot, under the condition that the communication protocol is 802.11, all control equipment accessing the hotspot can send the control instruction to the household equipment, and under the condition that terminal equipment providing the hotspot can access a mobile operator, the hotspot can provide service accessing the internet.
In this embodiment, the communication protocol of the home equipment is acquired, the control instruction of the home equipment is encapsulated according to the communication protocol, and the encapsulated control instruction is sent to the home equipment through the hotspot, so that the corresponding control instruction can be sent according to the communication protocol of the home equipment, the technical effect of controlling the home equipment with different communication protocols is achieved, and the compatibility of controlling smart homes with different communication protocols is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention essentially or contributing to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a control terminal (which may be a mobile phone, a computer, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A control method of household equipment is characterized in that the control method of the household equipment is applied to a control terminal and comprises the following steps:
when detecting that the household equipment connected with the control terminal is disconnected with the router, searching hotspot information of the terminal equipment in the local area network;
adding the hot spot of the terminal equipment according to the searched hot spot information;
and sending the connection information of the hotspot of the terminal equipment to the household equipment so that the household equipment can access the hotspot according to the connection information.
2. The method for controlling home equipment according to claim 1, wherein after the step of sending the connection information of the hotspot of the terminal equipment to the home equipment, the method further comprises:
acquiring the use frequency of the control instruction associated with the household equipment;
determining the control instruction with the use frequency larger than the preset use frequency as a target control instruction;
and outputting prompt information of the target control instruction.
3. The method for controlling home devices according to claim 2, wherein after the step of outputting the prompt message of the target control instruction, the method for controlling home devices further comprises:
and when a selection instruction of the prompt message is detected, sending the target control instruction corresponding to the selection instruction to the household equipment through the hotspot.
4. The method according to claim 1, wherein the step of searching for the hotspot information of the terminal device in the local area network when detecting that the home device connected to the control terminal is disconnected from the router further comprises:
acquiring a connected equipment list of the router;
and judging whether the household equipment is in the connected equipment list or not, wherein when the household equipment is not in the connected equipment list, the household equipment connected with the control terminal is determined to be detected to be disconnected from the router.
5. The method according to claim 1, wherein the step of searching for the hotspot information of the terminal device in the local area network when detecting that the home device connected to the control terminal is disconnected from the router further comprises:
acquiring the connection times of the household equipment to the router within a preset time interval;
and judging whether the connection times are greater than a preset time, wherein when the connection times are greater than a preset time threshold value, the fact that the household equipment connected with the control terminal is disconnected with the router is determined.
6. The method for controlling home equipment according to claim 1, wherein after the step of sending the connection information of the hotspot of the terminal equipment to the home equipment, the method further comprises:
acquiring a communication protocol of the household equipment;
the control instruction corresponding to the household equipment is packaged according to the communication protocol;
and sending the encapsulated control command to the household equipment through the hotspot.
7. The method for controlling home equipment according to claim 1, wherein the step of adding the hotspot of the terminal equipment according to the searched hotspot information comprises:
determining identification information of the hot spot according to the hot spot information;
and adding the hot spot according to the identification information.
8. The method for controlling the home equipment according to any one of claims 1 to 7, wherein the step of sending the connection information of the hotspot of the terminal equipment to the home equipment comprises:
establishing Bluetooth communication connection with the household equipment;
and sending the connection information of the hot spot to the household equipment through the Bluetooth communication connection.
9. A control apparatus, characterized in that the control apparatus comprises a memory, a processor and a control program of a household device stored on the memory and operable on the processor, and the control program of the household device realizes the steps of the control method of the household device according to any one of claims 1 to 8 when executed by the processor.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a control program of home equipment, which when executed by a processor implements the steps of the control method of home equipment according to any one of claims 1 to 8.
CN202011212942.8A 2020-11-03 2020-11-03 Control method and control device for household equipment and computer readable storage medium Pending CN112333062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011212942.8A CN112333062A (en) 2020-11-03 2020-11-03 Control method and control device for household equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011212942.8A CN112333062A (en) 2020-11-03 2020-11-03 Control method and control device for household equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112333062A true CN112333062A (en) 2021-02-05

Family

ID=74323251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011212942.8A Pending CN112333062A (en) 2020-11-03 2020-11-03 Control method and control device for household equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112333062A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037717A (en) * 2021-02-07 2021-06-25 深圳创维-Rgb电子有限公司 Network access method of intelligent device, terminal and readable storage medium
CN116684942A (en) * 2022-09-09 2023-09-01 荣耀终端有限公司 Network access method, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301917A (en) * 2014-09-15 2015-01-21 浙江生辉照明有限公司 Network anomaly self-healing method and system based on illumination devices
CN104507158A (en) * 2014-12-30 2015-04-08 北京奇虎科技有限公司 Wireless local area network connection building method, device and mobile terminal
CN107221059A (en) * 2017-06-02 2017-09-29 广东汇泰龙科技有限公司 A kind of intelligent cloud lock LAN method for unlocking, system, equipment
US20180124669A1 (en) * 2015-03-24 2018-05-03 Huawei Technologies Co., Ltd. Method for Automatic Switching Between Access Points, and Wireless Routing Device
CN108306763A (en) * 2018-01-05 2018-07-20 广东美的暖通设备有限公司 Household appliance and its network connection processing method, computer readable storage medium
CN109819426A (en) * 2019-01-31 2019-05-28 广东美的制冷设备有限公司 Household appliance matches network method, household appliance, mobile terminal and storage medium
CN110636486A (en) * 2019-09-25 2019-12-31 珠海格力电器股份有限公司 Method for establishing communication connection after equipment is offline and intelligent home system
CN110798389A (en) * 2019-11-08 2020-02-14 美的集团股份有限公司 Network distribution method and system of intelligent household equipment, electronic equipment and storage medium
CN110831112A (en) * 2019-11-07 2020-02-21 深圳市欧瑞博科技有限公司 Network connection method, intelligent household equipment, intelligent gateway and electronic equipment
CN111465015A (en) * 2020-03-06 2020-07-28 珠海格力电器股份有限公司 Method, system, device, equipment and storage medium for intelligent household equipment network distribution
CN111491297A (en) * 2019-01-25 2020-08-04 华为技术有限公司 Method and device for controlling intelligent household equipment to be connected with network
CN111629423A (en) * 2020-06-03 2020-09-04 美的集团武汉制冷设备有限公司 Network distribution method and terminal of household appliance, storage medium and household appliance

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301917A (en) * 2014-09-15 2015-01-21 浙江生辉照明有限公司 Network anomaly self-healing method and system based on illumination devices
CN104507158A (en) * 2014-12-30 2015-04-08 北京奇虎科技有限公司 Wireless local area network connection building method, device and mobile terminal
US20180124669A1 (en) * 2015-03-24 2018-05-03 Huawei Technologies Co., Ltd. Method for Automatic Switching Between Access Points, and Wireless Routing Device
CN107221059A (en) * 2017-06-02 2017-09-29 广东汇泰龙科技有限公司 A kind of intelligent cloud lock LAN method for unlocking, system, equipment
CN108306763A (en) * 2018-01-05 2018-07-20 广东美的暖通设备有限公司 Household appliance and its network connection processing method, computer readable storage medium
CN111491297A (en) * 2019-01-25 2020-08-04 华为技术有限公司 Method and device for controlling intelligent household equipment to be connected with network
CN109819426A (en) * 2019-01-31 2019-05-28 广东美的制冷设备有限公司 Household appliance matches network method, household appliance, mobile terminal and storage medium
CN110636486A (en) * 2019-09-25 2019-12-31 珠海格力电器股份有限公司 Method for establishing communication connection after equipment is offline and intelligent home system
CN110831112A (en) * 2019-11-07 2020-02-21 深圳市欧瑞博科技有限公司 Network connection method, intelligent household equipment, intelligent gateway and electronic equipment
CN110798389A (en) * 2019-11-08 2020-02-14 美的集团股份有限公司 Network distribution method and system of intelligent household equipment, electronic equipment and storage medium
CN111465015A (en) * 2020-03-06 2020-07-28 珠海格力电器股份有限公司 Method, system, device, equipment and storage medium for intelligent household equipment network distribution
CN111629423A (en) * 2020-06-03 2020-09-04 美的集团武汉制冷设备有限公司 Network distribution method and terminal of household appliance, storage medium and household appliance

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037717A (en) * 2021-02-07 2021-06-25 深圳创维-Rgb电子有限公司 Network access method of intelligent device, terminal and readable storage medium
CN116684942A (en) * 2022-09-09 2023-09-01 荣耀终端有限公司 Network access method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11310239B2 (en) Network connection method, hotspot terminal and management terminal
US11888644B2 (en) Network configuration method for home appliance, home appliance, mobile terminal, and storage medium
EP3484196B1 (en) Method and apparatus for registering wireless device in wireless communication system
CN113132185B (en) Equipment distribution network binding method, system, mobile terminal and storage medium
US8738687B2 (en) Communication system having management apparatus and user apparatus, management apparatus, user apparatus, and method of controlling the same
CN111866998A (en) Bluetooth network distribution method, equipment and storage medium
US9984226B2 (en) Screen sharing server, method of sharing screen, and program for screen sharing server
US20130336161A1 (en) Terminal and method for p2p connection in wifi network
US20170202035A1 (en) Wireless communication terminal, wireless communication system, and storage medium storing wireless communication program
US11452156B2 (en) Configuration system, client device, embedded device configuration method, and storage medium
US20140177615A1 (en) Method for scanning a wireless fidelity (wi-fi) direct device and terminal device for the same
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
CN107318119B (en) Household appliance networking method, household appliance and computer readable storage medium
KR20120025114A (en) Apparatus and method for determining validity of wifi connection in wireless communication system
WO2020168561A1 (en) Device network distribution method and apparatus, electronic device, and storage medium
CN111147314A (en) Switch upgrading method, device and storage medium
KR101853398B1 (en) Method and system for registering server connection of IoT device using smartphone application
EP3979071B1 (en) Method, user equipment, and application server for downloading application
CN113552808A (en) Network distribution method for electronic home equipment, electronic home equipment and mobile terminal
CN103345828A (en) Method and system for controlling computer through intelligent terminal
CN113595839B (en) Device binding method, terminal device and storage medium
CN110601986A (en) Router supporting peripheral control over mobile terminal equipment, control method and device
US10470101B2 (en) Wireless communication system and wireless communication device
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
US20170127472A1 (en) Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205