CN106953785B - Intelligent household equipment adding method and device - Google Patents
Intelligent household equipment adding method and device Download PDFInfo
- Publication number
- CN106953785B CN106953785B CN201710225561.5A CN201710225561A CN106953785B CN 106953785 B CN106953785 B CN 106953785B CN 201710225561 A CN201710225561 A CN 201710225561A CN 106953785 B CN106953785 B CN 106953785B
- Authority
- CN
- China
- Prior art keywords
- equipment
- icon
- information
- terminal
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 76
- 230000008569 process Effects 0.000 claims abstract description 28
- 238000003860 storage Methods 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 10
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000008014 freezing Effects 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/281—Exchanging configuration information on appliance services in a home automation network indicating a format for calling an appliance service function in a home automation network
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- User Interface Of Digital Computer (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses an intelligent household equipment adding method and device, and belongs to the field of intelligent household. The method comprises the following steps: sending an equipment icon acquisition request to a server; receiving a device icon matched with the first device information; and displaying the equipment icon in the equipment control interface, acquiring the equipment name input by a user, and correspondingly storing the equipment name and the selected equipment icon. According to the method and the device, the device icon matched with the actual appearance form of the intelligent household equipment is obtained from the server, and the device icon is displayed in the device control interface, so that a user can accurately distinguish the intelligent household equipment of the same type through the device icon. The user can quickly modify the equipment name of the intelligent household equipment only by performing simple input operation, the adding process of the intelligent household equipment is completed, and the adding efficiency of the intelligent household equipment is improved.
Description
Technical Field
The invention relates to the field of intelligent home furnishing, in particular to an intelligent home furnishing equipment adding method and device.
Background
With the development of the internet of things technology, the smart home system is produced. An intelligent home system usually includes a plurality of intelligent home devices, and the intelligent home devices may be classified into different device types, such as an air conditioner, a water heater, a washing machine, and a television. Each device category may include multiple types of smart home devices, for example, the air conditioner may include multiple types of mobile air conditioners, wall-mounted air conditioners, and cabinet air conditioners. The user can add the intelligent household devices in the intelligent household system through the terminal so as to conveniently control the intelligent household devices.
At present, the adding method of the intelligent household equipment is as follows: for any intelligent home device in the intelligent home system, the terminal may log in a specific application (e.g., an intelligent home application) on the terminal through an account, and bind the account with the intelligent home device, for example, bind with a Media Access Control (MAC) address of the intelligent home device. After the binding is successful, the terminal can display the device information of the smart home device, such as the device type and the device icon corresponding to the device type, in the device control interface. If a plurality of other intelligent household devices which are the same as the device in type but different from the device in type exist indoors, in order to find the intelligent household device, a user can issue a control instruction to the intelligent household device through the device control interface, and then confirm whether each intelligent household device which is in the indoor and accords with the device in type responds one by one until the intelligent household device which responds is found. After finding the smart home device, the user can set the device name of the smart home device based on the device control interface, thereby completing the adding process of the smart home device.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
in the device adding process, in order to find the smart home devices in the plurality of smart home devices of the same device type, a user needs to issue a control instruction and confirm the plurality of smart home devices one by one. The whole equipment adding process needs to be completed in a long time, and the efficiency is low.
Disclosure of Invention
In order to solve the problems in the prior art, the embodiment of the invention provides an intelligent household equipment adding method and device. The technical scheme is as follows:
in a first aspect, a smart home device adding method for a terminal is provided, where the method includes:
in the process of adding the intelligent home equipment, sending an equipment icon acquisition request to a server, wherein the equipment icon acquisition request carries first equipment information of the intelligent home equipment, and the first equipment information is used for determining the actual appearance form of the intelligent home equipment;
receiving a device icon matched with the first device information;
and displaying the equipment icon in an equipment control interface, acquiring an equipment name input by a user, and correspondingly storing the equipment name and the selected equipment icon.
In a first implementation manner of the first aspect, the first device information is a device type and a device type of the smart home device, or the first device information is a device model of the smart home device.
In a second implementation manner of the first aspect, the displaying the device icon in the device control interface, acquiring a device name input by a user, and storing the device name in correspondence with the selected device icon includes:
and when a plurality of equipment icons are displayed in the equipment control interface, acquiring the equipment icon selected by the user, acquiring the equipment name input by the user, and correspondingly storing the equipment name and the selected equipment icon.
In a third implementation manner of the first aspect, before sending the device icon acquisition request to the server, the method further includes:
when a scanning instruction is received, scanning a graphic identification code of the intelligent home equipment to obtain second equipment information of the intelligent home equipment, wherein the graphic identification code is used for bearing the second equipment information, and the second equipment information at least comprises Media Access Control (MAC) address information of the intelligent home equipment;
sending an equipment binding request to the server, and establishing a binding relationship between an account of the terminal and the intelligent household equipment by the server, wherein the equipment binding request carries the account and the second equipment information;
and receiving a binding success message of the server, wherein the binding success message is used for indicating that the binding relationship between the account and the intelligent household equipment is successfully established.
In a fourth implementation manner of the first aspect, before the receiving the scan instruction, the method further includes:
displaying a device adding interface;
if the triggering operation of the appointed button in the equipment adding interface is detected, scanning the intelligent home equipment, and displaying third equipment information of the intelligent home equipment on the equipment adding interface, wherein the third equipment information is used for uniquely identifying the intelligent home equipment;
and establishing connection with the intelligent household equipment.
In a fifth implementation manner of the first aspect, after the connection is established with the smart home device, the method further includes:
sending network access information to the intelligent home equipment, and establishing connection between the intelligent home equipment and a router accessed by the terminal based on the network access information, wherein the network access information comprises a Service Set Identifier (SSID) and a password of the router;
and receiving a network access success message of the intelligent household equipment, wherein the network access success message is used for indicating that the intelligent household equipment is successfully connected with the router.
In a sixth implementation manner of the first aspect, after the device icon is displayed in the device control interface, the method further includes:
and if the triggering operation of the equipment icon is detected, displaying an equipment information detail interface, wherein the equipment information detail interface is used for providing the second equipment information.
In a second aspect, a smart home device adding method for a server is provided, and the method includes:
receiving an equipment icon acquisition request, wherein the equipment icon acquisition request carries first equipment information of the intelligent home equipment, and the first equipment information is used for determining the actual appearance form of the intelligent home equipment;
acquiring an equipment icon matched with the first equipment information from an equipment icon library, wherein the equipment icon library is used for storing the corresponding relation between the equipment information and the equipment icon;
and sending the equipment icon matched with the first equipment information to a terminal, and displaying the equipment icon by the terminal.
In a first implementation manner of the second aspect, the first device information is a device type and a device type of the smart home device, or the first device information is a device model of the smart home device.
In a second implementation manner of the second aspect, before the receiving the device icon acquisition request, the method further includes:
receiving an equipment binding request, wherein the equipment binding request carries an account of the terminal and second equipment information of the intelligent home equipment, and the second equipment information at least comprises Media Access Control (MAC) address information of the intelligent home equipment;
establishing a binding relationship between the account and the intelligent household equipment;
and sending a binding success message to the terminal, wherein the binding success message is used for indicating that the binding relationship between the account of the terminal and the intelligent household equipment is successfully established.
In a third implementation manner of the second aspect, before the receiving the device icon acquisition request, the method further includes:
receiving the first device information;
if the first device information is the device type and the device type of the intelligent home device, obtaining a device icon corresponding to the device type of the intelligent home device, and correspondingly storing the device icon, the device type and the device type of the intelligent home device in the device icon library;
if the first equipment information is the equipment model of the intelligent household equipment, acquiring an equipment icon corresponding to the equipment model of the intelligent household equipment, and correspondingly storing the equipment icon and the equipment model in the equipment icon library.
In a fourth implementation manner of the second aspect, the obtaining of the device icon corresponding to the device type of the smart home device includes:
searching the equipment type of the intelligent household equipment in the equipment icon library;
if the equipment type of the intelligent household equipment is found and the equipment types corresponding to the equipment types do not comprise the equipment type of the intelligent household equipment, acquiring an equipment icon corresponding to the equipment type;
and if the equipment type of the intelligent household equipment cannot be found, adding the equipment type into the equipment icon library, and acquiring an equipment icon corresponding to the equipment type of the intelligent household equipment.
In a third aspect, an apparatus for adding smart home devices to a terminal is provided, where the apparatus includes:
the device icon acquisition request carries first device information of the intelligent home equipment, and the first device information is used for determining the actual appearance form of the intelligent home equipment;
the receiving module is used for receiving the equipment icon matched with the first equipment information;
the display module is used for displaying the equipment icon in an equipment control interface;
and the storage module is used for acquiring the equipment name input by the user and correspondingly storing the equipment name and the selected equipment icon.
In a first implementation manner of the third aspect, the first device information is a device type and a device type of the smart home device, or the first device information is a device model of the smart home device.
In a second implementation manner of the third aspect, the storage module is configured to, when a plurality of device icons are displayed in the device control interface, obtain a device icon selected by a user, obtain a device name input by the user, and store the device name and the selected device icon in a corresponding manner.
In a third implementation form of the third aspect, the apparatus further includes a scanning module:
the scanning module is used for scanning a graphic identification code of the intelligent home equipment when a scanning instruction is received to obtain second equipment information of the intelligent home equipment, wherein the graphic identification code is used for bearing the second equipment information, and the second equipment information at least comprises Media Access Control (MAC) address information of the intelligent home equipment;
the sending module is further configured to send an equipment binding request to the server, where the server establishes a binding relationship between an account of the terminal and the smart home equipment, and the equipment binding request carries information of the account and the second equipment;
the receiving module is further configured to receive a binding success message of the server, where the binding success message is used to indicate that the binding relationship between the account and the smart home device is successfully established.
In a fourth implementation manner of the third aspect, the apparatus further includes an establishing module:
the display module is also used for displaying an equipment adding interface;
the scanning module is further configured to scan the smart home device and display third device information of the smart home device on the device adding interface if the triggering operation of the specified button in the device adding interface is detected, where the third device information is used to uniquely identify the smart home device;
the establishing module is used for establishing connection with the intelligent household equipment.
In a fifth implementation manner of the third aspect, the sending module is further configured to send network access information to the smart home device, where the smart home device establishes a connection with a router accessed by the terminal based on the network access information, and the network access information includes a Service Set Identifier (SSID) and a password of the router;
the receiving module is further configured to receive a successful network access message of the smart home device, where the successful network access message is used to indicate that the smart home device has successfully connected to the router.
In a sixth implementation manner of the third aspect, the display module is further configured to display a device information detail interface if the triggering operation on the device icon is detected, where the device information detail interface is used to provide the second device information.
In a fourth aspect, an apparatus for adding smart home devices to a server is provided, the apparatus including:
the system comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving an equipment icon obtaining request, the equipment icon obtaining request carries first equipment information of the intelligent household equipment, and the first equipment information is used for determining the actual appearance form of the intelligent household equipment;
the acquisition module is used for acquiring the equipment icon matched with the first equipment information from an equipment icon library, and the equipment icon library is used for storing the corresponding relation between the equipment information and the equipment icon;
and the sending module is used for sending the equipment icon matched with the first equipment information to a terminal, and the terminal displays the equipment icon.
In a first implementation manner of the fourth aspect, the first device information is a device type and a device type of the smart home device, or the first device information is a device model of the smart home device.
In a second implementation manner of the fourth aspect, the apparatus further includes an establishing module:
the receiving module is further configured to receive an equipment binding request, where the equipment binding request carries an account of the terminal and second equipment information of the smart home equipment, and the second equipment information at least includes Media Access Control (MAC) address information of the smart home equipment;
the establishing module is used for establishing a binding relationship between the account and the intelligent household equipment;
the sending module is further configured to send a binding success message to the terminal, where the binding success message is used to indicate that the binding relationship between the account of the terminal and the smart home device has been successfully established.
In a third implementation manner of the fourth aspect, the receiving module is further configured to receive the first device information;
the obtaining module is further configured to obtain an equipment icon corresponding to the equipment type of the smart home equipment if the first equipment information is the equipment type and the equipment type of the smart home equipment, and store the equipment icon, the equipment type, and the equipment type of the smart home equipment in the equipment icon library correspondingly;
the obtaining module is further configured to obtain an equipment icon corresponding to the equipment model of the smart home equipment if the first equipment information is the equipment model of the smart home equipment, and store the equipment icon and the equipment model in the equipment icon library correspondingly.
In a fourth implementation manner of the fourth aspect, the obtaining module is configured to search the device type of the smart home device in the device icon library; if the equipment type of the intelligent household equipment is found and the equipment types corresponding to the equipment types do not comprise the equipment type of the intelligent household equipment, acquiring an equipment icon corresponding to the equipment type; and if the equipment type of the intelligent household equipment cannot be found, adding the equipment type into the equipment icon library, and acquiring an equipment icon corresponding to the equipment type of the intelligent household equipment.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the device icon matched with the actual appearance form of the intelligent household equipment is obtained from the server, and the device icon is displayed in the device control interface, so that a user can accurately distinguish the intelligent household equipment of the same type through the device icon. The user can quickly modify the equipment name of the intelligent household equipment only by performing simple input operation, the adding process of the intelligent household equipment is completed, and the adding efficiency of the intelligent household equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an intelligent home device adding method according to an embodiment of the present invention;
fig. 2 is a flowchart of an intelligent home device adding method according to an embodiment of the present invention;
fig. 3 is a flowchart of an intelligent home device adding method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a graphic identification code of an intelligent home device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an appliance control interface provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of an appliance control interface provided by an embodiment of the present invention;
FIG. 7 is a diagram of a device information detail interface provided by an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an intelligent home device adding apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an intelligent home device adding apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an intelligent home device adding apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an intelligent home device adding apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an intelligent home device adding apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a terminal 1300 according to an embodiment of the present invention;
fig. 14 is a block diagram of an intelligent home device adding apparatus 1400 provided in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of an intelligent home device adding method for a terminal according to an embodiment of the present invention. Referring to fig. 1, the method includes:
101. in the process of adding the intelligent household equipment, an equipment icon obtaining request is sent to a server, the equipment icon obtaining request carries first equipment information of the intelligent household equipment, and the first equipment information is used for determining the actual appearance form of the intelligent household equipment.
102. And receiving a device icon matched with the first device information.
103. And displaying the equipment icon in an equipment control interface, acquiring an equipment name input by a user, and correspondingly storing the equipment name and the selected equipment icon.
According to the method provided by the embodiment of the invention, the equipment icon matched with the actual appearance form of the intelligent household equipment is obtained from the server, and the equipment icon is displayed in the equipment control interface, so that a user can accurately distinguish the intelligent household equipment of the same type through the equipment icon. The user can quickly modify the equipment name of the intelligent household equipment only by performing simple input operation, the adding process of the intelligent household equipment is completed, and the adding efficiency of the intelligent household equipment is improved.
Optionally, the first device information is a device type and a device type of the smart home device, or the first device information is a device model of the smart home device.
Optionally, displaying the device icon in the device control interface, acquiring a device name input by a user, and storing the device name in correspondence with the selected device icon includes:
and when a plurality of equipment icons are displayed in the equipment control interface, acquiring the equipment icon selected by the user, acquiring the equipment name input by the user, and correspondingly storing the equipment name and the selected equipment icon.
Optionally, before sending the device icon acquisition request to the server, the method further includes:
when a scanning instruction is received, scanning a graphic identification code of the intelligent home equipment to obtain second equipment information of the intelligent home equipment, wherein the graphic identification code is used for bearing the second equipment information, and the second equipment information at least comprises Media Access Control (MAC) address information of the intelligent home equipment;
sending an equipment binding request to the server, and establishing a binding relationship between an account of the terminal and the intelligent household equipment by the server, wherein the equipment binding request carries the account and the second equipment information;
and receiving a binding success message of the server, wherein the binding success message is used for indicating that the binding relationship between the account and the intelligent household equipment is successfully established.
Optionally, before the receiving the scan instruction, the method further includes:
displaying a device adding interface;
if the triggering operation of a specified button in the equipment adding interface is detected, scanning the intelligent home equipment, and displaying third equipment information of the intelligent home equipment on the equipment adding interface, wherein the third equipment information is used for uniquely identifying the intelligent home equipment;
and establishing connection with the intelligent household equipment.
Optionally, after the connection with the smart home device is established, the method further includes:
sending network access information to the intelligent home equipment, and establishing connection between the intelligent home equipment and a router accessed by the terminal based on the network access information, wherein the network access information comprises a Service Set Identifier (SSID) and a password of the router;
and receiving a network access success message of the intelligent household equipment, wherein the network access success message is used for indicating that the intelligent household equipment is successfully connected with the router.
Optionally, after the device icon is displayed in the device control interface, the method further includes:
and if the triggering operation on the equipment icon is detected, displaying an equipment information detail interface, wherein the equipment information detail interface is used for providing the second equipment information.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 2 is a flowchart of an intelligent home device adding method for a server according to an embodiment of the present invention. Referring to fig. 2, the method includes:
201. receiving an equipment icon obtaining request, wherein the equipment icon obtaining request carries first equipment information of the intelligent household equipment, and the first equipment information is used for determining the actual appearance form of the intelligent household equipment.
202. And acquiring the equipment icon matched with the first equipment information from an equipment icon library, wherein the equipment icon library is used for storing the corresponding relation between the equipment information and the equipment icon.
203. And sending the equipment icon matched with the first equipment information to a terminal, and displaying the equipment icon by the terminal.
According to the method provided by the embodiment of the invention, the equipment icon matched with the actual appearance form of the intelligent household equipment is obtained from the equipment icon library, and the equipment icon is sent to the terminal, so that a user can accurately distinguish the intelligent household equipment of the same type through the equipment icon displayed by the terminal. The user can quickly modify the equipment name of the intelligent household equipment only by performing simple input operation, the adding process of the intelligent household equipment is completed, and the adding efficiency of the intelligent household equipment is improved.
Optionally, the first device information is a device type and a device type of the smart home device, or the first device information is a device model of the smart home device.
Optionally, before receiving the device icon acquisition request, the method further includes:
receiving an equipment binding request, wherein the equipment binding request carries an account of a terminal and second equipment information of the intelligent home equipment, and the second equipment information at least comprises Media Access Control (MAC) address information of the intelligent home equipment;
establishing a binding relationship between the account and the intelligent household equipment;
and sending a binding success message to the terminal, wherein the binding success message is used for indicating that the binding relationship between the account of the terminal and the intelligent household equipment is successfully established.
Optionally, before receiving the device icon acquisition request, the method further includes:
receiving the first device information;
if the first device information is the device type and the device type of the intelligent home device, obtaining a device icon corresponding to the device type of the intelligent home device, and correspondingly storing the device icon, the device type and the device type of the intelligent home device in the device icon library;
and if the first equipment information is the equipment model of the intelligent household equipment, acquiring an equipment icon corresponding to the equipment model of the intelligent household equipment, and correspondingly storing the equipment icon and the equipment model in the equipment icon library.
Optionally, the obtaining of the device icon corresponding to the device type of the smart home device includes:
searching the equipment type of the intelligent household equipment in the equipment icon library;
if the equipment type of the intelligent household equipment is found and the equipment types corresponding to the equipment type do not comprise the equipment type of the intelligent household equipment, acquiring an equipment icon corresponding to the equipment type;
and if the equipment type of the intelligent household equipment cannot be found, adding the equipment type into the equipment icon library, and acquiring an equipment icon corresponding to the equipment type of the intelligent household equipment.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 3 is a flowchart of an intelligent home device adding method according to an embodiment of the present invention. Based on the interaction between the terminal and the server, referring to fig. 3, the method includes:
301. in the process of adding the intelligent household equipment, the terminal sends an equipment icon obtaining request to the server, the equipment icon obtaining request carries first equipment information of the intelligent household equipment, and the first equipment information is used for determining the actual appearance form of the intelligent household equipment.
The first device information may be a device type and a device type of the smart home device, or the first device information may be a device model of the smart home device.
Considering that there may be a plurality of intelligent home devices with the same device type but different device types indoors, in order to facilitate a user to accurately distinguish the intelligent home devices, thereby improving the adding efficiency of the intelligent home devices, the terminal may acquire and display a device icon matched with the first device information of the intelligent home device in the process of adding any one intelligent home device.
In the embodiment of the present invention, the terminal may acquire, from the server, the device icon that matches the device type and the device type of the smart home device in a manner that the device icon acquisition request carries the device type and the device type of the smart home device, and of course, the terminal may also acquire, from the server, the device icon that matches the device type of the smart home device in a manner that the device icon acquisition request carries the device type of the smart home device.
Optionally, the device icon acquisition request may further carry a unique identifier of the terminal, so that the server may determine the terminal according to the unique identifier and return a device icon matched with the first device information of the smart home device to the terminal.
Optionally, the device icon acquisition request may further carry an account of the terminal, so that the server may determine the terminal where the account is located according to the account, where the account may be an account for logging in a designated application for the terminal, and the designated application may be an intelligent home application.
In a possible implementation manner, the sending of the device icon acquisition request may be triggered by a binding success message of the server, that is, when the terminal receives the device binding success message sent by the server, the terminal is triggered to send the device icon acquisition request to the server, where the binding success message is used to indicate that the binding relationship between the account and the smart home device has been successfully established.
The establishing process of the binding relationship between the account and the smart home device may include the following steps a to c:
a. when a scanning instruction is received, the terminal scans the graphic identification code of the intelligent household equipment to obtain second equipment information of the intelligent household equipment, wherein the graphic identification code is used for bearing the second equipment information, and the second equipment information at least comprises MAC address information of the intelligent household equipment.
The second device information may include an MAC address, a device type, a device model, a manufacturer, a production date, and the like of the smart home device. Taking a refrigerator as an example, the second device information of the refrigerator may be as follows:
the device types are as follows: refrigerator with a door
The manufacturer: haixin Shandong refrigerator Co Ltd
The production date is as follows: 2016, 9, 21, wednesday
The equipment model is as follows: BCD-370 WTD/Q370
The device type: french five-door
The door opening mode is as follows: upper split and lower drawer
The scanning instruction may be initiated by a manual operation of a user, for example, the user may select a "scan" option on the terminal to initiate the scanning instruction, so as to trigger the terminal to scan the graphic identification code of the smart home device. Fig. 4 is a schematic diagram of a graphic identification code of an intelligent home device according to an embodiment of the present invention, and referring to fig. 4, the icon identification code may be a barcode, such as a one-dimensional code, a two-dimensional code, a color identification code, and the like.
b. The terminal sends an equipment binding request to the server, the server establishes a binding relationship between an account of the terminal and the intelligent household equipment, and the equipment binding request carries the account and the second equipment information.
In the step b, after the terminal scans to obtain the second device information of the smart home device, a device binding request may be sent to the server, where the device binding request is used to request establishment of a binding relationship between the account and the smart home device.
c. When receiving the device binding request, the server establishes a binding relationship between the account and the smart home device, and sends a binding success message to the terminal, wherein the binding success message is used for indicating that the binding relationship between the account and the smart home device is successfully established.
In step c, when receiving the device binding request from the terminal, the server may store the account and the MAC address of the smart home device in the device binding table of the account according to the account and the second device information of the smart home device, which are carried in the device binding request, and set the binding state of the smart home device to an assigned value, where the assigned value is used to indicate the binding state, and may be 1 if the assigned value is set. For example, the device binding table of the account may be as shown in table 1, and of course, the device binding table may also have other forms, which is not limited in this embodiment of the present invention.
TABLE 1
Account number | Device MAC address | Binding state | Remarks for note |
186616306xx | FR01_A4FA55B783E | 1(1 represents binding, 0 represents unbinding) |
After the server establishes the binding relationship, a binding success message can be sent to the terminal to serve as a response to the device binding request sent by the terminal, so that the terminal can know that the account and the smart home device are successfully bound.
302. When an equipment icon obtaining request is received, the server obtains an equipment icon matched with the first equipment information from an equipment icon library, the equipment icon obtaining request carries the first equipment information of the intelligent household equipment, and the equipment icon library is used for storing the corresponding relation between the equipment information and the equipment icon.
In the embodiment of the present invention, the server may maintain an equipment icon library, and the equipment icon library may store the correspondence between the equipment type, and the equipment icon, and of course, the equipment icon library may also store the correspondence between the equipment type and the equipment icon. The device icons in the device icon library may be collected and stored in advance by a developer, for example, the developer may download or draw device icons of smart home devices of multiple device types from the internet, and store the device icons and the device types corresponding to the device icons in the device icon library. For example, the device icon library of the server may be as shown in table 2 below:
TABLE 2
In table 2, the icons 1 to 11 are only examples of characters of the icons, and the icons stored in the actual database may be actual appearance form diagrams of the smart home devices, such as front screenshots, perspective views, and the like, which are not limited in the embodiment of the present invention.
In the example of table 2, one device type corresponds to a plurality of device types, and one device type corresponds to one device icon. In fact, one device type may correspond to a plurality of device icons, and for example, a single-door intelligent refrigerator, single-door intelligent refrigerators produced by different manufacturers may have different appearances, and thus correspond to different device icons.
In the embodiment of the invention, when a server receives an equipment icon obtaining request, if first equipment information carried by the equipment icon obtaining request is the equipment type and the equipment type of intelligent household equipment, the server takes the equipment type and the equipment type as indexes, obtains an equipment icon matched with the equipment type and the equipment type from an equipment icon library, and takes the equipment icon as the equipment icon of the intelligent household equipment. Similarly, if the first device information carried by the device icon acquisition request is the device model of the intelligent home device, the server acquires the device icon matched with the device model from the device icon library by using the device model as an index, and the method is less in indexed information and high in acquisition efficiency.
It should be noted that, for the case that the first device information is the device type and the device type of the smart home device, since one device type may also correspond to multiple device icons, the server may obtain multiple device icons that are matched with the device type of the smart home device. The embodiment of the invention does not limit the number of the equipment icons matched with the equipment types of the intelligent household equipment.
It should be noted that the device icon library of the server is not a constant one, but may be updated according to the device information uploaded by each networked smart home device. Therefore, the problem that the server cannot acquire the equipment icon matched with the first equipment information from the equipment icon library when receiving the equipment icon acquisition request of the terminal due to incomplete equipment icons stored in the equipment icon library can be avoided.
For example, the smart home device may send first device information of the smart home device to a server after accessing a network, and the server acquires and stores a device icon corresponding to the first device information. The network access process of the intelligent household equipment can comprise the following steps a to c:
a. and displaying an equipment adding interface by the terminal, if the triggering operation of a specified button in the equipment adding interface is detected, carrying out hotspot scanning on the intelligent household equipment, and displaying third equipment information of the intelligent household equipment on the equipment adding interface, wherein the third equipment information is used for uniquely identifying the intelligent household equipment.
The third device information may be a device model or a device name of the smart home device.
In the step a1, the terminal may display a device add interface for the account, and the device add interface may provide a designated button, such as an "add device" button. When the trigger operation of the designated button is detected, the terminal may scan a hot spot nearby to determine a connectable device. And the smart home device is configured with a WiFi (Wireless Fidelity) module, and the WiFi module can be used as a hotspot. When the terminal scans the hot spot of the intelligent household equipment, the third equipment information of the intelligent household equipment can be displayed on the equipment adding interface, and a user can trigger the establishment of the connection between the terminal and the intelligent household equipment through any trigger operation.
b. And establishing connection with the intelligent home equipment, sending network access information to the intelligent home equipment, and establishing connection between the intelligent home equipment and a router accessed by the terminal based on the network access information, wherein the network access information comprises a Service Set Identifier (SSID) and a password of the router.
In step a2, when the trigger operation of the user is detected, the terminal may establish a connection with the smart home device, and send information of the router to which the terminal is connected, that is, network access information, to the smart home device. After receiving the network access information, the smart home device may send a network access request to the router, and the router establishes a connection with the smart home device based on the network access information and sends a network access success message to the smart home device. After receiving the network access success message, the smart home device may send the network access success message to the terminal, where the network access success message is used to indicate that the smart home device has successfully connected to the router.
c. And the terminal receives a network access success message of the intelligent household equipment, wherein the network access success message is used for indicating that the intelligent household equipment is successfully connected with the router.
In the step a3, when the terminal receives the network access success message, the network access success message may be displayed, so that the user may know that the smart home device has successfully accessed the local area network where the terminal is located according to the network access success message.
After the intelligent home equipment is connected to the network, the first equipment information of the intelligent home equipment is uploaded to the server in real time, so that the server can supplement and perfect the equipment icon library based on the first equipment information, and the terminal can acquire the equipment icon matched with the first equipment information.
In the embodiment of the present invention, when the server receives the first device information uploaded by the smart home device, the server may process the first device information in the following two cases:
in a first situation, if the first device information is the device type and the device type of the smart home device, the server may obtain a device icon corresponding to the device type of the smart home device, and store the device icon, the device type, and the device type of the smart home device in the device icon library correspondingly.
In this case, the process of the server acquiring the device icon may include: the server can search the equipment type of the intelligent household equipment in the equipment icon library; if the device type of the intelligent home device is found and the device types corresponding to the device type do not include the device type of the intelligent home device, the server may obtain a device icon corresponding to the device type in a preset manner; and if the equipment type of the intelligent household equipment cannot be found, the server adds the equipment type into the equipment icon library, and acquires an equipment icon corresponding to the equipment type of the intelligent household equipment in a preset mode. The preset mode may be a mode in which the server draws by itself.
In a second situation, if the first device information is the device model of the smart home device, the server obtains a device icon corresponding to the device model of the smart home device, and stores the device icon and the device model in the device icon library correspondingly.
In this case, the process of the server acquiring the device icon may include: the server can search the equipment model of the intelligent household equipment in the equipment icon library, and if the equipment model of the intelligent household equipment cannot be searched, the server can acquire the equipment icon corresponding to the equipment model of the intelligent household equipment in a preset mode. The intelligent household equipment with different equipment models has different appearance forms, so that different equipment models correspond to different equipment icons, and the unique equipment icon can be obtained through the equipment model. The equipment icon library adopts the storage mode that the equipment icons correspond to the equipment models, so that the equipment icons can be inquired conveniently, and the intelligent household equipment can be distinguished conveniently.
303. And the server sends the equipment icon matched with the first equipment information to the terminal, and the terminal displays the equipment icon.
In the embodiment of the invention, after the server acquires the device icon matched with the first device information of the intelligent household device according to the device icon acquisition request of the terminal, the device icon can be sent to the terminal, so that a user can modify the device name of the intelligent household device on the terminal according to the device icon, and the adding process of the intelligent household device is completed.
In a possible implementation manner, the server may send the device icon to the terminal identified by the unique identifier according to the unique identifier of the terminal carried in the device icon acquisition request. In another possible implementation manner, the server may send the device icon to the terminal where the account is located according to the account of the terminal carried in the device icon acquisition request.
For the fact that a plurality of device icons may correspond to one device type in step 302, the server may obtain a plurality of device icons matching the first device information from the device icon library, and accordingly, in step 303, the server may send the plurality of device icons matching the first device information to the terminal.
304. And when receiving the equipment icon matched with the first equipment information, the terminal displays the equipment icon in an equipment control interface, acquires the equipment name input by the user, and correspondingly stores the equipment name and the selected equipment icon.
In the embodiment of the invention, when the terminal receives the equipment icon returned by the server, the equipment icon can be displayed in the equipment control interface of the account of the terminal. Referring to fig. 5, fig. 5 is a schematic view of an equipment control interface provided in an embodiment of the present invention, where the equipment control interface is configured to provide a plurality of controllable smart home devices, and optionally, the terminal may further display, on the equipment control interface, the equipment name and the current operating state of each smart home device in correspondence with an equipment icon of the smart home device. The device name may default to a device category, and the operation status may include a networking status (e.g., online), a power on/off status, a performance parameter (e.g., temperature of a refrigerator, a temperature of a temperature-changing chamber, a freezing chamber, and a refrigerating chamber), and the like.
In order to avoid the smart home devices with the same device name appearing in the device control interface, the user can change the device name of the smart home device according to the device icon of the smart home device displayed in the device control interface, so that the whole adding process of the smart home device is completed. In a possible implementation manner, when the terminal detects a long-press operation on the area where the device name of the smart home device is located, the device name input interface may be displayed, the user may determine a device name according to the device icon of the smart home device, then input the device name in the device name input interface, and the terminal may obtain the device name input by the user and store the device name and the device icon of the smart home device in a corresponding manner. For example, the user may modify the device name of the refrigerator in the device control interface shown in fig. 5, such as inputting "urban green refrigerator", the terminal may acquire and store the name and display the device control interface shown in fig. 6.
In another possible implementation manner, when a plurality of device icons are displayed in the device control interface, a user may select one device icon from the plurality of device icons according to an actual situation of the indoor smart home device grasped by the user, determine and input a device name according to the device icon, and the terminal may obtain the device icon selected by the user, obtain the device name input by the user, and store the device name and the selected device icon correspondingly.
In consideration of the fact that a user may still not confirm the smart home device according to the device icon, the terminal may further provide a device information viewing function, in one possible implementation manner, the user may perform a trigger operation on the device icon of the smart home device, for example, click the device icon, and when the terminal detects the trigger operation on the device icon, a device information detail interface may be displayed, where the device information detail interface is used to provide second device information of the smart home device. Fig. 7 is a schematic diagram of a device information detail interface according to an embodiment of the present invention, and referring to fig. 7, a user may obtain second device information of the smart home device through the device information detail interface, and further may confirm the smart home device according to the second device information, and modify a name of the smart home device.
Further, if the user still cannot confirm the smart home device according to the second device information provided by the device information detail interface, the user may issue a control instruction to the smart home device through the device control interface shown in fig. 5 to make the smart home device respond, and the user may confirm the smart home device according to the response. After confirming the smart home device, the user can set the device name of the smart home device, thereby completing the adding process of the smart home device.
According to the method provided by the embodiment of the invention, the equipment icon matched with the actual appearance form of the intelligent household equipment is obtained from the server, and the equipment icon is displayed in the equipment control interface, so that a user can accurately distinguish the intelligent household equipment of the same type through the equipment icon. The user can quickly modify the equipment name of the intelligent household equipment only by performing simple input operation, the adding process of the intelligent household equipment is completed, and the adding efficiency of the intelligent household equipment is improved.
Fig. 8 is a schematic structural diagram of an intelligent home device adding apparatus for a terminal according to an embodiment of the present invention. Referring to fig. 8, the apparatus includes:
a sending module 801, configured to send an equipment icon acquisition request to a server in a process of adding an intelligent home device, where the equipment icon acquisition request carries first equipment information of the intelligent home device, and the first equipment information is used to determine an actual appearance form of the intelligent home device;
a receiving module 802, configured to receive a device icon matched with the first device information;
a display module 803, configured to display the device icon in the device control interface;
the storage module 804 is configured to obtain a device name input by a user, and store the device name in correspondence with the selected device icon.
Optionally, the first device information is a device type and a device type of the smart home device, or the first device information is a device model of the smart home device.
Optionally, the storage module 804 is configured to, when a plurality of device icons are displayed in the device control interface, obtain a device icon selected by a user, obtain a device name input by the user, and store the device name in correspondence with the selected device icon.
Optionally, referring to fig. 9, the apparatus further comprises a scanning module 805:
the scanning module 805 is configured to scan a graphic identification code of the smart home device when receiving a scanning instruction, to obtain second device information of the smart home device, where the graphic identification code is used to carry the second device information, and the second device information at least includes media access control MAC address information of the smart home device;
the sending module 801 is further configured to send an equipment binding request to the server, where the server establishes a binding relationship between an account of the terminal and the smart home equipment, and the equipment binding request carries the account and the second equipment information;
the receiving module 802 is further configured to receive a binding success message of the server, where the binding success message is used to indicate that the binding relationship between the account and the smart home device is successfully established.
Optionally, referring to fig. 10, the apparatus further comprises a building module 806:
the display module 803 is further configured to display a device addition interface;
the scanning module 805 is further configured to scan the smart home device and display third device information of the smart home device on the device addition interface if the triggering operation of the specified button in the device addition interface is detected, where the third device information is used to uniquely identify the smart home device;
the establishing module 806 is configured to establish a connection with the smart home device.
Optionally, the sending module 801 is further configured to send network access information to the smart home device, where the smart home device establishes a connection with a router accessed by the terminal based on the network access information, and the network access information includes a service set identifier SSID and a password of the router;
the receiving module 802 is further configured to receive a network access success message of the smart home device, where the network access success message is used to indicate that the smart home device has successfully connected to the router.
Optionally, the display module 803 is further configured to display a device information detail interface if the triggering operation on the device icon is detected, where the device information detail interface is configured to provide the second device information.
In the embodiment of the invention, the equipment icon matched with the actual appearance form of the intelligent household equipment is obtained from the server, and the equipment icon is displayed in the equipment control interface, so that a user can accurately distinguish the intelligent household equipment of the same type through the equipment icon. The user can quickly modify the equipment name of the intelligent household equipment only by performing simple input operation, the adding process of the intelligent household equipment is completed, and the adding efficiency of the intelligent household equipment is improved.
Fig. 11 is a schematic structural diagram of an intelligent home device adding apparatus for a server according to an embodiment of the present invention. Referring to fig. 11, the apparatus includes:
a receiving module 1101, configured to receive an equipment icon acquisition request, where the equipment icon acquisition request carries first equipment information of an intelligent home device, and the first equipment information is used to determine an actual appearance form of the intelligent home device;
an obtaining module 1102, configured to obtain an equipment icon matched with the first equipment information from an equipment icon library, where the equipment icon library is used to store a corresponding relationship between the equipment information and the equipment icon;
a sending module 1103, configured to send the device icon matched with the first device information to a terminal, and the terminal displays the device icon.
Optionally, the first device information is a device type and a device type of the smart home device, or the first device information is a device model of the smart home device.
Optionally, referring to fig. 12, the apparatus further comprises a establishing module 1104:
the receiving module 1101 is further configured to receive an equipment binding request, where the equipment binding request carries an account of the terminal and second equipment information of the smart home equipment, and the second equipment information at least includes media access control MAC address information of the smart home equipment;
the establishing module 1104 is configured to establish a binding relationship between the account and the smart home device;
the sending module 1103 is further configured to send a binding success message to the terminal, where the binding success message is used to indicate that a binding relationship between the account of the terminal and the smart home device has been successfully established.
Optionally, the receiving module 1101 is further configured to receive the first device information;
the obtaining module is further configured to obtain an equipment icon corresponding to the equipment type of the smart home equipment if the first equipment information is the equipment type and the equipment type of the smart home equipment, and store the equipment icon, the equipment type, and the equipment type of the smart home equipment in the equipment icon library correspondingly;
the obtaining module 1102 is further configured to obtain an equipment icon corresponding to the equipment model of the smart home equipment if the first equipment information is the equipment model of the smart home equipment, and store the equipment icon and the equipment model in the equipment icon library correspondingly.
Optionally, the obtaining module 1102 is configured to search the device type of the smart home device in the device icon library; if the equipment type of the intelligent household equipment is found and the equipment types corresponding to the equipment type do not comprise the equipment type of the intelligent household equipment, acquiring an equipment icon corresponding to the equipment type; and if the equipment type of the intelligent household equipment cannot be found, adding the equipment type into the equipment icon library, and acquiring an equipment icon corresponding to the equipment type of the intelligent household equipment.
In the embodiment of the invention, the equipment icon matched with the actual appearance form of the intelligent household equipment is obtained from the equipment icon library and is sent to the terminal, so that a user can accurately distinguish the intelligent household equipment of the same type through the equipment icon displayed by the terminal. The user can quickly modify the equipment name of the intelligent household equipment only by performing simple input operation, the adding process of the intelligent household equipment is completed, and the adding efficiency of the intelligent household equipment is improved.
It should be noted that: the smart home device adding apparatus provided in the above embodiment is exemplified by only the division of the functional modules when the smart home device is added, and in practical applications, the function distribution may be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the smart home device adding apparatus and the smart home device adding method embodiment provided by the above embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
The embodiment of the invention provides a terminal 1300, and the terminal 1300 can be used for executing the intelligent home equipment adding method provided in the above embodiments. Referring to fig. 13, the terminal 1300 includes:
the terminal 1300 may include components such as an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi (Wireless Fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 13 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 1300, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Terminal 1300 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal 1300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the terminal 1300, detailed descriptions thereof are omitted.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 1300 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 13 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 1300 and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal 1300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 1300 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Terminal 1300 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to processor 180 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 1300 may further include a camera, a bluetooth module, etc., which are not described in detail herein. In this embodiment, the display unit of the terminal is a touch screen display, and the terminal further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the terminal-side operations in the examples implemented in fig. 1, 2, or 3 described above.
Fig. 14 is a block diagram of an intelligent home device adding apparatus 1400 provided in the embodiment of the present invention. For example, the apparatus 1400 may be a server. Referring to fig. 14, the apparatus 1400 includes a processing component 1422 that further includes one or more processors and memory resources, represented by memory 1432, for storing instructions, such as applications, that are executable by the processing component 1422. The application programs stored in memory 1432 may include one or more modules each corresponding to a set of instructions. Further, the processing component 1422 is configured to execute the instructions to perform the smart home device addition method described above.
The device 1400 may also include a power component 1426 configured to perform power management of the device 1400, a wired or wireless network interface 1450 configured to connect the device 1400 to a network, and an input output (I/O) interface 1458. The apparatus 1400 may operate based on an operating system, such as Windows Server, stored in the memory 1432TM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. A smart home device adding method for a terminal is characterized by comprising the following steps:
in the process of adding the intelligent home equipment, sending an equipment icon acquisition request to a server, wherein the equipment icon acquisition request carries first equipment information of the intelligent home equipment, the first equipment information is used for determining the actual appearance form of the intelligent home equipment, the sending of the equipment icon acquisition request is triggered by a binding success message of the server, and the binding success message is used for indicating that the binding relationship between the account of the terminal and the intelligent home equipment is successfully established;
receiving an equipment icon matched with the first equipment information, wherein the equipment icon is obtained by the server from an equipment icon library, the equipment icon library is used for storing the corresponding relation between the equipment information and the equipment icon, and the equipment icon library is updated according to the equipment information uploaded by each piece of networked intelligent home equipment;
displaying the equipment icon in an equipment control interface, and if the triggering operation of the equipment icon is detected, displaying an equipment information detail interface, wherein the equipment information detail interface is used for providing second equipment information of the intelligent home equipment, and the second equipment information is used for confirming the intelligent home equipment;
and acquiring the equipment name input by the user, and correspondingly storing the equipment name and the equipment icon.
2. The method of claim 1, wherein the obtaining a device name input by a user and storing the device name in correspondence with the device icon comprises:
and when a plurality of equipment icons are displayed in the equipment control interface, acquiring the equipment icon selected by the user, acquiring the equipment name input by the user, and correspondingly storing the equipment name and the selected equipment icon.
3. The method of claim 1, wherein before sending the device icon acquisition request to the server, the method further comprises:
when a scanning instruction is received, scanning a graphic identification code of the intelligent home equipment to obtain second equipment information of the intelligent home equipment, wherein the graphic identification code is used for bearing the second equipment information, and the second equipment information at least comprises Media Access Control (MAC) address information of the intelligent home equipment;
sending an equipment binding request to the server, and establishing a binding relationship between an account of the terminal and the intelligent household equipment by the server, wherein the equipment binding request carries the account and the second equipment information;
and receiving a binding success message of the server.
4. A smart home device adding method for a server is characterized by comprising the following steps:
receiving an equipment icon obtaining request, wherein the equipment icon obtaining request carries first equipment information of intelligent household equipment, the first equipment information is used for determining the actual appearance form of the intelligent household equipment, the equipment icon obtaining request is sent by a binding success message of a server, and the binding success message is used for indicating that the binding relationship between an account of a terminal and the intelligent household equipment is successfully established;
acquiring an equipment icon matched with the first equipment information from an equipment icon library, wherein the equipment icon library is used for storing the corresponding relation between the equipment information and the equipment icon, and the equipment icon library is updated according to the equipment information uploaded by each piece of networked smart home equipment;
and sending the equipment icon matched with the first equipment information to a terminal, displaying the equipment icon by the terminal, and displaying an equipment information detail interface if the triggering operation of the equipment icon is detected, wherein the equipment information detail interface is used for providing second equipment information of the intelligent household equipment, and the second equipment information is used for confirming the intelligent household equipment, acquiring an equipment name input by a user, and correspondingly storing the equipment name and the equipment icon.
5. The method of claim 4, wherein prior to receiving the device icon acquisition request, the method further comprises:
receiving an equipment binding request, wherein the equipment binding request carries an account of the terminal and second equipment information of the intelligent home equipment, and the second equipment information at least comprises Media Access Control (MAC) address information of the intelligent home equipment;
establishing a binding relationship between the account and the intelligent household equipment;
and sending a binding success message to the terminal.
6. The utility model provides an intelligent household equipment adds device for terminal, its characterized in that, the device includes:
the device icon acquisition module is used for acquiring the actual appearance form of the intelligent home equipment, and sending a device icon acquisition request to a server, wherein the device icon acquisition request carries first device information of the intelligent home equipment, the first device information is used for determining the actual appearance form of the intelligent home equipment, the sending of the device icon acquisition request is triggered by a binding success message of the server, and the binding success message is used for indicating that the binding relationship between the account of the terminal and the intelligent home equipment is successfully established;
the receiving module is used for receiving the equipment icons matched with the first equipment information, the equipment icons are obtained from an equipment icon library by the server, the equipment icon library is used for storing the corresponding relation between the equipment information and the equipment icons, and the equipment icon library is updated according to the equipment information uploaded by each piece of networked intelligent home equipment;
the display module is used for displaying the equipment icon in an equipment control interface, and if the triggering operation of the equipment icon is detected, displaying an equipment information detail interface, wherein the equipment information detail interface is used for providing second equipment information of the intelligent home equipment, and the second equipment information is used for confirming the intelligent home equipment;
and the storage module is used for acquiring the equipment name input by the user and correspondingly storing the equipment name and the equipment icon.
7. The apparatus according to claim 6, wherein the storage module is configured to, when there are multiple device icons displayed in the device control interface, obtain a device icon selected by a user, obtain a device name input by the user, and store the device name in correspondence with the selected device icon.
8. The apparatus of claim 6, further comprising a scanning module:
the scanning module is used for scanning a graphic identification code of the intelligent home equipment when a scanning instruction is received to obtain second equipment information of the intelligent home equipment, wherein the graphic identification code is used for bearing the second equipment information, and the second equipment information at least comprises Media Access Control (MAC) address information of the intelligent home equipment;
the sending module is further configured to send an equipment binding request to the server, where the server establishes a binding relationship between an account of the terminal and the smart home equipment, and the equipment binding request carries information of the account and the second equipment;
the receiving module is further configured to receive a binding success message of the server.
9. The utility model provides an intelligent household equipment adds device for server, its characterized in that, the device includes:
the system comprises a receiving module and a processing module, wherein the receiving module is used for receiving an equipment icon obtaining request, the equipment icon obtaining request carries first equipment information of the intelligent household equipment, the first equipment information is used for determining the actual appearance form of the intelligent household equipment, the equipment icon obtaining request is sent by a binding success message of a server, and the binding success message is used for indicating that the binding relationship between an account of a terminal and the intelligent household equipment is successfully established;
the acquisition module is used for acquiring an equipment icon matched with the first equipment information from an equipment icon library, the equipment icon library is used for storing the corresponding relation between the equipment information and the equipment icon, and the equipment icon library is updated according to the equipment information uploaded by each piece of networked intelligent home equipment;
and the sending module is used for sending the equipment icon matched with the first equipment information to a terminal, displaying the equipment icon by the terminal, and if the triggering operation of the equipment icon is detected, displaying an equipment information detail interface which is used for providing second equipment information of the intelligent household equipment, wherein the second equipment information is used for confirming the intelligent household equipment, acquiring an equipment name input by a user, and correspondingly storing the equipment name and the equipment icon.
10. The apparatus of claim 9, further comprising a setup module to:
the receiving module is further configured to receive an equipment binding request, where the equipment binding request carries an account of the terminal and second equipment information of the smart home equipment, and the second equipment information at least includes Media Access Control (MAC) address information of the smart home equipment;
the establishing module is used for establishing a binding relationship between the account and the intelligent household equipment;
the sending module is further configured to send a binding success message to the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710225561.5A CN106953785B (en) | 2017-04-07 | 2017-04-07 | Intelligent household equipment adding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710225561.5A CN106953785B (en) | 2017-04-07 | 2017-04-07 | Intelligent household equipment adding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106953785A CN106953785A (en) | 2017-07-14 |
CN106953785B true CN106953785B (en) | 2020-07-31 |
Family
ID=59475304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710225561.5A Active CN106953785B (en) | 2017-04-07 | 2017-04-07 | Intelligent household equipment adding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106953785B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107797727A (en) * | 2017-10-16 | 2018-03-13 | 广东欧珀移动通信有限公司 | Amending method, device and the mobile terminal of icon title |
CN108717373B (en) * | 2018-05-28 | 2022-02-08 | 北京小米移动软件有限公司 | Name display method and device of intelligent equipment and storage medium |
CN108693784A (en) * | 2018-08-03 | 2018-10-23 | 深圳绿米联创科技有限公司 | Management method, device, terminal device and the storage medium of home equipment |
CN109521683B (en) * | 2018-11-02 | 2022-11-11 | 广东美的制冷设备有限公司 | Control method, remote controller and control terminal of household electrical appliance in local area network |
CN109765793B (en) * | 2018-12-07 | 2022-04-12 | 深圳绿米联创科技有限公司 | Equipment state display method and device, terminal and storage medium |
CN112198805B (en) * | 2019-07-08 | 2024-06-14 | 阿里巴巴集团控股有限公司 | Device control method, device, system, computing device and storage medium |
CN111583605A (en) * | 2020-05-25 | 2020-08-25 | 海尔优家智能科技(北京)有限公司 | Remote controller position reminding method and remote controller |
CN111796982B (en) * | 2020-06-12 | 2024-05-28 | 致茂电子(苏州)有限公司 | Electronic equipment monitoring method |
CN113760833A (en) * | 2021-09-14 | 2021-12-07 | Oppo广东移动通信有限公司 | Cross-application picture display method and device, storage medium and terminal |
CN114296361A (en) * | 2021-12-28 | 2022-04-08 | 广州河东科技有限公司 | Intelligent household equipment configuration method and device, electronic equipment and storage medium |
CN117092921A (en) * | 2022-05-12 | 2023-11-21 | 华为技术有限公司 | Scene setting method and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710473A (en) * | 2012-05-21 | 2012-10-03 | 深圳市无线开锋科技有限公司 | Intelligent household remote control system based on mobile terminal |
CN104992542A (en) * | 2015-07-01 | 2015-10-21 | 慧锐通智能科技股份有限公司 | Configuration method and system for intelligent home equipment |
CN105446293A (en) * | 2015-11-27 | 2016-03-30 | 珠海格力电器股份有限公司 | Binding method, device and system of intelligent household equipment and intelligent terminal |
CN105577493A (en) * | 2016-01-04 | 2016-05-11 | 青岛海信电器股份有限公司 | Control method and device of smart home devices and system |
CN105827494A (en) * | 2016-05-20 | 2016-08-03 | 珠海格力电器股份有限公司 | Method, device and system for adding equipment |
CN106059788A (en) * | 2016-05-06 | 2016-10-26 | 海信集团有限公司 | Identifying method and device of intelligent household equipment |
CN106371324A (en) * | 2016-08-31 | 2017-02-01 | 海信集团有限公司 | Method and device for displaying operation interface |
CN106559700A (en) * | 2015-09-29 | 2017-04-05 | 北京优朋普乐科技有限公司 | A kind of method of lan device interaction, apparatus and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011224A1 (en) * | 1999-10-22 | 2007-01-11 | Jesus Mena | Real-time Internet data mining system and method for aggregating, routing, enhancing, preparing, and analyzing web databases |
US10219039B2 (en) * | 2015-03-09 | 2019-02-26 | The Nielsen Company (Us), Llc | Methods and apparatus to assign viewers to media meter data |
CN104880951B (en) * | 2015-05-12 | 2017-12-22 | 安恩达科技(深圳)有限公司 | The control method and device of smart home |
-
2017
- 2017-04-07 CN CN201710225561.5A patent/CN106953785B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710473A (en) * | 2012-05-21 | 2012-10-03 | 深圳市无线开锋科技有限公司 | Intelligent household remote control system based on mobile terminal |
CN104992542A (en) * | 2015-07-01 | 2015-10-21 | 慧锐通智能科技股份有限公司 | Configuration method and system for intelligent home equipment |
CN106559700A (en) * | 2015-09-29 | 2017-04-05 | 北京优朋普乐科技有限公司 | A kind of method of lan device interaction, apparatus and system |
CN105446293A (en) * | 2015-11-27 | 2016-03-30 | 珠海格力电器股份有限公司 | Binding method, device and system of intelligent household equipment and intelligent terminal |
CN105577493A (en) * | 2016-01-04 | 2016-05-11 | 青岛海信电器股份有限公司 | Control method and device of smart home devices and system |
CN106059788A (en) * | 2016-05-06 | 2016-10-26 | 海信集团有限公司 | Identifying method and device of intelligent household equipment |
CN105827494A (en) * | 2016-05-20 | 2016-08-03 | 珠海格力电器股份有限公司 | Method, device and system for adding equipment |
CN106371324A (en) * | 2016-08-31 | 2017-02-01 | 海信集团有限公司 | Method and device for displaying operation interface |
Also Published As
Publication number | Publication date |
---|---|
CN106953785A (en) | 2017-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106953785B (en) | Intelligent household equipment adding method and device | |
CN111741513B (en) | Network distribution method of Internet of things equipment and related equipment | |
CN106371324B (en) | operation interface display method and device | |
CN107094294B (en) | Network connection method and device | |
CN105634881B (en) | Application scene recommendation method and device | |
CN110430558B (en) | Device control method, device, electronic device and storage medium | |
CN105915420B (en) | The adding method and device of smart home device | |
CN107229231B (en) | Household equipment management method and device | |
EP3242461B1 (en) | Intelligent device control method and device | |
CN107976911B (en) | Equipment control method, device and system | |
WO2018010533A1 (en) | Device control system, method and apparatus, and gateway | |
CN110049476B (en) | Equipment pushing method, device, mobile terminal and storage medium | |
CN106210755B (en) | A kind of methods, devices and systems playing live video | |
CN106936676B (en) | Household equipment control method and device | |
CN105208056B (en) | Information interaction method and terminal | |
CN106789488B (en) | Intelligent household equipment management method and device | |
CN106162811B (en) | Method and device for establishing network connection | |
CN106371326B (en) | Storage method and device for equipment working scene | |
CN106776301B (en) | Subelement testing method and device | |
CN114565070B (en) | Label binding method and device and mobile terminal | |
CN113377469A (en) | Business interface display method and device for mobile application, terminal and storage medium | |
CN112286122A (en) | Intelligent household control method, device, terminal and storage medium | |
CN106101990B (en) | Bluetooth device searching method and device | |
CN103399706A (en) | Page interaction method, device and terminal | |
CN105306244B (en) | Router management method, system and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |