System and method for accessing Internet of Things equipment to wireless network

By using a variety of communication modules in IoT devices to receive wireless access point information and generate access policies, it solves the problem of cumbersome configuration of wireless network access for IoT devices, achieving efficient automatic switching of devices and improving network management efficiency. .

CN118764832APending Publication Date: 2024-10-11KUAISHANGYUN (SHANGHAI) NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411154524.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

When IoT devices use WiFi technology to access wireless networks, the configuration is cumbersome and the operation and maintenance workload is heavy, resulting in high maintenance costs.

Method used

Provide a system and method for Internet of Things devices to access wireless networks. Beacon frames are sent through at least two wireless access points. The Internet of Things devices receive and output wireless access point information. The controller generates access policies based on this information. Allows the device to automatically access the wireless access point and supports the use of mobile communications, near field communications and wired communications modules.

Benefits of technology

It improves the ability of IoT devices to perceive wireless access points, realizes efficient automatic switching, reduces the tedious configuration of devices switching wireless access points, and improves network management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764832A_ABST
    Figure CN118764832A_ABST
Patent Text Reader

Abstract

The invention provides a system and method for accessing an Internet of Things device to a wireless network, and the system comprises at least two wireless access points which are used for transmitting beacon frames; the Internet of Things equipment is used for acquiring wireless access point information according to the received beacon frame and outputting the wireless access point information; and the controller is used for generating and outputting an access strategy according to the wireless access point information, so that the Internet of Things equipment is accessed to one of the at least two wireless access points according to the access strategy. Through detecting the first parameter configuration list of the wireless access point and sending the first parameter configuration list to the controller, the controller determines the access strategy and / or parameters of the Internet of Things equipment accessing the wireless access point, the perception capability of the Internet of Things equipment to the wireless access point is improved, efficient and automatic switching of the Internet of Things equipment is realized, and the user experience is improved. The tedious configuration of switching the wireless access point by the Internet of Things equipment is reduced, and the network management efficiency of the Internet of Things is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technology, and in particular to a system and method for accessing an Internet of Things device to a wireless network. Background Art

[0002] The Internet of Things is a network based on information carriers such as the Internet and traditional telecommunications networks, which allows all ordinary physical objects that can be independently addressed to be interconnected. The Internet of Things is built based on the current Internet and communication technology, and does not rely on specific hardware modules. Users can easily access the Internet of Things based on their own device technology architecture. The framework of the Internet of Things generally includes an Internet of Things server, an Internet of Things gateway device, and an Internet of Things device. Among them, the Internet of Things server generally includes device management, user management, data transmission management, data management, and security management, which plays the role of managing and controlling Internet of Things devices, and is also called an Internet of Things controller. Of course, the Internet of Things server can also include other functional modules based on the extension of the above modules. In the above structure, the communication between the Internet of Things server and the device is essentially built on the communication protocol. Based on this, the Internet of Things can use WIFI or 4G or 5G or 6G communication technology, or even communication technology that may be realized in the future, to realize the communication between the device and the Internet of Things server. The communication between devices can be WIFI, Bluetooth, and other communication technologies. Therefore, in the Internet of Things architecture, the gateway device can be a router, a Bluetooth device, a base station, a wireless access point, etc., such as Figure 1 As shown, the technical solution provided in the embodiment of the present application can be used for Figure 1 The IoT application scenario shown is suitable for all IoT devices running in a local environment. The devices are connected to the wireless access point via WIFI, and then the wireless access point is connected to the IoT server. It is like the architecture of installing a WIFI router at home to access the Internet, and the mobile phones, computers, and cameras at home can access WLAN through the wireless router.

[0003] Internet of Things (IoT) devices, such as printers, set-top boxes, cameras, etc., are increasingly used in enterprises and homes. Unified access control of IoT devices is the key to managing IoT devices. As IoT devices move toward digitalization and intelligence, it is necessary to manage various IoT devices in a simple way, especially when connected to wireless networks, such as home networks using wireless Internet access (WIFI) technology.

[0004] Currently, when using WiFi technology to access a wireless network, it is necessary to specify the service set identifier (SSID) on the terminal side during the connection phase. For example, when a mobile phone is connected to a home wireless router, it is necessary to select an SSID that is pre-set on the router on the WIFI connection interface. In the enterprise campus scenario, since there may be a large number of WiFi-based IoT terminals, if the SSIDs that IoT devices need to connect to are set one by one, it will bring a large workload to network operators and increase enterprise maintenance costs.

[0005] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention

[0006] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a system and method for IoT devices to access a wireless network, so as to solve the problems in the prior art of IoT devices accessing a wireless network, such as complicated configuration, large operation and maintenance workload, and high maintenance cost.

[0007] To achieve the above objectives and other related objectives, this application provides the following solutions: In a first aspect, the present application provides a system for accessing an IoT device to a wireless network, comprising: at least two wireless access points for sending beacon frames; An Internet of Things device, configured to obtain wireless access point information according to a received beacon frame, and output the wireless access point information; The controller is used to generate and output an access policy according to the wireless access point information, so that the Internet of Things device can access one of the at least two wireless access points according to the access policy.

[0008] Preferably, the IoT device includes at least one of the following: A mobile communication module, used for outputting the wireless access point information via a mobile communication network; A short-range communication module, used for outputting the wireless access point information via a short-range wireless network; The wired communication module is used to output the wireless access point information via wired transmission.

[0009] Preferably, when the IoT device meets a preset condition, the short-range communication module is used to send a probe request frame, and after receiving a probe response frame corresponding to the probe request frame, send authentication information to access the corresponding wireless access point.

[0010] Preferably, the preset conditions include: Initialization of the IoT device; The IoT device restarts; The Internet of Things device receives a control instruction to access a wireless access point.

[0011] Preferably, the access strategy includes: an access order of accessing the wireless access point; and / or,

[0012] The access duration of accessing the wireless access point; and / or,

[0013] An access time period for accessing the wireless access point.

[0014] Preferably, when the Internet of Things device re-accesses the wireless access point, the Internet of Things device is used to re-access the corresponding wireless access point according to the record of the last access to the wireless access point, and / or the Internet of Things device accesses the corresponding wireless access point according to the access policy.

[0015] In a second aspect, the present application provides a method for an Internet of Things device to access a wireless network, the method for an Internet of Things device to access a wireless network comprising: S11. At least two wireless access points send corresponding beacon frames; S12, the IoT device acquires and outputs wireless access point information according to the received beacon frame; S13, the controller generates an access strategy according to the wireless access point information, and outputs the access strategy to the Internet of Things device; S14. The Internet of Things device executes the access strategy to switch access between the at least two wireless access points.

[0016] Preferably, before S12, the step of the IoT device outputting the wireless access point information, the method further comprises: The Internet of Things device establishes a communication connection with the controller via a mobile communication network and / or a short-range wireless network and / or a wired transmission method.

[0017] Preferably, the step of establishing a communication connection between the IoT device and the controller via a short-range wireless network includes: The IoT device outputs a detection request frame; When the IoT device receives a probe response frame corresponding to the probe request frame, the IoT device sends authentication information to the corresponding wireless access point; When the IoT device receives the authentication success information fed back by the wireless access point, it accesses the wireless access point; The Internet of Things device establishes a communication connection with the controller through the short-range wireless network of the wireless access point.

[0018] Preferably, the access strategy includes: an access order of accessing the wireless access point; and / or,

[0019] The access duration of accessing the wireless access point; and / or,

[0020] An access time period for accessing the wireless access point.

[0021] Preferably, when the Internet of Things device re-accesses the wireless access point, the Internet of Things device is used to re-access the corresponding wireless access point according to the record of the last access to the wireless access point, and / or the Internet of Things device accesses the corresponding wireless access point according to the access policy.

[0022] In a third aspect, the present application provides a method for an IoT device to access a wireless network, which is applicable to an IoT device. The method for an IoT device to access a wireless network includes: S21, the IoT device detects and receives a beacon frame, where the beacon frame originates from at least two wireless access points; S22, the IoT device acquires and outputs wireless access point information according to the beacon frame, so that the controller generates an access policy according to the wireless access point information; S23. The Internet of Things device receives and executes the access policy so that the Internet of Things device switches access between the at least two wireless access points.

[0023] Preferably, the manner in which the IoT device outputs the wireless access point information includes: The Internet of Things device outputs the wireless access point information via a mobile communication network and / or a short-range wireless network and / or a wired transmission method.

[0024] Preferably, before the step of outputting the wireless access point information via a short-range wireless network, the Internet of Things device further comprises: The IoT device outputs a detection request frame; When the IoT device receives a probe response frame corresponding to the probe request frame, the IoT device outputs authentication information; When the IoT device receives the authentication pass information, it accesses the corresponding wireless access point.

[0025] Preferably, the access strategy includes: an access order for accessing the wireless access points; and / or,

[0026] The access duration of accessing the wireless access point; and / or,

[0027] An access time period for accessing the wireless access point.

[0028] Preferably, when the Internet of Things device re-accesses the wireless access point, the Internet of Things device is used to re-access the corresponding wireless access point according to the record of the last access to the wireless access point, and / or the Internet of Things device accesses the corresponding wireless access point according to the access policy.

[0029] In a fourth aspect, the present application provides a method for an Internet of Things device to access a wireless network, which is applicable to a controller. The method for an Internet of Things device to access a wireless network includes: S31, the controller receives wireless access point information, where the wireless access point information comes from an Internet of Things device and / or user input; S32. The controller generates an access policy according to the wireless access point information, and outputs the access policy, so that the Internet of Things device accesses the wireless access point according to the access policy.

[0030] Preferably, the access strategy includes: Access the wireless access points in the order of access; and / or,

[0031] Accessing the wireless access point according to the access duration; and / or,

[0032] Access the wireless access point according to the access time period.

[0033] As described above, the system and method for accessing an IoT device to a wireless network of the present invention detects a first parameter configuration list of a wireless access point and sends it to a controller, and the controller determines an access strategy and / or parameters for the IoT device to access the wireless access point, thereby improving the IoT device's perception of the wireless access point, achieving efficient automatic switching of the IoT device, alleviating the cumbersome configuration of switching wireless access points for the IoT device, and improving the efficiency of IoT network management. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 Shown is a structural schematic diagram of an Internet of Things application scenario according to an embodiment of the present invention; Figure 2 Shown is a structural schematic diagram of a system for accessing a wireless network to an Internet of Things device according to the present invention; Figure 3 Shown is a schematic diagram of the process of the Internet of Things device of the present invention accessing a wireless network; Figure 4Shown is a schematic diagram of a process for establishing a communication connection between the Internet of Things and the controller of the present invention; Figure 5 Shown is a schematic diagram of the process of the Internet of Things device of the present invention accessing a wireless network; Figure 6 Shown is a schematic diagram of the process of outputting wireless access point information of the Internet of Things of the present invention; Figure 7 Shown is a schematic diagram of the process of the Internet of Things device of the present invention accessing a wireless network; Figure 8 Shown is a timing diagram of the Internet of Things device of the present invention accessing a wireless network. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0037] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0038] See also Figure 2 The present application provides a system for an Internet of Things device to access a wireless network, including: two wireless access points, an Internet of Things device, and a controller. In an embodiment of the present application, the two wireless access points are used to send beacon frames, the Internet of Things device receives the beacon frame, obtains information about the wireless access point from the beacon frame, and sends the information about the wireless access point to the controller, the controller generates an access policy for the Internet of Things device to access the wireless access point based on the information of the wireless access point, and sends it to the Internet of Things device, and the Internet of Things device executes the access policy to access the corresponding wireless access point. In an embodiment of the present application, the number of wireless access points can also be three, four, or even more. The above is only an exemplary description and is not used to limit the scope of protection, so it will not be repeated here.

[0039] In an exemplary embodiment, in some scenarios, such as enterprise campuses, there are a large number of WiFi access points, and there are also a large number of IoT devices, such as printers, set-top boxes, cameras, etc. Among them, when the WiFi access point is turned on, it periodically sends the corresponding beacon frame, wherein the beacon frame contains the service set identifier SSID of the wireless access point, so the service set identifier SSID information of the wireless access point can be obtained by receiving the beacon frame; the IoT device obtains the corresponding service set identifier SSID from the received beacon frame, and sends the obtained service set identifier SSID to the controller, and the controller generates an access policy for accessing the wireless access point according to the received service set identifier SSID of the wireless access point, and feeds the access policy back to the IoT device, and the IoT device executes the access policy to access the corresponding WiFi access point. In this way, network operators do not need to set up the WiFi access points that the IoT devices need to connect to one by one, which improves the work efficiency of network operators and reduces the corresponding operation workload.

[0040] In an exemplary embodiment, in order to facilitate the IoT device to send the acquired wireless access point to the controller, a mobile communication module is set in the IoT device, and the acquired wireless access point information is output through the mobile communication network of the mobile communication module, such as 2G, 3G, 4G and 5G, and the corresponding access strategy fed back by the controller is received through the mobile communication network. For example, a 2G, 3G, 4G and 5G SIM card is set inside the IoT device of a smart camera, and the insertion enables the smart camera to establish a communication connection with the controller through the mobile network, so that the wireless access point information can be sent to the controller and the access strategy fed back by the controller can be received.

[0041] In an exemplary embodiment, in order to facilitate the IoT device to send the acquired wireless access point to the controller, a wired communication module is set in the IoT device, and the IoT device outputs the acquired wireless access point information through the wired transmission mode of the wired communication module, and receives the corresponding access strategy fed back by the controller through the wired communication module. For example, when configuring a wireless access point for a wireless printer, the wireless printer outputs the received wireless access point information to the controller through the wired transmission mode, and after the controller generates the access strategy of the wireless access point, it feeds back to the wireless printer through the wired transmission mode.

[0042] In an exemplary embodiment, in order to facilitate the IoT device to send the acquired wireless access point to the controller, a short-distance communication module is set in the IoT device. The IoT device can output the acquired wireless access point information to the controller through the short-distance communication module, such as WiFi, Bluetooth, and Star Flash, and then receive the access strategy fed back by the controller through the short-distance communication module. For example, when configuring a wireless access point for a wireless printer, the wireless printer outputs the received wireless access point information to the controller through a short-distance communication network transmission method such as WiFi. After generating the access strategy of the wireless access point, the controller feeds back to the wireless printer through WiFi transmission.

[0043] In an exemplary embodiment, the controller may also be an internal functional module integrated in the Internet of Things device. After obtaining the information of the wireless access point, the Internet of Things transmits it to the controller. After the controller generates the access policy, the Internet of Things device directly obtains the access policy and executes the corresponding program.

[0044] In an embodiment of the present application, when the IoT device meets preset conditions, such as when the IoT device receives an initialization instruction to start initialization, when the IoT device receives a restart instruction to start restarting, and when the IoT device receives a control instruction to access a wireless access point, the IoT device sends a probe request frame to the target wireless access point through a short-range communication module, and after receiving a probe response frame corresponding to the probe request frame, sends authentication information to access the corresponding wireless access point.

[0045] In an embodiment of the present application, after receiving the access strategy, the IoT device generates an access configuration to configure the IoT device, and the IoT device executes the access configuration to access the corresponding wireless access point according to the access sequence, or access the corresponding wireless access point according to the access duration, or access the corresponding wireless access point according to the access time period. The above access strategy is only an exemplary explanation. Based on the concept of the present application, other access strategies, such as accessing the wireless access point according to the strength of the signal, accessing the wireless access point according to the bandwidth of the wireless access point, etc., are all within the scope of protection of the present application and will not be repeated here.

[0046] In an exemplary embodiment, during use, the Internet of Things device may be disconnected from a connected wireless access point due to power outage, restart, etc. Therefore, when the Internet of Things device needs to re-access the wireless access point, in one embodiment, the Internet of Things device is used to re-access the corresponding wireless access point based on the record of the last access to the wireless access point; in another embodiment, the Internet of Things device accesses the corresponding wireless access point according to the access policy.

[0047] refer to Figure 3The present application provides a method for an Internet of Things device to access a wireless network, and the method for an Internet of Things device to access a wireless network includes: S11. At least two wireless access points send corresponding beacon frames; In an embodiment of the present application, each wireless access point periodically sends a corresponding beacon frame, wherein the beacon frame carries the SSID of the wireless access point and indication information for instructing the IoT device to access the WLAN identified by the SSID. In an embodiment of the present application, when each wireless access point sends a beacon frame, it may be sent at the same time, at the same periodic frequency, or at different periodic frequencies. In an embodiment of the present application, the above is only used as an exemplary description, and other sending methods based on the concept of the present application are within the protection scope of the present application and will not be repeated here.

[0048] In a scenario of an embodiment, in a similar enterprise campus, there are usually multiple wireless access points, such as WiFi device 1, WiFi device 2, WiFi device 3, etc. Each WiFi device periodically sends a beacon frame to the outside so that the IoT device can discover the corresponding WiFi device and thus access the WiFi.

[0049] S12, the IoT device acquires and outputs wireless access point information according to the received beacon frame; In an embodiment of the present application, after receiving a beacon frame sent by a wireless access point, the IoT device obtains the SSID and indication information carried in the beacon frame, and outputs the SSID and indication information of all received wireless access points.

[0050] S13, the controller generates an access strategy according to the wireless access point information, and outputs the access strategy to the Internet of Things device; In an embodiment of the present application, the controller generates an access policy corresponding to the wireless access point according to the SSID and indication information of the wireless access point, and feeds back the access policy to the Internet of Things device.

[0051] S14. The Internet of Things device executes the access strategy to switch access to the at least two wireless access points.

[0052] In an embodiment of the present application, the IoT device receives and executes the access strategy fed back by the controller, selects a corresponding wireless access point from all wireless access points,

[0053] In an exemplary embodiment, before S12, the step where the IoT device outputs the wireless access point information, the IoT device needs to establish a communication connection with the controller. This facilitates sending the obtained SSID and indication information to the controller. In this embodiment, the IoT device can establish a communication connection with the controller through mobile communication networks such as 2G, 3G, 4G and 5G, and the corresponding controller also has 2G, 3G, 4G and 5G mobile communication functions; the IoT device can also establish a connection with the controller through a wired transmission method, for example, the IoT device and the controller are connected to each other through a data line; the IoT device can also establish a connection with the controller through a short-range wireless network, such as WiFi, Bluetooth, Star Flash, etc. For example, the IoT device and the controller are connected to the same wireless network, so that the IoT device can establish a communication connection with the controller.

[0054] refer to Figure 4 The step of establishing a communication connection between the IoT device and the controller via a short-range wireless network includes: The IoT device outputs a detection request frame; When the IoT device receives a probe response frame corresponding to the probe request frame, the IoT device sends authentication information to the corresponding wireless access point; When the IoT device receives the authentication success information fed back by the wireless access point, it accesses the wireless access point; The Internet of Things device establishes a communication connection with the controller through the short-range wireless network of the wireless access point.

[0055] In an embodiment of the present application, after the IoT device is initialized according to the initialization instruction, or after it is restarted according to the restart instruction, the IoT device outputs a detection request frame according to the pre-set SSID and other information, and parses the corresponding detection response frame received, obtains the indication information of the wireless access point, and sends an access request to the wireless access point according to the indication message. After obtaining the information that the wireless access point has passed the verification, the IoT device establishes a communication connection with the wireless access point. In another embodiment of the present application, when the IoT device receives a control instruction to access the wireless access point, the IoT sends a corresponding access request according to the relevant information of the wireless access point contained in the control instruction. After the verification is passed, the IoT device establishes a communication connection with the wireless access point. Further, the IoT device establishes a communication connection with the controller through the short-range wireless network of the wireless access point. In an embodiment of the present application, the controller and the wireless access point establish a communication connection by wireless or wired means. After the IoT device accesses the wireless access point, it addresses the controller through the pre-set address information of the controller, thereby finding the controller and establishing a communication connection.

[0056] In an exemplary embodiment, the controller may implement the following access strategies according to the received indication information, for example, arranging the wireless access points, WiFi 1, WiFi 2, WiFi 3...WiFi n, and controlling the Internet of Things devices to access the corresponding wireless access points in sequence according to the order of the wireless access points; for example, after arranging the wireless access points, further setting the access duration of each wireless access point, and when controlling the Internet of Things devices to access the wireless access points in sequence, further judging the access duration of the Internet of Things devices, and when the preset duration is reached, controlling the switching access to the next wireless access point; for example, setting different access time periods for each wireless access point, for example, the time period of WiFi 1 is 9:00~11:00, the time period of WiFi 2 is 12:00~14:00, the time period of WiFi 3 is 15:00~16:00, etc., before controlling the Internet of Things devices to access the wireless access points, determining the corresponding wireless access points according to the current time point, and controlling the Internet of Things devices to access the corresponding wireless access points. The above access strategies are only exemplary explanations. Based on the concept of the present application, other access strategies, such as accessing a wireless access point according to the strength of a signal, accessing a wireless access point according to the bandwidth of a wireless access point, etc., are all within the scope of protection of the present application and will not be described in detail here.

[0057] In an exemplary embodiment, when the IoT device disconnects from the currently connected wireless access point and needs to re-access the wireless network, the IoT device re-accesses the corresponding wireless access point according to the record of the most recent access to the wireless access point. For example, when the IoT device disconnects from the access point of WiFi 1 and needs to re-access the wireless network, it can send authentication information to the access point of WiFi 1 according to the record of the most recent connection with the wireless access point, and after receiving the authentication pass information fed back by the WiFi 1 access point, access the WiFi 1 access point.

[0058] In an exemplary embodiment, when the IoT device disconnects from the currently connected wireless access point and needs to re-access the wireless network, the IoT device can also send a probe request frame to the wireless access point that currently needs to be accessed according to the configured access policy, and after receiving the probe response frame fed back by the wireless access point, send authentication information to the wireless access point, and after receiving the authentication success information, access the wireless access point.

[0059] refer to Figure 5 , the present application provides a method for an Internet of Things device to access a wireless network, comprising: S21, the IoT device detects and receives a beacon frame, where the beacon frame originates from at least two wireless access points; S22, the IoT device acquires and outputs wireless access point information according to the beacon frame, so that the controller generates an access policy according to the wireless access point information; S23. The Internet of Things device receives and executes the access policy so that the Internet of Things device switches access between the at least two wireless access points.

[0060] In an embodiment of the present application, before configuring the IoT device to access a wireless access point, the IoT device is first controlled to detect and receive a beacon frame transmitted from the wireless access point, the beacon frame is analyzed and processed, and the SSID and indication information obtained from the beacon frame are output.

[0061] In an exemplary scenario, when the IoT device outputs the SSID and indication information, the IoT device outputs the SSID and indication information through a mobile communication network such as 2G, 3G, 4G, and 5G.

[0062] In an exemplary scenario, the IoT device can also output through a short-range wireless network such as WiFi, Bluetooth, or StarFlash.

[0063] In another exemplary scenario, the IoT device can also output through wired transmission such as network cable, USB, etc. Further, the IoT device receives an access policy for the SSID and the indication information, generates an access configuration based on the access policy, and executes the access configuration so that the IoT device can access the corresponding wireless access point. For example, the wireless access points are sorted, WiFi 1, WiFi 2, WiFi 3... WiFi n, and the IoT devices are controlled to access the corresponding wireless access points in sequence according to the order of the wireless access points; for example, after the wireless access points are sorted, the access duration of each wireless access point is further set, and when the IoT devices are controlled to access the wireless access points in sequence, the access duration of the IoT devices is further judged, and when the preset duration is reached, the control switches to the next wireless access point; for example, different access time periods are set for each wireless access point, such as the time period of WiFi 1 is 9:00~11:00, the time period of WiFi 2 is 12:00~14:00, and the time period of WiFi 3 is 15:00~16:00, etc. Before controlling the IoT devices to access the wireless access points, the corresponding wireless access points are determined according to the current time point, and the IoT devices are controlled to access the corresponding wireless access points. The above is only an exemplary description, and other access strategies based on the conception of this application are within the protection scope of this application and will not be repeated here.

[0064] refer to Figure 6, before the step of outputting the wireless access point information via the short-range wireless network, the IoT device further includes: The IoT device outputs a detection request frame; When the IoT device receives a probe response frame corresponding to the probe request frame, the IoT device outputs authentication information; When the IoT device receives the authentication pass information, it accesses the corresponding wireless access point.

[0065] In an embodiment of the present application, after the IoT device is initialized according to an initialization instruction, or after it is restarted according to a restart instruction, the IoT device outputs a probe request frame according to information such as a pre-set SSID, and parses the corresponding probe response frame received, obtains the indication information of the wireless access point, and sends an access request to the wireless access point according to the indication message, and after obtaining the information that the wireless access point has been verified, the IoT device establishes a communication connection with the wireless access point. In another embodiment of the present application, when the IoT device receives a control instruction to access a wireless access point, the IoT sends a corresponding access request according to the relevant information of the wireless access point contained in the control instruction, and after the verification is passed, the IoT device establishes a communication connection with the wireless access point.

[0066] In an exemplary embodiment, when an IoT device is in use and is disconnected from a connected wireless access point due to power outage, restart, etc., and the IoT device needs to re-access the wireless access point, in one embodiment, the IoT device is used to re-access the corresponding wireless access point based on the record of the last access to the wireless access point; in another embodiment, the IoT device accesses the corresponding wireless access point according to the access policy.

[0067] refer to Figure 7 The present application provides a method for an Internet of Things device to access a wireless network, which is applicable to a controller. The method for an Internet of Things device to access a wireless network includes: S31, the controller receives wireless access point information, and the wireless receiving point information comes from an Internet of Things device; S32. The controller generates an access policy according to the wireless access point information, and outputs the access policy, so that the Internet of Things device accesses the wireless access point according to the access policy.

[0068] In an embodiment of the present application, the controller receives wireless access point information output from an IoT device, such as the SSID and indication information of each wireless access point. In another exemplary scenario, the wireless access point information received by the controller comes from relevant information input by the operation and maintenance personnel. Further, the controller generates access policies for all received wireless access points by analyzing the indication information, such as: accessing the wireless access point in accordance with the access order, accessing the wireless access point in accordance with the access duration, and accessing the wireless access point in accordance with the access time period. Further, the access policy is output to control the IoT device to access the corresponding wireless access point when executing the access policy. The above access policies are only exemplary explanations. Based on the conception of the present application, other access policies, such as accessing the wireless access point according to the strength of the signal, accessing the wireless access point according to the bandwidth of the wireless access point, etc., are all within the scope of protection of the present application and will not be repeated here.

[0069] In the scenario of an embodiment, refer to Figure 8 , an Internet of Things device accessing a wireless access point includes: an Internet of Things device, a first wireless access point, a second wireless access point, and a controller.

[0070] The first wireless access point periodically sends 201 beacon frames, and the IoT device receives 201 beacon frames. The second wireless access point periodically sends 202 beacon frames, and the IoT device receives 202 beacon frames. The IoT device is initialized to access the first wireless access point by sending a probe request frame. For example, through manual configuration, the IoT device sends 203 probe request frames to the first wireless access point, and the first wireless access point responds with 204 probe response frames. The IoT device accesses the first wireless access point after 205 authentication association.

[0071] Specifically, after the IoT device is powered on or the wireless access function is enabled, the beacon frame sent from the first wireless access point and the second wireless access point can be received. The beacon frame format can refer to IEEE 802.11, and the Type field (B3B2 bit) of the frame control (FrameControl) is set to 00b, and the Subtype field (B7B6B5B4 bit) is set to 0000b. The IoT device attempts to access the first wireless access point and initiates a probe request frame (Probe Request) to request the first wireless access point to send corresponding access information. That is, the device periodically sends a probe request frame (ProbeRequest) to scan the wireless network in its supported channel list. The probe response frame (Probe Response) responded by the first wireless access point notifies the wireless network information that can be provided, that is, the IoT device can actively learn about the available wireless services through active scanning, which carries SSID1 and indication information 1, and the indication information 1 is used to instruct the IoT device to access WLAN1 identified by the SSID1.

[0072] In a possible implementation, the transmission format of the corresponding probe response frame, the first wireless access point carries the indication information 1 through an extended field in the probe response frame. Specifically, the extended field can be an extended element field or an extended feature field. For example: when the definition format of the indication information 1 can be defined according to the IEEE802.11 standard and is an extended element field, an exemplary scheme of the added extended field can be shown in Table 1:

[0073] Table 1

[0074] That is, the extended field consists of a 1-byte Element ID, a 1-byte Length, a 0 or 1-byte extension, and a variable-byte Information. Among them, the Element ID field is used to indicate that the extended field carries the indication information 1 (which can be defined as a specific value); the Length field is used to indicate the length of the extended field; the extension field is used to indicate whether the extended field has other extended information; the Information is used to indicate other information carried in the extended field, such as access process information for indicating that the IoT device accesses the first wireless access point, such as access time points, including start and end times.

[0075] In another implementation, when the definition format of the indication information 1 described above can be defined according to the IEEE 802.11 standard and is an extended feature field, an exemplary scheme of the added extended field can be shown in Table 2:

[0076] Table 2

[0077] Among them, the Element ID in the extended field is used to indicate that the extended field is a feature field (such as a manufacturer-defined field); the Length field is used to indicate the length of the extended field; the Organization identifier information is used to indicate the user name to which the extended field belongs; the Feature ID is used to indicate that the extended Feature field carries the indication information 1 (which can be defined as a specific value); the Feature Length field is used to indicate the length of the extended Feature field; the Feature Information is used to indicate other information carried in the extended Feature field, such as carrying access process information for indicating that the Internet of Things device accesses the first wireless access point, such as access time points, including start and end times.

[0078] After receiving the probe response frame, the IoT device parses the probe response frame to obtain the indication information 1. Then, according to the indication information 1, the IoT device sends an access request 1 to the first wireless access point belonging to the WLAN1 identified by the SSID1. The first wireless access point responds to the access request 1 of the IoT device and verifies the authentication method and authentication information. If the verification is successful, the first wireless access point completes the access authentication with the IoT device.

[0079] It is understandable that the methods for the first wireless access point to achieve authentication with the IoT device include but are not limited to the following possible implementation methods: open system authentication, shared-key authentication, WPA PSK authentication (Pre-shared key) and IEEE 802.1X EAP authentication.

[0080] After the IoT device accesses the wireless access point through authentication, the IoT device sends the SSIDs of multiple wireless access points detected based on the received beacon frames to the controller, wherein the SSIDs of multiple wireless access points can be sent in the form of a list 206 to summarize the wireless access point list, or can be sent one by one, or can be sent in other forms, all of which are within the scope of protection of this application and are not described here. In the implementation of the present application, the signal strength, load conditions, supported frequency bands, and security protocols of the wireless access point can also be sent to the controller. After the controller determines the access policy for the IoT device to access the wireless access point, it is fed back to the IoT device for configuration.

[0081] In an embodiment of the present application, the controller can be connected to a wireless access point via a wired or wireless method, such as a PON passive optical network or microwave. The controller can also be directly connected to an IoT device via a wired or wireless method. The controller configures an access policy for IoT devices to access the wireless access point based on the received SSID, signal strength, load, supported frequency band, and security protocol, and can also configure the access policy of the wireless access point, such as the available access frequency band, authentication method, etc. In an embodiment of the present application, the access policy can also be set according to a pre-set access policy template and then fed back to the IoT device.

[0082] Specifically, the IoT device transmits the SSIDs of multiple detected wireless access points to the controller by sending data frames, such as the IEEE 802.11 MAC frame format shown in Table 3.

[0083] Table 3

[0084] The Frame Control field has 16 bits, and the transmitted frame type and data are determined by the combination of the Type field (B3B2 bit) and the Subtype field (B7B6B5B4 bit). For the multiple SSIDs to be transmitted in this application, data frames are used for transmission, that is, the Type field is set to 00b (B3B2 bit), and the Subtype field is set to 0000b (B7B6B5B4 bit). In the Frame Body field, multiple SSIDs to be transmitted are stored in TLV format. Specifically, they can be stored in a list form, as shown in Table 4. Element ID represents the ID of the SSID List, Length represents the length of the entire list, and the SSID List stores multiple SSIDs.

[0085]

[0086] Table 4

[0087] Each SSID can be as shown in Table 5, where Element ID represents the ID of the SSID, Length represents the length of a single SSID, and the SSID field stores the specific SSID value, with a length of 0 to 32 bytes.

[0088]

[0089] Table 5

[0090] The first wireless access point forwards the SSID List to the controller, for example, in a PON passive optical network or microwave manner.

[0091] In this embodiment, the controller determines 207 the access order and duration of the wireless access point, and switches 208 to the second wireless access point and configures it on the IoT device, and the IoT device executes the configuration. Specifically, an AccessControlList Element is defined to store multiple AccessControls, each of which contains an SSID and a Duration, where the Duration indicates the duration of the SSID, which can be a time period including a start and end time.

[0092] The IoT device generates an access configuration based on the access policy, and after configuring the IoT device, executes the access configuration. In this embodiment, the IoT device monitors the network connection quality and service transmission requirements in real time, and predicts the optimal network access point on the IoT device based on historical and real-time data according to the access policy and machine learning model to ensure the best network connection quality and performance, while using edge computing technology to process data to reduce data transmission requirements and response time to the controller. The IoT device monitors network interference and fault conditions in real time, responds quickly to network changes or faults, and automatically adjusts the network configuration according to the access policy to maintain service quality.

[0093] In order to further improve the efficiency and security of IoT devices accessing the wireless network, enhancements are made in the following aspects.

[0094] In an exemplary implementation, the network configuration and optimization of the IoT device is performed so that the IoT device can scan available wireless access points and corresponding signal quality by continuously monitoring the beacon frames sent by the wireless access points. By performing network configuration and optimization on the IoT device, on the one hand, the available wireless access points are identified by automatically scanning and identifying all available wireless access points and their signal strength, load conditions, supported frequency bands and security protocols; on the other hand, the optimal wireless access point is automatically selected or recommended based on real-time data to ensure the best network connection quality and performance; on the other hand, the network interference and fault conditions are monitored in real time, network changes or faults are quickly responded to, and the network configuration is automatically adjusted to maintain service quality.

[0095] In this embodiment, when the IoT device identifies available wireless access points, on the one hand, it uses active detection, that is, actively sends detection request frames to identify surrounding wireless access points and corresponding access point information; on the other hand, it uses passive monitoring to monitor beacon frames and other management frames in the environment in real time to obtain network status information in a non-interference manner. By combining the above two methods, the accuracy and speed of discovering wireless access points can be improved, while reducing interference to the existing network.

[0096] In this embodiment, further, a lightweight machine learning model is deployed on the IoT device, so that the IoT device can predict the optimal network access point based on historical and real-time data, and use edge computing technology to process historical data and real-time data, thereby reducing the transmission requirements and response time of data to the central server. Through its learning model, the IoT device can be made more intelligent, able to respond to changes in the network environment in real time, and improve the stability and performance of the network.

[0097] In this embodiment, further, the network topology is continuously updated on the IoT device side, that is, a network topology map is created and updated by identifying the quality of all network nodes and connections, and the configuration changes of each network node; further, by using a graph database to store and query network topology data, the efficiency of network management and troubleshooting is optimized, and network problems can be responded to and resolved more quickly, while providing more accurate network optimization suggestions.

[0098] In this embodiment, further, the IoT device monitors the use of the radio spectrum in real time to identify potential interference sources, and then dynamically adjusts the wireless channel and sets the power to cope with the monitored interference, thereby effectively improving the availability and connection quality of the IoT network.

[0099] In an exemplary implementation, the controller also connects to all wireless access points, obtains the network load, signal strength, and connected device density of each wireless access point, and dynamically allocates and manages the SSIDs that the IoT devices need to access. Centrally managing SSID configuration through the controller can reduce the possibility of conflict and overload.

[0100] In this embodiment, the controller further evaluates the network quality of the wireless access point, specifically, by regularly evaluating the network connection quality, including signal strength, network delay, and data packet loss rate, and adjusting the SSID allocation and device access strategy according to these evaluation results.

[0101] In an exemplary implementation, before the IoT device accesses the wireless access point, the IoT device further uses a strong encryption protocol to encrypt and decrypt the communication between the IoT device and the wireless access point. Specifically, the beacon frames and probe request frames in the communication process are encrypted to prevent information leakage.

[0102] In this embodiment, when the wireless access point verifies the connected IoT device, it further verifies the connected IoT device by combining multiple authentication methods such as physical MAC address, digital certificate and dynamic password. When the verification is passed, the connected IoT device is authorized to access the wireless access point.

[0103] In this embodiment, in order to further improve network security, the wireless access point detects the network in real time and responds to detected threats such as unauthorized access, DoS attacks, etc.; at the same time, the security of the network is increased by regularly updating security policies and patches to cope with new network security threats.

[0104] In an exemplary implementation, the controller monitors the performance of the wireless access point and adjusts the wireless access point to which the IoT device is connected based on the monitoring results. Adjust to the optimal wireless access point. In a scenario of one embodiment, the controller adjusts the connection point of the IoT device based on the real-time load of the access point. For example, when an access point is overloaded, the system automatically reconnects some devices to access points with lower loads. In a scenario of another embodiment, the controller sets different network access priorities for different types of IoT devices. For example, security monitoring equipment has a higher priority than ordinary office equipment to ensure the network stability of key equipment. In a scenario of yet another embodiment, the IoT device also detects the network of the wireless access point, such as detecting network speed, network stability, etc., and sends the detected data to the controller. The controller optimizes the network configuration of the IoT device based on the detection information fed back by the IoT device, so that the IoT device can access a wireless access point that meets the performance requirements.

[0105] In an exemplary implementation, the present application is also provided with a user and device management module, which facilitates the administrator to monitor and configure the network settings of all IoT devices from a central location. Furthermore, a device lifecycle management module for IoT devices is also provided to manage the lifecycle of IoT devices, including device registration, updating, maintenance, and retirement, to ensure that IoT devices maintain a good network connection status at each stage of their lifecycle.

[0106] In summary, the system and method for accessing a wireless network to an IoT device of the present invention. By detecting the first parameter configuration list of a wireless access point and sending it to a controller, the controller determines the access strategy and / or parameters of the IoT device accessing the wireless access point, thereby improving the IoT device's perception of the wireless access point, achieving efficient automatic switching of the IoT device, reducing the cumbersome configuration of the IoT device switching wireless access points, and improving the efficiency of IoT network management. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and has a high industrial utilization value.

[0107] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0108] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0109] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0110] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0111] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0112] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.

[0113] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0114] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A system for accessing IoT devices to a wireless network. It is characterized in that The system for accessing the IoT device to the wireless network includes: at least two wireless access points for sending beacon frames; An Internet of Things device, configured to obtain wireless access point information according to a received beacon frame, and output the wireless access point information; The controller is used to generate and output an access policy according to the wireless access point information, so that the Internet of Things device can access one of the at least two wireless access points according to the access policy.

2. The system for accessing a wireless network to an Internet of Things device according to claim 1, It is characterized in that The IoT device includes at least one of the following: A mobile communication module, used for outputting the wireless access point information via a mobile communication network; A short-range communication module, used for outputting the wireless access point information via a short-range wireless network; The wired communication module is used to output the wireless access point information via wired transmission.

3. The system for accessing a wireless network to an Internet of Things device according to claim 2, It is characterized in that When the IoT device meets a preset condition, the short-range communication module is used to send a probe request frame, and after receiving a probe response frame corresponding to the probe request frame, send authentication information to access the corresponding wireless access point.

4. The system for accessing a wireless network to an Internet of Things device according to claim 3, It is characterized in that The preset conditions include: Initialization of the IoT device; The IoT device restarts; The Internet of Things device receives a control instruction to access a wireless access point.

5. The system for accessing a wireless network to an Internet of Things device according to claim 1, It is characterized in that The access strategy includes: an access order of accessing the wireless access point; and / or, The access duration of accessing the wireless access point; and / or, An access time period for accessing the wireless access point.

6. A system for accessing a wireless network to an Internet of Things device according to any one of claims 1 to 5, It is characterized in that When the Internet of Things device re-accesses the wireless access point, the Internet of Things device is used to re-access the corresponding wireless access point according to the record of the last access to the wireless access point, and / or the Internet of Things device accesses the corresponding wireless access point according to the access policy.

7. A method for an Internet of Things device to access a wireless network. It is characterized in that The method for the Internet of Things device to access a wireless network includes: S11. At least two wireless access points send corresponding beacon frames; S12, the IoT device acquires and outputs wireless access point information according to the received beacon frame; S13, the controller generates an access strategy according to the wireless access point information, and outputs the access strategy to the Internet of Things device; S14. The Internet of Things device executes the access strategy to switch access between the at least two wireless access points.

8. The method for accessing a wireless network to an Internet of Things device according to claim 7, It is characterized in that S12, before the step of outputting the wireless access point information of the IoT device, comprising: The Internet of Things device establishes a communication connection with the controller via a mobile communication network and / or a short-range wireless network and / or a wired transmission method.

9. The method for accessing a wireless network to an Internet of Things device according to claim 8, It is characterized in that The step of establishing a communication connection between the IoT device and the controller via a short-range wireless network also includes: The IoT device outputs a detection request frame; When the IoT device receives a probe response frame corresponding to the probe request frame, the IoT device sends authentication information to the corresponding wireless access point; When the IoT device receives the authentication success information fed back by the wireless access point, it accesses the wireless access point; The Internet of Things device establishes a communication connection with the controller through the short-range wireless network of the wireless access point.

10. The method for accessing a wireless network to an Internet of Things device according to claim 7, It is characterized in that The access strategy includes: an access order of accessing the wireless access point; and / or, The access duration of accessing the wireless access point; and / or, An access time period for accessing the wireless access point.

11. The method for an Internet of Things device to access a wireless network according to any one of claims 7 to 10, It is characterized in that When the Internet of Things device re-accesses the wireless access point, the Internet of Things device is used to re-access the corresponding wireless access point according to the record of the last access to the wireless access point, and / or the Internet of Things device accesses the corresponding wireless access point according to the access policy.

12. A method for accessing a wireless network to an IoT device, applicable to an IoT device, It is characterized in that The method for the Internet of Things device to access a wireless network includes: S21, the IoT device detects and receives a beacon frame, where the beacon frame originates from at least two wireless access points; S22, the IoT device acquires and outputs wireless access point information according to the beacon frame, so that the controller generates an access policy according to the wireless access point information; S23. The Internet of Things device receives and executes the access policy so that the Internet of Things device switches access between the at least two wireless access points.

13. The method for accessing a wireless network to an Internet of Things device according to claim 12, It is characterized in that The method of outputting the wireless access point information by the IoT device includes: The Internet of Things device outputs the wireless access point information via a mobile communication network and / or a short-range wireless network and / or a wired transmission method.

14. The method for accessing a wireless network to an Internet of Things device according to claim 13, It is characterized in that Before the step of outputting the wireless access point information via a short-range wireless network, the Internet of Things device further includes: The IoT device outputs a detection request frame; When the IoT device receives a probe response frame corresponding to the probe request frame, the IoT device outputs authentication information; When the IoT device receives the authentication pass information, it accesses the corresponding wireless access point.

15. The method for accessing a wireless network to an Internet of Things device according to claim 12, It is characterized in that The access strategy includes: Access the wireless access point in an access order; and / or, Accessing the wireless access point according to the access duration; and / or, Access the wireless access point according to the access time period.

16. The method for an Internet of Things device to access a wireless network according to any one of claims 12 to 15, It is characterized in that When the Internet of Things device re-accesses the wireless access point, the Internet of Things device is used to re-access the corresponding wireless access point according to the record of the last access to the wireless access point, and / or the Internet of Things device accesses the corresponding wireless access point according to the access policy.

17. A method for accessing an Internet of Things device to a wireless network, applicable to a controller, It is characterized in that The method for the Internet of Things device to access a wireless network includes: S31, the controller receives wireless access point information, where the wireless access point information comes from an Internet of Things device and / or user input; S32. The controller generates an access policy according to the wireless access point information, and outputs the access policy, so that the Internet of Things device accesses the wireless access point according to the access policy.

18. The method for accessing a wireless network to an Internet of Things device according to claim 17, It is characterized in that The access strategy includes: Access the wireless access points in the order of access; and / or, Accessing the wireless access point according to the access duration; and / or, Access the wireless access point according to the access time period.