CN108810861B - Connection method and device of intelligent equipment and storage medium - Google Patents

Connection method and device of intelligent equipment and storage medium Download PDF

Info

Publication number
CN108810861B
CN108810861B CN201810523298.2A CN201810523298A CN108810861B CN 108810861 B CN108810861 B CN 108810861B CN 201810523298 A CN201810523298 A CN 201810523298A CN 108810861 B CN108810861 B CN 108810861B
Authority
CN
China
Prior art keywords
devices
target
intelligent devices
target intelligent
bluetooth connection
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
Application number
CN201810523298.2A
Other languages
Chinese (zh)
Other versions
CN108810861A (en
Inventor
范林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810523298.2A priority Critical patent/CN108810861B/en
Publication of CN108810861A publication Critical patent/CN108810861A/en
Application granted granted Critical
Publication of CN108810861B publication Critical patent/CN108810861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Abstract

The disclosure relates to an intelligent device connection method, an intelligent device connection device and a storage medium, and belongs to the field of communication. The method comprises the following steps: the method comprises the steps of receiving data packets broadcasted by a plurality of intelligent devices, obtaining a product identifier in each received data packet, selecting at least two target intelligent devices from the plurality of intelligent devices according to the obtained product identifiers, displaying Bluetooth connection prompt messages, wherein the Bluetooth connection prompt messages are used for prompting whether to perform Bluetooth connection with the at least two target intelligent devices at the same time, and the at least two target intelligent devices are devices needing Bluetooth connection in the plurality of intelligent devices, so that when the confirmation operation of the Bluetooth connection prompt messages is detected, the Bluetooth connection is performed with the at least two target intelligent devices at the same time by using a Bluetooth mesh technology, and the efficiency of connecting the intelligent devices through Bluetooth is improved. In addition, the operation steps of the user are simplified, the cost is saved, and the efficiency of connecting the intelligent device through the Bluetooth is further improved.

Description

Connection method and device of intelligent equipment and storage medium
Technical Field
The present disclosure relates to the field of communications, and in particular, to a connection method and apparatus for an intelligent device, and a storage medium.
Background
With the development of science and technology, intelligent devices such as intelligent kettles, intelligent bedside lamps and intelligent flower and grass detectors gradually appear in the visual field of people. In practical application, the user can realize the Bluetooth connection with the intelligent equipment through the terminal, and then control the intelligent equipment through the terminal.
At present, when a user performs bluetooth connection with an intelligent device through a terminal for the first time, the steps of searching for bluetooth devices, selecting available devices, initiating a bluetooth pairing request and performing bluetooth pairing need to be sequentially performed, and after the bluetooth pairing is successful, the bluetooth connection between the terminal and the intelligent device can be realized.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a connection method and apparatus for an intelligent device, and a storage medium. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a connection method of a smart device, the method including:
receiving data packets broadcast by a plurality of intelligent devices;
acquiring a product identifier in each received data packet;
selecting at least two target intelligent devices from the plurality of intelligent devices according to the obtained product identifiers, wherein the at least two target intelligent devices are the devices which need to be connected with the Bluetooth in the plurality of intelligent devices;
displaying a Bluetooth connection prompting message, wherein the Bluetooth connection prompting message is used for prompting whether to simultaneously perform Bluetooth connection with the at least two target intelligent devices;
and when the confirmation operation of the Bluetooth connection prompting message is detected, performing Bluetooth connection with the at least two target intelligent devices simultaneously by using a Bluetooth mesh (wireless mesh network) technology.
Optionally, the selecting at least two target smart devices from the plurality of smart devices according to the obtained product identifiers includes:
selecting an intelligent device with a product identifier which is the same as a preset product identifier in a broadcasted data packet from the plurality of intelligent devices;
determining the selected smart device as the at least two target smart devices.
Optionally, the obtained product identifier is a device identifier;
before the bluetooth connection prompting message is displayed, the method further comprises:
acquiring description information of the at least two target intelligent devices according to the device identifiers in the data packets broadcast by the at least two target intelligent devices;
correspondingly, the bluetooth connection prompting message includes description information of the at least two target smart devices.
Optionally, when the confirmation operation on the bluetooth connection prompting message is detected, after performing bluetooth connection with the at least two target smart devices simultaneously using a bluetooth mesh technology, the method further includes:
sending an information binding request to a server, where the information binding request carries a currently logged-in user account and Media Access Control (MAC) addresses of the at least two target intelligent devices, and the information binding request is used to instruct the server to bind the at least two target intelligent devices with the user account;
and when receiving a binding success prompt message sent by the server, sending a broadcast stop instruction to the at least two target intelligent devices, wherein the broadcast stop instruction is used for indicating the at least two target intelligent devices to stop broadcasting the data packet.
Optionally, after the sending the information binding request to the server, the method further includes:
and displaying the description information of the at least two target intelligent devices in a device information interface, wherein the device information interface is used for displaying the description information of the intelligent devices which are successfully bound and can be controlled.
Optionally, after the displaying the description information of the at least two target smart devices in the device information interface, the method further includes:
when a control instruction for any target intelligent device in the at least two target intelligent devices is detected, the control instruction is sent to the any target intelligent device through the Bluetooth connection between the target intelligent device and the any target intelligent device so as to control the any target intelligent device to execute the operation corresponding to the control instruction.
According to a second aspect of the embodiments of the present disclosure, there is provided a connection apparatus of a smart device, the apparatus including:
the receiving module is used for receiving data packets broadcasted by a plurality of intelligent devices;
the first acquisition module is used for acquiring the product identifier in each received data packet;
the selection module is used for selecting at least two target intelligent devices from the plurality of intelligent devices according to the obtained product identifiers, wherein the at least two target intelligent devices are the devices which need to be connected with the Bluetooth in the plurality of intelligent devices;
the first display module is used for displaying a Bluetooth connection prompting message, and the Bluetooth connection prompting message is used for prompting whether Bluetooth connection is simultaneously carried out with the at least two target intelligent devices;
and the connection module is used for simultaneously carrying out Bluetooth connection with the at least two target intelligent devices by using a Bluetooth mesh technology when the confirmation operation of the Bluetooth connection prompt message is detected.
Optionally, the selection module comprises:
the selection submodule is used for selecting the intelligent equipment with the product identifier being the same as the preset product identifier in the broadcasted data packet from the plurality of intelligent equipment;
a determining submodule for determining the selected smart device as the at least two target smart devices.
Optionally, the obtained product identifier is a device identifier;
the device further comprises:
the second acquisition module is used for acquiring the description information of the at least two target intelligent devices according to the device identifiers in the data packets broadcast by the at least two target intelligent devices;
correspondingly, the bluetooth connection prompting message includes description information of the at least two target smart devices.
Optionally, the apparatus further comprises:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending an information binding request to a server, the information binding request carries a user account which logs in currently and Media Access Control (MAC) addresses of at least two target intelligent devices, and the information binding request is used for indicating the server to bind the at least two target intelligent devices with the user account;
and a second sending module, configured to send a broadcast stop instruction to the at least two target intelligent devices when receiving a binding success prompt message sent by the server, where the broadcast stop instruction is used to instruct the at least two target intelligent devices to stop broadcasting the data packet.
Optionally, the apparatus further comprises:
and the second display module is used for displaying the description information of the at least two target intelligent devices in an equipment information interface, and the equipment information interface is used for displaying the description information of the intelligent devices which are successfully bound and can be controlled.
Optionally, the apparatus further comprises:
and the third sending module is used for sending the control instruction to any target intelligent device through the Bluetooth connection between the third sending module and any target intelligent device when the control instruction aiming at any target intelligent device in the at least two target intelligent devices is detected, so as to control any target intelligent device to execute the operation corresponding to the control instruction.
According to a third aspect of the embodiments of the present disclosure, there is provided a connection apparatus of a smart device, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the connection method of the smart device of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, a computer-readable storage medium is provided, where instructions are stored on the computer-readable storage medium, and the instructions are executed by a processor to perform the steps of the connection method for a smart device according to the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the connection method of a smart device according to the first aspect described above.
The technical scheme provided by the embodiment of the disclosure at least has the following beneficial effects: the embodiment of the disclosure can acquire the product identifier in each received data packet, select at least two target intelligent devices from the plurality of intelligent devices according to the acquired product identifiers, and display the bluetooth connection prompt message. Because the Bluetooth connection prompting message is used for prompting whether to simultaneously perform Bluetooth connection with at least two target intelligent devices, when the confirmation operation of the Bluetooth connection prompting message is detected, the Bluetooth mesh technology can be used for simultaneously performing Bluetooth connection with the at least two target intelligent devices, namely, the Bluetooth connection can be performed with the intelligent devices in batches through the Bluetooth mesh technology, and the efficiency of connecting the intelligent devices through the Bluetooth is improved. In addition, in the process of realizing the Bluetooth connection with the intelligent equipment, the user only needs to confirm the Bluetooth connection prompt message, so that the user operation steps are simplified, the cost is saved, and the efficiency of connecting the intelligent equipment through the Bluetooth is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of an implementation environment of a smart device connection provided by an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method of connection of a smart device in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating another method of connection of a smart device in accordance with an exemplary embodiment;
FIG. 4 is a diagram illustrating a Bluetooth connection prompting message display interface in accordance with an exemplary embodiment;
FIG. 5 is a schematic illustration of a connection progress prompt interface, according to an example embodiment;
FIG. 6 is a schematic diagram illustrating a connection success message display interface in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating a smart device connection apparatus in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating another smart device connection apparatus in accordance with an illustrative embodiment;
fig. 9 is a block diagram illustrating yet another smart device connection apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before explaining the method provided by the embodiment of the present disclosure in detail, an application scenario and an implementation environment related to the embodiment of the present disclosure are introduced.
First, an application scenario according to an embodiment of the present disclosure will be described.
In modern life, people may possess a plurality of intelligent equipment such as similar intelligent kettle, intelligent bedside lamp, intelligent flowers and plants detector, can couple together terminal and intelligent equipment through bluetooth, and then connect the control that realizes the intelligent equipment through the bluetooth. At present, the first bluetooth connection between a terminal and an intelligent device is realized, and the steps of searching for bluetooth devices, selecting available devices, initiating a bluetooth pairing request and performing bluetooth pairing need to be sequentially performed, so that the bluetooth connection between the terminal and the intelligent device can be realized after the bluetooth pairing is successful. However, the terminal can only be connected with one intelligent device through the steps once, when a user needs to perform Bluetooth connection on the terminal and a plurality of intelligent devices, the steps are repeated for many times, and the operation process is complex, the cost is high, and the connection efficiency is low.
Next, an implementation environment according to the embodiment of the present disclosure will be described.
Fig. 1 is a schematic diagram of an implementation environment of smart device connection according to an embodiment of the present disclosure. Referring to fig. 1, the implementation environment includes: the terminal 101, the intelligent device 102 and the server 103, wherein the terminal 101 and the intelligent device 102 can communicate by using a Bluetooth mesh technology, and the terminal 101 and the server 103 can communicate by wired or wireless connection. The terminal 101 may receive data packets broadcast by the plurality of intelligent devices 102, acquire a product identifier in each received data packet, select at least two target intelligent devices from the plurality of intelligent devices 102 according to the acquired product identifiers, and further display a bluetooth connection prompting message, where the bluetooth connection prompting message is used to prompt whether to perform bluetooth connection with the at least two target intelligent devices simultaneously. When the terminal 101 detects the confirmation operation of the bluetooth connection prompting message, bluetooth connection is simultaneously performed with at least two target smart devices by using a bluetooth mesh technology. After the terminal 101 performs bluetooth connection with at least two target smart devices simultaneously using the bluetooth mesh technology, it may send an information binding request to the server 103. When the server 103 receives the information binding request, the currently logged-in user account may be bound to the at least two target smart devices, so as to implement simultaneous bluetooth connection with the at least two target smart devices.
Fig. 2 is a flowchart illustrating a smart device connection method according to an exemplary embodiment, which is applied to a terminal including, but not limited to, a mobile phone, a Personal Digital Assistant (PDA), a tablet computer, a portable device (e.g., a laptop computer, a pocket computer, or a handheld computer) and the like having an operating display screen and installed with application software. As shown in fig. 2, the method includes the following steps.
In step 201, a data packet broadcast by a plurality of intelligent devices is received.
In step 202, the product identifier in each received data packet is obtained.
In step 203, at least two target smart devices are selected from the plurality of smart devices according to the obtained product identifiers, where the at least two target smart devices are devices that need to be connected via bluetooth.
In step 204, a bluetooth connection prompting message is displayed, where the bluetooth connection prompting message is used to prompt whether to perform bluetooth connection with at least two target smart devices simultaneously.
In step 205, when the confirmation operation of the bluetooth connection prompting message is detected, bluetooth connection is simultaneously performed with at least two target smart devices using the bluetooth mesh technology.
The embodiment of the disclosure can acquire the product identifier in each received data packet, select at least two target intelligent devices from the plurality of intelligent devices according to the acquired product identifiers, and display the bluetooth connection prompt message. Because the Bluetooth connection prompting message is used for prompting whether to simultaneously perform Bluetooth connection with at least two target intelligent devices, when the confirmation operation of the Bluetooth connection prompting message is detected, the Bluetooth mesh technology can be used for simultaneously performing Bluetooth connection with the at least two target intelligent devices, namely, the Bluetooth connection can be performed with the intelligent devices in batches through the Bluetooth mesh technology, and the efficiency of connecting the intelligent devices through the Bluetooth is improved. In addition, in the process of realizing the Bluetooth connection with the intelligent equipment, the user only needs to confirm the Bluetooth connection prompt message, so that the user operation steps are simplified, the cost is saved, and the efficiency of connecting the intelligent equipment through the Bluetooth is further improved.
Optionally, selecting at least two target smart devices from the plurality of smart devices according to the obtained product identifiers includes:
selecting an intelligent device with a product identifier in a broadcasted data packet being the same as a preset product identifier from a plurality of intelligent devices;
the selected smart device is determined to be at least two target smart devices.
Optionally, the obtained product identifier is a device identifier;
before displaying the bluetooth connection prompting message, the method further comprises:
acquiring description information of at least two target intelligent devices according to device identifications in data packets broadcast by the at least two target intelligent devices;
correspondingly, the bluetooth connection prompting message includes description information of at least two target intelligent devices.
Optionally, when the confirmation operation of the bluetooth connection prompting message is detected, after performing bluetooth connection with at least two target smart devices simultaneously using a bluetooth mesh technology, the method further includes:
sending an information binding request to a server, wherein the information binding request carries a currently logged user account and MAC addresses of at least two target intelligent devices, and the information binding request is used for indicating the server to bind the at least two target intelligent devices with the user account;
and when receiving a binding success prompt message sent by the server, sending a broadcast stop instruction to the at least two target intelligent devices, wherein the broadcast stop instruction is used for indicating the at least two target intelligent devices to stop broadcasting the data packet.
Optionally, after sending the information binding request to the server, the method further includes:
and displaying the description information of at least two target intelligent devices in a device information interface, wherein the device information interface is used for displaying the description information of the intelligent devices which are successfully bound and can be controlled.
Optionally, after the description information of the at least two target smart devices is displayed in the device information interface, the method further includes:
when a control instruction for any target intelligent device in at least two target intelligent devices is detected, the control instruction is sent to any target intelligent device through the Bluetooth connection between the target intelligent device and the target intelligent device so as to control any target intelligent device to execute the operation corresponding to the control instruction.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 3 is a flow chart illustrating a smart device connection method in accordance with an exemplary embodiment. The interactive main body of the method is a terminal, a server and intelligent equipment, the terminal comprises but is not limited to a mobile phone, a PDA, a tablet personal computer, a portable device (such as a portable computer, a pocket computer or a handheld computer) and other devices which are provided with application software and are provided with an operation display screen, and the intelligent equipment comprises but is not limited to intelligent equipment comprising a Bluetooth module, such as an intelligent kettle, an intelligent bedside lamp and an intelligent flower and grass detector. Referring to fig. 3, the method includes the following steps.
In step 301, a terminal receives a data packet broadcast by a plurality of intelligent devices.
Generally, the smart device directly enters a broadcast state after being powered on or reset for the first time, that is, the smart device always broadcasts data packets to the outside, and the broadcast form of the smart device may be an omnidirectional broadcast. In this way, after the terminal turns on the bluetooth function, the terminal can scan a plurality of nearby intelligent devices broadcasting data packets, so as to receive the data packets broadcasted by the plurality of intelligent devices.
The data packet broadcasted by the intelligent device may be formed by packaging description information such as a name and an icon of the intelligent device, and therefore, the related information of the intelligent device may be obtained through the data packet broadcasted by the intelligent device.
In step 302, the terminal obtains the product identifier in each received data packet.
In the embodiment of the present disclosure, the data packet broadcasted by the smart device may further include a product identifier, and the product identifier may be used to uniquely identify the manufacturer of the smart device. For example, the product Identifier may be a UUID (Universally Unique Identifier) or a company Identifier. Different intelligent devices can be identified through different UUIDs, and then the manufacturers of the intelligent devices are determined. The manufacturer of the intelligent device can be directly identified through the company identification code.
It should be noted that the data packet broadcast by the smart device may include the UUID and/or the company identification code of the smart device. In general, the data packet broadcast by the smart device may include the UUID and the company identification code of the smart device.
The implementation process of the terminal acquiring the product identifier in each received data packet may be: and the terminal analyzes each received data packet and acquires a product identifier from each analyzed data packet.
In step 303, the terminal selects at least two target smart devices from the plurality of smart devices according to the obtained product identifier, where the at least two target smart devices are devices that need to be connected via bluetooth.
Because the embodiment of the disclosure is mainly applied to the field of smart home, and in the field of smart home, the smart device is mainly controlled by the smart home application installed in the terminal, however, the device of the same manufacturer can only be controlled by the smart home application corresponding to the manufacturer, for example, the smart device of company a can only be controlled by the smart home application of company a, and the smart device of company B can only be controlled by the smart home application of company B. Therefore, in the embodiment of the present disclosure, after the terminal acquires the product identifier in each received data packet, it is necessary to select a legal smart device from the plurality of smart devices, that is, select a device belonging to the same manufacturer as the smart home application currently installed in the terminal, that is, at least two target smart devices.
Since the product identifier may be used to uniquely identify the manufacturer of the smart device, the implementation process of selecting at least two target smart devices from the plurality of smart devices according to the obtained product identifier may be: and selecting the intelligent device with the product identifier being the same as the preset product identifier in the broadcasted data packet from the plurality of intelligent devices, and determining the selected intelligent device as at least two target intelligent devices.
It should be noted that the preset product identifier may be a product identifier written in the terminal in advance, and the preset product identifier may be a preset UUID or a preset company identification code.
In general, the prefix of the UUID may identify a manufacturer of the smart device, and therefore, in an implementable manner, a smart device in which the prefix of the UUID in the broadcasted data packet is the same as the prefix of the preset UUID may be selected from the plurality of smart devices, or a smart device in which the company identification code in the broadcasted data packet is the same as the preset company identification code may be selected from the plurality of smart devices, and the selected smart device may be considered as a legitimate smart device, that is, the selected smart device may be determined as at least two target smart devices.
For example, when the plurality of smart devices include smart device a, smart device B, smart device C, and smart device D, and the packets broadcast by smart device a and smart device D include UUID and company identification code, the packets broadcast by smart device B include UUID but do not include company identification code, and the packets broadcast by smart device C include company identification code but do not include UUID. The prefix of the UUID acquired from the data packet broadcast by the smart device a is 0xFE95-, the company identifier is 0x038F, the prefix of the UUID acquired from the data packet broadcast by the smart device B is 0xFE95-, the company identifier acquired from the data packet broadcast by the smart device C is 0x038F, the prefix of the UUID acquired from the data packet broadcast by the smart device D is 0xFE98-, and the company identifier is 0x 039F. Supposing that when the preset product identifier is a preset UUID, the prefix of the preset UUID is 0xFE95 —, and when the preset product identifier is a preset company identification code, the preset company identification code is 0x038F, the obtained prefix of the UUID is compared with the prefix of the preset UUID, or the obtained company identification code is compared with the preset company identification code, after comparison, it is found that the smart device a, the smart device B, and the smart device C are legal devices, and only the smart device D is an illegal device, and the result after comparison can be represented by the following table 1. Smart device a, smart device B, and smart device C may thus be determined as target smart devices.
TABLE 1
Intelligent device UUID prefix Prefix of company identification code Validity of
Intelligent device A 0xFE95- 0x038F- Legal system
Intelligent equipment B 0xFE95- - Legal system
Intelligent equipment C - 0x038F- Legal system
Intelligent device D 0xFE98- 0x039F- Is illegal
In step 304, the terminal obtains description information of at least two target smart devices according to the device identifiers in the data packets broadcast by the at least two target smart devices.
Since the obtained product identifier may be a device identifier and the device identifier may be at least a UUID of the smart device, in order to facilitate a user to know which device the at least two target smart devices are, the terminal may obtain description information of the at least two target smart devices according to the device identifiers in the data packets broadcast by the at least two target smart devices. The description information of the target smart device may include a device identifier, a name, an icon, a model number, and the like of the target smart device.
Generally, the server may also store description information of each smart device belonging to the same manufacturer, and in order to reduce signaling overhead between the terminal and the server and improve information acquisition messages, the terminal may further synchronize the description information stored in the server, that is, the terminal may store the description information of each smart device belonging to the same manufacturer in the smart home application.
In step 305, the terminal displays a bluetooth connection prompting message, where the bluetooth connection prompting message is used to prompt whether to perform bluetooth connection with at least two target smart devices simultaneously, and the bluetooth connection prompting message includes description information of the at least two target smart devices.
It should be noted that step 304 is an optional step, and thus, whether the bluetooth alert message includes the description information of at least two target smart devices is also optional. When the bluetooth connection prompting message includes the description information of at least two target intelligent devices, the terminal displays the description information of the at least two target intelligent devices, which may include at least the following two ways.
The first mode is as follows: the terminal may display the description information of at least two target smart devices on the same interface in a tiled or list format.
It should be noted that, when the first mode is used for displaying, the full selection option and the connection confirmation option may be displayed on the display interface. When the user clicks the full selection option, the terminal may select all target smart devices displayed on the interface. When the user clicks the connection confirmation option again, the terminal can determine that the user needs to perform bluetooth connection between all target intelligent devices displayed on the interface and the terminal.
Optionally, after the user clicks the full selection option, a cancel operation may be performed on the selected target smart device.
The second mode is as follows: the terminal may display the descriptive information of the at least two target smart devices in a scrolling manner.
It should be noted that, when the second mode is used for displaying, only the description information of one target smart device may be displayed on one display interface. The user can click the target intelligent device displayed on the current interface, and then slide to the next interface, so that the target intelligent device which needs to be connected with the terminal in a Bluetooth mode at present is selected.
In the embodiments of the present disclosure, only the two display modes are described as examples, and the two display modes are not intended to limit the embodiments of the present disclosure.
For example, the description information of four target intelligent devices including the intelligent air purifier, the intelligent ceiling lamp, the intelligent bedside lamp and the intelligent sweeper is acquired in step 304. In this way, the terminal may display a bluetooth connection prompting message interface as shown in fig. 4, in which a prompting message of "find 4 new smart devices" and an "all connected" option are displayed. When the user clicks the 'all connection' option, it can be determined that the user needs to perform bluetooth connection with the four pieces of intelligent equipment through the terminal at the same time, and at this time, the terminal can determine that the confirmation operation on the bluetooth connection prompt message is detected. Certainly, names and icons of the four intelligent devices can be displayed in the bluetooth connection prompting message, each intelligent device is further provided with a selection option, and a user can select a part of devices needing bluetooth connection through the terminal from the four intelligent devices and then click on the 'all connection' option. At this time, it may be determined that the user only needs to perform bluetooth connection with some of the four smart devices through the terminal, and the terminal may determine that a confirmation operation for the bluetooth connection prompting message is detected.
In step 306, when the terminal detects the confirmation operation of the bluetooth connection prompting message, bluetooth connection is performed with at least two target smart devices simultaneously using the bluetooth mesh technology.
It should be noted that the confirmation operation may be triggered by the user, and the confirmation operation is used to indicate that bluetooth connection is currently required for at least two target smart devices.
In addition, the bluetooth mesh technology is a wireless communication technology based on bluetooth low energy, which can establish a many-to-many relationship between wireless devices, and the bluetooth mesh technology has multiple channels, and can effectively avoid co-channel interference of multiple devices, so that after the bluetooth mesh technology is adopted to perform bluetooth connection with at least two target intelligent devices simultaneously, a mesh network can be formed, and a terminal can simultaneously communicate with the at least two target intelligent devices through the mesh network, thereby improving the control efficiency of the target intelligent devices.
Further, after the terminal detects the confirmation operation of the bluetooth connection prompting message, the terminal and at least two target intelligent devices can be simultaneously connected in a bluetooth mode, and in the process of bluetooth connection, in order to inform a user of the current connection progress, the terminal can also display the connection progress prompting message.
Continuing with the above example, at least two target smart devices include four target smart devices, namely, a smart air purifier, a smart ceiling lamp, a smart bedside lamp and a smart sweeper, when the terminal is in bluetooth connection with the four target smart devices, a connection progress prompting interface as shown in fig. 5 can be displayed, a connection progress prompting message is displayed in the connection progress prompting interface, the connection progress prompting message includes description information of the target smart device currently being connected, namely, an icon and a name of the smart air purifier, and a current connection progress "being connected (1/4)", namely, a first smart device of the four target smart devices is currently being connected. In addition, the connection progress prompting message also comprises a background connection option, namely, the connection with the four target intelligent devices can be put into the background for running, and the operation of the user on other applications is not influenced. Further, after the terminal is successfully connected to the four target smart devices via bluetooth, a connection success message display interface as shown in fig. 6 may be displayed, where a connection success prompt message indicating that the connection of the 4 devices is successful and a "complete" option are displayed on the connection success message display interface. When the user clicks the "done" option, the terminal may jump to the bluetooth control interface or other control interface. Of course, the connection success prompt message interface may also display names and icons of the four pieces of smart devices, and the user may know which target smart devices the terminal has established bluetooth connection with through the names and icons.
After the terminal establishes the bluetooth connection with the at least two target smart devices through the steps 301 to 306, in order to avoid the other terminal from establishing the bluetooth connection with the at least two target smart devices, the terminal may control the at least two target smart devices to stop broadcasting the data packet through the steps 307 to 310, and further prohibit the other terminal from establishing the bluetooth connection with the at least two target smart devices.
In step 307, the terminal sends an information binding request to the server, where the information binding request carries a currently logged-in user account and MAC addresses of at least two target smart devices.
After the terminal establishes bluetooth connection with at least two target intelligent devices, the terminal can acquire the MAC addresses of the at least two target intelligent devices, and the MAC addresses have global uniqueness, that is, the MAC addresses can uniquely identify one intelligent device, so that the terminal can send an information binding request to the server to uniquely identify the at least two target intelligent devices through the MAC addresses carried in the information binding request.
In step 308, when the server receives the information binding request sent by the terminal, the server binds at least two target smart devices with the user account, and sends a binding success prompt message to the terminal.
Because the information binding request sent by the terminal to the server carries the currently logged-in user account and the MAC addresses of the at least two target intelligent devices, and the MAC addresses have global uniqueness, when the server receives the information binding request sent by the terminal, the at least two target intelligent devices can be bound with the user account carried in the information binding request at the same time. And then, a binding success message can be sent to the terminal, so that the terminal is prompted that the at least two target intelligent devices are successfully bound with the user account carried in the information binding request.
In a possible implementation manner, MAC addresses of at least two target smart devices and the user account carried in the information binding request may be correspondingly stored, so as to implement binding between the at least two target smart devices and the user account carried in the information binding request.
For example, the MAC addresses of the at least two target smart devices are address 2 and address 3, respectively, and the user account carried in the information binding request is account 12, at this time, the server may correspondingly store the MAC addresses of the at least two target smart devices and the user account carried in the information binding request into a corresponding relationship shown in table 2 below.
TABLE 2
Figure BDA0001675372900000141
In the embodiments of the present disclosure, only the correspondence relationships shown in table 2 are described as examples, and table 2 does not limit the embodiments of the present disclosure.
The terminal can establish Bluetooth connection with at least two target intelligent devices simultaneously by adopting the method, so that the server can also bind the at least two target intelligent devices under the same user account simultaneously without respectively binding the at least two target intelligent devices through repeated actions. Therefore, the signaling overhead between the terminal and the server can be saved, and the data processing pressure of the server can be reduced.
In step 309, when the terminal receives the binding success prompt message sent by the server, it sends a broadcast stop instruction to at least two target smart devices.
It should be noted that, when the terminal receives the binding success prompt message sent by the server, the terminal may send the broadcast stop instruction to at least two target intelligent devices at the same time, or send the broadcast stop instruction to at least two target intelligent devices one by one. The embodiments of the present disclosure are not limited thereto.
Since the terminal and the at least two target intelligent devices have established bluetooth connection, the terminal can send a broadcast stop instruction to the at least two target intelligent devices through the bluetooth connection between the terminal and the at least two target intelligent devices.
In step 310, when the at least two target smart devices receive the broadcast stop instruction sent by the terminal, the broadcast data packet is stopped.
Because the intelligent device entering the broadcast state always broadcasts the data packet to the outside, that is, the intelligent device entering the broadcast state is in the state to be connected, when the terminal is connected to the intelligent device, the intelligent device may stop broadcasting. Therefore, after the terminal is connected to the at least two target intelligent devices, the broadcast stop instruction can be sent to the at least two target intelligent devices, and the at least two target intelligent devices stop broadcasting the data packet after receiving the broadcast stop instruction, so that resource waste is avoided, and other terminals are also avoided from being connected to the at least two target intelligent devices.
The implementation manner of the at least two target smart devices stopping broadcasting the data packet may be: the at least two target intelligent devices close the Bluetooth function of the at least two target intelligent devices to stop broadcasting the data packet outwards.
After the at least two target smart devices are bound to the user account carried in the information binding request through the steps 307 and 308, the terminal currently logging in the user account obtains the usage right and the operation right of the at least two target smart devices, so that the terminal can control the at least two target smart devices after the binding operation is completed.
That is, when the terminal receives the binding success message sent by the server, the description information of at least two target intelligent devices may be displayed in the device information interface, and the device information interface is used to display the description information of the intelligent devices that are successfully bound and can be controlled. When the terminal detects a control instruction for any target intelligent device in at least two target intelligent devices, the control instruction is sent to any target intelligent device through Bluetooth connection between the terminal and any target intelligent device. And when any target intelligent device receives the control instruction sent by the terminal, executing the operation corresponding to the control instruction.
In step 308, when the server receives the information binding request sent by the terminal, the server binds the at least two target intelligent devices with the user account carried in the information binding request, and sends a binding success prompt message to the terminal, so that when the terminal receives the binding success prompt message, the server can display the description information of the at least two target intelligent devices and control options capable of controlling the at least two target intelligent devices. In this way, when a user needs to control any one of the at least two target smart devices, one of the displayed control options may be selected, so as to trigger a control instruction for the any one target smart device. Therefore, the terminal can send a control instruction to any target intelligent device through the Bluetooth mesh network between the terminal and the target intelligent device, and the control instruction carries control operation. And when any target intelligent device receives the control instruction, executing the control operation corresponding to the control instruction.
When the user executes the use right and the operation right of the target intelligent device through the terminal, only simple click operation needs to be carried out on the interface of the terminal, so that the operation process is simplified, and the operation cost and the understanding cost of the user are reduced. In addition, the user only needs to perform simple clicking operation on the interface of the terminal to execute the use right and the operation right of the target intelligent device through the terminal, so that the application range of the intelligent device is expanded.
It should be noted that, after the server sends the binding success prompt message to the terminal, the terminal may control the at least two target smart devices to stop broadcasting the data packet through the steps 309 and 310, and then control the at least two target smart devices. Of course, the terminal may control the at least two target intelligent devices first, and then control the at least two target intelligent devices to stop broadcasting the data packet through the step 309 and the step 310, that is, the sequence of the control process is not limited in this disclosure.
In the embodiment of the disclosure, when the terminal receives the data packets broadcast by the plurality of intelligent devices, the product identifier in each data packet may be acquired, and at least two target intelligent devices are selected from the plurality of intelligent devices according to the acquired product identifiers, so as to display the bluetooth connection prompt message. Because the Bluetooth connection prompting message is used for prompting whether to simultaneously perform Bluetooth connection with at least two target intelligent devices, when the confirmation operation of the Bluetooth connection prompting message is detected, the Bluetooth mesh technology can be used for simultaneously performing Bluetooth connection with the at least two target intelligent devices, namely, the Bluetooth connection with the intelligent devices can be performed in batches through the Bluetooth mesh technology, the Bluetooth connection time is greatly reduced, and the efficiency of connecting the intelligent devices through the Bluetooth is improved. In addition, in the process of realizing the Bluetooth connection with the intelligent equipment, the user only needs to confirm the Bluetooth connection prompt message, so that the user operation steps are simplified, the cost is saved, and the efficiency of connecting the intelligent equipment through the Bluetooth is further improved. Furthermore, because some intelligent devices are provided with the bluetooth broadcast time limit, that is, after the set time limit is exceeded, the intelligent devices do not broadcast data packets any more, so that in order to avoid the problem that the bluetooth connection fails because the bluetooth broadcast time limit set for some intelligent devices is exceeded, the embodiment of the present disclosure adopts the bluetooth mesh technology to perform bluetooth connection with at least two target intelligent devices simultaneously, so that the problem that the bluetooth connection fails can be avoided.
Fig. 7 is a block diagram illustrating an apparatus for smart device connection according to an example embodiment. Referring to fig. 7, the apparatus includes a receiving module 701, a first obtaining module 702, a selecting module 703, a first displaying module 704, and a connecting module 705.
A receiving module 701, configured to receive a data packet broadcast by multiple intelligent devices;
a first obtaining module 702, configured to obtain a product identifier in each received data packet;
a selecting module 703, configured to select at least two target smart devices from the multiple smart devices according to the obtained product identifier, where the at least two target smart devices are devices that need to be connected via bluetooth;
the first display module 704 is configured to display a bluetooth connection prompting message, where the bluetooth connection prompting message is used to prompt whether to perform bluetooth connection with at least two target smart devices at the same time;
the connection module 705 is configured to, when a confirmation operation of the bluetooth connection prompting message is detected, perform bluetooth connection with at least two target smart devices simultaneously using a bluetooth mesh technology.
Optionally, the selecting module 703 comprises:
the selection submodule is used for selecting the intelligent equipment with the product identifier being the same as the preset product identifier in the broadcasted data packet from the plurality of intelligent equipment;
a determining submodule for determining the selected smart device as at least two target smart devices.
Optionally, the obtained product identifier is a device identifier, and the apparatus further includes:
the second acquisition module is used for acquiring the description information of the at least two target intelligent devices according to the device identifiers in the data packet broadcast by the at least two target intelligent devices;
correspondingly, the bluetooth connection prompting message includes description information of at least two target intelligent devices.
Optionally, the apparatus further comprises:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending an information binding request to a server, the information binding request carries a currently logged user account and MAC addresses of at least two target intelligent devices, and the information binding request is used for indicating the server to bind the at least two target intelligent devices with the user account;
and the second sending module is used for sending a broadcast stopping instruction to the at least two pieces of intelligent equipment when receiving the binding success prompt message sent by the server, wherein the broadcast stopping instruction is used for indicating the at least two pieces of target intelligent equipment to stop broadcasting the data packet.
Optionally, the apparatus further comprises:
and the second display module is used for displaying the description information of at least two target intelligent devices in the device information interface, and the device information interface is used for displaying the description information of the intelligent devices which are successfully bound and can be controlled.
Optionally, the apparatus further comprises:
and the third sending module is used for sending the control instruction to any target intelligent device through the Bluetooth connection with any target intelligent device when the control instruction for any target intelligent device in the at least two target intelligent devices is detected so as to control any target intelligent device to execute the operation corresponding to the control instruction.
The embodiment of the disclosure can acquire the product identifier in each received data packet, select at least two target intelligent devices from the plurality of intelligent devices according to the acquired product identifiers, and display the bluetooth connection prompt message. Because the Bluetooth connection prompting message is used for prompting whether to simultaneously perform Bluetooth connection with at least two target intelligent devices, when the confirmation operation of the Bluetooth connection prompting message is detected, the Bluetooth mesh technology can be used for simultaneously performing Bluetooth connection with the at least two target intelligent devices, namely, the Bluetooth connection can be performed with the intelligent devices in batches through the Bluetooth mesh technology, and the efficiency of connecting the intelligent devices through the Bluetooth is improved. In addition, in the process of realizing the Bluetooth connection with the intelligent equipment, the user only needs to confirm the Bluetooth connection prompt message, so that the user operation steps are simplified, the cost is saved, and the efficiency of connecting the intelligent equipment through the Bluetooth is further improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating a smart device connection apparatus 800 in accordance with an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the intelligent device connection method provided by the embodiments shown in fig. 2 or fig. 3 and described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the smart device connection method provided in the embodiment shown in fig. 2 or fig. 3.
A computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the smart device connection method provided in the embodiments of fig. 2 or 3 above.
Fig. 9 is a block diagram illustrating a smart device connection apparatus 900 according to an example embodiment. For example, the apparatus 900 may be provided as a server. Referring to fig. 9, the apparatus 900 includes a processor 922, which further includes one or more processors, and memory resources, represented by memory 932, for storing instructions, such as applications, that are executable by the processor 922. The application programs stored in memory 932 may include one or more modules that each correspond to a set of instructions. Further, the processor 922 is configured to execute instructions to perform the smart device connection method provided by the embodiment shown in fig. 3.
The device 900 may also include a power component 926 configured to perform power management of the device 900, a wired or wireless network interface 950 configured to connect the device 900 to a network, and an input output (I/O) interface 958. The apparatus 900 may operate based on an operating system stored in the memory 932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 932 that includes instructions, which are executable by the processor 922 of the device 900 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of a server, enable the server to perform the smart device connection method provided by the embodiment shown in fig. 3.
A computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the smart device connection method provided in the embodiment of fig. 3 above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A connection method of an intelligent device, the method comprising:
receiving data packets broadcast by a plurality of intelligent devices;
acquiring a product identifier in each received data packet;
selecting at least two target intelligent devices from the plurality of intelligent devices according to the obtained product identifiers, wherein the at least two target intelligent devices are the devices which need to be connected with the Bluetooth in the plurality of intelligent devices;
displaying a Bluetooth connection prompting message, wherein the Bluetooth connection prompting message is used for prompting whether to simultaneously perform Bluetooth connection with the at least two target intelligent devices;
when the confirmation operation of the Bluetooth connection prompting message is detected, Bluetooth connection is simultaneously carried out with the at least two target intelligent devices by using a Bluetooth wireless mesh network mesh technology;
sending an information binding request to a server, wherein the information binding request carries a currently logged-in user account and Media Access Control (MAC) addresses of the at least two target intelligent devices, and the information binding request is used for indicating the server to bind the at least two target intelligent devices with the user account;
and when receiving a binding success prompt message sent by the server, sending a broadcast stop instruction to the at least two target intelligent devices, wherein the broadcast stop instruction is used for indicating the at least two target intelligent devices to stop broadcasting the data packet.
2. The method of claim 1, wherein selecting at least two target smart devices from the plurality of smart devices based on the obtained product identifiers comprises:
selecting an intelligent device with a product identifier which is the same as a preset product identifier in a broadcasted data packet from the plurality of intelligent devices;
determining the selected smart device as the at least two target smart devices.
3. The method of claim 1, wherein the obtained product identifier is a device identification;
before the bluetooth connection prompting message is displayed, the method further comprises:
acquiring description information of the at least two target intelligent devices according to the device identifiers in the data packets broadcast by the at least two target intelligent devices;
correspondingly, the bluetooth connection prompting message includes description information of the at least two target smart devices.
4. The method of claim 1, wherein after sending the information binding request to the server, further comprising:
and displaying the description information of the at least two target intelligent devices in a device information interface, wherein the device information interface is used for displaying the description information of the intelligent devices which are successfully bound and can be controlled.
5. The method of claim 4, wherein after displaying the description information of the at least two target smart devices in the device information interface, further comprising:
when a control instruction for any target intelligent device in the at least two target intelligent devices is detected, the control instruction is sent to the any target intelligent device through the Bluetooth connection between the target intelligent device and the any target intelligent device so as to control the any target intelligent device to execute the operation corresponding to the control instruction.
6. A connection device of a smart device, the connection device comprising:
the receiving module is used for receiving data packets broadcasted by a plurality of intelligent devices;
the first acquisition module is used for acquiring the product identifier in each received data packet;
the selection module is used for selecting at least two target intelligent devices from the plurality of intelligent devices according to the obtained product identifiers, wherein the at least two target intelligent devices are the devices which need to be connected with the Bluetooth in the plurality of intelligent devices;
the first display module is used for displaying a Bluetooth connection prompting message, and the Bluetooth connection prompting message is used for prompting whether Bluetooth connection is simultaneously carried out with the at least two target intelligent devices;
the connection module is used for simultaneously carrying out Bluetooth connection with the at least two target intelligent devices by using a Bluetooth wireless mesh network mesh technology when the confirmation operation of the Bluetooth connection prompt message is detected;
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending an information binding request to a server, the information binding request carries a user account which logs in currently and Media Access Control (MAC) addresses of at least two target intelligent devices, and the information binding request is used for indicating the server to bind the at least two target intelligent devices with the user account;
and a second sending module, configured to send a broadcast stop instruction to the at least two target intelligent devices when receiving a binding success prompt message sent by the server, where the broadcast stop instruction is used to instruct the at least two target intelligent devices to stop broadcasting the data packet.
7. The apparatus of claim 6, wherein the selection module comprises:
the selection submodule is used for selecting the intelligent equipment with the product identifier being the same as the preset product identifier in the broadcasted data packet from the plurality of intelligent equipment;
a determining submodule for determining the selected smart device as the at least two target smart devices.
8. The apparatus of claim 6, wherein the obtained product identifier is a device identification;
the device further comprises:
the second acquisition module is used for acquiring the description information of the at least two target intelligent devices according to the device identifiers in the data packets broadcast by the at least two target intelligent devices;
correspondingly, the bluetooth connection prompting message includes description information of the at least two target smart devices.
9. The apparatus of claim 6, further comprising:
and the second display module is used for displaying the description information of the at least two target intelligent devices in an equipment information interface, and the equipment information interface is used for displaying the description information of the intelligent devices which are successfully bound and can be controlled.
10. The apparatus of claim 9, further comprising:
and the third sending module is used for sending the control instruction to any target intelligent device through the Bluetooth connection between the third sending module and any target intelligent device when the control instruction aiming at any target intelligent device in the at least two target intelligent devices is detected, so as to control any target intelligent device to execute the operation corresponding to the control instruction.
11. A connection device of a smart device, the connection device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 1-5.
12. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 1-5.
CN201810523298.2A 2018-05-28 2018-05-28 Connection method and device of intelligent equipment and storage medium Active CN108810861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810523298.2A CN108810861B (en) 2018-05-28 2018-05-28 Connection method and device of intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810523298.2A CN108810861B (en) 2018-05-28 2018-05-28 Connection method and device of intelligent equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108810861A CN108810861A (en) 2018-11-13
CN108810861B true CN108810861B (en) 2021-06-04

Family

ID=64090471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810523298.2A Active CN108810861B (en) 2018-05-28 2018-05-28 Connection method and device of intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108810861B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049476B (en) * 2019-04-22 2023-05-26 深圳绿米联创科技有限公司 Equipment pushing method, device, mobile terminal and storage medium
CN110177362B (en) * 2019-05-24 2023-02-03 广东美的制冷设备有限公司 Equipment binding method and device and electronic equipment
CN110266885B (en) * 2019-06-21 2021-06-08 维沃移动通信有限公司 Binding method of terminal and terminal
CN110839271B (en) * 2019-09-25 2022-08-30 阿里巴巴集团控股有限公司 Equipment connection method, system, platform and corresponding equipment
CN110796419A (en) * 2019-11-04 2020-02-14 上海庆科信息技术有限公司 Intelligent warehouse management method and device, electronic equipment and storage medium
CN110996305B (en) * 2019-11-12 2024-01-05 宇龙计算机通信科技(深圳)有限公司 Method and device for connecting Bluetooth equipment, electronic equipment and medium
CN111083545B (en) * 2019-11-18 2022-04-15 北京小米移动软件有限公司 Remote operation control method, remote operation control device, and storage medium
CN111473483A (en) * 2020-03-02 2020-07-31 珠海格力电器股份有限公司 Intelligent household control method and device, electronic equipment and computer readable medium
CN111464990B (en) * 2020-03-31 2021-10-22 联想(北京)有限公司 Information processing method and first device
CN111629366B (en) * 2020-04-27 2023-06-09 Oppo(重庆)智能科技有限公司 Interaction method and device between Bluetooth devices, storage medium and electronic device
CN111682990A (en) * 2020-04-27 2020-09-18 深圳星普森信息技术有限公司 Intelligent household system equipment access control method and system based on Bluetooth scattering network networking
CN111615090B (en) * 2020-04-27 2023-07-14 Oppo(重庆)智能科技有限公司 Interaction method and device between Bluetooth devices, storage medium and electronic device
CN111641996B (en) * 2020-06-16 2022-09-27 青岛亿联客信息技术有限公司 Equipment network access method and device based on Bluetooth Mesh network, and storage medium
CN111641997B (en) * 2020-06-16 2023-03-10 青岛亿联客信息技术有限公司 Equipment network access method and device based on Bluetooth Mesh network, and storage medium
CN111741514B (en) * 2020-07-02 2022-05-20 青岛亿联客信息技术有限公司 Network access information configuration method and device
CN111885144B (en) * 2020-07-20 2022-09-16 青岛易来智能科技股份有限公司 Equipment binding method and device
CN112689274B (en) * 2020-12-22 2023-10-24 未来穿戴技术有限公司 Prompting method and device for short-distance wireless communication connection and massaging equipment
CN113038450B (en) * 2021-03-15 2023-08-18 Oppo广东移动通信有限公司 Terminal control method, device, control module and mobile terminal
CN114071439B (en) * 2021-11-15 2023-10-27 宁波奥克斯电气股份有限公司 Bluetooth remote controller and multi-device pairing method, device and storage medium
CN116170784A (en) * 2021-11-25 2023-05-26 华为技术有限公司 Data transmission method and communication system
WO2023173364A1 (en) * 2022-03-17 2023-09-21 Oppo广东移动通信有限公司 Device binding method and apparatus, and device, storage medium and program product
CN115884145A (en) * 2022-11-24 2023-03-31 重庆长安汽车股份有限公司 Networking method of Bluetooth equipment and application of single/multiple Bluetooth equipment vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104330996A (en) * 2014-11-24 2015-02-04 小米科技有限责任公司 Remote control method and device
CN104898449A (en) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 Smart home system and control method thereof
CN105022276A (en) * 2015-06-03 2015-11-04 泰凌微电子(上海)有限公司 Smart home system and data interaction method thereof
CN108064034A (en) * 2017-11-17 2018-05-22 芯海科技(深圳)股份有限公司 A kind of data collection network method of mesh networkings

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10063439B2 (en) * 2014-09-09 2018-08-28 Belkin International Inc. Coordinated and device-distributed detection of abnormal network device operation
US9629113B2 (en) * 2015-02-09 2017-04-18 Yuxing Ren Information broadcasting and interaction system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104330996A (en) * 2014-11-24 2015-02-04 小米科技有限责任公司 Remote control method and device
CN105022276A (en) * 2015-06-03 2015-11-04 泰凌微电子(上海)有限公司 Smart home system and data interaction method thereof
CN104898449A (en) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 Smart home system and control method thereof
CN108064034A (en) * 2017-11-17 2018-05-22 芯海科技(深圳)股份有限公司 A kind of data collection network method of mesh networkings

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于蓝牙4.0的自组网家庭控制系统的研究与设计;刘丽萍;《中国优秀硕士学位论文全文数据库》;20160815;全文 *

Also Published As

Publication number Publication date
CN108810861A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN108810861B (en) Connection method and device of intelligent equipment and storage medium
CN108809968B (en) Equipment sharing method, device and storage medium
CN108520746B (en) Method and device for controlling intelligent equipment through voice and storage medium
CN108831448B (en) Method and device for controlling intelligent equipment through voice and storage medium
EP3171549B1 (en) Smart device grouping system, method and apparatus
US10178606B2 (en) Message transmission method, message reception method and apparatus and storage medium
CN105487389B (en) Method and device for controlling intelligent equipment
JP6423445B2 (en) Multimedia data reproduction method, apparatus and system
JP6186508B2 (en) Network connection method and terminal
US9769667B2 (en) Methods for controlling smart device
US20170243475A1 (en) Methods and devices for binding a remote control
JP2017525067A (en) Method, apparatus, system, program and recording medium for managing control relationship between account and device
US20170048078A1 (en) Method for controlling device and the device thereof
EP3291539A2 (en) Device control method and apparatus
JP6383109B2 (en) Network connection method, network connection device, terminal, communication device, network connection system, program, and recording medium
JP6122558B2 (en) COMMUNICATION METHOD, COMMUNICATION DEVICE, PROGRAM, AND RECORDING MEDIUM
CN106385351B (en) Control method and device of intelligent household equipment
JP2017507437A (en) Method for adjusting operating state of smart home equipment, apparatus, program, and recording medium
WO2020097845A1 (en) Method and device for using network slice
CN108848484B (en) Equipment sharing method, device and storage medium
CN107071862B (en) Account number binding method and device and intelligent equipment
CN111031002B (en) Broadcast discovery method, broadcast discovery device, and storage medium
CN108810866B (en) Method and device for connecting intelligent equipment and storage medium
JP2017514428A (en) Network connection method, apparatus, program, and recording medium
WO2020097783A1 (en) Resource configuration method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant