CN112130461A - Smart home control method and device, storage medium and electronic device - Google Patents

Smart home control method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112130461A
CN112130461A CN202011016530.7A CN202011016530A CN112130461A CN 112130461 A CN112130461 A CN 112130461A CN 202011016530 A CN202011016530 A CN 202011016530A CN 112130461 A CN112130461 A CN 112130461A
Authority
CN
China
Prior art keywords
smart home
home
intelligent
server
distribution network
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
CN202011016530.7A
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011016530.7A priority Critical patent/CN112130461A/en
Publication of CN112130461A publication Critical patent/CN112130461A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Architecture (AREA)
  • Quality & Reliability (AREA)
  • Manufacturing & Machinery (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a control method and device for smart home, a storage medium and an electronic device. Wherein, the method comprises the following steps: acquiring distribution network settings of the smart home by adopting Bluetooth communication; establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting; and realizing the control of the intelligent home by utilizing the binding relationship. The intelligent home control method and the intelligent home control system solve the technical problem that the control mode of the intelligent home is single in the related technology.

Description

Smart home control method and device, storage medium and electronic device
Technical Field
The application relates to the field of smart home, in particular to a control method and device of smart home, a storage medium and an electronic device.
Background
At present, devices on the market are accessed to the network based on WIFI, and remote control of the devices is achieved. The distribution network mode is based on the WIFI of the 2.4G frequency band, and the network access and intelligent control of the intelligent equipment can be realized.
And if the WIFI of 2.4G frequency band does not exist, the network access and intelligent control of the intelligent equipment cannot be realized, and therefore, the network access and intelligent control mode of the intelligent equipment is single at present.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a control method and device for smart home, a storage medium and an electronic device, and aims to at least solve the technical problem that the control mode of smart home is single in the related art.
According to an aspect of an embodiment of the present application, a method for controlling smart home is provided, including: acquiring distribution network settings of the smart home by adopting Bluetooth communication; establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting; and realizing the control of the intelligent home by utilizing the binding relationship.
Optionally, adopt bluetooth communication to acquire the net setting of joining in marriage of intelligent house includes: establishing Bluetooth communication between the intelligent terminal and the intelligent home; and acquiring the distribution network setting through the Bluetooth communication.
Optionally, the establishing the bluetooth communication between the smart terminal and the smart home includes: searching the smart home through BLE broadcasting of the smart home; and establishing a GATT link with the smart home.
Optionally, obtaining the distribution network setting through the bluetooth communication includes: sending a request packet to the smart home through a GATT link; receiving private key information returned by the smart home; sending encrypted domain name information to the smart home by using the private key information, wherein the domain name information is domain name information of the server; and after the intelligent home completes communication with the server according to the domain name information, receiving the equipment state and the equipment information returned by the intelligent home, wherein the distribution network setting comprises the equipment state and the equipment information.
Optionally, in the process of obtaining the distribution network setting of the smart home by using bluetooth communication, the method further includes transmitting information in the following manner: converting target information to be transmitted into hexadecimal data by using an SO (SO) library; and transmitting the hexadecimal data to the intelligent home, wherein the intelligent home converts the hexadecimal data into the target information through an SO (SO) library.
Optionally, the implementing of the control of the smart home by using the binding relationship includes: and sending a control instruction to the server, and sending the control instruction to the intelligent home by the server.
Optionally, a 4G communication module is disposed on the smart home, where sending a control instruction to the server, and sending the control instruction to the smart home by the server includes: and sending the control instruction to the server, and sending the control instruction to the 4G communication module of the smart home by the server.
According to another aspect of the embodiments of the present application, there is also provided a control device for smart home, including: the system comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring the distribution network setting of the smart home by adopting Bluetooth communication; the establishing unit is used for establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting; and the control unit is used for realizing the control of the intelligent home by utilizing the binding relationship.
Optionally, the obtaining unit is further configured to: establishing Bluetooth communication between the intelligent terminal and the intelligent home; and acquiring the distribution network setting through the Bluetooth communication.
Optionally, the obtaining unit is further configured to: searching the smart home through BLE broadcasting of the smart home; and establishing a GATT link with the smart home.
Optionally, the obtaining unit is further configured to: sending a request packet to the smart home through a GATT link; receiving private key information returned by the smart home; sending encrypted domain name information to the smart home by using the private key information, wherein the domain name information is domain name information of the server; and after the intelligent home completes communication with the server according to the domain name information, receiving the equipment state and the equipment information returned by the intelligent home, wherein the distribution network setting comprises the equipment state and the equipment information.
Optionally, the obtaining unit is further configured to: converting target information to be transmitted into hexadecimal data by using an SO (SO) library; and transmitting the hexadecimal data to the intelligent home, wherein the intelligent home converts the hexadecimal data into the target information through an SO (SO) library.
Optionally, the control unit is further configured to: and sending a control instruction to the server, and sending the control instruction to the intelligent home by the server.
Optionally, a 4G communication module is arranged on the smart home, and the control unit is further configured to: and sending the control instruction to the server, and sending the control instruction to the 4G communication module of the smart home by the server.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program which, when executed, performs the above-described method.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above method through the computer program.
In the embodiment of the application, the distribution network setting of the smart home is obtained by adopting Bluetooth communication; establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting; and realizing the control of the intelligent home by utilizing the binding relationship. This scheme can realize the intelligent control of equipment based on mobile communication such as bluetooth and 4G, also can controlgear under the WIFI's of no 2.4G frequency channel the condition, can solve the single technical problem of control mode of intelligent house among the correlation technique.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of an alternative smart home control method according to an embodiment of the present application;
fig. 2 is a flowchart of an alternative smart home control method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an alternative control device for smart home according to an embodiment of the present application;
and
fig. 4 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
If the WIFI of the 2.4G frequency band does not exist in the current environment, intelligent control of the equipment cannot be realized, and the scheme can realize intelligent control of the equipment based on BLE Bluetooth under the condition of no WIFI; the bluetooth can realize process control, can also add 4G's communication mode in the module, realizes joining in marriage net, upload information of equipment and give the server with BLE bluetooth, then just can adopt 4G, realizes the remote control of equipment through the socket communication with the server. According to an aspect of an embodiment of the application, a method embodiment of a control method of smart home is provided. Fig. 1 is a flowchart of an optional smart home control method according to an embodiment of the present application, and as shown in fig. 1, the method may include the following steps:
and step S1, obtaining the distribution network setting of the smart home by adopting Bluetooth communication.
Optionally, adopt bluetooth communication to acquire the net setting of joining in marriage of intelligent house includes: establishing Bluetooth communication between the intelligent terminal and the intelligent home; and acquiring the distribution network setting through the Bluetooth communication.
Optionally, the establishing the bluetooth communication between the smart terminal and the smart home includes: searching the smart home through BLE broadcasting of the smart home; and establishing a GATT link with the smart home.
Optionally, obtaining the distribution network setting through the bluetooth communication includes: sending a request packet to the smart home through a GATT link; receiving private key information returned by the smart home; sending encrypted domain name information to the smart home by using the private key information, wherein the domain name information is domain name information of the server; and after the intelligent home completes communication with the server according to the domain name information, receiving the equipment state and the equipment information returned by the intelligent home, wherein the distribution network setting comprises the equipment state and the equipment information.
Optionally, in the process of obtaining the distribution network setting of the smart home by using bluetooth communication, the method further includes transmitting information in the following manner: converting target information to be transmitted into hexadecimal data by using an SO (SO) library; and transmitting the hexadecimal data to the intelligent home, wherein the intelligent home converts the hexadecimal data into the target information through an SO (SO) library.
And step S2, establishing the binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting.
And S3, controlling the smart home by using the binding relationship.
Optionally, the implementing of the control of the smart home by using the binding relationship includes: and sending a control instruction to the server, and sending the control instruction to the intelligent home by the server.
Optionally, a 4G communication module is disposed on the smart home, where sending a control instruction to the server, and sending the control instruction to the smart home by the server includes: and sending the control instruction to the server, and sending the control instruction to the 4G communication module of the smart home by the server.
Through the steps, the distribution network setting of the smart home is obtained through Bluetooth communication; establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting; and realizing the control of the intelligent home by utilizing the binding relationship. This scheme can realize the intelligent control of equipment based on mobile communication such as bluetooth and 4G, also can controlgear under the WIFI's of no 2.4G frequency channel the condition, can solve the single technical problem of control mode of intelligent house among the correlation technique.
As an alternative example, the technical solution of the present application is further described below with reference to specific embodiments.
Firstly, a device supporting bluetooth, such as a mobile phone, is needed, and the mobile phones in the current market basically support bluetooth. The equipment is provided with a Bluetooth module and supports above BLE 4.0. In order to guarantee the distribution network experience of the user in the associated APP, the Bluetooth names of the devices are suggested to have uniform prefixes, and the guide page prompts the user to find which devices with uniform prefixes go to the distribution network. The method comprises the steps of selecting a Bluetooth distribution network mode, detecting whether Bluetooth connection exists or not by the APP in an equipment access console, and finding a corresponding Bluetooth name so that a user has good experience when the user is in a distribution network for equipment.
As shown in fig. 2, the process of the network distribution can adopt an AES encryption method to ensure security:
in step S21, the smart device module broadcasts BLE so that the App can search for devices. The APP establishes a Gatt link with the device module.
In step S22, in order to prevent the problem that any bluetooth can communicate with the device module after establishing a link, the established link may be used to send a data request packet to the device, which is generally in a defined format and encrypted by a public key.
Step S23, when the module receives the request packet, it replies a private key to the APP.
And step S24, after the APP is encrypted by a private key, the APP sends the domain name of the server scheduling server where the APP is located to the module.
In step S25, the device module connects to the server.
At step S26, the server returns a status connection to the module.
In step S27, the module returns the current status of the device and the device information, including data such as mid and mac to the APP.
And step S28, after receiving the equipment information, the APP uploads the binding relationship to the server, thereby realizing the distribution network process.
Intelligent control:
the process can be controlled by Bluetooth, the Bluetooth speed is high, certainly, the Bluetooth data receiving and transmitting are limited by bytes, and the problem can be solved by adopting the following mode under the condition that the intelligent device has more fields, wherein json can be converted into 16-system data by the so library, and vice versa: the APP converts the json field into 16-system data bytes through a so library; the module converts the 16-system data bytes into json data through the so library.
The remote can control the equipment through 4G. The 4G module is needed on the whole machine, in the process of distribution network, the master control forwards the secret key and MAC of the equipment to the 4G module, so that the communication between the 4G module and the equipment can be realized, and then the equipment can be controlled through the server.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
According to another aspect of the embodiment of the application, a control device of the smart home for implementing the control method of the smart home is also provided. Fig. 3 is a schematic diagram of an alternative control device for smart home according to an embodiment of the present application, and as shown in fig. 3, the device may include:
the acquisition unit 31 is configured to acquire distribution network settings of the smart home by using bluetooth communication;
the establishing unit 33 is used for establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting;
and the control unit 35 is configured to implement control over the smart home by using the binding relationship.
It should be noted that the obtaining unit 31 in this embodiment may be configured to execute step S1 in this embodiment, the establishing unit 33 in this embodiment may be configured to execute step S2 in this embodiment, and the controlling unit 35 in this embodiment may be configured to execute step S3 in this embodiment.
Acquiring the distribution network setting of the smart home by adopting Bluetooth communication through the modules; establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting; and realizing the control of the intelligent home by utilizing the binding relationship. This scheme can realize the intelligent control of equipment based on mobile communication such as bluetooth and 4G, also can controlgear under the WIFI's of no 2.4G frequency channel the condition, can solve the single technical problem of control mode of intelligent house among the correlation technique.
Optionally, the obtaining unit is further configured to: establishing Bluetooth communication between the intelligent terminal and the intelligent home; and acquiring the distribution network setting through the Bluetooth communication.
Optionally, the obtaining unit is further configured to: searching the smart home through BLE broadcasting of the smart home; and establishing a GATT link with the smart home.
Optionally, the obtaining unit is further configured to: sending a request packet to the smart home through a GATT link; receiving private key information returned by the smart home; sending encrypted domain name information to the smart home by using the private key information, wherein the domain name information is domain name information of the server; and after the intelligent home completes communication with the server according to the domain name information, receiving the equipment state and the equipment information returned by the intelligent home, wherein the distribution network setting comprises the equipment state and the equipment information.
Optionally, the obtaining unit is further configured to: converting target information to be transmitted into hexadecimal data by using an SO (SO) library; and transmitting the hexadecimal data to the intelligent home, wherein the intelligent home converts the hexadecimal data into the target information through an SO (SO) library.
Optionally, the control unit is further configured to: and sending a control instruction to the server, and sending the control instruction to the intelligent home by the server.
Optionally, a 4G communication module is arranged on the smart home, and the control unit is further configured to: and sending the control instruction to the server, and sending the control instruction to the 4G communication module of the smart home by the server.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules as a part of the apparatus may run in a corresponding hardware environment, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to another aspect of the embodiment of the application, a server or a terminal for implementing the control method of the smart home is also provided.
Fig. 4 is a block diagram of a terminal according to an embodiment of the present application, and as shown in fig. 4, the terminal may include: one or more processors 201 (only one shown), memory 203, and transmission means 205, as shown in fig. 4, the terminal may further comprise an input-output device 207.
The memory 203 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for controlling a smart home in the embodiment of the present application, and the processor 201 executes various functional applications and data processing by running the software programs and modules stored in the memory 203, that is, implements the method for controlling a smart home. The memory 203 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 203 may further include memory located remotely from the processor 201, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 205 is used for receiving or sending data via a network, and can also be used for data transmission between a processor and a memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 205 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 205 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Wherein the memory 203 is specifically used for storing application programs.
The processor 201 may call the application stored in the memory 203 via the transmission means 205 to perform the following steps:
acquiring distribution network settings of the smart home by adopting Bluetooth communication;
establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting;
and realizing the control of the intelligent home by utilizing the binding relationship.
The processor 201 is further configured to perform the following steps:
sending a request packet to the smart home through a GATT link;
receiving private key information returned by the smart home;
sending encrypted domain name information to the smart home by using the private key information, wherein the domain name information is domain name information of the server;
and after the intelligent home completes communication with the server according to the domain name information, receiving the equipment state and the equipment information returned by the intelligent home, wherein the distribution network setting comprises the equipment state and the equipment information.
By adopting the embodiment of the application, the distribution network setting of the smart home is obtained by adopting Bluetooth communication; establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting; and realizing the control of the intelligent home by utilizing the binding relationship. This scheme can realize the intelligent control of equipment based on mobile communication such as bluetooth and 4G, also can controlgear under the WIFI's of no 2.4G frequency channel the condition, can solve the single technical problem of control mode of intelligent house among the correlation technique.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 4 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 4 is a diagram illustrating the structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 4, or have a different configuration than shown in FIG. 4.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present application also provide a storage medium. Optionally, in this embodiment, the storage medium may be configured to execute a program code of a control method of a smart home.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
acquiring distribution network settings of the smart home by adopting Bluetooth communication;
establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting;
and realizing the control of the intelligent home by utilizing the binding relationship.
Optionally, the storage medium is further arranged to store program code for performing the steps of:
sending a request packet to the smart home through a GATT link;
receiving private key information returned by the smart home;
sending encrypted domain name information to the smart home by using the private key information, wherein the domain name information is domain name information of the server;
and after the intelligent home completes communication with the server according to the domain name information, receiving the equipment state and the equipment information returned by the intelligent home, wherein the distribution network setting comprises the equipment state and the equipment information.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A control method of smart home is characterized by comprising the following steps:
acquiring distribution network settings of the smart home by adopting Bluetooth communication;
establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting;
and realizing the control of the intelligent home by utilizing the binding relationship.
2. The method according to claim 1, wherein obtaining the distribution network settings of the smart home by using bluetooth communication comprises:
establishing Bluetooth communication between the intelligent terminal and the intelligent home;
and acquiring the distribution network setting through the Bluetooth communication.
3. The method of claim 2, wherein establishing the bluetooth communication between the smart terminal and the smart home comprises:
searching the smart home through BLE broadcasting of the smart home;
and establishing a GATT link with the smart home.
4. The method of claim 2, wherein obtaining the distribution network settings via the bluetooth communication comprises:
sending a request packet to the smart home through a GATT link;
receiving private key information returned by the smart home;
sending encrypted domain name information to the smart home by using the private key information, wherein the domain name information is domain name information of the server;
and after the intelligent home completes communication with the server according to the domain name information, receiving the equipment state and the equipment information returned by the intelligent home, wherein the distribution network setting comprises the equipment state and the equipment information.
5. The method according to claim 1, wherein in the process of obtaining the distribution network setting of the smart home by using bluetooth communication, the method further comprises transmitting information in the following manner:
converting target information to be transmitted into hexadecimal data by using an SO (SO) library;
and transmitting the hexadecimal data to the intelligent home, wherein the intelligent home converts the hexadecimal data into the target information through an SO (SO) library.
6. The method according to claim 1, wherein the utilizing the binding relationship to achieve control of the smart home comprises:
and sending a control instruction to the server, and sending the control instruction to the intelligent home by the server.
7. The method according to claim 6, wherein a 4G communication module is arranged on the smart home, and sending the control instruction to the server, and sending the control instruction to the smart home by the server comprises:
and sending the control instruction to the server, and sending the control instruction to the 4G communication module of the smart home by the server.
8. The utility model provides a controlling means of intelligence house which characterized in that includes:
the system comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring the distribution network setting of the smart home by adopting Bluetooth communication;
the establishing unit is used for establishing a binding relationship between the intelligent terminal and the intelligent home on the server according to the distribution network setting;
and the control unit is used for realizing the control of the intelligent home by utilizing the binding relationship.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 7 by means of the computer program.
CN202011016530.7A 2020-09-24 2020-09-24 Smart home control method and device, storage medium and electronic device Pending CN112130461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011016530.7A CN112130461A (en) 2020-09-24 2020-09-24 Smart home control method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011016530.7A CN112130461A (en) 2020-09-24 2020-09-24 Smart home control method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112130461A true CN112130461A (en) 2020-12-25

Family

ID=73839619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011016530.7A Pending CN112130461A (en) 2020-09-24 2020-09-24 Smart home control method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112130461A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485151A (en) * 2021-08-16 2021-10-08 四川虹美智能科技有限公司 Intelligent household equipment control system and method and intelligent household equipment
CN113485765A (en) * 2021-07-07 2021-10-08 上海顺舟智能科技股份有限公司 Control strategy configuration method, device, equipment and medium for intelligent equipment of Internet of things
CN113596792A (en) * 2021-07-07 2021-11-02 青岛海尔科技有限公司 Binding method and device of electronic equipment, storage medium and electronic device
CN113596783A (en) * 2021-07-07 2021-11-02 青岛海尔科技有限公司 Internet of things equipment binding method and device, storage medium and electronic device
CN113746821A (en) * 2021-08-24 2021-12-03 深圳Tcl新技术有限公司 Intelligent device control method and device, storage medium and electronic device
CN115378752A (en) * 2022-07-22 2022-11-22 杭州博联智能科技股份有限公司 Intelligent equipment control method, system, device and medium based on Bluetooth communication
WO2023138285A1 (en) * 2022-01-20 2023-07-27 青岛海信智慧生活科技股份有限公司 Binding method for smart home device and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120117616A1 (en) * 2004-10-29 2012-05-10 Research In Motion Limited Wireless/wired mobile communication device with option to automatically block wireless communication when connected for wired communication
CN110189454A (en) * 2019-06-20 2019-08-30 广东科徕尼智能科技有限公司 A kind of manipulation unit promoting smart lock safety in utilization
CN110636483A (en) * 2019-09-16 2019-12-31 珠海格力电器股份有限公司 Network distribution method and system
CN111049797A (en) * 2019-10-30 2020-04-21 珠海格力电器股份有限公司 Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium
CN111478816A (en) * 2020-04-15 2020-07-31 公牛集团股份有限公司 Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120117616A1 (en) * 2004-10-29 2012-05-10 Research In Motion Limited Wireless/wired mobile communication device with option to automatically block wireless communication when connected for wired communication
CN110189454A (en) * 2019-06-20 2019-08-30 广东科徕尼智能科技有限公司 A kind of manipulation unit promoting smart lock safety in utilization
CN110636483A (en) * 2019-09-16 2019-12-31 珠海格力电器股份有限公司 Network distribution method and system
CN111049797A (en) * 2019-10-30 2020-04-21 珠海格力电器股份有限公司 Network distribution method for intelligent household equipment, data transmission method, equipment and storage medium
CN111478816A (en) * 2020-04-15 2020-07-31 公牛集团股份有限公司 Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485765A (en) * 2021-07-07 2021-10-08 上海顺舟智能科技股份有限公司 Control strategy configuration method, device, equipment and medium for intelligent equipment of Internet of things
CN113596792A (en) * 2021-07-07 2021-11-02 青岛海尔科技有限公司 Binding method and device of electronic equipment, storage medium and electronic device
CN113596783A (en) * 2021-07-07 2021-11-02 青岛海尔科技有限公司 Internet of things equipment binding method and device, storage medium and electronic device
CN113485765B (en) * 2021-07-07 2023-09-22 上海顺舟智能科技股份有限公司 Control strategy configuration method, device, equipment and medium of intelligent equipment of Internet of things
CN113596792B (en) * 2021-07-07 2024-04-19 青岛海尔科技有限公司 Binding method and device of electronic equipment, storage medium and electronic device
CN113485151A (en) * 2021-08-16 2021-10-08 四川虹美智能科技有限公司 Intelligent household equipment control system and method and intelligent household equipment
CN113746821A (en) * 2021-08-24 2021-12-03 深圳Tcl新技术有限公司 Intelligent device control method and device, storage medium and electronic device
CN113746821B (en) * 2021-08-24 2023-06-27 深圳Tcl新技术有限公司 Intelligent device control method and device, storage medium and electronic device
WO2023138285A1 (en) * 2022-01-20 2023-07-27 青岛海信智慧生活科技股份有限公司 Binding method for smart home device and terminal
CN115378752A (en) * 2022-07-22 2022-11-22 杭州博联智能科技股份有限公司 Intelligent equipment control method, system, device and medium based on Bluetooth communication

Similar Documents

Publication Publication Date Title
CN112130461A (en) Smart home control method and device, storage medium and electronic device
EP3446502B1 (en) Method, servers and system for downloading an updated profile
CN102802059B (en) The method of configuration machine top box, Apparatus and system
CN104380773B (en) Virtual card method for down loading, terminal and intermediate equipment
CN112737902B (en) Network configuration method and device, storage medium and electronic equipment
CN105246126A (en) Intelligent equipment access method, device and system
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
CN113423105B (en) Network connection method and device
CN109495433A (en) Data download method and device, storage medium and electronic device
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN105450546A (en) Wearable device and local area network access method thereof, and intelligent terminal
CN111787514B (en) Method and device for acquiring equipment control data, storage medium and electronic device
CN102984691A (en) Method and terminal and server and system and device of synchronous wireless network parameters
CN113301563B (en) Network configuration method, device, equipment and storage medium
CN113596783A (en) Internet of things equipment binding method and device, storage medium and electronic device
CN107465724B (en) Method for downloading application program, user equipment and application server
CN103428697A (en) Network access method, device and system based on CAPWAP protocol
CN112466053B (en) Control system of household appliance and execution method and device of target operation
CN104836827A (en) Data processing method based on asymmetric P2P network, and system
CN113395741B (en) Network distribution system, method and device of equipment, electronic equipment and storage medium
JP2017539132A (en) Terminal, server, and user identification system and method
JP7270845B2 (en) Mobile service access method, device, system, storage medium, electronic device
CN114205178A (en) Equipment linkage method and device, storage medium and electronic equipment
CN112671556A (en) Router configuration method and device, storage medium and electronic device
CN110418430B (en) Application sending and receiving method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201225

RJ01 Rejection of invention patent application after publication