WO2022016672A1 - 智能设备配网方法、系统及存储介质 - Google Patents

智能设备配网方法、系统及存储介质 Download PDF

Info

Publication number
WO2022016672A1
WO2022016672A1 PCT/CN2020/113030 CN2020113030W WO2022016672A1 WO 2022016672 A1 WO2022016672 A1 WO 2022016672A1 CN 2020113030 W CN2020113030 W CN 2020113030W WO 2022016672 A1 WO2022016672 A1 WO 2022016672A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
frequency band
network configuration
distributed
smart
Prior art date
Application number
PCT/CN2020/113030
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 深圳创维数字技术有限公司
Publication of WO2022016672A1 publication Critical patent/WO2022016672A1/zh

Links

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
    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the present application relates to the technical field of wireless distribution networks, and in particular, to a method, system and storage medium for network distribution of smart devices.
  • wireless local area networks have become more and more widely used, and various wireless communication smart devices such as smart network cameras, smart TV boxes, smart speakers and other products have been rapidly popularized. Due to structural and cost constraints, these smart devices often do not have user output interfaces like mobile phones, tablets, and computers. Therefore, the process of network distribution for these smart devices is more cumbersome and complicated than mobile phones, tablets, and computers.
  • the first way is to set the smart device to SoftAP mode, and use the smart terminal to follow the corresponding configuration of the smart device in SoftAP mode through the smart terminal.
  • the SSID Service Set Identifier, basic service set identifier
  • the SSID and password of the wireless access point are transmitted to the smart device.
  • the smart device receives the SSID and password of the wireless access point , switch from SoftAP mode to STA mode, and connect to the wireless access point through the received SSID and password of the wireless access point to complete the network configuration.
  • the second method is to set the smart device to promiscuous mode.
  • the smart terminal sends the SSID and password of the wireless access point to the smart device through UDP broadcast.
  • the smart device parses the SSID and password of the wireless access point after listening to the message. Password information, and then switch to STA mode and then establish a connection with the wireless access point to complete the network configuration.
  • the smart device needs to switch modes during the network distribution process, and in the promiscuous mode, it also needs to keep a monitoring state at all times to receive broadcast messages. Moreover, since the smart device passively receives the SSID and password of the wireless access point, the smart terminal cannot determine the working frequency band that the smart device can support when sending the SSID and password of the wireless access point. For example, the smart device only supports the 2.4Ghz frequency band of the wireless access point, and the SSID and password of the wireless access point obtained by the smart terminal and sent to the smart device are the SSID and password of the 5Ghz frequency band. The SSID and password of the 5Ghz frequency band of the access point cannot complete the network distribution, resulting in the failure of the network distribution.
  • the main purpose of this application is to provide a method, system and storage medium for network distribution of smart devices, which aims to solve the problem that existing smart devices need to perform mode switching during network distribution, and the working frequency bands of smart devices and wireless access points are prone to occur.
  • the present application provides a method for network distribution of intelligent equipment, which is applied to equipment to be distributed, including the following steps:
  • Pre-connect with the cellular hotspot of the smart terminal in the network distribution mode, and the cellular hotspot of the smart terminal is configured according to the pre-configured network information preset by the device to be distributed;
  • the authentication device is an intelligent terminal, and the intelligent terminal obtains the network configuration information of all wireless frequency bands of the wireless access point before turning on the cellular hotspot, and the receiving the authentication device determines the network configuration information.
  • the step of returning the network configuration information after describing the working frequency band of the device to be distributed further includes:
  • the step of sending a network configuration request including the device identification to the authentication device further includes:
  • the step of receiving the network configuration information returned after the authentication device verifies the device to be distributed according to the network distribution request and determines the operating frequency band of the device to be distributed includes:
  • the authentication device and the wireless access point are intelligent gateways, and the step of receiving the network configuration information returned after the authentication device determines the operating frequency band of the device to be configured in the network further includes: :
  • the authentication device is a cloud platform
  • the step of receiving the network configuration information returned after the authentication device determines the operating frequency band of the device to be configured on the network further includes:
  • the cloud platform updates the network configuration information of all wireless frequency bands of the wireless access point according to a preset rule.
  • the step of pre-connecting with the cellular hotspot of the smart terminal in the network distribution mode includes:
  • the STA mode is enabled according to the network distribution command triggered by the user, and in the STA mode, the cellular hotspot of the smart terminal is searched and connected according to the preset pre-configured network information.
  • the smart terminal obtains the information by scanning the identification pattern on the device to be configured Pre-configured network information and configuration of cellular hotspots.
  • the present application also provides a method for network distribution of intelligent equipment, which is applied to an intelligent terminal and includes the following steps:
  • the device identification of the device to be configured is obtained, the device to be configured is verified according to the device identification, and the device to be configured is determined according to the device identification. working frequency band;
  • the network configuration information of the corresponding wireless frequency band of the wireless access point is sent to the device to be configured, so that the device to be configured performs network configuration according to the network configuration information.
  • the present application also provides a network distribution system for intelligent equipment, the network distribution system for intelligent equipment includes equipment to be distributed, an intelligent terminal and a network distribution program for intelligent equipment, wherein: the network distribution program for intelligent equipment When executed by the device to be distributed and the intelligent terminal, the steps of the above-mentioned method for network distribution of the intelligent device are realized.
  • the present application also provides a computer-readable storage medium, where a smart device network configuration program is stored on the computer-readable storage medium, and the smart device network configuration program is executed by the processor to achieve the above The steps of the intelligent device network distribution method described above.
  • a method, system, and storage medium for network distribution of smart devices proposed in the embodiments of the present application.
  • the surrounding cellular hotspots can be searched, and the one that is consistent with the preset pre-distribution network information can be selected.
  • the cellular hotspot of the intelligent terminal is accessed to realize the provisioning network.
  • the authentication device is used to verify the network configuration of the device to be distributed, and to determine the operating frequency band that the device to be distributed can support, so as to return the network configuration information of the corresponding frequency band of the wireless access point corresponding to the operating frequency band.
  • the device to be distributed can access the corresponding wireless frequency band of the wireless access point through the network configuration information of the wireless access point to realize networking.
  • the device to be distributed will always be in the distribution mode, and there is no need to switch the mode, and the network configuration information returned by the authentication device is the network configuration information of the working frequency band that the device to be distributed can support, thus avoiding the need for
  • the working frequency band of the equipment to be distributed does not correspond to the working frequency band of the wireless access point, which leads to the failure of the distribution network, which realizes the safe and fast distribution of the equipment to be distributed, and improves the security and efficiency of the distribution network.
  • FIG. 1 is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present application;
  • FIG. 2 is a schematic flowchart of the first embodiment of the method for network distribution of smart devices of the present application
  • FIG. 3 is a schematic flowchart of a third embodiment of a method for network distribution of smart devices of the present application
  • FIG. 4 is a schematic flowchart of a sixth embodiment of a method for network distribution of a smart device according to the present application.
  • FIG. 1 is a schematic diagram of a device structure of a hardware operating environment involved in the solution of the embodiment of the present application.
  • the terminal in the embodiment of the present application is a network device to be distributed, including smart devices without a user output interface, such as a smart network camera, a smart TV box, and a smart speaker.
  • the terminal may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 .
  • the communication bus 1002 is used to realize the connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may include a standard wired interface and a wireless interface (eg, a WI-FI interface).
  • the memory 1005 may be high-speed RAM memory, or may be non-volatile memory, such as disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • the terminal may further include a camera, an RF (Radio Frequency, radio frequency) circuits, sensors, audio circuits, WiFi modules, etc.
  • sensors such as light sensors, motion sensors and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or when the hardware device is moved to the ear Backlight.
  • the gravitational acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the attitude of hardware devices (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, hardware devices can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or arrange different components.
  • the memory 1005 which is a computer storage medium, may include an operating system, a network communication module, a user interface module, and a smart device network configuration program.
  • the processor 1001 can be used to call the smart device network configuration program stored in the memory 1005, and perform the following operations:
  • Pre-connect with the cellular hotspot of the smart terminal in the network distribution mode, and the cellular hotspot of the smart terminal is configured according to the pre-configured network information preset by the device to be distributed;
  • processor 1001 can call the smart device network configuration program stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the smart device network configuration program stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the smart device network configuration program stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the smart device network configuration program stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the smart device network configuration program stored in the memory 1005, and also perform the following operations:
  • the STA mode is enabled according to the network distribution command triggered by the user, and in the STA mode, the cellular hotspot of the smart terminal is searched and connected according to the preset pre-configured network information.
  • the smart terminal obtains the information by scanning the identification pattern on the device to be configured Pre-configured network information and configuration of cellular hotspots.
  • the processor 1001 can also be used to call the smart device network configuration program stored in the memory 1005, and perform the following operations:
  • the device identification of the device to be configured is obtained, the device to be configured is verified according to the device identification, and the device to be configured is determined according to the device identification. working frequency band;
  • the network configuration information of the corresponding wireless frequency band of the wireless access point is sent to the device to be configured, so that the device to be configured performs network configuration according to the network configuration information.
  • FIG. 2 is a schematic flowchart of the first embodiment of the method for network distribution of smart devices of the present application, wherein the method for network distribution of smart devices is applied to devices to be distributed, and includes the following steps:
  • Step S10 pre-connecting with the cellular hotspot of the intelligent terminal in the network distribution mode, and the cellular hotspot of the intelligent terminal is configured according to the pre-distribution network information preset by the device to be distributed;
  • a smart device without a user output interface, it needs to be connected to a wireless access point through a network configuration operation, so as to realize networking of the smart device.
  • the smart devices that need to be connected to the network are the devices to be distributed.
  • the devices to be distributed can be pre-configured through various smart terminals with user output interfaces, and the distribution can be realized after the pre-configuration is completed.
  • the smart terminal may be a smart device with an operation interface and a cellular hotspot, such as a mobile phone, a computer, a tablet, a TV, a projector, and the like.
  • the user can make the device to be configured to enter the network configuration mode through a trigger operation, and the trigger operation can be triggering a mode switch on the device to be configured.
  • the trigger operation can be triggering a mode switch on the device to be configured.
  • the intelligent terminal can obtain the pre-configured network information preset by the device to be deployed, and configure the cellular hotspot according to the SSID and password corresponding to the pre-configured network information. After the cellular hotspot with the same SSID and password, you can access the cellular hotspot.
  • Step S20 sending a network distribution request including the device identification to the authentication device
  • the device to be distributed After the device to be distributed is connected to the cellular hotspot, it can send a network distribution request containing the device identification of the device to be distributed to the authentication device.
  • the authentication device can be an intelligent terminal or other terminals connected to the intelligent terminal. .
  • the device identifier of the device to be distributed may include various configuration information of the device to be distributed, such as a working frequency band supported by the device to be distributed.
  • the device identifier may be an identification code that can uniquely correspond to the device to be deployed on the network, that is, a device ID, and the device identifier may also be a device serial number or a MAC address. It can be understood that, the device identifier may include at least one of the above-mentioned device ID, device serial number and MAC address, so that the authentication device can identify the device to be configured on the network according to the device identifier.
  • Step S30 receiving the network configuration information returned after the authentication device verifies the device to be distributed according to the network distribution request, and determines the operating frequency band of the device to be distributed;
  • the authentication device After acquiring the network distribution request including the device identification, the authentication device can register the device to be distributed according to the device identification, and verify whether the device to be distributed has the corresponding authority to request network distribution. After the device to be distributed is verified and passed, the device identification can be used to further determine the working frequency band supported by the device to be distributed, and the network configuration information of the corresponding wireless access point is returned. For example, the authentication device can determine whether the device to be distributed supports the 2.4GHz and 5GHz operating frequency bands according to the device identifier. When the device to be distributed only supports the 2.4GHz operating frequency band, the authentication device can return the wireless access point to the device to be distributed. SSID and password information in the 2.4GHz frequency band; when the device to be deployed only supports the 5GHz working frequency band, the authentication device returns the SSID, password information and working channel information of the wireless access point in the 5GHz frequency band to the device to be deployed.
  • Step S40 connect with the corresponding wireless frequency band of the wireless access point according to the network configuration information to perform network distribution.
  • the device to be distributed After receiving the network configuration information of the corresponding wireless frequency band of the wireless access point returned by the authentication device, the device to be distributed can access the working channel of the corresponding wireless frequency band of the wireless access point according to the network configuration information to realize the network to be distributed. Networking of devices.
  • the device to be provisioned can search for surrounding cellular hotspots by turning on the distribution mode, and select the cellular hotspot of the smart terminal that is consistent with the preset provisioning network information for access to implement the provisioning network.
  • the authentication device is used to verify the network configuration of the device to be distributed, and to determine the operating frequency band that the device to be distributed can support, so as to return the network configuration information of the corresponding frequency band of the wireless access point corresponding to the operating frequency band.
  • the device to be distributed can access the corresponding wireless frequency band of the wireless access point through the network configuration information of the wireless access point to realize networking.
  • the device to be distributed will always be in the distribution mode, and there is no need to switch the mode, and the network configuration information returned by the authentication device is the network configuration information of the working frequency band that the device to be distributed can support, thus avoiding the need for
  • the working frequency band of the equipment to be distributed does not correspond to the working frequency band of the wireless access point, which leads to the failure of the distribution network, which realizes the safe and fast distribution of the equipment to be distributed, and improves the security and efficiency of the distribution network.
  • the authentication device is a smart terminal, and the smart terminal obtains the wireless connection before opening the cellular hotspot.
  • the authentication device verifies the to-be-distributed network device according to the network distribution request, and returns the information returned after determining the working frequency band of the to-be-distributed network device.
  • the steps of network configuration information also include:
  • Step S31 after the authentication device verifies the device to be configured according to the network configuration request, receive the intelligent terminal to determine the device to be configured according to a preset correspondence table between device identifiers and frequency bands and the device identifier.
  • the network configuration information of the corresponding wireless frequency band of the wireless access point returned after the working frequency band of the network device.
  • the authentication device is an intelligent terminal. After the intelligent terminal verifies the device to be distributed and determines its working frequency band, it needs to return the network configuration information of the corresponding wireless access point. Therefore, the intelligent terminal needs to turn on the cellular hotspot. Before receiving the access point of the device to be deployed, request the wireless access point to obtain network configuration information to obtain the network configuration information of all wireless frequency bands of the wireless access point, and select the wireless access point after determining the working frequency band of the device to be deployed. The network configuration information of the corresponding wireless frequency band is sent to the device to be configured.
  • the intelligent terminal pre-stores a correspondence table of the relationship between the device identifier and the frequency band, and the working frequency band that can be supported by the device to be distributed can be determined according to the correspondence table and the device identifier of the device to be distributed. For example, after determining that the device to be deployed supports the 2.4GHz working frequency band according to the device identifier of the device to be deployed and the corresponding table, the intelligent terminal can select 2.4GHz from the network configuration information of all wireless frequency bands of the wireless access point acquired in advance. The network configuration information of the working frequency band is returned to the device to be distributed, so that the device to be distributed is connected to the 2.4GHz working channel of the wireless access point to complete the network distribution.
  • FIG. 3 is a schematic flowchart of the third embodiment of the method for network distribution of smart devices of the present application.
  • the step S20 is to send a message containing a device identifier to the authentication device.
  • the steps of network distribution request also include:
  • Step S21 sending a network distribution request including the device identifier and the terminal information of the intelligent terminal to the authentication device;
  • step S30 the step of receiving the network configuration information returned by the authentication device after verifying the device to be distributed according to the network distribution request and determining the operating frequency band of the device to be distributed further includes:
  • Step S32 after the authentication device verifies the device to be distributed according to the network distribution request, receive the authentication device to verify the device to be distributed according to the device identifier and the terminal information of the intelligent terminal. , and the network configuration information returned after determining the working frequency band of the device to be distributed.
  • the authentication device is another terminal that is communicatively connected to the intelligent terminal.
  • the terminal information of the intelligent terminal can be obtained, and a distribution request can be generated according to the terminal information and the device identification of the device to be distributed, and the distribution request can be sent to the network through the intelligent terminal.
  • Authentication device After receiving the network distribution request, the authentication device can determine the device to be distributed according to the device identification and the intelligent terminal according to the terminal information, so as to perform network distribution verification for the device to be distributed. After the verification is passed, the authentication device can further determine the working frequency band of the device to be distributed according to the device identification, so as to return the network configuration information of the corresponding frequency band of the wireless access point.
  • the authentication device and the wireless access point are smart gateways, and the step S30 is to receive the authentication
  • the step of the device verifying the device to be distributed according to the network distribution request, and determining the network configuration information returned after the operating frequency band of the device to be distributed further includes:
  • Step S33 after the intelligent gateway verifies the device to be distributed according to the device identification and the terminal information of the intelligent terminal, receives the intelligent gateway according to the preset device identification and frequency band relationship correspondence table and the device Identify the network configuration information of the corresponding wireless frequency band of the intelligent gateway returned after the working frequency band of the device to be distributed is determined.
  • the wireless access point is an intelligent gateway
  • the intelligent gateway can also be used as an authentication device to verify the device to be distributed and return network configuration information for the device to be distributed to connect with the intelligent gateway.
  • the intelligent gateway can obtain the device identification of the device to be distributed and the terminal information of the intelligent terminal from the network distribution request, and verify the distribution network of the device to be distributed. After the verification is passed and the distribution network is authorized, the intelligent gateway can The device identifier of the network device retrieves the working frequency band supported by the device to be distributed from the pre-stored correspondence table of the relationship between the device identifier and the frequency band, and returns the network configuration information of the corresponding wireless frequency band in the intelligent gateway. After receiving the network configuration information, the network-to-be-distributed device can access the intelligent gateway according to the SSID, password information and working channel information to realize network distribution.
  • the authentication device is a cloud platform, and in step S30, receiving the authentication device according to the The steps of the network configuration request to verify the device to be distributed and the network configuration information returned after determining the operating frequency band of the device to be distributed further include:
  • Step S34 after the cloud platform verifies the device to be distributed according to the device identifier and the terminal information of the intelligent terminal, the cloud platform receives the preset device identifier and frequency band relationship correspondence table and the device Identifies the network configuration information of the corresponding wireless frequency band of the wireless access point returned after the working frequency band of the device to be distributed is determined.
  • the authentication device may be a cloud platform set on a remote server.
  • the cloud platform can obtain the network configuration information of all wireless frequency bands of the wireless access point according to preset rules. For example, it can be updated regularly according to the preset period, and the network configuration information can also be updated when the network configuration information of the wireless access point is changed. The update is not limited here.
  • the cloud platform After the cloud platform receives the network distribution request sent by the device to be distributed through the smart terminal, it can verify the network distribution of the device to be distributed, and after the verification passes the device identification of the device to be distributed from the preset device identification and frequency band
  • the working frequency band of the device to be distributed is determined in the relationship correspondence table, and the network configuration information of the corresponding wireless frequency band is returned, so that the device to be distributed can access the working channel of the corresponding wireless frequency band of the wireless access point through the network configuration information.
  • FIG. 4 is a schematic flowchart of the sixth embodiment of the method for network distribution of smart devices of the present application. Based on the embodiments shown in FIG. 2 to FIG.
  • the step of pre-connecting the cellular hotspot of the terminal further includes:
  • step S11 the STA mode is turned on according to the network distribution instruction triggered by the user, and in the STA mode, the cellular hotspot of the intelligent terminal is searched and connected according to the preset pre-configured network information, and the intelligent terminal scans the information on the device to be distributed. Identify the pattern to obtain the preset pre-provisioned network information and configure the cellular hotspot.
  • the device to be deployed on the network can enable the STA mode through a network configuration command triggered by the user, and in the STA mode, the device to be deployed on the network can continue to search for cellular hotspots that are consistent with preset pre-configured network information.
  • the equipment to be distributed can draw an identification pattern on the surface of the equipment when the equipment leaves the factory.
  • the intelligent terminal can scan the identification pattern to obtain the pre-distribution network information corresponding to the equipment to be distributed, and configure the corresponding SSID and network according to the pre-distributed network information.
  • Password for cellular hotspot After the device to be distributed network searches for a qualified cellular hotspot, it can actively connect to the smart terminal.
  • the network device to be configured can disconnect from the intelligent terminal and actively access the working frequency band of the wireless access point. That is, in the process of network distribution, the device to be distributed always maintains the STA mode, and successively accesses the cellular hotspot of the smart terminal and the working frequency band of the wireless access point, so as to realize the network distribution of the device to be distributed.
  • the device to be configured can also display pre-configured network information on the surface of the device, and the user can actively configure the cellular hotspot of the smart terminal by browsing the pre-configured network information, so that the device to be configured is connected to the smart terminal.
  • Implement provisioning network can also display pre-configured network information on the surface of the device, and the user can actively configure the cellular hotspot of the smart terminal by browsing the pre-configured network information, so that the device to be configured is connected to the smart terminal.
  • the present application also proposes a method for network distribution of smart devices applied to smart terminals.
  • the specific embodiments of the present application applied to smart terminals are basically the same as the above-mentioned embodiments of the method for network distribution of smart devices, which will not be repeated here.
  • the present application also proposes a computer-readable storage medium on which a network configuration program of a smart device is stored.
  • the computer-readable storage medium may be the memory 20 in the terminal of FIG. 1, or may be, for example, a ROM (Read-Only Memory, read-only memory)/RAM (Random Access Memory, random access memory), a magnetic disk, an optical disk
  • the computer-readable storage medium includes several instructions for causing a device to be configured with a processor to execute the method for configuring a network of a smart device described in the various embodiments of the present application.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art.
  • the computer software products are stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

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

Abstract

本申请公开了一种智能设备配网方法、系统及存储介质,所述方法包括:在配网模式下与智能终端的蜂窝热点进行预连接,所述智能终端的蜂窝热点根据所述待配网设备预设的预配网信息进行配置;向鉴权设备发送包含有设备标识的配网请求;接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息;根据所述网络配置信息与无线接入点的相应无线频段连接以进行配网。

Description

智能设备配网方法、系统及存储介质
本申请要求于2020年7月24日申请的、申请号为202010733820.7、名称为“智能设备配网方法、系统及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及无线配网技术领域,尤其涉及一种智能设备配网方法、系统及存储介质。
背景技术
随着无线技术的普及,无线局域网得到越来越广泛的应用,各种无线通信智能设备如智能网络摄像头、智能电视盒子、智能音箱等产品得到了快速普及。这些智能设备由于结构及成本限制,往往不像手机、平板、电脑等设备具有用户输出界面,因此,对这些智能设备进行配网的过程相较手机、平板、电脑等设备更为繁琐与复杂。
目前,对上述这些不具备用户输出界面的智能设备进行配网的方式主要有两种,第一种方式为,将智能设备设置为SoftAP模式,通过智能终端按照智能设备在SoftAP模式下的对应的SSID(Service Set Identifier,基本服务集标识)及密码与智能设备进行连接,连接成功后将无线接入点的SSID及密码传输给智能设备,智能设备在接收到无线接入点的SSID及密码后,从SoftAP模式切换回STA模式,并通过接收到的无线接入点的SSID及密码与无线接入点连接完成配网。第二种方式是将智能设备设置为混杂模式,智能终端通过UDP广播的方式将无线接入点的SSID及密码发送给智能设备,智能设备监听到报文后解析出无线接入点的SSID及密码信息,然后切换为STA模式再与无线接入点建立连接完成配网。
上述两种配网方式中,智能设备在配网过程中都需要进行模式的切换,在混杂模式下还需要时刻保持监听状态以接收广播报文。并且,由于智能设备是被动接收到无线接入点的SSID及密码,智能终端在发送无线接入点的SSID及密码时,无法确定智能设备所能够支持的工作频段。例如,智能设备仅支持无线接入点的2.4Ghz频段,而智能终端获取到并发送给智能设备的无线接入点的SSID及密码为5Ghz频段的SSID及密码,此时智能设备即使获取到无线接入点的5Ghz频段的SSID及密码也无法完成配网,从而导致配网失败。
技术解决方案
本申请的主要目的在于提供一种智能设备配网方法、系统及存储介质,旨在解决现有的智能设备在配网时需要进行模式切换,并且容易出现智能设备与无线接入点的工作频段不对应而导致配网失败的问题。
为实现上述目的,本申请提供一种智能设备配网方法,应用于待配网设备,包括以下步骤:
在配网模式下与智能终端的蜂窝热点进行预连接,所述智能终端的蜂窝热点根据所述待配网设备预设的预配网信息进行配置;
向鉴权设备发送包含有设备标识的配网请求;
接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息;
根据所述网络配置信息与无线接入点的相应无线频段连接以进行配网。
在一实施例中,所述鉴权设备为智能终端,所述智能终端在开启蜂窝热点前获取所述无线接入点的所有无线频段的网络配置信息,所述接收所述鉴权设备确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
接收所述智能终端根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述无线接入点的相应无线频段的网络配置信息。
在一实施例中,所述向鉴权设备发送包含有设备标识的配网请求的步骤还包括:
向鉴权设备发送包含有所述设备标识以及所述智能终端的终端信息的配网请求;
所述接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息的步骤包括:
接收所述鉴权设备根据所述设备标识以及所述智能终端的终端信息验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息
在一实施例中,所述鉴权设备和所述无线接入点为智能网关,所述接收所述鉴权设备确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
接收所述智能网关根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述智能网关的相应无线频段的网络配置信息。
在一实施例中,所述鉴权设备为云平台,所述接收所述鉴权设备确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
接收所述云平台根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述无线接入点的相应无线频段的网络配置信息。
在一实施例中,所述云平台按照预设规则更新所述无线接入点的所有无线频段的网络配置信息。
在一实施例中,所述在配网模式下与智能终端的蜂窝热点进行预连接的步骤包括:
根据用户触发的配网指令开启STA模式,在STA模式下根据预设的预配网信息搜索智能终端的蜂窝热点并进行连接,所述智能终端通过扫描所述待配网设备上的识别图案获取预设的预配网信息并进行蜂窝热点的配置。
此外,本申请还提供一种智能设备配网方法,应用于智能终端,包括以下步骤:
获取所述待配网设备预设的预配网信息,并根据所述预配网信息配置蜂窝热点;
在所述待配网设备接入蜂窝热点后,获取所述待配网设备的设备标识,根据所述设备标识验证所述待配网设备,并根据所述设备标识确定所述待配网设备的工作频段;
将所述无线接入点的相应无线频段的网络配置信息发送至所述待配网设备,以使所述待配网设备根据所述网络配置信息进行配网。
此外,为实现上述目的,本申请还提供一种智能设备配网系统,所述智能设备配网系统包括待配网设备、智能终端以及智能设备配网程序,其中:所述智能设备配网程序被所述待配网设备和所述智能终端执行时实现如上所述的智能设备配网方法的步骤。
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有智能设备配网程序,所述智能设备配网程序被处理器执行时实现如上所述的智能设备配网方法的步骤。
本申请实施例提出的一种智能设备配网方法、系统及存储介质,通过控制待配网设备开启配网模式可以对周围的蜂窝热点进行搜索,并选择与预设的预配网信息一致的智能终端的蜂窝热点进行接入以实现预配网。在完成预配网后通过鉴权设备对待配网设备进行配网验证,并确定待配网设备所能够支持的工作频段,以返回对应该工作频段的无线接入点的相应频段的网络配置信息。待配网设备在配网模式下通过无线接入点的网络配置信息即可接入无线接入点的相应无线频段以实现联网。在配网过程中待配网设备将一直处于配网模式,无需进行模式的切换,并且鉴权设备所返回的网络配置信息为待配网设备可支持的工作频段的网络配置信息,从而避免了待配网设备的工作频段与无线接入点的工作频段不对应而导致配网失败,实现了待配网设备的安全、快速配网,提升了配网的安全性和配网效率。
附图说明
图1是本申请实施例方案涉及的硬件运行环境的装置结构示意图;
图2为本申请智能设备配网方法第一实施例的流程示意图;
图3为本申请智能设备配网方法第三实施例的流程示意图;
图4为本申请智能设备配网方法第六实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
本发明的实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的装置结构示意图。
本申请实施例终端为待配网设备,包括智能网络摄像头、智能电视盒子、智能音箱等不具备用户输出界面的智能设备。
如图1所示,该终端可以包括:处理器1001,例如CPU,通信总线1002,用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选的用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
在一实施例中,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在硬件设备移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别硬件设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,硬件设备还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及智能设备配网程序。
在图1所示的终端中,处理器1001可以用于调用存储器1005中存储的智能设备配网程序,并执行以下操作:
在配网模式下与智能终端的蜂窝热点进行预连接,所述智能终端的蜂窝热点根据所述待配网设备预设的预配网信息进行配置;
向鉴权设备发送包含有设备标识的配网请求;
接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息;
根据所述网络配置信息与无线接入点的相应无线频段连接以进行配网。
进一步地,处理器1001可以调用存储器1005中存储的智能设备配网程序,还执行以下操作:
接收所述智能终端根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述无线接入点的相应无线频段的网络配置信息。
进一步地,处理器1001可以调用存储器1005中存储的智能设备配网程序,还执行以下操作:
向鉴权设备发送包含有所述设备标识以及所述智能终端的终端信息的配网请求;
接收所述鉴权设备根据所述设备标识以及所述智能终端的终端信息验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息。
进一步地,处理器1001可以调用存储器1005中存储的智能设备配网程序,还执行以下操作:
接收所述智能网关根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述智能网关的相应无线频段的网络配置信息。
进一步地,处理器1001可以调用存储器1005中存储的智能设备配网程序,还执行以下操作:
接收所述云平台根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述无线接入点的相应无线频段的网络配置信息。
进一步地,处理器1001可以调用存储器1005中存储的智能设备配网程序,还执行以下操作:
根据用户触发的配网指令开启STA模式,在STA模式下根据预设的预配网信息搜索智能终端的蜂窝热点并进行连接,所述智能终端通过扫描所述待配网设备上的识别图案获取预设的预配网信息并进行蜂窝热点的配置。
在图1所示的终端中,处理器1001还可以用于调用存储器1005中存储的智能设备配网程序,并执行以下操作:
获取所述待配网设备预设的预配网信息,并根据所述预配网信息配置蜂窝热点;
在所述待配网设备接入蜂窝热点后,获取所述待配网设备的设备标识,根据所述设备标识验证所述待配网设备,并根据所述设备标识确定所述待配网设备的工作频段;
将所述无线接入点的相应无线频段的网络配置信息发送至所述待配网设备,以使所述待配网设备根据所述网络配置信息进行配网。
本申请应用于待配网设备的具体实施例与下述应用智能设备配网方法的各个实施例基本相同,在此不作赘述。
请参照图2,图2为本申请智能设备配网方法第一实施例的流程示意图,其中,所述智能设备配网方法应用于待配网设备,并包括如下步骤:
步骤S10,在配网模式下与智能终端的蜂窝热点进行预连接,所述智能终端的蜂窝热点根据所述待配网设备预设的预配网信息进行配置;
本实施例中,对于不具备用户输出界面的智能设备,需要通过配网操作使其与无线接入点连接,以实现智能设备的联网。需要进行联网的智能设备即为待配网设备,待配网设备可以通过各种具备用户输出界面的智能终端进行预配网,在预配网完成后实现配网。可以理解的是,智能终端可以为手机、电脑、平板、电视、投影仪等等带有操作界面和蜂窝热点的智能设备。
用户可以通过触发操作使得待配网设备进入配网模式,该触发操作可以为触发待配网设备上的模式开关。在待配网设备进入配网模式后,将会根据预设的预配网信息搜索符合要求的蜂窝热点。智能终端可以通过获取待配网设备预设的预配网信息,并按照该预配网信息对应的SSID和密码配置蜂窝热点,待配网设备在配网模式下搜索到与预配网信息的SSID和密码一致的蜂窝热点后即可接入该蜂窝热点。
步骤S20,向鉴权设备发送包含有设备标识的配网请求;
待配网设备在接入蜂窝热点后,可以向鉴权设备发送包含有待配网设备的设备标识的配网请求,该鉴权设备可以为智能终端,也可以是与智能终端通信连接的其他终端。待配网设备的设备标识中可以包含有待配网设备的各种配置信息,例如待配网设备所支持的工作频段。该设备标识可以是能够与待配网设备唯一对应的识别编码,也即设备ID,设备标识还可以为设备序列号或MAC地址等。可以理解的是,设备标识可以包括上述设备ID、设备序列号和MAC地址中的至少一个,以使鉴权设备能够根据设备标识识别待配网设备。
步骤S30,接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息;
鉴权设备在获取到包含有设备标识的配网请求后,可以根据该设备标识对待配网设备进行注册,并验证该待配网设备是否具有请求配网的相应权限。在对待配网设备进行验证并通过后,可以通过该设备标识进一步确定待配网设备所支持的工作频段,并返回相应的无线接入点的网络配置信息。例如,鉴权设备可以根据设备标识确定待配网设备是否支持2.4GHz和5GHz工作频段,在待配网设备仅支持2.4GHz工作频段时,鉴权设备可以向待配网设备返回无线接入点2.4GHz频段下的SSID和密码信息;在待配网设备仅支持5GHz工作频段时,鉴权设备则向待配网设备返回无线接入点5GHz频段下的SSID、密码信息以及工作信道信息。
步骤S40,根据所述网络配置信息与无线接入点的相应无线频段连接以进行配网。
待配网设备在接收到鉴权设备返回的无线接入点的相应无线频段的网络配置信息后,即可根据该网络配置信息接入无线接入点相应无线频段的工作信道以实现待配网设备的联网。
在本实施例中,待配网设备通过开启配网模式可以对周围的蜂窝热点进行搜索,并选择与预设的预配网信息一致的智能终端的蜂窝热点进行接入以实现预配网。在完成预配网后通过鉴权设备对待配网设备进行配网验证,并确定待配网设备所能够支持的工作频段,以返回对应该工作频段的无线接入点的相应频段的网络配置信息。待配网设备在配网模式下通过无线接入点的网络配置信息即可接入无线接入点的相应无线频段以实现联网。在配网过程中待配网设备将一直处于配网模式,无需进行模式的切换,并且鉴权设备所返回的网络配置信息为待配网设备可支持的工作频段的网络配置信息,从而避免了待配网设备的工作频段与无线接入点的工作频段不对应而导致配网失败,实现了待配网设备的安全、快速配网,提升了配网的安全性和配网效率。
进一步的,在本申请智能设备配网方法第二实施例中,基于上述图2所示的实施例,所述鉴权设备为智能终端,所述智能终端在开启蜂窝热点前获取所述无线接入点的所有无线频段的网络配置信息,所述步骤S30,接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
步骤S31,在所述鉴权设备根据所述配网请求验证所述待配网设备后,接收所述智能终端根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述无线接入点的相应无线频段的网络配置信息。
在本实施例中,鉴权设备即为智能终端,智能终端在验证待配网设备并确定其工作频段后,需要返回相应的无线接入点的网络配置信息,因此智能终端需要在开启蜂窝热点接收待配网设备接入前向无线接入点请求获取网络配置信息,以获取无线接入点的所有无线频段的网络配置信息,并在确定待配网设备的工作频段后选择无线接入点相对应的无线频段的网络配置信息发送给待配网设备。其中,智能终端预先存储有设备标识与频段关系对应表,根据该对应表以及待配网设备的设备标识即可确定待配网设备所能够支持的工作频段。例如,智能终端在根据待配网设备的设备标识以及对应表确定该待配网设备支持2.4GHz工作频段后,可以从预先获取的无线接入点的所有无线频段的网络配置信息中选择2.4GHz工作频段的网络配置信息返回给待配网设备,以使待配网设备接入无线接入点的2.4GHz的工作信道完成配网。
进一步的,参照图3,图3为本申请智能设备配网方法第三实施例的流程示意图,基于上述图2所示的实施例,所述步骤S20,向鉴权设备发送包含有设备标识的配网请求的步骤还包括:
步骤S21,向鉴权设备发送包含有所述设备标识以及所述智能终端的终端信息的配网请求;
所述步骤S30,接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
步骤S32,在所述鉴权设备根据所述配网请求验证所述待配网设备后,接收所述鉴权设备根据所述设备标识以及所述智能终端的终端信息验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息。
在本实施例中,鉴权设备为与智能终端通信连接的其他终端。在待配网设备通过智能终端进行预配网后,可以获取智能终端的终端信息,并根据该终端信息以及待配网设备的设备标识生成配网请求,通过智能终端将该配网请求发送至鉴权设备。鉴权设备在接收到配网请求后,即可根据设备标识确定待配网设备以及通过终端信息确定智能终端,以对待配网设备进行配网验证。在验证通过后,鉴权设备即可根据设备标识进一步确定待配网设备的工作频段,以返回无线接入点相应频段的网络配置信息。通过获取待配网设备的设备标识以及智能终端的终端信息,能够提升对待配网设备进行配网验证的准确性。
进一步的,在本申请智能设备配网方法第四实施例中,基于上述第三实施例,所述鉴权设备和所述无线接入点为智能网关,所述步骤S30,接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
步骤S33,在所述智能网关根据所述设备标识以及所述智能终端的终端信息验证所述待配网设备后,接收所述智能网关根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述智能网关的相应无线频段的网络配置信息。
在本实施例中,无线接入点为智能网关,该智能网关还可以作为鉴权设备以对待配网设备进行验证并返回网络配置信息以供待配网设备与智能网关进行连接。智能网关可以从配网请求中获取到待配网设备的设备标识以及智能终端的终端信息,并对待配网设备进行配网验证,在验证通过并进行配网授权后,智能网关可以根据待配网设备的设备标识从预存的设备标识与频段关系对应表中检索得到待配网设备所支持的工作频段,并返回智能网关中相应无线频段的网络配置信息。待配网设备在接收到该网络配置信息后,即可根据SSID、密码信息以及工作信道信息接入智能网关实现配网。
进一步的,在本申请智能设备配网方法第五实施例中,基于上述第三所示的实施例,所述鉴权设备为云平台,所述步骤S30,接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
步骤S34,在所述云平台根据所述设备标识以及所述智能终端的终端信息验证所述待配网设备后,接收所述云平台根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述无线接入点的相应无线频段的网络配置信息。
在本实施例中,鉴权设备可以为设置在远端服务器的云平台。云平台可以按照预设的规则获取无线接入点的所有无线频段的网络配置信息,例如可以按照预设周期进行定期更新,还可以在无线接入点的网络配置信息发生变更时进行网络配置信息的更新,在此不做限制。
云平台在接收到待配网设备通过智能终端发送的配网请求后,可以对待配网设备进行配网验证,并在验证通过后根据待配网设备的设备标识从预设的设备标识与频段关系对应表中确定待配网设备的工作频段,并返回相应无线频段的网络配置信息,以使待配网设备通过该网络配置信息接入无线接入点相应无线频段的工作信道。
进一步的,参照图4,图4为本申请智能设备配网方法第六实施例的流程示意图,基于上述图2至图3所示的实施例,所述步骤S10,在配网模式下与智能终端的蜂窝热点进行预连接的步骤还包括:
步骤S11,根据用户触发的配网指令开启STA模式,在STA模式下根据预设的预配网信息搜索智能终端的蜂窝热点并进行连接,所述智能终端通过扫描所述待配网设备上的识别图案获取预设的预配网信息并进行蜂窝热点的配置。
在本实施例中,待配网设备可以通过用户触发的配网指令开启STA模式,在STA模式下待配网设备可以持续搜索与预设的预配网信息一致的蜂窝热点。待配网设备在设备出厂时可以在设备表面绘制一识别图案,智能终端可以通过扫描该识别图案获取待配网设备所对应的预配网信息,并按照该预配网信息配置相应的SSID与密码的蜂窝热点。待配网设备在搜索到符合条件的蜂窝热点后,即可主动连接该智能终端。并且,在待配网设备获取到无线接入点的网络配置信息后,可以断开与智能终端的连接,并主动接入无线接入点的工作频段。即,在配网过程中,待配网设备始终保持STA模式,并先后接入智能终端的蜂窝热点以及无线接入点的工作频段,以实现待配网设备的配网。
可以理解的是,待配网设备还可以在设备表面显示有预配网信息,用户可以通过浏览该预配网信息主动对智能终端的蜂窝热点进行配置,以使待配网设备接入智能终端实现预配网。
此外,本申请还提出一种应用于智能终端的智能设备配网方法,本申请应用于智能终端的具体实施例与上述应用智能设备配网方法的各个实施例基本相同,在此不作赘述。
此外,本申请还提出一种计算机可读存储介质,其上存储有智能设备配网程序。所述计算机可读存储介质可以是图1的终端中的存储器20,也可以是如ROM(Read-Only Memory,只读存储器)/RAM(Random Access Memory,随机存取存储器)、磁碟、光盘中的至少一种,所述计算机可读存储介质包括若干指令用以使得一台具有处理器的待配网设备执行本申请各个实施例所述的智能设备配网方法。
可以理解的是,在本说明书的描述中,参考术语“一实施例”、“另一实施例”、“其他实施例”、或“第一实施例~第N实施例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (15)

  1. 一种智能设备配网方法,其中,应用于待配网设备,包括以下步骤:
    在配网模式下与智能终端的蜂窝热点进行预连接,所述智能终端的蜂窝热点根据所述待配网设备预设的预配网信息进行配置;
    向鉴权设备发送包含有设备标识的配网请求;
    接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息;
    根据所述网络配置信息与无线接入点的相应无线频段连接以进行配网。
  2. 如权利要求1所述的智能设备配网方法,其中,所述鉴权设备为智能终端,所述智能终端在开启蜂窝热点前获取所述无线接入点的所有无线频段的网络配置信息,所述接收所述鉴权设备确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
    接收所述智能终端根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述无线接入点的相应无线频段的网络配置信息。
  3. 如权利要求1所述的智能设备配网方法,其中,所述向鉴权设备发送包含有设备标识的配网请求的步骤还包括:
    向鉴权设备发送包含有所述设备标识以及所述智能终端的终端信息的配网请求;
    所述接收所述鉴权设备根据所述配网请求验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息的步骤包括:
    接收所述鉴权设备根据所述设备标识以及所述智能终端的终端信息验证所述待配网设备,并确定所述待配网设备的工作频段后返回的网络配置信息
  4. 如权利要求3所述的智能设备配网方法,其中,所述鉴权设备和所述无线接入点为智能网关,所述接收所述鉴权设备确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
    接收所述智能网关根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述智能网关的相应无线频段的网络配置信息。
  5. 如权利要求3所述的智能设备配网方法,其中,所述鉴权设备为云平台,所述接收所述鉴权设备确定所述待配网设备的工作频段后返回的网络配置信息的步骤还包括:
    接收所述云平台根据预设的设备标识与频段关系对应表以及所述设备标识确定所述待配网设备的工作频段后返回的所述无线接入点的相应无线频段的网络配置信息。
  6. 如权利要求5所述的智能设备配网方法,其中,所述云平台按照预设规则更新所述无线接入点的所有无线频段的网络配置信息。
  7. 如权利要求1所述的智能设备配网方法,其中,所述在配网模式下与智能终端的蜂窝热点进行预连接的步骤包括:
    根据用户触发的配网指令开启STA模式,在STA模式下根据预设的预配网信息搜索智能终端的蜂窝热点并进行连接,所述智能终端通过扫描所述待配网设备上的识别图案获取预设的预配网信息并进行蜂窝热点的配置。
  8. 如权利要求1所述的智能设备配网方法,其中,所述鉴权设备在获取到包含有设备标识的配网请求后,根据所述设备标识对待配网设备进行注册,并验证该待配网设备是否具有请求配网的相应权限。
  9. 如权利要求1所述的智能设备配网方法,其中,所述设备标识包括设备ID、设备序列号和MAC地址中的至少一个。
  10. 如权利要求1所述的智能设备配网方法,其中,所述鉴权设备为智能终端,或与所述智能终端通信连接的其他终端,或设置在远端服务器的云平台。
  11. 如权利要求1所述的智能设备配网方法,其中,所述待配网设备通过开启配网模式对周围的蜂窝热点进行搜索,并选择与预设的预配网信息一致的智能终端的蜂窝热点进行接入以实现预配网。
  12. 如权利要求1所述的智能设备配网方法,其中,所述智能终端为手机、电脑、平板、电视、投影仪等带有操作界面和蜂窝热点的智能设备。
  13. 一种智能设备配网方法,其中,应用于智能终端,包括以下步骤:
    获取所述待配网设备预设的预配网信息,并根据所述预配网信息配置蜂窝热点;
    在所述待配网设备接入蜂窝热点后,获取所述待配网设备的设备标识,根据所述设备标识验证所述待配网设备,并根据所述设备标识确定所述待配网设备的工作频段;
    将所述无线接入点的相应无线频段的网络配置信息发送至所述待配网设备,以使所述待配网设备根据所述网络配置信息进行配网。
  14. 一种智能设备配网系统,其中,所述智能设备配网系统包括待配网设备、智能终端以及智能设备配网程序,其中:所述智能设备配网程序被所述待配网设备和所述智能终端执行时实现如权利要求1至13中任一项所述的智能设备配网方法的步骤。
  15. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有智能设备配网程序,所述智能设备配网程序被处理器执行时实现如权利要求1至13中任一项所述的智能设备配网方法的步骤。
PCT/CN2020/113030 2020-07-24 2020-09-02 智能设备配网方法、系统及存储介质 WO2022016672A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010733820.7A CN111866999B (zh) 2020-07-24 2020-07-24 智能设备配网方法、系统及存储介质
CN202010733820.7 2020-07-24

Publications (1)

Publication Number Publication Date
WO2022016672A1 true WO2022016672A1 (zh) 2022-01-27

Family

ID=72948866

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/113030 WO2022016672A1 (zh) 2020-07-24 2020-09-02 智能设备配网方法、系统及存储介质

Country Status (2)

Country Link
CN (1) CN111866999B (zh)
WO (1) WO2022016672A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155520A1 (zh) * 2022-02-21 2023-08-24 腾讯科技(深圳)有限公司 网络连接方法、装置、设备、存储介质和程序产品

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531344B (zh) * 2020-11-06 2023-08-01 深圳Tcl新技术有限公司 一种配网方法、装置、终端及计算机存储介质
CN114465886A (zh) * 2020-11-09 2022-05-10 深圳Tcl新技术有限公司 设备配网方法、装置、智能终端及计算机可读存储介质
CN112367203A (zh) * 2020-11-10 2021-02-12 深圳Tcl新技术有限公司 配网方法及装置、智能电视机、计算机可读存储介质
CN114500256B (zh) * 2020-11-13 2024-04-30 深圳Tcl新技术有限公司 终端设备的配网方法、装置、路由器设备及存储介质
CN114598599B (zh) * 2020-11-20 2024-01-19 深圳Tcl新技术有限公司 物联网设备的配网方法、装置、物联网设备及存储介质
CN112752245B (zh) * 2020-12-11 2023-12-01 深圳市优必选科技股份有限公司 一种配网方法、装置、电子设备及存储介质
CN112671572B (zh) * 2020-12-16 2023-02-03 青岛海尔科技有限公司 智能设备配网的方法、装置、存储介质及电子装置
CN113630727B (zh) * 2021-07-09 2023-04-07 珠海荣邦智能科技有限公司 智能家居配网方法及装置、系统、电子设备、存储介质
CN113573313A (zh) * 2021-08-10 2021-10-29 海宁奕斯伟集成电路设计有限公司 一种智能设备配网方法及装置
CN113765903B (zh) * 2021-08-26 2023-07-28 科大讯飞股份有限公司 投屏方法及相关装置、电子设备、存储介质
CN113950052A (zh) * 2021-09-15 2022-01-18 深圳和而泰智能家电控制器有限公司 智能设备的配网方法、装置、移动终端及智能设备
CN113891317A (zh) * 2021-09-28 2022-01-04 青岛海尔科技有限公司 智能设备的配网方法及配网装置、电子设备
CN114024788A (zh) * 2021-10-08 2022-02-08 中移(杭州)信息技术有限公司 家居设备配网方法、装置、设备及存储介质
CN117676520A (zh) * 2022-08-25 2024-03-08 无锡小天鹅电器有限公司 电器设备的配网方法和配网装置、计算机可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170339724A1 (en) * 2014-07-25 2017-11-23 Zte Corporation Method and device for communicatively connecting with intelligent terminal
CN110266537A (zh) * 2019-06-21 2019-09-20 上海庆科信息技术有限公司 设备配网方法、装置、系统、待配网设备及终端
CN111083766A (zh) * 2019-12-31 2020-04-28 南京创维信息技术研究院有限公司 一种基于智慧屏幕的自动配网绑定方法
CN111163500A (zh) * 2020-01-10 2020-05-15 广东科徕尼智能科技有限公司 一种基于二维码的物联网设备配网方法及系统
CN111342985A (zh) * 2018-12-18 2020-06-26 美的集团股份有限公司 配网方法、物联网系统和物联网设备
CN111399389A (zh) * 2020-03-27 2020-07-10 四川虹美智能科技有限公司 智能家电控制系统及控制方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163366B (zh) * 2015-09-24 2019-03-29 小米科技有限责任公司 无线网络连接方法和装置
CN106993323A (zh) * 2017-05-27 2017-07-28 上海斐讯数据通信技术有限公司 一种无线网络频段连接方法和无线接入设备
CN108833238A (zh) * 2018-07-27 2018-11-16 杭州古北电子科技有限公司 设备配网方法
CN111194067A (zh) * 2018-11-14 2020-05-22 中兴通讯股份有限公司 网络接入方法、装置、相关设备及存储介质
CN110650516B (zh) * 2019-09-23 2021-10-08 芯海科技(深圳)股份有限公司 配网方法、装置、物联网设备、终端设备和存储介质
CN110769442B (zh) * 2019-10-16 2023-07-21 海尔优家智能科技(北京)有限公司 用于接入路由器的方法及装置、物联网设备
CN111246539B (zh) * 2020-01-09 2023-01-03 杭州九阳小家电有限公司 一种智能家电的联网绑定方法、智能家电及用户终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170339724A1 (en) * 2014-07-25 2017-11-23 Zte Corporation Method and device for communicatively connecting with intelligent terminal
CN111342985A (zh) * 2018-12-18 2020-06-26 美的集团股份有限公司 配网方法、物联网系统和物联网设备
CN110266537A (zh) * 2019-06-21 2019-09-20 上海庆科信息技术有限公司 设备配网方法、装置、系统、待配网设备及终端
CN111083766A (zh) * 2019-12-31 2020-04-28 南京创维信息技术研究院有限公司 一种基于智慧屏幕的自动配网绑定方法
CN111163500A (zh) * 2020-01-10 2020-05-15 广东科徕尼智能科技有限公司 一种基于二维码的物联网设备配网方法及系统
CN111399389A (zh) * 2020-03-27 2020-07-10 四川虹美智能科技有限公司 智能家电控制系统及控制方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155520A1 (zh) * 2022-02-21 2023-08-24 腾讯科技(深圳)有限公司 网络连接方法、装置、设备、存储介质和程序产品

Also Published As

Publication number Publication date
CN111866999B (zh) 2021-09-24
CN111866999A (zh) 2020-10-30

Similar Documents

Publication Publication Date Title
WO2022016672A1 (zh) 智能设备配网方法、系统及存储介质
EP3731495B1 (en) Method and electronic device for edge computing service
WO2022016673A1 (zh) 智能设备批量配网方法、系统及存储介质
CN109104448B (zh) 会话管理方法、及装置
CN109429363B (zh) 会话管理方法、及装置
US11638139B2 (en) Device access method, device, and system
KR101663011B1 (ko) 단말기 및 그 단말기에서 테더링 서비스 수행 방법
CN111867002A (zh) 智能设备配网鉴权方法、系统及存储介质
WO2019242730A1 (zh) 网络接入方法、终端及网络侧网元
US8929348B2 (en) Method and apparatus for connecting wireless network in a digital device
WO2020098253A1 (zh) 网络接入方法、装置、相关设备及存储介质
US20160242033A1 (en) Communication service using method and electronic device supporting the same
US20170094694A1 (en) Method, device and system for accessing wireless network
US9781579B2 (en) Method and device for realizing terminal WIFI talkback
CN106789470B (zh) 终端资源共享方法、装置和系统
WO2012159414A1 (zh) 移动终端接入无线局域网热点的方法及移动终端
KR20140057440A (ko) 와이파이 네트워크를 이용한 디바이스 연결 시스템 및 방법
US11930008B2 (en) Subscription information configuration method and communications device
EP3648488B1 (en) Methods, devices, system and computer-readable storage medium for acquiring identifier of terminal device
WO2016173177A1 (zh) 基于无线热点的Wi-Fi配置方法和装置
JP5723174B2 (ja) 情報処理プログラム、情報処理システム、情報処理装置、および情報処理方法
KR102074760B1 (ko) 기기 간 자동 무선 통신 연결되는 영상 표시장치 및 이에 따른 영상표시 방법
CN104879894B (zh) 远程控制空调的方法、装置及系统
US10212163B1 (en) Method and apparatus for simplified and secured hotspot device connectivity
CN114258023B (zh) Mesh组网方法、装置、设备及可读存储介质

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: 20946458

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 03/07/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20946458

Country of ref document: EP

Kind code of ref document: A1