CN115567333A - Device control method, device, storage medium, and electronic apparatus - Google Patents

Device control method, device, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN115567333A
CN115567333A CN202110749240.1A CN202110749240A CN115567333A CN 115567333 A CN115567333 A CN 115567333A CN 202110749240 A CN202110749240 A CN 202110749240A CN 115567333 A CN115567333 A CN 115567333A
Authority
CN
China
Prior art keywords
target
information
target device
control
binding information
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
CN202110749240.1A
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110749240.1A priority Critical patent/CN115567333A/en
Publication of CN115567333A publication Critical patent/CN115567333A/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
    • 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)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a device control method, a device, a storage medium and an electronic device. The method is applied to target application and comprises the following steps: acquiring binding information, wherein the binding information is used for representing an association relationship between a target application and a target device; determining a target device based on the binding information; and sending first control information to the target device based on the near field communication, wherein the first control information is used for controlling the target device. By adopting the technical scheme, the technical problem of low efficiency of controlling the equipment under the condition of no network is solved.

Description

Equipment control method, device, storage medium and electronic device
Technical Field
The present invention relates to the field of control, and in particular, to a method and an apparatus for controlling a device, a storage medium, and an electronic apparatus.
Background
At present, some intelligent household appliances can be remotely controlled through devices such as mobile phones after being connected with the internet of things of a family. However, when the broadband is not installed and the router is not installed, the intelligent household electrical appliance can be normally used only by opening the mobile phone hotspot to remotely control the intelligent household electrical appliance after networking.
If the hotspot is disconnected, the control of the intelligent household appliance device is abnormal, and the hotspot of the mobile phone is usually unstable, which easily causes the failure of the remote control of the device, so that the technical problem of low efficiency of controlling the device in the absence of a network exists.
Aiming at the technical problem of low efficiency of controlling equipment under the condition of no network in the related art, no effective solution is provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling equipment, a storage medium and an electronic device, which are used for at least solving the technical problem of low efficiency of controlling the equipment under the condition of no network.
According to an embodiment of the present invention, there is provided a control method of an apparatus. The method is applied to target application and comprises the following steps: acquiring binding information, wherein the binding information is used for representing an association relation between a target application and a target device; determining a target device based on the binding information; and sending first control information to the target device based on the near field communication, wherein the first control information is used for controlling the target device.
In one exemplary embodiment, obtaining binding information includes: acquiring first identification information sent by target equipment based on near field communication, wherein the first identification information is used for identifying the target equipment; and binding the target equipment and the target application based on the first identification information and the second identification information of the target application to obtain binding information.
In one exemplary embodiment, before acquiring the first identification information transmitted by the target device based on near field communication, the method further includes: detecting target equipment entering a configuration mode, wherein the configuration mode is a mode allowing the target equipment to be configured so as to control the target equipment; the method for acquiring the first identification information sent by the target device based on the near field communication comprises the following steps: first identification information sent by a target device entering a configuration mode is acquired based on near field communication.
In one exemplary embodiment, transmitting first control information to a target device based on near field communication includes: in case it is detected that the target device exits the configuration mode, first control information is sent to the target device based on near field communication.
In one exemplary embodiment, after obtaining the binding information, the method further comprises at least one of sending the binding information to the target device based on near field communication, wherein the binding information is used for enabling the target device to receive the first control information; and sending the binding information to a server through a mobile cellular network, wherein the binding information is stored by the server and is sent to the target application and the target equipment by the server through the wireless network under the condition that the target application and the target equipment are connected with the wireless network.
According to an embodiment of the present invention, there is also provided another apparatus control method. The method can be applied to a target device, and comprises the following steps: acquiring first control information based on near field communication, wherein the first control information is sent by a target application based on binding information, and the binding information is used for representing an incidence relation between the target application and a target device; and responding the first control information to control the target equipment.
According to another embodiment of the invention, a control device of the equipment is also provided. The device can be applied to target application, and comprises: the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring binding information, and the binding information is used for representing the incidence relation between a target application and a target device; a determination unit configured to determine a target device based on the binding information; the apparatus includes a transmitting unit configured to transmit first control information to a target device based on near field communication, where the first control information is used to control the target device.
According to another embodiment of the invention, a control device of the equipment is also provided. The device can be applied to target equipment and comprises: a second obtaining unit, configured to obtain first control information based on near field communication, where the first control information is sent by the target application based on binding information, and the binding information is used to indicate an association relationship between the target application and the target device; and the control unit is used for responding to the first control information and controlling the target equipment.
According to still another embodiment of the present invention, there is also provided a computer-readable storage medium. The computer-readable storage medium includes a stored program, wherein the program, when executed by a processor, performs a method of controlling an apparatus of an embodiment of the present invention.
According to still another embodiment of the invention, an electronic device is also provided. The electronic device may comprise a memory in which a computer program is stored and a processor arranged to execute the method of controlling the apparatus of an embodiment of the invention by means of the computer program.
By means of the invention, a method for controlling a device is introduced. The method can be applied to target applications, and comprises the following steps: acquiring binding information, wherein the binding information is used for representing an association relationship between a target application and a target device; determining a target device based on the binding information; and sending first control information to the target device based on the near field communication, wherein the first control information is used for controlling the target device. That is to say, under the scene that no broadband is installed and no router is installed, the target application can determine the target device capable of receiving the control information sent by the target application by using the binding information, and then the target application sends the control information to the target device by using the near field communication, so that the target device is stably controlled, the device is prevented from being controlled by opening a mobile phone hotspot, the device is easy to be abnormal and control fails, the technical problem of low efficiency of controlling the device under the condition of no network is solved, and the technical effect of improving the efficiency of controlling the device under the condition of no network is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a hardware configuration block diagram of a control method of an apparatus according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of controlling a device according to an embodiment of the invention;
FIG. 3 is a flow chart of another method of controlling a device according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for route-free binding of an intelligent home device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a control device of an apparatus according to an embodiment of the invention;
fig. 6 is a schematic diagram of a control device of another apparatus according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention 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 invention described herein are capable of operation in other sequences 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.
The method embodiments provided in the embodiments of the present application may be executed in a computer terminal or a similar computing device. Taking the operation on a computer terminal as an example, fig. 1 is a hardware structure block diagram of a device control method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more processors 102 (only one is shown in fig. 1), wherein the processors 102 may include, but are not limited to, a Microprocessor (MPU) or a Programmable Logic Device (PLD), and a memory 104 for storing data, and in an exemplary embodiment, the computer terminal may further include a transmission device 106 for communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 can be used for storing computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the signal interferometry method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the above-mentioned method. The memory 104 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 104 may further include memory located remotely from the processor 102, which may be connected to a computer 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 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for controlling a device is provided, and is applied to the computer terminal.
The following describes a control method of the device according to the embodiment of the present invention from the target application side.
Fig. 2 is a flowchart of a control method of an apparatus according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
step S202, binding information is obtained, wherein the binding information is used for representing the incidence relation between the target application and the target device.
In the technical solution provided in step S202 of the present invention, the target Application may be an Application (APP for short) installed on the mobile terminal and controlling the target device, for example, the target Application is an APP for smart, which can log in through a target account, and the target account may be an account used by the user. The target device may be a smart home device, which may also be referred to as a smart home.
In this embodiment, the target application acquires the binding information, where the binding information may be pre-established by the target application, or the binding information may be acquired by the target application from another device, for example, the binding information is acquired from a server, and the binding information is used to indicate an association relationship between the target application and the target device, where the association relationship may be a relationship that allows communication between the target application and the target device.
Alternatively, the Mobile terminal may be an electronic 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, and the like.
Step S204, the target device is determined based on the binding information.
In the technical solution provided by step S204 of the present invention, after the target application acquires the binding information, the target application may determine the target device based on the binding information.
In this embodiment, since the binding information is used to indicate an association relationship between the target application and the target device, the target application may determine, in the binding information, the target device with which communication is allowed.
Step S206, first control information is sent to the target device based on the near field communication, wherein the first control information is used for controlling the target device.
In the technical solution provided by step S206 of the present invention, after the target application determines the target device based on the binding information, the first control information may be sent to the target device based on near field communication, so as to implement control on the target device through the first control information.
In this embodiment, under the condition that the target device is not yet networked, that is, under a scenario where the broadband is not installed and the router is not installed, the target application may send the first control information to the target device, and after receiving the first control information, the target device responds to the first control information to further control the target device, where the control may be remote control, so that the target application may stably control the target device by using near field communication under the condition that the broadband is not installed and the router is not installed, and user experience is improved.
Through the steps S202 to S206, binding information is obtained, where the binding information is used to indicate an association relationship between a target application and a target device; determining a target device based on the binding information; and sending first control information to the target device based on the near field communication, wherein the first control information is used for controlling the target device. That is to say, under the scene that no broadband is installed and no router is installed, the target application can determine the target device capable of receiving the control information sent by the target application by using the binding information, and then the target application sends the control information to the target device by using the near field communication, so that the target device is stably controlled, the control of the device by opening a mobile phone hotspot is avoided, the device is easy to be abnormal and control fails, the technical problem of low efficiency of controlling the device under the condition of no network is solved, and the technical effect of improving the efficiency of controlling the device under the condition of no network is achieved.
The above-described method of this embodiment is further described below.
As an optional implementation manner, in step S202, acquiring the binding information includes: acquiring first identification information sent by target equipment based on near field communication, wherein the first identification information is used for identifying the target equipment; and binding the target equipment and the target application based on the first identification information and the second identification information of the target application to obtain binding information.
In this embodiment, the target application may pre-establish the binding information before implementing the target application to control the target device. Optionally, the first identification information of the target device is used for uniquely identifying the target device, and the second identification information of the target application is used for uniquely identifying the target application. Under the scene that the broadband is not installed and the router is not installed, the target application and the target device can support near field communication, so that the target application can acquire the first identification information sent by the target device based on the near field communication. The target application may bind the first identification information and the second identification information, thereby obtaining binding information. Optionally, the target application of this embodiment may store the binding information.
It should be noted that the above method of this embodiment is a function without routing and binding first, and may be integrated in the smart chip of the target device, that is, the embodiment may add the function without routing and binding first to the smart chip of the target device.
As an optional implementation manner, before acquiring the first identification information sent by the target device based on near field communication in step S206, the method further includes: detecting target equipment entering a configuration mode, wherein the configuration mode is a mode allowing the target equipment to be configured so as to control the target equipment; the method for acquiring the first identification information sent by the target device based on the near field communication comprises the following steps: first identification information sent by a target device entering a configuration mode is acquired based on near field communication.
In this embodiment, the target application may detect a target device that has entered the configuration mode before acquiring the first identification information transmitted by the target device based on near field communication. Optionally, the target device may receive a configuration operation instruction, for example, the configuration operation instruction may be an operation instruction triggered by a user through a key. The target device responds to the configuration operation instruction, enters a configuration mode, and in the configuration mode, the target application can configure the target device so as to control the target device.
Optionally, after the target device enters the configuration mode, the mobile terminal logs in the target application through the target account, the target application may detect the target device that has entered the configuration mode, at this time, the target application may send a request to the target device through near field communication, where the request may be used to request to establish binding information with the target device, and then the target device responds to the request, communicates with the target application through near field communication, sends the first identification information to the target application, and the target application receives the first identification information based on near field communication, and then establishes the binding information through the first identification information and the second identification information.
As an optional implementation manner, step S206, sending the first control information to the target device based on the near field communication, includes: in case it is detected that the target device exits the configuration mode, first control information is sent to the target device based on near field communication.
In this embodiment, when the sending of the first control information to the target device based on the near field communication is implemented, it may be detected whether the target device should exit the configuration mode, and if it is detected that the target device has exited the configuration mode, the first control information may be sent to the target device based on the near field communication.
Optionally, after the target application and the target device successfully establish the binding information, the target device needs to exit the configuration mode, and at this time, the target application may send the first control information to the target device based on the near field communication. That is, the control of the target device by the target application of this embodiment requires that the target device first exit the configuration mode.
As an optional implementation manner, after acquiring the binding information at step S202, the method further includes at least one of the following: sending binding information to a target device based on near field communication, wherein the binding information is used for enabling the target device to receive first control information; and sending the binding information to a server through a mobile cellular network, wherein the binding information is stored by the server, and is sent to the target application and the target equipment by the server through the wireless network under the condition that the target application and the target equipment are connected with the wireless network.
In this embodiment, after the binding information is established by the target application, the binding information may be sent to the target device based on near field communication, so that the target device may determine that it may receive the control information sent by the target application based on the binding information. Optionally, after the target application sends the first control information to the target device, the target device may receive and respond to the first control information based on the binding information, so as to implement a control function corresponding to the first control information. Optionally, after receiving the binding information, the target device may also store the binding information, so that in the subsequent scenario where the broadband is installed and the router is installed, the target application and the target device do not need to be bound again, that is, the binding information between the target application and the target device in this embodiment may only need to be established once. The target application may send control information directly to the target device based on the binding information, based on which the target device receives and responds to the control information.
Optionally, the target application and the target device of this embodiment may not store the binding information, and the target application may send the binding information to the server through the mobile cellular network without installing the broadband and without installing the router, where the mobile cellular network may be a fourth Generation mobile communication network (the 4Generation mobile communication technology, abbreviated as 4G), and the binding information is sent to the server by the target application through the mobile cellular network, so that the binding information may be recorded by the server in a scenario without installing the broadband and without the router. Optionally, in a scenario where the broadband is installed and the router is provided, the target application and the target device may request the server to acquire the binding information, and the target device and the target application do not need to be bound again, that is, the binding information between the target application and the target device in this embodiment may only need to be established once. The target application can directly send the control information to the target device based on the binding information, and the target device receives and responds to the control information based on the binding information, so that the target application can stably control the target device.
As an optional implementation, the near field communication is bluetooth communication.
In this embodiment, the near field communication has a distance limitation, and the near field communication in this embodiment may be bluetooth communication, that is, in this embodiment, before the target device is in a scenario where the router is installed in the broadband, the target application may control the target device through the near field communication.
The following describes a control method of the device of the embodiment of the present invention from the target device side.
Fig. 3 is a flowchart of a control method of another apparatus according to an embodiment of the present invention. As shown in fig. 3, the method may include the steps of:
step S302, first control information is obtained based on near field communication, wherein the first control information is sent by the target application based on binding information, and the binding information is used for representing an association relationship between the target application and the target device.
In the technical solution provided by step S302 of the present invention, in a scenario that the target device is not installed with a broadband and a router, the target device receives, based on near field communication, first control information sent by the target application through the binding information.
In this embodiment, the binding information may be that the target application establishes the binding information in advance, or that the target application obtains the binding information from another device, for example, the binding information is obtained from a server, and the binding information is used to indicate an association relationship between the target application and the target device, where the association relationship may be a relationship that the target application and the target device are allowed to communicate with each other.
And step S304, responding to the first control information, and controlling the target equipment.
In the technical solution provided by step S304 of the present invention, after the target device acquires the first control information based on the near field communication, the target device is controlled in response to the first control information.
The target device in this embodiment may obtain the binding information, may obtain the binding information sent by the target application, and may also obtain the binding information issued by the server. After the target device obtains the first control information based on the near field communication, it can be determined that the first control information can control the target device based on the binding information, and then the target device is controlled in response to the first control information, so that the target device can be stably controlled by the target application by using the near field communication under the conditions that no broadband is installed and no router is provided, and further user experience is improved.
Optionally, the first control information of this embodiment may carry second identification information of the target application, and the target device may determine, through the binding information and the second identification information carried by the first control information, that the first control information is valid, that is, allow the first control information to control the target device.
In the related art, under the condition that no broadband is installed and no router is installed at the beginning, service personnel can start a mobile phone hotspot, and the equipment can be normally used after the equipment is distributed with a network through the mobile phone hotspot. However, when the service person leaves, an abnormality occurs in the equipment, and the equipment cannot be controlled. Moreover, the mobile phone hot spot is unstable, which easily causes the failure of the control of the device, thereby having the technical problem of low efficiency of controlling the device.
However, in the embodiment of the present application, in a scenario where a broadband is not installed and a router is not installed, a target application may determine a target device capable of receiving control information sent by the target application by using binding information, and then the target application sends the control information to the target device by using near field communication, thereby implementing stable control on the target device, avoiding controlling the device by relying on opening a mobile phone hotspot, and making the device easily abnormal and control failure, thereby solving the technical problem of low efficiency of controlling the device in a case of no network, and achieving the technical effect of improving the efficiency of controlling the device in a case of no network.
In order to better understand the process of the control method of the device, the following describes a flow of the control method of the device with reference to an optional embodiment, specifically, a target device is an intelligent household appliance, a target application is an intelligent household APP, and near field communication is bluetooth for example, but is not limited to the technical solution of the embodiment of the present invention.
In the related art, the control of the intelligent home devices is performed after the intelligent home devices are connected to the router. Then, for a newly decorated house, the home appliance may take the lead, and the home appliance may be an intelligent home appliance. Under the condition that the house is not provided with the broadband and the router, service personnel can start the mobile phone hot spot, and after the mobile phone hot spot is connected with the intelligent household appliance distribution network, the intelligent household appliance can be normally used.
However, after the service staff leaves, the intelligent household appliance cannot be normally controlled due to the disconnection of the mobile phone hot spot. And the mobile phone hot spot is unstable and easy to fail, thereby causing the technical problem of low efficiency of controlling the equipment.
To the above technical problem, the intelligent chip of the intelligent household electrical appliance of this embodiment has increased the function of binding without route first, can make intelligent household electrical appliance and target account number (intelligent APP) that the user used directly establish binding information through the bluetooth, then intelligent APP alright with control intelligent household electrical appliance through bluetooth control channel. After the router is arranged, the intelligent household electrical appliance equipment can be distributed through the router, and the binding information is utilized to normally control the intelligent household electrical appliance equipment, so that the intelligent household electrical appliance equipment is stably and remotely controlled.
The above-described method of this embodiment is further described below.
In the embodiment, the intelligent household appliance is provided with an intelligent chip, and the intelligent chip can bind the intelligent household appliance and the intelligent household APP by means of Bluetooth under the condition that the intelligent household appliance is not connected to the network to obtain binding information; the intelligent chip can enable the smart home APP to directly control the smart home appliance through Bluetooth after the smart home appliance and the smart home APP are successfully bound; after the router is arranged around the intelligent chip, the intelligent household appliance can be directly configured through the router, the intelligent household APP is directly controlled through the WIFI, the intelligent household appliance and the intelligent household APP do not need to be bound again, and binding information is obtained.
Fig. 4 is a flowchart of a method for route-free binding of an intelligent home device according to an embodiment of the present invention. As shown in fig. 4, the method may include the steps of:
step S401, the smart home device enters a configuration mode.
The embodiment can enable the intelligent household appliance to enter the configuration mode through the key.
And step S402, the mobile phone logs in the smart home APP.
The mobile phone can log in the smart APP through the target account number used by the user.
Step S403, the smart home APP detects the smart home device.
The smart APP may detect a smart home device that has entered a configuration mode.
And S404, successfully binding the smart home APP with the smart home appliance.
In this embodiment, the intelligent household appliance communicates with the smart APP through the bluetooth, so that the intelligent household appliance and the smart APP successfully establish a binding relationship, thereby obtaining binding information. The mobile terminal provided with the intelligent home APP can send the binding information to the server through the 4G network, so that the server records the binding information between the intelligent home APP and the intelligent household appliance.
In step S405, the smart home device exits the configuration mode.
And S406, the smart home APP controls the smart home appliance through the Bluetooth.
After detecting that the intelligent household appliance exits the configuration mode, the intelligent household APP controls the intelligent household appliance through the Bluetooth channel, the router is configured to the intelligent household appliance, and after the router is connected with a network, the intelligent household APP can directly control the intelligent household appliance through a Wireless-Fidelity (WIFI) channel without binding the intelligent household APP and the intelligent household appliance again.
This embodiment is when intelligent household electrical appliances do not have the network, and intelligent household electrical appliances and intelligent household APP communicate through the bluetooth, bind, and intelligence household APP will bind information transmission and take notes in the server through the bluetooth afterwards, and after intelligent household electrical appliances connected network, intelligence household APP can directly pass through WIFI passageway control intelligent household electrical appliances. By the method, the household appliance can be stably controlled by the user without the router, the user experience is improved, the technical problem of low control efficiency of the intelligent household appliance is solved, and the technical effect of improving the control efficiency of the intelligent household appliance is achieved.
It is to be understood that the above-described embodiments are only a few, but not all, embodiments of the present invention. In order to better understand the control method of the above device, the following describes the above process with reference to an embodiment, but the present invention is not limited to the technical solution of the embodiment, and specifically:
through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may 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 invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method of the embodiments of the present invention.
In this embodiment, a signal interference measurement apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are not repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware or a combination of software and hardware are also possible and contemplated.
The embodiment of the invention also provides a device control device which is applied to target application. It should be noted that the control device of the apparatus in this embodiment may be used to execute the control method of the apparatus shown in fig. 2 in the embodiment of the present invention, but is not limited to the technical solution in the embodiment of the present invention.
Fig. 5 is a schematic diagram of a control device of an apparatus according to an embodiment of the invention. As shown in fig. 5, the control device 50 of the apparatus includes: a first acquisition unit 51, a determination unit 52 and a transmission unit 53.
A first obtaining unit 51, configured to obtain binding information, where the binding information is used to indicate an association relationship between a target application and a target device.
A determining unit 52 for determining the target device based on the binding information.
A sending unit 53, configured to send first control information to the target device based on the near field communication, where the first control information is used to control the target device
Optionally, the first obtaining unit 51 includes: the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring first identification information sent by target equipment based on near field communication, and the first identification information is used for identifying the target equipment; and the binding module is used for binding the target equipment and the target application based on the first identification information and the second identification information of the target application to obtain binding information.
Optionally, the apparatus further comprises: the detection unit is used for detecting the target equipment entering a configuration mode before first identification information sent by the target equipment is obtained based on near field communication, wherein the configuration mode is a mode allowing the target equipment to be configured so as to control the target equipment; the acquisition module includes: the acquisition sub-module is used for acquiring first identification information sent by the target equipment entering the configuration mode based on near field communication.
Optionally, the sending unit 53 includes: the sending module is used for sending first control information to the target device based on near field communication under the condition that the target device is detected to exit the configuration mode.
Optionally, the apparatus further comprises: a first sending unit, configured to send, after obtaining binding information, the binding information to a target device based on near field communication, where the binding information is used to enable the target device to receive first control information; and the second sending unit is used for sending the binding information to the server through the mobile cellular network, wherein the binding information is stored by the server and is issued to the target application and the target equipment through the wireless network by the server under the condition that the target application and the target equipment are connected with the wireless network.
The embodiment of the invention also provides another device control device which is applied to target devices. It should be noted that the control device of the apparatus in this embodiment may be used to execute the control method of the apparatus shown in fig. 3 in the embodiment of the present invention, but is not limited to the technical solution in the embodiment of the present invention.
Fig. 6 is a schematic diagram of a control device of another apparatus according to an embodiment of the present invention. As shown in fig. 6, the control device 60 of the apparatus includes: a second acquisition unit 61 and a control unit 62.
A second obtaining unit 61, configured to obtain first control information based on near field communication, where the first control information is sent by the target application based on binding information, and the binding information is used to indicate an association relationship between the target application and the target device.
A control unit 62 for controlling the target device in response to the first control information.
In the control apparatus of the device in this embodiment, in a scenario where a broadband is not installed and a router is not installed, the target application may determine the target device that can receive the control information sent by the target application first by using the binding information, and then the target application sends the control information to the target device by using near field communication, thereby implementing stable control on the target device, avoiding controlling the device by opening a mobile phone hotspot, and making the device easily have an abnormality and a control failure, thereby solving a technical problem of low efficiency of controlling the device in a case where there is no network, and achieving a technical effect of improving efficiency of controlling the device in a case where there is no network.
Embodiments of the present invention also provide a computer readable storage medium comprising a stored program, wherein the program when executed by a processor performs the steps of any of the method embodiments described above.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring binding information, wherein the binding information is used for representing an association relation between a target application and target equipment;
s2, determining target equipment based on the binding information;
and S3, sending first control information to the target equipment based on the near field communication, wherein the first control information is used for controlling the target equipment.
Optionally, in this embodiment, the above-mentioned computer-readable storage medium may be further configured to store a computer program for executing the following steps:
s1, acquiring first control information based on near field communication, wherein the first control information is sent by a target application based on binding information, and the binding information is used for representing an incidence relation between the target application and a target device;
and S2, responding to the first control information, and controlling the target equipment.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring binding information, wherein the binding information is used for representing an association relation between a target application and target equipment;
s2, determining target equipment based on the binding information;
and S3, sending first control information to the target equipment based on the near field communication, wherein the first control information is used for controlling the target equipment.
Optionally, in this embodiment, the processor may be further configured to execute, by the computer program, the following steps:
s1, acquiring binding information, wherein the binding information is used for representing an association relation between a target application and target equipment;
s2, determining target equipment based on the binding information;
and S3, sending first control information to the target equipment based on the near field communication, wherein the first control information is used for controlling the target equipment.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A control method of a device, applied to a target application, includes:
acquiring binding information, wherein the binding information is used for representing an incidence relation between the target application and target equipment;
determining the target device based on the binding information;
and sending first control information to the target device based on near field communication, wherein the first control information is used for controlling the target device.
2. The method of claim 1, wherein obtaining the binding information comprises:
acquiring first identification information sent by the target equipment based on the near field communication, wherein the first identification information is used for identifying the target equipment;
and binding the target device and the target application based on the first identification information and the second identification information of the target application to obtain the binding information.
3. The method of claim 2,
before acquiring the first identification information sent by the target device based on the near field communication, the method further includes: detecting the target equipment entering a configuration mode, wherein the configuration mode is a mode allowing the target equipment to be configured so as to control the target equipment;
acquiring first identification information sent by the target device based on the near field communication, wherein the acquiring comprises the following steps: acquiring the first identification information sent by the target device entering the configuration mode based on the near field communication.
4. The method of claim 3, wherein sending first control information to the target device based on near field communication comprises:
sending the first control information to the target device based on the near field communication if it is detected that the target device exits the configuration mode.
5. The method of claim 1, wherein after obtaining the binding information, the method further comprises at least one of:
transmitting the binding information to the target device based on the near field communication, wherein the binding information is used for enabling the target device to receive the first control information;
and sending the binding information to a server through a mobile cellular network, wherein the binding information is stored by the server, and is sent to the target application and the target equipment by the server through the wireless network under the condition that the target application and the target equipment are connected with the wireless network.
6. A control method of a device, applied to a target device, includes:
acquiring first control information based on near field communication, wherein the first control information is sent by a target application based on binding information, and the binding information is used for representing an incidence relation between the target application and the target device;
and responding to the first control information to control the target equipment.
7. A control apparatus for a device, applied to a target application, comprising:
a first obtaining unit, configured to obtain binding information, where the binding information is used to indicate an association relationship between the target application and a target device;
a determining unit configured to determine the target device based on the binding information;
a sending unit, configured to send first control information to the target device based on near field communication, where the first control information is used to control the target device.
8. A control apparatus of a device, applied to a target device, comprising:
a second obtaining unit, configured to obtain first control information based on near field communication, where the first control information is sent by a target application based on binding information, and the binding information is used to indicate an association relationship between the target application and the target device;
and the control unit is used for responding to the first control information and controlling the target equipment.
9. A computer-readable storage medium, comprising a stored program, wherein the program, when executed by a processor, performs the method of any of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202110749240.1A 2021-07-01 2021-07-01 Device control method, device, storage medium, and electronic apparatus Pending CN115567333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110749240.1A CN115567333A (en) 2021-07-01 2021-07-01 Device control method, device, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110749240.1A CN115567333A (en) 2021-07-01 2021-07-01 Device control method, device, storage medium, and electronic apparatus

Publications (1)

Publication Number Publication Date
CN115567333A true CN115567333A (en) 2023-01-03

Family

ID=84737372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110749240.1A Pending CN115567333A (en) 2021-07-01 2021-07-01 Device control method, device, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN115567333A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472148A (en) * 2015-11-23 2016-04-06 珠海格力电器股份有限公司 Method and device for binding home equipment by terminal
CN110426964A (en) * 2019-08-13 2019-11-08 合肥美的电冰箱有限公司 Domestic electric appliances controller, smart machine, household electrical appliances, appliance control system and method
CN110430558A (en) * 2019-06-26 2019-11-08 深圳绿米联创科技有限公司 Apparatus control method, device, electronic equipment and storage medium
CN110703622A (en) * 2019-11-05 2020-01-17 四川虹美智能科技有限公司 Control device, method and system of intelligent household appliance
CN112737899A (en) * 2020-11-30 2021-04-30 青岛海尔科技有限公司 Intelligent device management method and device, storage medium and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472148A (en) * 2015-11-23 2016-04-06 珠海格力电器股份有限公司 Method and device for binding home equipment by terminal
CN110430558A (en) * 2019-06-26 2019-11-08 深圳绿米联创科技有限公司 Apparatus control method, device, electronic equipment and storage medium
CN110426964A (en) * 2019-08-13 2019-11-08 合肥美的电冰箱有限公司 Domestic electric appliances controller, smart machine, household electrical appliances, appliance control system and method
CN110703622A (en) * 2019-11-05 2020-01-17 四川虹美智能科技有限公司 Control device, method and system of intelligent household appliance
CN112737899A (en) * 2020-11-30 2021-04-30 青岛海尔科技有限公司 Intelligent device management method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN105072012A (en) Quick network access method of intelligent device
CN108781473B (en) Method and equipment for sharing files among different terminals
CN111542081B (en) Communication switching method and device and Internet of things communication module
CN107005443A (en) Relaying residential gateway between terminal installation and server
CN110365704B (en) Equipment binding method and device and electronic equipment
CN114339789B (en) AP distribution network processing method and device
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN111314185B (en) Ad hoc network method, ad hoc network response method, controlled equipment and gateway
CN108770008A (en) Configuration method, device and the storage medium that household appliance networks
CN111741509A (en) Network distribution method and device, storage medium and processor
CN110752954A (en) Networking fault detection method and related device for household electrical appliance
CN113596089B (en) Distribution network binding method and device of equipment, storage medium and electronic device
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
CN111954238A (en) Network distribution method, network distribution device and household appliance
CN111163469A (en) Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
CN113518125A (en) Offline data uploading method and system, storage medium and electronic device
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN110149622B (en) Intelligent household appliance control method and device
CN112637931A (en) Method and device for establishing network connection
CN107645789A (en) The method, apparatus and system of networking
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN105915416B (en) Information processing method and terminal equipment
CN108989993A (en) Business transmitting method and device
CN112637221B (en) Equipment control method and device
CN107454659B (en) Terminal identification method, system, terminal equipment and base station

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