Disclosure of Invention
The invention provides a router-based configuration method and device of Internet of things equipment and a wireless router, and solves the technical problem that in the prior art, when the Internet of things equipment and control Internet of things equipment are not in the same frequency band, the network distribution of the Internet of things equipment fails.
The invention discloses a router-based configuration method of Internet of things equipment, which comprises the following steps:
s100, receiving a distribution network data packet sent by a WIFI terminal for controlling the Internet of things equipment;
s200, judging whether the Internet of things equipment supports a dual-frequency wireless transceiving function, if so, entering a step S400; if not, entering the next step;
s300, closing the dual-frequency function of the router, enabling terminals accessed to the router network to work in a first frequency band, and entering the step S400;
s400, the distribution network data packet sent by the WIFI terminal for controlling the Internet of things equipment is forwarded, and the Internet of things equipment is convenient to connect with a network after receiving the distribution network data packet.
Further, the step S400 includes:
s410, judging whether the WIFI terminal for controlling the Internet of things equipment works in a first frequency band or not, if so, entering a step S420, and if not, entering a step S430;
s420, forwarding a distribution network data packet sent by a WIFI terminal of the Internet of things equipment in a first frequency band, so that the Internet of things equipment can be connected with a network after receiving the distribution network data packet;
s430 is used for forwarding a distribution network data packet sent by a WIFI terminal of the Internet of things equipment at a second frequency band, so that the Internet of things equipment can be connected with a network after receiving the distribution network data packet.
Further, before the step S300, the method further includes: s250, judging whether the frequency band for controlling the WIFI terminal of the Internet of things equipment to work is the frequency band supported by the Internet of things equipment, if so, entering the step S400, otherwise, entering the step S300.
Further, the step S200 includes:
s210, respectively scanning association requests of the Internet of things equipment in a first frequency band and a second frequency band, judging whether the association requests of the Internet of things equipment can be scanned in the first frequency band and the second frequency band, if so, entering a step S220, otherwise, entering a step S230;
s220, judging that the Internet of things equipment supports a dual-frequency wireless transceiving function, and entering a step S400;
s230, judging that the Internet of things equipment does not support the double-frequency wireless transceiving function, and entering the next step.
Further, the configuration method of the internet of things device of the present invention further includes:
after the preset time period is S500, whether the network distribution of the Internet of things equipment is successful is detected, if yes, the step S700 is executed, and if not, the step S600 is executed;
s600, feeding back a distribution network failure to the WIFI terminal, requesting to resend the distribution network data packet, and returning to the step S100;
s700, judging whether the double-frequency function of the router is in an open state, if not, entering the step S800;
s800, starting the double-frequency function of the router.
In addition, the invention also discloses a dual-frequency wireless router, which comprises: the receiving module is used for receiving a distribution network data packet sent by a WIFI terminal for controlling the Internet of things equipment; the operation module is used for closing the double-frequency function of the router under the control of the control module; the transfer module is used for forwarding the distribution network data packet, so that the Internet of things equipment can be connected with a network after receiving the distribution network data packet; the control module is used for judging whether the internet of things equipment supports dual-frequency, and if so, controlling the transfer module to forward the distribution network data packet received by the receiving module, so that the internet of things equipment can be connected with a network after receiving the distribution network data packet; otherwise, the operation module is controlled to close the dual-frequency function of the router, so that the terminals accessing the router network all work in a first frequency band, and then the distribution network data packet received by the receiving module and sent by the WIFI terminal for controlling the internet of things equipment is forwarded through the transfer module; and the Internet of things equipment is convenient to connect with the network after receiving the distribution network data packet.
Further, the transfer module includes: the first transfer sub-module is used for forwarding the distribution network data packet which is received by the receiving module and is sent by the WIFI terminal for controlling the internet of things equipment, so that the internet of things equipment can be connected with a network after receiving the distribution network data packet; the second transfer sub-module is used for forwarding the distribution network data packet which is received by the receiving module and is sent by the WIFI terminal for controlling the internet of things equipment, so that the internet of things equipment can be connected with a network after receiving the distribution network data packet;
the control module includes: the system comprises a WIFI terminal and a first transfer submodule, wherein the WIFI terminal is used for controlling the Internet of things equipment to work in a first frequency band, if so, the distribution network data packet is transferred through the first transfer submodule, and otherwise, the distribution network data packet is transferred through the second transfer submodule.
Further, the control module is further configured to, after determining that the internet of things device does not support the dual-frequency wireless transceiving function, further determine whether a frequency band of a working WIFI terminal of the control internet of things device is the frequency band supported by the internet of things device, if so, control the transfer module to forward the distribution network data packet received by the receiving module, otherwise, control the operation module to close the dual-frequency function of the router, so that the terminal accessed to the router network all works in the first frequency band.
Further, the control module determining whether the internet of things device supports a dual-frequency wireless transceiving function includes: the control module respectively scans association requests of the Internet of things equipment in a first frequency band and a second frequency band, judges whether the association requests of the Internet of things equipment can be scanned in the first frequency band and the second frequency band, and judges that the Internet of things equipment supports a dual-frequency wireless transceiving function if the association requests of the Internet of things equipment can be scanned in the first frequency band and the second frequency band; otherwise, judging that the Internet of things equipment does not support the double-frequency wireless transceiving function.
The dual-frequency wireless router further comprises a detection module, wherein the detection module is used for detecting whether the internet of things equipment is successfully distributed with the network, if so, further detecting whether the dual-frequency function of the router is in an open state, otherwise, feeding back the failure of the internet of things equipment distribution network to the WIFI terminal, and requesting to resend the distribution network data packet; the control module is further used for controlling the operation module to start the dual-frequency function of the router when the detection module detects that the internet of things equipment is successfully distributed and the dual-frequency function of the router is not in the starting state.
According to the invention, the dual-frequency integrated function of the router is intelligently closed and reserved according to whether the Internet of things equipment supports dual-frequency, so that the success rate of the distribution network is improved. In addition, in the implementation process of the invention, the user has no perception in the whole process, and the operability and the user experience of the equipment are improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention discloses a router-based configuration method of Internet of things equipment, the embodiment of which is shown in figure 1 and comprises the following steps:
s100, receiving a distribution network data packet sent by a WIFI terminal for controlling the Internet of things equipment;
s200, judging whether the Internet of things equipment supports a dual-frequency wireless transceiving function, if so, entering a step S400; if not, entering the next step;
s300, closing the dual-frequency function of the router, enabling terminals accessed to the router network to work in a first frequency band, and entering the step S400;
s400, the distribution network data packet sent by the WIFI terminal for controlling the Internet of things equipment is forwarded, and the Internet of things equipment is convenient to connect with a network after receiving the distribution network data packet.
Specifically, in step S100, the WIFI terminal for controlling the internet of things device may be a terminal device such as a mobile phone, an IPAD, and a computer. Most of the internet of things equipment does not have a display screen, an input key or a touch screen, so that the distribution network information data packet is generally sent through an APP (Application) of the WIFI terminal, and the WIFI terminal can conveniently access the corresponding AP according to the distribution network data packet. The distribution network data packet carries distribution network information, such as network name, password and other information, so that the internet of things equipment can be conveniently associated with a corresponding network. The distribution network packet includes, in addition to distribution network information, a source MAC (media access control) address, a router MAC address, a destination MAC address, and the like. The distribution network information may be encrypted data (datalength) carrying a wireless SSID (Service Set Identifier) and a password. It should be noted that the network name and the password of the dual-band router in the present invention are the same, that is, the network name and the password of the 2.4G network (operating in the first frequency band) are consistent with the network name and the password of the 5G network (operating in the second frequency band).
At present, many routers are dual-frequency wireless routers capable of supporting 2.4G and 5G networks simultaneously, and if a mobile terminal accesses an AP (router) and randomly accesses any one of the 2.4G network AP and the 5G network AP, the mobile terminal supports the dual-frequency wireless transceiving function of the router. However, most internet of things devices only support a 2.4G network and cannot receive 5G signals, so that the internet of things devices do not support a dual-frequency function. When the mobile terminal accesses to the AP of the 5G network, the distribution network information of the AP sent by the mobile terminal APP cannot be received by the internet of things device because of the 5G signal, which may cause the problem that the WiFi device cannot access to the network. Therefore, before forwarding a distribution network data packet sent by the WIFI terminal, it needs to be determined whether the internet of things device supports dual-frequency, if not, the dual-frequency function of the router itself needs to be closed, and only a first frequency band is reserved as a working frequency band, specifically, the first frequency band is a 2.4G working frequency band. After the dual-frequency function of the router is closed, the terminal in the 5G working frequency band is transferred to the 2.4G working frequency band, and each terminal accessing the router network works in the first frequency band (i.e. the 2.4G working frequency band). At this moment, the WIFI terminal controlling the internet of things device certainly works in the first frequency band, and therefore, after the distribution network data packet sent by the WIFI terminal is received in the first frequency band, the distribution network data packet is broadcast and forwarded in the first frequency band. Of course, if the internet of things device supports the dual-frequency function, the dual-frequency function of the router itself does not need to be closed, for example, if a distribution network data packet of a 5G signal (a second frequency band) sent by the mobile phone APP is received, the router may forward the distribution network data packet in a 5G frequency band broadcast, and since the internet of things device supports the dual-frequency, the internet of things device may also receive the distribution network data packet of the 5G frequency band broadcast, so as to associate the network of the router according to the distribution network data packet.
In another embodiment of the present invention, a determining step S250 is added before step S300 in the above embodiment, specifically, as shown in fig. 2, the method includes:
s100, receiving a distribution network data packet sent by a WIFI terminal for controlling the Internet of things equipment;
s200, judging whether the Internet of things equipment supports a dual-frequency wireless transceiving function, if so, entering a step S410; if not, entering the next step;
s250, judging whether the frequency band for controlling the WIFI terminal of the Internet of things equipment to work is the frequency band supported by the Internet of things equipment, if so, entering the step S410, otherwise, entering the step S300.
S300, closing the dual-frequency function of the router, so that terminals accessed to the router network all work in a first frequency band;
s410, judging whether the WIFI terminal for controlling the Internet of things equipment works in a first frequency band or not, if so, entering a step S420, and if not, entering a step S430;
s420, forwarding a distribution network data packet sent by a WIFI terminal of the Internet of things equipment in a first frequency band, so that the Internet of things equipment can be connected with a network after receiving the distribution network data packet;
s430 is used for forwarding a distribution network data packet sent by a WIFI terminal of the Internet of things equipment at a second frequency band, so that the Internet of things equipment can be connected with a network after receiving the distribution network data packet.
In the above embodiment, a step of determining whether the working frequency band of the WIFI terminal is supported by the internet of things device is added, and if the WIFI terminal works in the first frequency band (2.4G working frequency band), even if the internet of things device does not support dual-frequency, the dual-frequency function of the router does not need to be turned off, and the router can directly broadcast and transmit the distribution network data packet of the 2.4G signal transmitted by the WIFI terminal in the first frequency band (2.4G working frequency band); the Internet of things equipment can also receive the broadcasted distribution network data packet at the first frequency band, so that the access network is analyzed, and distribution is completed. In this embodiment, an event of turning off the dual-band function of the router is further eliminated, and the influence of turning off the dual-band function of the router on other devices (devices operating in the second frequency band) is reduced as much as possible.
In any of the above method embodiments, the determination of whether the internet of things device supports the wireless dual-frequency transceiving function in step S200 may be performed by scanning in the first frequency band and the second frequency band respectively to see whether the report message of the internet of things device can be scanned in both the two frequency bands, if the report message of the internet of things device is received in both the two frequency bands, it is indicated that the internet of things device supports the dual-frequency function, and if the message of the internet of things device is received only in the first frequency band (2.4G single frequency), it is indicated that the internet of things device does not support the dual-frequency function, and only supports the wireless transceiving function (2.4G single frequency) of the first frequency band. Specifically, another embodiment of the present invention, as shown in fig. 3, includes:
s100, receiving a distribution network data packet sent by a WIFI terminal for controlling the Internet of things equipment;
s210, respectively scanning association requests of the Internet of things equipment in a first frequency band and a second frequency band, judging whether the association requests of the Internet of things equipment can be scanned in the first frequency band and the second frequency band, if so, entering a step S220, otherwise, entering a step S230;
s220, judging that the Internet of things equipment supports a dual-frequency wireless transceiving function, and entering a step S400;
s230, judging that the Internet of things equipment does not support a double-frequency wireless transceiving function, and entering the next step;
s300, closing the dual-frequency function of the router, enabling terminals accessed to the router network to work in a first frequency band, and entering the step S400;
s400, the distribution network data packet sent by the WIFI terminal for controlling the Internet of things equipment is forwarded, and the Internet of things equipment is convenient to connect with a network after receiving the distribution network data packet.
Another embodiment of the present invention, on the basis of any of the above embodiments, further includes a step of determining whether the network distribution of the internet of things device is successful, specifically, as shown in fig. 4, the method includes:
s100, receiving a distribution network data packet sent by a WIFI terminal for controlling the Internet of things equipment;
s200, judging whether the Internet of things equipment supports a dual-frequency wireless transceiving function, if so, entering a step S400; if not, entering the next step;
s300, closing the dual-frequency function of the router, enabling terminals accessed to the router network to work in a first frequency band, and entering the step S400;
s400, forwarding a distribution network data packet sent by the WIFI terminal for controlling the Internet of things equipment; the Internet of things equipment is convenient to connect with the network after receiving the distribution network data packet;
after the preset time period is S500, whether the network distribution of the Internet of things equipment is successful is detected, if yes, the step S700 is executed, and if not, the step S600 is executed;
s600, feeding back a distribution network failure to the WIFI terminal, requesting to resend the distribution network data packet, and returning to the step S100;
s700, judging whether the double-frequency function of the router is in an open state, if not, entering the step S800;
s800, starting the double-frequency function of the router.
In the embodiments of the present invention, on the basis of any of the above embodiments, after receiving the distribution network data packet, the internet of things device analyzes the distribution network data packet to obtain the wireless SSID and the password, so as to access the network, and the distribution network is successful. In this embodiment, whether the internet of things device successfully accesses the network of the router is detected (i.e., whether the internet of things device successfully allocates the network is detected), and if the internet of things device successfully accesses the network of the router and the dual-frequency function of the router is still in the off state, the dual-frequency function of the router can be controlled to be started, so that each terminal device accessing the router autonomously selects the most suitable working frequency band according to the self condition. Preferably, in step S700, the dual-frequency function of the router is turned on after a preset time period after the network distribution of the internet of things device is successful, so that the dual-frequency function is turned on after the internet of things device is successfully accessed to the network and the network is stabilized.
According to another method embodiment of the invention, the related terminal is automatically detected through the dual-frequency integrated wireless router, and when the current related terminal is detected not to support the dual-frequency function, the router directly and automatically closes the dual-frequency integrated function, so that the terminal equipment is easier to distribute the network, the network distribution feasibility of the wireless terminal is improved, and the user experience is improved. Specifically, the flow diagram is shown in fig. 5:
the router supporting the double-frequency-in-one function starts the double-frequency-in-one function by default;
the wireless terminal disassociates the router;
the router detects whether all the associated equipment supports double-frequency, if the associated equipment does not support double-frequency, the router closes the double-frequency integrated function, and the value of the double-frequency integrated function is reserved as single-frequency 2.4G;
the router detects whether all the associated equipment support double-frequency, if all the associated equipment support double-frequency, the default configuration of the router is maintained;
and the terminal disassociates the router according to the wireless association process.
The above examples, which are set forth in detail below:
(1) in general, the WIFI normal association (each terminal is associated with a router network) process is as follows:
STA-Probe Request-AP/broadcast self-data
STA<------------Probe Response<-------------AP
STA- -Authentication Request- -AP// Authentication type, OpenSystem, SharedKey, etc
STA------------>Authentication Response------>AP
STA-Association Request-Association with AP so as to perform data interaction
STA------------->Association Response----------->AP
Data Communication
(2) After the router is started, the dual-frequency-in-one function is started by default.
(3) Each wireless terminal begins disassociating the router.
(4) The router starts the dual-frequency monitoring module in the process of association of the wireless terminal, and through parameter monitoring of the Probe request messages of all the terminals, if the router monitors that only 2.4G single-frequency information exists in the messages reported by the wireless terminal, the router sets the module through software, closes the function of dual-frequency integration, sets the module through router software, closes the 5G WIFI module of the router, and only keeps opening of the 2.4G WIFI module.
(5) And transferring the wireless terminal which is originally associated on the 5G WIFI module to the 2.4G upper frequency band through software background operation.
(6) If the router does not monitor that a single-frequency terminal exists in the environment in the process of associating the wireless terminal, the dual-frequency-in-one function is kept on all the time.
(7) And other normal equipment authentication distribution network processes are reserved.
According to the method for configuring the internet of things equipment based on the dual-frequency wireless router, when the fact that the current associated terminal does not support the dual-frequency function is detected, the router directly and automatically closes the dual-frequency integrated function, so that the terminal equipment is easier to be configured with a network, the feasibility of the network of the wireless terminal is improved, and the user experience is improved. According to the method, whether single-frequency equipment exists in the associated equipment in the environment is automatically scanned through the router, if the single-frequency equipment exists in the associated equipment, the router can automatically close the function of combining double frequencies of the router into one, so that the associated equipment is automatically associated to the same frequency band, and the equipment cannot fail when being distributed in a network. In addition, the router automatically completes the scanning closing process, the user does not sense, and the operability and the user experience of the equipment are improved.
Based on the same technical concept, the present invention further discloses a dual-band wireless router, and the apparatus may adopt the method embodiment of the present invention, specifically, as shown in fig. 6, including: the receiving module 10 is configured to receive a distribution network data packet sent by a WIFI terminal controlling an internet of things device; an operation module 20 for turning off the dual-frequency function of the router itself under the control of the control module 40; the transfer module 30 is configured to forward the distribution network data packet received by the receiving module 10, so that the internet of things device can connect to the network after receiving the distribution network data packet; the control module 40 is configured to determine whether the internet of things device supports dual-frequency, and if so, control the transfer module 30 to forward the distribution network data packet received by the receiving module 10, so that the internet of things device is connected to a network after receiving the distribution network data packet; otherwise, the operation module 20 is controlled to close the dual-frequency function of the router, so that the terminals accessing the router network all work in the first frequency band, and then the distribution network data packet received by the receiving module 10 and sent by the WIFI terminal controlling the internet of things device is forwarded through the transfer module 30; and the Internet of things equipment is convenient to connect with the network after receiving the distribution network data packet.
Compared with a single-frequency-band wireless router, the dual-frequency wireless router has the advantages of higher wireless transmission rate, stronger anti-interference performance, stronger wireless signals, higher stability and difficulty in disconnection, and becomes the mainstream development trend of wireless products. The wireless router, like other wireless products, is also flexible to Radio Frequency (RF) systems and needs to operate within a certain frequency range to be able to communicate with other devices, and this frequency range is called the operating frequency band of the wireless router. However, different products adopt different network standards, so the adopted working frequency bands are different, and the working frequency band of the wireless router is generally divided into two frequency bands of 2.4GHZ and 5 GHZ. 2.4GHZ is a frequency band commonly adopted by early wireless routers and continues to the present; now, 5GHz is also widely used, and the double-frequency wireless router is formed by combining the 5GHz with 2.4 GHz.
Specifically, the receiving module 10 receives a distribution network data packet sent by a WIFI terminal controlling the internet of things device; the control module 40 judges whether the internet of things equipment supports a dual-frequency wireless transceiving function, if so, the distribution network data packet received by the receiving module 10 is broadcast and forwarded through the transfer module 30, so that the internet of things equipment can be connected to a network after receiving the distribution network data packet; otherwise, the operation module 20 is controlled to close the dual-frequency function of the router, so that each terminal accessing the router network works in the first frequency band, then, the receiving module 10 receives a distribution network data packet sent by the WIFI terminal, and then, the distribution network data packet is transferred and broadcasted, and after receiving the distribution network data packet, the internet of things device analyzes the distribution network data packet, obtains a wireless SSID and a password, and thus accesses the network. The distribution network data packet carries the wireless SSID and the password, which are naturally transmitted in a form of a ciphertext, such as carrying and transmitting the wireless SSID and the password through a data length. Therefore, the internet of things equipment needs to be analyzed after receiving the distribution network data packet.
The distribution network information in the distribution network packet includes an SSID (service set Identifier) and a password of the target AP. The distribution network data packet is generally a UDP data packet, and the data structure of the valid information therein is as follows:
[ Source MAC ] [ Router MAC ] [ destination MAC ] [ datalength ]
Wherein, the source MAC represents the MAC address of the network card used by the terminal sending the UDP data packet; the target MAC represents the MAC address of the data receiving end equipment, and the MAC address is [ FFFFFFFFFFFF ] during the broadcasting of the UDP; the datalength represents the data length, and the internet of things equipment acquires the distribution network information of the router network according to the data analyzed and transmitted by the datalength, so that the router network is accessed.
In another embodiment of the apparatus of the present invention, as shown in fig. 7, on the basis of the above embodiment of the apparatus, the transit module 30 includes: the first relay module 31 is configured to forward, at a first frequency band, a distribution network data packet received by the receiving module 10 and sent by a WIFI terminal that controls an internet of things device, so that the internet of things device can connect to a network after receiving the distribution network data packet; the second relay sub-module 32 is configured to forward, at a second frequency band, a distribution network data packet received by the receiving module 10 and sent by a WIFI terminal that controls the internet of things device, so that the internet of things device can connect to a network after receiving the distribution network data packet; the control module 40 includes: the network distribution data packet forwarding method is used for controlling the WIFI terminal of the Internet of things device to work in a first frequency band or not, if yes, the network distribution data packet is forwarded through the first relay submodule 31, and if not, the network distribution data packet is forwarded through the second relay submodule 32.
In the embodiment of the device, the corresponding transfer submodule is selected to transfer the distribution network data packet according to the working frequency band of the WIFI terminal for controlling the Internet of things equipment; if the internet of things equipment supports double-frequency, no matter which frequency band the WIFI terminal works in, after the distribution network data packet is forwarded by the corresponding middle rotor module, the internet of things equipment can receive the distribution network data packet at the corresponding frequency band, and therefore the network is accessed according to the distribution network data packet. For example, when the WIFI terminal operates in the second frequency band, the second relay sub-module 32 forwards the distribution network data packet sent by the WIFI terminal in the second frequency band, and since the internet of things device supports dual-frequency, the internet of things device may also obtain the distribution network data packet in the second frequency band, so as to distribute a network. Certainly, if the internet of things device does not support dual-band and only supports single-band (only supports the first frequency band), then, the dual-band function of the router itself needs to be closed through the operation module 20, and all the terminals accessing the router work in the first frequency band, so that the WIFI terminal also works in the first frequency band, and then the WIFI terminal also sends the distribution network data packet in the first frequency band, correspondingly, the first relay module 31 forwards the distribution network data packet in the first frequency band, and the internet of things device can receive the distribution network data packet in the first frequency band, so as to perform distribution network.
Preferably, on the basis of any one of the above embodiments, when the control module determines that the internet of things device does not support the dual-frequency wireless transceiving function, the control module further determines whether the frequency band of the working WIFI terminal of the control internet of things device is the frequency band supported by the internet of things device, which is equivalent to determining whether the WIFI terminal of the control internet of things device works in the first frequency band, because the internet of things device only supports a single frequency (the first frequency band), if the WIFI terminal works in the first frequency band (the 2.4G working frequency band), the dual-frequency function of the router does not need to be closed, and only the distribution network data packet sent by the WIFI terminal needs to be forwarded through the transfer module 30, and the internet of things device can receive the distribution network data packet, so as to access the network according to the distribution network data packet. Of course, if the WIFI terminal controlling the internet of things device operates in the second frequency band (5G operating frequency band), the dual-frequency function of the router itself still needs to be closed through the operating module, so that the terminals accessing the router network all operate in the first frequency band, and then the subsequent distribution network data packet is forwarded.
Preferably, on the basis of any of the above embodiments, the determining, by the control module, whether the internet of things device supports the dual-frequency transceiving function includes: the control module scans in a first frequency band and a second frequency band respectively to see whether the association request of the Internet of things equipment can be scanned or not, if the association request of the Internet of things equipment can be scanned in the first frequency band and the second frequency band, the Internet of things equipment is judged to support the wireless transceiving function of the first frequency band and the second frequency band, namely the Internet of things equipment supports double frequencies, and if the association request of the Internet of things equipment can be scanned in the first frequency band only, the Internet of things equipment is judged not to support the double frequencies.
Preferably, in any of the above embodiments, the determining, by the control module, whether the internet of things device supports a dual-frequency wireless transceiving function includes: the control module respectively scans association requests of the Internet of things equipment in a first frequency band and a second frequency band, judges whether the association requests of the Internet of things equipment can be scanned in the first frequency band and the second frequency band, and judges that the Internet of things equipment supports a dual-frequency wireless transceiving function if the association requests of the Internet of things equipment can be scanned in the first frequency band and the second frequency band; otherwise, judging that the Internet of things equipment does not support the double-frequency wireless transceiving function.
In another embodiment of the present invention, as shown in fig. 7, based on any one of the above device embodiments, the dual-band wireless router according to the present invention further includes: the detection module 50 is configured to detect whether the internet of things device succeeds in network distribution, if so, further detect whether a dual-frequency function of the router is in an on state, otherwise, feed back the internet of things device network distribution failure to the WIFI terminal, and request to resend the network distribution data packet; the control module 40 is further configured to control the operation module 20 to start the dual-frequency function of the router when the detection module 50 detects that the internet of things device is successfully distributed and the dual-frequency function of the router is not in an on state.
In the device embodiment of the present invention, the detection module 50 is added, after the transfer module 30 forwards the distribution network data packet sent by the WIFI terminal controlling the internet of things device, the detection module 50 starts to detect after a preset time period (it is expected that the internet of things device needs time to access the network after receiving the distribution network data packet), to see whether the internet of things device has successfully accessed the network, that is, whether the distribution network is successful, if the distribution network is successful, it is further detected whether the dual-frequency function of the router is in an open state, and if the distribution network is not successful, the control module 40 controls the operation module 20 to open the dual-frequency function of the router. Of course, if the detection module 50 detects that the network distribution of the internet of things device is not successful after the preset time period, the detection module feeds back the network distribution failure information to the WIFI terminal, requests the WIFI terminal to resend the network distribution data packet, and resumes the network distribution operation.
The device embodiment of the invention corresponds to the method embodiment of the invention, and therefore the technical details of the method embodiment of the invention also apply to the device embodiment of the invention. The present invention is not described in detail to reduce the repetition.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.