CN110769442B - Method and device for accessing router and Internet of things equipment - Google Patents

Method and device for accessing router and Internet of things equipment Download PDF

Info

Publication number
CN110769442B
CN110769442B CN201910982195.7A CN201910982195A CN110769442B CN 110769442 B CN110769442 B CN 110769442B CN 201910982195 A CN201910982195 A CN 201910982195A CN 110769442 B CN110769442 B CN 110769442B
Authority
CN
China
Prior art keywords
service set
target
router
bssid
ssid
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
CN201910982195.7A
Other languages
Chinese (zh)
Other versions
CN110769442A (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.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201910982195.7A priority Critical patent/CN110769442B/en
Publication of CN110769442A publication Critical patent/CN110769442A/en
Application granted granted Critical
Publication of CN110769442B publication Critical patent/CN110769442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The application relates to a method for an access router, comprising: acquiring distribution network information for accessing the Internet of things equipment into a target router; obtaining hot spot information of a router; and carrying out fuzzy matching on the distribution network information and the hot spot information, and accessing the Internet of things equipment into the target router under the condition of successful matching. Because the hotspot information of each frequency band of the same target router generally has the same part, the network allocation information of the target router and the hotspot information of the router are subjected to fuzzy matching according to the same part, and the network allocation information can be matched with the hotspot information corresponding to the frequency band supported by the Internet of things equipment in the target router with high probability, so that the Internet of things equipment can be accessed to the target router through the frequency band with high probability, complex frequency band allocation operation is not needed, and the access efficiency of the Internet of things equipment to the router is improved. The application also relates to a device for accessing the router and the Internet of things equipment.

Description

Method and device for accessing router and Internet of things equipment
Technical Field
The present application relates to the field of communications technologies, and for example, to a method and an apparatus for accessing a router, and an internet of things device.
Background
Currently, the internet of things device generally only supports single frequency communication, for example, only supports communication in the 2.4G frequency band. The routers to which the internet of things device needs to be connected are mostly dual-frequency routers, and generally comprise two frequency bands, wherein one frequency band is a 2.4G frequency band, and the other frequency band is a 5G frequency band. In order to successfully access the router, the frequency bands of the internet of things equipment and the router to be accessed need to be kept consistent.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
when the Internet of things equipment is accessed to the router, complex frequency band configuration operation is needed to be manually carried out, and the access efficiency is low.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
The embodiment of the disclosure provides a method and a device for accessing a router and Internet of things equipment, so as to solve the technical problems that complicated frequency band configuration operation needs to be manually carried out when the Internet of things equipment is accessed to the router, and the access efficiency is low.
In some embodiments, a method for an access router includes:
acquiring distribution network information for accessing the Internet of things equipment into a target router;
obtaining hot spot information of a router;
and carrying out fuzzy matching on the distribution network information and the hot spot information, and accessing the Internet of things equipment into the target router under the condition of successful matching.
In some embodiments, an apparatus for an access router comprises:
the network distribution information acquisition module is configured to acquire network distribution information for accessing the internet of things equipment to the target router;
the hot spot information obtaining module is configured to obtain hot spot information of the router;
the matching module is configured to perform fuzzy matching on the distribution network information and the hot spot information;
and the access module is configured to access the internet of things equipment to the target router under the condition that the matching is successful.
In some embodiments, the internet of things device comprises the aforementioned means for accessing the router.
Some technical schemes provided by the embodiments of the present disclosure may achieve the following technical effects:
because the hotspot information of each frequency band of the same target router generally has the same part, the network allocation information of the target router and the hotspot information of the router are subjected to fuzzy matching according to the same part, and the network allocation information can be matched with the hotspot information corresponding to the frequency band supported by the Internet of things equipment in the target router with high probability, so that the Internet of things equipment can be accessed to the target router through the frequency band with high probability, complex frequency band configuration operation is not needed any more, the network allocation information can be automatically and intelligently matched and accessed to the target router, and the access efficiency of the Internet of things equipment to the router is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which like reference numerals refer to similar elements, and in which:
fig. 1 illustrates a flow chart for a user to connect with a router through a handset configuration internet of things device.
Fig. 2 exemplarily shows a flow diagram of a method for an access router provided by an embodiment of the present disclosure;
fig. 3 exemplarily shows a flow diagram of a method for an access router provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Reference numerals:
50: a processor; 51: a memory; 52: a communication interface; 53: a bus.
Detailed Description
So that the manner in which the features and techniques of the disclosed embodiments can be understood in more detail, a more particular description of the embodiments of the disclosure, briefly summarized below, may be had by reference to the appended drawings, which are not intended to be limiting of the embodiments of the disclosure. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawing.
Fig. 1 is a flowchart showing that a user is connected with a target router through an internet of things device configured by a mobile phone APP, where the flowchart includes:
step S10: the user operation networking equipment enters a distribution network mode;
step S11: the user selects a target router through the mobile phone APP, inputs a target router password and accesses the target router;
step S12: the mobile phone APP transmits a target service set identifier SSID of a target router and a target router password to the Internet of things equipment;
step S13: the internet of things equipment uses the received target service set identifier SSID to precisely match router hot spot information, and uses the received password to connect the target router after the matching is successful;
step S14: the user binds the internet of things equipment connected with the target router into a user account through the mobile phone APP to complete the network distribution of the internet of things, so that the user equipment (such as a mobile phone or a tablet) can control various parameters of the internet of things equipment through the network. For example, when the current internet of things device is a printer, the printer may be configured to access the same network through the printing software APP installed on the mobile phone of the user, and in a wireless state, parameters of the printer are set, for example, parameters such as whether printing of the printer is single-sided printing or double-sided printing are set, which is only exemplified herein and not described in detail.
In the above process, since the 5G frequency band is the frequency band that the user uses the most mobile phones at ordinary times, the user can easily and simply establish connection with the target router according to the 5G frequency band used by the mobile phones at that time, so that the issued target service set identifier SSID and the target router password are the target service set identifier SSID and the target router password corresponding to the 5G frequency band, when the internet of things device exactly matches the router hotspot information with the received target service set identifier SSID corresponding to the 5G frequency band, the router hotspot information corresponding to the 2.4G frequency band cannot be matched, thereby causing configuration failure. Therefore, the user is required to select the 2.4G frequency band of the target router for connection through the mobile phone APP, and if the frequency band is selected incorrectly, network allocation failure can be caused.
The embodiment of the disclosure provides a method for an access router, as shown in fig. 2, the method comprises the following steps:
step S1: acquiring distribution network information for accessing the Internet of things equipment into a target router;
step S2: obtaining hot spot information of a router;
step S3: and carrying out fuzzy matching on the distribution network information and the hot spot information, and accessing the Internet of things equipment into the router when the matching is successful.
Because the hotspot information of each frequency band of the same target router generally has the same part, the received network allocation information of the target router and the hotspot information of surrounding routers are subjected to fuzzy matching according to the same part, and the network allocation information can be matched with the hotspot information corresponding to the frequency band supported by the Internet of things equipment in the target router with high probability, so that the Internet of things equipment can be accessed to the target router through the frequency band without complex frequency band configuration operation, the network of things equipment can be automatically and intelligently matched and accessed to the target router, and the access efficiency of the Internet of things equipment access router is improved.
In some embodiments, the distribution network information includes a target service set identification SSID of the target router, and the hotspot information includes a service set identification SSID of the router. Colloquially, after the router turns on the wireless network, the created WiFi name is the SSID broadcast. Because the SSIDs of two or more frequency bands of the same target router generally have the same part, fuzzy matching can be carried out according to the same part, and the SSIDs corresponding to the frequency bands supported by the Internet of things equipment in the target router can be matched with each other with high probability, so that the Internet of things equipment can be accessed to the target router through the frequency bands with high probability, complex frequency band configuration operation is not needed any more, the intelligent matching can be automatically carried out and the access to the target router can be carried out, and the access efficiency of the Internet of things equipment to the router is improved.
In some embodiments, the distribution network information includes a target basic service set identification BSSID of the target router, and the hotspot information includes a basic service set identification BSSID of the router. The BSSID refers to the MAC address of the router (Media Access Control Address). Because the BSSIDs of two or more frequency bands of the same target router generally have the same part, the BSSIDs can be matched with the BSSIDs corresponding to the frequency bands supported by the Internet of things equipment in the target router with high probability according to the fuzzy matching of the same part, so that the Internet of things equipment can be accessed to the target router with high probability through the frequency bands, complex frequency band configuration operation is not needed any more, the target router can be automatically and intelligently matched and accessed, and the access efficiency of the Internet of things equipment to the router is improved.
In some embodiments, the distribution network information includes a target service set identification SSID and a target basic service set identification BSSID of the target router, and the hotspot information includes a service set identification SSID and a basic service set identification BSSID of the router. The network allocation success rate of the Internet of things equipment can be increased through two modes of SSID fuzzy matching and BSSID fuzzy matching.
In some embodiments, performing fuzzy matching on the distribution network information and the hot spot information includes: and under the condition that the distribution network information comprises a target service set identification SSID of the target router and the hot spot information comprises a service set identification SSID of the router, performing prefix matching on the target service set identification SSID and the service set identification SSID.
Because the SSIDs of two or more frequency bands of the same target router are mostly identical in prefix and different in suffix, the SSIDs corresponding to the frequency bands supported by the Internet of things equipment in the target router can be matched with each other with high probability through prefix matching, so that the Internet of things equipment can be accessed to the target router through the frequency bands with high probability, complex frequency band configuration operation is not needed any more, the Internet of things equipment can be automatically and intelligently matched and accessed to the target router, and the access efficiency of the Internet of things equipment access router is improved. For example, assuming that a target SSID configured by a mobile phone APP is a target SSID corresponding to a frequency band that is not supported by the internet of things device, for example, "AROUter_5g" or "AROUter_5g", "AROUter-5G", "AROUter5G", and "AROUter5G", the internet of things device cannot search for the target SSID through exact matching, prefix matching is performed through "AROUter", so that an SSID corresponding to the frequency band supported by the internet of things device in the target router, for example, "AROUter_2.4g" or "AROUter_2.4g", "AROUter-2.4g", and the like, can be searched for in a large probability, and then the internet of things device accesses the target router through the frequency band.
In some embodiments, the distribution network information further includes a target router password for accessing the target router. Typically, the passwords for two or more frequency bands of the same target router are typically the same. When SSID corresponding to the frequency band supported by the Internet of things equipment in the target router is searched through prefix matching under the condition that the passwords of two or more frequency bands of the same target router are the same, the connection between the Internet of things equipment and the target router can be realized through inputting the password of the target router issued by the user APP.
In some embodiments, performing fuzzy matching on the distribution network information and the hot spot information includes: and under the condition that the distribution network information comprises a target Basic Service Set Identifier (BSSID) of the target router and the hot spot information comprises a Basic Service Set Identifier (BSSID) of the router, performing prefix matching on the target Basic Service Set Identifier (BSSID) and the Basic Service Set Identifier (BSSID).
Because the BSSIDs of two or more frequency bands of the same target router are mostly identical in prefix and different in suffix, the BSSIDs corresponding to the frequency bands supported by the Internet of things equipment in the target router can be matched with each other with high probability through prefix matching, so that the Internet of things equipment can be accessed to the target router through the frequency bands with high probability, complex frequency band configuration operation is not needed any more, the target router can be automatically and intelligently matched and accessed, and the access efficiency of the Internet of things equipment to the router is improved. For example, suppose that a target router BSSID configured by a mobile phone APP is a target BSSID corresponding to a frequency band that is not supported by the internet of things device: the method comprises the steps that if 'e 0:19:1 d:cc:7e:c4' is found, the Internet of things equipment cannot find the target BSSID through accurate matching, prefix matching is carried out through 'e 0:19:1 d:cc:7e:c' or 'e 0:19:1 d:cc:7e', the BSSID corresponding to a frequency band supported by the Internet of things equipment in the target router can be found with high probability, and then the Internet of things equipment is accessed to the target router through the frequency band.
In some embodiments, the distribution network information further includes a target router password for accessing the target router. Typically, the passwords for two or more frequency bands of the same target router are the same. When the BSSID corresponding to the frequency band supported by the Internet of things equipment in the target router is searched through prefix matching under the condition that the passwords of two or more frequency bands of the same target router are the same, the connection between the Internet of things equipment and the target router can be realized through inputting the target router password issued by the user APP.
In some embodiments, where the distribution network information includes a target service set identification SSID and a target basic service set identification BSSID of the target router, and the hotspot information includes a service set identification SSID and a basic service set identification BSSID of the router, the following distribution network sequence may be performed:
mode 1: firstly, performing prefix matching on a target service set identifier SSID and a service set identifier SSID, and performing prefix matching on a target basic service set identifier BSSID and a basic service set identifier BSSID under the condition that the matching is unsuccessful;
mode 2: and performing prefix matching on the target service set identifier BSSID and the service set identifier BSSID, and performing prefix matching on the target service set identifier SSID and the service set identifier SSID under the condition that the matching is unsuccessful.
In the above modes 1 and 2, the network allocation success rate of the internet of things device can be increased by two modes of SSID fuzzy matching and BSSID fuzzy matching.
In some embodiments, the distribution is performed sequentially using the distribution network of mode 2. Because the BSSID represents the MAC address (Media Access Control Address) of the router, which is an address for confirming the location of the device on the network, and the MAC addresses of different routers have a large difference, by means of MAC address prefix matching, a large amount of interference of non-target routers can be eliminated, and rapid matching to the target router is facilitated, thereby improving the network distribution speed.
In some embodiments, prefix matching the target service set identification SSID/target basic service set identification BSSID with the service set identification SSID/basic service set identification BSSID comprises:
under the condition that the prefix is kept unchanged, the suffix of the target service set identification SSID/target basic service set identification BSSID is modified, and the modified target service set identification SSID/target basic service set identification BSSID is matched with the service set identification SSID/basic service set identification BSSID. In this way, the internet of things device can actively modify the suffix of the SSID/BSSID in the distribution network information so as to realize fuzzy matching of the distribution network information and the hot spot information.
In some embodiments, modifying the suffix of the target service set identification SSID comprises: and modifying the suffix of the target service set identification SSID into a frequency band supported by the Internet of things equipment. Assuming that a target SSID configured by a mobile phone APP is a target SSID corresponding to a frequency band that is not supported by the internet of things device, for example, "AROUter_5g" or "AROUter_5g", "AROUter-5G", "AROUter5G", and the internet of things device cannot find the target SSID through exact matching, the suffix "5G" in the target SSID is modified to be "2.4G", the target SSID becomes "AROUter_2.4G" or "AROUter_2.4G", "AROUter-2.4G", and the like, and the internet of things device can be quickly matched to the target SSID corresponding to the frequency band of 2.4G in the target router according to the modified target SSID, so that complex frequency band configuration operation is not needed any more for accessing the target SSID through the frequency band, and the access efficiency of the internet of things device access router can be automatically and intelligently matched to the target SSID.
In some embodiments, modifying the suffix of the target basic service set identification BSSID comprises: from back to front, at least one bit in the BSSID of the target basic service set identification is deleted. For example, assuming that the original target BSSID configured by the mobile APP is "e0:19:1d:cc:7e:c4", if the internet of things device cannot search for the original target BSSID through exact matching, deleting the last bit of the original target BSSID, changing the target BSSID to "e0:19:1d:cc:7e:c", matching router hotspot information with prefix "e0:19:1 d:cc:7e", if still not searching for, deleting the last-last bit of the original target BSSID, changing the target BSSID to "e0:19:1d:cc:7e:", matching router information with prefix "e0:19:1d:cc:7e:" if still cannot search for the original target BSSID, deleting the last-third bit of the original target BSSID, changing the target BSSID to "e 0:19:1d:cc:7c", and so on. In general, the BSSIDs of two or more frequency bands of the same target router are encoded sequentially, and at least one bit of the target BSSIDs is deleted from back to front until the reserved BSSID prefix is a prefix shared by the two frequency bands, so that the BSSIDs corresponding to the frequency band supported by the internet of things device in the target router can be matched, and therefore, the target router can be accessed through the frequency band without complex frequency band configuration operation, and the target router can be automatically and intelligently matched and accessed.
One implementation of the method for an access router provided in this embodiment is listed below. As shown in fig. 3, the method includes:
step S00: receiving distribution network information (SSID, BSSID, password of a target router);
step S01: searching surrounding router hotspot information (SSID, BSSID) of the surrounding router;
step S02: traversing router hot spot information, and precisely matching the SSID of the target router;
step S03: judging whether the SSID of the target router is matched; if yes, the received SSID and password of the target router are used for connecting the target router, and the network allocation is successful, namely, step S04; if not, the SSID of the target router is the SSID corresponding to the frequency band which is not supported by the Internet of things equipment, and step S05 is carried out;
step S05: traversing router hotspot information, and fuzzy matching the BSSID of the target router;
step S06: judging whether the BSSID of the target router is matched; if yes, the received SSID and password of the target router are used for connecting the target router, and the network allocation is successful, namely, step S07; if not, entering step S08;
step S08: traversing router hot spot information, and fuzzy matching the SSID of the target router;
step S09: judging whether the SSID of the target router is matched; if yes, the target router is connected by the received SSID and the password, and the network allocation is successful, namely, step S10; if not, the network allocation fails, i.e. step S11.
The embodiment of the disclosure also provides a device for the access router, which comprises:
the network distribution information acquisition module is configured to acquire network distribution information for accessing the internet of things equipment to the target router;
the hot spot information obtaining module is configured to obtain hot spot information of the router;
the matching module is configured to perform fuzzy matching on the distribution network information and the hot spot information;
and the access module is configured to access the internet of things equipment to the target router under the condition that the matching is successful.
Because the hotspot information of each frequency band of the same target router generally has the same part, the received network allocation information of the target router and the hotspot information of surrounding routers are subjected to fuzzy matching according to the same part, and the network allocation information can be matched with the hotspot information corresponding to the frequency band supported by the Internet of things equipment in the target router with high probability, so that the Internet of things equipment can be accessed to the target router through the frequency band without complex frequency band configuration operation, the network of things equipment can be automatically and intelligently matched and accessed to the target router, and the access efficiency of the Internet of things equipment access router is improved.
In some embodiments, the distribution network information includes a target service set identification SSID of the target router, and the hotspot information includes a service set identification SSID of the router. Because the SSIDs of two or more frequency bands of the same target router generally have the same part, fuzzy matching can be carried out according to the same part, and the SSIDs corresponding to the frequency bands supported by the Internet of things equipment in the target router can be matched with each other with high probability, so that the Internet of things equipment can be accessed to the target router through the frequency bands with high probability, complex frequency band configuration operation is not needed any more, the intelligent matching can be automatically carried out and the access to the target router can be carried out, and the access efficiency of the Internet of things equipment to the router is improved.
In some embodiments, the distribution network information includes a target basic service set identification BSSID of the target router, and the hotspot information includes a basic service set identification BSSID of the router. Because the BSSIDs of two or more frequency bands of the same target router generally have the same part, the BSSIDs can be matched with the BSSIDs corresponding to the frequency bands supported by the Internet of things equipment in the target router with high probability according to the fuzzy matching of the same part, so that the Internet of things equipment can be accessed to the target router with high probability through the frequency bands, complex frequency band configuration operation is not needed any more, the target router can be automatically and intelligently matched and accessed, and the access efficiency of the Internet of things equipment to the router is improved.
In some embodiments, the distribution network information includes a target service set identification SSID and a target basic service set identification BSSID of the target router, and the hotspot information includes a service set identification SSID and a basic service set identification BSSID of the router. The network allocation success rate of the Internet of things equipment can be increased through two modes of SSID fuzzy matching and BSSID fuzzy matching.
In some embodiments, when performing fuzzy matching on the distribution network information and the hotspot information, the matching module is configured to:
under the condition that the distribution network information comprises a target service set identifier SSID of a target router and the hot spot information comprises a service set identifier SSID of the router, performing prefix matching on the target service set identifier SSID and the service set identifier SSID; or alternatively, the first and second heat exchangers may be,
and under the condition that the distribution network information comprises a target Basic Service Set Identifier (BSSID) of the target router and the hot spot information comprises a Basic Service Set Identifier (BSSID) of the router, performing prefix matching on the target Basic Service Set Identifier (BSSID) and the Basic Service Set Identifier (BSSID).
Because the SSID/BSSID of two or more frequency bands of the same target router are mostly identical in prefix and different in suffix, the SSID/BSSID can be matched with the SSID/BSSID corresponding to the frequency band supported by the Internet of things equipment in the target router with high probability, so that the Internet of things equipment can be accessed to the target router through the frequency band with high probability, complex frequency band configuration operation is not needed any more, the Internet of things equipment can be automatically and intelligently matched and accessed to the target router, and the access efficiency of the Internet of things equipment to the router is improved.
In some embodiments, when performing fuzzy matching on the distribution network information and the hotspot information, the matching module is configured to:
in the case that the distribution network information includes a target service set identifier SSID and a target basic service set identifier BSSID of the target router, and the hotspot information includes a service set identifier SSID and a basic service set identifier BSSID of the router, the following distribution network sequence may be performed:
mode 1: firstly, performing prefix matching on a target service set identifier SSID and a service set identifier SSID, and performing prefix matching on a target basic service set identifier BSSID and a basic service set identifier BSSID under the condition that the matching is unsuccessful;
mode 2: and performing prefix matching on the target service set identifier BSSID and the service set identifier BSSID, and performing prefix matching on the target service set identifier SSID and the service set identifier SSID under the condition that the matching is unsuccessful.
In the above modes 1 and 2, the network allocation success rate of the internet of things device can be increased by two modes of SSID fuzzy matching and BSSID fuzzy matching.
In some embodiments, when prefix matching the target service set identification SSID/target basic service set identification BSSID with the service set identification SSID/basic service set identification BSSID, the matching module is configured to:
under the condition that the prefix is kept unchanged, the suffix of the target service set identification SSID/target basic service set identification BSSID is modified, and the modified target service set identification SSID/target basic service set identification BSSID is matched with the service set identification SSID/basic service set identification BSSID. In this way, the internet of things equipment can actively modify the suffix of the SSID/BSSID in the distribution network information so as to realize fuzzy matching of the distribution network information and the hot spot information, complex frequency band configuration operation is not needed any more, and the internet of things equipment can automatically and intelligently match and access to the target router.
In some embodiments, when modifying the suffix of the target service set identification SSID, the matching module is configured to: and modifying the suffix of the target service set identification SSID into a frequency band supported by the Internet of things equipment. Therefore, the Internet of things equipment can be quickly matched with the SSID corresponding to the 2.4G frequency band in the target router according to the modified target SSID, so that the target router is accessed through the frequency band, complex frequency band configuration operation is not needed any more, and the Internet of things equipment can be automatically and intelligently matched and accessed to the target router.
In some embodiments, when modifying the suffix of the target basic service set identification BSSID, the matching module is configured to: from back to front, at least one bit in the BSSID of the target basic service set identification is deleted. In general, the BSSIDs of two or more frequency bands of the same target router are encoded sequentially, and at least one bit of the target BSSIDs is deleted from back to front until the reserved BSSID prefix is a prefix shared by the two or more frequency bands, so that the BSSIDs corresponding to the frequency bands supported by the internet of things device in the target router can be matched, and the target router can be accessed through the frequency bands without complex frequency band configuration operation, and can be automatically and intelligently matched and accessed.
The embodiment of the disclosure also provides an internet of things device, which comprises the device for the access router.
Because the hotspot information of each frequency band of the same target router generally has the same part, the received network allocation information of the target router and the hotspot information of surrounding routers are subjected to fuzzy matching according to the same part, and the network allocation information can be matched with the hotspot information corresponding to the frequency band supported by the Internet of things equipment in the target router with high probability, so that the Internet of things equipment can be accessed to the target router through the frequency band without complex frequency band configuration operation, the network of things equipment can be automatically and intelligently matched and accessed to the target router, and the access efficiency of the Internet of things equipment access router is improved.
In an embodiment of the present disclosure, a computer program product is provided, the computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the above-described method for an access router.
The computer readable storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
An embodiment of the present disclosure provides an electronic device, whose structure is shown in fig. 4, including:
at least one processor (processor) 50, one processor 50 being illustrated in FIG. 4; and a memory (memory) 51, which may also include a communication interface (Communication Interface) 52 and a bus 53. The processor 50, the communication interface 52, and the memory 51 may communicate with each other via a bus 53. Communication interface 52 may be used for information transfer. The processor 50 may invoke logic instructions in the memory 51 to perform the method for an access router of the above-described embodiments.
Further, the logic instructions in the memory 51 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product.
The memory 51 is a computer readable storage medium that can be used to store a software program, a computer executable program, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 50 performs functional applications and data processing by running software programs, instructions and modules stored in the memory 51, i.e. implements the method for an access router in the method embodiments described above.
The memory 51 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the terminal device, etc. In addition, the memory 51 may include a high-speed random access memory, and may also include a nonvolatile memory.
Embodiments of the present disclosure may be embodied in a software product stored on a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method according to embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium including: a plurality of media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or a transitory storage medium.
The above description and the drawings illustrate embodiments of the disclosure sufficiently to enable those skilled in the art to practice them. Other embodiments may involve structural, logical, electrical, process, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. The scope of the embodiments of the present disclosure encompasses the full ambit of the claims, as well as all available equivalents of the claims. Moreover, the terminology used in the present application is for the purpose of describing embodiments only and is not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" (the) are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, when used in this application, the terms "comprises," "comprising," and/or "includes," and variations thereof, mean that the stated features, integers, steps, operations, elements, and/or components are present, but that the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof is not precluded. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements. In this context, each embodiment may be described with emphasis on the differences from the other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, the description of the method sections may be referred to for relevance.
Those of skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. The skilled artisan may use different methods for each particular application to achieve the described functionality, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments disclosed herein, the disclosed methods, articles of manufacture (including but not limited to devices, apparatuses, etc.) may be practiced in other ways. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units may be merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to implement the present embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than that disclosed in the description, and sometimes no specific order exists between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, they may sometimes be performed in reverse order, which may be dependent on the functions involved. Each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (9)

1. A method for an access router, comprising:
acquiring distribution network information for accessing the Internet of things equipment into a target router;
obtaining hot spot information of a router;
fuzzy matching is carried out on the distribution network information and the hot spot information, the hot spot information corresponding to a frequency band supported by the Internet of things equipment in a target router is matched, and the Internet of things equipment is accessed to the target router under the condition that matching is successful;
the distribution network information comprises a target service set identifier SSID of the target router, and the hot spot information comprises the service set identifier SSID of the router; or alternatively, the first and second heat exchangers may be,
the distribution network information comprises a target Basic Service Set Identifier (BSSID) of the target router, and the hot spot information comprises a Basic Service Set Identifier (BSSID) of the router; or alternatively, the first and second heat exchangers may be,
the distribution network information comprises a target service set identifier SSID and a target basic service set identifier BSSID of the target router, and the hot spot information comprises a service set identifier SSID and a basic service set identifier BSSID of the router;
fuzzy matching is carried out on the distribution network information and the hot spot information, and the fuzzy matching comprises the following steps:
when the distribution network information comprises a target Service Set Identification (SSID) of the target router and the hot spot information comprises a Service Set Identification (SSID) of the router, performing prefix matching on the target SSID and the Service Set Identification (SSID); or alternatively, the first and second heat exchangers may be,
under the condition that the distribution network information comprises a target Basic Service Set Identifier (BSSID) of the target router and the hot spot information comprises the Basic Service Set Identifier (BSSID) of the router, performing prefix matching on the target Basic Service Set Identifier (BSSID) and the Basic Service Set Identifier (BSSID);
prefix matching is carried out on the target service set identification SSID and the service set identification SSID, and the prefix matching comprises the following steps:
under the condition that the prefix is kept unchanged, modifying the suffix of the target service set identification SSID, and matching the modified target service set identification SSID with the service set identification SSID;
prefix matching is carried out on the target basic service set identification BSSID and the basic service set identification BSSID, and the method comprises the following steps:
and under the condition of keeping the prefix unchanged, modifying the suffix of the target Basic Service Set Identifier (BSSID), and matching the modified target Basic Service Set Identifier (BSSID) with the BSSID.
2. The method of claim 1, wherein performing fuzzy matching on the distribution network information and the hotspot information further comprises:
when the distribution network information comprises a target Service Set Identification (SSID) of the target router and the hot spot information comprises a Service Set Identification (SSID) of the router, performing prefix matching on the target SSID and the Service Set Identification (SSID); and, a step of, in the first embodiment,
and under the condition that the distribution network information comprises a target Basic Service Set Identifier (BSSID) of the target router and the hot spot information comprises the Basic Service Set Identifier (BSSID) of the router, performing prefix matching on the target Basic Service Set Identifier (BSSID) and the Basic Service Set Identifier (BSSID).
3. The method of claim 2, wherein prefix matching the target service set identification SSID and target basic service set identification BSSID with the service set identification SSID and basic service set identification BSSID, further comprises:
and under the condition that the prefix is kept unchanged, modifying the suffixes of the target service set identification SSID and the target basic service set identification BSSID, and matching the modified target service set identification SSID and the target basic service set identification BSSID with the service set identification SSID and the basic service set identification BSSID.
4. The method of claim 3, wherein modifying the suffix of the target service set identification SSID comprises:
modifying the suffix of the target service set identifier SSID into a frequency band supported by the Internet of things equipment; or (b)
Modifying the suffix of the target basic service set identification BSSID, comprising: and deleting at least one bit in the BSSID of the target basic service set identification from back to front.
5. An apparatus for an access router, comprising:
the network distribution information acquisition module is configured to acquire network distribution information for accessing the internet of things equipment to the target router;
the hot spot information obtaining module is configured to obtain hot spot information of the router;
the matching module is configured to perform fuzzy matching on the distribution network information and the hot spot information and match the fuzzy matching to the hot spot information corresponding to the frequency band supported by the Internet of things equipment in the target router;
the access module is configured to access the Internet of things equipment to the target router under the condition that the matching is successful;
the distribution network information comprises a target service set identifier SSID of the target router, and the hot spot information comprises the service set identifier SSID of the router; or alternatively, the first and second heat exchangers may be,
the distribution network information comprises a target Basic Service Set Identifier (BSSID) of the target router, and the hot spot information comprises a Basic Service Set Identifier (BSSID) of the router; or alternatively, the first and second heat exchangers may be,
the distribution network information comprises a target service set identifier SSID and a target basic service set identifier BSSID of the target router, and the hot spot information comprises a service set identifier SSID and a basic service set identifier BSSID of the router;
when the distribution network information and the hot spot information are subjected to fuzzy matching, the matching module is configured to:
when the distribution network information comprises a target Service Set Identification (SSID) of the target router and the hot spot information comprises a Service Set Identification (SSID) of the router, performing prefix matching on the target SSID and the Service Set Identification (SSID); or alternatively, the first and second heat exchangers may be,
under the condition that the distribution network information comprises a target Basic Service Set Identifier (BSSID) of the target router and the hot spot information comprises the Basic Service Set Identifier (BSSID) of the router, performing prefix matching on the target Basic Service Set Identifier (BSSID) and the Basic Service Set Identifier (BSSID);
when prefix matching the target service set identification SSID with the service set identification SSID, the matching module is configured to:
under the condition that the prefix is kept unchanged, modifying the suffix of the target service set identification SSID, and matching the modified target service set identification SSID with the service set identification SSID;
when prefix matching the target basic service set identifier BSSID with the basic service set identifier BSSID, the matching module is configured to:
and under the condition of keeping the prefix unchanged, modifying the suffix of the target Basic Service Set Identifier (BSSID), and matching the modified target Basic Service Set Identifier (BSSID) with the BSSID.
6. The apparatus of claim 5, wherein when performing fuzzy matching on the distribution network information and the hotspot information, the matching module is configured to:
when the distribution network information comprises a target Service Set Identification (SSID) of the target router and the hot spot information comprises a Service Set Identification (SSID) of the router, performing prefix matching on the target SSID and the Service Set Identification (SSID); and, a step of, in the first embodiment,
and under the condition that the distribution network information comprises a target Basic Service Set Identifier (BSSID) of the target router and the hot spot information comprises the Basic Service Set Identifier (BSSID) of the router, performing prefix matching on the target Basic Service Set Identifier (BSSID) and the Basic Service Set Identifier (BSSID).
7. The apparatus of claim 6, wherein when prefix matching the target service set identification SSID and target basic service set identification BSSID with the service set identification SSID and basic service set identification BSSID, the matching module is configured to:
and under the condition that the prefix is kept unchanged, modifying the suffixes of the target service set identification SSID and the target basic service set identification BSSID, and matching the modified target service set identification SSID and the target basic service set identification BSSID with the service set identification SSID and the basic service set identification BSSID.
8. The apparatus of claim 7, wherein the device comprises a plurality of sensors,
when modifying the suffix of the target service set identification SSID, the matching module is configured to: modifying the suffix of the target service set identifier SSID into a frequency band supported by the Internet of things equipment; or (b)
When modifying the suffix of the target basic service set identification BSSID, the matching module is configured to: and deleting at least one bit in the BSSID of the target basic service set identification from back to front.
9. An internet of things device, comprising an apparatus as claimed in any one of claims 5 to 8.
CN201910982195.7A 2019-10-16 2019-10-16 Method and device for accessing router and Internet of things equipment Active CN110769442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910982195.7A CN110769442B (en) 2019-10-16 2019-10-16 Method and device for accessing router and Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910982195.7A CN110769442B (en) 2019-10-16 2019-10-16 Method and device for accessing router and Internet of things equipment

Publications (2)

Publication Number Publication Date
CN110769442A CN110769442A (en) 2020-02-07
CN110769442B true CN110769442B (en) 2023-07-21

Family

ID=69331373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910982195.7A Active CN110769442B (en) 2019-10-16 2019-10-16 Method and device for accessing router and Internet of things equipment

Country Status (1)

Country Link
CN (1) CN110769442B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314912A (en) * 2020-02-11 2020-06-19 浙江大华技术股份有限公司 WiFi configuration method and device, storage medium and electronic device
CN111866999B (en) * 2020-07-24 2021-09-24 深圳创维数字技术有限公司 Intelligent device network distribution method, system and storage medium
CN114125780A (en) * 2020-08-11 2022-03-01 美的智慧家居科技有限公司 Method for accessing Internet of things equipment to network and related device thereof
CN115086926A (en) * 2021-03-16 2022-09-20 浙江绍兴苏泊尔生活电器有限公司 Household appliance product
CN113759294A (en) * 2021-09-06 2021-12-07 成都长虹网络科技有限责任公司 Wi-Fi socket testing method and system
CN113950052A (en) * 2021-09-15 2022-01-18 深圳和而泰智能家电控制器有限公司 Network distribution method and device of intelligent equipment, mobile terminal and intelligent equipment
CN115225818A (en) * 2022-07-13 2022-10-21 北京有竹居网络技术有限公司 Method, device, equipment and storage medium for configuring equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013074606A (en) * 2011-09-29 2013-04-22 Kddi Corp Radio router, program and access method for controlling access by child radio terminal subordinate to parent radio terminal
CN105554168A (en) * 2016-03-01 2016-05-04 中国联合网络通信集团有限公司 Method, device and system for obtaining mobile phone numbers matched with MAC addresses
EP3125615A1 (en) * 2015-07-28 2017-02-01 Xiaomi Inc. Method, apparatus and system for smart device to access router
CN106376057A (en) * 2016-11-28 2017-02-01 北京小米移动软件有限公司 Wireless network access method and device
CN109451502A (en) * 2018-12-27 2019-03-08 广东美的厨房电器制造有限公司 Household appliance matches network method, network distribution device and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7948953B2 (en) * 2005-12-19 2011-05-24 Aruba Networks, Inc. System and method for advertising the same service set identifier for different basic service sets
US7746868B2 (en) * 2008-01-25 2010-06-29 Cisco Technology, Inc. Transporting multi-basic service set (BSS) frames over wired medium preserving BSS-ID
CN104735670A (en) * 2015-03-30 2015-06-24 小米科技有限责任公司 Network access method and device
CN105873179A (en) * 2016-05-19 2016-08-17 北京小米移动软件有限公司 Wireless network accessing method and device
CN106413037A (en) * 2016-10-31 2017-02-15 青岛海尔科技有限公司 Network access method and device for interment-of-things equipment, equipment and mobile terminal
CN107920354A (en) * 2017-11-21 2018-04-17 珠海奔图电子有限公司 The connection method of multiband equipment and system
CN109996260B (en) * 2018-01-02 2021-01-15 中国移动通信有限公司研究院 Configuration system, client device, embedded device configuration method and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013074606A (en) * 2011-09-29 2013-04-22 Kddi Corp Radio router, program and access method for controlling access by child radio terminal subordinate to parent radio terminal
EP3125615A1 (en) * 2015-07-28 2017-02-01 Xiaomi Inc. Method, apparatus and system for smart device to access router
CN105554168A (en) * 2016-03-01 2016-05-04 中国联合网络通信集团有限公司 Method, device and system for obtaining mobile phone numbers matched with MAC addresses
CN106376057A (en) * 2016-11-28 2017-02-01 北京小米移动软件有限公司 Wireless network access method and device
CN109451502A (en) * 2018-12-27 2019-03-08 广东美的厨房电器制造有限公司 Household appliance matches network method, network distribution device and computer readable storage medium

Also Published As

Publication number Publication date
CN110769442A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
CN110769442B (en) Method and device for accessing router and Internet of things equipment
US9420063B2 (en) System and method for prioritizing requests to a SIM
CN105162748B (en) The processing of electronic user identification module application identifier
CN103024871B (en) The dual mode communication method of public network and private network, terminal and system
JP5988117B2 (en) Method and apparatus for implementing high-speed network connections
EP1708528A1 (en) Location based authentication
CN104980993A (en) Network access method, mobile communication terminal, network server and network access system
CN111510909B (en) Communication module configuration processing method and device, computer equipment and storage medium
CN107105427B (en) Communication method and device based on channel SIM card
CN105393603A (en) Method for selecting public land mobile network (PLMN), and apparatus and device thereof
CN110475242B (en) LTE network registration method, device, storage medium and computer equipment
CN111034274B (en) Method for searching network by terminal, terminal and storage medium
CN103812653A (en) Method and system for automatically acquiring account information accessed into wireless network
CN108848455A (en) Acquisition methods, device, equipment and the computer readable storage medium of available network
CN111066348B (en) Network access method and terminal equipment
CN110909030B (en) Information processing method and server cluster
CN111800344A (en) Data forwarding method and device, router and readable storage medium
CN107306388B (en) Configuration method and device of Access Point Name (APN)
CN105307238A (en) Mobile terminal and network selection method and device thereof
CN113132929A (en) Equipment network access method, device, computer equipment and storage medium
CN111510910B (en) Communication module frequency band setting method and device, computer equipment and storage medium
CN109548411B (en) Method and device for controlling controllable equipment to access network
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
CN106341861B (en) Method, server and system for identifying wireless access point
US20180084102A1 (en) User equipment to personalize use of service and operating method thereof

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
GR01 Patent grant