[go: up one dir, main page]

CN107613530B - Router-based configuration method of Internet of things equipment and dual-frequency wireless router - Google Patents

Router-based configuration method of Internet of things equipment and dual-frequency wireless router Download PDF

Info

Publication number
CN107613530B
CN107613530B CN201710941426.0A CN201710941426A CN107613530B CN 107613530 B CN107613530 B CN 107613530B CN 201710941426 A CN201710941426 A CN 201710941426A CN 107613530 B CN107613530 B CN 107613530B
Authority
CN
China
Prior art keywords
internet
things equipment
router
frequency
distribution 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.)
Active
Application number
CN201710941426.0A
Other languages
Chinese (zh)
Other versions
CN107613530A (en
Inventor
张志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Yunyue Technology Co ltd
Original Assignee
Phicomm Shanghai 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 Phicomm Shanghai Co Ltd filed Critical Phicomm Shanghai Co Ltd
Priority to CN201710941426.0A priority Critical patent/CN107613530B/en
Priority to PCT/CN2017/116422 priority patent/WO2019071807A1/en
Publication of CN107613530A publication Critical patent/CN107613530A/en
Application granted granted Critical
Publication of CN107613530B publication Critical patent/CN107613530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a router-based configuration method of Internet of things equipment, which comprises the following steps: receiving a distribution network data packet sent by a WIFI terminal for controlling the Internet of things equipment; judging whether the Internet of things equipment supports a dual-frequency wireless transceiving function, if not, closing the dual-frequency function of the router, and enabling terminals accessed to a router network to work in a first frequency band; the distribution network data packet sent by the WIFI terminal of the Internet of things equipment is forwarded and controlled, and the Internet of things equipment can be connected with the network after receiving the distribution network data packet. In addition, the invention also discloses a dual-frequency wireless router and a dual-frequency wireless router, and through the invention, when detecting that the current associated Internet of things equipment does not support the dual-frequency function, the router directly and automatically closes the dual-frequency integrated function, so that all terminals can be uniformly associated to the 2.4G frequency band, a user can provide simpler distribution network for the equipment, the distribution network feasibility of the wireless terminal is improved, and the user experience is improved.

Description

Router-based configuration method of Internet of things equipment and dual-frequency wireless router
Technical Field
The invention relates to the technical field of wireless communication, in particular to a router-based configuration method of Internet of things equipment and a dual-frequency wireless router.
Background
Nowadays, multi-frequency routers are almost standard wireless routers. More and more medium-high-end wireless routers are set to be enabled by a dual-frequency-in-one function by default. The dual-band unification function is that a plurality of frequency bands use the same wireless SSID, and the solution of dual-band unification of the mainstream wireless chip manufacturers at present is that a terminal is preferentially associated with a 5G frequency band. Mainstream cell-phone in present market supports the multifrequency basically, so when associating the router, generally can be preferred to be associated with the 5G channel of multifrequency router, but the WIFI module of many thing networking devices supports single-frequency 2.4G frequency channel at present, for example electronic scale, air cat, sphygmomanometer etc. generally only support 2.4G single-frequency, but under the condition that the router opens the unification of two screens, the cell-phone generally can be connected to 5 GWIFII, and thing networking device can only be connected to 2.4G WIFI, so when joining in marriage the net for thing networking device with cell-phone APP, because two equipment relevance WIFI are in different frequency channels, must lead to joining in marriage the net and fail.
Because most of current commercial internet of things equipment only supports single-frequency 2.4G's WIFI, and the cell-phone all is double-frequency basically, cell-phone and internet of things equipment are in the double-frequency of relevance unification router like this, probably acquiesce for on the different frequency channels of relevance to lead to cell-phone APP to join in marriage the net failure for internet of things equipment, must log in the manual function of closing double-frequency unification of router management page, complex operation has influenced user's experience.
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.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an embodiment of a configuration method of an internet of things device based on a router according to the present invention;
fig. 2 is a flowchart of another embodiment of a configuration method of an internet of things device based on a router according to the present invention;
fig. 3 is a flowchart of another embodiment of a configuration method of an internet of things device based on a router according to the present invention;
fig. 4 is a flowchart of another embodiment of a configuration method of an internet of things device based on a router according to the present invention;
fig. 5 is a schematic flowchart of another embodiment of a configuration method of an internet of things device based on a router according to the present invention;
FIG. 6 is a block diagram of an embodiment of a dual-band wireless router of the present invention;
fig. 7 is a block diagram of another embodiment of a dual-band wireless router according to the invention.
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.

Claims (8)

1. A configuration method of Internet of things equipment based on a router is characterized by comprising 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, so that the Internet of things equipment can receive the distribution network data packet and then connect with a network, and the method comprises the following steps: 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.
2. The method for configuring a router-based internet of things device according to claim 1, further comprising, before the step S300:
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.
3. The method for configuring the router-based internet of things device according to claim 1, wherein the step S200 comprises:
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.
4. The method for configuring the router-based internet of things equipment according to any one of claims 1 to 3, further comprising:
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.
5. A dual-band wireless router, comprising:
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 a dual-frequency wireless transceiving function, 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; the Internet of things equipment is convenient to connect with the network after receiving the distribution network data packet;
the transfer module comprises: 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.
6. The dual-frequency wireless router according to claim 5, wherein 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 in which a WIFI terminal of the internet of things device operates is a frequency band supported by the internet of things device, if so, control the relay 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 terminals accessing the router network all operate in the first frequency band.
7. The dual-band wireless router of claim 5, wherein the determining, by the control module, whether the internet of things device supports a dual-band wireless transceiving function comprises: 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.
8. A dual-band wireless router according to any of claims 5-7, further comprising:
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.
CN201710941426.0A 2017-10-11 2017-10-11 Router-based configuration method of Internet of things equipment and dual-frequency wireless router Active CN107613530B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710941426.0A CN107613530B (en) 2017-10-11 2017-10-11 Router-based configuration method of Internet of things equipment and dual-frequency wireless router
PCT/CN2017/116422 WO2019071807A1 (en) 2017-10-11 2017-12-15 Router-based internet of things device configuration method and dual-frequency wireless router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710941426.0A CN107613530B (en) 2017-10-11 2017-10-11 Router-based configuration method of Internet of things equipment and dual-frequency wireless router

Publications (2)

Publication Number Publication Date
CN107613530A CN107613530A (en) 2018-01-19
CN107613530B true CN107613530B (en) 2020-03-13

Family

ID=61068164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710941426.0A Active CN107613530B (en) 2017-10-11 2017-10-11 Router-based configuration method of Internet of things equipment and dual-frequency wireless router

Country Status (2)

Country Link
CN (1) CN107613530B (en)
WO (1) WO2019071807A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343055B (en) * 2018-12-18 2021-08-20 美的集团股份有限公司 Network connection method, Internet of things system and Internet of things equipment
CN112237031B (en) 2018-12-29 2022-01-11 华为技术有限公司 Method for accessing network of smart home equipment and related equipment
CN109951881B (en) * 2019-03-26 2021-06-25 维沃移动通信有限公司 Channel switching method, terminal equipment and routing equipment
CN110945920A (en) * 2019-10-21 2020-03-31 北京小米移动软件有限公司 Network access method, device, communication equipment and storage medium
CN111314992B (en) * 2020-02-11 2022-04-19 浙江大华技术股份有限公司 Connection method and device of hotspot module and broadcasting method and device of hotspot list
CN112422313B (en) * 2020-09-29 2023-10-17 漳州立达信光电子科技有限公司 A pairing method and related devices based on host computer
CN113747543B (en) * 2021-08-03 2022-11-25 荣耀终端有限公司 Distribution network method, equipment, device and storage medium
CN115150217A (en) * 2022-06-30 2022-10-04 青岛海信移动通信技术股份有限公司 Network distribution method, device and equipment for intelligent household equipment
CN115529616B (en) * 2022-10-08 2025-02-14 特熠智能技术(深圳)有限公司 Configuration method of Internet of Things devices based on router and dual-band wireless router
CN116456408B (en) * 2023-01-18 2023-11-07 广州鲁邦通物联网科技股份有限公司 Method for improving utilization rate of 5G frequency band of router and router

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104640166A (en) * 2014-10-29 2015-05-20 小米科技有限责任公司 Communication method and device
CN105163366A (en) * 2015-09-24 2015-12-16 小米科技有限责任公司 Wireless network connection method and device
CN105873179A (en) * 2016-05-19 2016-08-17 北京小米移动软件有限公司 Wireless network accessing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9750039B2 (en) * 2014-03-04 2017-08-29 International Business Machines Corporation Configurable wireless switched network
CN105282773B (en) * 2015-09-14 2019-02-12 深圳市江波龙科技有限公司 The configuration method and system of WiFi equipment
CN205377919U (en) * 2016-01-18 2016-07-06 陈安杰 Dual -frenquency wireless router

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104640166A (en) * 2014-10-29 2015-05-20 小米科技有限责任公司 Communication method and device
CN105163366A (en) * 2015-09-24 2015-12-16 小米科技有限责任公司 Wireless network connection method and device
CN105873179A (en) * 2016-05-19 2016-08-17 北京小米移动软件有限公司 Wireless network accessing method and device

Also Published As

Publication number Publication date
WO2019071807A1 (en) 2019-04-18
CN107613530A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107613530B (en) Router-based configuration method of Internet of things equipment and dual-frequency wireless router
JP4754624B2 (en) Method and apparatus for selecting a multiband access point for association with a multiband mobile terminal
EP3242511B1 (en) Systems and methods for implementing multiple band service discovery
US20240349033A1 (en) Automated Subscription Management for Wireless Devices Having Multiple Subscription Profiles
US9980192B2 (en) Traffic steering between WLAN and cellular networks
JP4899665B2 (en) Wireless communication system, wireless communication apparatus, wireless communication method, and wireless communication program
CN112673592A (en) Device provisioning protocol with participant feedback
US20090270090A1 (en) Mobile communication device
US20070159997A1 (en) Wireless Security Setup between Station and AP Supporting MSSID
BRPI0925004B1 (en) access control with partial support for communications
KR100735664B1 (en) Apparatus and method for providing service status using access level restriction list in mobile communication system
JP3289776B2 (en) Method of reprogramming wireless transceiver via wireless communication
US20180124691A1 (en) Method and apparatus for accessing wireless network with smart device
US10425888B2 (en) Wireless communication apparatus and method of controlling wireless communication apparatus
US10499430B2 (en) Method and apparatus for operating a device on a licensed spectrum and an unlicensed spectrum
US12267731B2 (en) Method and device for resource coordination
CN113132929B (en) Equipment network access method and device, computer equipment and storage medium
CN107959954B (en) A wireless communication method and terminal device
TWI406534B (en) Wireless communication method and apparatus for preventing network access by mobile stations which support an incompatible internet protocol version
CN116056174A (en) Wireless fidelity Wi-Fi roaming switching method and device
CN112335318A (en) Method for activating bandwidth part, terminal equipment and network equipment
CN112055372B (en) Customer premises equipment and working method thereof
KR100791847B1 (en) Method and apparatus for transmitting message in mobile communication terminal
WO2014117518A1 (en) Method, device, and system for discovering wireless local area network
CN107959945A (en) A kind of wireless communications method and terminal device

Legal Events

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

Effective date of registration: 20201125

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201211

Address after: 5 / F, block C, outsourcing service building, 301 Hanzhongmen street, Gulou District, Nanjing, Jiangsu Province 210000

Patentee after: Nanjing Junyao Environmental Technology Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210226

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 5 / F, block C, outsourcing service building, 301 Hanzhongmen street, Gulou District, Nanjing, Jiangsu Province 210000

Patentee before: Nanjing Junyao Environmental Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240729

Address after: Room 304, No. 37 Helong Second Road, Baiyun District, Guangzhou City, Guangdong Province, 510000

Patentee after: Guangzhou Yunyue Technology Co.,Ltd.

Country or region after: China

Address before: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee before: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right