CN113950052A - 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
CN113950052A
CN113950052A CN202111082135.3A CN202111082135A CN113950052A CN 113950052 A CN113950052 A CN 113950052A CN 202111082135 A CN202111082135 A CN 202111082135A CN 113950052 A CN113950052 A CN 113950052A
Authority
CN
China
Prior art keywords
physical address
frequency band
signal frequency
service set
wireless network
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
CN202111082135.3A
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.)
Shenzhen Hetai Intelligent Home Appliance Controller Co ltd
Original Assignee
Shenzhen Hetai Intelligent Home Appliance Controller 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 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/CN113950052A/en
Publication of CN113950052A publication Critical patent/CN113950052A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/71Hardware identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/73Access point logical identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

A network distribution method of intelligent equipment comprises the following steps: 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 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 under 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 an access password, wherein the second physical address is a physical address of the 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 sending the first access data group to the intelligent equipment so that the intelligent equipment establishes communication connection with the wireless network equipment by using the first access data group.

Description

Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment
Technical Field
The invention relates to the technical field of communication, in particular to a network distribution method and device of intelligent equipment, a mobile terminal and the intelligent equipment.
Background
Most of existing internet-of-things intelligent devices only support a wireless network with one frequency band, but most of the existing wireless network devices and mobile terminals can support wireless networks with multiple frequency bands, when a user networks the intelligent devices through APP, the signal frequency bands need to be carefully distinguished, 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
Therefore, it is necessary to provide a method and an apparatus for distributing a network for an intelligent device, a mobile terminal, and an intelligent device, which enable an intelligent device supporting only one signal frequency band to be connected to a wireless network device that sends out a wireless network with multiple signal frequency bands only through the signal frequency band supported by the intelligent device.
In a first aspect, the present invention provides a network distribution 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 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 under 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 the 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 group 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 group.
In a second aspect, the present invention provides a network distribution method for an intelligent device, including:
receiving a third access data group sent by the mobile terminal, wherein the third access data group 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 in which the intelligent device cannot establish wireless connection with the wireless network device according to the signal frequency band identifier, scanning a wireless signal of a second signal frequency band to obtain a plurality of service set identifiers and physical addresses corresponding to the service set identifiers, wherein 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 searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifications, and establishing wireless connection with the 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 distribution apparatus for 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;
a first data generation module, configured to determine a first physical address corresponding to the service set identifier if a signal frequency band corresponding to the service set identifier is a first signal frequency band in which the intelligent device cannot establish a wireless connection with a 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;
a second data generation module, configured to search, according to the first physical address, a second physical address matched with the first physical address, and generate a first access data group 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 a wireless connection with the wireless network device;
and the first connection module is used for sending the first access data group 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 establishes wireless connection with the wireless network equipment by using the first access data group.
In a fourth aspect, the present invention provides a network distribution apparatus for an intelligent device, including:
the second obtaining module is used for receiving a third access data group sent by the mobile terminal, wherein the third access data group 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 generation module, configured to scan a wireless signal in a second signal frequency band to obtain multiple service set identifiers and physical addresses corresponding to the multiple service set identifiers if it is determined, according to the signal frequency band identifier, that a signal frequency band corresponding to the fourth physical address is a first signal frequency band in which the intelligent device cannot establish a wireless connection with a wireless network device, where the second signal frequency band is a signal frequency band in which the intelligent device can establish a 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 respectively, and establishing wireless connection with the 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, the computer program, when executed by the processor, causing 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 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 under 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 the 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 group 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 group.
In a sixth aspect, the present invention provides 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 group sent by the mobile terminal, wherein the third access data group 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 in which the intelligent device cannot establish wireless connection with the wireless network device according to the signal frequency band identifier, scanning a wireless signal of a second signal frequency band to obtain a plurality of service set identifiers and physical addresses corresponding to the service set identifiers, wherein 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 searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifications, and establishing wireless connection with the 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, firstly, acquiring a service set identifier selected by a user and an access password input by the user; 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, 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; then, according to the first physical address, a second physical address matched with the first physical address is searched, and a first access data group is generated according to the second physical address and the access password, wherein the second physical address is a physical address of the 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 finally, under the condition of establishing communication connection with the intelligent equipment, the first access data group 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 group. 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 can not establish wireless connection with the wireless network equipment by the intelligent equipment, the second physical address of the wireless network equipment under the second signal frequency band which can establish wireless connection with the wireless network equipment by the intelligent equipment can be determined by determining the first physical address corresponding to the wireless network equipment under the first signal frequency band, and the first physical address is replaced by the second physical address, so that the intelligent equipment and the wireless network equipment can be successfully networked even if the signal frequency band which is not supported by the intelligent equipment is selected by the user under the condition that the password is input correctly, and the user can eliminate possible connection errors without professional knowledge in the aspect of wireless network, greatly increasing the success rate of the connection.
Drawings
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a distribution network system of an intelligent device in an embodiment;
FIG. 2 is a flowchart of a network distribution method for an intelligent device in an embodiment;
FIG. 3 is a flowchart of a network distribution method for an intelligent device in an embodiment;
fig. 4 is a block diagram of a distribution network apparatus of an intelligent device according to an embodiment;
fig. 5 is a block diagram of a distribution network apparatus of an intelligent device according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In one embodiment, the technical method provided by the invention is suitable for a distribution network system of intelligent equipment. As shown in fig. 1, fig. 1 is a schematic diagram of a system architecture of a distribution network system of an intelligent device in this embodiment. Including wireless network device 100, intelligent device 200, mobile terminal 300. The wireless network device 100 is configured to provide a network interface for the intelligent device 200 and the mobile terminal 300, and send out a wireless network with multiple frequency bands, so that the intelligent device 200 and the mobile terminal 300 can implement internet connection through the wireless network device 100. In particular, the wireless network device 100 may be a dual-band router or other wireless network device that may send out multiple frequency band wireless networks. The smart device 200 is a smart device that cannot establish a wireless connection with a wireless network device through a wireless network of all signal bands sent by the wireless network device 100. Specifically, the smart device 200 may be a smart refrigerator, a smart microwave oven, a smart washing machine, and the like. The intelligent device 200 has a communication network module capable of sending 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 by the intelligent device 200, the mobile terminal 300 sends a Media Access Control Address (MAC 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, 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, human-computer interaction is realized through the network. Specifically, the user may send a control instruction through the network, and after receiving the control instruction, the smart 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 a wireless connection with the wireless network device through a wireless network of all signal frequency bands sent by the wireless network device 100, and the mobile terminal 300 may display a service set identifier list of the wireless network device 100 and obtain a user operation, so as to implement 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 acquired, a data interaction request is sent 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, a network distribution process of the intelligent device can be realized. As shown in fig. 2, a flowchart of a network distribution method for an intelligent device according to an embodiment of the present invention is provided.
As shown in fig. 2, the present invention provides a network distribution method for an intelligent device, which can be applied to the mobile terminal 300, and includes the following steps:
step 202, obtaining the service set identification selected by the user and the access password input by the user.
The Service Set Identifier is an SSID (Service Set Identifier). The SSID technology can divide a wireless local area network into a plurality of sub-networks which need different authentication, each sub-network needs independent authentication, and only users who pass the authentication can enter the corresponding sub-network, so that unauthorized users are prevented from entering the network.
The access password refers to a password which is input by a user and used for identity authentication.
When the mobile terminal displays a service set identification list consisting of a plurality of service set identifications of the wireless network equipment, the user selects one of the service set identifications from the plurality of service set identifications and inputs an access password corresponding to the service set identification.
In this embodiment, the acquiring the service set identifier selected by the user and the access password input by the user further includes: scanning a wireless signal sent by wireless network equipment to obtain a plurality of service set identifications, physical addresses corresponding to the service set identifications and signal frequency bands corresponding to the service set identifications; and correspondingly storing a plurality of service set identifications, physical addresses corresponding to the service set identifications and signal frequency bands corresponding to the service set identifications.
The physical Address refers to a Media Access Control (MAC) Address, also called a Local Area Network (LAN) Address, a MAC Address or an Ethernet Address, and is an Address for confirming the location of the network device. In the OSI model, a third layer network layer is responsible for IP addresses and a 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 to have a unique MAC address.
When the intelligent device needs to be accessed to a network, a mobile terminal is required to scan a wireless signal sent by a wireless network device. By scanning wireless signals sent by wireless network equipment, 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 the plurality of service set identifications, the physical addresses corresponding to the plurality of service set identifications and the signal frequency bands corresponding to the plurality of service set identifications, and displays a service set identification list consisting of the plurality of service set identifications on a display device of the mobile terminal.
In this embodiment, the mobile terminal data may be stored in the form of a table, as shown in table 1. At this time, 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 5 GHz. The service set identifier myAP1 and the service set identifier myAP2 are service set identifiers of the same wireless network device in a 2.4GHz frequency band and a 5GHz frequency band respectively, and the physical address 123456789011 and the physical address 123456789012 are physical addresses of the same wireless network device in the 2.4GHz frequency band and the 5GHz frequency band respectively. The service set identifier test1 and the service set identifier test2 are service set identifiers of another wireless network device in the 2.4GHz band and the 5GHz band, and the physical address 3048B0EF3288 and the physical address 3048B0EF3289 are physical addresses of another wireless network device in the 2.4GHz band and the 5GHz band. It can be understood that, as shown in table 1, the same wireless network device has the characteristics that the first n identifiers are consistent between the physical addresses in the 2.4GHz band and the 5GHz band, respectively. Illustratively, 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 myAP1, a service set identifier test1, and a physical address 123456789011 and a physical address 3048B0EF3288 which correspond 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 myAP2, a service set identifier test2, and a physical address 123456789012 and a physical address 3048B0EF3289, which respectively correspond to the service set identifier myAP2 and the service set identifier test 2. After the scanning is finished, the mobile terminal stores the data into 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 to obtain multiple service set identifiers.
TABLE 1
Serial number SSID (service set identification) MAC address (physical address) Frequency band of signals
1 myAP1 123456789011 2.4GHz
2 myAP2 123456789012 5GHz
3 test1 3048B0EF3288 2.4GHz
4 test2 3048B0EF3289 5GHz
In this embodiment, by correspondingly 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, and the distribution network speed of the intelligent device is increased.
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 wireless network device has one or more wireless network cards, 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.
The service set identifier corresponding to the physical address 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 is determined.
The service set identifier corresponding to the wireless network device means that the wireless network device of 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 identification list consisting of a plurality of service set identifications of the wireless network equipment, a user can select one service set identification from the service set identification list for wireless connection. Under normal conditions, however, when selecting a service set identifier, a user cannot determine whether a 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 the 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, namely determining a first physical address of the wireless network device corresponding to the service set identifier under 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, according to the first physical address, a second physical address matched with the first physical address is searched, and a first access data group is generated 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.
The access data group refers to a data group which is sent to the intelligent device by the mobile terminal, so that the intelligent device can be successfully connected with the wireless network device.
And recording a signal frequency band in which the intelligent device can establish wireless connection with the wireless network device as a second signal frequency band, and recording a physical address of the wireless network device corresponding to the service set identifier under the second signal frequency band as a second physical address.
The first n physical addresses of the same wireless network device in the first signal frequency band and the second physical addresses of the wireless network device in the second signal frequency band have the same characteristic 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 combined into a first access data set. At this time, the second physical address in the first access data group 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 the signal frequency band which can be supported by the intelligent device, and the intelligent device can access the wireless network in the second signal frequency band according to the first access data group.
In this embodiment, the signal frequency band in which the smart device can establish a wireless connection with the wireless network device is also referred to as a signal frequency band that the smart device can support. Taking the example that 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 5GHz, the wireless network device has the characteristics that the first ten identifiers are the same between the physical address of the wireless network device under the frequency band of 2.4GHz and the physical address of the wireless network device under the frequency band of 5 GHz. As shown in table 2, if the service set identifier selected by the user is myAP4, and the signal frequency band corresponding to the service set identifier myAP4 is 5GHz that cannot be supported by the smart device, at this time, the mobile terminal determines the physical address 123456789014 corresponding to the service set identifier myAP4, and then determines the physical address 123456789013 corresponding to the physical address 123456789014 at the frequency band of 5GHz at the frequency band of 2.4GHz according to the fact that the physical address at the frequency band of 2.4GHz and the physical address at the frequency band of 5GHz have the same characteristics as the first ten identifiers; then, the mobile terminal replaces the physical address 123456789014 with the frequency band of 5GHz with the physical address 123456789013 with the frequency band of 2.4GHz, the physical address 123456789013 with the frequency band of 2.4GHz and the access password input by the user form a first access data group, and the intelligent device can access the wireless network with the frequency band of 2.4GHz by using the first access data group.
TABLE 2
Serial number SSID (service set identification) MAC address (physical address) Frequency band of signals
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 includes: reading the first n identifiers of the first physical address; and determining target physical addresses with the first n identifications consistent with the first n identifications of the first physical address from the physical addresses corresponding to the service set identifications respectively, and taking the target physical addresses as second physical addresses.
Wherein, the identifier contained in the physical address can be at least one of a numeric identifier, a symbolic identifier and an alphabetic identifier.
Wherein n can be preset, and the user can set the value of n according to the actual technical development process and technical means. For example, 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 may be read, so as to obtain a second physical address whose first ten identifiers are the same as the first ten identifiers of the first physical address.
The service set identifiers and the physical addresses corresponding to the service set identifiers are stored in a preset storage unit, and specifically, the storage unit may be in a form of file storage or the like. It is understood that the file store may be a data table.
In this embodiment, the preset data table is used to store a plurality of service set identifiers and respective corresponding physical addresses of the plurality of service set identifiers, as shown in table 2. Specifically, in this embodiment, one physical address of the wireless network device in the frequency band of 2.4GHz is matched with one physical address in the frequency band of 5 GHz. Illustratively, the physical address 123456789013 of the wireless network device under the frequency band of 2.4GHz is the same as the first ten identifiers of the physical address 123456789014 under the frequency band of 5GHz, and the two identifiers are matched; the physical address 3048B0EF3286 of the wireless network device at the frequency band of 2.4GHz is the same as the first ten identifiers of the physical address 3048B0EF3287 at 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 address 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 address 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 address of the wireless network device in the third signal frequency band and the second signal frequency band may be the same or different.
And 208, under the condition that the communication connection is established with the intelligent device, sending the first access data group to the intelligent device through the communication connection, so that the intelligent device establishes wireless connection with the wireless network device by using the first access data group.
After finding out a second physical address of the wireless network equipment corresponding to a second signal frequency band which can establish wireless connection with the wireless network equipment by the intelligent equipment according to the first physical address, the first physical address can be replaced by the second physical address, and a first access data group 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 both refer to that data interaction can be performed between multiple devices through various forms of wireless networks, and the wireless networks used for 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.
Wherein, the smart machine can have the communication network module, can send the wireless network of fixed frequency channel, and mobile terminal establishes communication connection with the smart machine through the wireless network that connects the smart machine and send. It will be appreciated 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 group to the intelligent equipment through the communication connection under the condition of establishing communication connection with the intelligent equipment, and the intelligent equipment establishes wireless connection with the wireless network equipment through the first access data group. Illustratively, the mobile terminal replaces the physical address 123456789014 with the frequency band of 5GHz with the physical address 123456789013 with the frequency band of 2.4GHz, uses the physical address 123456789013 with the frequency band of 2.4GHz and the access password input by the user to form a first access data group, the mobile terminal sends the first access data group to the smart device through the communication connection, and the smart device can access the wireless network with the frequency band of 2.4GHz by using the first access data group. At this time, the user sets the same password 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 distribution 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 group 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 group 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 group.
When the signal frequency band corresponding to the service set identifier selected by the user is a second signal frequency band in which the intelligent device can establish wireless connection with the wireless network device, the mobile terminal directly generates a second access data group by using a third physical address corresponding to the service set identifier and an access password input by the user. Specifically, the third physical address corresponding to the service set identifier refers to that the wireless network sent by the wireless network device represented by the service set identifier in the second signal frequency band can be determined through the service set identifier, and the third physical address of the wireless network device sending the wireless network in the second signal frequency band is determined. And the mobile terminal sends the first access data group to the intelligent equipment through the communication connection under the condition of establishing communication connection with the intelligent equipment, and the intelligent equipment establishes wireless connection with the wireless network equipment through the second access data group.
In this embodiment, if the user selects that the intelligent device can establish the second signal frequency band of the wireless connection with the wireless network device, the intelligent device can be directly connected with the wireless network device without performing other operations, and the operation is simple and the connection is fast.
In this embodiment, as shown in table 3, if the service set identifier selected by the user is myAP5, and the signal frequency band corresponding to the service set identifier myAP5 is 2.4GHz that can be supported by the intelligent device, at this time, the mobile terminal directly generates the physical address 123456789015 corresponding to the service set identifier myAP5 and the access password input by the user into the second access data group, and the intelligent device establishes a wireless connection with the wireless network device using the second access data group. Similarly, if the service set identifier selected by the user is Test5, and 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 the physical address 3048B0EF3284 corresponding to the service set identifier Test5 and the access password input by the user into a second access data group, and the intelligent device establishes a wireless connection with the wireless network device by using the second access data group.
TABLE 3
Serial number SSID (service set identification) MAC address (physical address) Frequency band of signals
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, acquiring a service set identifier selected by a user and an access password input by the user; 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 under the first signal frequency band; the first signal frequency band is a signal frequency band which cannot be used by the intelligent equipment; then, according to the first physical address, a second physical address matched with the first physical address is searched, and a first access data group is generated according to the second physical address and the access password, wherein the second physical address is a physical address of the 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 finally, under the condition of establishing communication connection with the intelligent equipment, the first access data group 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 group. 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 can not establish wireless connection with the wireless network equipment by the intelligent equipment, the second physical address of the wireless network equipment under the second signal frequency band which can establish wireless connection with the wireless network equipment by the intelligent equipment can be determined by determining the first physical address corresponding to the wireless network equipment under the first signal frequency band, and the second physical address replaces the first physical address, so that the intelligent equipment and the wireless network equipment can be successfully networked even if the signal which is not supported by the intelligent equipment is selected by the user under the condition that the password is input correctly, and the user can eliminate possible connection errors without professional knowledge in the aspect of wireless network, greatly increasing the success rate of the connection.
In one embodiment, the network distribution method of the intelligent device further includes: under the condition that communication connection is established 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 device is successfully connected with the wireless network device; and the successful access information is sent by the cloud service terminal when the first identification code and the second identification code are verified after the cloud service terminal receives the second identification code sent by the intelligent equipment and the verification is consistent.
The wireless network module of the intelligent equipment is provided with an unique identification code, the unique identification code received by the mobile terminal is recorded as a first identification code, and the unique identification code sent to the cloud service terminal by the intelligent equipment is recorded as a second identification code. Under the condition that the mobile terminal is in communication connection with the intelligent device, 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 the communication connection, 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, the cloud service terminal sends successful access information to the mobile terminal. And the mobile terminal sends a success prompt to the user after receiving the successful access information. Specifically, the voice broadcasting, the signal lamp prompting or the display interface displaying can be performed.
In this embodiment, the network distribution method for 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 that the connection fails.
The method comprises the steps that waiting time for the intelligent device to be connected with the wireless network device is preset, and if the mobile terminal does not receive successful access information sent by the cloud service terminal within the waiting time, connection failure is displayed.
In the embodiment, the unique identification code is sent to the cloud service terminal for verification, and the time threshold and the information prompt for receiving the successful access information are set, so that a user can know whether the intelligent equipment is successfully networked or not by operating the intelligent equipment for verification, and the method is fast and accurate.
In an embodiment, as shown in fig. 3, the present invention provides a network distribution method for an intelligent device, including:
step 302, receiving a third access data group sent by the mobile terminal, where the third access data group includes a fourth physical address, an access password, and a signal frequency band identifier, and 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 a wireless network device to obtain a plurality of service set identifiers of the wireless network device, physical addresses corresponding to the service set identifiers and signal frequency bands corresponding to the service set identifiers. And the mobile terminal displays a service set identification list consisting of a plurality of service set identifications of the wireless network equipment, and acquires one service set identification selected by the user from the plurality of service set identifications and an access password input by the user. And determining a fourth physical address corresponding to the service set identification and a corresponding signal frequency band. And searching the 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 service set identifier and the signal frequency band identifier.
Step 304, if it is determined according to the signal frequency band identifier 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, scanning a wireless signal of a second signal frequency band to obtain a plurality of service set identifiers and physical addresses corresponding to the plurality of service set identifiers, 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.
After receiving the third access data group sent by the mobile terminal, the intelligent device may determine the signal frequency band corresponding to the fourth physical address according to the signal frequency band identifier in the third access data group. If 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, that is, the first signal frequency band which cannot be supported by the intelligent device, the intelligent device scans the wireless network of the 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 respectively, wherein the second signal frequency band is the signal frequency band supported by the intelligent device.
In this embodiment, for example, the wireless network device can send a wireless network with a frequency band of 2.4GHz and a wireless network with a frequency band of 5GHz, and the intelligent device can only support the wireless network with a frequency band of 2.4GHz and cannot support the wireless network with a frequency band of 5 GHz. If the first signal frequency band is 5GHz which cannot be supported by the intelligent device, the intelligent device scans a wireless network with a frequency band of 2.4GHz sent by the wireless network device to obtain a plurality of service set identifiers of the wireless network device under the 2.4GHz frequency band and physical addresses of the wireless network device under the 2.4GHz frequency band corresponding to the service set identifiers. After the scanning is finished, step 306 is executed.
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 characteristics that the first n identifiers are the same 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 an access password input by the user.
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, and the searching for the fifth physical address matching the fourth physical address in the physical addresses corresponding to the multiple service set identifiers includes: reading the first n identifiers of the fourth physical address; and determining target physical addresses with the first n identifications consistent with the first n identifications of the fourth physical address from the physical addresses corresponding to the service set identifications respectively, and taking the target physical addresses as fifth physical addresses.
In this embodiment, the wireless network device has the characteristics that the first ten identifiers are the same between the physical address of the wireless network device in the frequency band of 2.4GHz and the physical address of the wireless network device in the frequency band of 5 GHz. As shown in table 2, if the service set identifier selected by the user is myAP4, and the signal frequency band corresponding to the service set identifier myAP4 is 5GHz that the smart device cannot support, at this time, the smart device first determines the physical address 123456789014 corresponding to the service set identifier myAP4, and then determines the physical address 123456789013 corresponding to the physical address 123456789014 at the frequency band of 5GHz at the frequency band of 2.4GHz according to the fact that the physical address at the frequency band of 2.4GHz and the physical address at the frequency band of 5GHz have the same characteristics as the first ten identifiers; and then the intelligent device replaces the physical address 123456789014 with the frequency band of 5GHz with the physical address 123456789013 with the frequency band of 2.4GHz, and uses the physical address 123456789013 with the frequency band of 2.4GHz and the access password input by the user to access the wireless network with the frequency band of 2.4GHz, so as to establish wireless connection with the wireless network device. At this time, the user sets the same password 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, in the case that the first signal frequency band corresponding to the service set identifier selected by the user is determined to be a signal frequency band in which the smart device cannot establish a wireless connection with the wireless network device, by determining a fourth physical address corresponding to the wireless network device in the first signal frequency band, a fifth physical address of the wireless network device in a second signal frequency band in which the smart device can establish a wireless connection with the wireless network device may be determined, and by using the fifth physical address instead of the fourth physical address, the user can input the correct password, even if a signal frequency band which is not supported by the intelligent equipment is selected, the intelligent equipment and the wireless network equipment can be successfully networked, a user can eliminate possible connection errors without professional knowledge in the aspect of wireless network, and the connection success rate is greatly increased.
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 identifier, 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 user selects that the intelligent device can establish the second signal frequency band of the wireless connection with the wireless network device, the intelligent device can be directly connected with the wireless network device without performing other operations, and the operation is simple and the connection is fast.
As shown in fig. 4, the present invention provides a network distribution apparatus for 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.
A first data generating module 404, 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 smart device cannot establish a wireless connection with a 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.
A second data generating module 406, configured to search a second physical address matched with the first physical address according to the first physical address, and generate a first access data group 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 a wireless connection with the wireless network device.
A first connection module 408, configured to send the first access data group to the smart device through the communication connection when the communication connection is established with the smart device, so that the smart device establishes a wireless connection with the wireless network device by using the first access data group.
As shown in fig. 5, the present invention provides a network distribution apparatus for 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, and the signal frequency band identifier is used to indicate a signal frequency band corresponding to the fourth physical address.
A third data generating module 504, configured to scan a wireless signal in a second signal frequency band if it is determined, according to the signal frequency band identifier, that the signal frequency band corresponding to the fourth physical address is the first signal frequency band in which the smart device cannot establish a wireless connection with the wireless network device, to obtain a plurality of service set identifiers and physical addresses corresponding to the plurality of service set identifiers, where the second signal frequency band is the signal frequency band in which the smart device can establish a wireless connection with the wireless network device.
A second connection module 506, configured to search a fifth physical address matching with the fourth physical address in the physical addresses corresponding to the multiple service set identifiers, and establish a 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, an internal structure of a computer device is shown. The computer device can be a network distribution device of an intelligent device, or a terminal or a server connected with the network distribution device of the intelligent device. As shown in fig. 6, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by the processor, the computer program can enable the processor to realize the network distribution method of the intelligent device. The internal memory may also store a computer program, and when the computer program is executed by the processor, the computer program may cause the processor to perform a network distribution method for a smart device. The network interface is used for communicating with an external device. Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, the network distribution method for the intelligent device provided by the present application may be implemented in the form of a computer program, and the computer program may be executed on a computer device as shown in fig. 6. The memory of the computer equipment can store various program templates of the distribution network device forming the intelligent equipment. For example, the first obtaining module 402, the first data generating module 404, the second data generating module 406, and the first connecting module 408. Also for example, the second obtaining module 502, the third data generating module 504, and the second connecting module 506.
A mobile terminal 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: 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 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 under 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 the 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, sending the first access data group to the intelligent equipment so that the intelligent equipment establishes wireless connection with the wireless network equipment by using the first access data group.
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 group 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, sending the second access data group to the intelligent equipment so that the intelligent equipment establishes wireless connection with the wireless network equipment by using the second access data group.
In one embodiment, the obtaining the service set identifier selected by the user and the access password input by the user further includes: scanning a wireless signal sent by wireless network equipment to obtain a plurality of service set identifications, physical addresses corresponding to the service set identifications and signal frequency bands corresponding to the service set identifications; and correspondingly storing a plurality of service set identifications, physical addresses corresponding to the service set identifications and signal frequency bands corresponding to the service set identifications.
In one 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 includes: reading the first n identifiers of the first physical address; and determining target physical addresses with the first n identifications consistent with the first n identifications of the first physical address from the physical addresses corresponding to the service set identifications 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 that communication connection is established 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 device is successfully connected with the wireless network device; and the successful access information is sent by the cloud service terminal when the first identification code and the second identification code are verified after the cloud service terminal receives the second identification code sent by the intelligent equipment and the verification is 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 group sent by the mobile terminal, wherein the third access data group 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 in which the intelligent device cannot establish wireless connection with the wireless network device according to the signal frequency band identifier, scanning a wireless signal of a second signal frequency band to obtain a plurality of service set identifiers and physical addresses corresponding to the service set identifiers, wherein 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 searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifications, and establishing wireless connection with the 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 identifier, 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 an embodiment, the searching, by the same wireless network device, the fifth physical address matching the fourth physical address in the physical addresses corresponding to the multiple service set identifiers includes: reading the first n identifiers of the fourth physical address; and determining target physical addresses with the first n identifications consistent with the first n identifications of the fourth physical address from the physical addresses corresponding to the service set identifications respectively, and taking the target physical addresses as fifth physical addresses.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile 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 DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A network distribution method of intelligent equipment is characterized by comprising the following steps:
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 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 under 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 the 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 group 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 group.
2. The method of claim 1, further comprising:
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 group 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 group 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 group.
3. The method of claim 1, wherein the obtaining of the service set identifier selected by the user and the access password input by the user further comprises:
scanning a wireless signal sent by the wireless network device to obtain a plurality of service set identifiers, physical addresses corresponding to the service set identifiers respectively and signal frequency bands corresponding to the service set identifiers respectively;
and correspondingly storing a plurality of service set identifications, physical addresses corresponding to the service set identifications and signal frequency bands corresponding to the service set identifications.
4. The method of claim 1, wherein the first n identifiers 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 includes:
reading the first n identifiers of the first physical address;
and determining target physical addresses with the first n identifications consistent with the first n identifications of the first physical address from the physical addresses corresponding to the service set identifications respectively, and taking the target physical addresses as second physical addresses.
5. The method of claim 1, further comprising:
under the condition that communication connection is established 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 device is successfully connected with the wireless network device; and the successful access information is sent by the cloud service terminal when the first identification code and the second identification code are verified after the cloud service terminal receives the second identification code sent by the intelligent equipment and the verification is consistent.
6. A network distribution method of intelligent equipment is characterized by comprising the following steps:
receiving a third access data group sent by the mobile terminal, wherein the third access data group 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 in which the intelligent device cannot establish wireless connection with the wireless network device according to the signal frequency band identifier, scanning a wireless signal of a second signal frequency band to obtain a plurality of service set identifiers and physical addresses corresponding to the service set identifiers, wherein 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 searching a fifth physical address matched with the fourth physical address in the physical addresses corresponding to the service set identifications, and establishing wireless connection with the wireless network equipment corresponding to the fifth physical address according to the fifth physical address and the access password.
7. The method of claim 6, further comprising:
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 identifier, establishing wireless connection with the wireless network equipment corresponding to the fourth physical address according to the fourth physical address and the access password.
8. The method of claim 6, wherein 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 searching for the fifth physical address matching the fourth physical address from the physical addresses corresponding to the service set identifiers comprises:
reading the first n identifiers of the fourth physical address;
and determining target physical addresses with the first n identifications consistent with the first n identifications of the fourth physical address from the physical addresses corresponding to the service set identifications respectively, and taking the target physical addresses as fifth physical addresses.
9. The utility model provides a net device is joined in marriage to smart machine which characterized in that includes:
the first acquisition module is used for acquiring a service set identifier selected by a user and an access password input by the user;
a first data generation module, configured to determine a first physical address corresponding to the service set identifier if a signal frequency band corresponding to the service set identifier is a first signal frequency band in which the intelligent device cannot establish a wireless connection with a 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;
a second data generation module, configured to search, according to the first physical address, a second physical address matched with the first physical address, and generate a first access data group 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 a wireless connection with the wireless network device;
and the first connection module is used for sending the first access data group 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 establishes wireless connection with the wireless network equipment by using the first access data group.
10. The utility model provides a net device is joined in marriage to smart machine which characterized in that includes:
the second obtaining module is used for receiving a third access data group sent by the mobile terminal, wherein the third access data group 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 generation module, configured to scan a wireless signal in a second signal frequency band to obtain multiple service set identifiers and physical addresses corresponding to the multiple service set identifiers if it is determined, according to the signal frequency band identifier, that a signal frequency band corresponding to the fourth physical address is a first signal frequency band in which the intelligent device cannot establish a wireless connection with a wireless network device, where the second signal frequency band is a signal frequency band in which the intelligent device can establish a 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 respectively, and establishing wireless connection with the wireless network equipment corresponding to the fifth physical address according to the fifth physical address and the access password.
11. A mobile terminal, characterized in that it comprises a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to claims 1-5.
12. An intelligent 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 claims 6-8.
CN202111082135.3A 2021-09-15 2021-09-15 Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment Pending CN113950052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111082135.3A CN113950052A (en) 2021-09-15 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 CN113950052A (en) 2021-09-15 2021-09-15 Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment

Publications (1)

Publication Number Publication Date
CN113950052A true CN113950052A (en) 2022-01-18

Family

ID=79328449

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113950052A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104488303A (en) * 2014-04-16 2015-04-01 华为终端有限公司 Device and method for accessing to wireless network
CN106572148A (en) * 2016-10-09 2017-04-19 美的智慧家居科技有限公司 Intelligent product network configuration method and network configuration system
WO2017133691A1 (en) * 2016-02-04 2017-08-10 腾讯科技(深圳)有限公司 Intelligent device networking method and apparatus
CN110266537A (en) * 2019-06-21 2019-09-20 上海庆科信息技术有限公司 Equipment distribution method, apparatus, system, to distribution net equipment and terminal
CN110769442A (en) * 2019-10-16 2020-02-07 海尔优家智能科技(北京)有限公司 Method and device for accessing router and Internet of things equipment
CN111866994A (en) * 2020-07-26 2020-10-30 广云物联网科技(广州)有限公司 Method and device for rapidly distributing network at hot spot
CN111866999A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, system and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104488303A (en) * 2014-04-16 2015-04-01 华为终端有限公司 Device and method for accessing to wireless network
WO2017133691A1 (en) * 2016-02-04 2017-08-10 腾讯科技(深圳)有限公司 Intelligent device networking method and apparatus
CN106572148A (en) * 2016-10-09 2017-04-19 美的智慧家居科技有限公司 Intelligent product network configuration method and network configuration system
CN110266537A (en) * 2019-06-21 2019-09-20 上海庆科信息技术有限公司 Equipment distribution method, apparatus, system, to distribution net equipment and terminal
CN110769442A (en) * 2019-10-16 2020-02-07 海尔优家智能科技(北京)有限公司 Method and device for accessing router and Internet of things equipment
CN111866999A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, system and storage medium
CN111866994A (en) * 2020-07-26 2020-10-30 广云物联网科技(广州)有限公司 Method and device for rapidly distributing network at hot spot

Similar Documents

Publication Publication Date Title
WO2020057400A1 (en) Multi-card roaming network registration method and apparatus, computer device and storage medium
CN111510909B (en) Communication module configuration processing method and device, computer equipment and storage medium
CN112074011B (en) Network registration method, device, computer equipment and storage medium
CN102256337B (en) Message processing method and equipment in wireless local area network (WLAN)
CN101568189A (en) Methods and apparatus for setting up wireless lan
CN110475242B (en) LTE network registration method, device, storage medium and computer equipment
US20190342738A1 (en) Method and Device for Sharing File Between Different Terminals
CN103857013A (en) Method for setting personal hotspot and mobile terminal
CN105933905A (en) Method and device for realizing wireless access point connection authentication
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
CN108259523A (en) A kind of data transmission method and Internet of things system, Network Access Method
CN113038499B (en) Terminal Wi-Fi compatibility testing method, device, system, equipment and medium
CN111510910B (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
CN112788545A (en) Binding method, computer device and storage medium
CN109951549B (en) Network page access method and device and computer readable storage medium
CN111372224A (en) Method, device and equipment for sharing seed code number by eSIM (embedded subscriber identity Module)
CN105657692A (en) Information processing method and electronic equipment
US10142456B2 (en) User equipment to personalize use of service and operating method thereof
CN112423288B (en) Dialing analysis method, device, computer equipment and storage medium
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
US20060192000A1 (en) Method for authenticating RUIM card
CN108282784A (en) Wireless network access method, MiFi terminals, mobile terminal and storage medium
CN110572829B (en) Network connection control method and related product
CN112188591B (en) Network access method, device, computer equipment and storage medium

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