CN111555905A - Equipment network distribution method and device, electronic equipment and storage medium - Google Patents

Equipment network distribution method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111555905A
CN111555905A CN202010286692.6A CN202010286692A CN111555905A CN 111555905 A CN111555905 A CN 111555905A CN 202010286692 A CN202010286692 A CN 202010286692A CN 111555905 A CN111555905 A CN 111555905A
Authority
CN
China
Prior art keywords
equipment
distributed
distribution network
network
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010286692.6A
Other languages
Chinese (zh)
Inventor
李绍斌
宋德超
唐杰
陆愿基
邱园
曾海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010286692.6A priority Critical patent/CN111555905A/en
Publication of CN111555905A publication Critical patent/CN111555905A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Abstract

The application relates to a method and a device for equipment network distribution, electronic equipment and a storage medium, wherein the method comprises the following steps: scanning equipment to be configured with a network; determining the distance between the device to be networked and the network to be configured; when the distance is smaller than or equal to a preset distance, determining distribution network information corresponding to the equipment to be distributed; and sending the distribution network information to the equipment to be distributed, and carrying out network configuration by the equipment to be distributed according to the distribution network information. According to the technical scheme, the whole distribution process is automatically completed, the user does not need to perform complicated operation step by step on an App interface, and the convenience of equipment distribution network is improved; moreover, the equipment to be distributed is determined based on the proximity mode, and the user does not need to select and input on an App interface, so that the repeated and redundant operations of the user are further reduced, and the efficiency of the distribution network is improved; moreover, even if a plurality of devices exist in the current environment, the devices of the distribution network can be automatically added as the designated devices according to the distance, mismatching is avoided, and the accuracy of the distribution network is improved.

Description

Equipment network distribution method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of smart homes, in particular to a method and a device for equipment network distribution, electronic equipment and a storage medium.
Background
Along with the rapid development of the internet of things technology, the types of intelligent equipment are more and more diversified, and the application in life is more and more extensive and common. Because of the intellectuality of equipment, people can use smart mobile phone App to communicate and control smart machine, bring very big convenience for the life.
In practice, effective communication and control between the intelligent App and the equipment need to be realized, and then the equipment needs to be added in the distribution network in advance. In the distribution network adding process, the smart home App in the current market mainly guides a user to perform App interface operation through a guide-type file, and in the distribution network process, effective information needs to be selected and input discontinuously, if: Wi-Fi hotspot information selection, routing SSID and password input and the like. The method brings great inconvenience to the user invisibly and redundant and tedious operations of an interactive interface, and causes poor user experience effect.
Disclosure of Invention
In order to solve the technical problem of complex operation of a user in a network distribution process, the embodiment of the application provides a method and a device for equipment network distribution, electronic equipment and a storage medium.
In a first aspect, an embodiment of the present application provides an apparatus network distribution method, including:
scanning equipment to be configured with a network;
determining the distance between the device to be networked and the network to be configured;
when the distance is smaller than or equal to a preset distance, determining distribution network information corresponding to the equipment to be distributed;
and sending the distribution network information to the equipment to be distributed, and carrying out network configuration by the equipment to be distributed according to the distribution network information.
Optionally, the determining a distance between the network device and the device to be networked includes:
detecting the signal intensity of a signal sent by the equipment to be networked;
and calculating the distance between the network equipment to be configured and the network equipment according to the signal intensity.
Optionally, before determining the distance to the device to be networked, the method further includes:
when at least two pieces of equipment to be distributed are scanned, executing preset reminding operation, wherein the preset reminding operation comprises at least one of the following items:
displaying the scanned at least two devices to be distributed on an interface, and prompting a user to select the devices to be distributed which need to be distributed;
prompting a user to move to a device to be configured with a network needing to be configured;
and prompting a user to close the equipment to be distributed without the distribution network.
Optionally, the determining a distance between the network device and the device to be networked includes:
acquiring characteristic information of the equipment to be distributed, wherein the characteristic information comprises a hotspot name and a check code released by the equipment to be distributed and/or signal strength of a sent signal;
and when the characteristic information is determined to meet the preset condition, calculating the distance between the network equipment and the network equipment to be configured according to the characteristic information.
Optionally, the scanning of the device to be networked includes:
scanning the equipment information released by the equipment to be distributed;
and when the equipment information is received, establishing connection with the equipment to be distributed.
Optionally, the determining distribution network information corresponding to the device to be distributed includes:
when at least two pieces of distribution network information exist, acquiring performance indexes of routers corresponding to the distribution network information;
analyzing network parameters of the equipment to be distributed for networking by using the distribution network information according to the performance indexes;
and when the network parameters meet preset conditions, selecting the distribution network information corresponding to the network parameters as the distribution network information corresponding to the equipment to be distributed.
Optionally, the determining distribution network information corresponding to the device to be distributed includes:
when at least two pieces of distribution network information exist, acquiring the position information of a router corresponding to the distribution network information and/or the number of currently connected devices;
calculating the distance between the equipment to be distributed and the router according to the position information;
and selecting a router corresponding to the equipment to be distributed according to the distance and/or the equipment number, and taking the distribution network information of the router as the distribution network information corresponding to the equipment to be distributed.
In a second aspect, an embodiment of the present application provides an apparatus network distribution device, including:
the scanning module is used for scanning the equipment to be networked;
the distance determining module is used for determining the distance between the network equipment to be networked and the distance determining module;
the distribution network information determining module is used for determining distribution network information corresponding to the equipment to be distributed when the distance is smaller than or equal to a preset distance;
and the distribution network module is used for sending the distribution network information to the equipment to be distributed, and the equipment to be distributed performs network configuration according to the distribution network information.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the above method steps when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the above-mentioned method steps.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the network distribution equipment accurately determines the equipment to be distributed based on the distance between the equipment and the network distribution equipment, and automatically transmits information with the equipment to be distributed to complete network configuration of the equipment to be distributed. In this way, the whole distribution process is automatically completed, the user does not need to perform complicated operation step by step on an App interface, and the convenience of equipment distribution network is improved; moreover, the equipment to be distributed is determined based on the proximity mode, and the user does not need to select and input on an App interface, so that the repeated and redundant operations of the user are further reduced, and the efficiency of the distribution network is improved; moreover, even if a plurality of devices exist in the current environment, the devices of the distribution network can be automatically added as the designated devices according to the distance, mismatching is avoided, and the accuracy of the distribution network is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a method for distributing a network by using a device according to an embodiment of the present application;
fig. 2 is a flowchart of a method for distributing a network to a device according to another embodiment of the present application;
fig. 3 is a flowchart of a method for distributing a network to a device according to another embodiment of the present application;
fig. 4 is a flowchart of a method for distributing a network to a device according to another embodiment of the present application;
fig. 5 is a flowchart of a method for distributing a network to a device according to another embodiment of the present application;
fig. 6 is a flowchart of a method for distributing a network to a device according to another embodiment of the present application;
fig. 7 is a schematic view of an interface for confirming distribution network information according to an embodiment of the present disclosure;
fig. 8 is a schematic interface diagram of a user confirming a device to be configured according to an embodiment of the present application;
fig. 9 is a schematic view of an interface for a user to confirm distribution network information according to an embodiment of the present disclosure;
fig. 10 is a schematic interface diagram of a distribution network result provided in the embodiment of the present application;
fig. 11 is a block diagram of an apparatus network distribution device according to an embodiment of the present disclosure;
fig. 12 is a block diagram of an apparatus network distribution device according to another embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
According to the embodiment of the application, the distribution network adding equipment can be automatically and accurately finished by the fact that the distribution network equipment is close to the equipment to be distributed, user operation is reduced, and convenience of the distribution network of the equipment and distribution network efficiency are improved.
First, a method for distributing a network to devices provided by the embodiment of the present invention is described below. The method is applied to distribution network equipment, such as an intelligent terminal, an application program (App) for carrying out distribution network on the intelligent equipment can be pre-installed on the intelligent terminal, and the method is realized through the App. When a user uses the App to carry out equipment distribution, the App needs to be started to enter a distribution network interface. If the App is used for the first time to carry out distribution, a user is prompted to input distribution network information in an App interface, wherein the distribution network information comprises a router Service Set Identifier (SSID) and a password, and the distribution network information input by the user is stored in the App. And then, the equipment is distributed, so that the distribution network information stored in the App can be used.
Fig. 1 is a flowchart of a device network distribution method provided in an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
and step S11, scanning the equipment to be networked.
The distribution network equipment can adopt a preset scanning mode to scan the equipment to be distributed, such as Bluetooth, Wi-Fi, Zigbee, EnOcean, LoRa, Thread, Z-Wave or NB-IoT. Each device to be distributed and the distribution network device have preset communication protocols, and the distribution network device can support various wireless communication protocols to distribute networks for different devices to be distributed.
And step S12, determining the distance between the device to be networked and the device to be networked.
The network distribution equipment accurately determines the equipment to be distributed through the distance, and when the network distribution equipment is close to the equipment to be distributed, one-to-one accurate pairing can be carried out.
And step S13, when the distance is smaller than or equal to the preset distance, determining distribution network information corresponding to the equipment to be distributed according to the equipment information of the equipment to be distributed.
The preset distance can be set to 30cm, 20 cm, even 10 cm and the like according to the wireless communication mode supported by the device to be networked. Different scanning modes correspond to different preset distances, so the method further comprises the following steps: and acquiring a preset distance corresponding to the scanning mode. And when the distance between the network equipment and the network equipment reaches the preset distance, the network equipment matches the network distribution information of the response to the equipment to be networked, namely the SSID and the password of the router needing to be networked.
And step S14, sending the distribution network information to the equipment to be distributed, and carrying out network configuration by the equipment to be distributed according to the distribution network information.
And the distribution network equipment sends the distribution network information comprising the SSID and the password of the router to the equipment to be distributed, and the equipment to be distributed is connected to the router for networking according to the SSID and the password of the router.
And after the network configuration of the equipment to be configured is successful, establishing connection with the network configuration equipment and finishing binding.
In this embodiment, the network distribution device accurately determines the device to be distributed based on the distance between the network distribution device and the device, and automatically performs information transmission with the device to be distributed, thereby completing network configuration of the device to be distributed. The whole distribution process is automatically finished, complex operation of a user on an App interface step by step is not needed, and convenience of equipment distribution and network distribution is improved; moreover, the equipment to be distributed is determined based on the proximity mode, and the user does not need to select and input on an App interface, so that the repeated and redundant operations of the user are further reduced, and the efficiency of the distribution network is improved; moreover, even if a plurality of devices exist in the current environment, the devices of the distribution network can be automatically added as the designated devices according to the distance, mismatching is avoided, and the accuracy of the distribution network is improved.
Fig. 2 is a flowchart of a device network distribution method according to another embodiment of the present application. As shown in fig. 2, in an alternative embodiment, the step S11 includes:
step S21, scanning the device information released by the device to be distributed;
and step S22, when the device information is received, connection is established with the device to be networked.
The device to be configured may serve as a hotspot to continuously release its own device information, or release the device information at certain time intervals, such as releasing its own device ID, name, and the like. The distribution network equipment scans through a preset communication protocol corresponding to the equipment to be distributed, such as Wi-Fi, Bluetooth and the like, and establishes connection with the equipment to be distributed when receiving information such as ID, name and the like of the equipment to be distributed.
If the equipment information is not released by the equipment to be networked, namely the equipment to be networked is not scanned by the equipment to be networked, the user can be prompted to reset the equipment to be networked, so that the equipment to be networked releases the equipment information.
Optionally, in step S11, at least two devices to be connected to the network may be scanned, and therefore, before step S12, the devices to be connected to the network need to be determined. The method further comprises the following steps: and when at least two pieces of equipment to be distributed are scanned, executing preset reminding operation. Wherein, the preset reminding operation comprises at least one of the following items:
(1) displaying the scanned at least two devices to be distributed on an interface, and prompting a user to select the devices to be distributed which need to be distributed;
(2) prompting a user to move to a device to be configured with a network needing to be configured;
(3) and prompting a user to close the equipment to be distributed without the distribution network.
In this embodiment, when scanning a plurality of intelligent devices from the environment, the distribution network device itself is difficult to determine the intelligent device to be distributed with the network, and the user is required to confirm the device to be distributed with the network in various ways, so that the user can confirm the device to be distributed with the network by performing operations, and the distribution network device can be accurately positioned to the device to be distributed with the network.
Fig. 3 is a flowchart of a device network distribution method according to another embodiment of the present application. In another alternative embodiment, as shown in fig. 3, the step S12 includes:
step S31, detecting the signal intensity of the signal sent by the equipment to be networked;
and step S32, calculating the distance between the device to be networked and the device to be networked according to the signal intensity.
Wherein, the scanning mode may include: bluetooth, Wi-Fi, Zigbee, EnOcean, Z-Wave, etc. The distance between the distribution network equipment and the equipment to be distributed can be calculated through a scanning mode and the signal intensity of the equipment to be distributed in the scanning mode. For example, the distance d between the distribution network device and the device to be distributed may be calculated by the following formula:
Figure BDA0002448777050000091
the RSSI represents the signal strength of the received equipment signal to be networked, and the RSSI is a real-time detection value. A represents the signal strength when the distribution network equipment is 1 meter away from the equipment to be distributed, n represents the environmental attenuation factor, A, n is a preset parameter.
In another optional embodiment, the network distribution device may further filter the network distribution device to be configured according to the feature information of the network distribution device to be configured. The step S12 includes: and acquiring the characteristic information of the equipment to be distributed, wherein the characteristic information comprises the hotspot name and the check code released by the equipment to be distributed and/or the signal strength of the sent signal. And when the characteristic information is determined to meet the preset condition, calculating the distance between the equipment to be networked and the equipment to be networked according to the characteristic information.
For example, the network distribution equipment to be distributed is filtered through the hotspot name, the hotspot name is the air conditioner 1001, and the network distribution equipment checks whether the hotspot name meets a preset naming rule or not, or whether the hotspot name is encoded by adopting a preset encoding rule or not. The characteristic information can also comprise a check code, the distribution network equipment checks the cloud end sent by the check code, and if the check code passes, the distribution network equipment can be connected with the equipment to be distributed. The characteristic information may further include signal strength of the device to be networked, and if signals sent by the multiple devices are received, the device with the strongest signal strength may be selected as the device to be networked. Therefore, when a plurality of devices to be distributed exist, the devices to be distributed can be accurately determined through the characteristic information.
In practical application, a scenario with a plurality of routers may exist, and at this time, a suitable router needs to be allocated for a device to be configured to perform network distribution.
Fig. 4 is a flowchart of a device network distribution method according to another embodiment of the present application. In another alternative embodiment, as shown in fig. 4, the step S13 includes:
and step S41, when at least two pieces of distribution network information exist, acquiring the performance index of the router corresponding to the distribution network information.
The performance index of the router may include a maximum transmission speed, a main frequency, a wireless communication standard, a Wi-Fi frequency band, a channel bandwidth, a center frequency, a frequency range, an antenna number, an antenna gain, and the like.
And step S42, analyzing the network parameters of the equipment to be networked for networking by using the network distribution information according to the performance index.
Through the performance indexes of the router, network parameters, such as speed, bandwidth, throughput, time delay, bandwidth-time product, round-trip time delay, utilization rate and the like, which can be obtained by the equipment to be networked through networking can be analyzed.
And step S43, when the network parameters meet the preset conditions, selecting the distribution network information corresponding to the network parameters as the distribution network information corresponding to the equipment to be distributed.
Optionally, according to the network requirements of the device to be configured, the distribution network information with the optimal at least one network parameter may be selected as the distribution network information corresponding to the device to be configured. Or, the weight of the to-be-configured network device to each piece of distribution network information can be calculated by synthesizing all network parameters, and the distribution network information with the highest weight is selected as the distribution network information corresponding to the to-be-configured network device.
In another optional embodiment, the distribution network information corresponding to the device to be distributed may also be selected according to the distance between the device to be distributed and the router and the number of devices currently connected to the router.
Fig. 5 is a flowchart of a device network distribution method according to another embodiment of the present application. As shown in fig. 5, the step S13 includes:
step S51, when there are at least two pieces of distribution network information, obtaining the location information of the router corresponding to the distribution network information and/or the number of currently connected devices.
And step S52, calculating the distance between the network-to-be-distributed equipment and the router according to the position information.
And step S53, selecting the router corresponding to the equipment to be distributed according to the distance and/or the equipment number, and taking the distribution network information of the router as the distribution network information corresponding to the equipment to be distributed.
Because the signal strength of the router attenuates along with the increase of the distance, the router with the shorter distance is selected as much as possible to provide network connection for the equipment to be networked. And, since each router may have a certain number of devices connected thereto, the router with the smaller number of devices connected thereto may be preferentially selected to provide network connection for the device to be networked.
Optionally, a suitable router may be comprehensively selected by combining the performance index of the router, the number of connected devices, the distance between the router and the device to be networked, and the like, to provide network connection for the device to be networked. Specifically, a weight may be set for each factor, a score of each router corresponding to the device to be configured is calculated, and the distribution network information of the router with the highest score is selected and sent to the device to be configured.
For example, the router scores corresponding to the devices to be networked: p ═ aX + bY + cZ, where X represents a performance index value of the router, which can be calculated bY integrating all performance indexes; y represents the number of connected devices, and Z represents the distance between the router and the device to be networked. X, Y, Z may be the result of normalizing the actual value. a. b, c represent the weight of three factors, 0< a <1, -1< b <0, -1< c < 0.
In the embodiment, when a plurality of routers exist in the environment, the router with the optimal networking effect can be selected for the equipment to be distributed, and the automatic network distribution effect is improved.
The following describes the network distribution method of the device in detail by using a specific example.
Fig. 6 is a flowchart of a method for distributing a network by a device according to another embodiment of the present application. As shown in fig. 6, the device to be networked is an air conditioner. The method comprises the following steps:
step S61, after the App is started, judging whether the App prestores a router SSID and a password; if so, step S63 is performed, and if not, step S62 is performed.
And step S62, prompting the user to input the SSID and the password of the router on the App interface, and storing the SSID and the password of the router input by the user.
And step S63, scanning the equipment to be networked.
And step S64, judging whether the equipment information of the equipment to be distributed is received, if so, executing step S66, and if not, executing step S65.
And step S65, prompting the user to execute reset operation on the equipment to be distributed on the App interface.
And step S66, judging whether the distance between the air conditioner and the air conditioner reaches a preset distance, if so, executing step S67, and if not, executing step S66.
Step S67, the router SSID and password are sent to the air conditioner.
And step S68, after receiving the response that the air conditioner networking is successful, displaying that the distribution network is successful on the App interface.
According to the embodiment, the whole distribution process of the scheme is automatically finished, the user does not need to perform complicated operation on an App interface step by step, and the convenience of equipment distribution is improved; moreover, the equipment to be distributed is determined based on the proximity mode, and the user does not need to select and input on an App interface, so that the repeated and redundant operations of the user are further reduced, and the efficiency of the distribution network is improved; moreover, even if a plurality of devices exist in the current environment, the devices of the distribution network can be automatically added as the designated devices according to the distance, mismatching is avoided, and the accuracy of the distribution network is improved.
First, as shown in fig. 7, it is confirmed in App whether the distribution network information is already stored, and the user can confirm the Wi-Fi required to be used for the distribution network, that is, confirm the distribution network information — the SSID of the router and the password. On the interface, the user can also choose to use other distribution network information, namely clicking to replace other Wi-Fi.
As shown in fig. 8, when the distance between the air conditioner and the distribution network device is less than a preset distance, for example, 30cm, the air conditioner may be directly connected, or a dialog box may pop up on the App interface to prompt the user to select whether to connect the air conditioner.
In this embodiment, the SSID and password of the router "GR-AC _11002_01_ zht 6" may be directly sent to the air conditioner and sent to the air conditioner, and the distribution network progress is displayed on the App interface shown in fig. 10 until the distribution network of the air conditioner is completed.
Optionally, as shown in fig. 9, the user may also be prompted on the distribution network interface whether to send the SSID and the password of the router "GR-AC _11002_01_ zht 6" to the air conditioner, if the user clicks "next step", the SSID and the password of the router are sent to the air conditioner, and the air conditioner connects the router for networking.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application.
Fig. 11 is a block diagram of an apparatus distribution network apparatus provided in an embodiment of the present application, where the apparatus may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 11, the device network distribution apparatus includes:
the scanning module 71 is configured to scan a device to be networked;
a distance determining module 72, configured to determine a distance between the network device and the network device to be configured;
a distribution network information determining module 73, configured to determine distribution network information corresponding to the device to be distributed when the distance is smaller than or equal to a preset distance;
and the distribution network module 74 is configured to send the distribution network information to the device to be distributed, and perform network configuration by the device to be distributed according to the distribution network information.
Optionally, the distance determining module 72 is configured to detect a signal strength of a signal sent by the device to be networked; and calculating the distance between the network equipment to be configured and the network equipment according to the signal intensity.
Fig. 12 is a block diagram of an apparatus network distribution device according to another embodiment of the present application. Optionally, as shown in fig. 12, the apparatus further includes: an operation executing module 75, configured to execute a preset reminding operation when at least two devices to be connected to the network are scanned before determining a distance between the device to be connected to the network and the network, where the preset reminding operation includes at least one of:
displaying the scanned at least two devices to be distributed on an interface, and prompting a user to select the devices to be distributed which need to be distributed;
prompting a user to move to a device to be configured with a network needing to be configured;
and prompting a user to close the equipment to be distributed without the distribution network.
Optionally, the distance determining module 72 is configured to obtain feature information of the device to be networked, where the feature information includes a hotspot name released by the device to be networked, a check code, and/or a signal strength of a signal sent out; and when the characteristic information is determined to meet the preset condition, calculating the distance between the network equipment and the network equipment to be configured according to the characteristic information.
Optionally, the scanning module 71 is configured to scan device information released by the device to be networked; and when the equipment information is received, establishing connection with the equipment to be distributed.
Optionally, the distribution network information determining module 73 is configured to, when there are at least two pieces of distribution network information, obtain a performance index of a router corresponding to the distribution network information; analyzing network parameters of the equipment to be distributed for networking by using the distribution network information according to the performance indexes; and when the network parameters meet preset conditions, selecting the distribution network information corresponding to the network parameters as the distribution network information corresponding to the equipment to be distributed.
Optionally, the distribution network information determining module 73 is configured to, when there are at least two pieces of distribution network information, obtain location information of a router corresponding to the distribution network information and/or a number of currently connected devices; calculating the distance between the equipment to be distributed and the router according to the position information; and selecting a router corresponding to the equipment to be distributed according to the distance and/or the equipment number, and taking the distribution network information of the router as the distribution network information corresponding to the equipment to be distributed.
An embodiment of the present application further provides an electronic device, as shown in fig. 13, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501, when executing the computer program stored in the memory 1503, implements the steps of the method embodiments described below.
The communication bus mentioned in the electronic device may be a peripheral component interconnect (pci) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method embodiments described below.
It should be noted that, for the above-mentioned apparatus, electronic device and computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
It is further noted that, herein, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for distributing a network by equipment is characterized by comprising the following steps:
scanning equipment to be configured with a network;
determining the distance between the device to be networked and the network to be configured;
when the distance is smaller than or equal to a preset distance, determining distribution network information corresponding to the equipment to be distributed;
and sending the distribution network information to the equipment to be distributed, and carrying out network configuration by the equipment to be distributed according to the distribution network information.
2. The method of claim 1, wherein the determining the distance to the device to be networked comprises:
detecting the signal intensity of a signal sent by the equipment to be networked;
and calculating the distance between the network equipment to be configured and the network equipment according to the signal intensity.
3. The method of claim 1, wherein prior to the determining the distance to the device to be networked, the method further comprises:
when at least two pieces of equipment to be distributed are scanned, executing preset reminding operation, wherein the preset reminding operation comprises at least one of the following items:
displaying the scanned at least two devices to be distributed on an interface, and prompting a user to select the devices to be distributed which need to be distributed;
prompting a user to move to a device to be configured with a network needing to be configured;
and prompting a user to close the equipment to be distributed without the distribution network.
4. The method of claim 1, wherein the determining the distance to the device to be networked comprises:
acquiring characteristic information of the equipment to be distributed, wherein the characteristic information comprises a hotspot name and a check code released by the equipment to be distributed and/or signal strength of a sent signal;
and when the characteristic information is determined to meet the preset condition, calculating the distance between the network equipment and the network equipment to be configured according to the characteristic information.
5. The method of claim 1, wherein the scanning for devices to be networked comprises:
scanning the equipment information released by the equipment to be distributed;
and when the equipment information is received, establishing connection with the equipment to be distributed.
6. The method of claim 1, wherein the determining distribution network information corresponding to the device to be distributed comprises:
when at least two pieces of distribution network information exist, acquiring performance indexes of routers corresponding to the distribution network information;
analyzing network parameters of the equipment to be distributed for networking by using the distribution network information according to the performance indexes;
and when the network parameters meet preset conditions, selecting the distribution network information corresponding to the network parameters as the distribution network information corresponding to the equipment to be distributed.
7. The method of claim 1, wherein the determining distribution network information corresponding to the device to be distributed comprises:
when at least two pieces of distribution network information exist, acquiring the position information of a router corresponding to the distribution network information and/or the number of currently connected devices;
calculating the distance between the equipment to be distributed and the router according to the position information;
and selecting a router corresponding to the equipment to be distributed according to the distance and/or the equipment number, and taking the distribution network information of the router as the distribution network information corresponding to the equipment to be distributed.
8. An equipment distribution network apparatus, comprising:
the scanning module is used for scanning the equipment to be networked;
the distance determining module is used for determining the distance between the network equipment to be networked and the distance determining module;
the distribution network information determining module is used for determining distribution network information corresponding to the equipment to be distributed when the distance is smaller than or equal to a preset distance;
and the distribution network module is used for sending the distribution network information to the equipment to be distributed, and the equipment to be distributed performs network configuration according to the distribution network information.
9. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the computer program, implementing the method steps of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN202010286692.6A 2020-04-13 2020-04-13 Equipment network distribution method and device, electronic equipment and storage medium Pending CN111555905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010286692.6A CN111555905A (en) 2020-04-13 2020-04-13 Equipment network distribution method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010286692.6A CN111555905A (en) 2020-04-13 2020-04-13 Equipment network distribution method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111555905A true CN111555905A (en) 2020-08-18

Family

ID=72007413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010286692.6A Pending CN111555905A (en) 2020-04-13 2020-04-13 Equipment network distribution method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111555905A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020013A (en) * 2020-08-21 2020-12-01 青岛海尔科技有限公司 Method, system, device and equipment for network distribution
CN112055082A (en) * 2020-09-08 2020-12-08 北京自如信息科技有限公司 Access equipment detection method and device and computer equipment
CN112188488A (en) * 2020-09-16 2021-01-05 珠海格力电器股份有限公司 Network distribution method, device and system
CN112672277A (en) * 2020-12-16 2021-04-16 珠海格力电器股份有限公司 Network distribution method and network distribution system
CN113037536A (en) * 2021-02-05 2021-06-25 宁波奥克斯电气股份有限公司 Equipment distribution network reminding method and device and electronic equipment
CN113316147A (en) * 2021-05-28 2021-08-27 佛山市顺德区美的电子科技有限公司 Network distribution method, terminal device and readable storage medium
CN114205803A (en) * 2021-12-10 2022-03-18 珠海格力电器股份有限公司 Network distribution method and device of intelligent device, electronic device and storage medium
CN114244645A (en) * 2021-12-17 2022-03-25 珠海格力电器股份有限公司 Network distribution method, server, computer readable storage medium and processor
CN115442168A (en) * 2021-06-02 2022-12-06 云米互联科技(广东)有限公司 Household equipment network distribution method and device based on indoor cruise
CN116887385A (en) * 2023-09-06 2023-10-13 博为科技有限公司 Wireless device access optimization method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090103503A1 (en) * 2007-10-22 2009-04-23 Kapil Chhabra Location Aware Background Access Point Scanning for WLAN
CN106211264A (en) * 2016-07-11 2016-12-07 九阳股份有限公司 A kind of household electrical appliances distribution method and device
CN108040358A (en) * 2017-12-29 2018-05-15 广东欧珀移动通信有限公司 A kind of connection method of wireless network, terminal device and storage medium
CN108419222A (en) * 2018-02-26 2018-08-17 上海康斐信息技术有限公司 The method and system of route-map quick obtaining and terminal management based on NFC
CN110266537A (en) * 2019-06-21 2019-09-20 上海庆科信息技术有限公司 Equipment distribution method, apparatus, system, to distribution net equipment and terminal
CN110471296A (en) * 2019-07-19 2019-11-19 深圳绿米联创科技有限公司 Apparatus control method, device, system, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090103503A1 (en) * 2007-10-22 2009-04-23 Kapil Chhabra Location Aware Background Access Point Scanning for WLAN
CN106211264A (en) * 2016-07-11 2016-12-07 九阳股份有限公司 A kind of household electrical appliances distribution method and device
CN108040358A (en) * 2017-12-29 2018-05-15 广东欧珀移动通信有限公司 A kind of connection method of wireless network, terminal device and storage medium
CN108419222A (en) * 2018-02-26 2018-08-17 上海康斐信息技术有限公司 The method and system of route-map quick obtaining and terminal management based on NFC
CN110266537A (en) * 2019-06-21 2019-09-20 上海庆科信息技术有限公司 Equipment distribution method, apparatus, system, to distribution net equipment and terminal
CN110471296A (en) * 2019-07-19 2019-11-19 深圳绿米联创科技有限公司 Apparatus control method, device, system, electronic equipment and storage medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020013A (en) * 2020-08-21 2020-12-01 青岛海尔科技有限公司 Method, system, device and equipment for network distribution
CN112055082A (en) * 2020-09-08 2020-12-08 北京自如信息科技有限公司 Access equipment detection method and device and computer equipment
CN112188488A (en) * 2020-09-16 2021-01-05 珠海格力电器股份有限公司 Network distribution method, device and system
CN112672277B (en) * 2020-12-16 2022-12-20 珠海格力电器股份有限公司 Network distribution method and network distribution system
CN112672277A (en) * 2020-12-16 2021-04-16 珠海格力电器股份有限公司 Network distribution method and network distribution system
CN113037536A (en) * 2021-02-05 2021-06-25 宁波奥克斯电气股份有限公司 Equipment distribution network reminding method and device and electronic equipment
CN113316147A (en) * 2021-05-28 2021-08-27 佛山市顺德区美的电子科技有限公司 Network distribution method, terminal device and readable storage medium
CN115442168A (en) * 2021-06-02 2022-12-06 云米互联科技(广东)有限公司 Household equipment network distribution method and device based on indoor cruise
CN115442168B (en) * 2021-06-02 2023-11-17 云米互联科技(广东)有限公司 Household equipment network distribution method and device based on indoor cruising
CN114205803A (en) * 2021-12-10 2022-03-18 珠海格力电器股份有限公司 Network distribution method and device of intelligent device, electronic device and storage medium
CN114244645A (en) * 2021-12-17 2022-03-25 珠海格力电器股份有限公司 Network distribution method, server, computer readable storage medium and processor
CN114244645B (en) * 2021-12-17 2023-08-25 珠海格力电器股份有限公司 Distribution network method, server, computer readable storage medium and processor
CN116887385A (en) * 2023-09-06 2023-10-13 博为科技有限公司 Wireless device access optimization method, device and storage medium
CN116887385B (en) * 2023-09-06 2023-12-12 博为科技有限公司 Wireless device access optimization method, device and storage medium

Similar Documents

Publication Publication Date Title
CN111555905A (en) Equipment network distribution method and device, electronic equipment and storage medium
CN112752324B (en) Network distribution method, device and system of intelligent equipment, electronic equipment and storage medium
CN102938923B (en) A kind of WAP sort method based on mobile terminal and mobile terminal thereof
US9572190B2 (en) Device and method for associating with WiFi networks
WO2019114303A1 (en) Bluetooth connection method and device
CN109709915B (en) Method and system for intelligent collaborative production among multiple production lines
CN107431977A (en) The selection of access point within a wireless communication network
CN104902500A (en) Automatic connection method and system for wireless network device and wireless access device
CN103259618B (en) Assess the method for radio transmission channel quality and the residential gateway using this method
CN111885680A (en) Method, system and core equipment for establishing network connection
CN105451300B (en) A kind of method for connecting network and mobile device
CN112804697B (en) Network distribution method and device for equipment to be networked, electronic equipment and computer readable medium
CN112969167A (en) Equipment network distribution method, device and system, electronic equipment and storage medium
CN104348686A (en) Method and device for interconnecting terminal equipment and gateway equipment
CN111479247A (en) Network distribution method and device, electronic equipment and computer readable medium
CN110177384A (en) Cut-in method, device, wireless access point and readable storage medium storing program for executing
CN112770308A (en) Network distribution method and device of intelligent device, electronic device and computer readable medium
CN107148020A (en) WiFi shared systems and its method, Wireless Communication Equipment and router
CN107205210B (en) Method, device, system and computer program for configuring wireless network node
CN112235811B (en) Method for networking multiple routers, router, electronic device and storage medium
CN103139792A (en) Method capable of improving base station uplink signal coverage based on data management routine (DMR) receiver and system using the same
CN106559107A (en) A kind of method and device for determining dual-mode antenna
CN113179509B (en) Ad hoc network method and device based on WiFi, storage medium and wireless node
CN106028323A (en) Network access method, terminal and access point
EP3160208A1 (en) Wireless network access point connection method and terminal

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