CN108494642B - Intelligent equipment grouping method, device and system and intelligent equipment - Google Patents

Intelligent equipment grouping method, device and system and intelligent equipment Download PDF

Info

Publication number
CN108494642B
CN108494642B CN201810273407.XA CN201810273407A CN108494642B CN 108494642 B CN108494642 B CN 108494642B CN 201810273407 A CN201810273407 A CN 201810273407A CN 108494642 B CN108494642 B CN 108494642B
Authority
CN
China
Prior art keywords
intelligent
grouped
devices
scanning
geographic area
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
CN201810273407.XA
Other languages
Chinese (zh)
Other versions
CN108494642A (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
Beijing Smartmi Technology Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Beijing Smartmi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd, Beijing Smartmi Technology Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810273407.XA priority Critical patent/CN108494642B/en
Publication of CN108494642A publication Critical patent/CN108494642A/en
Application granted granted Critical
Publication of CN108494642B publication Critical patent/CN108494642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number

Landscapes

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

Abstract

The disclosure relates to an intelligent device grouping method, an intelligent device grouping device, an intelligent device grouping system and intelligent devices, belongs to the field of intelligent home furnishing, and can complete grouping of intelligent devices to be grouped, wherein the grouping is beneficial to a home environment. The intelligent device grouping method comprises the following steps: acquiring an external network IP address of intelligent equipment to be grouped; determining all intelligent devices to be grouped in the same geographic area according to the external network IP address; acquiring connection identifiers of all intelligent devices to be grouped in the same geographic area; acquiring scanning results of all intelligent devices to be grouped in the same geographic area on peripheral intelligent devices; and when the scanning result indicates that the scanned connection identifier of the intelligent device to be grouped is the connection identifier of the intelligent device to be grouped in the same geographic area and the signal strength of the scanned intelligent device meets a preset signal threshold, aggregating the intelligent device to be grouped which performs scanning and the scanned intelligent device to be grouped in the same group.

Description

Intelligent equipment grouping method, device and system and intelligent equipment
Technical Field
The present disclosure relates to the field of smart homes, and in particular, to a method, an apparatus, a system and a smart device for grouping smart devices.
Background
In the related art, a method for grouping smart devices in a smart home includes: transmitting transmission power to each selected intelligent device; acquiring signal strength information fed back by each intelligent device, wherein the signal strength information is generated by the intelligent device by using the signal strength of the signal and the identifier of the intelligent device sending the signal after receiving the signal, and the signal is broadcasted by the intelligent device sending the signal according to the transmitting power; and grouping the selected intelligent devices according to the signal strength information sent by the intelligent devices.
However, the above-described grouping scheme requires a separate device for transmitting signals, and the location of the separate device may greatly interfere with the final grouping result.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides an intelligent device grouping method, apparatus, system and intelligent device.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for grouping smart devices, including: acquiring an external network IP address of intelligent equipment to be grouped; determining all intelligent devices to be grouped in the same geographic area according to the external network IP address; acquiring connection identifiers of all intelligent devices to be grouped in the same geographic area; acquiring scanning results of all intelligent devices to be grouped in the same geographic area on peripheral intelligent devices; and when the scanning result indicates that the scanned connection identifier of the intelligent device to be grouped is the connection identifier of the intelligent device to be grouped in the same geographic area and the signal strength of the scanned intelligent device meets a preset signal threshold, aggregating the intelligent device to be grouped which performs scanning and the scanned intelligent device to be grouped in the same group.
Optionally, the determining, according to the external network IP address, all the to-be-grouped intelligent devices in the same geographic area includes: and determining the intelligent devices to be grouped with the same external network IP address to be in the same geographic area.
Optionally, the obtaining connection identifiers of all to-be-grouped smart devices in the same geographic area includes: sending a command for establishing a WiFi hotspot and sending a WiFi hotspot connection identifier to all intelligent devices to be grouped in the same geographic area, and receiving the WiFi hotspot connection identifier sent by the intelligent devices to be grouped which establish the WiFi hotspot; or sending a command for opening the Bluetooth and sending the Bluetooth connection identifier to all the intelligent devices to be grouped in the same geographic area, and receiving the Bluetooth connection identifier sent by the intelligent devices to be grouped with the Bluetooth opened.
Optionally, the obtaining of the scanning result of each to-be-grouped intelligent device in the same geographic area to the surrounding intelligent devices includes: sending connection identifiers of all intelligent devices to be grouped in the same geographical area to all intelligent devices to be grouped in the same geographical area, and receiving a scanning result which is sent by the intelligent devices to be grouped in the same geographical area, indicates that the scanned connection identifiers of the intelligent devices to be grouped are the connection identifiers of the intelligent devices to be grouped in the same geographical area, and indicates that the signal intensity of the scanned intelligent devices meets a preset signal threshold; or receiving scanning information sent by each intelligent device to be grouped in the same geographical area, and analyzing the scanning information to obtain a scanning result which indicates whether the scanned connection identifier of the intelligent device to be grouped is the connection identifier of the intelligent device to be grouped in the same geographical area and the signal strength of the scanned intelligent device meets a preset signal threshold.
Optionally, when the scanning result indicates that the scanned connection identifier of the smart device is a connection identifier of a smart device to be grouped in the same geographic area and the signal strength of the scanned smart device meets a preset signal threshold, aggregating the smart device to be grouped that performs scanning and the scanned smart device to be grouped in the same group includes: when the scanning result indicates that the scanned connection identifier of the intelligent device to be grouped is the connection identifier of the intelligent device to be grouped in the same geographic area and the signal intensity of the scanned intelligent device meets a preset signal threshold, dividing the intelligent device to be grouped which performs scanning and the scanned intelligent device to be grouped into the same group; and displaying the intelligent devices to be grouped and scanned which are divided into the same group and perform scanning on the same display interface.
Optionally, after determining all the to-be-grouped intelligent devices in the same geographic area according to the external network IP address, the method further includes: acquiring gateway addresses of all intelligent devices to be grouped in the same geographic area; and based on the gateway address, subdividing the same geographic area determined in the step of determining all intelligent devices to be grouped in the same geographic area according to the external network IP address.
According to a second aspect of the embodiments of the present disclosure, there is provided an intelligent device grouping apparatus, including: the external network IP address acquisition module is used for acquiring the external network IP address of the intelligent equipment to be grouped; the geographic area determining module is used for determining all the intelligent devices to be grouped in the same geographic area according to the external network IP address; the connection identifier acquisition module is used for acquiring connection identifiers of all intelligent devices to be grouped in the same geographic area; the scanning result acquisition module is used for acquiring the scanning results of all intelligent devices to be grouped in the same geographic area to the surrounding intelligent devices; and the aggregation module is used for aggregating the intelligent devices to be grouped and the scanned intelligent devices to be grouped, which execute scanning, into the same group when the scanning result indicates that the connection identifiers of the scanned intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographic area and the signal strength of the scanned intelligent devices meets a preset signal threshold.
Optionally, the geographic area determining module includes a geographic area determining submodule, configured to determine that the intelligent devices to be grouped that have the same external network IP address are in the same geographic area.
Optionally, the connection identifier obtaining module includes: the first sending submodule is used for sending a command of establishing a WiFi hotspot and sending a WiFi hotspot connection identifier to all the intelligent devices to be grouped in the same geographic area; the first receiving submodule is used for receiving the WiFi hotspot connection identification sent by the intelligent equipment to be grouped, which establishes the WiFi hotspot; or the second sending submodule is used for sending a command of opening the Bluetooth and sending the Bluetooth connection identifier to all the intelligent devices to be grouped in the same geographical area; and the second receiving submodule is used for receiving the Bluetooth connection identifier sent by the intelligent equipment to be grouped, which opens the Bluetooth.
Optionally, the scan result obtaining module includes: the third sending submodule is used for sending the connection identifiers of all the intelligent devices to be grouped in the same geographical area to all the intelligent devices to be grouped in the same geographical area; the third receiving submodule is used for receiving a scanning result which is sent by the intelligent equipment to be grouped in the same geographic area, indicates that the scanned connection identifier of the intelligent equipment to be grouped is the connection identifier of the intelligent equipment to be grouped in the same geographic area, and indicates that the signal intensity of the scanned intelligent equipment meets a preset signal threshold value; or the fourth receiving submodule is used for receiving the scanning information sent by each intelligent device to be grouped in the same geographical area; and the first analysis submodule is used for analyzing the scanning information to obtain a scanning result which indicates whether the scanned connection identifier of the intelligent equipment is the connection identifier of the intelligent equipment to be grouped in the same geographical area and whether the signal intensity of the scanned intelligent equipment meets a preset signal threshold.
Optionally, the aggregation module comprises: the dividing submodule is used for dividing the intelligent equipment to be grouped for executing scanning and the scanned intelligent equipment into the same group when the scanning result indicates that the connection identifier of the scanned intelligent equipment is the connection identifier of the intelligent equipment to be grouped in the same geographic area and the signal intensity of the scanned intelligent equipment meets a preset signal threshold; and the aggregation sub-module is used for displaying the intelligent devices to be grouped which are divided into the same group and execute scanning and the scanned intelligent devices on the same display interface.
Optionally, the apparatus further comprises: the gateway address acquisition module is used for acquiring gateway addresses of all intelligent devices to be grouped in the same geographic area; and the subdivision module is used for subdividing the same geographic area determined by the geographic area determination module based on the gateway address.
According to a third aspect of the embodiments of the present disclosure, there is provided an intelligent device grouping apparatus, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: acquiring an external network IP address of intelligent equipment to be grouped; determining all intelligent devices to be grouped in the same geographic area according to the external network IP address; acquiring connection identifiers of all intelligent devices to be grouped in the same geographic area; acquiring scanning results of all intelligent devices to be grouped in the same geographic area on peripheral intelligent devices; and when the scanning result indicates that the scanned connection identifier of the intelligent device to be grouped is the connection identifier of the intelligent device to be grouped in the same geographic area and the signal strength of the scanned intelligent device meets a preset signal threshold, aggregating the intelligent device to be grouped which performs scanning and the scanned intelligent device to be grouped in the same group.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a smart device grouping method, which is applied to a smart device, and includes: sending the external network IP address of the intelligent equipment to an intelligent equipment grouping device; after the external network IP address is responded by the intelligent equipment grouping device, receiving the information of the connection identifier acquired by the intelligent equipment grouping device; acquiring information of a connection identifier based on the request, and sending the connection identifier of the intelligent equipment to the intelligent equipment grouping device; and scanning the connection identification and the signal strength of the surrounding intelligent equipment and sending the scanning result to the intelligent equipment grouping device.
Optionally, the receiving the information that the intelligent device grouping apparatus requests to obtain the connection identifier includes: receiving a command that the intelligent equipment grouping device requests the intelligent equipment to establish a WiFi hotspot and send a WiFi hotspot connection identifier; or receiving a command that the intelligent equipment grouping device requests the intelligent equipment to open the Bluetooth and send a Bluetooth connection identifier.
Optionally, the scanning connection identifiers and signal strengths of surrounding smart devices and sending the scanning result to the smart device grouping apparatus includes: receiving connection identifiers of all intelligent devices to be grouped in the same geographical area, which are sent by the intelligent device grouping device, scanning the connection identifiers and the signal strength of the surrounding intelligent devices, analyzing whether the scanned connection identifiers of the intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographical area and whether the scanned signal strength of the intelligent devices meets a preset signal threshold value, and sending a scanning analysis result to the intelligent device grouping device; or scanning connection identifiers and signal strength of surrounding intelligent devices, and sending scanning information to the intelligent device grouping device, wherein the scanning information is analyzed by the intelligent device grouping device to obtain a scanning analysis result which indicates whether the scanned connection identifiers of the intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographic area and whether the scanned signal strength of the intelligent devices meets a preset signal threshold.
Optionally, the method further comprises: and sending the gateway address of the intelligent equipment to the intelligent equipment grouping device.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a smart device, including: the external network IP address sending module is used for sending the external network IP address of the intelligent equipment to the intelligent equipment grouping device; a fifth receiving module, configured to receive, after the external network IP address is responded by the intelligent device grouping apparatus, information that the intelligent device grouping apparatus requests to acquire a connection identifier; a connection identifier sending module, configured to obtain information of a connection identifier based on the request, and send the connection identifier of the intelligent device to the intelligent device grouping apparatus; and the scanning module is used for scanning the connection identifiers and the signal strength of the surrounding intelligent equipment and sending the scanning result to the intelligent equipment grouping device.
Optionally, the fifth receiving module includes a fifth receiving submodule configured to: receiving a command that the intelligent equipment grouping device requests the intelligent equipment to establish a WiFi hotspot and send a WiFi hotspot connection identifier; or receiving a command that the intelligent equipment grouping device requests the intelligent equipment to open the Bluetooth and send a Bluetooth connection identifier.
Optionally, the scanning module comprises: the connection identifier receiving submodule is used for receiving the connection identifiers of all the intelligent devices to be grouped in the same geographical area, which are sent by the intelligent device grouping device; the first scanning submodule is used for scanning the connection identification and the signal intensity of surrounding intelligent equipment; the second analysis submodule is used for analyzing whether the scanned connection identifier of the intelligent equipment is the connection identifier of the intelligent equipment to be grouped in the same geographical area and whether the signal intensity of the scanned intelligent equipment meets a preset signal threshold; the scanning analysis result sending submodule is used for sending a scanning analysis result to the intelligent equipment grouping device; or the second scanning submodule is used for scanning the connection identification and the signal intensity of the surrounding intelligent equipment; and the scanning result sending submodule is used for sending scanning information to the intelligent equipment grouping device, and the scanning information is analyzed by the intelligent equipment grouping device to obtain a scanning result which indicates whether the scanned connection identifier of the intelligent equipment is the connection identifier of the intelligent equipment to be grouped in the same geographical area and whether the signal intensity of the scanned intelligent equipment meets a preset signal threshold.
Optionally, the smart device further comprises: and the gateway address sending module is used for sending the gateway address of the intelligent equipment to the intelligent equipment grouping device.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a smart device grouping system, including: the intelligent device grouping device; and the aforementioned smart device.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, the program instructions, when executed by a processor, implement the steps of the intelligent device grouping method provided by the first aspect of the embodiments of the present disclosure.
Through the technical scheme, all the intelligent devices to be grouped in the same geographic range can be determined based on the IP address of the external network, then the connection identifiers of all the intelligent devices to be grouped in the same geographic area and the scanning results of the intelligent devices to be grouped around are obtained, and when the scanning results indicate that the connection identifiers of the scanned intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographic area and the signal intensity of the scanned intelligent devices meets the preset signal threshold value, the intelligent devices to be grouped which execute scanning and the scanned intelligent devices to be grouped are aggregated in the same group, namely, the intelligent devices to be grouped in the same geographic area are determined through the IP address of the external network firstly, and then the previous determination results are corrected through the connection identifiers of the intelligent devices to be grouped and the scanning results, therefore, the grouping of the intelligent devices to be grouped which are beneficial to the home environment can be completed only by relying on the existing devices of the users without depending on third-party devices or manual intervention like technical schemes in the related art, so that the grouped intelligent devices can be linked to provide a more comfortable home environment for the users.
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 block diagram of a scenario in which an embodiment according to the present disclosure is applied.
FIG. 2 is a flow chart illustrating a smart device grouping method in accordance with an exemplary embodiment.
Fig. 3 shows a first implementation of obtaining connection identifiers of all to-be-grouped smart devices in the same geographic area.
Fig. 4 shows a second implementation manner of obtaining connection identifiers of all to-be-grouped smart devices in the same geographic area.
Fig. 5a shows a first implementation manner of obtaining the scanning results of the smart devices to be grouped to the surrounding smart devices in the same geographic area.
Fig. 5b shows a second implementation manner of obtaining the scanning results of the smart devices to be grouped to the surrounding smart devices in the same geographic area.
Fig. 6 is a flowchart of aggregating smart devices to be grouped that perform scanning and scanned smart devices into the same group according to an embodiment of the present disclosure.
Fig. 7 shows a flowchart of a smart device grouping method according to yet another exemplary embodiment of the present disclosure.
Fig. 8 shows a schematic block diagram of a smart device grouping apparatus according to yet another exemplary embodiment of the present disclosure.
Fig. 9a shows a schematic block diagram of a connection identity acquisition module in a smart device distribution group according to an exemplary embodiment of the present disclosure.
Fig. 9b shows yet another schematic block diagram of a connection identity acquisition module in a smart device distribution group according to an example embodiment of the present disclosure.
Fig. 10a shows a schematic block diagram of a scan result acquisition module in a smart device distribution group according to an exemplary embodiment of the present disclosure.
Fig. 10b shows yet another schematic block diagram of a scan result acquisition module in a smart device distribution group according to an example embodiment of the present disclosure.
Fig. 11 shows a schematic block diagram of an aggregation module in a smart device distribution group, according to an example embodiment of the present disclosure.
Fig. 12 is a block diagram illustrating yet another smart device grouping apparatus in accordance with an example embodiment.
Fig. 13 is a flowchart illustrating a smart device grouping method applied to smart devices according to an exemplary embodiment.
FIG. 14 is a schematic block diagram illustrating a smart device in accordance with an exemplary embodiment.
FIG. 15a is a schematic block diagram illustrating a scanning module in a smart device in accordance with an exemplary embodiment.
FIG. 15b is yet another schematic block diagram illustrating a scanning module in a smart device in accordance with an exemplary embodiment.
FIG. 16 is a schematic block diagram illustrating yet another smart device in accordance with an illustrative embodiment.
FIG. 17 is a schematic block diagram illustrating a smart device grouping system in accordance with an exemplary embodiment.
Fig. 18 is a block diagram illustrating an intelligent device grouping apparatus according to 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 describing embodiments according to the present disclosure in detail, an application scenario according to embodiments of the present disclosure is introduced.
As shown in fig. 1, a scenario to which an embodiment according to the present disclosure is applied may include a smart device grouping apparatus 10 and a plurality of smart devices 13a-13 f. The smart devices 13a-13f may be devices having wired or wireless signal transceiving functions, such as smart bulbs, smart sockets, smart televisions, smart refrigerators, smart purifiers, and the like. The smart devices 13a to 13f may be connected by a wired or wireless network, for example, by bluetooth, NFC (Near Field Communication), ZigBee (ZigBee), or the like.
In an actual home scenario, some of the smart devices 13a-13f may be located in one set of premises (e.g., premises 11 shown in FIG. 1) and some may be located in another set of premises (e.g., premises 12 shown in FIG. 1). Furthermore, the plurality of smart devices located in one house may be located in different rooms, as shown in fig. 1, one part of the smart devices located in the house 11 is located in the room 11b, and the other part of the smart devices is located in the room 11 a. It should be understood by those skilled in the art that the number of smart devices, houses, rooms, etc. shown in fig. 1 is merely an example, and embodiments of the present disclosure are not limited thereto.
The smart device grouping apparatus 10 may be an apparatus having an arithmetic function, and may be, for example, a mobile phone, a tablet computer, a server, or the like. A user having multiple smart devices may create an account on the smart device grouping apparatus 10 to uniformly manage the multiple smart devices owned by the user, and the multiple smart devices owned by the user may be located in different houses and different rooms. The intelligent device grouping apparatus 10 and the intelligent devices 13a-13f can communicate in a wired or wireless manner.
Optionally, the application scenario shown in fig. 1 may further include a router 14 for providing a connection between the smart device and the smart device grouping apparatus 10. For example, in fig. 1, router 14 is illustratively shown providing connections to smart device grouping apparatus 10 for smart devices 13a and 13b in room 11b in house 11.
The intelligent device grouping method, apparatus, system and intelligent device according to the embodiments of the present disclosure will be described in detail below.
FIG. 2 is a flow chart illustrating a smart device grouping method in accordance with an exemplary embodiment. The intelligent equipment grouping method can be applied to intelligent equipment grouping devices. As shown in fig. 2, the smart device grouping method may include the following steps S21 to S25.
In step S21, an Internet Protocol (IP) address of the smart device to be grouped is acquired.
The intelligent device to be grouped may be a plurality of intelligent devices bound to the same account, or may be a plurality of intelligent devices located in the same local area network. The local area network described herein may be a local area network corresponding to a home, or a local area network corresponding to an office, or a local area network corresponding to a company, or may also be a local area network corresponding to a community, and the local area network is not limited in the embodiment of the present disclosure.
In step S22, all the intelligent devices to be grouped in the same geographic area are determined according to the external network IP address.
According to the internet protocol, each network location has a unique external network IP address dedicated to it, while a plurality of intelligent devices having the same external network IP address have different internal network IP addresses due to the use of different port numbers. For example, suppose that the extranet IP addresses of the intelligent devices A, B, C are all 213.25.31.1, the intranet IP addresses are 192.168.1.100, 192.168.1.101, 192.168.1.102, respectively, and the used port numbers are 565656, 565657, 565660, so the extranet IP addresses, port numbers and intranet IP addresses of the three intelligent devices have the following mapping relationships: 213.25.31.1, 565656< - - >192.168.1.100, 213.25.31.1, 565657< - - >192.168.1.101 and 213.25.31.1, 565660< - - > 192.168.1.102.
In addition, in an actual smart home scenario, the internet is usually connected in units of houses, so that a set of houses usually has a unique external network IP address, and therefore, in step S12, the smart devices to be grouped having the same external network IP address may be determined to be in the same geographic area, for example, in the same set of houses. Taking a plurality of intelligent devices to be grouped bound with the same account as an example, in an actual intelligent home scene, part of the intelligent devices to be grouped bound with the same account and having the same first external network IP address are located in the same suite, and the other part of the intelligent devices to be grouped bound with the same account and having the same second external network IP address are located in the other suite. In this way, the geographical location of the intelligent device to be grouped is roughly divided based on the IP address of the external network.
In step S23, connection identifiers of all to-be-grouped smart devices in the same geographic area are acquired.
In step S24, the scanning results of the surrounding smart devices by the respective to-be-grouped smart devices in the same geographic area are obtained.
In step S25, when the scanning result indicates that the connection identifier of the scanned smart device is the connection identifier of the smart device to be grouped in the same geographic area and the signal strength of the scanned smart device satisfies the preset signal threshold, aggregating the smart device to be grouped and the scanned smart device, which perform the scanning, in the same group.
Through the technical scheme, all the intelligent devices to be grouped in the same geographic range can be determined based on the IP address of the external network, then the connection identifiers of all the intelligent devices to be grouped in the same geographic area and the scanning results of the intelligent devices to be grouped around are obtained, and when the scanning results indicate that the connection identifiers of the scanned intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographic area and the signal intensity of the scanned intelligent devices meets the preset signal threshold value, the intelligent devices to be grouped which execute scanning and the scanned intelligent devices to be grouped are aggregated in the same group, namely, the intelligent devices to be grouped in the same geographic area are determined through the IP address of the external network firstly, and then the previous determination results are corrected through the connection identifiers of the intelligent devices to be grouped and the scanning results, therefore, the grouping of the intelligent devices to be grouped which are beneficial to the home environment can be completed only by relying on the existing devices of the users without depending on third-party devices or manual intervention like technical schemes in the related art, so that the grouped intelligent devices can be linked to provide a more comfortable home environment for the users.
In a possible implementation manner, there are multiple implementation manners for obtaining the connection identifiers of all the to-be-grouped smart devices in the same geographic area in the step S23. The following describes only two implementations of which are exemplary.
Fig. 3 shows a first implementation manner of obtaining connection identifiers of all to-be-grouped smart devices in the same geographic area, and as shown in fig. 3, the method may include the following steps:
in step S23a, a command for establishing a WiFi hotspot and sending a WiFi hotspot connection identifier is sent to all the to-be-grouped smart devices in the same geographic area; and
in step S23b, a WiFi hotspot connection identifier sent by the to-be-grouped smart device with the WiFi hotspot established is received. The to-be-grouped smart device may encrypt a Service Set Identifier (SSID) and Media Access Control (MAC) address information of a WiFi hotspot by using, for example, a Message Digest Algorithm fifth version (MD 5), and then send the encrypted information to the smart device grouping apparatus. It will be appreciated by those skilled in the art that the MD5 algorithm mentioned herein is merely an example, and in fact, the smart device may be encrypted using any encryption algorithm.
Fig. 4 shows a second implementation manner of obtaining connection identifiers of all to-be-grouped smart devices in the same geographic area, and as shown in fig. 4, the second implementation manner may include the following steps:
in step S23c, a command of opening bluetooth and sending a bluetooth connection identifier is sent to all the to-be-grouped smart devices in the same geographic area; and
in step S23d, the bluetooth connection identifier sent by the smart device to be grouped, which has bluetooth turned on, is received. The smart device to be grouped may encrypt the MAC address information of the smart device by using an encryption Algorithm, for example, a Message Digest Algorithm fifth edition (MD 5), and then send the encrypted information to the smart device grouping apparatus.
In a possible embodiment, there may be multiple implementations of the above-mentioned step S24 of obtaining the scanning results of the smart devices to be grouped to the surrounding smart devices in the same geographic area, and only two implementations of the above implementations are described in the following exemplary.
Fig. 5a shows a first implementation manner of obtaining the scanning result of the smart devices to be grouped to the surrounding smart devices in the same geographic area, which may include the following steps:
in step S24a, sending connection identifiers of all the to-be-grouped intelligent devices in the same geographic area to the to-be-grouped intelligent devices in the same geographic area;
in step S24b, a scanning result sent by the to-be-grouped smart devices in the same geographic area is received, where the scanning result indicates that the scanned connection identifier of the smart device is the connection identifier of the to-be-grouped smart device in the same geographic area, and the signal strength of the scanned smart device satisfies a preset signal threshold. Because no matter the wiFi hot spot or the Bluetooth module, the signal strength can be attenuated along with the distance and the wall penetration, so that the intelligent equipment in different rooms can be divided into different groups by setting the grouping condition of the preset signal threshold, and for the intelligent equipment in the same room, the intelligent equipment closer to the distance can be divided into the same group by continuously utilizing the grouping condition of the preset signal threshold, the intelligent equipment relatively farther away from the distance can be divided into different groups, and the grouped intelligent equipment can provide a more comfortable home environment for a user.
The first implementation is described in detail below with reference to the application scenario shown in fig. 1. The premise of the first implementation is that the intelligent device grouping apparatus 10 has determined that the intelligent devices 13a to 13d are located in the house 11 and the intelligent devices 13e to 13f are located in the house 12 based on the external network IP addresses sent by the intelligent devices 13a to 13f, and has obtained the connection identifiers of the intelligent devices 13a to 13 f. Under this premise, the intelligent device grouping apparatus 10 may send only the connection identifiers of all the intelligent devices 13a to 13d in the house 11 to the respective intelligent devices 13a to 13d in the house, for example, send the connection identifiers of the intelligent devices 13a to 13d to the intelligent device 13a, send the connection identifiers of the intelligent devices 13a to 13d to the intelligent device 13b, and so on, and of course, the intelligent device grouping apparatus 10 may preferably send the connection identifiers of all the other intelligent devices located in the house 11 except the connection identifier of itself, for example, send the connection identifiers of the intelligent devices 13b to 13d to the intelligent device 13a, and so on, to each intelligent device in the house 11. Before, during or after each smart device 13a-13d in the house 11 receives the connection identification sent by the smart device grouping apparatus 10, each smart device 13a-13d in the house 11 may scan for surrounding smart devices. Then, each smart device 13a-13d in the house 11 analyzes the scanned information, i.e. analyzes whether the connection identifier of the scanned smart device is the connection identifier of the smart device located in the house 11 and the signal strength of the scanned smart device satisfies the preset signal threshold (for example, whether it is greater than-20 dbm), and if so, sends the scanning analysis result to the smart device grouping apparatus 10. Taking the scanning performed by the smart device 13a as an example, the smart device 13a may scan the surrounding smart devices 13b and 13c, and then the smart device 13a analyzes that the signal strength of the smart device 13c is smaller than the preset signal threshold and the signal strength of the smart device 13b satisfies the preset signal threshold, so that the smart device 13a sends the scanning analysis result related to the smart device 13b to the smart device grouping apparatus 10. The intelligent devices in house 12 are processed in a similar manner to the intelligent devices in house 11, and are not described again.
Fig. 5b shows a second implementation manner of obtaining the scanning result of the smart devices to be grouped to the surrounding smart devices in the same geographic area, and the implementation manner may include the following steps:
in step S24c, receiving scanning information sent by each intelligent device to be grouped in the same geographic area;
in step S24d, the scanning information is analyzed to obtain a scanning result indicating whether the connection identifier of the scanned smart device is the connection identifier of the smart device to be grouped in the same geographic area and the signal strength of the scanned smart device satisfies a preset signal threshold.
The second implementation differs from the first implementation in that in the first implementation, the analysis processing of the scan information is performed at the smart device, and in the second implementation, the analysis processing of the scan information is performed at the smart device grouping apparatus. Therefore, the second implementation is not described in detail.
After the scan analysis result is obtained in step S24, as shown in fig. 6, when the scan result indicates that the connection identifiers of the scanned smart devices are connection identifiers of smart devices to be grouped in the same geographic area and the signal strength of the scanned smart devices satisfies the preset signal threshold in step S25, aggregating the smart devices to be grouped and the scanned smart devices to perform the scan in the same group may include the following steps: in step S25a, when the scanning result indicates that the connection identifiers of the scanned smart devices are connection identifiers of smart devices to be grouped in the same geographic area and the signal strength of the scanned smart devices meets a preset signal threshold, dividing the smart devices to be grouped, which perform the scanning, and the scanned smart devices into the same group; and in step S25b, the smart devices to be grouped that perform scanning and the scanned smart devices that are divided into the same group are displayed on the same display interface.
Like this, just can realize being favorable to the intelligent device's of treating of home environment grouping for the linkage of the intelligent device after grouping can provide more comfortable home environment for the user. Moreover, the intelligent devices to be grouped and scanned, which are divided into the same group and perform scanning, are displayed on the same display interface, so that the user can operate the intelligent devices in the same group more conveniently.
Fig. 7 shows a flowchart of a smart device grouping method according to yet another exemplary embodiment of the present disclosure. As shown in FIG. 7, the method includes steps S71-S77, and steps S71-S72 and steps S75-S77 are the same as steps S21-S25 shown in FIG. 2.
In step S71, the extranet IP address of the intelligent device to be grouped is acquired.
In step S72, all the intelligent devices to be grouped in the same geographic area are determined according to the external network IP address.
In step S73, the gateway addresses of all the intelligent devices to be grouped in the same geographic area are acquired.
Taking the application scenario shown in fig. 1 as an example, after it is determined in step S72 that the smart devices 13a to 13d are located in the house 11 and the smart devices 13e to 13f are located in the house 12, the gateway addresses of the smart devices 13a to 13d and the smart devices 13e to 13f are continuously obtained.
In step S74, based on the gateway address, all the intelligent devices to be grouped determined to be in the same geographic area according to the external network IP address, that is, the same geographic area determined in step S72, are subdivided.
Because the gateway addresses of the intelligent devices connected with the internet through the same gateway are the same, the geographic positions of the intelligent devices are relatively close, the gateway addresses of the intelligent devices connected with the internet through different gateways are different, and in an actual intelligent home environment, the intelligent devices in different rooms can be connected with the internet through different gateways, so that the geographic areas obtained by dividing the internet IP addresses can be further subdivided based on the gateway addresses. Taking the case that the gateway is arranged on the router as an example, the gateway address is the MAC address of the router and has uniqueness, so that in the case that the to-be-grouped intelligent devices are networked through the router, the geographical area obtained by dividing the to-be-grouped intelligent devices by using the IP address of the external network can be further subdivided based on the MAC address of the router.
The application scenario shown in fig. 1 is still taken as an example. Assuming that the smart devices 13a and 13b are connected to the internet by using the first router and the smart devices 13c and 13d are connected to the internet by using the second router, since the MAC addresses of the first router and the second router are different, it can be determined that the smart devices 13a and 13b are located in the room 11b and the smart devices 13c and 13d are located in the room 11a by the gateway address, that is, the MAC address of the router, and the same geographical area, that is, the house, determined by using the IP address of the external network is further subdivided into the rooms. Thus, when it is determined that the same geographical area is a room, the same geographical area mentioned in the subsequent steps S75-S77 is also changed from a house to a room.
In step S75, connection identifiers of all to-be-grouped smart devices in the same geographic area are acquired.
In step S76, the scanning results of the surrounding smart devices by the respective to-be-grouped smart devices in the same geographic area are obtained.
In step S77, when the scanning result indicates that the connection identifier of the scanned smart device is the connection identifier of the smart device to be grouped in the same geographic area and the signal strength of the scanned smart device satisfies the preset signal threshold, aggregating the smart device to be grouped and the scanned smart device, which perform the scanning, in the same group.
Through the steps S71-S77, the smart devices to be grouped in the same geographic area (e.g., the same house) can be determined through the IP address of the external network, then the same geographic area is subdivided into rooms from the house through the gateway address, and then the previous determination result is corrected through the connection identifier and the scanning result of the smart devices to be grouped, so that it is not required to rely on a third-party device as in the technical scheme in the related art, and manual intervention is not required, and the grouping of the smart devices to be grouped, which is beneficial to the home environment, can be completed only by relying on the existing devices of the user, so that the linkage of the grouped smart devices can provide a more comfortable home environment for the user.
According to still another embodiment of the present disclosure, there is provided an intelligent device grouping apparatus, as shown in fig. 8, the grouping apparatus may include:
an external network IP address obtaining module 81, configured to obtain an external network IP address of the intelligent device to be grouped;
a geographic area determining module 82, configured to determine, according to the external network IP address, all the to-be-grouped intelligent devices in the same geographic area;
a connection identifier obtaining module 83, configured to obtain connection identifiers of all to-be-grouped intelligent devices in the same geographic area;
a scanning result obtaining module 84, configured to obtain a scanning result of each to-be-grouped intelligent device in the same geographic area for surrounding intelligent devices;
and an aggregation module 85, configured to, when the scan result indicates that the connection identifier of the scanned smart device is a connection identifier of a to-be-grouped smart device in the same geographic area and the signal strength of the scanned smart device meets a preset signal threshold, aggregate the to-be-grouped smart device performing the scanning and the scanned smart device in the same group.
Through the technical scheme, all the intelligent devices to be grouped in the same geographic range can be determined based on the IP address of the external network, then the connection identifiers of all the intelligent devices to be grouped in the same geographic area and the scanning results of the intelligent devices to be grouped around are obtained, and when the scanning results indicate that the connection identifiers of the scanned intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographic area and the signal intensity of the scanned intelligent devices meets the preset signal threshold value, the intelligent devices to be grouped which execute scanning and the scanned intelligent devices to be grouped are aggregated in the same group, namely, the intelligent devices to be grouped in the same geographic area are determined through the IP address of the external network firstly, and then the previous determination results are corrected through the connection identifiers of the intelligent devices to be grouped and the scanning results, therefore, the grouping of the intelligent devices to be grouped which are beneficial to the home environment can be completed only by relying on the existing devices of the users without depending on third-party devices or manual intervention like technical schemes in the related art, so that the grouped intelligent devices can be linked to provide a more comfortable home environment for the users.
Optionally, the geographic area determining module 82 may include a geographic area determining sub-module, configured to determine that the intelligent devices to be grouped having the same external network IP address are in the same geographic area.
Alternatively, as shown in fig. 9a, the connection identifier obtaining module 83 may include: the first sending submodule 83a is configured to send a command for establishing a WiFi hotspot and sending a WiFi hotspot connection identifier to all the to-be-grouped intelligent devices in the same geographic area; and a first receiving submodule 83b, configured to receive a WiFi hotspot connection identifier sent by the to-be-grouped intelligent device for which a WiFi hotspot is established.
Optionally, as shown in fig. 9b, the connection identifier obtaining module 83 may also include: the second sending submodule 83c is configured to send a command for turning on bluetooth and sending a bluetooth connection identifier to all the to-be-grouped intelligent devices in the same geographic area; and a second receiving submodule 83d configured to receive the bluetooth connection identifier sent by the to-be-grouped smart device with bluetooth turned on.
Alternatively, as shown in fig. 10a, the scan result acquiring module 84 may include: the third sending submodule 84a is configured to send connection identifiers of all the intelligent devices to be grouped in the same geographic area to each intelligent device to be grouped in the same geographic area; and a third receiving submodule 84b, configured to receive a scanning result, sent by the to-be-grouped smart devices in the same geographic area, that indicates that the scanned connection identifier of the smart device is the connection identifier of the to-be-grouped smart device in the same geographic area and that the signal strength of the scanned smart device meets a preset signal threshold.
Optionally, as shown in fig. 10b, the scan result obtaining module 84 may also include: the fourth receiving submodule 84c is configured to receive scanning information sent by each intelligent device to be grouped in the same geographic area; and a first analysis submodule 84d, configured to analyze the scanning information, and obtain a scanning result indicating whether the scanned connection identifier of the smart device is the connection identifier of the smart device to be grouped in the same geographic area, and the signal strength of the scanned smart device meets a preset signal threshold.
Alternatively, as shown in fig. 11, the aggregation module 85 may also include: the dividing submodule 85a is configured to divide the to-be-grouped smart devices performing scanning and the scanned smart devices into the same group when the scanning result indicates that the connection identifiers of the scanned smart devices are the connection identifiers of the to-be-grouped smart devices in the same geographic area and the signal strength of the scanned smart devices meets a preset signal threshold; and an aggregation sub-module 85b for displaying the intelligent devices to be grouped, which are divided into the same group and perform scanning, and the scanned intelligent devices on the same display interface.
Optionally, as shown in fig. 12, the intelligent device grouping apparatus according to the embodiment of the present disclosure may further include: a gateway address obtaining module 86, configured to obtain gateway addresses of all intelligent devices to be grouped in the same geographic area; a subdividing module 87, configured to subdivide the same geographic area determined by the geographic area determining module based on the gateway address.
The specific implementation manner of the operations executed by each module in the intelligent device grouping method according to the embodiment of the present disclosure has been described in detail in the intelligent device grouping method according to the embodiment of the present disclosure described with reference to fig. 1 to 7, and is not described again here.
According to still another embodiment of the present disclosure, there is provided a smart device grouping method, which may be applied to a smart device, as shown in fig. 13, and which may include the steps of:
in step S131, the external network IP address of the smart device is transmitted to the smart device grouping apparatus.
In step S132, after the external network IP address is responded by the intelligent device grouping apparatus, information that the intelligent device grouping apparatus requests to acquire a connection identifier is received. The response of the intelligent device grouping device to the external network IP address may be that the intelligent device grouping device determines all the intelligent devices to be grouped in the same geographic area based on the received external network IP address.
In step S133, the connection identifier of the smart device is sent to the smart device grouping apparatus based on the information of the connection identifier obtained by the request.
In step S134, the connection identifiers and signal strengths of the surrounding smart devices are scanned and the scanning result is sent to the smart device grouping apparatus.
By adopting the technical scheme, because the external network IP address can be sent to the intelligent equipment grouping device, the connection identifier of the intelligent equipment is sent to the intelligent equipment grouping device based on the information of the connection identifier which is requested to be acquired by the intelligent equipment grouping device, the connection identifier and the signal strength of the intelligent equipment around the intelligent equipment are scanned, and the scanning result is sent to the intelligent equipment grouping device, when the intelligent equipment grouping device groups the intelligent equipment to be grouped based on the scanning result, the intelligent equipment to be grouped which is more favorable for the home environment can be divided into the same group, and the intelligent equipment after being grouped can provide a more comfortable home environment for a user.
In a possible implementation manner, the receiving information of the request for obtaining the connection identifier by the smart device grouping apparatus in step S132 may include: receiving a command that the intelligent equipment grouping device requests the intelligent equipment to establish a WiFi hotspot and send a WiFi hotspot connection identifier; or receiving a command that the intelligent equipment grouping device requests the intelligent equipment to open the Bluetooth and send a Bluetooth connection identifier. In this way, after the smart device receives the command of the smart device grouping apparatus, it is able to establish a WiFi hotspot or turn on bluetooth, and then may encrypt SSID and MAC address information (in the case of establishing a WiFi hotspot) of its WiFi hotspot or MAC address information (in the case of turning on bluetooth) using, for example, the MD5 algorithm, and transmit the encrypted information to the smart device grouping apparatus.
In a possible implementation manner, the step S134 of scanning the connection identifiers and the signal strengths of the surrounding smart devices and sending the scanning result to the smart device grouping apparatus may have various implementation manners.
A first implementation may include: receiving connection identifiers of all intelligent devices to be grouped in the same geographical area, which are sent by the intelligent device grouping device, scanning the connection identifiers and the signal strength of the surrounding intelligent devices, analyzing whether the scanned connection identifiers of the intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographical area and whether the scanned signal strength of the intelligent devices meets a preset signal threshold, and sending a scanning analysis result to the intelligent device grouping device.
The second implementation may include: scanning connection marks and signal intensity of surrounding intelligent equipment; and sending scanning information to the intelligent equipment grouping device, wherein the scanning information is analyzed by the intelligent equipment grouping device to obtain a scanning analysis result which indicates whether the scanned connection identifier of the intelligent equipment is the connection identifier of the intelligent equipment to be grouped in the same geographical area and whether the signal intensity of the scanned intelligent equipment meets a preset signal threshold.
The first implementation differs from the second implementation only in whether the analysis of the scanning information is performed by the smart device or by the smart device grouping means.
In a possible implementation manner, the grouping method applied to the smart device according to the embodiment of the present disclosure may further include: and sending the gateway address of the intelligent equipment to the intelligent equipment grouping device.
Specific implementation manners of some operations involved in relevant steps of the intelligent device grouping method applied to the intelligent device according to the embodiment of the present disclosure have been described in detail in the intelligent device grouping method applied to the intelligent device grouping apparatus according to the embodiment of the present disclosure described in conjunction with fig. 1 to fig. 7, and are not described again here.
According to still another embodiment of the present disclosure, there is provided a smart device, as shown in fig. 14, the smart device 1400 may include:
an extranet IP address sending module 141, configured to send an extranet IP address of the intelligent device to an intelligent device grouping apparatus;
a fifth receiving module 142, configured to receive, after the external network IP address is responded by the intelligent device grouping apparatus, information that the intelligent device grouping apparatus requests to obtain a connection identifier;
a connection identifier sending module 143, configured to obtain information of a connection identifier based on the request, and send the connection identifier of the smart device to the smart device grouping apparatus; and
and the scanning module 144 is configured to scan connection identifiers and signal strengths of surrounding smart devices and send a scanning result to the smart device grouping apparatus.
By adopting the above technical scheme, because the intelligent device 1400 can send the external network IP address to the intelligent device grouping apparatus, the connection identifier of the intelligent device is sent to the intelligent device grouping apparatus based on the information that the intelligent device grouping apparatus requests to acquire the connection identifier, and the connection identifier and the signal strength of the intelligent device around are scanned and the scanning result is sent to the intelligent device grouping apparatus, when the intelligent device grouping apparatus groups the intelligent device to be grouped based on the scanning result, the intelligent device to be grouped which is more favorable for the home environment can be divided into the same group, and then the intelligent device after being grouped can provide a more comfortable home environment for the user.
Optionally, the fifth receiving module 142 may include a fifth receiving sub-module, configured to receive a command that the intelligent device grouping apparatus requests the intelligent device to establish a WiFi hotspot and send a WiFi hotspot connection identifier; or the command used for receiving the intelligent equipment grouping device to request the intelligent equipment to open the Bluetooth and send the Bluetooth connection identifier is received.
Alternatively, as shown in fig. 15a, the scanning module 144 may include: the connection identifier receiving submodule 144a is configured to receive connection identifiers of all to-be-grouped intelligent devices in the same geographic area, which are sent by the intelligent device grouping apparatus; the first scanning submodule 144b is configured to scan connection identifiers and signal strengths of surrounding intelligent devices; the second analysis submodule 144c is configured to analyze whether the scanned connection identifier of the smart device is a connection identifier of a smart device to be grouped in the same geographic area, and the signal strength of the scanned smart device meets a preset signal threshold; and a scan analysis result sending submodule 144d for sending the scan analysis result to the intelligent device grouping apparatus.
Alternatively, as shown in fig. 15b, the scanning module 144 may also include: the second scanning submodule 144e is configured to scan connection identifiers and signal strengths of surrounding intelligent devices; and a scanning result sending sub-module 144f, configured to send scanning information to the intelligent device grouping apparatus, where the scanning information is analyzed by the intelligent device grouping apparatus to obtain a scanning result indicating whether the scanned connection identifier of the intelligent device is the connection identifier of the intelligent device to be grouped in the same geographic area, and the signal strength of the scanned intelligent device meets a preset signal threshold.
Optionally, as shown in fig. 16, the intelligent device 1400 according to the embodiment of the present disclosure may further include a gateway address sending module 145, configured to send the gateway address of the intelligent device to the intelligent device grouping apparatus.
The specific implementation manner of the operations executed by each module of the intelligent device according to the embodiment of the present disclosure has been described in detail in the intelligent device grouping method applied to the intelligent device grouping apparatus and the intelligent device grouping method applied to the intelligent device according to the embodiment of the present disclosure, and is not described herein again.
According to still another embodiment of the present disclosure, there is provided an intelligent device grouping system, as shown in fig. 17, the system 1700 includes the intelligent device grouping apparatus 1700a described in the foregoing embodiment and the intelligent device 1700b described in the foregoing embodiment.
Fig. 18 is a block diagram illustrating a smart device grouping apparatus 800 according to 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. 18, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a 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 component 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the smart device grouping method described above as applied to the smart device grouping apparatus. 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 component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 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 above-described intelligent device grouping method applied to the intelligent device grouping apparatus.
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 apparatus 800, to perform the smart device grouping method described above as applied to a smart device grouping apparatus 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.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. 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 (21)

1. An intelligent device grouping method is applied to an intelligent device grouping device and comprises the following steps:
acquiring an external network IP address of intelligent equipment to be grouped;
determining all intelligent devices to be grouped in the same geographic area according to the external network IP address;
acquiring connection identifiers of all intelligent devices to be grouped in the same geographic area;
acquiring scanning results of all intelligent devices to be grouped in the same geographic area on peripheral intelligent devices;
when the scanning result indicates that the scanned connection identifier of the intelligent device to be grouped is the connection identifier of the intelligent device to be grouped in the same geographic area and the signal strength of the scanned intelligent device meets a preset signal threshold, aggregating the intelligent device to be grouped which performs scanning and the scanned intelligent device to be grouped in the same group;
wherein, the determining all the intelligent devices to be grouped in the same geographic area according to the external network IP address comprises: and determining the intelligent devices to be grouped with the same external network IP address to be in the same geographic area.
2. The method according to claim 1, wherein the obtaining connection identifiers of all to-be-grouped intelligent devices in the same geographic area comprises:
sending a command for establishing a WiFi hotspot and sending a WiFi hotspot connection identifier to all intelligent devices to be grouped in the same geographic area, and receiving the WiFi hotspot connection identifier sent by the intelligent devices to be grouped which establish the WiFi hotspot; or
The method comprises the steps of sending a command of opening Bluetooth and sending Bluetooth connection identifiers to all intelligent devices to be grouped in the same geographic area, and receiving the Bluetooth connection identifiers sent by the intelligent devices to be grouped, wherein the Bluetooth connection identifiers are opened.
3. The method according to claim 1, wherein the obtaining of the scanning result of the smart devices to be grouped to the surrounding smart devices in the same geographic area comprises:
sending connection identifiers of all intelligent devices to be grouped in the same geographical area to all intelligent devices to be grouped in the same geographical area, and receiving a scanning result which is sent by the intelligent devices to be grouped in the same geographical area, indicates that the scanned connection identifiers of the intelligent devices to be grouped are the connection identifiers of the intelligent devices to be grouped in the same geographical area, and indicates that the signal intensity of the scanned intelligent devices meets a preset signal threshold; or
The method comprises the steps of receiving scanning information sent by intelligent devices to be grouped in the same geographical area, analyzing the scanning information, and obtaining a scanning result which indicates whether a connection identifier of the scanned intelligent device is the connection identifier of the intelligent devices to be grouped in the same geographical area and whether the signal intensity of the scanned intelligent device meets a preset signal threshold value.
4. The method of claim 1, further comprising:
and displaying the intelligent devices to be grouped and scanned which are aggregated in the same group and perform scanning on the same display interface.
5. The method according to any one of claims 1 to 4, wherein after said determining all the intelligent devices to be grouped in the same geographical area according to the external network IP address, the method further comprises:
acquiring gateway addresses of all intelligent devices to be grouped in the same geographic area;
and based on the gateway address, subdividing the same geographic area determined in the step of determining all intelligent devices to be grouped in the same geographic area according to the external network IP address.
6. An intelligent device grouping apparatus, comprising:
the external network IP address acquisition module is used for acquiring the external network IP address of the intelligent equipment to be grouped;
the geographic area determining module is used for determining all the intelligent devices to be grouped in the same geographic area according to the external network IP address;
the connection identifier acquisition module is used for acquiring connection identifiers of all intelligent devices to be grouped in the same geographic area;
the scanning result acquisition module is used for acquiring the scanning results of all intelligent devices to be grouped in the same geographic area to the surrounding intelligent devices;
the aggregation module is used for aggregating the intelligent devices to be grouped and the scanned intelligent devices to be grouped, which execute scanning, into the same group when the scanning result indicates that the connection identifiers of the scanned intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographic area and the signal strength of the scanned intelligent devices meets a preset signal threshold;
the geographic area determining module comprises a geographic area determining submodule and is used for determining the intelligent devices to be grouped with the same external network IP address to be in the same geographic area.
7. The apparatus of claim 6, wherein the connection identity obtaining module comprises:
the first sending submodule is used for sending a command of establishing a WiFi hotspot and sending a WiFi hotspot connection identifier to all the intelligent devices to be grouped in the same geographic area; the first receiving submodule is used for receiving the WiFi hotspot connection identification sent by the intelligent equipment to be grouped, which establishes the WiFi hotspot; or
The second sending submodule is used for sending a command of opening the Bluetooth and sending a Bluetooth connection identifier to all the intelligent devices to be grouped in the same geographical area; and the second receiving submodule is used for receiving the Bluetooth connection identifier sent by the intelligent equipment to be grouped, which opens the Bluetooth.
8. The apparatus of claim 6, wherein the scan result obtaining module comprises:
the third sending submodule is used for sending the connection identifiers of all the intelligent devices to be grouped in the same geographical area to all the intelligent devices to be grouped in the same geographical area; the third receiving submodule is used for receiving a scanning result which is sent by the intelligent equipment to be grouped in the same geographic area, indicates that the scanned connection identifier of the intelligent equipment to be grouped is the connection identifier of the intelligent equipment to be grouped in the same geographic area, and indicates that the signal intensity of the scanned intelligent equipment meets a preset signal threshold value; or
The fourth receiving submodule is used for receiving the scanning information sent by each intelligent device to be grouped in the same geographic area; and the first analysis submodule is used for analyzing the scanning information to obtain a scanning result which indicates whether the scanned connection identifier of the intelligent equipment is the connection identifier of the intelligent equipment to be grouped in the same geographical area and whether the signal intensity of the scanned intelligent equipment meets a preset signal threshold value.
9. The apparatus of claim 6, wherein the aggregation module is further configured to:
and displaying the intelligent devices to be grouped and scanned which are aggregated in the same group and perform scanning on the same display interface.
10. The apparatus of any one of claims 6 to 9, further comprising:
the gateway address acquisition module is used for acquiring gateway addresses of all intelligent devices to be grouped in the same geographic area;
and the subdivision module is used for subdividing the same geographic area determined by the geographic area determination module based on the gateway address.
11. An intelligent device grouping apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an external network IP address of intelligent equipment to be grouped;
determining all intelligent devices to be grouped in the same geographic area according to the external network IP address;
acquiring connection identifiers of all intelligent devices to be grouped in the same geographic area;
acquiring scanning results of all intelligent devices to be grouped in the same geographic area on peripheral intelligent devices;
when the scanning result indicates that the scanned connection identifier of the intelligent device to be grouped is the connection identifier of the intelligent device to be grouped in the same geographic area and the signal strength of the scanned intelligent device meets a preset signal threshold, aggregating the intelligent device to be grouped which performs scanning and the scanned intelligent device to be grouped in the same group;
wherein, the determining all the intelligent devices to be grouped in the same geographic area according to the external network IP address comprises: and determining the intelligent devices to be grouped with the same external network IP address to be in the same geographic area.
12. An intelligent device grouping method is applied to intelligent devices and comprises the following steps:
sending the external network IP address of the intelligent equipment to an intelligent equipment grouping device;
after the external network IP address is responded by the intelligent equipment grouping device, receiving the information of the connection identifier acquired by the intelligent equipment grouping device;
acquiring information of a connection identifier based on the request, and sending the connection identifier of the intelligent equipment to the intelligent equipment grouping device; and
and scanning the connection identification and the signal strength of the surrounding intelligent equipment and sending the scanning result to the intelligent equipment grouping device.
13. The method according to claim 12, wherein the receiving the information that the smart device grouping apparatus requests to obtain the connection identifier comprises:
receiving a command that the intelligent equipment grouping device requests the intelligent equipment to establish a WiFi hotspot and send a WiFi hotspot connection identifier; or
And receiving a command that the intelligent equipment grouping device requests the intelligent equipment to open the Bluetooth and send a Bluetooth connection identifier.
14. The method of claim 12, wherein the scanning connection identifiers and signal strengths of surrounding smart devices and sending scanning results to the smart device grouping apparatus comprises:
receiving connection identifiers of all intelligent devices to be grouped in the same geographical area, which are sent by the intelligent device grouping device, scanning the connection identifiers and the signal strength of the surrounding intelligent devices, analyzing whether the scanned connection identifiers of the intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographical area and whether the scanned signal strength of the intelligent devices meets a preset signal threshold value, and sending a scanning analysis result to the intelligent device grouping device; or
The method comprises the steps of scanning connection identifiers and signal strength of surrounding intelligent devices, and sending scanning information to an intelligent device grouping device, wherein the scanning information is analyzed by the intelligent device grouping device to obtain a scanning analysis result which indicates whether the scanned connection identifiers of the intelligent devices are the connection identifiers of the intelligent devices to be grouped in the same geographic area and whether the scanned signal strength of the intelligent devices meets a preset signal threshold value.
15. The method according to any one of claims 12 to 14, further comprising:
and sending the gateway address of the intelligent equipment to the intelligent equipment grouping device.
16. A smart device, the smart device comprising:
the external network IP address sending module is used for sending the external network IP address of the intelligent equipment to the intelligent equipment grouping device;
a fifth receiving module, configured to receive, after the external network IP address is responded by the intelligent device grouping apparatus, information that the intelligent device grouping apparatus requests to acquire a connection identifier;
a connection identifier sending module, configured to obtain information of a connection identifier based on the request, and send the connection identifier of the intelligent device to the intelligent device grouping apparatus; and
and the scanning module is used for scanning the connection identifiers and the signal strength of the surrounding intelligent equipment and sending the scanning result to the intelligent equipment grouping device.
17. The smart device of claim 16, wherein the fifth receiving module comprises a fifth receiving submodule configured to:
receiving a command that the intelligent equipment grouping device requests the intelligent equipment to establish a WiFi hotspot and send a WiFi hotspot connection identifier; or
And receiving a command that the intelligent equipment grouping device requests the intelligent equipment to open the Bluetooth and send a Bluetooth connection identifier.
18. The smart device of claim 16, wherein the scanning module comprises:
the connection identifier receiving submodule is used for receiving the connection identifiers of all the intelligent devices to be grouped in the same geographical area, which are sent by the intelligent device grouping device; the first scanning submodule is used for scanning the connection identification and the signal intensity of surrounding intelligent equipment; the second analysis submodule is used for analyzing whether the scanned connection identifier of the intelligent equipment is the connection identifier of the intelligent equipment to be grouped in the same geographical area and whether the signal intensity of the scanned intelligent equipment meets a preset signal threshold value; the scanning analysis result sending submodule is used for sending a scanning analysis result to the intelligent equipment grouping device; or
The second scanning submodule is used for scanning the connection identification and the signal intensity of the surrounding intelligent equipment; and the scanning result sending submodule is used for sending scanning information to the intelligent equipment grouping device, and the scanning information is analyzed by the intelligent equipment grouping device to obtain a scanning result which indicates whether the scanned connection identifier of the intelligent equipment is the connection identifier of the intelligent equipment to be grouped in the same geographical area and whether the signal intensity of the scanned intelligent equipment meets a preset signal threshold value.
19. The smart device of any one of claims 16 to 18, further comprising:
and the gateway address sending module is used for sending the gateway address of the intelligent equipment to the intelligent equipment grouping device.
20. A smart device grouping system, comprising:
the smart device grouping apparatus of any one of claims 6 to 11; and
the smart device of any of claims 16 to 19.
21. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 5.
CN201810273407.XA 2018-03-29 2018-03-29 Intelligent equipment grouping method, device and system and intelligent equipment Active CN108494642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810273407.XA CN108494642B (en) 2018-03-29 2018-03-29 Intelligent equipment grouping method, device and system and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810273407.XA CN108494642B (en) 2018-03-29 2018-03-29 Intelligent equipment grouping method, device and system and intelligent equipment

Publications (2)

Publication Number Publication Date
CN108494642A CN108494642A (en) 2018-09-04
CN108494642B true CN108494642B (en) 2020-12-11

Family

ID=63317420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810273407.XA Active CN108494642B (en) 2018-03-29 2018-03-29 Intelligent equipment grouping method, device and system and intelligent equipment

Country Status (1)

Country Link
CN (1) CN108494642B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110348878A (en) * 2019-06-13 2019-10-18 北京华峰创业科技有限公司 The method and apparatus that a kind of couple of user is grouped
CN110337099B (en) * 2019-07-03 2022-06-03 百度在线网络技术(北京)有限公司 Method and device for controlling connection between devices, electronic device and storage medium
CN110824277B (en) * 2019-11-14 2021-02-19 美的集团股份有限公司 Intelligent household appliance partitioning method and device and intelligent household appliance
CN113099274A (en) * 2019-12-23 2021-07-09 深圳市华胜软件技术有限公司 Digital sign grouping method and related equipment thereof
CN111404480B (en) * 2020-03-17 2021-09-14 华为技术有限公司 Photovoltaic system, grouping method of photovoltaic units, computing device and storage medium
CN112398710B (en) * 2020-11-05 2022-02-22 木林森股份有限公司 Intelligent device, group adding device, system and method, and storage medium
EP4002032B1 (en) 2020-11-19 2023-08-09 Siemens Aktiengesellschaft A method for communicating with one or more field devices
CN113325729B (en) * 2021-05-31 2024-02-23 佛山市顺德区美的电子科技有限公司 Region division method for household appliance, terminal device and readable storage medium
CN114666869B (en) * 2022-04-08 2024-04-16 深圳市欧瑞博科技股份有限公司 Equipment network distribution method and device, computer equipment and storage medium
CN115378052B (en) * 2022-10-19 2023-03-24 杭州禾迈电力电子股份有限公司 Photovoltaic device grouping method, management module, photovoltaic device, system and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001292168A (en) * 2000-04-10 2001-10-19 Nippon Telegr & Teleph Corp <Ntt> Ip communication system
CN105142116A (en) * 2015-08-06 2015-12-09 深圳创维-Rgb电子有限公司 Communication network switching method and switching system for intelligent equipment
CN105471628A (en) * 2015-11-17 2016-04-06 小米科技有限责任公司 Intelligent equipment grouping system, intelligent equipment grouping method and intelligent equipment grouping device
CN105607499A (en) * 2016-01-05 2016-05-25 北京小米移动软件有限公司 Equipment grouping method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001292168A (en) * 2000-04-10 2001-10-19 Nippon Telegr & Teleph Corp <Ntt> Ip communication system
CN105142116A (en) * 2015-08-06 2015-12-09 深圳创维-Rgb电子有限公司 Communication network switching method and switching system for intelligent equipment
CN105471628A (en) * 2015-11-17 2016-04-06 小米科技有限责任公司 Intelligent equipment grouping system, intelligent equipment grouping method and intelligent equipment grouping device
CN105607499A (en) * 2016-01-05 2016-05-25 北京小米移动软件有限公司 Equipment grouping method and apparatus

Also Published As

Publication number Publication date
CN108494642A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN108494642B (en) Intelligent equipment grouping method, device and system and intelligent equipment
US10613498B2 (en) Method for controlling device by remote control device
RU2670032C2 (en) Method and apparatus for controlling smart devices
US10237901B2 (en) Method and apparatus for connecting with controlled smart device, and storage medium
US9769667B2 (en) Methods for controlling smart device
RU2674328C2 (en) Method and device for acquiring access authority
EP3046309A1 (en) Method, device and system for projection on screen
US11792886B2 (en) Method for accessing network by network node, and electronic equipment
CN106507437B (en) Intelligent equipment networking method and device
JP2017532855A (en) Method and apparatus for operating intelligent electrical equipment
CN110769485A (en) Method for making target terminal access target wireless network provided by wireless access point
JP2016535523A (en) Network connection method, apparatus, program, and recording medium
KR20210153017A (en) Device network configuration method and apparatus, and medium
CN106454998B (en) Wireless local area network access method, device and terminal
JP2017534231A (en) Network connection method, apparatus, program, and recording medium
KR101684203B1 (en) Method and device for broadcasting stream media data
JP2017531974A (en) Network connection method, device, system, program, and recording medium
CN111031002B (en) Broadcast discovery method, broadcast discovery device, and storage medium
JP2017514428A (en) Network connection method, apparatus, program, and recording medium
CN109525966B (en) Intelligent device query method and device and storage medium
CN111010721A (en) Wireless network distribution method, wireless network distribution device and computer readable storage medium
CN111866720A (en) Positioning method and device
EP3291489B1 (en) Method and apparatus for device identification
CN110913276B (en) Data processing method, device, server, terminal and storage medium
CN105307226A (en) Method, device and system for selecting signal source

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