CN113950052B - Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment - Google Patents

Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment Download PDF

Info

Publication number
CN113950052B
CN113950052B CN202111082135.3A CN202111082135A CN113950052B CN 113950052 B CN113950052 B CN 113950052B CN 202111082135 A CN202111082135 A CN 202111082135A CN 113950052 B CN113950052 B CN 113950052B
Authority
CN
China
Prior art keywords
frequency band
physical address
signal frequency
wireless network
service set
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
CN202111082135.3A
Other languages
Chinese (zh)
Other versions
CN113950052A (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.)
Shenzhen Hetai Intelligent Home Appliance Controller Co ltd
Original Assignee
Shenzhen Hetai Intelligent Home Appliance Controller Co ltd
Filing date
Publication date
Application filed by Shenzhen Hetai Intelligent Home Appliance Controller Co ltd filed Critical Shenzhen Hetai Intelligent Home Appliance Controller Co ltd
Priority to CN202111082135.3A priority Critical patent/CN113950052B/en
Publication of CN113950052A publication Critical patent/CN113950052A/en
Application granted granted Critical
Publication of CN113950052B publication Critical patent/CN113950052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A network distribution method for intelligent devices, comprising: acquiring a service set identifier selected by a user and an access password input by the user; if the signal frequency band corresponding to the service set identifier is a first signal frequency band which cannot be established by the intelligent device with the wireless network device, determining a first physical address corresponding to the service set identifier, wherein the first physical address is a physical address of the wireless network device corresponding to the service set identifier in the first signal frequency band; searching a second physical address matched with the first physical address according to the first physical address, generating a first access data group according to the second physical address and an access password, wherein the second physical address is the physical address of the wireless network device corresponding to the service set identifier under a second signal frequency band, and the second signal frequency band is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device; the first access data set is sent to the intelligent device to cause the device to establish a communication connection with the wireless network device using the first access data set.

Description

Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network allocation method and apparatus for an intelligent device, a mobile terminal, and an intelligent device.
Background
Most of the existing intelligent devices of the internet of things only support wireless networks with one frequency band, but most of the existing wireless network devices and mobile terminals can support wireless networks with multiple frequency bands, when users networking the intelligent devices through an APP, the users need to carefully distinguish signal frequency bands, and if the signal frequency bands which are not supported by the intelligent devices are selected, the intelligent devices cannot be connected to the wireless network devices.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus, a mobile terminal, and an intelligent device for configuring an intelligent device that allows the intelligent device to support only one signal band, and that is capable of connecting to a wireless network device that transmits a plurality of signal band wireless networks only through the signal band supported by the intelligent device.
In a first aspect, the present invention provides a network allocation method for an intelligent device, including:
Acquiring a service set identifier selected by a user and an access password input by the user;
If the signal frequency band corresponding to the service set identifier is a first signal frequency band which cannot be connected with the wireless network device in a wireless way, determining a first physical address corresponding to the service set identifier, wherein the first physical address is a physical address of the wireless network device corresponding to the service set identifier in the first signal frequency band;
Searching a second physical address matched with the first physical address according to the first physical address, and generating a first access data group according to the second physical address and the access password, wherein the second physical address is a physical address of wireless network equipment corresponding to the service set identifier under a second signal frequency band, and the second signal frequency band is a signal frequency band in which the intelligent equipment can establish wireless connection with the wireless network equipment;
and under the condition of establishing communication connection with the intelligent equipment, the first access data set is sent to the intelligent equipment through the communication connection, so that the intelligent equipment establishes wireless connection with the wireless network equipment by using the first access data set.
In a second aspect, the present invention provides a network allocation method for an intelligent device, including:
Receiving a third access data set sent by a mobile terminal, wherein the third access data set comprises a fourth physical address, an access password and a signal frequency band identifier, and the signal frequency band identifier is used for indicating a signal frequency band corresponding to the fourth physical address;
if the signal frequency band corresponding to the fourth physical address is determined to be the first signal frequency band which cannot be established by the intelligent device with the wireless network device according to the signal frequency band identification, scanning wireless signals of a second signal frequency band to obtain a plurality of service set identifications and physical addresses corresponding to the service set identifications, wherein the second signal frequency band is a signal frequency band which can be established by the intelligent device with the wireless network device;
searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifiers, and establishing wireless connection with wireless network equipment corresponding to the fifth physical address according to the fifth physical address and the access password.
In a third aspect, the present invention provides a network allocation device of an intelligent device, including:
The first acquisition module is used for acquiring a service set identifier selected by a user and an access password input by the user;
The first data generation module is used for determining a first physical address corresponding to the service set identifier if the signal frequency band corresponding to the service set identifier is a first signal frequency band which cannot be used for establishing wireless connection with the wireless network device by the intelligent device, wherein the first physical address is a physical address of the wireless network device corresponding to the service set identifier under the first signal frequency band;
The second data generation module is used for searching a second physical address matched with the first physical address according to the first physical address, generating a first access data set according to the second physical address and the access password, wherein the second physical address is a physical address of the wireless network device corresponding to the service set identifier under a second signal frequency band, and the second signal frequency band is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device;
and the first connection module is used for sending the first access data set to the intelligent equipment through the communication connection under the condition of establishing the communication connection with the intelligent equipment so that the intelligent equipment can establish wireless connection with the wireless network equipment by using the first access data set.
In a fourth aspect, the present invention provides a network allocation device of an intelligent device, including:
The second acquisition module is used for receiving a third access data set sent by the mobile terminal, wherein the third access data set comprises a fourth physical address, an access password and a signal frequency band identifier, and the signal frequency band identifier is used for indicating a signal frequency band corresponding to the fourth physical address;
a third data generating module, configured to scan wireless signals of a second signal frequency band to obtain a plurality of service set identifiers and physical addresses corresponding to the service set identifiers, if it is determined that the signal frequency band corresponding to the fourth physical address is a first signal frequency band in which the intelligent device cannot establish wireless connection with the wireless network device according to the signal frequency band identifier, where the second signal frequency band is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device;
And the second connection module is used for searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifiers, and establishing wireless connection with wireless network equipment corresponding to the fifth physical address according to the fifth physical address and the access password.
In a fifth aspect, the present invention provides a mobile terminal comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
Acquiring a service set identifier selected by a user and an access password input by the user;
If the signal frequency band corresponding to the service set identifier is a first signal frequency band which cannot be connected with the wireless network device in a wireless way, determining a first physical address corresponding to the service set identifier, wherein the first physical address is a physical address of the wireless network device corresponding to the service set identifier in the first signal frequency band;
Searching a second physical address matched with the first physical address according to the first physical address, and generating a first access data group according to the second physical address and the access password, wherein the second physical address is a physical address of wireless network equipment corresponding to the service set identifier under a second signal frequency band, and the second signal frequency band is a signal frequency band in which the intelligent equipment can establish wireless connection with the wireless network equipment;
and under the condition of establishing communication connection with the intelligent equipment, the first access data set is sent to the intelligent equipment through the communication connection, so that the intelligent equipment establishes wireless connection with the wireless network equipment by using the first access data set.
In a sixth aspect, the present invention provides a smart device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
Receiving a third access data set sent by a mobile terminal, wherein the third access data set comprises a fourth physical address, an access password and a signal frequency band identifier, and the signal frequency band identifier is used for indicating a signal frequency band corresponding to the fourth physical address;
if the signal frequency band corresponding to the fourth physical address is determined to be the first signal frequency band which cannot be established by the intelligent device with the wireless network device according to the signal frequency band identification, scanning wireless signals of a second signal frequency band to obtain a plurality of service set identifications and physical addresses corresponding to the service set identifications, wherein the second signal frequency band is a signal frequency band which can be established by the intelligent device with the wireless network device;
searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifiers, and establishing wireless connection with wireless network equipment corresponding to the fifth physical address according to the fifth physical address and the access password.
The application relates to a network distribution method and device of intelligent equipment, a mobile terminal and the intelligent equipment, wherein firstly, a service set identifier selected by a user and an access password input by the user are obtained; then, if the signal frequency band corresponding to the service set identifier is a first signal frequency band in which the intelligent device cannot establish wireless connection with the wireless network device, determining a first physical address corresponding to the service set identifier, wherein the first physical address is a physical address of the wireless network device corresponding to the service set identifier in the first signal frequency band; next, searching a second physical address matched with the first physical address according to the first physical address, and generating a first access data set according to the second physical address and the access password, wherein the second physical address is a physical address of the wireless network device corresponding to the service set identifier under a second signal frequency band, and the second signal frequency band is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device; and finally, under the condition of establishing communication connection with the intelligent equipment, the first access data set is sent to the intelligent equipment through the communication connection, so that the intelligent equipment establishes wireless connection with the wireless network equipment by using the first access data set. According to the scheme, after the service set identification selected by the user and the access password input by the user are obtained, under the condition that the first signal frequency band corresponding to the service set identification selected by the user is judged to be the signal frequency band which cannot be established by the intelligent device and the wireless network device, the second physical address of the wireless network device in the second signal frequency band which can be established by the intelligent device and the wireless network device can be determined by determining the first physical address corresponding to the wireless network device in the first signal frequency band, and the second physical address is used for replacing the first physical address, so that the intelligent device and the wireless network device can be successfully networked under the condition that the password is correct by the user, even if the signal frequency band which is not supported by the intelligent device is selected, the user does not need to have special knowledge on the aspect of the wireless network, the connection error which can be caused can be eliminated, and the success rate of the connection is greatly increased.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram of a distribution network system for an intelligent device, in one embodiment;
FIG. 2 is a flow chart of a method for network configuration of an intelligent device in one embodiment;
FIG. 3 is a flow chart of a method for network configuration of an intelligent device in one embodiment;
FIG. 4 is a block diagram illustrating a configuration of a network device of an intelligent device according to an embodiment;
FIG. 5 is a block diagram illustrating an embodiment of a network configuration device for an intelligent device;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In one embodiment, the technical method provided by the invention is suitable for a network distribution system of intelligent equipment. As shown in fig. 1, fig. 1 is a schematic system architecture diagram of a distribution network system of the intelligent device in the present embodiment. Including wireless network device 100, smart device 200, mobile terminal 300. The wireless network device 100 is configured to provide a network interface for the smart device 200 and the mobile terminal 300, and send out wireless networks with multiple frequency bands, so that the smart device 200 and the mobile terminal 300 can implement internet connection through the wireless network device 100. Specifically, the wireless network device 100 may be a dual-band router, or other wireless network device that may send out a plurality of frequency band wireless networks. The smart device 200 is a smart device that cannot establish wireless connection with a wireless network device through a wireless network of all signal bands transmitted from the wireless network device 100. Specifically, the smart device 200 may be a smart refrigerator, a smart microwave oven, a smart washing machine, etc. The intelligent device 200 is provided with a communication network module, and can send out a wireless network with a fixed frequency band, the intelligent device 200 can establish communication connection with the mobile terminal 300 through the wireless network sent out by the intelligent device 200, the mobile terminal 300 sends a MAC Address (MEDIA ACCESS Control Address, also called a physical Address) of the wireless network device 100 and an access password input by a user to the intelligent device 200 through the communication connection, and the intelligent device 200 completes wireless connection with the wireless network device 100 through the physical Address of the wireless network device 100 and the access password input by the user, and after the intelligent device 200 accesses the internet, man-machine interaction is realized through the network. Specifically, the user may send a control instruction through the network, and after receiving the control instruction, the intelligent device 200 responds according to the control instruction, where the control instruction may be used to set a device parameter and change a working state. The mobile terminal 300 is an electronic device capable of establishing wireless connection with the wireless network device through the wireless network of all signal frequency bands sent by the wireless network device 100, and the mobile terminal 300 can display a service set identification list of the wireless network device 100 and acquire user operation to realize interaction with the user. Specifically, the mobile terminal 300 may be a smart phone, a smart tablet, or the like. After the user operation is obtained, a data interaction request is initiated to the wireless network device 100 or the intelligent device 200, and a data interaction response returned by the wireless network device 100 or the intelligent device 200 is received, so that data interaction with the network device 100 or the intelligent device 200 is realized.
Based on the network distribution system of the intelligent device shown in fig. 1, the network distribution flow of the intelligent device can be realized. Fig. 2 is a flowchart of a network allocation method of an intelligent device according to an embodiment of the present invention.
As shown in fig. 2, the present invention provides a network allocation method for an intelligent device, which can be applied to the mobile terminal 300, and includes the following steps:
Step 202, obtaining a service set identifier selected by a user and an access password input by the user.
Wherein the service set identifier refers to SSID (SERVICE SET IDENTIFIER), service set identifier). The SSID technology can divide a wireless local area network into a plurality of sub-networks requiring different identity verification, each sub-network needs independent identity verification, and only users passing the identity verification can enter the corresponding sub-network to prevent unauthorized users from entering the network.
The access password refers to a password input by a user and used for identity authentication.
After the mobile terminal displays a service set identifier list formed by a plurality of service set identifiers of the wireless network device, the user selects one of the service set identifiers from the plurality of service set identifiers and inputs an access password corresponding to the service set identifier.
In this embodiment, the obtaining the service set identifier selected by the user and the access password input by the user further includes: scanning wireless signals sent by wireless network equipment to obtain a plurality of service set identifiers, physical addresses corresponding to the service set identifiers and signal frequency bands corresponding to the service set identifiers; and correspondingly storing the plurality of service set identifiers, the physical addresses corresponding to the plurality of service set identifiers respectively, and the signal frequency bands corresponding to the plurality of service set identifiers respectively.
The physical Address is a MAC Address (MEDIA ACCESS Control Address), also called a lan Address (LAN ADDRESS), a MAC Address or an ethernet Address (ETHERNET ADDRESS), which is an Address for identifying the location of the network device. In the OSI model, the third layer network layer is responsible for IP addresses, and the second layer data link layer is responsible for MAC addresses. The MAC address is used to uniquely identify a network card in the network, and if a device has one or more wireless network cards, each network card needs and has a unique MAC address.
When the intelligent device needs to be accessed to the network, firstly, the mobile terminal needs to scan the wireless signal sent by the wireless network device. By scanning wireless signals sent by the wireless network device, a plurality of service set identifiers, physical addresses corresponding to the service set identifiers and signal frequency bands corresponding to the service set identifiers can be obtained. After the scanning is finished, the mobile terminal correspondingly stores a plurality of service set identifiers, physical addresses corresponding to the service set identifiers and signal frequency bands corresponding to the service set identifiers, and a service set identifier list formed by the service set identifiers is displayed on a mobile terminal display device.
In this embodiment, the form of data storage of the mobile terminal may be a table, as shown in table 1. At this time, the wireless network device may send out a wireless network with a frequency band of 2.4GHz and a wireless network with a frequency band of 5 GHz. The service set identifier myAP and the service set identifier myAP2 are service set identifiers of the same wireless network device in the 2.4GHz band and the 5GHz band, and the physical address 123456789011 and the physical address 123456789012 are physical addresses of the same wireless network device in the 2.4GHz band and the 5GHz band, respectively. The service set identifier test1 and the service set identifier test2 are service set identifiers of another wireless network device in a 2.4GHz frequency band and a 5GHz frequency band, and the physical addresses 3048B0EF3288 and 3048B0EF3289 are physical addresses of the other wireless network device in the 2.4GHz frequency band and the 5GHz frequency band. It will be appreciated that the same wireless network device has the same first n identical characteristics between physical addresses in the 2.4GHz band and the 5GHz band, respectively, as shown in table 1. For example, the physical addresses of the same wireless network device in the 2.4GHz band and the 5GHz band are 123456789011 and 123456789012 respectively, the first 11 identifiers of the two are the same, and only the last identifier is different.
In this embodiment, the mobile terminal scans a wireless network with a frequency band of 2.4GHz to obtain a service set identifier myAP and a service set identifier test1, and physical addresses 123456789011 and 3048B0EF3288 corresponding to the service set identifier myAP1 and the service set identifier test1 respectively; the mobile terminal scans a wireless network with a frequency band of 5GHz to obtain a service set identifier myAP and a service set identifier test2, and a physical address 123456789012 and a physical address 3048B0EF3289 corresponding to the service set identifier myAP and the service set identifier test2 respectively. After the scanning is finished, the mobile terminal stores the data in the table 1. It can be understood that in practical application, the wireless network device may send out wireless networks of multiple frequency bands, and scan the wireless network of each frequency band may also obtain multiple service set identifiers.
TABLE 1
Sequence number SSID (service set identification) MAC address (physical address) Signal frequency band
1 myAP1 123456789011 2.4GHz
2 myAP2 123456789012 5GHz
3 test1 3048B0EF3288 2.4GHz
4 test2 3048B0EF3289 5GHz
In this embodiment, by storing the plurality of service set identifiers, the physical addresses corresponding to the plurality of service set identifiers, and the signal frequency bands corresponding to the plurality of service set identifiers, the physical addresses corresponding to the plurality of service set identifiers and the signal frequency bands corresponding to the plurality of service set identifiers can be quickly and accurately searched, so that the network allocation speed of the intelligent device is improved.
Step 204, if the signal frequency band corresponding to the service set identifier is a first signal frequency band in which the intelligent device cannot establish wireless connection with the wireless network device, determining a first physical address corresponding to the service set identifier, where the first physical address is a physical address of the wireless network device corresponding to the service set identifier in the first signal frequency band.
If one or more wireless network cards exist in one wireless network device, each network card has a unique physical address, and different physical addresses are used for entering different wireless networks. Meanwhile, different wireless networks may have different names, i.e., different service set identifications.
Wherein, the service set identifier corresponds to the physical address, which means that the wireless network represented by the service set identifier can be determined through the service set identifier, and the physical address of the wireless network device can be determined.
Wherein, the service set identifier corresponds to the wireless network device, which means that the wireless network device sending out the wireless network represented by the service set identifier can be determined through the service set identifier.
After the mobile terminal displays a service set identifier list formed by a plurality of service set identifiers of the wireless network device, the user can select one service set identifier from the service set identifier list to carry out wireless connection. But normally, when the user selects the service set identifier, the user cannot determine whether the signal frequency band corresponding to the service set identifier is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device. If the signal frequency band corresponding to the service set identifier selected by the user is a first signal frequency band which cannot be established by the intelligent device with the wireless network device, determining a first physical address corresponding to the service set identifier, namely determining the first physical address of the wireless network device corresponding to the service set identifier in the first signal frequency band, wherein the service set identifier is one of a plurality of service set identifiers of the wireless network device. Step 206 may be performed after the first physical address is determined.
Step 206, searching a second physical address matched with the first physical address according to the first physical address, and generating a first access data set according to the second physical address and the access password, wherein the second physical address is a physical address of the wireless network device corresponding to the service set identifier in a second signal frequency band, and the second signal frequency band is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device.
The access data set refers to a data set that the mobile terminal sends to the intelligent device, so that the intelligent device can be successfully connected with the wireless network device.
And the signal frequency band in which the intelligent device can establish wireless connection with the wireless network device is marked as a second signal frequency band, and the physical address of the wireless network device corresponding to the service set identifier under the second signal frequency band is marked as a second physical address.
The first physical address of the same wireless network device in the first signal frequency band and the second physical address of the same wireless network device in the second signal frequency band have the same characteristics of the first n identifiers. After the first physical address is determined, a second physical address matched with the first physical address can be searched according to the first physical address, and the second physical address and an access password input by a user are further formed into a first access data set. At this time, the second physical address in the first access data set is a second signal frequency band in which the intelligent device can establish wireless connection with the wireless network device, that is, a physical address in a signal frequency band that the intelligent device can support, and the intelligent device can access the wireless network of the second signal frequency band according to the first access data set.
In this embodiment, the signal frequency band that the intelligent device can establish a wireless connection with the wireless network device is also referred to as a signal frequency band that the intelligent device can support. Taking an example that the intelligent device can only support a wireless network with the frequency band of 2.4GHz and cannot support a wireless network with the frequency band of 5GHz, the wireless network device has the same characteristics of the first ten identifiers between a physical address with the frequency band of 2.4GHz and a physical address with the frequency band of 5 GHz. As shown in table 2, if the service set identifier myAP4 selected by the user and the signal frequency band corresponding to the service set identifier myAP is 5GHz that cannot be supported by the smart device, at this time, the mobile terminal will determine the physical address 123456789014 corresponding to the service set identifier myAP first, and then determine the physical address 123456789013 corresponding to the physical address 123456789014 in the frequency band 5GHz according to the characteristic that the physical address in the frequency band 2.4GHz has the same characteristics as the first ten identifiers; then, the mobile terminal replaces the physical address 123456789014 GHz with the physical address 123456789013 2.4GHz, uses the physical address 123456789013 2.4GHz and the access password input by the user to form a first access data set, and the intelligent device can access the wireless network 2.4GHz by using the first access data set.
TABLE 2
Sequence number SSID (service set identification) MAC address (physical address) Signal frequency band
1 myAP3 123456789013 2.4GHz
2 myAP4 123456789014 5GHz
3 Test3 3048B0EF3286 2.4GHz
4 Test4 3048B0EF3287 5GHz
In this embodiment, the first n identifiers of the physical addresses of the same wireless network device in the first signal frequency band and the second signal frequency band are the same; the searching for the second physical address matched with the first physical address according to the first physical address comprises the following steps: reading the first n identifiers of the first physical address; and determining target physical addresses with the first n identifiers consistent with the first n identifiers of the first physical address from the physical addresses corresponding to the service set identifiers respectively, and taking the target physical addresses as second physical addresses.
Wherein, the identification contained in the physical address can be at least one of a numerical identification, a symbol identification and a letter identification.
Wherein n is preset, and the user can set the value of n according to the actual technical development process and technical means. When n is ten, the first n identifiers of the physical address refer to the first ten identifiers of the physical address, and after the first physical address is determined, the first ten identifiers of the first physical address can be read, so that a second physical address with the same first ten identifiers of the first physical address is obtained.
The plurality of service set identifiers and physical addresses corresponding to the plurality of service set identifiers are stored in a preset storage unit, and specifically, the storage unit can be in a file storage mode and the like. It will be appreciated that the file store may be a data table.
In this embodiment, the preset data table is configured to store a plurality of service set identifiers and physical addresses corresponding to the service set identifiers, as shown in table 2. Specifically, in this embodiment, a physical address of the wireless network device in the frequency band of 2.4GHz is matched with one of the physical addresses in the frequency band of 5 GHz. For example, the physical address 123456789013 of the wireless network device in the frequency band of 2.4GHz is identical to the first ten identifiers of the physical address 123456789014 in the frequency band of 5GHz, and the two identifiers are matched; the first ten identifiers of the physical address 3048B0EF3286 of the wireless network device in the frequency band of 2.4GHz are the same as those of the physical address 3048B0EF3287 in the frequency band of 5GHz, and the two identifiers are matched.
In this embodiment, when the same wireless network device has more than two signal frequency bands, the first n identifiers of the physical addresses of the wireless network device in the multiple signal frequency bands may be the same or different. For example, if the same network device further has a third signal frequency band, the first n identifiers of the physical addresses of the wireless network device in the third signal frequency band and the first signal frequency band may be the same or different, and the first n identifiers of the physical addresses of the wireless network device in the third signal frequency band and the second signal frequency band may be the same or different.
Step 208, in the case of establishing a communication connection with the intelligent device, sending the first access data set to the intelligent device through the communication connection, so that the intelligent device establishes a wireless connection with the wireless network device using the first access data set.
After the second physical address of the wireless network device corresponding to the second signal frequency band, which can establish wireless connection with the wireless network device, of the intelligent device is found according to the first physical address, the second physical address can be used for replacing the first physical address, and the first access data set is formed by the second physical address and an access password input by a user.
It should be noted that, the above-mentioned wireless connection and communication connection refer to that the plurality of devices can perform data interaction through various wireless networks, and the wireless networks adopted by the wireless connection and the communication connection may be the same or different, for example, the wireless connection may be Wi-Fi, and the communication connection may be bluetooth.
The intelligent device can be provided with a communication network module, a wireless network with a fixed frequency band can be sent out, and the mobile terminal establishes communication connection with the intelligent device through the wireless network sent out by the intelligent device. It is understood that in practical applications, the wireless network may be bluetooth, wi-Fi, NFC (NEAR FIELD Communication), infrared, etc. And the mobile terminal sends the first access data set to the intelligent equipment through the communication connection under the condition of establishing the communication connection with the intelligent equipment, and the intelligent equipment establishes wireless connection with the wireless network equipment through the first access data set. For example, the mobile terminal replaces the physical address 123456789014 in the frequency band of 5GHz with the physical address 123456789013 in the frequency band of 2.4GHz, forms the first access data set by using the physical address 123456789013 in the frequency band of 2.4GHz and the access password input by the user, sends the first access data set to the intelligent device through the communication connection, and the intelligent device can access the wireless network in the frequency band of 2.4GHz by using the first access data set. At this time, the same password is set for the user for the wireless network with the frequency band of 5GHz and the wireless network with the frequency band of 2.4GHz of the same wireless network device.
In one embodiment, the network allocation method of the intelligent device further includes: if the signal frequency band corresponding to the service set identifier is the second signal frequency band, determining a third physical address corresponding to the service set identifier, and generating a second access data set according to the third physical address and the access password, wherein the third physical address is a physical address of the wireless network device corresponding to the service set identifier in the second signal frequency band; and under the condition of establishing communication connection with the intelligent equipment, the second access data set is sent to the intelligent equipment through the communication connection, so that the intelligent equipment establishes wireless connection with the wireless network equipment by using the second access data set.
When the signal frequency band corresponding to the service set identifier selected by the user is a second signal frequency band which can establish wireless connection with the wireless network device by the intelligent device, the mobile terminal directly generates a second access data set by the third physical address corresponding to the service set identifier and the access password input by the user. Specifically, the third physical address corresponding to the service set identifier refers to a third physical address, which can determine, through the service set identifier, a wireless network sent by the wireless network device represented by the service set identifier in the second signal frequency band, and determine the wireless network device sending the wireless network in the second signal frequency band. And under the condition that the mobile terminal establishes communication connection with the intelligent equipment, the first access data set is sent to the intelligent equipment through the communication connection, and the intelligent equipment establishes wireless connection with the wireless network equipment through the second access data set.
In this embodiment, if the second signal frequency band that the user selects can establish wireless connection with the wireless network device, the intelligent device may be directly connected with the wireless network device, without performing other operations, with simple operation and quick connection.
In this embodiment, as shown in table 3, if the service set identifier selected by the user is myAP, and the signal frequency band corresponding to the service set identifier myAP is 2.4GHz that the intelligent device can support, at this time, the mobile terminal directly generates a second access data set from the physical address 123456789015 corresponding to the service set identifier myAP5 and the access password input by the user, and the intelligent device uses the second access data set to establish wireless connection with the wireless network device. Similarly, if the service set identifier selected by the user is Test5, the signal frequency band corresponding to the service set identifier Test5 is 2.4GHz which can be supported by the intelligent device, at this time, the mobile terminal directly generates a second access data set by using the physical address 3048B0EF3284 corresponding to the service set identifier Test5 and the access password input by the user, and the intelligent device uses the second access data set to establish wireless connection with the wireless network device.
TABLE 3 Table 3
Sequence number SSID (service set identification) MAC address (physical address) Signal frequency band
1 myAP5 123456789015 2.4GHz
2 myAP6 123456789016 5GHz
3 Test5 3048B0EF3284 2.4GHz
4 Test6 3048B0EF3285 5GHz
The application relates to a network distribution method of intelligent equipment, firstly, a service set identifier selected by a user and an access password input by the user are obtained; then, if the signal frequency band corresponding to the service set identifier is a first signal frequency band in which the intelligent device cannot establish wireless connection with the wireless network device, determining a first physical address corresponding to the service set identifier, wherein the first physical address is a physical address of the wireless network device corresponding to the service set identifier in the first signal frequency band; the first signal frequency band is a signal frequency band which cannot be used by the intelligent equipment; next, searching a second physical address matched with the first physical address according to the first physical address, and generating a first access data set according to the second physical address and the access password, wherein the second physical address is a physical address of the wireless network device corresponding to the service set identifier under a second signal frequency band, and the second signal frequency band is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device; and finally, under the condition of establishing communication connection with the intelligent equipment, the first access data set is sent to the intelligent equipment through the communication connection, so that the intelligent equipment establishes communication connection with the wireless network equipment by using the first access data set. After the service set identifier selected by the user and the access password input by the user are obtained, under the condition that the first signal frequency band corresponding to the service set identifier selected by the user is judged to be the signal frequency band which cannot be established by the intelligent device and the wireless network device, the second physical address of the wireless network device in the second signal frequency band which can be established by the intelligent device and the wireless network device can be determined by determining the first physical address corresponding to the wireless network device in the first signal frequency band, and the second physical address is used for replacing the first physical address, so that the user can successfully networking the intelligent device and the wireless network device under the condition that the input password is correct even if the signal which is not supported by the intelligent device is selected, and the user can eliminate the connection error possibly caused by the special knowledge in the aspect of the wireless network without the need of having the special knowledge of the wireless network, thereby greatly increasing the success rate of connection.
In one embodiment, the network allocation method of the intelligent device further includes: under the condition of establishing communication connection with the intelligent equipment, receiving a first identification code which is sent by the intelligent equipment and corresponds to the intelligent equipment, and sending the first identification code to a cloud service terminal; if successful access information sent by the cloud service terminal is received, determining that the intelligent equipment is successfully connected with the wireless network equipment; and the successful access information is sent when the cloud service terminal receives the second identification code sent by the intelligent device, verifies the first identification code and the second identification code and verifies the first identification code and the second identification code to be consistent.
The wireless network module of the intelligent device is provided with a unique identification code, the unique identification code received by the mobile terminal is marked as a first identification code, and the unique identification code sent to the cloud service terminal by the intelligent device is marked as a second identification code. Under the condition that the mobile terminal and the intelligent device are in communication connection, after the mobile terminal sends the first access data group or the second access data group to the intelligent device, the intelligent device sends the first identification code to the mobile terminal through communication connection, and then the mobile terminal sends the first identification code to the cloud service terminal, and meanwhile, the intelligent device also sends the second identification code to the cloud service terminal. After receiving the first identification code and the second identification code, the cloud service terminal verifies the first identification code and the second identification code, and if the first identification code is consistent with the second identification code, successful access information is sent to the mobile terminal. And the mobile terminal sends a success prompt to the user after receiving the success access information. Specifically, the display device can be used for voice broadcasting, prompting through a signal lamp or displaying through a display interface.
In this embodiment, the network allocation method of the intelligent device further includes: and if the successful access information sent by the cloud service terminal is not received within the preset time after the first identification code is sent, displaying connection failure.
And presetting the waiting time for the intelligent equipment to connect with the wireless network equipment, and if the mobile terminal does not receive the successful access information sent by the cloud service terminal within the waiting time, displaying connection failure.
In the embodiment, the unique identification code is sent to the cloud service terminal for verification, the time threshold for receiving the successful access information and the information prompt are set, and whether the intelligent device is successful in networking or not can be known by a user without operating the intelligent device for verification, so that the intelligent device is quick and accurate.
In one embodiment, as shown in fig. 3, the present invention provides a network allocation method for an intelligent device, including:
Step 302, receiving a third access data set sent by the mobile terminal, where the third access data set includes a fourth physical address, an access password, and a signal frequency band identifier, where the signal frequency band identifier is used to indicate a signal frequency band corresponding to the fourth physical address.
The mobile terminal scans a wireless network sent by wireless network equipment to obtain a plurality of service set identifiers of the wireless network equipment, physical addresses corresponding to the service set identifiers and signal frequency bands corresponding to the service set identifiers. The mobile terminal displays a service set identifier list formed by a plurality of service set identifiers of the wireless network equipment, and acquires one service set identifier selected by a user from the plurality of service set identifiers and an access password input by the user. And determining a fourth physical address corresponding to the service set identifier and a corresponding signal frequency band. And searching a signal frequency band identifier of the signal frequency band corresponding to the fourth physical address from a preset comparison table of the signal frequency band and the signal frequency band identifier. And the mobile terminal forms a third access data group according to the access password input by the user, the fourth physical address corresponding to one of the service set identifiers and the signal frequency band identifier.
Step 304, if it is determined that the signal frequency band corresponding to the fourth physical address is the first signal frequency band in which the intelligent device cannot establish wireless connection with the wireless network device according to the signal frequency band identifier, wireless signals of a second signal frequency band are scanned to obtain a plurality of service set identifiers, and physical addresses corresponding to the service set identifiers respectively, where the second signal frequency band is the signal frequency band in which the intelligent device can establish wireless connection with the wireless network device.
After receiving the third access data set sent by the mobile terminal, the intelligent device can determine the signal frequency band corresponding to the fourth physical address according to the signal frequency band identification in the third access data set. And if the signal frequency band corresponding to the fourth physical address is a first signal frequency band which cannot be established by the intelligent device and the wireless network device, namely, the first signal frequency band which cannot be supported by the intelligent device, the intelligent device scans a wireless network of a second signal frequency band sent by the wireless network device. Specifically, the signal frequency band in which the intelligent device can establish wireless connection with the wireless network device is the second signal frequency band. The intelligent device scans a second signal frequency band to obtain a plurality of service set identifiers under the second signal frequency band, and physical addresses corresponding to the service set identifiers, wherein the second signal frequency band is a signal frequency band supported by the intelligent device.
In this embodiment, taking an example that the wireless network device can send out a wireless network with a frequency band of 2.4GHz and a wireless network with a frequency band of 5GHz, the intelligent device can only support the wireless network with the frequency band of 2.4GHz and cannot support the wireless network with the frequency band of 5 GHz. If the first signal frequency band is 5GHz which cannot be supported by the intelligent equipment, the intelligent equipment scans a wireless network with a frequency band of 2.4GHz sent by the wireless network equipment to obtain a plurality of service set identifiers of the wireless network equipment in the 2.4GHz frequency band, and physical addresses of the wireless network equipment corresponding to the service set identifiers in the 2.4GHz frequency band. After the end of the scan, step 306 is performed.
Step 306, searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifiers, and establishing wireless connection with the wireless network device corresponding to the fifth physical address according to the fifth physical address and the access password.
The wireless network device has the same characteristic of the first n identifiers between the fourth physical address of the wireless network device in the first signal frequency band and the fifth physical address of the wireless network device in the second signal frequency band. After the fourth physical address is determined, a fifth physical address matched with the fourth physical address can be searched according to the fourth physical address. At this time, the fifth physical address is a physical address under a signal frequency band where the intelligent device can establish wireless connection with the wireless network device, and the intelligent device can access the wireless network of the first signal frequency band according to the fifth physical address and the access password input by the user.
In this embodiment, the first n identifiers of physical addresses in the first signal frequency band and the second signal frequency band of the same wireless network device are the same, and searching for a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifiers respectively includes: reading the first n identifiers of the fourth physical address; and determining target physical addresses with the first n identifiers consistent with the first n identifiers of the fourth physical address from the physical addresses corresponding to the service set identifiers respectively, and taking the target physical addresses as fifth physical addresses.
In this embodiment, the wireless network device has the same characteristics of the first ten identifiers between the physical address in the frequency band of 2.4GHz and the physical address in the frequency band of 5 GHz. As shown in table 2, if the service set identifier that is selected by the user is myAP4 and the signal frequency band corresponding to the service set identifier myAP is 5GHz that cannot be supported by the smart device, at this time, the smart device will determine the physical address 123456789014 corresponding to the service set identifier myAP first, and then determine the physical address 123456789013 corresponding to the physical address 123456789014 in the frequency band of 5GHz according to the characteristic that the physical address in the frequency band of 2.4GHz has the same characteristics as the first ten identifiers as the physical address in the frequency band of 5 GHz; then, the intelligent device replaces the physical address 123456789014 GHz with the physical address 123456789013 2.4GHz, and establishes wireless connection with the wireless network device by using the physical address 123456789013 2.4GHz and the access password input by the user to access the wireless network 2.4 GHz. At this time, the same password is set for the user for the wireless network with the frequency band of 5GHz and the wireless network with the frequency band of 2.4GHz of the same wireless network device.
In this embodiment, when it is determined that the first signal frequency band corresponding to the service set identifier selected by the user is a signal frequency band in which the intelligent device cannot establish wireless connection with the wireless network device, by determining the fourth physical address corresponding to the wireless network device in the first signal frequency band, it may be determined that the wireless network device may establish a fifth physical address in the second signal frequency band in which the wireless network device may establish wireless connection with the wireless network device, and by using the fifth physical address instead of the fourth physical address, it may be possible to enable the user to successfully connect the intelligent device with the wireless network device even if a signal frequency band not supported by the intelligent device is selected, so that the user may not need to have expertise on the aspect of wireless network, and connection errors may be caused, thereby greatly increasing connection success rate.
In one embodiment, the method further comprises: and if the signal frequency band corresponding to the fourth physical address is determined to be the second signal frequency band according to the signal frequency band identification, establishing wireless connection with the wireless network equipment corresponding to the fourth physical address according to the fourth physical address and the access password.
In this embodiment, if the second signal frequency band that the user selects can establish wireless connection with the wireless network device, the intelligent device may be directly connected with the wireless network device, without performing other operations, with simple operation and quick connection.
As shown in fig. 4, the present invention provides a network configuration device of an intelligent device, including:
a first obtaining module 402, configured to obtain a service set identifier selected by a user and an access password input by the user.
The first data generating module 404 is configured to determine a first physical address corresponding to the service set identifier if the signal frequency band corresponding to the service set identifier is a first signal frequency band in which the intelligent device cannot establish wireless connection with the wireless network device, where the first physical address is a physical address of the wireless network device corresponding to the service set identifier in the first signal frequency band.
And the second data generating module 406 is configured to search a second physical address matching with the first physical address according to the first physical address, and generate a first access data set according to the second physical address and the access password, where the second physical address is a physical address of the wireless network device corresponding to the service set identifier in a second signal frequency band, and the second signal frequency band is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device.
A first connection module 408, configured to send the first access data set to the intelligent device through the communication connection when a communication connection is established with the intelligent device, so that the intelligent device establishes a wireless connection with the wireless network device using the first access data set.
As shown in fig. 5, the present invention provides a network configuration device of an intelligent device, including:
The second obtaining module 502 is configured to receive a third access data set sent by the mobile terminal, where the third access data set includes a fourth physical address, an access password, and a signal frequency band identifier, where the signal frequency band identifier is used to indicate a signal frequency band corresponding to the fourth physical address.
And the third data generating module 504 is configured to scan wireless signals of a second signal frequency band to obtain a plurality of service set identifiers and physical addresses corresponding to the service set identifiers, if it is determined that the signal frequency band corresponding to the fourth physical address is a first signal frequency band in which the intelligent device cannot establish wireless connection with the wireless network device according to the signal frequency band identifier, where the second signal frequency band is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device.
A second connection module 506, configured to search a fifth physical address matching the fourth physical address in the physical addresses corresponding to the service set identifiers, and establish wireless connection with the wireless network device corresponding to the fifth physical address according to the fifth physical address and the access password.
As shown in fig. 6, in one embodiment the internal structure of the computer device. The computer device may be a distribution network device of an intelligent device, or a terminal or server connected to a distribution network device of an intelligent device. As shown in fig. 6, the computer device includes a processor, a memory, and a network interface connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by the processor, causes the processor to implement a network allocation method for the intelligent device. The internal memory may also store a computer program that, when executed by the processor, causes the processor to perform a network allocation method for the intelligent device. The network interface is used for communicating with the external connection. It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, the network allocation method of the intelligent device provided by the application can be implemented as a form of a computer program, and the computer program can run on the computer device as shown in fig. 6. The memory of the computer device may store various program templates that make up the distribution network device of the intelligent device. Such as a first acquisition module 402, a first data generation module 404, a second data generation module 406, and a first connection module 408. Also, for example, the second acquisition module 502, the third data generation module 504, and the second connection module 506.
A mobile terminal comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of: acquiring a service set identifier selected by a user and an access password input by the user; if the signal frequency band corresponding to the service set identifier is a first signal frequency band which cannot be connected with the wireless network device in a wireless way, determining a first physical address corresponding to the service set identifier, wherein the first physical address is a physical address of the wireless network device corresponding to the service set identifier in the first signal frequency band; searching a second physical address matched with the first physical address according to the first physical address, and generating a first access data group according to the second physical address and the access password, wherein the second physical address is a physical address of wireless network equipment corresponding to the service set identifier under a second signal frequency band, and the second signal frequency band is a signal frequency band in which the intelligent equipment can establish wireless connection with the wireless network equipment; and under the condition of establishing communication connection with the intelligent device, the first access data set is sent to the intelligent device, so that the intelligent device establishes wireless connection with the wireless network device by using the first access data set.
In one embodiment, the computer program, when executed by the processor, causes the processor to further perform the steps of: if the signal frequency band corresponding to the service set identifier is the second signal frequency band, determining a third physical address corresponding to the service set identifier, and generating a second access data set according to the third physical address and the access password, wherein the third physical address is a physical address of the wireless network device corresponding to the service set identifier in the second signal frequency band; and under the condition of establishing communication connection with the intelligent device, the second access data set is sent to the intelligent device, so that the intelligent device establishes wireless connection with the wireless network device by using the second access data set.
In one embodiment, the obtaining the service set identifier selected by the user and the access password input by the user further includes: scanning wireless signals sent by wireless network equipment to obtain a plurality of service set identifiers, physical addresses corresponding to the service set identifiers and signal frequency bands corresponding to the service set identifiers; and correspondingly storing the plurality of service set identifiers, the physical addresses corresponding to the plurality of service set identifiers respectively, and the signal frequency bands corresponding to the plurality of service set identifiers respectively.
In one embodiment, the first n identities of physical addresses of the same wireless network device in the first signal frequency band and the second signal frequency band are the same; the searching for the second physical address matched with the first physical address according to the first physical address comprises the following steps: reading the first n identifiers of the first physical address; and determining target physical addresses with the first n identifiers consistent with the first n identifiers of the first physical address from the physical addresses corresponding to the service set identifiers respectively, and taking the target physical addresses as second physical addresses.
In one embodiment, the computer program, when executed by the processor, causes the processor to further perform the steps of: under the condition of establishing communication connection with the intelligent equipment, receiving a first identification code which is sent by the intelligent equipment and corresponds to the intelligent equipment, and sending the first identification code to a cloud service terminal; if successful access information sent by the cloud service terminal is received, determining that the intelligent equipment is successfully connected with the wireless network equipment; and the successful access information is sent when the cloud service terminal receives the second identification code sent by the intelligent device, verifies the first identification code and the second identification code and verifies the first identification code and the second identification code to be consistent.
A smart device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of: receiving a third access data set sent by a mobile terminal, wherein the third access data set comprises a fourth physical address, an access password and a signal frequency band identifier, and the signal frequency band identifier is used for indicating a signal frequency band corresponding to the fourth physical address; if the signal frequency band corresponding to the fourth physical address is determined to be the first signal frequency band which cannot be established by the intelligent device with the wireless network device according to the signal frequency band identification, scanning wireless signals of a second signal frequency band to obtain a plurality of service set identifications and physical addresses corresponding to the service set identifications, wherein the second signal frequency band is a signal frequency band which can be established by the intelligent device with the wireless network device; searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifiers, and establishing wireless connection with wireless network equipment corresponding to the fifth physical address according to the fifth physical address and the access password.
In one embodiment, the computer program, when executed by the processor, causes the processor to further perform the steps of: and if the signal frequency band corresponding to the fourth physical address is determined to be the second signal frequency band according to the signal frequency band identification, establishing wireless connection with the wireless network equipment corresponding to the fourth physical address according to the fourth physical address and the access password.
In one embodiment, the first n identifiers of the physical addresses in the first signal frequency band and the second signal frequency band of the same wireless network device are the same, and searching the fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifiers respectively includes: reading the first n identifiers of the fourth physical address; and determining target physical addresses with the first n identifiers consistent with the first n identifiers of the fourth physical address from the physical addresses corresponding to the service set identifiers respectively, and taking the target physical addresses as fifth physical addresses.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (4)

1. The network distribution method of the intelligent equipment is characterized by comprising the following steps of:
Receiving a third access data set sent by a mobile terminal, wherein the third access data set comprises a fourth physical address, an access password and a signal frequency band identifier, and the signal frequency band identifier is used for indicating a signal frequency band corresponding to the fourth physical address;
if the signal frequency band corresponding to the fourth physical address is determined to be the first signal frequency band which cannot be established by the intelligent device with the wireless network device according to the signal frequency band identification, scanning wireless signals of a second signal frequency band to obtain a plurality of service set identifications and physical addresses corresponding to the service set identifications, wherein the second signal frequency band is a signal frequency band which can be established by the intelligent device with the wireless network device;
searching a fifth physical address matched with the fourth physical address in physical addresses corresponding to the service set identifiers, and establishing wireless connection with wireless network equipment corresponding to the fifth physical address according to the fifth physical address and the access password;
The first n identifiers of the physical addresses in the first signal frequency band and the second signal frequency band of the same wireless network device are the same, and searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifiers respectively comprises the following steps:
reading the first n identifiers of the fourth physical address;
and determining target physical addresses with the first n identifiers consistent with the first n identifiers of the fourth physical address from the physical addresses corresponding to the service set identifiers respectively, and taking the target physical addresses as fifth physical addresses.
2. The method according to claim 1, wherein the method further comprises:
and if the signal frequency band corresponding to the fourth physical address is determined to be the second signal frequency band according to the signal frequency band identification, establishing wireless connection with the wireless network equipment corresponding to the fourth physical address according to the fourth physical address and the access password.
3. The utility model provides a join in marriage net device of smart machine which characterized in that includes:
The second acquisition module is used for receiving a third access data set sent by the mobile terminal, wherein the third access data set comprises a fourth physical address, an access password and a signal frequency band identifier, and the signal frequency band identifier is used for indicating a signal frequency band corresponding to the fourth physical address;
a third data generating module, configured to scan wireless signals of a second signal frequency band to obtain a plurality of service set identifiers and physical addresses corresponding to the service set identifiers, if it is determined that the signal frequency band corresponding to the fourth physical address is a first signal frequency band in which the intelligent device cannot establish wireless connection with the wireless network device according to the signal frequency band identifier, where the second signal frequency band is a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device;
A second connection module, configured to find a fifth physical address that matches the fourth physical address from physical addresses corresponding to the service set identifiers, and establish wireless connection with a wireless network device corresponding to the fifth physical address according to the fifth physical address and the access password;
The first n identifiers of the physical addresses of the same wireless network device in the first signal frequency band and the second signal frequency band are the same, and the second connection module is further configured to include:
reading the first n identifiers of the fourth physical address;
and determining target physical addresses with the first n identifiers consistent with the first n identifiers of the fourth physical address from the physical addresses corresponding to the service set identifiers respectively, and taking the target physical addresses as fifth physical addresses.
4. A smart device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1-2.
CN202111082135.3A 2021-09-15 Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment Active CN113950052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111082135.3A CN113950052B (en) 2021-09-15 Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111082135.3A CN113950052B (en) 2021-09-15 Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment

Publications (2)

Publication Number Publication Date
CN113950052A CN113950052A (en) 2022-01-18
CN113950052B true CN113950052B (en) 2024-07-05

Family

ID=

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769442A (en) * 2019-10-16 2020-02-07 海尔优家智能科技(北京)有限公司 Method and device for accessing router and Internet of things equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769442A (en) * 2019-10-16 2020-02-07 海尔优家智能科技(北京)有限公司 Method and device for accessing router and Internet of things equipment

Similar Documents

Publication Publication Date Title
CN110235456B (en) Intelligent device network access method, mobile terminal, cloud server, device and system
CN111510909B (en) Communication module configuration processing method and device, computer equipment and storage medium
WO2020057400A1 (en) Multi-card roaming network registration method and apparatus, computer device and storage medium
CN112074011B (en) Network registration method, device, computer equipment and storage medium
CN110475242B (en) LTE network registration method, device, storage medium and computer equipment
CN110769442B (en) Method and device for accessing router and Internet of things equipment
CN112580730B (en) Terminal type identification method and device
CN103857013A (en) Method for setting personal hotspot and mobile terminal
CN108093390B (en) Intelligent device discovery method based on characteristic information
CN112671584A (en) Network topology identification method, device, system and storage medium
EP3114887B1 (en) Determination method and corresponding terminal, computer program product and storage medium
CN113691609B (en) Data acquisition method and device, electronic equipment and storage medium
CN107306388B (en) Configuration method and device of Access Point Name (APN)
CN113038499B (en) Terminal Wi-Fi compatibility testing method, device, system, equipment and medium
CN113950052B (en) Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment
CN111510910A (en) Communication module frequency band setting method and device, computer equipment and storage medium
CN113950052A (en) Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment
CN105657692A (en) Information processing method and electronic equipment
US10142456B2 (en) User equipment to personalize use of service and operating method thereof
US10694380B2 (en) Subscriber identity element for authenticating a communication device to a communication network
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
CN111541680B (en) Registration method of intelligent device, system and storage medium
CN112423288B (en) Dialing analysis method, device, computer equipment and storage medium
CN110753921B (en) Query request processing method, device, computer equipment and storage medium
CN110572829B (en) Network connection control method and related product

Legal Events

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