WO2021159708A1 - 一种物联网设备自动接入无线局域网的方法以及装置 - Google Patents

一种物联网设备自动接入无线局域网的方法以及装置 Download PDF

Info

Publication number
WO2021159708A1
WO2021159708A1 PCT/CN2020/115822 CN2020115822W WO2021159708A1 WO 2021159708 A1 WO2021159708 A1 WO 2021159708A1 CN 2020115822 W CN2020115822 W CN 2020115822W WO 2021159708 A1 WO2021159708 A1 WO 2021159708A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
iot device
indication information
wlan
ssid
Prior art date
Application number
PCT/CN2020/115822
Other languages
English (en)
French (fr)
Inventor
张印熙
李有涛
黄忠金
刘巍
鲍小胜
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20918366.4A priority Critical patent/EP4090081A4/en
Publication of WO2021159708A1 publication Critical patent/WO2021159708A1/zh
Priority to US17/883,783 priority patent/US20220394471A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/73Access point logical identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • This application relates to the field of communications, and in particular, to a method and device for automatically accessing a wireless local area network WLAN (Internet of Things, IOT) equipment.
  • WLAN Internet of Things
  • IoT terminals With the digital and intelligent transformation of modern enterprises, more and more IoT terminals have appeared in enterprise parks. For example, early printers and cameras to the latest smart light-emitting diode (LED) lights, conference room projection screens, conference terminals, etc.
  • LED light-emitting diode
  • the enterprise's demand for the campus network has also changed from the simple access of office systems (such as laptops and desktop computers) to the unified access of office systems and various IOT terminals.
  • wireless Internet access such as WIFI
  • WIFI wireless Internet access
  • a service set identifier (SSID) to be accessed needs to be specified on the terminal side. For example, when a mobile phone is connected to a home wireless router, it is necessary to select a pre-set SSID on the router in the WIFI connection interface. In the enterprise park scenario, because there may be a large number of WIFI-based IoT terminals, if we need to set the SSID that the IoT terminal needs to connect to each device, it will bring a large amount of operational workload to network operators and increase Business costs.
  • SSID service set identifier
  • This application provides a method and device for IOT equipment to automatically access the wireless local area network WLAN, which is used to realize that the IOT equipment can automatically access the WLAN, reducing the operation workload of network operators, and thereby reducing enterprise costs.
  • the present application provides a method for an IOT device to automatically access a WLAN, which specifically includes: a first network device sends to the IOT device a first SSID and instructs the IOT device to access the information identified by the first SSID The first packet of the first indication information of the first WLAN; then the IOT device parses the first packet to obtain the first indication information, and sends a first access request according to the first indication information to request access to the first indication information The first WLAN identified by an SSID.
  • the message sent by the network device directly carries the indication information that triggers the IOT device to access the WLAN identified by the SSID, thereby saving the IOT device from manually configuring the corresponding SSID from multiple SSIDs, and realizing automatic access to the WLAN Function. This reduces the operational workload of network operators, thereby reducing corporate costs.
  • the first access request may be the first access request of the IOT device requesting access to the first WLAN; or the first access request may be the second access request of the IOT device requesting access to the first WLAN Entry request.
  • the first message carrying the first indication information may adopt the following possible implementation manners:
  • the first message carries the first indication information through an extended field.
  • the extended field may be an extended element field or an extended feature field.
  • the first indication information is carried by extending a reserved field of the first packet.
  • the first indication information is carried by extending an extension field of the element field carrying the first SSID in the first packet.
  • the first indication information includes a network descriptor (Network Description, ND) or an access information descriptor.
  • the ND is used to indicate that the first SSID is an IOT SSID. That is, the ND indicates that the SSID is an SSID that the IOT device can automatically access. This can be used to trigger the IOT device to automatically access the WLAN identified by the SSID.
  • the first indication information is used to indicate access parameters required for the IOT device to access the first WLAN.
  • the access parameter includes but is not limited to at least one of authentication information and encryption information.
  • the first message may be a beacon frame or a probe response frame.
  • the first network device is a first wireless access point (AP).
  • the first message carrying the first indication information can adopt the following possible implementation modes:
  • the first report The text carries the first indication information through an extended field.
  • the extended field may be an extended element field or an extended feature field.
  • the first indication information includes a network descriptor (Network Description, ND) or an access information descriptor.
  • the first indication information is used to indicate access parameters required for the IOT device to access the first WLAN.
  • the access parameter includes but is not limited to at least one of authentication information and encryption information.
  • the access information descriptor is used to indicate that the first SSID is a secondary access SSID.
  • the IOT device before the IOT device receives the first packet, that is, before the IOT device performs secondary access, the IOT device receives a second packet, and the second packet carries a second SSID and a second indication Information, where the second indication information is used to instruct the IOT device to access the second WLAN identified by the second SSID; and then according to the second indication information, the IOT device sends a second access request to request access to the The second WLAN.
  • the first message is a wireless network disassociation frame or an http Restful interface message.
  • the second message is a beacon frame or a probe response frame.
  • the first network device is a wireless access point AP or a control and management device.
  • the first message may also carry third indication information, and the third indication information is used to indicate an access procedure when the IOT device accesses the WLAN.
  • the second message may also carry fourth indication information, where the fourth indication information is used to indicate an access procedure when the IOT device accesses the WLAN. In this way, the IOT device can be notified in real time to change the access process, thereby ensuring the correctness of the access.
  • the present application provides a method for an IOT device to automatically access a WLAN, which specifically includes: the first network device sends to the IOT device a first SSID and instructs the IOT device to access the identification identified by the first SSID The first packet of the first indication information of the first WLAN, and then the IOT device parses the first packet to obtain the first indication information, and sends a first access request to the first network device according to the first indication information ; The first network device receives a first access request sent by the IOT device to request access to the first WLAN.
  • the message sent by the network device directly carries the indication information that triggers the IOT device to access the WLAN identified by the SSID, thereby saving the IOT device from manually configuring the corresponding SSID from multiple SSIDs, and realizing automatic access to the WLAN Function. This reduces the operational workload of network operators, thereby reducing corporate costs.
  • the first access request may be the first access request of the IOT device requesting access to the first WLAN; or the first access request may be the second access request of the IOT device requesting access to the first WLAN Entry request.
  • the first message carrying the first indication information may adopt the following possible implementation manners:
  • the first message carries the first indication information through an extended field.
  • the extended field may be an extended element field or an extended feature field.
  • the first indication information is carried by extending a reserved field of the first packet.
  • the first indication information is carried by extending an extension field of the element field carrying the first SSID in the first packet.
  • the first indication information includes a network descriptor (Network Description, ND) or an access information descriptor.
  • the ND is used to indicate that the first SSID is an IOT SSID. That is, the ND indicates that the SSID is an SSID that the IOT device can automatically access. This can be used to trigger the IOT device to automatically access the WLAN identified by the SSID.
  • the first indication information is used to indicate access parameters required for the IOT device to access the first WLAN.
  • the access parameter includes but is not limited to at least one of authentication information and encryption information.
  • the first message may be a beacon frame or a probe response frame.
  • the first network device is a first wireless access point AP.
  • the first message carrying the first indication information can adopt the following possible implementation modes:
  • the first report The text carries the first indication information through an extended field.
  • the extended field may be an extended element field or an extended feature field.
  • the first indication information includes a network descriptor (Network Description, ND) or an access information descriptor.
  • the first indication information is used to indicate access parameters required for the IOT device to access the first WLAN.
  • the access parameter includes but is not limited to at least one of authentication information and encryption information.
  • the access information descriptor is used to indicate that the first SSID is a secondary access SSID.
  • the first network device before the IOT device receives the first packet, that is, before the IOT device performs secondary access, the first network device sends a second packet to the IOT device, and the second packet carries a second packet.
  • the second indication information is used to instruct the IOT device to access the second WLAN identified by the second SSID; the first network device receives the IOT device’s request to access the second WLAN 2. Access request.
  • the first message is a wireless network disassociation frame or an http Restful interface message.
  • the second message is a beacon frame or a probe response frame.
  • the first network device is a wireless access point AP or a control and management device.
  • the first message may also carry third indication information, and the third indication information is used to indicate an access procedure when the IOT device accesses the WLAN.
  • the second message may also carry fourth indication information, where the fourth indication information is used to indicate an access procedure when the IOT device accesses the WLAN. In this way, the IOT device can be notified in real time to change the access process, thereby ensuring the correctness of the access.
  • this application provides an IOT device, which has the function of implementing the IOT device in the first aspect or the second aspect described above.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the IOT device includes a unit or module for executing each step of the first aspect or the second aspect above.
  • the IOT device includes: a receiving module configured to obtain a first packet sent by a first network device, the first packet carrying at least one first service set identifier SSID and first indication information, the first The indication information is used to instruct the IOT device to access the first wireless local area network WLAN identified by the first SSID;
  • the sending module is configured to send a first access request to request access to the first WLAN according to the first indication information.
  • it also includes a storage module for storing necessary program instructions and data for the IOT device.
  • the IOT device includes a processor and a transceiver, and the processor is configured to support the IOT device to perform corresponding functions in the method provided in the first aspect or the second aspect.
  • the transceiver is used to instruct the communication between the IOT device and the network device, and send the information or instructions involved in the above method to the network device.
  • the IOT device may further include a memory, which is used for coupling with the processor and stores necessary program instructions and data for the IOT device.
  • the chip when the IOT device is configured as a chip, the chip includes: a processing module and a transceiver module.
  • the processing module may be, for example, a processor.
  • the processor is used to generate an access request.
  • the module may be, for example, an input/output interface, pin or circuit on the chip, and transmits the access request generated by the processor to other chips or modules coupled with the chip.
  • the processing module can execute computer-executable instructions stored in the storage unit to support the IOT device to execute the method provided in the first aspect or the second aspect.
  • the storage unit may be a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip, such as a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • ROM read-only memory
  • RAM random access memory
  • the IOT device includes: a processor, a baseband circuit, a radio frequency circuit, and an antenna.
  • the processor is used to control the functions of each circuit part, and the baseband circuit is used to generate an access request containing signaling information, which is processed by analog conversion, filtering, amplification and up-conversion via the radio frequency circuit, and then sent to the network device via the antenna .
  • the IOT device further includes a memory, which stores program instructions and data necessary for the IOT device.
  • the processor mentioned in any of the above can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more for controlling the above All aspects of the IOT device automatically access the integrated circuit of the WLAN program execution method.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • this application provides a network device that has the function of implementing the network device in the first aspect or the second aspect described above.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the network device includes a unit or module for executing each step of the first aspect or the second aspect above.
  • the network device includes: a sending module, configured to send a first message to the IOT device, the first message carrying at least one first service set identifier SSID and first indication information, the first indication Information is used to instruct the IOT device to access the first wireless local area network WLAN identified by the first SSID;
  • the receiving module is configured to receive a first access request sent by the IOT device to request access to the first WLAN.
  • it also includes a storage module for storing necessary program instructions and data for the network device.
  • the network device includes a processor and a transceiver, and the processor is configured to support the network device to perform corresponding functions in the method provided in the first aspect or the second aspect.
  • the transceiver is used to instruct the communication between the network device and the IOT device, and send the information or instructions involved in the above method to the IOT device.
  • the network device may further include a memory, which is used for coupling with the processor and stores necessary program instructions and data for the network device.
  • the chip when the network device is configured as a chip, the chip includes: a processing module and a transceiver module.
  • the processing module may be, for example, a processor.
  • the processor is used to generate a message.
  • it can be an input/output interface, pin or circuit on the chip, and the message generated by the processor is transmitted to other chips or modules coupled with the chip.
  • the processing module can execute the computer-executable instructions stored in the storage unit to support the network device to execute the method provided in the first aspect or the second aspect.
  • the storage unit may be a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip, such as a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • ROM read-only memory
  • RAM random access memory
  • the network device includes: a processor, a baseband circuit, a radio frequency circuit, and an antenna.
  • the processor is used to control the functions of each circuit part, and the baseband circuit is used to generate a message containing signaling information, which is processed by the radio frequency circuit for analog conversion, filtering, amplification and up-conversion, and then sent to the IOT device via the antenna.
  • the network device further includes a memory, which stores program instructions and data necessary for the network device.
  • the processor mentioned in any one of the above can be a general CPU, a microprocessor ASIC, or one or more integrated circuits executed by programs used to control the methods for automatically accessing the WLAN in various aspects of the network devices described above.
  • this application provides a chip system that includes a processor for supporting network devices or IOT devices to implement the functions involved in the above aspects, such as generating or processing data and/or data involved in the above methods. Or information.
  • the chip system further includes a memory, and the memory is used to store necessary program instructions and data of the network device or the IOT device, so as to realize the functions of any one of the above aspects.
  • the chip system can be composed of chips, or it can include chips and other discrete devices.
  • the present application provides a communication system, which includes the IOT device and the network device described in the foregoing aspect.
  • the present application provides a computer-readable storage medium, characterized in that it stores computer instructions that, when the computer instructions run on a computer, cause the computer to execute the above-mentioned first or second aspect.
  • the present application provides a computer program product, which is characterized in that it contains a program that, when the program runs on a computer, causes the computer to execute the method described in the first aspect or the second aspect.
  • Figure 1 is an exemplary system architecture diagram of the Internet of Things system
  • Figure 2 is an exemplary application scenario architecture diagram of the Internet of Things in an embodiment of the application
  • Fig. 3 is an exemplary hardware architecture diagram of an IOT device or a network device in an embodiment of the application
  • FIG. 4 is a schematic diagram of an exemplary software composition structure of a network device in an embodiment of the application.
  • FIG. 5 is a schematic diagram of an exemplary software composition structure of a control and management device in an embodiment of the application
  • FIG. 6 is a schematic diagram of an exemplary software composition structure of an IOT device in an embodiment of the application.
  • FIG. 7 is a schematic diagram of an embodiment of a method for an IOT device to automatically access a WLAN in an embodiment of the application
  • FIG. 8 is a schematic diagram of another embodiment of a method for an IOT device to automatically access a WLAN in an embodiment of this application;
  • FIG. 9 is a schematic diagram of another embodiment of a method for an IOT device to automatically access a WLAN in an embodiment of the application.
  • FIG. 10 is a schematic diagram of another embodiment of a method for an IOT device to automatically access a WLAN in an embodiment of this application;
  • FIG. 11 is a schematic diagram of another embodiment of a method for an IOT device to automatically access a WLAN in an embodiment of this application;
  • FIG. 12 is a schematic diagram of another embodiment of a method for an IOT device to automatically access a WLAN in an embodiment of this application;
  • FIG. 13 is a schematic diagram of an embodiment of an IOT device in an embodiment of the application.
  • FIG. 14 is a schematic diagram of another embodiment of an IOT device in an embodiment of the application.
  • FIG. 15 is a schematic diagram of an embodiment of a network device in an embodiment of this application.
  • FIG. 16 is a schematic diagram of another embodiment of a network device in an embodiment of this application.
  • Fig. 17 is a schematic diagram of an embodiment of a communication system in an embodiment of the application.
  • the naming or numbering of steps appearing in this application does not mean that the steps in the method flow must be executed in the time/logical sequence indicated by the naming or numbering.
  • the named or numbered process steps can be implemented according to the The technical purpose changes the execution order, as long as the same or similar technical effects can be achieved.
  • the division of units presented in this application is a logical division. In actual applications, there can be other divisions. For example, multiple units can be combined or integrated in another system, or some features can be ignored , Or not to execute, in addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection between the units may be in electrical or other similar forms. There are no restrictions in the application.
  • the units or subunits described as separate components may or may not be physically separate, may or may not be physical units, or may be distributed to multiple circuit units, and some or all of them may be selected according to actual needs. Unit to achieve the purpose of this application program.
  • the Internet of Things is a network based on information carriers such as the Internet and traditional telecommunications networks that enable all ordinary physical objects that can be independently addressed to achieve interconnection and intercommunication. It is different from the Internet we are familiar with: the Internet connects people to people, people to things, people and information, and the Internet of Things connects things to things.
  • the Internet of Things is constructed based on the current Internet and communication technology, instead of relying on specific hardware modules. Users can simply and easily access the Internet of Things based on their own device technology architecture.
  • the architecture of the Internet of Things can be shown in Figure 1, the Internet of Things server, gateway device, and IOT device.
  • the Internet of Things server includes 4 modules, namely equipment management, user management, data transmission management, and data management.
  • the Internet of Things server may also include other functional modules based on the extension of the above-mentioned modules.
  • the communication between the IoT server and the device is essentially built on the communication protocol.
  • WIFI or 4G or 5G communication technology can be used, and even the communication technology that may be implemented in the future can realize the communication between the device and the Internet of Things server.
  • the communication between the device and the device can have WIFI, Bluetooth (Bluetooth) and other communication technologies. Therefore, in this IoT architecture, the gateway device can be a router, a Bluetooth device, a base station, etc., as shown in FIG. It is suitable for all IOT devices running in a local environment.
  • the device is connected to the router through WIFI or wired, and then the Internet of things server connected by the router, just like installing a wifi router in our home to access the Internet, and the refrigerator in the home , TV, mobile phone and air conditioner can all be connected to WLAN through router.
  • WIFI wireless technology
  • an embodiment of the present application provides a method for an IOT terminal to automatically access a WLAN.
  • the network device sends to the IOT device an SSID and indication information instructing the IOT device to access the WLAN identified by the SSID.
  • the IOT device parses the message to obtain the indication information, and sends an access request according to the indication information to request access to the WLAN identified by the SSID.
  • the network equipment mainly includes the main control board, backplane, interface board, etc., and the CPU on the main control board mainly completes task scheduling and data forwarding control, including control plane communication and forwarding in the network Surface communication, such as data encapsulation and decapsulation, query of traffic forwarding information, etc.; the switching network on the main control board and the interface board cooperate to complete network data forwarding; the memory on the main control board is used to store and exchange various types of data or software , Including user access information and forwarding device information during network communication.
  • Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol
  • DHCP Dynamic Host Configuration Protocol
  • LLDP Link Layer Discovery Protocol
  • Radius Remote Authentication Dial In User Service
  • 802.11 The 802.11 protocol is added; and in the authentication, authorization, and accounting (Authentication, Authorization, Accounting, AAA), access authentication and AAA are added.
  • FIG. 5 An exemplary solution for the software structure and characteristics of the control management device (ie, the controller shown in Figure 5) is shown in Figure 5.
  • User management and manufacturer descriptions (MUD) are added to the authentication service management.
  • policy management, and policy management includes authorized virtual local area network (VLAN) management and access control list (ACL) management.
  • VLAN virtual local area network
  • ACL access control list
  • the hardware structure and software structure of the IOT device are exactly the same as the general software, except that functions related to the authentication service management of the present invention are added on the basis of the general software functions.
  • An exemplary solution in terms of structure and characteristics is shown in Figure 6.
  • the WIFI driver needs to be modified to receive 802.11 frames, and Transmission Control Protocol/Internet Protocol (TCP/IP) needs to add 802.11 protocol and TCP/IP protocol, and add network access authentication and safe start function to the communication function.
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • the IOT device may be a smart device with the function of wirelessly accessing the WLAN.
  • the communication between the IOT devices may be other possible communication technologies such as WIFI or Bluetooth.
  • FIG. 7 is a schematic flowchart of a method 700 for an IOT device to automatically access a WLAN for the first time according to an embodiment of the application.
  • the method 700 for automatically accessing a WLAN by an IOT device provided in an embodiment of the present application includes:
  • the IOT device listens to a beacon frame sent by the wireless access point 1.
  • the beacon frame carries SSID1 and indication information 1.
  • the indication information 1 is used to instruct the IOT device to access the WLAN1 identified by the SSID1.
  • the IOT device After the IOT device is powered on, it listens to the beacon frame periodically sent by the wireless access point 1.
  • the beacon frame is a regular wireless signal (similar to a heartbeat packet) sent by the wireless access point at a specified interval. Used for positioning and synchronization, this beacon frame is also called a beacon frame.
  • the beacon frame carries SSID1 and indication information 1, and the indication information 1 is used to instruct the IOT device to access the WLAN1 identified by the SSID1.
  • the wireless access point 1 carries the indication information 1 through the beacon frame, and the following possible implementation methods can be adopted:
  • the wireless access point 1 carries the indication information 1 through an extended field in the beacon frame.
  • the extended field may be an extended element field or an extended characteristic field.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended element field
  • an exemplary solution for the added extended field can be shown in Table 1:
  • the extended field consists of 1-byte Element ID, 1-byte Length, 0 or 1-byte exTention, and variable-byte Information.
  • the Element ID is used to indicate that the extended field carries the indication information 1 (the value can be defined as 222);
  • the Length is used to indicate the length of the extended field;
  • the exTention is used to indicate whether the extended field has other The extended information;
  • the Information is used to indicate other information carried in the extended field, such as the access process information used to instruct the IOT device to access the wireless access point 1, which can also be said to be a "version number" .
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended feature field
  • an exemplary solution for the added extended field can be shown in Table 2:
  • the Element ID in the extended field is used to indicate that the extended field is a characteristic field (such as a vendor-defined field); the Length is used to indicate the length of the extended field; the Organization identifier Information is used to indicate the extended field User name; the Feature ID is used to indicate that the extended Feature field carries the indication information 1 (the value can be defined as 222); the Length is used to indicate the length of the extended Feature field; the Feature Information is used to indicate the extension Other information carried in the Feature field, such as the access process information used to instruct the IOT device to access the wireless access point 1, can also be said to be a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the wireless access point 1 carries the indication information 1 by extending a reserved field of the beacon frame. For example, if there is a field in the reserved field of the beacon frame that is not configured with related information, the wireless access point 1 can configure the field to be 1, indicating that the IOT device will access when the beacon frame is received. WLAN1 corresponding to this SSID1.
  • the wireless access point 1 carries the indication information 1 by extending the extension field of the element field carrying the SSID1 in the beacon frame.
  • the extension field in the element field used to carry the SSID1 in the beacon frame has no value.
  • the wireless access point 1 can configure the extension field and instruct the IOT device to access the SSID1. WLAN1.
  • the extension field can be configured to 1 or 0, which is not specifically limited here.
  • the indication information 1 may be referred to as a network descriptor (Network Description, ND).
  • the IOT device sends an access request 1 to the wireless access point 1 according to the instruction information 1.
  • the IOT device After receiving the beacon frame, the IOT device parses the beacon frame to obtain the indication information 1. Then, the IOT device sends an access request 1 to the wireless access point 1 belonging to the WLAN1 identified by the SSID1 according to the instruction information 1.
  • the wireless access point 1 receives the access request 1 and completes access authentication with the IOT device.
  • the wireless access point 1 receives the access request 1 of the IOT device, and verifies the authentication method and authentication information. If the verification passes, the wireless access point 1 and the IOT device complete access authentication.
  • the authentication methods between the wireless access point 1 and the IOT device include but are not limited to the following possible implementation methods: open-system authentication and shared-key authentication ), WPA PSK authentication (Pre-shared key) and 8021.1X EAP authentication.
  • the beacon frame sent by the wireless access point 1 directly carries indication information that triggers the IOT device to access the WLAN identified by the SSID, thereby saving the IOT device from manually configuring the corresponding SSID from multiple SSIDs.
  • the function of automatically accessing the WLAN is realized. This reduces the operational workload of network operators, thereby reducing corporate costs.
  • an existing message in the access process is used to carry the indication information, which can save signaling overhead.
  • the IOT device passively obtains wireless network access information, which can make the IOT device in a power saving mode.
  • FIG. 8 is a schematic flowchart of a method 800 for an IOT device to automatically access a WLAN for the first time according to an embodiment of the application.
  • the method 800 for automatically accessing the WLAN of an IOT device provided in an embodiment of the present application includes:
  • the IOT device sends a detection request frame to the wireless access point 1.
  • the IOT device After the IOT device is powered on, it initiates a probe request frame (Probe Request) with the wireless access point 1 to request the wireless access point 1 to send corresponding access information. That is, the IOT device periodically sends a probe request frame (Probe Request) to scan the wireless network in the list of channels it supports.
  • Probe Request a probe request frame
  • the wireless access point 1 sends a probe response frame to the IOT device.
  • the probe response frame carries SSID1 and indication information 1.
  • the indication information 1 is used to instruct the IOT device to access the WLAN1 identified by the SSID1.
  • the wireless access point 1 After the wireless access point 1 receives the probe request frame sent by the IOT device, the wireless access point 1 sends a probe response frame (such as a probe response frame, also called a Probe Response frame) to the IOT device, and at the same time, the probe The response frame carries SSID1 and indication information 1, and the indication information 1 is used to instruct the IOT device to access the WLAN1 identified by the SSID1. That is, when the wireless access point receives the probe request frame, it will respond to the Probe Response frame to announce the available wireless network information, and the IOT device can actively learn the available wireless services through active scanning.
  • a probe response frame such as a probe response frame, also called a Probe Response frame
  • the indication information 1 is used to instruct the IOT device to access the WLAN1 identified by the SSID1. That is, when the wireless access point receives the probe request frame, it will respond to the Probe Response frame to announce the available wireless network information, and the IOT device can actively learn the available wireless services through active scanning.
  • the wireless access point 1 carries the indication information 1 through the probe response frame, and the following possible implementation methods can be adopted:
  • the wireless access point 1 carries the indication information 1 through an extended field in the probe response frame.
  • the extended field may be an extended element field or an extended feature field.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended element field
  • an exemplary solution for the added extended field can be shown in Table 3:
  • the extended field consists of 1-byte Element ID, 1-byte Length, 0 or 1-byte exTention, and variable-byte Information.
  • the Element ID is used to indicate that the extended field carries the indication information 1 (the value can be defined as 222);
  • the Length is used to indicate the length of the extended field;
  • the exTention is used to indicate whether the extended field has other The extended information;
  • the Information is used to indicate other information carried in the extended field, such as the access process information used to instruct the IOT device to access the wireless access point 1, which can also be said to be a "version number" .
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended feature field
  • an exemplary solution for the added extended field can be shown in Table 4:
  • the Element ID in the extended field is used to indicate that the extended field is a characteristic field (such as a vendor-defined field); the Length is used to indicate the length of the extended field; the Organization identifier Information is used to indicate the extended field User name; the Feature ID is used to indicate that the extended Feature field carries the indication information 1 (the value can be defined as 222); the Length is used to indicate the length of the extended Feature field; the Feature Information is used to indicate the extension Other information carried in the Feature field, such as carrying the access process information used to instruct the IOT device to access the wireless access point 1.
  • the access procedure information may also be referred to as a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the wireless access point 1 carries the indication information 1 by extending a reserved field of the probe response frame. For example, if there is a field in the reserved field of the probe response frame that is not configured with related information, the wireless access point 1 can configure the field to be 1 to instruct the IOT device to access when the probe response frame is received.
  • WLAN1 corresponding to this SSID1.
  • the wireless access point 1 carries the indication information 1 by extending the extension field of the element field carrying the SSID1 in the probe response frame.
  • the extension field in the element field used to carry the SSID1 in the probe response frame has no value.
  • the wireless access point 1 can configure the extension field and instruct the IOT device to access the SSID1. WLAN1.
  • the extension field can be configured to 1 or 0, which is not specifically limited here.
  • the indication information 1 may be referred to as a network descriptor (Network Description, ND).
  • the IOT device sends an access request to the wireless access point 1 according to the instruction information 1.
  • the IOT device After receiving the detection response frame, the IOT device parses the detection response frame to obtain the indication information 1. Then, the IOT device sends an access request 1 to the wireless access point 1 belonging to the WLAN1 identified by the SSID1 according to the instruction information 1.
  • the wireless access point 1 receives the access request 1 and completes access authentication with the IOT device.
  • the wireless access point 1 responds to the access request 1 of the IOT device, and verifies the authentication method and authentication information. If the verification passes, the wireless access point 1 and the IOT device complete access authentication.
  • the authentication methods between the wireless access point 1 and the IOT device include but are not limited to the following possible implementation methods: open-system authentication and shared-key authentication ), WPA PSK authentication (Pre-shared key) and 8021.1X EAP authentication.
  • the detection response frame sent by the wireless access point 1 directly carries the indication information that triggers the IOT device to access the WLAN identified by the SSID, thereby saving the IOT device from manually configuring the corresponding SSID from multiple SSIDs.
  • the function of automatic access to WLAN is realized. This reduces the operational workload of network operators, thereby reducing corporate costs.
  • an existing message in the access process is used to carry the indication information, which can save signaling overhead.
  • the IOT device actively sends a detection request frame to the wireless access point, which can obtain wireless network access information more effectively.
  • the method for automatically accessing the IOT device to the WLAN provided in the embodiment of the present application further includes a schematic diagram of the secondary access process shown in FIG. 9.
  • the method 900 for automatically accessing a WLAN by an IOT device provided in an embodiment of the present application includes:
  • the wireless access point 1 obtains a control strategy sent by the control management device, and the control strategy carries the SSID 2 of the secondary access of the IOT device.
  • the wireless access point 1 exchanges authorization information with the control and management device, and the wireless access point 1 receives the control and management device sent Control strategy.
  • the control strategy is used to indicate the SSID2 for secondary access of the IOT device and the indication information 2, that is, to indicate the service SSID to be accessed by the IOT device, and to trigger the IOT device to automatically access the SSID2.
  • the wireless access point 1 sends a wireless network disassociation frame to the IOT device, the wireless network disassociation frame carries the SSID2 and indication information 2, and the indication information 2 is used to instruct the IOT device to access the WLAN identified by the SSID2 2.
  • the wireless access point 1 sends a wireless network disassociation frame (such as Disassociate frame, Deauth frame) to the IOT device according to the control strategy, wherein the wireless network disassociation frame carries the SSID2 of the IOT device's secondary access and Related access parameters.
  • the access parameters include authentication information and encryption information.
  • the authentication information includes authentication methods, which include but are not limited to development system authentication (open-system authentication), shared-key authentication (shared-key authentication), WPA PSK authentication (Pre-shared key) and 8021.1X EAP authentication .
  • the wireless access point 1 carries the indication information 2 through the wireless network disassociation frame, and the following possible implementation methods can be adopted:
  • the wireless access point 1 carries the indication information 2 through an extended field in the wireless network disassociation frame.
  • the extended field may be an extended element field or an extended feature field.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended element field
  • an exemplary solution for the added extended field can be shown in Table 5.
  • the extended field consists of 1-byte Element ID, 1-byte Length, 0 or 1-byte exTention, and variable-byte Information.
  • the Element ID is used to indicate that the extended field carries the indication information 1 (the value can be defined as 222);
  • the Length is used to indicate the length of the extended field;
  • the exTention is used to indicate whether the extended field has other The extended information;
  • the Information is used to indicate other information carried in the extended field.
  • the access procedure information may also be referred to as a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended feature field
  • an exemplary solution for the added extended field can be shown in Table 6:
  • the Element ID in the extended field is used to indicate that the extended field is a characteristic field (such as a vendor-defined field); the Length is used to indicate the length of the extended field; the Organization identifier Information is used to indicate the extended field User name; the Feature ID is used to indicate that the extended Feature field carries the indication information 1 (the value can be defined as 222); the Length is used to indicate the length of the extended Feature field; the Feature Information is used to indicate the extension Other information carried in the Feature field. For example, carry the SSID2 for secondary access of the IOT device, access parameters, and access process information used to instruct the IOT device to access the wireless access point 1.
  • the access procedure information may also be referred to as a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the indication information 2 may be called a second access information descriptor (Second Access Description, SAD).
  • the IOT device sends an access request 2 to the wireless access point 2 according to the instruction information 2.
  • the IOT device After receiving the wireless network disassociation frame, the IOT device parses the wireless network disassociation frame to obtain the indication information 2. The IOT device disassociates from the wireless access point 1, and sends an access request 2 to the wireless access point 2 belonging to the WLAN 2 identified by the SSID 2 according to the instruction information 2.
  • the wireless access point 2 receives the access request 2 and completes access authentication with the IOT device.
  • the wireless access point 2 responds to the access request 2 of the IOT device, and verifies the authentication method and authentication information. If the verification passes, the wireless access point 2 and the IOT device complete access authentication.
  • the authentication methods between the wireless access point 2 and the IOT device include but are not limited to the following possible implementation methods: open-system authentication and shared-key authentication ), WPA PSK (pre-shared key) authentication and 802.1X EAP authentication.
  • the wireless access point 1 when the wireless access point 1 is already connected to the wireless network, the wireless access point 1 may also obtain the secondary access SSID and indication information of the IOT device from the control and management device, and send it to The IOT device sends a wireless disassociation frame, thereby triggering the IOT device to access the WLAN identified by the SSID for the second time, avoiding the process of manually configuring the SSID for the second access of the IOT device, and realizing the function of automatically accessing the WLAN. This reduces the operational workload of network operators, thereby reducing corporate costs. At the same time, an existing message in the access process is used to carry the indication information, which can save signaling overhead.
  • FIG. 10 is a schematic flowchart of a method 1000 for automatically accessing a WLAN by an IOT device according to an embodiment of the application. As shown in FIG. 10, the method 1000 for automatically accessing the WLAN of an IOT device provided by an embodiment of the present application includes:
  • the control and management device sends an http Restful interface message to the IOT device, the http Restful interface message carries SSID 2 and indication information 2, and the indication information 2 is used to instruct the IOT device to access the WLAN 2 identified by the SSID 2 .
  • the control and management device uses http Restful interface messages to send the secondary access SSID2 and related access parameters to the IOT device.
  • the access parameters include authentication information and encryption information.
  • the authentication information includes authentication methods, which include but are not limited to development system identity authentication, shared key authentication, WPA PSK authentication, and 8021.1X EAP authentication.
  • control and management device carries the instruction information 2 through the http Restful interface message, and the following possible implementation methods can be adopted:
  • the control and management device carries the indication information 2 through an extended field in the http Restful interface message.
  • the extended field may be an extended element field or an extended feature field.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended element field
  • an exemplary solution for the added extended field can be shown in Table 7:
  • the extended field consists of 1-byte Element ID, 1-byte Length, 0 or 1-byte exTention, and variable-byte Information.
  • the Element ID is used to indicate that the extended field carries the indication information 1 (the value can be defined as 222); the Length is used to indicate the length of the extended field; the exTention is used to indicate whether the extended field has other The extended information; the Information is used to indicate other information carried in the extended field.
  • the access procedure information may also be referred to as a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended feature field
  • an exemplary solution for the added extended field can be shown in Table 8:
  • the Element ID in the extended field is used to indicate that the extended field is a characteristic field (such as a vendor-defined field); the Length is used to indicate the length of the extended field; the Organization identifier Information is used to indicate the extended field User name; the Feature ID is used to indicate that the extended Feature field carries the indication information 1 (the value can be defined as 222); the Length is used to indicate the length of the extended Feature field; the Feature Information is used to indicate the extension Other information carried in the Feature field. For example, carry the SSID2 for secondary access of the IOT device, access parameters, and access process information used to instruct the IOT device to access the control and management device.
  • the access procedure information may also be referred to as a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the indication information 2 may be called a second access information descriptor (Second Access Description, SAD).
  • the IOT device sends an access request 2 to the wireless access point 2 according to the instruction information 2.
  • the IOT device After receiving the http Restful interface message, the IOT device parses the http Restful interface message to obtain the indication information 2. The IOT device disassociates from the wireless access point 1, and sends an access request 2 to the wireless access point 2 belonging to the WLAN 2 identified by the SSID 2 according to the instruction information 2.
  • the wireless access point 2 receives the access request 2 and completes access authentication with the IOT device.
  • the wireless access point 2 responds to the access request 2 of the IOT device, and verifies the authentication method and authentication information. If the verification passes, the wireless access point 2 and the IOT device complete access authentication.
  • the authentication methods between the wireless access point 2 and the IOT device include but are not limited to the following possible implementation methods: development system identity authentication, shared key authentication, WPA PSK authentication, and 8021.1X EAP authentication.
  • the control and management device directly uses the http Restful interface message to send the SSID and indication information of the secondary access to the IOT device to trigger the IOT
  • the device is disassociated from the wireless access point 1 and accesses the WLAN identified by the SSID for a second time, avoiding the process of manually configuring the SSID for the second access of the IOT device, and realizing the function of automatically accessing the WLAN. This reduces the operational workload of network operators, thereby reducing corporate costs.
  • an existing message in the access process is used to carry the indication information, which can save signaling overhead.
  • FIG. 11 is a schematic flowchart of a method 1100 for an IOT device to automatically access a WLAN according to an embodiment of the application.
  • the process of the IOT device automatically accessing the WLAN includes the first access and the second access.
  • the method 1100 for the IOT device to automatically access the WLAN provided in the embodiment of the present application is shown in FIG. include:
  • the IOT device obtains a beacon frame sent by the wireless access point 1.
  • the beacon frame carries SSID1 and indication information 1.
  • the indication information 1 is used to instruct the IOT device to access the WLAN1 identified by the SSID1.
  • the IOT device After the IOT device is powered on, it listens to the beacon frame periodically sent by the wireless access point 1.
  • the beacon frame is a regular wireless signal (similar to a heartbeat packet) sent by the wireless access point at a specified interval. Used for positioning and synchronization, this beacon frame is also called a beacon frame.
  • the beacon frame carries SSID1 and indication information 1, and the indication information 1 is used to instruct the IOT device to access the WLAN1 identified by the SSID1.
  • the wireless access point 1 carries the indication information 1 through the beacon frame, and the following possible implementation methods can be adopted:
  • the wireless access point 1 carries the indication information 1 through an extended field in the beacon frame.
  • the extended field may be an extended element field or an extended feature field.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended element field
  • an exemplary solution for the added extended field can be shown in Table 9:
  • the extended field consists of 1-byte Element ID, 1-byte Length, 0 or 1-byte exTention, and variable-byte Information.
  • the Element ID is used to indicate that the extended field carries the indication information 1 (the value can be defined as 222);
  • the Length is used to indicate the length of the extended field;
  • the exTention is used to indicate whether the extended field has other The extended information;
  • the Information is used to indicate other information carried in the extended field, such as the access process information used to instruct the IOT device to access the wireless access point 1.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended feature field
  • an exemplary solution for the added extended field can be shown in Table 10:
  • the Element ID in the extended field is used to indicate that the extended field is a characteristic field (such as a vendor-defined field); the Length is used to indicate the length of the extended field; the Organization identifier Information is used to indicate the extended field User name; the Feature ID is used to indicate that the extended Feature field carries the indication information 1 (the value can be defined as 222); the Length is used to indicate the length of the extended Feature field; the Feature Information is used to indicate the extension Other information carried in the Feature field, such as the access process information used to instruct the IOT device to access the wireless access point 1, can also be said to be a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the wireless access point 1 carries the indication information 1 by extending a reserved field of the beacon frame. For example, if there is a field in the reserved field of the beacon frame that is not configured with related information, the wireless access point 1 can configure the field to be 1, indicating that the IOT device will access when the beacon frame is received. WLAN1 corresponding to this SSID1.
  • the wireless access point 1 carries the indication information 1 by extending the extension field of the element field carrying the SSID1 in the beacon frame.
  • the extension field in the element field used to carry the SSID1 in the beacon frame has no value.
  • the wireless access point 1 can configure the extension field and instruct the IOT device to access the SSID1. WLAN1.
  • the extension field can be configured to 1 or 0, which is not specifically limited here.
  • the indication information 1 may be referred to as a network descriptor (Network Description, ND).
  • the IOT device sends an access request 1 to the wireless access point 1 according to the instruction information 1.
  • the IOT device After receiving the beacon frame, the IOT device parses the beacon frame to obtain the indication information 1. Then, the IOT device sends an access request 1 to the wireless access point 1 belonging to the WLAN1 identified by the SSID1 according to the instruction information 1.
  • the wireless access point 1 receives the access request 1 and completes access authentication with the IOT device.
  • the wireless access point 1 responds to the access request 1 of the IOT device, and verifies the authentication method and authentication information. If the verification passes, the wireless access point 1 and the IOT device complete access authentication.
  • the authentication methods between the wireless access point 1 and the IOT device include but are not limited to the following possible implementation methods: development system identity authentication, shared key authentication, WPA PSK authentication, and 8021.1X EAP authentication.
  • the controller sends an http Restful interface message to the IOT device, where the http Restful interface message carries SSID 2 and indication information 2, and the indication information 2 is used to instruct the IOT device to access the WLAN 2 identified by the SSID 2.
  • the control and management device uses http Restful interface messages to send the secondary access SSID2 and related access parameters to the IOT device.
  • the access parameters include authentication information and encryption information.
  • the authentication information includes authentication methods, which include but are not limited to development system identity authentication, shared key authentication, WPA PSK authentication, and 8021.1X EAP authentication.
  • control and management device carries the instruction information 2 through the http Restful interface message, and the following possible implementation methods can be adopted:
  • the control and management device carries the indication information 2 through an extended field in the http Restful interface message.
  • the extended field may be an extended element field or an extended feature field.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended element field
  • an exemplary solution for the added extended field can be shown in Table 11:
  • the extended field consists of 1-byte Element ID, 1-byte Length, 0 or 1-byte exTention, and variable-byte Information.
  • the Element ID is used to indicate that the extended field carries the indication information 1 (the value can be defined as 222); the Length is used to indicate the length of the extended field; the exTention is used to indicate whether the extended field has other The extended information; the Information is used to indicate other information carried in the extended field.
  • the access procedure information may also be referred to as a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the definition format of the indication information 1 can be defined in accordance with the 802.11 standard and is an extended feature field
  • an exemplary solution for the added extended field can be shown in Table 12:
  • the Element ID in the extended field is used to indicate that the extended field is a characteristic field (such as a vendor-defined field); the Length is used to indicate the length of the extended field; the Organization identifier Information is used to indicate the extended field User name; the Feature ID is used to indicate that the extended Feature field carries the indication information 1 (the value can be defined as 222); the Length is used to indicate the length of the extended Feature field; the Feature Information is used to indicate the extension Other information carried in the Feature field. For example, carry the SSID2 for secondary access of the IOT device, access parameters, and access process information used to instruct the IOT device to access the control and management device.
  • the access procedure information may also be referred to as a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the indication information 2 may be called a second access information descriptor (Second Access Description, SAD).
  • the IOT device sends an access request 2 to the wireless access point 2 according to the instruction information 2.
  • the IOT device After receiving the http Restful interface message, the IOT device parses the http Restful interface message to obtain the indication information 2. The IOT device disassociates from the wireless access point 1, and sends an access request 2 to the wireless access point 2 belonging to the WLAN 2 identified by the SSID 2 according to the instruction information 2.
  • the wireless access point 2 receives the access request 2 and completes access authentication with the IOT device.
  • the wireless access point 2 responds to the access request 2 of the IOT device, and verifies the authentication method and authentication information. If the verification passes, the wireless access point 2 and the IOT device complete access authentication.
  • the authentication methods between the wireless access point 2 and the IOT device include but are not limited to the following possible implementation methods: development system identity authentication, shared key authentication, WPA PSK authentication, and 8021.1X EAP authentication.
  • the beacon frame sent by the wireless access point 1 directly carries the indication information that triggers the IOT device to access the WLAN identified by the SSID, thereby saving the IOT device from multiple sources.
  • the process of manually configuring the corresponding SSID in the SSID realizes the function of automatically connecting the IOT device to the WLAN when it is first connected.
  • the control and management device directly uses http Restful interface messages to send the secondary access SSID and indication information to the IOT device to trigger the IOT device to connect to the wireless network.
  • the access point 1 is disassociated and accesses the WLAN identified by the SSID for the second time, avoiding the manual configuration of the SSID of the IOT device for the second access, and realizing the function of the IOT device to automatically access the WLAN during the second access. This reduces the operational workload of network operators, thereby reducing corporate costs. At the same time, an existing message in the access process is used to carry the indication information, which can save signaling overhead.
  • FIG. 11 is only an exemplary solution for the IOT device to complete the first access and the second access, and the method for the IOT device to automatically access the WLAN can be any of the solutions and diagrams in FIG. 7 or FIG. 8.
  • the combination of any of the schemes in 9 or FIG. 10 is not specifically limited here.
  • the WLAN2 identified by the SSID2 and the WLAN1 can be the same wireless network.
  • the IOT device can continue to maintain the current access or It is that the IOT device re-accesses the wireless access point 1 after disassociating from the wireless access point 1, and the specific operation method is not limited here.
  • FIG. 12 is a schematic flowchart of a method 1200 for an IOT device to automatically access a WLAN according to an embodiment of the application. As shown in FIG. 12, the method 1200 for automatic access of IOT devices to the WLAN provided by the embodiment of the present application includes:
  • the IOT device acquires a first packet sent by a first network device, where the first packet carries at least one first SSID and first indication information, where the first indication information is used to instruct the IOT device to access the first network device.
  • the first WLAN identified by the SSID.
  • the first network device is a wireless access point (that is, equivalent to the wireless access point 1 in Figure 7 to Figure 11 above), and the first message may be Figure 7 above.
  • the first indication information carried in the first message received by the IOT device (the first indication information may correspond to the indication in FIGS. 7 to 11) Information 1) is used to instruct the IOT device to access the first SSID for the first time (the first SSID may correspond to the SSID1 in Figures 7 to 11) identified by the first WLAN (the first WLAN can correspond to the above Figures 7 to 11) WLAN1 in Figure 11).
  • the first message carrying the first indication information can adopt the following possible implementation manners:
  • the first network device carries the first indication information through an extended field in the first packet.
  • the extended field may be an extended element field or an extended feature field.
  • the definition format of the first indication information may be defined in accordance with the 802.11 standard and is an extended element field
  • an exemplary solution for the added extended field may be shown in Table 13:
  • the extended field consists of 1-byte Element ID, 1-byte Length, 0 or 1-byte exTention, and variable-byte Information.
  • the Element ID is used to indicate that the extended field carries the first indication information (the value can be defined as 222);
  • the Length is used to indicate the length of the extended field;
  • the exTention 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 carrying the access process information used to instruct the IOT device to access the first network device.
  • the definition format of the first indication information can be defined in accordance with the 802.11 standard and is an extended feature field
  • an exemplary solution for the added extended field can be shown in Table 14:
  • the Element ID in the extended field is used to indicate that the extended field is a characteristic field (such as a vendor-defined field); the Length is used to indicate the length of the extended field; the Organization identifier Information is used to indicate the extended field User name; the Feature ID is used to indicate that the extended Feature field carries the first indication information (the value can be defined as 222); the Length is used to indicate the length of the extended Feature field; the Feature Information is used to indicate the Other information carried in the extended Feature field, such as the access process information used to instruct the IOT device to access the first network device, can also be said to be a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the first network device extends the reserved field of the first packet to carry the first indication information. For example, if there is a field in the reserved field of the first message that is not configured with related information, the first network device can configure the field to be set to 1, indicating that the IOT device will receive the first message when it receives the first message. Enter the WLAN1 corresponding to the SSID1.
  • the first network device carries the first indication information by extending an extension field that carries the element field of the SSID1 in the first packet.
  • the extension field in the element field used to carry the SSID1 in the first packet has no value.
  • the first network device can configure the extension field and instruct the IOT device to access the SSID1. WLAN1.
  • the extension field can be configured to 1 or 0, which is not specifically limited here.
  • the first indication information may be referred to as a network descriptor (Network Description, ND).
  • the first network device is a wireless access point or a control and management device (that is, equivalent to the wireless access point 1 or the control and management device in Figures 7 to 11).
  • the first message may be the wireless network disassociation frame or http Restful interface message in Figures 7 to 11; then the first indication information carried in the first message received by the IOT device (the first The indication information may correspond to the indication information 2 in Figures 7 to 11 above) used to instruct the IOT device to access the first SSID for the first time (the first SSID can correspond to the SSID2 in Figures 7 to 11).
  • a WLAN (the first WLAN may correspond to WLAN2 in Figs. 7 to 11).
  • the first message carrying the first indication information can adopt the following possible implementation manners:
  • the first network device carries the first indication information through an extended field in the first packet.
  • the extended field may be an extended element field or an extended feature field.
  • the definition format of the first indication information may be defined in accordance with the 802.11 standard and is an extended element field
  • an exemplary solution for the added extended field may be shown in Table 15:
  • the extended field consists of 1-byte Element ID, 1-byte Length, 0 or 1-byte exTention, and variable-byte Information.
  • the Element ID is used to indicate that the extended field carries the first indication information (the value can be defined as 222);
  • the Length is used to indicate the length of the extended field;
  • the exTention 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.
  • the access procedure information may also be referred to as a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the definition format of the first indication information can be defined in accordance with the 802.11 standard and is an extended feature field
  • an exemplary solution for the added extended field can be shown in Table 16:
  • the Element ID in the extended field is used to indicate that the extended field is a characteristic field (such as a vendor-defined field); the Length is used to indicate the length of the extended field; the Organization identifier Information is used to indicate the extended field User name; the Feature ID is used to indicate that the extended Feature field carries the first indication information (the value can be defined as 222); the Length is used to indicate the length of the extended Feature field; the Feature Information is used to indicate the Other information carried in the extended Feature field. For example, carry the SSID2 for secondary access of the IOT device, access parameters, and access process information for instructing the IOT device to access the first network device.
  • the access procedure information may also be referred to as a "version number".
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • version number when the version number is 1.0, it corresponds to the access process for one IOT device to access the wireless access point; and when the version number is 2.0, it corresponds to the access process for another IOT device to access the wireless access point.
  • the first indication information may be referred to as a second access information descriptor (Second Access Description, SAD).
  • the IOT device sends an access request according to the first indication information to request access to the first WLAN.
  • the IOT device 1300 includes: a receiving module 1301 and a sending module 1302.
  • the device 1300 may be the IOT device in the foregoing method embodiment, or may be one or more chips in the IOT device.
  • the device 1300 may be used to perform part or all of the functions of the IOT device in the foregoing method embodiment.
  • the receiving module 1301 may be used to perform step 701 in the foregoing method embodiment, or to perform step 801 in the foregoing method embodiment, or to perform step 902 in the foregoing method embodiment, or to perform the foregoing Step 1001 in the method embodiment is used to perform step 1101 and step 1104 in the above method embodiment.
  • the receiving module 1301 obtains a first packet sent by the first network device, where the first packet carries at least one first service set identifier SSID and first indication information, and the first indication information is used to indicate all The IOT device accesses the first wireless local area network WLAN identified by the first SSID.
  • the sending module 1302 may be used to perform step 702 in the foregoing method embodiment, or used to perform step 802 in the foregoing method embodiment, or used to perform step 903 in the foregoing method embodiment, or used to perform the foregoing method.
  • Step 1002 in the embodiment may be used to execute step 1102 and step 1105 in the foregoing method embodiment.
  • the sending module 1302 sends a first access request according to the first indication information to request access to the first WLAN.
  • the device 1300 further includes a storage module, which is coupled to the processing module, so that the processing module can execute the computer-executable instructions stored in the storage module to implement the functions of the IOT device in the foregoing method embodiment.
  • the storage module optionally included in the device 1300 may be a storage unit in the chip, such as a register, a cache, etc., and the storage module may also be a storage unit located outside the chip, such as a read-only memory (read-only memory). Only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • FIG. 14 shows a possible structural schematic diagram of an IOT device 1400 in the foregoing embodiment.
  • the device 1400 may be configured as the foregoing IOT device.
  • the device 1400 may include: a processor 1402, a computer-readable storage medium/memory 1403, a transceiver 1404, an input device 1405 and an output device 1406, and a bus 1401.
  • the processor, transceiver, computer-readable storage medium, etc. are connected by a bus.
  • the embodiments of the present application do not limit the specific connection medium between the foregoing components.
  • the transceiver 1404 obtains a first message sent by a first network device, where the first message carries at least one first service set identifier SSID and first indication information, and the first indication information is used for Instruct the IOT device to access the first wireless local area network WLAN identified by the first SSID; according to the first indication information, send a first access request to request access to the first WLAN.
  • the first message carries at least one first service set identifier SSID and first indication information
  • the first indication information is used for Instruct the IOT device to access the first wireless local area network WLAN identified by the first SSID; according to the first indication information, send a first access request to request access to the first WLAN.
  • the processor 1402 may include a baseband circuit.
  • the request information may be data encapsulated and encoded according to a protocol to generate the first access request.
  • the transceiver 1404 may include a radio frequency circuit to perform processing such as modulation and amplification on the first access request and then send it to the network device.
  • the processor 1402 may run an operating system to control functions between various devices and devices.
  • the transceiver 1404 may include a baseband circuit and a radio frequency circuit.
  • the request information or data may be processed by the baseband circuit and the radio frequency circuit and sent to the network device.
  • the transceiver 1404 and the processor 1402 can implement the corresponding steps in any of the foregoing embodiments in FIG. 7 to FIG. 12, and details are not described herein again.
  • Figure 14 only shows the simplified design of the IOT device.
  • the IOT device can include any number of transceivers, processors, memories, etc., and all IOT devices that can implement the application are in Within the scope of protection of this application.
  • the processor 1402 involved in the foregoing device 1400 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, etc., or may be an application-specific integrated circuit (ASIC), Or one or more integrated circuits used to control the execution of the program of this application. It may also be a digital signal processor (DSP), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components.
  • DSP digital signal processor
  • FPGA field-programmable gate array
  • the controller/processor may also be a combination for realizing computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the processor usually executes logic and arithmetic operations based on program instructions stored in the memory.
  • the aforementioned bus 1401 may be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
  • PCI peripheral component interconnect standard
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 14, but it does not mean that there is only one bus or one type of bus.
  • the aforementioned computer-readable storage medium/memory 1403 may also store an operating system and other application programs.
  • the program may include program code, and the program code includes computer operation instructions.
  • the above-mentioned memory may be read-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (RAM), information that can be stored, and other types of static storage devices. Instructions for other types of dynamic storage devices, disk storage, etc.
  • the memory 1403 may be a combination of the above storage types.
  • the above-mentioned computer-readable storage medium/memory may be in the processor, may also be external to the processor, or distributed on multiple entities including the processor or processing circuit.
  • the above-mentioned computer-readable storage medium/memory may be embodied in a computer program product.
  • the computer program product may include a computer-readable medium in packaging materials.
  • the embodiments of the present application also provide a general-purpose processing system, for example, commonly referred to as a chip.
  • the general-purpose processing system includes: one or more microprocessors that provide processor functions; and an external memory that provides at least a part of a storage medium , All of these are connected with other supporting circuits through an external bus architecture.
  • the processor is caused to execute part or all of the steps in the IOT device automatic access WLAN method in the embodiments described in FIG. 7 to FIG. 12, for example, step 701 in FIG. 7 To step 702, step 801 to step 802 in Fig. 8, step 902 to step 903 in Fig. 9, step 1001 to step 1002 in Fig. 10, step 1101 to step 1102 and step 1104 to step 1105 in Fig. 11, And/or other processes used in the techniques described in this application.
  • the steps of the method or algorithm described in combination with the disclosure of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, which can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage known in the art Medium.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in the IOT device.
  • the processor and the storage medium may also exist as discrete components in the user equipment.
  • the network device 1500 includes: a sending module 1501 and a receiving module 1502.
  • the device 1500 may be a wireless access point or a control and management device in the foregoing method embodiment, or may be one or more chips in a wireless access point or a control and management device.
  • the device 1500 may be used to perform part or all of the functions of the wireless access point or the control and management device in the foregoing method embodiment.
  • the sending module 1501 may be used to perform step 701 in the above method embodiment, or used to perform step 802 in the above method embodiment, or used to perform step 902 in the above method embodiment, or used to perform the above method. Step 1101 in the method embodiment.
  • the sending module 1501 sends a first message to the IOT device, where the first message carries at least one first service set identifier SSID and first indication information, and the first indication information is used to indicate the IOT The device accesses the first wireless local area network WLAN identified by the first SSID.
  • the receiving module 1502 may be used to perform step 701 or step 703 in the foregoing method embodiment, or used to perform step 801, step 803, or step 804 in the foregoing method embodiment, or used to perform step 801, step 803, or step 804 in the foregoing method embodiment.
  • the receiving module 1502 receives a first access request sent by the IOT device to request access to the first WLAN.
  • the device 1500 further includes a storage module, which is coupled to the processing module, so that the processing module can execute the computer-executable instructions stored in the storage module to implement the functions of the wireless access point or control and management device in the foregoing method embodiment.
  • the storage module optionally included in the device 1500 may be a storage unit in the chip, such as a register, a cache, etc., and the storage module may also be a storage unit located outside the chip, such as a read-only memory (read-only memory). Only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • FIG. 16 shows a schematic diagram of a possible structure of a network device 1600 in the foregoing embodiment.
  • the device 1600 may be configured as the aforementioned wireless access point or control management device.
  • the device 1600 may include a processor 1602, a computer-readable storage medium/memory 1603, a transceiver 1604, an input device 1605 and an output device 1606, and a bus 1601.
  • the processor, transceiver, computer-readable storage medium, etc. are connected by a bus.
  • the embodiments of the present application do not limit the specific connection medium between the foregoing components.
  • the transceiver 1604 sends a first message to the IOT device, where the first message carries at least one first service set identifier SSID and first indication information, and the first indication information is used to indicate the IOT device Accessing the first wireless local area network WLAN identified by the first SSID; receiving a first access request sent by the IOT device for accessing the first WLAN.
  • the processor 1602 may include a baseband circuit. For example, it may perform data encapsulation, encoding, etc. on the SSID and indication information according to the protocol to generate a message.
  • the transceiver 1604 may include a radio frequency circuit to perform processing such as modulation and amplification on the message before sending it to the IOT device.
  • the processor 1602 may run an operating system to control functions between various devices and devices.
  • the transceiver 1604 may include a baseband circuit and a radio frequency circuit.
  • the SSID and indication information may be processed by the baseband circuit and the radio frequency circuit and sent to the IOT device.
  • the transceiver 1604 and the processor 1602 can implement the corresponding steps in any of the foregoing embodiments in FIG. 7 to FIG. 12, and details are not described herein again.
  • Figure 16 only shows the simplified design of the network device.
  • the network device can include any number of transceivers, processors, memories, etc., and all of them can implement the wireless access point of this application. Or control and management equipment are within the scope of protection of this application.
  • the processor 1602 involved in the above device 1600 may be a general-purpose processor, such as a general-purpose central processing unit, a network processor, a microprocessor, etc., may also be an application-specific integrated circuit, or one or more programs used to control the solution of the present application Implementation of integrated circuits. It can also be a digital signal processor, a field programmable gate array or other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
  • the controller/processor may also be a combination for realizing computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the processor usually executes logic and arithmetic operations based on program instructions stored in the memory.
  • the aforementioned bus 1601 may be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (extended industry wireless access point or control and management device ndard architecture, EISA) bus, etc.
  • PCI peripheral component interconnect standard
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 16, but it does not mean that there is only one bus or one type of bus.
  • the aforementioned computer-readable storage medium/memory 1603 may also store an operating system and other application programs.
  • the program may include program code, and the program code includes computer operation instructions.
  • the above-mentioned memory may be read-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (RAM), information that can be stored, and other types of static storage devices. Instructions for other types of dynamic storage devices, disk storage, etc.
  • the memory 1603 may be a combination of the storage types described above.
  • the above-mentioned computer-readable storage medium/memory may be in the processor, may also be external to the processor, or distributed on multiple entities including the processor or processing circuit.
  • the above-mentioned computer-readable storage medium/memory may be embodied in a computer program product.
  • the computer program product may include a computer-readable medium in packaging materials.
  • the embodiments of the present application also provide a general-purpose processing system, for example, commonly referred to as a chip.
  • the general-purpose processing system includes: one or more microprocessors that provide processor functions; and an external memory that provides at least a part of a storage medium , All of these are connected with other supporting circuits through an external bus architecture.
  • the processor is caused to execute part or all of the steps of the wireless access point or the control management device in the method for the IOT device to automatically access the WLAN in the embodiments described in FIG. 7 to FIG. 12, And/or other processes used in the techniques described in this application.
  • the steps of the method or algorithm described in combination with the disclosure of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, which can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage known in the art Medium.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in a network device.
  • the processor and the storage medium may also exist as discrete components in the network device.
  • An embodiment of the communication system 1700 in the embodiment of the present application includes:
  • the IOT device 1701 and the network device 1702 realize data transmission through a network system
  • the IOT device 1701 has all the functions of the IOT device in FIGS. 7-12, and the network device 1702 has all the functions of the network device in FIGS. 7-12.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

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

Abstract

公开了一种物联网(IOT)设备的自动接入无线局域网(WLAN)方法以及装置,用于实现IOT设备可以自动接入WLAN,减少网络运营人员的运营工作量,从而降低企业成本。本申请实施例方法包括:网络设备向该IOT设备发送携带有第一SSID和指示该IOT设备接入该第一SSID所标识的第一WLAN的第一指示信息的第一报文,然后该IOT设备解析该第一报文获取该第一指示信息,并根据该第一指示信息发送第一接入请求,请求接入该第一SSID所标识的第一WLAN。

Description

一种物联网设备自动接入无线局域网的方法以及装置
本申请要求于2020年02月10日提交的申请号为202010085339.1、申请名称为“一种IOT终端自动接入WLAN的方法”的中国专利申请,以及2020年04月28日提交的申请号为202010352236.7、申请名称为“一种物联网IOT设备自动接入无线局域网WLAN的方法以及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,尤其涉及一种物联网(Internet of things,IOT)设备自动接入无线局域网WLAN的方法以及装置。
背景技术
随着现代企业数字化、智能化的转型,企业园区出现了越来越多的物联网终端。比如早期的打印机、摄像头到最新的智能发光二极管(light-emitting diode,LED)灯、会议室投屏、会议终端等。企业对园区网络的需求也从单纯的办公系统的接入(如笔记本电脑和台式电脑)转化为办公系统和各种IOT终端的统一接入。
伴随着无线技术的发展,物联网终端在进行数字化、智能化转型时越来越多的选择便捷的无线化技术。无线技术省去了布线的工程复杂度,特别适用于存量终端的改造场景。其中无线上网(如WIFI)技术是常见的选择之一,特别是交互数据量较大的场景,如摄像头、人脸识别门禁等。
在使用WIFI技术接入无线网络时,在连接阶段,需要在终端侧指定接入的服务集标识符(service set identifier,SSID)。例如手机连接家用无线路由器时,需要在WIFI连接界面选择一个预先在路由器上设置的SSID。在企业园区场景下,由于可能存在大量的基于WIFI的物联网终端,如果我们需要逐台设备去设置IoT终端需要连接的SSID,将会给网络运营人员带来较大的运营工作量,增加了企业成本。
发明内容
本申请提供了一种IOT设备自动接入无线局域网WLAN的方法以及装置,用于实现IOT设备可以自动接入WLAN,减少网络运营人员的运营工作量,从而降低企业成本。
第一方面,本申请提供一种IOT设备自动接入WLAN的方法,其具体包括:第一网络设备向该IOT设备发送携带有第一SSID和指示该IOT设备接入该第一SSID所标识的第一WLAN的第一指示信息的第一报文;然后该IOT设备解析该第一报文获取该第一指示信息,并根据该第一指示信息发送第一接入请求,请求接入该第一SSID所标识的第一WLAN。
该网络设备发送的报文中直接携带触发该IOT设备接入SSID所标识的WLAN的指示信息,从而节省了IOT设备从多个SSID中手动配置对应的SSID的过程,实现了自动接入WLAN的功能。进而减少网络运营人员的运营工作量,从而降低企业成本。
可选的,该第一接入请求可以是该IOT设备请求接入该第一WLAN的首次接入请求;或者该第一接入请求为该IOT设备请求接入该第一WLAN的二次接入请求。
基于上述方案,在该第一接入请求为首次接入请求时,该第一报文携带该第一指示信息可以采用如下几种可能实现方式:
一种可能实现方式中,该第一报文通过扩展的字段来携带该第一指示信息。具体来说, 该扩展的字段可以是扩展的元素(element)字段也可以是扩展的特性(feature)字段。
另一种可能实现方式中,通过扩展该第一报文的保留字段来携带该第一指示信息。
另一种可能实现方式中,通过扩展该第一报文中携带该第一SSID的element字段的扩展(extention)字段来携带该第一指示信息。
可选的,该第一指示信息包括网络描述符(Network Description,ND)或者接入信息描述符。
可选的,该ND用于指示该第一SSID为IOT SSID。即该ND指示该SSID为该IOT设备可以自动接入的SSID。这样可以用于触发该IOT设备自动接入该SSID所标识的WLAN。
可选的,该第一指示信息中用于指示该IOT设备接入该第一WLAN所需要的接入参数。其中,该接入参数包括但不限于认证信息以及加密信息中的至少一种。
可选的,在此场景中,该第一报文可以是信标帧或探测响应帧。该第一网络设备为第一无线接入点(AP)。
基于上述方案,在该第一接入请求为二次接入请求时,该第一报文携带该第一指示信息可以采用如下几种可能实现方式:一种可能实现方式中,该第一报文通过扩展的字段来携带该第一指示信息。具体来说,该扩展的字段可以是扩展的element字段也可以是扩展的特性feature字段。
可选的,该第一指示信息包括网络描述符(Network Description,ND)或者接入信息描述符。
可选的,该第一指示信息中用于指示该IOT设备接入该第一WLAN所需要的接入参数。其中,该接入参数包括但不限于认证信息以及加密信息中的至少一种。
可选的,该接入信息描述符用于指示该第一SSID为二次接入SSID。
可选的,在该IOT设备接收该第一报文之前,即该IOT设备进行二次接入之前,该IOT设备接收到第二报文,该第二报文携带第二SSID和第二指示信息,其中,该第二指示信息用于指示该IOT设备接入该第二SSID所标识的第二WLAN;然后根据该第二指示信息,该IOT设备发送第二接入请求,请求接入该第二WLAN。
在此方案中,该第一报文为无线网络去关联帧或http Restful接口报文。该第二报文为信标帧或探测响应帧。
可选的,在此场景下,该第一网络设备为无线接入点AP或者控制管理设备。
可选的,该第一报文还可以携带第三指示信息,该第三指示信息用于指示该IOT设备接入WLAN时的接入流程。该第二报文还可以携带第四指示信息,该第四指示信息用于指示该IOT设备接入WLAN时的接入流程。这样可以实时通知该IOT设备更改接入流程,从而保证接入的正确性。
第二方面,本申请提供一种IOT设备自动接入WLAN的方法,具体包括:该第一网络设备向该IOT设备发送携带有第一SSID和指示该IOT设备接入该第一SSID所标识的第一WLAN的第一指示信息的第一报文,然后该IOT设备解析该第一报文获取该第一指示信息,并根据该第一指示信息向该第一网络设备发送第一接入请求;该第一网络设备接收该IOT设备发送的请求接入该第一WLAN的第一接入请求。
该网络设备发送的报文中直接携带触发该IOT设备接入SSID所标识的WLAN的指示信息,从而节省了IOT设备从多个SSID中手动配置对应的SSID的过程,实现了自动接入WLAN的功能。进而减少网络运营人员的运营工作量,从而降低企业成本。
可选的,该第一接入请求可以是该IOT设备请求接入该第一WLAN的首次接入请求;或者该第一接入请求为该IOT设备请求接入该第一WLAN的二次接入请求。
基于上述方案,在该第一接入请求为首次接入请求时,该第一报文携带该第一指示信息可以采用如下几种可能实现方式:
一种可能实现方式中,该第一报文通过扩展的字段来携带该第一指示信息。具体来说,该扩展的字段可以是扩展的element字段也可以是扩展的特性feature字段。
另一种可能实现方式中,通过扩展该第一报文的保留字段来携带该第一指示信息。
另一种可能实现方式中,通过扩展该第一报文中携带该第一SSID的element字段的扩展extention字段来携带该第一指示信息。
可选的,该第一指示信息包括网络描述符(Network Description,ND)或者接入信息描述符。
可选的,该ND用于指示该第一SSID为IOT SSID。即该ND指示该SSID为该IOT设备可以自动接入的SSID。这样可以用于触发该IOT设备自动接入该SSID所标识的WLAN。
可选的,该第一指示信息中用于指示该IOT设备接入该第一WLAN所需要的接入参数。其中,该接入参数包括但不限于认证信息以及加密信息中的至少一种。
可选的,在此场景中,该第一报文可以是信标帧或探测响应帧。该第一网络设备为第一无线接入点AP。
基于上述方案,在该第一接入请求为二次接入请求时,该第一报文携带该第一指示信息可以采用如下几种可能实现方式:一种可能实现方式中,该第一报文通过扩展的字段来携带该第一指示信息。具体来说,该扩展的字段可以是扩展的element字段也可以是扩展的特性feature字段。
可选的,该第一指示信息包括网络描述符(Network Description,ND)或者接入信息描述符。
可选的,该第一指示信息中用于指示该IOT设备接入该第一WLAN所需要的接入参数。其中,该接入参数包括但不限于认证信息以及加密信息中的至少一种。
可选的,该接入信息描述符用于指示该第一SSID为二次接入SSID。
可选的,在该IOT设备接收该第一报文之前,即该IOT设备进行二次接入之前,该第一网络设备向该IOT设备发送第二报文,该第二报文携带第二SSID和第二指示信息,该第二指示信息用于指示该IOT设备接入该第二SSID所标识的第二WLAN;该第一网络设备接收该IOT设备发送请求接入该第二WLAN的第二接入请求。
在此方案中,该第一报文为无线网络去关联帧或http Restful接口报文。该第二报文为信标帧或探测响应帧。
可选的,在此场景下,该第一网络设备为无线接入点AP或者控制管理设备。
可选的,该第一报文还可以携带第三指示信息,该第三指示信息用于指示该IOT设备 接入WLAN时的接入流程。该第二报文还可以携带第四指示信息,该第四指示信息用于指示该IOT设备接入WLAN时的接入流程。这样可以实时通知该IOT设备更改接入流程,从而保证接入的正确性。
第三方面,本申请提供一种IOT设备,该IOT设备具有实现上述第一方面或第二方面中IOT设备的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
在一个可能的实现方式中,该IOT设备包括用于执行以上第一方面或第二方面各个步骤的单元或模块。例如,该IOT设备包括:接收模块,用于获取第一网络设备发送的第一报文,所述第一报文携带至少一个第一服务集标识符SSID和第一指示信息,所述第一指示信息用于指示所述IOT设备接入所述第一SSID所标识的第一无线局域网WLAN;
发送模块,用于根据所述第一指示信息,发送第一接入请求,请求接入所述第一WLAN。
可选的,还包括存储模块,用于保存IOT设备必要的程序指令和数据。
在一种可能的实现方式中,该IOT设备包括:处理器和收发器,所述处理器被配置为支持IOT设备执行上述第一方面或第二方面提供的方法中相应的功能。收发器用于指示IOT设备和网络设备之间的通信,向网络设备发送上述方法中所涉及的信息或指令。可选的,此IOT设备还可以包括存储器,所述存储器用于与处理器耦合,其保存IOT设备必要的程序指令和数据。
在一种可能的实现方式中,当该IOT设备配置为芯片时,该芯片包括:处理模块和收发模块,所述处理模块例如可以是处理器,此处理器用于生成接入请求,所述收发模块例如可以是该芯片上的输入/输出接口、管脚或电路等,将处理器生成的接入请求传送给与此芯片耦合的其他芯片或模块中。该处理模块可执行存储单元存储的计算机执行指令,以支持IOT设备执行上述第一方面或第二方面提供的方法。可选地,所述存储单元可以为所述芯片内的存储单元,如寄存器、缓存等,所述存储单元还可以是位于所述芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
在一种可能的实现方式中,该IOT设备包括:处理器,基带电路,射频电路和天线。其中处理器用于实现对各个电路部分功能的控制,基带电路用于生成包含信令信息接入请求,经由射频电路进行模拟转换、滤波、放大和上变频等处理后,再经由天线发送给网络设备。可选的,该IOT设备还包括存储器,其保存IOT设备必要的程序指令和数据。
其中,上述任一处提到的处理器,可以是一个通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制上述各方面IOT设备自动接入WLAN的方法的程序执行的集成电路。
第四方面,本申请提供一种网络设备,该网络设备具有实现上述第一方面或第二方面中网络设备的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
在一个可能的实现方式中,该网络设备包括用于执行以上第一方面或第二方面各个步骤的单元或模块。例如,该网络设备包括:发送模块,用于向所述IOT设备发送第一报文, 所述第一报文携带至少一个第一服务集标识符SSID和第一指示信息,所述第一指示信息用于指示所述IOT设备接入所述第一SSID所标识的第一无线局域网WLAN;
接收模块,用于接收所述IOT设备发送的请求接入所述第一WLAN的第一接入请求。
可选的,还包括存储模块,用于保存网络设备必要的程序指令和数据。
在一种可能的实现方式中,该网络设备包括:处理器和收发器,所述处理器被配置为支持网络设备执行上述第一方面或第二方面提供的方法中相应的功能。收发器用于指示网络设备和IOT设备之间的通信,向IOT设备发送上述方法中所涉及的信息或指令。可选的,此网络设备还可以包括存储器,所述存储器用于与处理器耦合,其保存网络设备必要的程序指令和数据。
在一种可能的实现方式中,当该网络设备配置为芯片时,该芯片包括:处理模块和收发模块,所述处理模块例如可以是处理器,此处理器用于生成报文,所述收发模块例如可以是该芯片上的输入/输出接口、管脚或电路等,将处理器生成的报文传送给与此芯片耦合的其他芯片或模块中。该处理模块可执行存储单元存储的计算机执行指令,以支持网络设备执行上述第一方面或第二方面提供的方法。可选地,所述存储单元可以为所述芯片内的存储单元,如寄存器、缓存等,所述存储单元还可以是位于所述芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
在一种可能的实现方式中,该网络设备包括:处理器,基带电路,射频电路和天线。其中处理器用于实现对各个电路部分功能的控制,基带电路用于生成包含信令信息报文,经由射频电路进行模拟转换、滤波、放大和上变频等处理后,再经由天线发送给IOT设备。可选的,该网络设备还包括存储器,其保存网络设备必要的程序指令和数据。
其中,上述任一处提到的处理器,可以是一个通用CPU,微处理器ASIC,或一个或多个用于控制上述各方面网络设备自动接入WLAN的方法的程序执行的集成电路。
第五方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持网络设备或IOT设备实现上述方面中所涉及的功能,例如生成或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存网络设备或IOT设备必要的程序指令和数据,以实现上述各方面中任意一方面的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。
第六方面,本申请提供一种通信系统,该系统包括上述方面所述的IOT设备和网络设备。
第七方面,本申请提供一种计算机可读存储介质,其特征在于,存储有计算机指令,当所述计算机指令在计算机上运行时,使得所述计算机执行上述第一方面或第二方面所述的方法。
第八方面,本申请提供一种计算机程序产品,其特征在于,包含程序,当所述程序在计算机上运行时,使得计算机执行上述第一方面或第二方面所述的方法。
附图说明
图1为物联网系统的一个示例性系统架构图;
图2为本申请实施例中物联网的一个示例性应用场景架构图;
图3为本申请实施例中IOT设备或网络设备的一个示例性硬件架构图;
图4为本申请实施例中网络设备的一个示例性软件组成结构示意图;
图5为本申请实施例中控制管理设备的一个示例性软件组成结构示意图;
图6为本申请实施例中IOT设备的一个示例性软件组成结构示意图;
图7为本申请实施例中IOT设备自动接入WLAN方法的一个实施例示意图;
图8为本申请实施例中IOT设备自动接入WLAN方法的另一个实施例示意图;
图9为本申请实施例中IOT设备自动接入WLAN方法的另一个实施例示意图;
图10为本申请实施例中IOT设备自动接入WLAN方法的另一个实施例示意图;
图11为本申请实施例中IOT设备自动接入WLAN方法的另一个实施例示意图;
图12为本申请实施例中IOT设备自动接入WLAN方法的另一个实施例示意图;
图13为本申请实施例中IOT设备的一个实施例示意图;
图14为本申请实施例中IOT设备的另一个实施例示意图;
图15为本申请实施例中网络设备的一个实施例示意图;
图16为本申请实施例中网络设备的另一个实施例示意图;
图17为本申请实施例中通信系统的一个实施例示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,下面结合附图,对本申请的实施例进行描述。本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块。在本申请中出现的对步骤进行的命名或者编号,并不意味着必须按照命名或者编号所指示的时间/逻辑先后顺序执行方法流程中的步骤,已经命名或者编号的流程步骤可以根据要实现的技术目的变更执行次序,只要能达到相同或者相类似的技术效果即可。本申请中所出现的单元的划分,是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个单元可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行,另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元之间的间接耦合或通信连接可以是电性或其他类似的形式,本申请中均不作限定。并且,作为分离部件说明的单元或子单元可以是也可以不是物理上的分离,可以是也可以不是物理单元,或者可以分布到多个电路单元中,可以根据实际的需要选择其中的部分或全部单元来实现本申请方案的目的。
物联网是一个基于互联网、传统电信网等信息载体,让所有能够被独立寻址的普通物 理对象实现互联互通的网络。它区别于我们熟悉的互联网:互联网连接人与人、人与物、人与信息,而物联网连接物与物。物联网是基于现在的互联网,通讯技术来建构,而不依赖与特定的硬件模块,用户可以基于自身的设备技术架构,简单轻松接入物联网。物联网的架构可以如图1所示,物联网服务器、网关设备以及IOT设备。其中,物联网服务器包括4个模块,分别为设备管理,用户管理,数据传输管理,数据管理。当然该物联网服务器也可以包括其他基于上述模块延展的功能模块。在上述结构中,物联网服务器和设备之间的通讯,本质上都是建构在通信协议之上。基于此物联网可以使用WIFI或4G或5G通信技术,甚至未来可能实现的通信技术实现设备和物联网服务器的通信。而设备与设备之间的通讯,可以有WIFI,蓝牙(Bluetooth)等通信技术。因此该物联网架构中,网关设备可以为路由器、蓝牙设备、基站等,如图2所示,本申请实施例提供的技术方案可以用于如图2所示的物联网应用场景,该应用场景适合于所有的IOT设备都是运行在一个局部环境中,设备通过WIFI或者有线连接到路由器,然后由路由器统一连接的物联网服务器,就如同我们家中装一个wifi路由器上网的架构,而家里的冰箱、电视、手机以及空调均可以通过路由器接入WLAN。目前在使用WIFI技术接入无线网络时,在连接阶段,需要在终端侧指定接入的SSID。例如手机连接家用无线路由器时,需要在WIFI连接界面选择一个预先在路由器上设置的SSID。在企业园区场景下,由于可能存在大量的基于WIFI的物联网终端,如果我们需要逐台设备去设置IoT终端需要连接的SSID,将会给网络运营人员带来较大的运营工作量,增加了企业成本。
为了解决这一问题,本申请实施例提供了一种IOT终端自动接入WLAN的方法,该网络设备向该IOT设备发送携带有SSID和指示该IOT设备接入该SSID所标识的WLAN的指示信息的报文,然后该IOT设备解析该报文获取该指示信息,并根据该指示信息发送接入请求,请求接入该SSID所标识的WLAN。
而本申请实施例中涉及到的网络设备(无线接入点、接入控制器以及交换器)以及控制管理设备的硬件结构与现有网络设备的硬件结构相同,一种具体的实施方式中,可以如图3所示,该网络设备主要包括主控板、背板、接口板等几部分,而主控板上的CPU主要完成任务调度和数据转发控制,包括网络中的控制面通信和转发面通信,如数据的封装与解封装、流量转发信息的查询等;主控板上的交换网和接口板配合完成网络数据转发;主控板上的存储器用于存储和交换各类数据或软件,包括网络通信时的用户接入信息以及转发设备的信息。
而本申请实施例中的网络设备在软件结构和特性上的一个示例性方案如图4所示,在网络层或传输层上中增加了可扩展的身份验证协议(Extensible Authentication Protocol,EAP)、动态主机配置协议(Dynamic Host Configuration Protocol,DHCP)、链路层发现协议(Link Layer Discovery Protocol,LLDP)、远程用户拨号认证系统(Remote Authentication Dial In User Service,Radius)等信息,而在链路层增加了802.11协议;而在认证授权计费(Authentication、Authorization、Accounting,AAA)上,增加了接入认证和AAA。
而控制管理设备(即图5所示的控制器)在软件结构和特性上的一个示例性方案如图 5所示,在认证业务管理中增加了用户管理、制造商描述(Manufacturer Usage Descriptions,MUD)以及策略管理等功能,而策略管理包括授权虚拟局域网(VLAN)管理以及访问控制列表(ACL)管理。
而该IOT设备(即图6所示的终端)的硬件结构和软件结构与通用的软件完全一样,只是在通用的软件功能的基础增加了与本发明认证业务管理等相关的功能,其在软件结构和特性上的一个示例性方案如图6所示,该WIFI驱动需要修改至可以接收802.11帧,而传输控制协议/网际协议(Transmission Control Protocol/Internet Protocol,TCP/IP)需要增加802.11协议以及TCP/IP协议,而在通信功能上增加入网认证以及安全启动功能。
本申请实施例中,该IOT设备可以为具有无线接入WLAN功能的智能设备。而该IOT设备之间的通讯可以是WIFI或者是蓝牙等其他可能的通讯技术。
可以参阅图7所示,图7为本申请实施例提供的IOT设备首次自动接入WLAN方法700的流程示意图。如图7所示,本申请实施例提供的IOT设备自动接入WLAN方法700包括:
701、IOT设备侦听无线接入点1发送的信标帧,该信标帧携带SSID1和指示信息1,该指示信息1用于指示该IOT设备接入该SSID1标识的WLAN1。
该IOT设备在上电之后,侦听该无线接入点1定时发送的信标帧,该信标帧为无线接入点在指定间隔发送的有规律的无线信号(类似心跳包),其主要用于定位和同步使用,该信标帧也称为beacon帧。其中,该信标帧中携带SSID1和指示信息1,而该指示信息1用于指示该IOT设备接入该SSID1所标识的WLAN1。
这时该无线接入点1通过信标帧携带该指示信息1可以采用如下几种可能实现方式:
一种可能实现方式中,该无线接入点1通过该信标帧中扩展的字段来携带该指示信息1。具体来说,该扩展的字段可以是扩展的element字段也可以是扩展的特性字段。比如,该指示信息1的定义格式可以按照802.11标准定义且为扩展的element字段时,其增加的扩展字段的一种示例性方案可以如表1所示:
表1
Element ID Length exTention Information
即该扩展的字段由1字节的Element ID,1字节的Length,0或者1字节的exTention和可变字节的Information组成。其中,该Element ID用于指示该扩展的字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的字段的长度;该exTention用于指示该扩展的字段是否有其他的扩展信息;该Information用于指示该扩展的字段中携带的其他信息,比如携带该用于指示该IOT设备接入该无线接入点1的接入流程信息,也可以说是“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
若该指示信息1的定义格式可以按照802.11标准定义且为扩展的feature字段时,其增加的扩展字段的一种示例性方案可以如表2所示:
表2
Figure PCTCN2020115822-appb-000001
即该扩展的字段中该Element ID用于指示该扩展的字段为特性字段(如厂商自定义字段);该Length用于指示该扩展的字段的长度;该Organization identifier Information用于指示该扩展的字段所属用户名;该Feature ID用于指示该扩展的Feature字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的Feature字段的长度;该Feature Information用于指示该扩展的Feature字段中携带的其他信息,比如携带该用于指示该IOT设备接入该无线接入点1的接入流程信息,也可以说是“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
另一种可能实现方式中,该无线接入点1通过扩展该信标帧的保留字段来携带该指示信息1。比如利用该信标帧中的保留字段中存在一个字段未配置相关信息,则该无线接入点1可以配置该字段取值为1时,指示该IOT设备接收到该信标帧的时候接入该SSID1对应的WLAN1。
另一种可能实现方式中,该无线接入点1通过扩展该信标帧中携带该SSID1的element字段的扩展extention字段来携带该指示信息1。比如该信标帧中用于携带该SSID1的element字段中的extention字段未取值,这时该无线接入点1可以对该extention字段进行配置,并用于指示该IOT设备接入该SSID1标识的WLAN1。此时该extention字段可以配置为1或者配置为0,具体此处不做限定。
本实施例中,该指示信息1可以称为网络描述符(Network Description,ND)。
702、该IOT设备根据该指示信息1向该无线接入点1发送接入请求1。
该IOT设备在接收到该信标帧之后,解析该信标帧获取到该指示信息1。然后该IOT设备根据该指示信息1,向归属于该SSID1所标识的WLAN1的无线接入点1发送接入请求1。
703、该无线接入点1接收该接入请求1并与该IOT设备完成接入认证。
该无线接入点1接收该IOT设备的接入请求1,并对于认证方式以及认证信息进行验证,若验证通过,则该无线接入点1与该IOT设备完成接入认证。
可以理解的是,该无线接入点1与该IOT设备实现认证的方式包括但不限于如下几种可能实现方式:开发系统身份认证(open-system authentication)、共享密钥认证(shared-key authentication)、WPA PSK认证(Pre-shared key)和8021.1X EAP认证。
本实施例中,该无线接入点1发送的信标帧中直接携带触发该IOT设备接入SSID所标识的WLAN的指示信息,从而节省了IOT设备从多个SSID中手动配置对应的SSID的过程, 实现了自动接入WLAN的功能。进而减少网络运营人员的运营工作量,从而降低企业成本。同时采用接入过程中的已有的报文携带该指示信息,可以节省信令开销。而该IOT设备被动获取无线网的接入信息,可以使该IOT设备处于省电模式。
图8为本申请实施例提供的IOT设备首次自动接入WLAN方法800的流程示意图。如图8所示,本申请实施例提供的IOT设备自动接入WLAN方法800包括:
801、该IOT设备向该无线接入点1发送探测请求帧。
该IOT设备在上电之后,与该无线接入点1发起探测请求帧(Probe Request),用于请求无线接入点1发送相应的接入信息。即该IOT设备定期地在其支持的信道列表中,发送探测请求帧(Probe Request)扫描无线网络。
802、该无线接入点1向该IOT设备发送探测响应帧,该探测响应帧携带SSID1和指示信息1,该指示信息1用于指示该IOT设备接入该SSID1标识的WLAN1。
该无线接入点1在接收到该IOT设备发送的探测请求帧之后,该无线接入点1向该IOT设备发送探测响应帧(比如探测响应帧,也称为Probe Response帧),同时该探测响应帧中携带携带SSID1和指示信息1,而该指示信息1用于指示该IOT设备接入该SSID1所标识的WLAN1。即当无线接入点收到探测请求帧后,会回应探测响应帧(Probe Response)通告可以提供的无线网络信息,IOT设备通过主动扫描,可以主动获知可使用的无线服务。
这时该无线接入点1通过探测响应帧携带该指示信息1可以采用如下几种可能实现方式:
一种可能实现方式中,该无线接入点1通过该探测响应帧中扩展的字段来携带该指示信息1。具体来说,该扩展字段可以是扩展的element字段也可以是扩展的特性feature字段。比如,该指示信息1的定义格式可以按照802.11标准定义且为扩展的element字段时,其增加的扩展字段的一种示例性方案可以如表3所示:
表3
Element ID Length exTention Information
即该扩展的字段由1字节的Element ID,1字节的Length,0或者1字节的exTention和可变字节的Information组成。其中,该Element ID用于指示该扩展的字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的字段的长度;该exTention用于指示该扩展的字段是否有其他的扩展信息;该Information用于指示该扩展的字段中携带的其他信息,比如携带该用于指示该IOT设备接入该无线接入点1的接入流程信息,也可以说是“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
若该指示信息1的定义格式可以按照802.11标准定义且为扩展的feature字段时,其增加的扩展字段的一种示例性方案可以如表4所示:
表4
Figure PCTCN2020115822-appb-000002
即该扩展的字段中该Element ID用于指示该扩展的字段为特性字段(如厂商自定义字段);该Length用于指示该扩展的字段的长度;该Organization identifier Information用于指示该扩展的字段所属用户名;该Feature ID用于指示该扩展的Feature字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的Feature字段的长度;该Feature Information用于指示该扩展的Feature字段中携带的其他信息,比如携带该用于指示该IOT设备接入该无线接入点1的接入流程信息。该接入流程信息也可以称为“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
另一种可能实现方式中,该无线接入点1通过扩展该探测响应帧的保留字段来携带该指示信息1。比如利用该探测响应帧中的保留字段中存在一个字段未配置相关信息,则该无线接入点1可以配置该字段取值为1时,指示该IOT设备接收到该探测响应帧的时候接入该SSID1对应的WLAN1。
另一种可能实现方式中,该无线接入点1通过扩展该探测响应帧中携带该SSID1的element字段的扩展extention字段来携带该指示信息1。比如该探测响应帧中用于携带该SSID1的element字段中的extention字段未取值,这时该无线接入点1可以对该extention字段进行配置,并用于指示该IOT设备接入该SSID1标识的WLAN1。此时该extention字段可以配置为1或者配置为0,具体此处不做限定。
本实施例中,该指示信息1可以称为网络描述符(Network Description,ND)。
803、该IOT设备根据该指示信息1向该无线接入点1发送接入请求。
该IOT设备在接收到该探测响应帧之后,解析该探测响应帧获取到该指示信息1。然后该IOT设备根据该指示信息1,向归属于该SSID1所标识的WLAN1的无线接入点1发送接入请求1。
804、该无线接入点1接收该接入请求1并与该IOT设备完成接入认证。
该无线接入点1响应该IOT设备的接入请求1,并对于认证方式以及认证信息进行验证,若验证通过,则该无线接入点1与该IOT设备完成接入认证。
可以理解的是,该无线接入点1与该IOT设备实现认证的方式包括但不限于如下几种可能实现方式:开发系统身份认证(open-system authentication)、共享密钥认证(shared-key authentication)、WPA PSK认证(Pre-shared key)和8021.1X EAP认证。
本实施例中,该无线接入点1发送的探测响应帧中直接携带触发该IOT设备接入SSID 所标识的WLAN的指示信息,从而节省了IOT设备从多个SSID中手动配置对应的SSID的过程,实现了自动接入WLAN的功能。进而减少网络运营人员的运营工作量,从而降低企业成本。同时采用接入过程中的已有的报文携带该指示信息,可以节省信令开销。而该IOT设备主动向该无线接入点发送探测请求帧,可以更有效的获取无线网的接入信息。
在一个具体实施例中,基于上述图7至图8的首次接入方法,本申请实施例提供的IOT设备自动接入WLAN方法还包括如图9所示的二次接入流程示意图。如图9所示,本申请实施例提供的IOT设备自动接入WLAN方法900包括:
901、该无线接入点1获取控制管理设备发送的控制策略,该控制策略携带该IOT设备二次接入的SSID 2。
该无线接入点1在与该IOT设备进行接入认证的过程中,该无线接入点1与该控制管理设备之间进行授权信息交互,该无线接入点1接收到该控制管理设备发送的控制策略。其中,该控制策略用于指示该IOT设备二次接入的SSID2以及指示信息2,即用于指示该IOT设备真正待接入的业务SSID,以及用于触发该IOT设备自动接入该SSID2所标识的WLAN2的指示信息2。
902、该无线接入点1向该IOT设备发送无线网去关联帧,该无线网去关联帧携带该SSID2和指示信息2,该指示信息2用于指示该IOT设备接入该SSID2标识的WLAN 2。
该无线接入点1根据该控制策略向该IOT设备发送无线网去关联帧(比如Disassociate帧、Deauth帧),其中,该无线网去关联帧中携带了该IOT设备二次接入的SSID2以及相关的接入参数。其中,该接入参数包括认证信息和加密信息。而认证信息包括认证方式,该认证方式包括但不限于开发系统身份认证(open-system authentication)、共享密钥认证(shared-key authentication)、WPA PSK认证(Pre-shared key)和8021.1X EAP认证。
这时该无线接入点1通过无线网去关联帧携带该指示信息2可以采用如下几种可能实现方式:
一种可能实现方式中,该无线接入点1通过该无线网去关联帧中扩展的字段来携带该指示信息2。具体来说,该扩展字段可以是扩展的element字段也可以是扩展的特性feature字段。比如,该指示信息1的定义格式可以按照802.11标准定义且为扩展的element字段时,其增加的扩展字段的一种示例性方案可以如表5所示:
表5
Element ID Length exTention Information
即该扩展的字段由1字节的Element ID,1字节的Length,0或者1字节的exTention和可变字节的Information组成。其中,该Element ID用于指示该扩展的字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的字段的长度;该exTention用于指示该扩展的字段是否有其他的扩展信息;该Information用于指示该扩展的字段中携带的其他信息。比如携带该IOT设备二次接入的SSID2、接入参数以及用于指示该IOT设备接入该无线接入点1的接入流程信息。该接入流程信息也可以称为“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在 相同的部分。
若该指示信息1的定义格式可以按照802.11标准定义且为扩展的feature字段时,其增加的扩展字段的一种示例性方案可以如表6所示:
表6
Figure PCTCN2020115822-appb-000003
即该扩展的字段中该Element ID用于指示该扩展的字段为特性字段(如厂商自定义字段);该Length用于指示该扩展的字段的长度;该Organization identifier Information用于指示该扩展的字段所属用户名;该Feature ID用于指示该扩展的Feature字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的Feature字段的长度;该Feature Information用于指示该扩展的Feature字段中携带的其他信息。比如携带该IOT设备二次接入的SSID2、接入参数以及用于指示该IOT设备接入该无线接入点1的接入流程信息。该接入流程信息也可以称为“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
本实施例中,该指示信息2可以称为二次接入信息描述符(Second Access Description,SAD)。
903、该IOT设备根据该指示信息2向无线接入点2发送接入请求2。
该IOT设备在接收到该无线网去关联帧之后,解析该无线网去关联帧获取到该指示信息2。该IOT设备与该无线接入点1解除关联,并根据该指示信息2向归属于该SSID2所标识的WLAN2的无线接入点2发送接入请求2。
904、该无线接入点2接收该接入请求2并与该IOT设备完成接入认证。
该无线接入点2响应该IOT设备的接入请求2,并对于认证方式以及认证信息进行验证,若验证通过,则该无线接入点2与该IOT设备完成接入认证。
可以理解的是,该无线接入点2与该IOT设备实现认证的方式包括但不限于如下几种可能实现方式:开发系统身份认证(open-system authentication)、共享密钥认证(shared-key authentication)、WPA PSK(pre-shared key)认证和802.1X EAP认证。
本实施例中,该无线接入点1在已接入无线网的情况下,该无线接入点1还可以从控制管理设备获取该IOT设备的二次接入的SSID以及指示信息,并向该IOT设备发送无线去关联帧,从而触发该IOT设备二次接入SSID所标识的WLAN,避免手动配置该IOT设备二次接入的SSID的过程,实现了自动接入WLAN的功能。进而减少网络运营人员的运营工作量,从而降低企业成本。同时采用接入过程中的已有的报文携带该指示信息,可以节省信令开销。
图10为本申请实施例提供的IOT设备自动接入WLAN方法1000的流程示意图。如图10所示,本申请实施例提供的IOT设备自动接入WLAN方法1000包括:
1001、该控制管理设备向该IOT设备发送http Restful接口报文,该http Restful接口报文携带SSID 2和指示信息2,该指示信息2用于指示该IOT设备接入该SSID 2标识的WLAN 2。
该控制管理设备利用http Restful接口报文向该IOT设备发送二次接入的SSID2以及相关的接入参数。其中,该接入参数包括认证信息和加密信息。而认证信息包括认证方式,该认证方式包括但不限于开发系统身份认证、共享密钥认证、WPA PSK认证和8021.1X EAP认证。
这时该控制管理设备通过http Restful接口报文携带该指示信息2可以采用如下几种可能实现方式:
一种可能实现方式中,该控制管理设备通过该http Restful接口报文中扩展的字段来携带该指示信息2。具体来说,该扩展字段可以是扩展的element字段也可以是扩展的特性feature字段。比如,该指示信息1的定义格式可以按照802.11标准定义且为扩展的element字段时,其增加的扩展字段的一种示例性方案可以如表7所示:
表7
Element ID Length exTention Information
即该扩展的字段由1字节的Element ID,1字节的Length,0或者1字节的exTention和可变字节的Information组成。其中,该Element ID用于指示该扩展的字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的字段的长度;该exTention用于指示该扩展的字段是否有其他的扩展信息;该Information用于指示该扩展的字段中携带的其他信息。比如携带该IOT设备二次接入的SSID2、接入参数以及用于指示该IOT设备接入该控制管理设备的接入流程信息。该接入流程信息也可以称为“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
若该指示信息1的定义格式可以按照802.11标准定义且为扩展的feature字段时,其增加的扩展字段的一种示例性方案可以如表8所示:
表8
Figure PCTCN2020115822-appb-000004
即该扩展的字段中该Element ID用于指示该扩展的字段为特性字段(如厂商自定义字段);该Length用于指示该扩展的字段的长度;该Organization identifier Information 用于指示该扩展的字段所属用户名;该Feature ID用于指示该扩展的Feature字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的Feature字段的长度;该Feature Information用于指示该扩展的Feature字段中携带的其他信息。比如携带该IOT设备二次接入的SSID2、接入参数以及用于指示该IOT设备接入该控制管理设备的接入流程信息。该接入流程信息也可以称为“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
本实施例中,该指示信息2可以称为二次接入信息描述符(Second Access Description,SAD)。
1002、该IOT设备根据该指示信息2向无线接入点2发送接入请求2。
该IOT设备在接收到该http Restful接口报文之后,解析该http Restful接口报文获取到该指示信息2。该IOT设备与该无线接入点1解除关联,并根据该指示信息2向归属于该SSID2所标识的WLAN2的无线接入点2发送接入请求2。
1003、该无线接入点2接收该接入请求2并与该IOT设备完成接入认证。
该无线接入点2响应该IOT设备的接入请求2,并对于认证方式以及认证信息进行验证,若验证通过,则该无线接入点2与该IOT设备完成接入认证。
可以理解的是,该无线接入点2与该IOT设备实现认证的方式包括但不限于如下几种可能实现方式:开发系统身份认证、共享密钥认证、WPA PSK认证和8021.1X EAP认证。
本实施例中,该无线接入点1在已接入无线网的情况下,该控制管理设备直接利用http Restful接口报文向该IOT设备发送二次接入的SSID和指示信息,触发该IOT设备与无线接入点1去关联,并二次接入SSID所标识的WLAN,避免手动配置该IOT设备二次接入的SSID的过程,实现了自动接入WLAN的功能。进而减少网络运营人员的运营工作量,从而降低企业成本。同时采用接入过程中的已有的报文携带该指示信息,可以节省信令开销。
图11为本申请实施例提供的IOT设备自动接入WLAN方法1100的流程示意图。在图11所示的流程示意图中,该IOT设备自动接入WLAN的过程包括了首次接入和二次接入,如图7所示,本申请实施例提供的IOT设备自动接入WLAN方法1100包括:
1101、IOT设备获取无线接入点1发送的信标帧,该信标帧携带SSID1和指示信息1,该指示信息1用于指示该IOT设备接入该SSID1标识的WLAN1。
该IOT设备在上电之后,侦听该无线接入点1定时发送的信标帧,该信标帧为无线接入点在指定间隔发送的有规律的无线信号(类似心跳包),其主要用于定位和同步使用,该信标帧也称为beacon帧。其中,该信标帧中携带SSID1和指示信息1,而该指示信息1用于指示该IOT设备接入该SSID1所标识的WLAN1。
这时该无线接入点1通过信标帧携带该指示信息1可以采用如下几种可能实现方式:
一种可能实现方式中,该无线接入点1通过该信标帧中扩展的字段来携带该指示信息1。具体来说,该扩展字段可以是扩展的element字段也可以是扩展的特性feature字段。比如,该指示信息1的定义格式可以按照802.11标准定义且为扩展的element字段时,其增加的扩展字段的一种示例性方案可以如表9所示:
表9
Element ID Length exTention Information
即该扩展的字段由1字节的Element ID,1字节的Length,0或者1字节的exTention和可变字节的Information组成。其中,该Element ID用于指示该扩展的字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的字段的长度;该exTention用于指示该扩展的字段是否有其他的扩展信息;该Information用于指示该扩展的字段中携带的其他信息,比如携带该用于指示该IOT设备接入该无线接入点1的接入流程信息。
若该指示信息1的定义格式可以按照802.11标准定义且为扩展的feature字段时,其增加的扩展字段的一种示例性方案可以如表10所示:
表10
Figure PCTCN2020115822-appb-000005
即该扩展的字段中该Element ID用于指示该扩展的字段为特性字段(如厂商自定义字段);该Length用于指示该扩展的字段的长度;该Organization identifier Information用于指示该扩展的字段所属用户名;该Feature ID用于指示该扩展的Feature字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的Feature字段的长度;该Feature Information用于指示该扩展的Feature字段中携带的其他信息,比如携带该用于指示该IOT设备接入该无线接入点1的接入流程信息,也可以说是“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
另一种可能实现方式中,该无线接入点1通过扩展该信标帧的保留字段来携带该指示信息1。比如利用该信标帧中的保留字段中存在一个字段未配置相关信息,则该无线接入点1可以配置该字段取值为1时,指示该IOT设备接收到该信标帧的时候接入该SSID1对应的WLAN1。
另一种可能实现方式中,该无线接入点1通过扩展该信标帧中携带该SSID1的element字段的扩展extention字段来携带该指示信息1。比如该信标帧中用于携带该SSID1的element字段中的extention字段未取值,这时该无线接入点1可以对该extention字段进行配置,并用于指示该IOT设备接入该SSID1标识的WLAN1。此时该extention字段可以配置为1或者配置为0,具体此处不做限定。
本实施例中,该指示信息1可以称为网络描述符(Network Description,ND)。
1102、该IOT设备根据该指示信息1向该无线接入点1发送接入请求1。
该IOT设备在接收到该信标帧之后,解析该信标帧获取到该指示信息1。然后该IOT 设备根据该指示信息1,向归属于该SSID1所标识的WLAN1的无线接入点1发送接入请求1。
1103、该无线接入点1接收该接入请求1并与该IOT设备完成接入认证。
该无线接入点1响应该IOT设备的接入请求1,并对于认证方式以及认证信息进行验证,若验证通过,则该无线接入点1与该IOT设备完成接入认证。
可以理解的是,该无线接入点1与该IOT设备实现认证的方式包括但不限于如下几种可能实现方式:开发系统身份认证、共享密钥认证、WPA PSK认证和8021.1X EAP认证。
1104、该控制器向该IOT设备发送http Restful接口报文,该http Restful接口报文携带SSID 2和指示信息2,该指示信息2用于指示该IOT设备接入该SSID 2标识的WLAN 2。
该控制管理设备利用http Restful接口报文向该IOT设备发送二次接入的SSID2以及相关的接入参数。其中,该接入参数包括认证信息和加密信息。而认证信息包括认证方式,该认证方式包括但不限于开发系统身份认证、共享密钥认证、WPA PSK认证和8021.1X EAP认证。
这时该控制管理设备通过http Restful接口报文携带该指示信息2可以采用如下几种可能实现方式:
一种可能实现方式中,该控制管理设备通过该http Restful接口报文中扩展的字段来携带该指示信息2。具体来说,该扩展字段可以是扩展的element字段也可以是扩展的特性feature字段。比如,该指示信息1的定义格式可以按照802.11标准定义且为扩展的element字段时,其增加的扩展字段的一种示例性方案可以如表11所示:
表11
Element ID Length exTention Information
即该扩展的字段由1字节的Element ID,1字节的Length,0或者1字节的exTention和可变字节的Information组成。其中,该Element ID用于指示该扩展的字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的字段的长度;该exTention用于指示该扩展的字段是否有其他的扩展信息;该Information用于指示该扩展的字段中携带的其他信息。比如携带该IOT设备二次接入的SSID2、接入参数以及用于指示该IOT设备接入该控制管理设备的接入流程信息。该接入流程信息也可以称为“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
若该指示信息1的定义格式可以按照802.11标准定义且为扩展的feature字段时,其增加的扩展字段的一种示例性方案可以如表12所示:
表12
Figure PCTCN2020115822-appb-000006
即该扩展的字段中该Element ID用于指示该扩展的字段为特性字段(如厂商自定义字段);该Length用于指示该扩展的字段的长度;该Organization identifier Information用于指示该扩展的字段所属用户名;该Feature ID用于指示该扩展的Feature字段携带该指示信息1(可以定义取值为222);该Length用于指示该扩展的Feature字段的长度;该Feature Information用于指示该扩展的Feature字段中携带的其他信息。比如携带该IOT设备二次接入的SSID2、接入参数以及用于指示该IOT设备接入该控制管理设备的接入流程信息。该接入流程信息也可以称为“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
本实施例中,该指示信息2可以称为二次接入信息描述符(Second Access Description,SAD)。
1105、该IOT设备根据该指示信息2向无线接入点2发送接入请求2。
该IOT设备在接收到该http Restful接口报文之后,解析该http Restful接口报文获取到该指示信息2。该IOT设备与该无线接入点1解除关联,并根据该指示信息2向归属于该SSID2所标识的WLAN2的无线接入点2发送接入请求2。
1106、该无线接入点2接收该接入请求2并与该IOT设备完成接入认证。
该无线接入点2响应该IOT设备的接入请求2,并对于认证方式以及认证信息进行验证,若验证通过,则该无线接入点2与该IOT设备完成接入认证。
可以理解的是,该无线接入点2与该IOT设备实现认证的方式包括但不限于如下几种可能实现方式:开发系统身份认证、共享密钥认证、WPA PSK认证和8021.1X EAP认证。
本实施例中,在首次接入的过程中,该无线接入点1发送的信标帧中直接携带触发该IOT设备接入SSID所标识的WLAN的指示信息,从而节省了IOT设备从多个SSID中手动配置对应的SSID的过程,实现了首次接入时该IOT设备自动接入WLAN的功能。在该无线接入点1在已接入无线网的情况下,该控制管理设备直接利用http Restful接口报文向该IOT设备发送二次接入的SSID和指示信息,触发该IOT设备与无线接入点1去关联,并二次接入SSID所标识的WLAN,避免手动配置该IOT设备二次接入的SSID的过程,实现了二次接入时该IOT设备自动接入WLAN的功能。进而减少网络运营人员的运营工作量,从而降低企业成本。同时采用接入过程中的已有的报文携带该指示信息,可以节省信令开销。
可以理解的是,图11仅为该IOT设备完成首次接入与二次接入的一个示例性方案,该IOT设备自动接入该WLAN的方法可以是图7或图8中任一方案与图9或图10中任一方案 的组合,具体此处不做限定。同时,在该IOT设备进行二次接入时,该SSID2所标识的WLAN2与该WLAN1可以是同一无线网,那在该IOT设备进行二次接入时,该IOT设备可以继续维持当前接入或者是该IOT设备与该无线接入点1解除关联之后再次接入该无线接入点1,具体操作方法此处不做限定。
图12为本申请实施例提供的IOT设备自动接入WLAN方法1200的流程示意图。如图12所示,本申请实施例提供的IOT设备自动接入WLAN方法1200包括:
1201、该IOT设备获取第一网络设备发送的第一报文,该第一报文携带至少一个第一SSID和第一指示信息,该第一指示信息用于指示该IOT设备接入该第一SSID所标识的第一WLAN。
本实施例中,包括如下场景:
1、在该IOT设备首次接入WLAN时,该第一网络设备为无线接入点(即相当于上述图7至图11中无线接入点1),该第一报文可以是上述图7至图11中的信标帧或探测响应帧;然后该IOT设备接收到的该第一报文中携带的该第一指示信息(该第一指示信息可以对应上述图7至图11中的指示信息1)用于指示该IOT设备首次接入该第一SSID(该第一SSID可以对应上述图7至图11中的SSID1)所标识的第一WLAN(该第一WLAN可以对应上述图7至图11中的WLAN1)。
其中,该第一报文携带该第一指示信息可以采用如下几种可能实现方式:
一种可能实现方式中,该第一网络设备通过该第一报文中扩展的字段来携带该第一指示信息。具体来说,该扩展字段可以是扩展的element字段也可以是扩展的特性feature字段。比如,该第一指示信息的定义格式可以按照802.11标准定义且为扩展的element字段时,其增加的扩展字段的一种示例性方案可以如表13所示:
表13
Element ID Length exTention Information
即该扩展的字段由1字节的Element ID,1字节的Length,0或者1字节的exTention和可变字节的Information组成。其中,该Element ID用于指示该扩展的字段携带该第一指示信息(可以定义取值为222);该Length用于指示该扩展的字段的长度;该exTention用于指示该扩展的字段是否有其他的扩展信息;该Information用于指示该扩展的字段中携带的其他信息,比如携带该用于指示该IOT设备接入该第一网络设备的接入流程信息。
若该第一指示信息的定义格式可以按照802.11标准定义且为扩展的feature字段时,其增加的扩展字段的一种示例性方案可以如表14所示:
表14
Figure PCTCN2020115822-appb-000007
即该扩展的字段中该Element ID用于指示该扩展的字段为特性字段(如厂商自定义字段);该Length用于指示该扩展的字段的长度;该Organization identifier Information用于指示该扩展的字段所属用户名;该Feature ID用于指示该扩展的Feature字段携带该第一指示信息(可以定义取值为222);该Length用于指示该扩展的Feature字段的长度;该Feature Information用于指示该扩展的Feature字段中携带的其他信息,比如携带该用于指示该IOT设备接入该第一网络设备的接入流程信息,也可以说是“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
另一种可能实现方式中,该第一网络设备通过扩展该第一报文的保留字段来携带该第一指示信息。比如利用该第一报文中的保留字段中存在一个字段未配置相关信息,则该第一网络设备可以配置该字段取值为1时,指示该IOT设备接收到该第一报文的时候接入该SSID1对应的WLAN1。
另一种可能实现方式中,该第一网络设备通过扩展该第一报文中携带该SSID1的element字段的扩展extention字段来携带该第一指示信息。比如该第一报文中用于携带该SSID1的element字段中的extention字段未取值,这时该第一网络设备可以对该extention字段进行配置,并用于指示该IOT设备接入该SSID1标识的WLAN1。此时该extention字段可以配置为1或者配置为0,具体此处不做限定。
本实施例中,该第一指示信息可以称为网络描述符(Network Description,ND)。
2、在该IOT设备二次接入WLAN时,该第一网络设备为无线接入点或者控制管理设备(即相当于上述图7至图11中无线接入点1或者控制管理设备),该第一报文可以是上述图7至图11中的无线网去关联帧或者http Restful接口报文;然后该IOT设备接收到的该第一报文中携带的该第一指示信息(该第一指示信息可以对应上述图7至图11中的指示信息2)用于指示该IOT设备首次接入该第一SSID(该第一SSID可以对应上述图7至图11中的SSID2)所标识的第一WLAN(该第一WLAN可以对应上述图7至图11中的WLAN2)。
其中,该第一报文携带该第一指示信息可以采用如下几种可能实现方式:
一种可能实现方式中,该第一网络设备通过该第一报文中扩展的字段来携带该第一指示信息。具体来说,该扩展字段可以是扩展的element字段也可以是扩展的特性feature字段。比如,该第一指示信息的定义格式可以按照802.11标准定义且为扩展的element字段时,其增加的扩展字段的一种示例性方案可以如表15所示:
表15
Element ID Length exTention Information
即该扩展的字段由1字节的Element ID,1字节的Length,0或者1字节的exTention和可变字节的Information组成。其中,该Element ID用于指示该扩展的字段携带该第一指示信息(可以定义取值为222);该Length用于指示该扩展的字段的长度;该exTention用于指示该扩展的字段是否有其他的扩展信息;该Information用于指示该扩展的字段中携带的其他信息。比如携带该IOT设备二次接入的SSID2、接入参数以及用于指示该IOT设备接入该第一网络设备的接入流程信息。该接入流程信息也可以称为“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
若该第一指示信息的定义格式可以按照802.11标准定义且为扩展的feature字段时,其增加的扩展字段的一种示例性方案可以如表16所示:
表16
Figure PCTCN2020115822-appb-000008
即该扩展的字段中该Element ID用于指示该扩展的字段为特性字段(如厂商自定义字段);该Length用于指示该扩展的字段的长度;该Organization identifier Information用于指示该扩展的字段所属用户名;该Feature ID用于指示该扩展的Feature字段携带该第一指示信息(可以定义取值为222);该Length用于指示该扩展的Feature字段的长度;该Feature Information用于指示该扩展的Feature字段中携带的其他信息。比如携带该IOT设备二次接入的SSID2、接入参数以及用于指示该IOT设备接入该第一网络设备的接入流程信息。该接入流程信息也可以称为“版本号”。比如版本号为1.0时,对应一种IOT设备接入无线接入点的接入流程;而版本号为2.0时,对应另一种IOT设备接入无线接入点的接入流程,两个接入流程中存在不同的部分也可以存在相同的部分。
本实施例中,该第一指示信息可以称为二次接入信息描述符(Second Access Description,SAD)。
1202、该IOT设备根据该第一指示信息发送接入请求,请求接入该第一WLAN。
上面描述了本申请实施例中的IOT设备自动接入WLAN的方法,下面对本申请实施例中的IOT设备和网络设备进行描述。
具体请参阅图13所示,本申请实施例中该IOT设备1300包括:接收模块1301和发送模块1302。设备1300可以是上述方法实施例中的IOT设备,也可以是IOT设备内的一个或多个芯片。设备1300可以用于执行上述方法实施例中的IOT设备的部分或全部功能。
例如,该接收模块1301可以用于执行上述方法实施例中的步骤701,或者用于执行前述方法实施例中的步骤801,或者用于执行上述方法实施例中的步骤902、或者用于执行上述方法实施例中的步骤1001、或者用于执行上述方法实施例中的步骤1101和步骤1104。例如,接收模块1301获取该第一网络设备发送的第一报文,所述第一报文携带至少一个第一服务集标识符SSID和第一指示信息,所述第一指示信息用于指示所述IOT设备接入所述第一SSID所标识的第一无线局域网WLAN。
该发送模块1302,可以用于执行上述方法实施例中的步骤702,或者用于执行前述方法实施例中的步骤802,或者用于执行上述方法实施例中的步骤903、或者用于执行上述方法实施例中的步骤1002、或者用于执行上述方法实施例中的步骤1102和步骤1105。例如,发送模块1302根据所述第一指示信息,发送第一接入请求,请求接入所述第一WLAN。
可选的,设备1300还包括存储模块,此存储模块于处理模块耦合,使得处理模块可执行存储模块中存储的计算机执行指令以实现上述方法实施例中IOT设备的功能。在一个示例中,设备1300中可选的包括的存储模块可以为芯片内的存储单元,如寄存器、缓存等,所述存储模块还可以是位于芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
应理解,上述图13对应实施例中IOT设备的各模块之间所执行的流程与前述图7至图12中对应方法实施例中的IOT设备执行的流程类似,具体此处不再赘述。
图14示出了上述实施例中一种IOT设备1400可能的结构示意图,该设备1400可以配置成是前述IOT设备。该设备1400可以包括:处理器1402、计算机可读存储介质/存储器1403、收发器1404、输入设备1405和输出设备1406,以及总线1401。其中,处理器,收发器,计算机可读存储介质等通过总线连接。本申请实施例不限定上述部件之间的具体连接介质。
一个示例中,该收发器1404获取第一网络设备发送的第一报文,所述第一报文携带至少一个第一服务集标识符SSID和第一指示信息,所述第一指示信息用于指示所述IOT设备接入所述第一SSID所标识的第一无线局域网WLAN;根据所述第一指示信息,发送第一接入请求,请求接入所述第一WLAN。
一个示例中,处理器1402可以包括基带电路,例如,可以对请求信息按照协议进行数据封装,编码等以生成第一接入请求。收发器1404可以包括射频电路,以对第一接入请求进行调制放大等处理后发送给网络设备。
又一个示例中,处理器1402可以运行操作系统,控制各个设备和器件之间的功能。收发器1404可以包括基带电路和射频电路,例如,可以对请求信息或数据经由基带电路,射频电路进行处理后发送给网络设备。
该收发器1404与该处理器1402可以实现上述图7至图12中任一实施例中相应的步骤,具体此处不做赘述。
可以理解的是,图14仅仅示出了IOT设备的简化设计,在实际应用中,IOT设备可以包含任意数量的收发器,处理器,存储器等,而所有的可以实现本申请的IOT设备都在本 申请的保护范围之内。
上述设备1400中涉及的处理器1402可以是通用处理器,例如通用中央处理器(CPU)、网络处理器(network processor,NP)、微处理器等,也可以是特定应用集成电路(ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。还可以是数字信号处理器(digital signal processor,DSP)、现场可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。控制器/处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。处理器通常是基于存储器内存储的程序指令来执行逻辑和算术运算。
上述涉及的总线1401可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
上述涉及的计算机可读存储介质/存储器1403还可以保存有操作系统和其他应用程序。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。更具体的,上述存储器可以是只读存储器(read-only memory,ROM)、可存储静态信息和指令的其他类型的静态存储设备、随机存取存储器(random access memory,RAM)、可存储信息和指令的其他类型的动态存储设备、磁盘存储器等等。存储器1403可以是上述存储类型的组合。并且上述计算机可读存储介质/存储器可以在处理器中,还可以在处理器的外部,或在包括处理器或处理电路的多个实体上分布。上述计算机可读存储介质/存储器可以具体体现在计算机程序产品中。举例而言,计算机程序产品可以包括封装材料中的计算机可读介质。
可以替换的,本申请实施例还提供一种通用处理系统,例如通称为芯片,该通用处理系统包括:提供处理器功能的一个或多个微处理器;以及提供存储介质的至少一部分的外部存储器,所有这些都通过外部总线体系结构与其它支持电路连接在一起。当存储器存储的指令被处理器执行时,使得处理器执行IOT设备在图7至图12所述实施例中的IOT设备自动接入WLAN方法中的部分或全部步骤,例如图7中的步骤701至步骤702、图8中的步骤801至步骤802、图9中的步骤902至步骤903,图10中的步骤1001至步骤1002,图11中的步骤1101至步骤1102以及步骤1104至步骤1105,和/或用于本申请所描述的技术的其它过程。
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于IOT设备中。当然,处理器和存储介质也可以作为分立组件存在于用户设备中。
具体请参阅图15所示,本申请实施例中该网络设备1500包括:发送模块1501和接收 模块1502。设备1500可以是上述方法实施例中的无线接入点或控制管理设备,也可以是无线接入点或控制管理设备内的一个或多个芯片。设备1500可以用于执行上述方法实施例中的无线接入点或控制管理设备的部分或全部功能。
例如,该发送模块1501可以用于执行上述方法实施例中的步骤701,或者用于执行前述方法实施例中的步骤802,或者用于执行上述方法实施例中的步骤902、或者用于执行上述方法实施例中的步骤1101。例如,发送模块1501向所述IOT设备发送第一报文,所述第一报文携带至少一个第一服务集标识符SSID和第一指示信息,所述第一指示信息用于指示所述IOT设备接入所述第一SSID所标识的第一无线局域网WLAN。
该接收模块1502,可以用于执行上述方法实施例中的步骤701或步骤703,或者用于执行前述方法实施例中的步骤801或步骤803或步骤804,或者用于执行上述方法实施例中的步骤901或步骤903、或者用于执行上述方法实施例中的步骤1102至步骤1103。例如,该接收模块1502接收所述IOT设备发送的请求接入所述第一WLAN的第一接入请求。
可选的,设备1500还包括存储模块,此存储模块于处理模块耦合,使得处理模块可执行存储模块中存储的计算机执行指令以实现上述方法实施例中无线接入点或控制管理设备的功能。在一个示例中,设备1500中可选的包括的存储模块可以为芯片内的存储单元,如寄存器、缓存等,所述存储模块还可以是位于芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
应理解,上述图15对应实施例中网络设备的各模块之间所执行的流程与前述图7至图12中对应方法实施例中的无线接入点或控制管理设备执行的流程类似,具体此处不再赘述。
图16示出了上述实施例中一种网络设备1600可能的结构示意图,该设备1600可以配置成是前述无线接入点或控制管理设备。该设备1600可以包括:处理器1602、计算机可读存储介质/存储器1603、收发器1604、输入设备1605和输出设备1606,以及总线1601。其中,处理器,收发器,计算机可读存储介质等通过总线连接。本申请实施例不限定上述部件之间的具体连接介质。
一个示例中,
该收发器1604向所述IOT设备发送第一报文,所述第一报文携带至少一个第一服务集标识符SSID和第一指示信息,所述第一指示信息用于指示所述IOT设备接入所述第一SSID所标识的第一无线局域网WLAN;接收所述IOT设备发送的请求接入所述第一WLAN的第一接入请求。
一个示例中,处理器1602可以包括基带电路,例如,可以对SSID和指示信息按照协议进行数据封装,编码等以生成报文。收发器1604可以包括射频电路,以对报文进行调制放大等处理后发送给IOT设备。
又一个示例中,处理器1602可以运行操作系统,控制各个设备和器件之间的功能。收发器1604可以包括基带电路和射频电路,例如,可以对SSID和指示信息经由基带电路,射频电路进行处理后发送给IOT设备。
该收发器1604与该处理器1602可以实现上述图7至图12中任一实施例中相应的步骤, 具体此处不做赘述。
可以理解的是,图16仅仅示出了网络设备的简化设计,在实际应用中,网络设备可以包含任意数量的收发器,处理器,存储器等,而所有的可以实现本申请的无线接入点或控制管理设备都在本申请的保护范围之内。
上述设备1600中涉及的处理器1602可以是通用处理器,例如通用中央处理器、网络处理器、微处理器等,也可以是特定应用集成电路,或一个或多个用于控制本申请方案程序执行的集成电路。还可以是数字信号处理器、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。控制器/处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。处理器通常是基于存储器内存储的程序指令来执行逻辑和算术运算。
上述涉及的总线1601可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry无线接入点或控制管理设备ndard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图16中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
上述涉及的计算机可读存储介质/存储器1603还可以保存有操作系统和其他应用程序。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。更具体的,上述存储器可以是只读存储器(read-only memory,ROM)、可存储静态信息和指令的其他类型的静态存储设备、随机存取存储器(random access memory,RAM)、可存储信息和指令的其他类型的动态存储设备、磁盘存储器等等。存储器1603可以是上述存储类型的组合。并且上述计算机可读存储介质/存储器可以在处理器中,还可以在处理器的外部,或在包括处理器或处理电路的多个实体上分布。上述计算机可读存储介质/存储器可以具体体现在计算机程序产品中。举例而言,计算机程序产品可以包括封装材料中的计算机可读介质。
可以替换的,本申请实施例还提供一种通用处理系统,例如通称为芯片,该通用处理系统包括:提供处理器功能的一个或多个微处理器;以及提供存储介质的至少一部分的外部存储器,所有这些都通过外部总线体系结构与其它支持电路连接在一起。当存储器存储的指令被处理器执行时,使得处理器执行无线接入点或控制管理设备在图7至图12所述实施例中的IOT设备自动接入WLAN的方法中的部分或全部步骤,和/或用于本申请所描述的技术的其它过程。
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于网络设备中。当然,处理器和存储介质也可以作为分立组件存在于网络设备中。
具体请参阅图17,本申请实施例中通信系统1700的一个实施例包括:
IOT设备1701和网络设备1702;
其中,该IOT设备1701与该网络设备1702通过网络系统实现数据传输;
该IOT设备1701具备图7至图12中IOT设备的全部功能,该网络设备1702具备图7至图12中网络设备的全部功能。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM)、随机存取存储器(RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (41)

  1. 一种物联网(IOT)设备自动接入无线局域网(WLAN)的方法,其特征在于,包括:
    所述IOT设备获取第一网络设备发送的第一报文,所述第一报文携带至少一个第一服务集标识符(SSID)和第一指示信息,所述第一指示信息用于指示所述IOT设备接入所述第一SSID所标识的第一WLAN;
    根据所述第一指示信息,所述IOT设备发送第一接入请求,请求接入所述第一WLAN。
  2. 根据权利要求1所述的方法,其特征在于,所述第一报文包括扩展的字段,所述扩展的字段用于携带所述第一指示信息。
  3. 根据权利要求2所述的方法,其特征在于,
    所述扩展的字段为扩展的element字段;
    或,
    所述扩展的字段为扩展的特性字段。
  4. 根据权利要求1所述的方法,其特征在于,通过扩展所述第一报文的保留字段来携带所述第一指示信息;
    或者,
    通过扩展所述第一报文中携带所述第一SSID的element字段的扩展字段来携带所述第一指示信息。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述第一指示信息包括第一网络描述符(ND)。
  6. 根据权利要求5所述的方法,其特征在于,所述第一ND用于指示所述第一SSID为IOT SSID。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述第一接入请求为所述IOT设备请求接入所述第一WLAN的首次接入请求。
  8. 根据权利要求1至3中任一项所述的方法,其特征在于,所述第一指示信息还用于指示所述IOT设备接入所述第一WLAN所需的接入参数。
  9. 根据权利要求8所述的方法,其特征在于,所需接入参数包括以下至少一项:
    认证信息;
    加密信息。
  10. 根据权利要求8或9所述的方法,其特征在于,所述第一指示信息为接入信息描述符(SAD)。
  11. 根据权利要求10所述的方法,其特征在于,所述接入信息描述符SAD用于指示所述第一SSID为二次接入的SSID。
  12. 根据权利要求8至11中任一项所述的方法,其特征在于,在所述IOT设备接收所述第一报文之前,所述方法还包括:
    所述IOT设备接收第二报文,所述第二报文携带第二SSID和第二指示信息,所述第二指示信息用于指示所述IOT设备接入所述第二SSID所标识的第二WLAN;
    根据所述第二指示信息,所述IOT设备向发送第二接入请求,请求接入所述第二WLAN。
  13. 根据权利要求12所述的方法,其特征在于,所述第二报文为信标帧或探测响应帧。
  14. 根据权利要求1至13中任一项所述的方法,其特征在于,所述第一网络设备为第一无线接入点(AP)或控制管理设备。
  15. 根据权利要求1至7中任一项所述的方法,其特征在于,所述第一报文为信标帧或探测响应帧。
  16. 根据权利要求1至14中任一项所述的方法,其特征在于,所述第一报文为无线网络去关联帧或http Restful接口报文。
  17. 根据权利要求1至15中任一项所述的方法,其特征在于,所述第一报文还携带第三指示信息,所述第三指示信息用于指示所述IOT设备接入WLAN时的接入流程。
  18. 根据权利要求12至17中任一项所述的方法,其特征在于,所述第二报文还携带第四指示信息,所述第四指示信息用于指示所述IOT设备接入WLAN时的接入流程。
  19. 一种物联网(IOT)设备自动接入无线局域网(WLAN)的方法,其特征在于,包括:
    第一网络设备向所述IOT设备发送第一报文,所述第一报文携带至少一个第一服务集标识符(SSID)和第一指示信息,所述第一指示信息用于指示所述IOT设备接入所述第一SSID所标识的第一WLAN;
    所述第一网络设备接收所述IOT设备发送的请求接入所述第一WLAN的第一接入请求。
  20. 根据权利要求19所述的方法,其特征在于,所述第一报文包括扩展的字段,所述扩展的字段用于携带所述第一指示信息。
  21. 根据权利要求20所述的方法,其特征在于,
    所述扩展的字段为扩展的element字段;
    或,
    所述扩展的字段为扩展的特性字段。
  22. 根据权利要求19所述的方法,其特征在于,通过扩展所述第一报文的保留字段来携带所述第一指示信息;
    或者,
    通过扩展所述第一报文中携带所述第一SSID的element字段的扩展字段来携带所述第一指示信息。
  23. 根据权利要求19至22中任一项所述的方法,其特征在于,所述第一指示信息包括第一网络描述符(ND)。
  24. 根据权利要求23所述的方法,其特征在于,所述第一ND用于指示所述第一SSID为IOT SSID。
  25. 根据权利要求19至24中任一项所述的方法,其特征在于,所述第一接入请求为所述IOT设备请求接入所述第一WLAN的首次接入请求。
  26. 根据权利要求19至21中任一项所述的方法,其特征在于,所述第一指示信息还用于指示所述IOT设备接入所述第一WLAN所需的接入参数。
  27. 根据权利要求26所述的方法,其特征在于,所述接入参数包括以下至少一项:
    认证信息;
    加密信息。
  28. 根据权利要求26或27所述的方法,其特征在于,所述第一指示信息为接入信息描述符SAD。
  29. 根据权利要求28所述的方法,其特征在于,所述接入信息描述符(SAD)用于指示所述第一SSID为二次接入的SSID。
  30. 根据权利要求26至29中任一项所述的方法,其特征在于,在第一网络设备向所述IOT设备发送第一报文之前,所述方法还包括:
    所述第一网络设备向所述IOT设备发送第二报文,所述第二报文携带第二SSID和第二指示信息,所述第二指示信息用于指示所述IOT设备接入所述第二SSID所标识的第二WLAN;
    所述第一网络设备接收所述IOT设备发送请求接入所述第二WLAN的第二接入请求。
  31. 根据权利要求30所述的方法,其特征在于,所述第二报文为信标帧或无线网探测响应帧。
  32. 根据权利要求19至31中任一项所述的方法,其特征在于,所述第一网络设备为第一无线接入点(AP)或控制管理设备。
  33. 根据权利要求19至25中任一项所述的方法,其特征在于,所述第一报文为信标帧或无线网探测响应帧。
  34. 根据权利要求19至32中任一项所述的方法,其特征在于,所述第一报文为无线网络去关联帧或http Restful接口报文。
  35. 根据权利要求19至33中任一项所述的方法,其特征在于,所述第一报文还携带第三指示信息,所述第三指示信息用于指示所述IOT设备接入WLAN时的接入流程。
  36. 根据权利要求30至35中任一项所述的方法,其特征在于,所述第二报文还携带第四指示信息,所述第四指示信息用于指示所述IOT设备接入WLAN时的接入流程。
  37. 一种物联网(IOT)设备,其特征在于,包括处理器以及存储器;
    所述存储器存储有计算机指令;
    所述处理器调用所述计算机指令,使得所述IOT设备执行上述权利要求1至18中任一项所述的方法。
  38. 一种网络设备,其特征在于,包括:处理器以及存储器;
    所述存储器存储有计算机指令;
    所述处理器调用所述计算机指令,使得所述网络设备执行上述权利要求19至36中任一项所述的方法。
  39. 一种计算机可读存储介质,其特征在于,存储有计算机指令,当所述计算机指令在计算机上运行时,使得所述计算机执行上述权利要求1至18或权利要求19至36中任一项所述的方法。
  40. 一种计算机程序产品,其特征在于,包含程序,当所述程序在计算机上运行时,使得计算机执行上述权利要求1至18或权利要求19至36中任一项所述的方法。
  41. 一种通信系统,包括权利要求37所述的IOT设备和权利要求38所述的网络设备。
PCT/CN2020/115822 2020-02-10 2020-09-17 一种物联网设备自动接入无线局域网的方法以及装置 WO2021159708A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20918366.4A EP4090081A4 (en) 2020-02-10 2020-09-17 METHOD AND APPARATUS FOR AUTOMATIC ACCESS OF AN INTERNET OF THINGS DEVICE TO A WIRELESS LOCAL AREA NETWORK
US17/883,783 US20220394471A1 (en) 2020-02-10 2022-08-09 Method for automatically accessing wireless local area network by internet of things device, and apparatus

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202010085339.1 2020-02-10
CN202010085339 2020-02-10
CN202010352236.7 2020-04-28
CN202010352236.7A CN113260014B (zh) 2020-02-10 2020-04-28 一种物联网iot设备自动接入无线局域网wlan的方法以及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/883,783 Continuation US20220394471A1 (en) 2020-02-10 2022-08-09 Method for automatically accessing wireless local area network by internet of things device, and apparatus

Publications (1)

Publication Number Publication Date
WO2021159708A1 true WO2021159708A1 (zh) 2021-08-19

Family

ID=77220014

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/115822 WO2021159708A1 (zh) 2020-02-10 2020-09-17 一种物联网设备自动接入无线局域网的方法以及装置

Country Status (4)

Country Link
US (1) US20220394471A1 (zh)
EP (1) EP4090081A4 (zh)
CN (1) CN113260014B (zh)
WO (1) WO2021159708A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338734A (zh) * 2021-11-22 2022-04-12 四川云恒数联科技有限公司 一种基于物联网的感知终端数据接入配置方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116667972B (zh) * 2023-08-01 2023-12-12 南京朗立微集成电路有限公司 一种用于感知的WiFi帧结构及WiFi探测方法
US11997498B2 (en) 2023-08-24 2024-05-28 David E. Newman Cybersecure low-complexity IoT sub-networks for 5G/6G

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105228153A (zh) * 2014-07-01 2016-01-06 北京奇虎科技有限公司 网络接入方法、系统和无线路由设备
CN105897691A (zh) * 2016-03-24 2016-08-24 美的集团股份有限公司 物联网IoT设备接入网络的方法、装置和系统
CN106856609A (zh) * 2017-02-28 2017-06-16 苏州福瑞思信息科技有限公司 一种网络配置方法及装置
US20180367539A1 (en) * 2016-02-29 2018-12-20 Huawei Technologies Co., Ltd. Method for Accessing Network by Internet of Things Device, Apparatus, and System
US20190200405A1 (en) * 2016-08-11 2019-06-27 Reliance Jio Infocomm Limited Methods and systems for secure onboarding of devices over a wireless network

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6101197B2 (ja) * 2013-12-27 2017-03-22 京セラドキュメントソリューションズ株式会社 ネットワーク接続管理システム及び方法並びに無線端末装置
EP3073774A1 (en) * 2015-03-23 2016-09-28 Thomson Licensing Automatic configuration of a wireless residential access network
CN105049416A (zh) * 2015-06-15 2015-11-11 小米科技有限责任公司 一种接入wifi网络的方法及装置
CN106550427A (zh) * 2015-09-21 2017-03-29 中国电信股份有限公司 用于实现无线局域网快速配置的方法、WiFi终端和系统
CN106921963A (zh) * 2017-01-22 2017-07-04 海尔优家智能科技(北京)有限公司 一种智能设备接入无线局域网的方法及装置
CN109905923A (zh) * 2019-03-11 2019-06-18 深圳市炬力北方微电子有限公司 自动接入无线局域网的方法、相关设备及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105228153A (zh) * 2014-07-01 2016-01-06 北京奇虎科技有限公司 网络接入方法、系统和无线路由设备
US20180367539A1 (en) * 2016-02-29 2018-12-20 Huawei Technologies Co., Ltd. Method for Accessing Network by Internet of Things Device, Apparatus, and System
CN105897691A (zh) * 2016-03-24 2016-08-24 美的集团股份有限公司 物联网IoT设备接入网络的方法、装置和系统
US20190200405A1 (en) * 2016-08-11 2019-06-27 Reliance Jio Infocomm Limited Methods and systems for secure onboarding of devices over a wireless network
CN106856609A (zh) * 2017-02-28 2017-06-16 苏州福瑞思信息科技有限公司 一种网络配置方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4090081A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338734A (zh) * 2021-11-22 2022-04-12 四川云恒数联科技有限公司 一种基于物联网的感知终端数据接入配置方法
CN114338734B (zh) * 2021-11-22 2024-03-22 四川云恒数联科技有限公司 一种基于物联网的感知终端数据接入配置方法

Also Published As

Publication number Publication date
CN113260014A (zh) 2021-08-13
US20220394471A1 (en) 2022-12-08
EP4090081A4 (en) 2023-05-03
EP4090081A1 (en) 2022-11-16
CN113260014B (zh) 2023-04-28

Similar Documents

Publication Publication Date Title
WO2021159708A1 (zh) 一种物联网设备自动接入无线局域网的方法以及装置
AU2016200197B2 (en) Repeating method of wireless repeating device,and wireless repeating device
RU2500086C1 (ru) Устройство и способы построения сетей с универсальным интерфейсом услуг
TW200810408A (en) Methods and apparatus for providing an access profile system associated with a broadband wireless access network
US20100290391A1 (en) Apparatus and method for accessing multiple wireless networks
CN112272958A (zh) 预关联状态下收到的网络地址策略信息
CN102612033B (zh) 具有瘦无线接入点功能的手机以及其通信方法
JP2022522280A (ja) 固定ネットワーク住宅用ゲートウェイの認証決定
WO2021063298A1 (zh) 实现外部认证的方法、通信装置及通信系统
US11140043B2 (en) Wireless client onboarding and segmentation
US9807819B1 (en) Cross-technology session continuity
TW202233008A (zh) 用於行動通訊的方法及使用者設備
WO2022021435A1 (zh) 数据传输方法、设备及存储介质
US20230232468A1 (en) Session establishment method and apparatus
KR20140113235A (ko) 다중 연결 무선접속장치
WO2018214947A1 (zh) 一种通信方法及装置
WO2022027513A1 (zh) 通信方法、装置及系统
TWI516158B (zh) 可攜式電子接入裝置以及無線數據網路系統
WO2023116289A1 (zh) 用户报文转发的方法、网元、电子设备和存储介质
WO2022022639A1 (zh) 一种通信方法及装置
US11985501B2 (en) Third generation partnership project (3GPP) service delivery to non-3GPP user devices over 3GPP N1 links
WO2022160275A1 (zh) 无线通信方法、设备及存储介质
US11838986B2 (en) Policy enforcement across wireless communication networks over application functions
WO2024001241A1 (zh) 一种信息写入方法及装置
WO2023226956A1 (zh) 一种网络设备和通信系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20918366

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020918366

Country of ref document: EP

Effective date: 20220809

NENP Non-entry into the national phase

Ref country code: DE