WO2021143298A1 - Method and apparatus for screen-free device sharing station connection information, and storage medium - Google Patents

Method and apparatus for screen-free device sharing station connection information, and storage medium Download PDF

Info

Publication number
WO2021143298A1
WO2021143298A1 PCT/CN2020/126493 CN2020126493W WO2021143298A1 WO 2021143298 A1 WO2021143298 A1 WO 2021143298A1 CN 2020126493 W CN2020126493 W CN 2020126493W WO 2021143298 A1 WO2021143298 A1 WO 2021143298A1
Authority
WO
WIPO (PCT)
Prior art keywords
screenless
connection information
mode
site
screenless device
Prior art date
Application number
PCT/CN2020/126493
Other languages
French (fr)
Chinese (zh)
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 WO2021143298A1 publication Critical patent/WO2021143298A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0077Transmission or use of information for re-establishing the radio link of access information of target access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • 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
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/10Access point devices adapted for operation in multiple networks, e.g. multi-mode access points

Definitions

  • This application relates to the field of smart electronics, and in particular to a method, device and storage medium for sharing site connection information by screenless devices.
  • the main purpose of this application is to provide a method, device and storage medium for screenless devices to share site connection information, aiming to solve the technical problems of cumbersome operation and slow speed caused by mobile APP's network configuration of screenless devices one by one.
  • This application provides a method for screenless devices to share site connection information, including:
  • the first screenless device acquires and saves site connection information
  • the site connection information is sent to the second screenless device, so that the second screenless device performs a network configuration operation according to the site connection information.
  • the step of acquiring and saving site connection information by the first screenless device includes:
  • the step of acquiring and saving site connection information by the first screenless device includes:
  • the step of selecting one of the searched non-screen devices as the second non-screen device for connection includes:
  • the screenless device with the strongest RSSI signal strength is selected as the second screenless device for connection.
  • the step of selecting the screenless device with the strongest RSSI signal strength for connection includes:
  • the screenless device with the strongest RSSI signal strength is used as the second screenless device for connection. Further, before the step of acquiring and saving site connection information by the first screenless device, the method includes:
  • the method further includes:
  • the method includes:
  • the method includes:
  • This application provides a screenless device, including:
  • the site connection information acquisition module is used to acquire and save site connection information
  • Mode switching module used to switch the mode to STA mode
  • Screenless device search module used to search for other screenless devices
  • the screenless device selection module is used to select one of the searched screenless devices as the second screenless device for connection;
  • the station connection information sending module is configured to send the station connection information to the second screenless device.
  • the embodiment of the present application also provides a storage medium on which a computer program is stored, and the computer program implements the steps of any one of the above-mentioned methods when the computer program is executed by a processor.
  • An embodiment of the present application also provides a computer device, which includes a processor, a memory, and a computer program that is stored on the memory and can run on the processor.
  • the processor implements any of the foregoing when the computer program is executed. One of the steps of the method described.
  • the second screenless device is automatically retrieved and connected through the first screenless device in the STA mode, and the site connection information is sent to the second screenless device, so that the second screenless device does not need to rely on a third party
  • the terminal obtains the site connection information, and achieves the technical effect of automatically sharing the site connection information, so that the screenless device can automatically network according to the site connection information. Since users do not need to input site connection information to screenless devices one by one through the mobile APP, the cumbersome operation of the network distribution process is reduced, and the network distribution efficiency is improved.
  • FIG. 1 is a schematic flowchart of a method for sharing site connection information by a screenless device according to an embodiment of the present application
  • step S4 of sharing site connection information with a screenless device according to an embodiment of the application
  • FIG. 3 is a structural block diagram of a screenless device according to an embodiment of the application.
  • FIG. 4 is a structural block diagram of a non-screen device selection module in a non-screen device according to an embodiment of the application
  • FIG. 5 is a structural block diagram of a non-screen device selection submodule in a non-screen device according to an embodiment of the application
  • FIG. 6 is a structural block diagram of an embodiment of a storage medium of the application.
  • Fig. 7 is a structural block diagram of an embodiment of a screenless device of the present application.
  • connection may be a direct connection or an indirect connection.
  • this application proposes a method for sharing site connection information with a screenless device, which includes:
  • the first screenless device acquires and saves site connection information
  • S2 Switch the mode to STA mode
  • S5 Send the site connection information to the second screenless device, so that the second screenless device performs a network configuration operation according to the site connection information.
  • the first non-screen device obtains the site connection information and saves the site connection information.
  • the method of obtaining the site connection information can be from a third-party terminal or directly from other non-screen devices.
  • the third-party terminal can include a mobile phone, The computer, etc., after data connection with the first screenless device, sends the site connection information to a third-party terminal, and saves the site connection information either temporarily or permanently for subsequent automatic connection to the site.
  • the site is generally WIFI.
  • each screenless device in AP mode can be used as an AP, it has a fixed SSID, password, and For the details of the distribution network characteristics, the story first establishes a table of SSID numbers and passwords corresponding to each AP in the first non-screen device, and can retrieve the non-screen device associated with the table according to the signal detection result.
  • step S4 select one of the searched screenless devices as the second screenless device for connection.
  • the selection method can be arbitrarily selected, preferably the screenless device with the strongest RSSI signal is selected as the second screenless device Make a connection.
  • the site connection information is sent to the second screenless device, so that the second screenless device does not need to rely on a third-party terminal to obtain the site connection information, achieving the technical effect of automatically sharing the site connection information.
  • step S1 includes:
  • S102 Receive and save the site connection information sent by the third-party terminal.
  • the first non-screen device when the first non-screen device is the first non-screen device to obtain site connection information among multiple non-screen devices, the first non-screen device can communicate with a third-party terminal in AP mode.
  • third-party terminals are generally smart terminals such as mobile phones and tablet computers, and site connection information can also be obtained through near field communication methods such as Bluetooth.
  • step S1 includes:
  • S111 Accept the connection of the screenless device storing the site connection information in the AP mode
  • S112 Receive and save the site connection information sent by the screenless device storing the site connection information.
  • the first screenless device when the first screenless device is not the first screenless device to obtain site connection information, it can accept the connection of the screenless device storing the site connection information, and receive the site sent by it. Connection information, without the need to obtain site connection information from a third-party terminal, to achieve the effect of automatically obtaining site connection information, so that screenless devices can automatically network according to site connection information.
  • step S4 includes:
  • S402 Select the screenless device with the strongest RSSI signal strength as the second screenless device for connection.
  • the transmission speed can be increased by selecting the screenless device with the strongest RSSI signal.
  • the second screenless device is now the first screenless device. The device continues to retrieve the remaining screenless devices, and detects again the screenless device with the strongest RSSI signal to transmit site connection information, which can significantly speed up the transmission speed of site connection information between the screenless devices, and can even be passed to the first A screenless device that cannot be retrieved by a screenless device.
  • step S402 includes:
  • connection If the connection is already made, connect to the screenless device with the second strongest RSSI signal. It should be understood that if the screenless device with the second strongest RSSI signal strength has also been connected by other devices, continue to connect to the screenless device with the third strongest RSSI signal strength until it is connected to the screenless device or is in the retrieved list. All non-screen devices have been connected.
  • the method to detect whether the screenless device has been connected can be to set the screenless device to only connect to one other screenless device. Therefore, if it is detected that the screenless device cannot be connected at the first screenless device, then the first screenless device cannot be connected.
  • the screen device can identify the non-screen device as being connected.
  • the method before the above step S1, the method includes:
  • S0 Periodically switch between STA mode and AP mode.
  • the non-screen device when the non-screen device is in STA mode, it can search for the nearest other non-screen device, or connect to the site. When in AP mode, it can completely receive the routing related password and SSID number sent by the STA mode device.
  • the time length of the STA mode is t1
  • the time length of the AP mode is t2
  • the number N sent should satisfy (N-1) t3>t2, so that the second screenless device can be in one cycle Can obtain the IP package of the distribution network smoothly.
  • the method further includes:
  • the method includes:
  • the first screenless device obtains the site connection information, it disconnects from the currently connected device or terminal, and then connects to the site. When it can be connected to the site, it disconnects from the site, and then connects to the third-party terminal. To connect, send a confirmation message "You can connect to the site through the site connection information" to the third-party terminal.
  • the method of connecting to the third-party terminal can be that the screenless device knows the connection information of the third-party terminal and connects to the third-party terminal.
  • the third-party terminal is connected to the site, and the third-party terminal is directly sent to the third-party terminal through the site.
  • step S1 before the above step S1, it includes:
  • the screenless device cannot automatically obtain the SSID number and password of other screenless devices and the network distribution feature byte, in order to enable other devices to successfully retrieve the first screenless device in AP mode
  • the device needs to detect the data information of the first screenless device. If it is different from the information in the setting database, the data information of the first screenless device needs to be changed.
  • the setting database may be a preset corresponding data list, and then the database is pre-stored in each screenless device.
  • the SSID numbers, passwords, and network distribution characteristic bytes of all screenless devices may also be counted to form a corresponding data list as a database.
  • the second screenless device is automatically retrieved and connected through the first screenless device in the STA mode, and the site connection information is sent to the second screenless device, so that the second screenless device does not need to rely on a third-party terminal to obtain
  • the site connection information achieves the technical effect of automatically sharing site connection information, so that screenless devices can automatically network according to the site connection information.
  • this application also provides a screenless device, including:
  • the site connection information acquisition module 10 is used to acquire and save site connection information
  • the mode switching module 20 is used to switch the mode to the STA mode
  • the screenless device search module 30 is used to search for other screenless devices
  • the screenless device selection module 40 is configured to select one of the searched screenless devices as the second screenless device for connection;
  • the first station connection information sending module 50 is configured to send the station connection information to the second screenless device, so that the second screenless device performs a network configuration operation according to the station connection information.
  • the first non-screen device obtains the site connection information through the site connection information obtaining module 10, and saves the site connection information.
  • the method of obtaining the site connection information can be from a third-party terminal or directly from other non-screen devices.
  • the third-party terminal can include a mobile phone, The computer, etc., after data connection with the first screenless device, sends the site connection information to a third-party terminal, and saves the site connection information either temporarily or permanently for subsequent automatic connection to the site.
  • the site is generally WIFI.
  • each screenless device in AP mode can be used as an AP, it has a fixed SSID, password, and network configuration details.
  • the story first establishes a table of SSID numbers and passwords corresponding to each AP in the first screenless device. According to the signal detection result, the screenless device search module 30 can retrieve the screenless device associated with the table.
  • One of the searched screenless devices is selected through the screenless device selection module 40 as the second screenless device for connection.
  • the selection method can be arbitrarily selected, preferably the screenless device with the strongest RSSI signal is selected as the second screenless device Make a connection.
  • the first module 50 for sending the site connection information sends the site connection information to the second screenless device, so that the second screenless device does not need to rely on a third-party terminal to obtain the site connection information, achieving the technical effect of automatically sharing the site connection information.
  • the site connection information acquisition module 10 includes:
  • the third-party terminal connection sub-module is used to connect with the third-party terminal in AP mode
  • the site connection information receiving submodule is used to receive and save the site connection information sent by the third-party terminal.
  • the first screenless device When the first screenless device is the first screenless device to obtain site connection information among multiple screenless devices, the first screenless device can connect to a third-party terminal in AP mode, where the third-party terminal is generally Smart terminals such as mobile phones and tablet computers can also obtain site connection information through near-field communication methods such as Bluetooth.
  • the third-party terminal is generally Smart terminals such as mobile phones and tablet computers can also obtain site connection information through near-field communication methods such as Bluetooth.
  • the station connection information obtaining module 10 includes:
  • a screenless device connection sub-module for accepting the connection of the screenless device storing the site connection information in the AP mode
  • the information receiving sub-module is used to receive and save the site connection information sent by the screenless device storing the site connection information.
  • the first screenless device When the first screenless device is not the first screenless device to obtain site connection information, it can accept the connection of the screenless device storing the site connection information, and receive the site connection information sent by it, without the need for a third-party terminal Obtain site connection information to achieve the effect of automatically acquiring site connection information, so that screenless devices can automatically network according to site connection information.
  • the aforementioned non-screen device selection module 40 includes:
  • the signal strength detection sub-module 401 is used to detect the RSSI signal strength of the searched screenless device
  • the screenless device selection submodule 402 is configured to select the screenless device with the strongest RSSI signal strength as the second screenless device for connection.
  • the second screenless device is used as the current first screenless device to continue to retrieve the remaining screenless devices.
  • the screenless device with the strongest RSSI signal transmits the site connection information again, which can significantly speed up the transmission speed of the site connection information between the screenless devices. It can even be transmitted to the screenless device that cannot be retrieved by the first screenless device. Screen equipment.
  • the screenless device selection submodule 402 includes:
  • the connection detection sub-module 4021 detects whether the screenless device that needs to be connected is connected with other screenless devices
  • the non-screen device connection sub-module 4022 is used to use the non-screen device with the strongest RSSI signal strength as the second non-screen device when the non-screen device that needs to be connected is not connected to other non-screen devices. connect.
  • the remaining screenless devices only need to detect whether the screenless device that needs to be connected is already connected to other non-screen devices, so it is necessary to detect that the RSSI signal is the most Whether the strong non-screen device has been connected, if it is not connected, you can continue to connect, if it is already connected, connect to the non-screen device with the second strongest RSSI signal strength. It should be understood that if the screenless device with the second strongest RSSI signal strength has also been connected by other devices, continue to connect to the screenless device with the third strongest RSSI signal strength until it is connected to the screenless device or is in the retrieved list. All non-screen devices have been connected.
  • the method to detect whether the screenless device has been connected can be to set the screenless device to only connect to one other screenless device. Therefore, if it is detected that the screenless device cannot be connected at the first screenless device, then the first screenless device cannot be connected.
  • the screen device can identify the non-screen device as being connected.
  • the screenless device includes:
  • the mode cycle switching module is used to periodically switch between the STA mode and the AP mode.
  • the time to send a data packet containing site connection information is t3
  • the number N sent should satisfy (N-1)t3>t2, so that the second screenless device can smoothly obtain the IP of the distribution network within a cycle Bag.
  • the screenless device also includes:
  • the STA mode detection module detects whether there are other non-screen devices in AP mode within the set time
  • the second module for sending station connection information if it exists, connects and sends the station connection information to the screenless device in the AP mode.
  • the screenless device also includes:
  • the site connection information detection module is used to detect whether the site connection information can connect to the site;
  • the confirmation message sending module if the site can be connected, sends a confirmation message to the third-party terminal.
  • the first screenless device After receiving the site connection information, you need to check whether the site can be accurately connected. If the site can be successfully connected, you need to send a confirmation message to the third-party terminal. Since the first screenless device is a screenless device, it cannot be displayed , And the number of connected non-screen devices can be counted through third-party terminals. Specifically, after the first screenless device obtains the site connection information, it disconnects from the currently connected device or terminal, and then connects to the site. When it can be connected to the site, it disconnects from the site, and then connects to the third-party terminal. To connect, send a confirmation message "You can connect to the site through the site connection information" to the third-party terminal.
  • the method of connecting to the third-party terminal can be that the screenless device knows the connection information of the third-party terminal and connects to the third-party terminal.
  • the third-party terminal is connected to the site, and the third-party terminal is directly sent to the third-party terminal through the site.
  • non-screen devices also include:
  • the data information judgment module is used to judge whether the data information in the AP mode is the same as the information in the set database;
  • the data information modification module if the data information is different from the information in the database, it will modify the data information in the AP mode to the information in the set database.
  • the setting database may be a preset corresponding data list, and then the database is pre-stored in each screenless device.
  • the SSID numbers, passwords, and network distribution characteristic bytes of all screenless devices may also be counted to form a corresponding data list as a database.
  • the present application also provides a storage medium 100 in which a computer program 200 is stored. When it runs on a computer, the computer executes the screenless device sharing site connection information described in the above embodiments. method.
  • the present application also provides a non-screen device 300 containing the above-mentioned storage medium 100.
  • the non-screen device 300 is configured to The processor 400 executes the method for sharing site connection information by a screenless device described in the above embodiment.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a storage medium, or transmitted from one storage medium to another storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as coaxial cable, optical fiber, etc.). , Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website, computer, server or data center.
  • a cable such as coaxial cable, optical fiber, etc.
  • DSL Digital Subscriber Line
  • wireless such as infrared, wireless, microwave, etc.
  • the storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.

Abstract

Provided are a method and apparatus for a screen-free device sharing station connection information, and a storage medium. The method comprises: a first screen-free device acquiring and saving station connection information; switching a mode to an STA mode; and selecting one of found screen-free devices as a second screen-free device to carry out connection, so that the second screen-free device carries out a network configuration operation according to the station connection information. By means of the present application, the automatic sharing of station connection information is realized, such that a screen-free device can automatically connect to a network according to the station connection information.

Description

无屏设备分享站点连接信息的方法、装置和存储介质Method, device and storage medium for screenless equipment to share site connection information 技术领域Technical field
本申请涉及智能电子领域,特别涉及一种无屏设备分享站点连接信息的方法、装置和存储介质。This application relates to the field of smart electronics, and in particular to a method, device and storage medium for sharing site connection information by screenless devices.
背景技术Background technique
目前多个无屏设备需要同时配网时,只能通过手机APP一个一个对无屏设备进行配网,操作比较繁琐,速度较慢,无法实现多个无屏设备自动联网,而且与站点距离有关,穿墙配网会带来不易匹配的困难。At present, when multiple non-screen devices need to be configured at the same time, they can only configure the non-screen devices one by one through the mobile APP. The operation is cumbersome and the speed is slow. It is impossible to realize the automatic networking of multiple non-screen devices, and it is related to the distance of the site. , The distribution network through the wall will bring difficulties that are not easy to match.
技术问题technical problem
本申请的主要目的为提供一种无屏设备分享站点连接信息的方法、装置和存储介质,旨在解决手机APP一个一个对无屏设备进行配网带来操作繁琐,速度较慢的技术问题。The main purpose of this application is to provide a method, device and storage medium for screenless devices to share site connection information, aiming to solve the technical problems of cumbersome operation and slow speed caused by mobile APP's network configuration of screenless devices one by one.
技术解决方案Technical solutions
本申请提供了一种无屏设备分享站点连接信息的方法,包括:This application provides a method for screenless devices to share site connection information, including:
第一无屏设备获取并保存站点连接信息;The first screenless device acquires and saves site connection information;
将模式切换为STA模式;Switch the mode to STA mode;
搜索其他无屏设备;Search for other non-screen devices;
选取搜索到的所述无屏设备的其中一个作为第二无屏设备进行连接;Selecting one of the searched non-screen devices as the second non-screen device for connection;
将所述站点连接信息发送至所述第二无屏设备,以使所述第二无屏设备根据所述站点连接信息进行配网操作。The site connection information is sent to the second screenless device, so that the second screenless device performs a network configuration operation according to the site connection information.
进一步地,所述第一无屏设备获取并保存站点连接信息的步骤包括:Further, the step of acquiring and saving site connection information by the first screenless device includes:
在AP模式下与第三方终端连接;Connect with third-party terminals in AP mode;
接收并保存所述第三方终端发送的所述站点连接信息。Receiving and saving the site connection information sent by the third-party terminal.
进一步地,所述第一无屏设备获取并保存站点连接信息的步骤包括:Further, the step of acquiring and saving site connection information by the first screenless device includes:
在AP模式下接受存有所述站点连接信息的无屏设备的连接;Accept the connection of the screenless device storing the connection information of the site in the AP mode;
接收并保存所述存有所述站点连接信息的无屏设备发送的站点连接信息。Receiving and saving the site connection information sent by the screenless device storing the site connection information.
进一步地,所述选取搜索到的所述无屏设备的其中一个作为第二无屏设备进行连接的步骤包括:Further, the step of selecting one of the searched non-screen devices as the second non-screen device for connection includes:
检测搜索到的无屏设备的RSSI信号强度;Detect the RSSI signal strength of the searched non-screen device;
选取所述RSSI信号强度最强的无屏设备作为所述第二无屏设备进行连接。The screenless device with the strongest RSSI signal strength is selected as the second screenless device for connection.
进一步地,所述选取所述RSSI信号强度最强的无屏设备进行连接的步骤,包括:Further, the step of selecting the screenless device with the strongest RSSI signal strength for connection includes:
检测需要进行连接的无屏设备是否与其他的无屏设备连接;Check whether the non-screen device that needs to be connected is connected with other non-screen devices;
若否,则将RSSI信号强度最强的无屏设备作为所述第二无屏设备进行连接。进一步地,所述第一无屏设备获取并保存站点连接信息的步骤之前,包括:If not, the screenless device with the strongest RSSI signal strength is used as the second screenless device for connection. Further, before the step of acquiring and saving site connection information by the first screenless device, the method includes:
在STA模式和AP模式之间进行周期性切换。Periodically switch between STA mode and AP mode.
进一步地,所述将所述站点连接信息发送至连接的所述第二无屏设备的步骤之后,还包括:Further, after the step of sending the site connection information to the connected second screenless device, the method further includes:
在设定时间内检测是否存在AP模式下的其他无屏设备;Detect whether there are other non-screen devices in AP mode within the set time;
若存在,则连接并将所述站点连接信息发送给处于AP模式下的无屏设备。If it exists, connect and send the station connection information to the screenless device in the AP mode.
进一步地,所述第一无屏设备获取并保存站点连接信息的步骤之后,包括:Further, after the step of acquiring and saving site connection information by the first screenless device, the method includes:
检测所述站点连接信息是否可以连接站点;Detecting whether the site connection information can connect to the site;
若可以,则发送一个确认消息至第三方终端。If yes, send a confirmation message to the third-party terminal.
进一步地,所述第一无屏设备获取并保存站点连接信息的步骤之前,包括:Further, before the step of acquiring and saving site connection information by the first screenless device, the method includes:
判断处于AP模式的数据信息与设定数据库中的信息是否相同;Determine whether the data information in AP mode is the same as the information in the set database;
若否,则将处于AP模式的数据信息修改为设定数据库中的信息。If not, modify the data information in the AP mode to the information in the setting database.
本申请提供了一种无屏设备,包括:This application provides a screenless device, including:
站点连接信息获取模块,用于获取并保存站点连接信息;The site connection information acquisition module is used to acquire and save site connection information;
模式切换模块,用于将模式切换为STA模式;Mode switching module, used to switch the mode to STA mode;
无屏设备搜索模块,用于搜索其他无屏设备;Screenless device search module, used to search for other screenless devices;
无屏设备选取模块,用于选取搜索到的无屏设备的其中一个作为第二无屏设备进行连接;The screenless device selection module is used to select one of the searched screenless devices as the second screenless device for connection;
站点连接信息发送模块,用于将所述站点连接信息发送至所述第二无屏设备。The station connection information sending module is configured to send the station connection information to the second screenless device.
本申请实施例还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的方法的步骤。The embodiment of the present application also provides a storage medium on which a computer program is stored, and the computer program implements the steps of any one of the above-mentioned methods when the computer program is executed by a processor.
本申请实施例还提供一种计算机设备,其包括处理器、存储器及存储于所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任一项所述的方法的步骤。An embodiment of the present application also provides a computer device, which includes a processor, a memory, and a computer program that is stored on the memory and can run on the processor. The processor implements any of the foregoing when the computer program is executed. One of the steps of the method described.
有益效果Beneficial effect
本申请的有益效果:通过第一无屏设备在STA模式下自动检索连接第二无屏设备,并将站点连接信息发送给第二无屏设备,从而使第二无屏设备不需要依靠第三方终端获取站点连接信息,达到了自动分享站点连接信息的技术效果,使无屏设备可以根据站点连接信息自动联网。由于用户无需通过手机APP逐一向无屏设备录入站点连接信息,故降低了配网过程的操作繁琐度,提高了配网效率。The beneficial effect of this application: the second screenless device is automatically retrieved and connected through the first screenless device in the STA mode, and the site connection information is sent to the second screenless device, so that the second screenless device does not need to rely on a third party The terminal obtains the site connection information, and achieves the technical effect of automatically sharing the site connection information, so that the screenless device can automatically network according to the site connection information. Since users do not need to input site connection information to screenless devices one by one through the mobile APP, the cumbersome operation of the network distribution process is reduced, and the network distribution efficiency is improved.
附图说明Description of the drawings
图1是本申请一实施例的一种无屏设备分享站点连接信息的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for sharing site connection information by a screenless device according to an embodiment of the present application;
图2为本申请的一实施例的一种无屏设备分享站点连接信息步骤S4的部分流程示意图;2 is a schematic diagram of a part of the flow of step S4 of sharing site connection information with a screenless device according to an embodiment of the application;
图3为本申请的一实施例的一种无屏设备的结构框图;FIG. 3 is a structural block diagram of a screenless device according to an embodiment of the application;
图4为本申请的一实施例的一种无屏设备中的无屏设备选取模块的结构框图;4 is a structural block diagram of a non-screen device selection module in a non-screen device according to an embodiment of the application;
图5为本申请的一实施例的一种无屏设备中的无屏设备选取子模块的结构框图;5 is a structural block diagram of a non-screen device selection submodule in a non-screen device according to an embodiment of the application;
图6为本申请的存储介质一实施例的结构框图;FIG. 6 is a structural block diagram of an embodiment of a storage medium of the application;
图7为本申请的无屏设备一实施例的结构框图。Fig. 7 is a structural block diagram of an embodiment of a screenless device of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本发明的最佳实施方式The best mode of the present invention
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
需要说明,本申请实施例中所有方向性指示(诸如上、下、左、右、前、后等)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变,所述的连接可以是直接连接,也可以是间接连接。It should be noted that all the directional indicators (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative relationship between the various components in a certain posture (as shown in the drawings). If the position relationship, movement situation, etc. change, the directional indication changes accordingly. The connection may be a direct connection or an indirect connection.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is only an association relationship that describes the associated objects, which means that there can be three kinds of relationships, for example, A and B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. three situations.
另外,在本申请中如涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。In addition, the descriptions related to "first", "second", etc. in this application are only for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on what can be achieved by a person of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be achieved, it should be considered that such a combination of technical solutions does not exist. , Is not within the scope of protection required by this application.
参照图1,本申请提出一种无屏设备分享站点连接信息的方法,包括:1, this application proposes a method for sharing site connection information with a screenless device, which includes:
S1:第一无屏设备获取并保存站点连接信息;S1: The first screenless device acquires and saves site connection information;
S2:将模式切换为STA模式;S2: Switch the mode to STA mode;
S3:搜索其他无屏设备;S3: Search for other non-screen devices;
S4:选取搜索到的所述无屏设备的其中一个作为第二无屏设备进行连接;S4: Select one of the searched non-screen devices as the second non-screen device for connection;
S5:将所述站点连接信息发送至所述第二无屏设备,以使所述第二无屏设备根据所述站点连接信息进行配网操作。S5: Send the site connection information to the second screenless device, so that the second screenless device performs a network configuration operation according to the site connection information.
如上述步骤S1所述,第一无屏设备获取站点连接信息,并将站点连接信息进行保存,获取的方法可以来自第三方终端,也可以直接来自其他无屏设备,第三方终端可以包括手机、电脑等,通过与第一无屏设备进行数据连接后,将站点连接信息发送给第三方终端,将站点连接信息进行保存可以是进行临时保存,也可以进行永久存储以便于后续自动连接该站点。其中,站点一般为WIFI。As described in step S1 above, the first non-screen device obtains the site connection information and saves the site connection information. The method of obtaining the site connection information can be from a third-party terminal or directly from other non-screen devices. The third-party terminal can include a mobile phone, The computer, etc., after data connection with the first screenless device, sends the site connection information to a third-party terminal, and saves the site connection information either temporarily or permanently for subsequent automatic connection to the site. Among them, the site is generally WIFI.
如上述步骤S2-S3所述,将模式切换为STA模式,检索其他处于AP模式的无屏设备,由于处于AP模式下的各个无屏设备都可作为一个AP,其具有固定的SSID、密码以及配网特征细节,故事先在第一无屏设备内建立对应各个AP的SSID号码表和密码表,可以根据信号检测结果,检索到与该表关联的无屏设备。As mentioned in the above steps S2-S3, switch the mode to STA mode and retrieve other screenless devices in AP mode. Since each screenless device in AP mode can be used as an AP, it has a fixed SSID, password, and For the details of the distribution network characteristics, the story first establishes a table of SSID numbers and passwords corresponding to each AP in the first non-screen device, and can retrieve the non-screen device associated with the table according to the signal detection result.
如上述步骤S4所述,选取搜索到的其中一个无屏设备作为第二无屏设备进行连接,选取的方式可以是任意选取,优选为选取RSSI信号最强的无屏设备作为第二无屏设备进行连接。As described in step S4 above, select one of the searched screenless devices as the second screenless device for connection. The selection method can be arbitrarily selected, preferably the screenless device with the strongest RSSI signal is selected as the second screenless device Make a connection.
如上述步骤S5所述,将站点连接信息发送至第二无屏设备,使第二无屏设备不需要依靠第三方终端获取站点连接信息,达到了自动分享站点连接信息的技术效果。As described in step S5 above, the site connection information is sent to the second screenless device, so that the second screenless device does not need to rely on a third-party terminal to obtain the site connection information, achieving the technical effect of automatically sharing the site connection information.
本实施例中,上述步骤S1包括:In this embodiment, the above step S1 includes:
S101:在AP模式下与第三方终端连接;S101: Connect with a third-party terminal in AP mode;
S102:接收并保存所述第三方终端发送的所述站点连接信息。S102: Receive and save the site connection information sent by the third-party terminal.
如上述步骤S101-S102所述,当第一无屏设备作为多个无屏设备中第一个获取站点连接信息的无屏设备时,第一无屏设备可以在AP模式下与第三方终端进行连接,其中,第三方终端一般为手机、平板电脑等智能终端,另外还可以通过蓝牙等近场通信方式获取站点连接信息。As described in the above steps S101-S102, when the first non-screen device is the first non-screen device to obtain site connection information among multiple non-screen devices, the first non-screen device can communicate with a third-party terminal in AP mode. Connection, among them, third-party terminals are generally smart terminals such as mobile phones and tablet computers, and site connection information can also be obtained through near field communication methods such as Bluetooth.
在另一个实施例中,上述步骤S1包括:In another embodiment, the above step S1 includes:
S111:在AP模式下接受存有所述站点连接信息的无屏设备的连接;S111: Accept the connection of the screenless device storing the site connection information in the AP mode;
S112:接收并保存所述存有所述站点连接信息的无屏设备发送的站点连接信息。S112: Receive and save the site connection information sent by the screenless device storing the site connection information.
如上述步骤S111-S112所述,当第一无屏设备不是第一个获取站点连接信息的无屏设备时,可以接受存有所述站点连接信息的无屏设备的连接,接收其发送的站点连接信息,而无需从第三方终端获取站点连接信息,达到自动获取站点连接信息的效果,使无屏设备可以根据站点连接信息自动联网。As described in the above steps S111-S112, when the first screenless device is not the first screenless device to obtain site connection information, it can accept the connection of the screenless device storing the site connection information, and receive the site sent by it. Connection information, without the need to obtain site connection information from a third-party terminal, to achieve the effect of automatically obtaining site connection information, so that screenless devices can automatically network according to site connection information.
参照图2,本实施例中,上述步骤S4包括:Referring to FIG. 2, in this embodiment, the above step S4 includes:
S401:检测搜索到的无屏设备的RSSI信号强度;S401: Detect the RSSI signal strength of the searched non-screen device;
S402:选取所述RSSI信号强度最强的无屏设备作为第二无屏设备进行连接。S402: Select the screenless device with the strongest RSSI signal strength as the second screenless device for connection.
如上述步骤S401- S402所述,为了提高分享的速度,检测搜索到的无屏设备的RSSI信号强度,选取其中RSSI信号强度最强的无屏设备,由于RSSI信号强度最强的,往往传输数据的速度也是最快的,故而通过选取RSSI信号最强的无屏设备可以提高传输速度,第一无屏设备通过这种方式进行传输后,再将第二无屏设备作为现在的第一无屏设备继续检索其余的无屏设备,再次检测当中RSSI信号最强的无屏设备传输站点连接信息,可以显著的提快站点连接信息在各无屏设备之间的传递速度,甚至还可以传递给第一无屏设备检索不到的无屏设备。As described in the above steps S401-S402, in order to increase the sharing speed, detect the RSSI signal strength of the searched screenless devices, and select the screenless device with the strongest RSSI signal strength. Because the RSSI signal strength is the strongest, data is often transmitted The speed is also the fastest. Therefore, the transmission speed can be increased by selecting the screenless device with the strongest RSSI signal. After the first screenless device transmits in this way, the second screenless device is now the first screenless device. The device continues to retrieve the remaining screenless devices, and detects again the screenless device with the strongest RSSI signal to transmit site connection information, which can significantly speed up the transmission speed of site connection information between the screenless devices, and can even be passed to the first A screenless device that cannot be retrieved by a screenless device.
本实施例中,上述步骤S402,包括:In this embodiment, the above step S402 includes:
S4021:检测需要进行连接的无屏设备是否与其他的无屏设备连接;S4021: Detect whether the screenless device that needs to be connected is connected with other screenless devices;
S4022:若否,则将RSSI信号强度最强的无屏设备作为所述第二无屏设备进行连接。S4022: If not, connect the screenless device with the strongest RSSI signal strength as the second screenless device.
如上述步骤S4021-S4022所述,当分享站点连接信息在无屏设备之间已经进行了多次之后,可能存在两个或两个以上的无屏设备检测其各自的RSSI信号最强的无屏设备是同一个无屏设备,此时,若这两个或两个以上的无屏设备连接同一个无屏设备时,则会造成同样的站点连接信息发送了两次,造成资源的浪费,而由于RSSI信号强的无屏设备与该需要进行连接的无屏设备往往也是最快的,故而在剩余的无屏设备只需要检测该需要进行连接的无屏设备是否已经与其他无屏设备连接即可,故需要检测该RSSI信号最强的无屏设备是否已经被连接,若没有被连接,则可以继续连接,若已经进行了连接则连接RSSI信号强度第二强的无屏设备。应当理解,若RSSI信号强度第二强的无屏设备同样已经被其他设备连接,则继续连接RSSI信号强度第三强的无屏设备,直至与无屏设备进行连接,或者检索到的列表中的无屏设备均已被连接。检测无屏设备是否已被连接的方法可以是设定无屏设备只能连接一个其他的无屏设备,故而若在第一无屏设备处检测到该无屏设备无法被连接,则第一无屏设备可以将该无屏设备认定为已被连接。As mentioned in the above steps S4021-S4022, after sharing site connection information between screenless devices for many times, there may be two or more screenless devices that detect their respective screenless devices with the strongest RSSI signal. The device is the same screenless device. At this time, if these two or more screenless devices are connected to the same screenless device, the same site connection information will be sent twice, resulting in a waste of resources. Since the screenless device with strong RSSI signal and the screenless device that needs to be connected are often the fastest, the remaining screenless devices only need to detect whether the screenless device that needs to be connected has been connected to other screenless devices. Yes, it is necessary to check whether the screenless device with the strongest RSSI signal is already connected. If it is not connected, you can continue to connect. If the connection is already made, connect to the screenless device with the second strongest RSSI signal. It should be understood that if the screenless device with the second strongest RSSI signal strength has also been connected by other devices, continue to connect to the screenless device with the third strongest RSSI signal strength until it is connected to the screenless device or is in the retrieved list. All non-screen devices have been connected. The method to detect whether the screenless device has been connected can be to set the screenless device to only connect to one other screenless device. Therefore, if it is detected that the screenless device cannot be connected at the first screenless device, then the first screenless device cannot be connected. The screen device can identify the non-screen device as being connected.
本实施例中,上述步骤S1之前,包括:In this embodiment, before the above step S1, the method includes:
S0:在STA模式和AP模式之间进行周期性切换。S0: Periodically switch between STA mode and AP mode.
如上述步骤S0所述,当无屏设备处于STA模式时,可以搜索最近的其他无屏设备,也可以连接站点,当处于AP模式下时能够完整接收STA模式设备发送的路由相关密码和SSID号的配网IP包,假设一个周期T内,STA模式出现的时长为t1,AP模式出现的时长为t2,t1+t2=T,在分享站点连接信息的过程中,假设发送一个含有站点连接信息的数据包的时间为t3,为了保证第二无屏设备能够顺利获取站点连接信息,其发送的个数N应当要满足(N-1)t3>t2,使第二无屏设备在一个周期内能够顺利获取配网的IP包。As mentioned in step S0 above, when the non-screen device is in STA mode, it can search for the nearest other non-screen device, or connect to the site. When in AP mode, it can completely receive the routing related password and SSID number sent by the STA mode device. In the distribution network IP packet, suppose that in a period T, the time length of the STA mode is t1, and the time length of the AP mode is t2, t1+t2=T. In the process of sharing the site connection information, suppose a message containing site connection information is sent The time of the data packet is t3. In order to ensure that the second screenless device can obtain the site connection information smoothly, the number N sent should satisfy (N-1) t3>t2, so that the second screenless device can be in one cycle Can obtain the IP package of the distribution network smoothly.
本实施例中,上述步骤S5之后,还包括:In this embodiment, after the above step S5, the method further includes:
S6:在设定时间内检测是否存在AP模式下的其他无屏设备;S6: Detect whether there are other non-screen devices in AP mode within the set time;
S7:若存在,则连接并将所述站点连接信息发送给处于AP模式下的无屏设备。S7: If it exists, connect and send the site connection information to the screenless device in the AP mode.
如上述步骤S6-S7所述,由于其他的无屏设备都一直处于STA模式和AP模式的不断交替过程中,故而存在在某一时刻,没有无屏设备处于AP模式,第一无屏设备没有可以进行连接的对象,但是仍可能存在无屏设备未获得站点连接信息,故而应该在设定时间内检测其他设备是否会处于AP模式,避免有无屏设备没有获取站点连接信息,应当注意的是,设定时间应当大于STA出现的时长t1,避免检测不准确。若还有无屏设备未曾获取该站点连接信息,则可以将站点连接信息发送给该无屏设备。As mentioned in the above steps S6-S7, since other screenless devices are always in the process of alternating between STA mode and AP mode, there is no screenless device in AP mode at a certain moment, and the first screenless device is not in AP mode. Objects that can be connected, but there may still be screenless devices that have not obtained site connection information, so you should check whether other devices are in AP mode within the set time to avoid any screenless devices that do not obtain site connection information. It should be noted that , The set time should be greater than the time length t1 when the STA appears to avoid inaccurate detection. If there is a non-screen device that has not obtained the site connection information, the site connection information can be sent to the non-screen device.
本实施例中,上述步骤S1之后,包括:In this embodiment, after the above step S1, the method includes:
S201:检测所述站点连接信息是否可以连接站点;S201: Detect whether the site connection information can be connected to a site;
S202:若可以,则发送一个确认消息至第三方终端。S202: If yes, send a confirmation message to the third-party terminal.
如上述步骤S201-S202所述,在接收了站点连接信息之后,需要对是否可以准确连接上站点进行检测,若可以顺利连接站点,则需要发送确认消息给第三方终端,由于第一无屏设备是无屏的设备,无法进行显示,而通过第三方终端可以对连接无屏设备个数进行统计。具体地,第一无屏设备获取了站点连接信息之后,断开与当前连接的设备或终端,再与站点进行连接,当可以连接上站点时,断开与站点的连接,再与第三方终端进行连接,向第三方终端发送“通过站点连接信息可以连接站点”的确认消息,其中与第三方终端连接的方式,可以是无屏设备知晓了第三方终端的连接信息,与第三方终端连接。在另一个实施例中,也可以是第一无屏设备连接站点后,第三方终端与站点连接,通过站点直接发送给第三方终端。As described in the above steps S201-S202, after receiving the site connection information, it is necessary to check whether the site can be accurately connected. If the site can be successfully connected, a confirmation message needs to be sent to the third-party terminal, because the first screenless device It is a non-screen device that cannot be displayed, and the number of connected non-screen devices can be counted through a third-party terminal. Specifically, after the first screenless device obtains the site connection information, it disconnects from the currently connected device or terminal, and then connects to the site. When it can be connected to the site, it disconnects from the site, and then connects to the third-party terminal. To connect, send a confirmation message "You can connect to the site through the site connection information" to the third-party terminal. The method of connecting to the third-party terminal can be that the screenless device knows the connection information of the third-party terminal and connects to the third-party terminal. In another embodiment, after the first screenless device is connected to the site, the third-party terminal is connected to the site, and the third-party terminal is directly sent to the third-party terminal through the site.
本实施列中,上述步骤S1之前,包括:In this embodiment, before the above step S1, it includes:
S10:判断处于AP模式的数据信息与设定数据库中的信息是否相同;S10: Determine whether the data information in the AP mode is the same as the information in the set database;
S11:若否,则将处于AP模式的数据信息修改为设定数据库中的信息。S11: If not, modify the data information in the AP mode to the information in the setting database.
如上述步骤S10-S11所述,由于无屏设备无法自动获取其他无屏设备的SSID号和密码及配网特征字节,故为了使其他设备能顺利检索到处于AP模式下的第一无屏设备,需要对第一无屏设备的数据信息进行检测,若与设定数据库中的信息不同,则需要将该第一无屏设备的数据信息进行更改。其中设定数据库可以是预先设定了对应的数据列表,然后将该数据库预存在每个无屏设备中。在某些实施例中,也可以是将所有无屏设备的SSID号和密码及配网特征字节进行统计构成对应的数据列表作为数据库。As mentioned in the above steps S10-S11, because the screenless device cannot automatically obtain the SSID number and password of other screenless devices and the network distribution feature byte, in order to enable other devices to successfully retrieve the first screenless device in AP mode The device needs to detect the data information of the first screenless device. If it is different from the information in the setting database, the data information of the first screenless device needs to be changed. The setting database may be a preset corresponding data list, and then the database is pre-stored in each screenless device. In some embodiments, the SSID numbers, passwords, and network distribution characteristic bytes of all screenless devices may also be counted to form a corresponding data list as a database.
本申请中,通过第一无屏设备在STA模式下自动检索连接第二无屏设备,并将站点连接信息发送给第二无屏设备,从而使第二无屏设备不需要依靠第三方终端获取站点连接信息,达到了自动分享站点连接信息的技术效果,使无屏设备可以根据站点连接信息自动联网。In this application, the second screenless device is automatically retrieved and connected through the first screenless device in the STA mode, and the site connection information is sent to the second screenless device, so that the second screenless device does not need to rely on a third-party terminal to obtain The site connection information achieves the technical effect of automatically sharing site connection information, so that screenless devices can automatically network according to the site connection information.
参照图3,本申请还提供了一种无屏设备,包括:Referring to Figure 3, this application also provides a screenless device, including:
站点连接信息获取模块10,用于获取并保存站点连接信息;The site connection information acquisition module 10 is used to acquire and save site connection information;
模式切换模块20,用于将模式切换为STA模式;The mode switching module 20 is used to switch the mode to the STA mode;
无屏设备搜索模块30,用于搜索其他无屏设备;The screenless device search module 30 is used to search for other screenless devices;
无屏设备选取模块40,用于选取搜索到的无屏设备的其中一个作为第二无屏设备进行连接;The screenless device selection module 40 is configured to select one of the searched screenless devices as the second screenless device for connection;
站点连接信息发送第一模块50,用于将所述站点连接信息发送至所述第二无屏设备,以使所述第二无屏设备根据所述站点连接信息进行配网操作。The first station connection information sending module 50 is configured to send the station connection information to the second screenless device, so that the second screenless device performs a network configuration operation according to the station connection information.
第一无屏设备通过站点连接信息获取模块10获取站点连接信息,并将站点连接信息进行保存,获取的方法可以来自第三方终端,也可以直接来自其他无屏设备,第三方终端可以包括手机、电脑等,通过与第一无屏设备进行数据连接后,将站点连接信息发送给第三方终端,将站点连接信息进行保存可以是进行临时保存,也可以进行永久存储以便于后续自动连接该站点。其中,站点一般为WIFI。The first non-screen device obtains the site connection information through the site connection information obtaining module 10, and saves the site connection information. The method of obtaining the site connection information can be from a third-party terminal or directly from other non-screen devices. The third-party terminal can include a mobile phone, The computer, etc., after data connection with the first screenless device, sends the site connection information to a third-party terminal, and saves the site connection information either temporarily or permanently for subsequent automatic connection to the site. Among them, the site is generally WIFI.
通过模式切换模块20将模式切换为STA模式,检索其他处于AP模式的无屏设备,由于处于AP模式下的各个无屏设备都可作为一个AP,其具有固定的SSID、密码以及配网特征细节,故事先在第一无屏设备内建立对应各个AP的SSID号码表和密码表,可以根据信号检测结果,可以通过无屏设备搜索模块30检索到与该表关联的无屏设备。Switch the mode to STA mode through the mode switch module 20, and retrieve other screenless devices in AP mode. Since each screenless device in AP mode can be used as an AP, it has a fixed SSID, password, and network configuration details. , The story first establishes a table of SSID numbers and passwords corresponding to each AP in the first screenless device. According to the signal detection result, the screenless device search module 30 can retrieve the screenless device associated with the table.
通过无屏设备选取模块40选取搜索到的其中一个无屏设备作为第二无屏设备进行连接,选取的方式可以是任意选取,优选为选取RSSI信号最强的无屏设备作为第二无屏设备进行连接。One of the searched screenless devices is selected through the screenless device selection module 40 as the second screenless device for connection. The selection method can be arbitrarily selected, preferably the screenless device with the strongest RSSI signal is selected as the second screenless device Make a connection.
通过站点连接信息发送第一模块50将站点连接信息发送至第二无屏设备,使第二无屏设备不需要依靠第三方终端获取站点连接信息,达到了自动分享站点连接信息的技术效果。The first module 50 for sending the site connection information sends the site connection information to the second screenless device, so that the second screenless device does not need to rely on a third-party terminal to obtain the site connection information, achieving the technical effect of automatically sharing the site connection information.
本实施例中,站点连接信息获取模块10包括:In this embodiment, the site connection information acquisition module 10 includes:
第三方终端连接子模块,用于在AP模式下与第三方终端连接;The third-party terminal connection sub-module is used to connect with the third-party terminal in AP mode;
站点连接信息接收子模块,用于接收并保存所述第三方终端发送的所述站点连接信息。The site connection information receiving submodule is used to receive and save the site connection information sent by the third-party terminal.
当第一无屏设备作为多个无屏设备中第一个获取站点连接信息的无屏设备时,第一无屏设备可以在AP模式下与第三方终端进行连接,其中,第三方终端一般为手机、平板电脑等智能终端,另外还可以通过蓝牙等近场通信方式获取站点连接信息。When the first screenless device is the first screenless device to obtain site connection information among multiple screenless devices, the first screenless device can connect to a third-party terminal in AP mode, where the third-party terminal is generally Smart terminals such as mobile phones and tablet computers can also obtain site connection information through near-field communication methods such as Bluetooth.
在另一个实施例中,站点连接信息获取模块10包括:In another embodiment, the station connection information obtaining module 10 includes:
接受无屏设备连接子模块,用于在AP模式下接受存有所述站点连接信息的无屏设备的连接;A screenless device connection sub-module for accepting the connection of the screenless device storing the site connection information in the AP mode;
信息接收子模块,用于接收并保存所述存有所述站点连接信息的无屏设备发送的站点连接信息。The information receiving sub-module is used to receive and save the site connection information sent by the screenless device storing the site connection information.
当第一无屏设备不是第一个获取站点连接信息的无屏设备时,可以接受存有所述站点连接信息的无屏设备的连接,接收其发送的站点连接信息,而无需从第三方终端获取站点连接信息,达到自动获取站点连接信息的效果,使无屏设备可以根据站点连接信息自动联网。When the first screenless device is not the first screenless device to obtain site connection information, it can accept the connection of the screenless device storing the site connection information, and receive the site connection information sent by it, without the need for a third-party terminal Obtain site connection information to achieve the effect of automatically acquiring site connection information, so that screenless devices can automatically network according to site connection information.
参照图4,本实施例中,上述无屏设备选取模块40包括:4, in this embodiment, the aforementioned non-screen device selection module 40 includes:
信号强度检测子模块401,用于检测搜索到的无屏设备的RSSI信号强度;The signal strength detection sub-module 401 is used to detect the RSSI signal strength of the searched screenless device;
无屏设备选取子模块402,用于选取所述RSSI信号强度最强的无屏设备作为第二无屏设备进行连接。The screenless device selection submodule 402 is configured to select the screenless device with the strongest RSSI signal strength as the second screenless device for connection.
为了提高分享的速度,检测搜索到的无屏设备的RSSI信号强度,选取其中RSSI信号强度最强的无屏设备,由于RSSI信号强度最强的,往往传输数据的速度也是最快的,故而通过选取RSSI信号最强的无屏设备可以提高传输速度,第一无屏设备通过这种方式进行传输后,再将第二无屏设备作为现在的第一无屏设备继续检索其余的无屏设备,再次检测当中RSSI信号最强的无屏设备传输站点连接信息,可以显著的提快站点连接信息在各无屏设备之间的传递速度,甚至还可以传递给第一无屏设备检索不到的无屏设备。In order to improve the sharing speed, detect the RSSI signal strength of the searched non-screen devices, and select the non-screen device with the strongest RSSI signal strength. Since the RSSI signal strength is the strongest, the data transmission speed is often the fastest, so pass Selecting the screenless device with the strongest RSSI signal can increase the transmission speed. After the first screenless device transmits in this way, the second screenless device is used as the current first screenless device to continue to retrieve the remaining screenless devices. The screenless device with the strongest RSSI signal transmits the site connection information again, which can significantly speed up the transmission speed of the site connection information between the screenless devices. It can even be transmitted to the screenless device that cannot be retrieved by the first screenless device. Screen equipment.
参照图5,本实施例中,无屏设备选取子模块402包括:5, in this embodiment, the screenless device selection submodule 402 includes:
连接检测分模块4021,检测需要进行连接的无屏设备是否与其他的无屏设备连接;The connection detection sub-module 4021 detects whether the screenless device that needs to be connected is connected with other screenless devices;
无屏设备连接分模块4022,用于在需要进行连接的无屏设备没有与其他的无屏设备连接的情况下,将RSSI信号强度最强的的无屏设备作为所述第二无屏设备进行连接。The non-screen device connection sub-module 4022 is used to use the non-screen device with the strongest RSSI signal strength as the second non-screen device when the non-screen device that needs to be connected is not connected to other non-screen devices. connect.
当分享站点连接信息在无屏设备之间已经进行了多次之后,可能存在两个或两个以上的无屏设备检测其各自的RSSI信号最强的无屏设备是同一个无屏设备,此时,若这两个或两个以上的无屏设备连接同一个无屏设备时,则会造成同样的站点连接信息发送了两次,造成资源的浪费,而由于RSSI信号强的无屏设备与该需要进行连接的无屏设备往往也是最快的,故而在剩余的无屏设备只需要检测该需要进行连接的无屏设备是否已经与其他无屏设备连接即可,故需要检测该RSSI信号最强的无屏设备是否已经被连接,若没有被连接,则可以继续连接,若已经进行了连接则连接RSSI信号强度第二强的无屏设备。应当理解,若RSSI信号强度第二强的无屏设备同样已经被其他设备连接,则继续连接RSSI信号强度第三强的无屏设备,直至与无屏设备进行连接,或者检索到的列表中的无屏设备均已被连接。检测无屏设备是否已被连接的方法可以是设定无屏设备只能连接一个其他的无屏设备,故而若在第一无屏设备处检测到该无屏设备无法被连接,则第一无屏设备可以将该无屏设备认定为已被连接。When sharing site connection information has been carried out many times between non-screen devices, there may be two or more non-screen devices detecting that their respective non-screen devices with the strongest RSSI signal are the same non-screen devices. If these two or more screenless devices are connected to the same screenless device, the same site connection information will be sent twice, resulting in a waste of resources. However, due to the strong RSSI signal, the screenless device is connected to the same screenless device. The screenless device that needs to be connected is often the fastest. Therefore, the remaining screenless devices only need to detect whether the screenless device that needs to be connected is already connected to other non-screen devices, so it is necessary to detect that the RSSI signal is the most Whether the strong non-screen device has been connected, if it is not connected, you can continue to connect, if it is already connected, connect to the non-screen device with the second strongest RSSI signal strength. It should be understood that if the screenless device with the second strongest RSSI signal strength has also been connected by other devices, continue to connect to the screenless device with the third strongest RSSI signal strength until it is connected to the screenless device or is in the retrieved list. All non-screen devices have been connected. The method to detect whether the screenless device has been connected can be to set the screenless device to only connect to one other screenless device. Therefore, if it is detected that the screenless device cannot be connected at the first screenless device, then the first screenless device cannot be connected. The screen device can identify the non-screen device as being connected.
本实施例中,无屏设备包括:In this embodiment, the screenless device includes:
模式周期切换模块,用于在STA模式和AP模式之间进行周期性切换。The mode cycle switching module is used to periodically switch between the STA mode and the AP mode.
当无屏设备处于STA模式时,可以搜索最近的其他无屏设备,也可以连接站点,当处于AP模式下时能够完整接收STA模式设备发送的路由相关密码和SSID号的配网IP包,假设一个周期T内,STA模式出现的时长为t1,AP模式出现的时长为t2,t1+t2=T,在分享站点连接信息的过程中,假设发送一个含有站点连接信息的数据包的时间为t3,为了保证第二无屏设备能够顺利获取站点连接信息,其发送的个数N应当要满足(N-1)t3>t2,使第二无屏设备在一个周期内能够顺利获取配网的IP包。When the non-screen device is in STA mode, it can search for the nearest other non-screen device or connect to the site. When in AP mode, it can completely receive the routing-related password and SSID number of the network configuration IP packet sent by the STA mode device. In a period T, the time period for STA mode to appear is t1, and the time period for AP mode to appear is t2, t1+t2=T. In the process of sharing site connection information, suppose the time to send a data packet containing site connection information is t3 In order to ensure that the second screenless device can smoothly obtain the site connection information, the number N sent should satisfy (N-1)t3>t2, so that the second screenless device can smoothly obtain the IP of the distribution network within a cycle Bag.
本实施例中,无屏设备,还包括:In this embodiment, the screenless device also includes:
STA模式检测模块,在设定时间内检测是否存在AP模式下的其他无屏设备;The STA mode detection module detects whether there are other non-screen devices in AP mode within the set time;
站点连接信息发送第二模块,若存在,则连接并将所述站点连接信息发送给处于AP模式下的无屏设备。The second module for sending station connection information, if it exists, connects and sends the station connection information to the screenless device in the AP mode.
由于其他的无屏设备都一直处于STA模式和AP模式的不断交替过程中,故而存在在某一时刻,没有无屏设备处于AP模式,第一无屏设备没有可以进行连接的对象,但是仍可能存在无屏设备未获得站点连接信息,故而应该在设定时间内检测其他设备是否会处于AP模式,避免有无屏设备没有获取站点连接信息,应当注意的是,设定时间应当大于STA出现的时长t1,避免检测不准确。若还有无屏设备未曾获取该站点连接信息,则可以将站点连接信息发送给该无屏设备。Since other screenless devices are always in the process of alternating between STA mode and AP mode, there is no screenless device in AP mode at a certain moment, and the first screenless device has no objects that can be connected, but it is still possible There are screenless devices that have not obtained the site connection information, so it should be checked whether other devices are in AP mode within the set time to avoid any screenless devices that do not obtain the site connection information. It should be noted that the set time should be longer than the STA appears. The duration is t1 to avoid inaccurate detection. If there is a non-screen device that has not obtained the site connection information, the site connection information can be sent to the non-screen device.
本实施例中,无屏设备,还包括:In this embodiment, the screenless device also includes:
站点连接信息检测模块,用于检测所述站点连接信息是否可以连接站点;The site connection information detection module is used to detect whether the site connection information can connect to the site;
确认消息发送模块,若可以连接站点,则发送一个确认消息至第三方终端。The confirmation message sending module, if the site can be connected, sends a confirmation message to the third-party terminal.
在接收了站点连接信息之后,需要对是否可以准确连接上站点进行检测,若可以顺利连接站点,则需要发送确认消息给第三方终端,由于第一无屏设备是无屏的设备,无法进行显示,而通过第三方终端可以对连接无屏设备个数进行统计。具体地,第一无屏设备获取了站点连接信息之后,断开与当前连接的设备或终端,再与站点进行连接,当可以连接上站点时,断开与站点的连接,再与第三方终端进行连接,向第三方终端发送“通过站点连接信息可以连接站点”的确认消息,其中与第三方终端连接的方式,可以是无屏设备知晓了第三方终端的连接信息,与第三方终端连接。在另一个实施例中,也可以是第一无屏设备连接站点后,第三方终端与站点连接,通过站点直接发送给第三方终端。After receiving the site connection information, you need to check whether the site can be accurately connected. If the site can be successfully connected, you need to send a confirmation message to the third-party terminal. Since the first screenless device is a screenless device, it cannot be displayed , And the number of connected non-screen devices can be counted through third-party terminals. Specifically, after the first screenless device obtains the site connection information, it disconnects from the currently connected device or terminal, and then connects to the site. When it can be connected to the site, it disconnects from the site, and then connects to the third-party terminal. To connect, send a confirmation message "You can connect to the site through the site connection information" to the third-party terminal. The method of connecting to the third-party terminal can be that the screenless device knows the connection information of the third-party terminal and connects to the third-party terminal. In another embodiment, after the first screenless device is connected to the site, the third-party terminal is connected to the site, and the third-party terminal is directly sent to the third-party terminal through the site.
本实施列中,无屏设备还包括:In this implementation column, non-screen devices also include:
数据信息判断模块,用于判断处于AP模式的数据信息与设定数据库中的信息是否相同;The data information judgment module is used to judge whether the data information in the AP mode is the same as the information in the set database;
数据信息修改模块,若数据信息与数据库中的信息不同,则将处于AP模式的数据信息修改为设定数据库中的信息。The data information modification module, if the data information is different from the information in the database, it will modify the data information in the AP mode to the information in the set database.
由于无屏设备无法自动获取其他无屏设备的SSID号和密码及配网特征字节,故为了使其他设备能顺利检索到处于AP模式下的第一无屏设备,需要对第一无屏设备的数据信息进行检测,若与设定数据库中的信息不同,则需要将该第一无屏设备的数据信息进行更改。其中设定数据库可以是预先设定了对应的数据列表,然后将该数据库预存在每个无屏设备中。在某些实施例中,也可以是将所有无屏设备的SSID号和密码及配网特征字节进行统计构成对应的数据列表作为数据库。Since the non-screen device cannot automatically obtain the SSID number and password of other non-screen devices and the network distribution feature bytes, in order for other devices to successfully retrieve the first non-screen device in AP mode, the first non-screen device needs to be If it is different from the information in the setting database, the data information of the first screenless device needs to be changed. The setting database may be a preset corresponding data list, and then the database is pre-stored in each screenless device. In some embodiments, the SSID numbers, passwords, and network distribution characteristic bytes of all screenless devices may also be counted to form a corresponding data list as a database.
参考图6,本申请还提供了一种存储介质100,存储介质100中存储有计算机程序200,当其在计算机上运行时,使得计算机执行以上实施例所描述的无屏设备分享站点连接信息的方法。Referring to FIG. 6, the present application also provides a storage medium 100 in which a computer program 200 is stored. When it runs on a computer, the computer executes the screenless device sharing site connection information described in the above embodiments. method.
参考图7,本申请还提供了一种包含上述存储介质100的无屏设备300,当上述存储介质100中存储的计算机程序200在计算机设备300上运行时,使得无屏设备300通过其内部设置的处理器400执行以上实施例所描述的无屏设备分享站点连接信息的方法。Referring to FIG. 7, the present application also provides a non-screen device 300 containing the above-mentioned storage medium 100. When the computer program 200 stored in the above-mentioned storage medium 100 runs on the computer device 300, the non-screen device 300 is configured to The processor 400 executes the method for sharing site connection information by a screenless device described in the above embodiment.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在存储介质中,或者从一个存储介质向另一存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as coaxial cable, optical fiber, etc.). , Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website, computer, server or data center. The storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.
尽管已经示出和描述了本申请的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本申请的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本申请的范围由所附权利要求及其等同物限定。Although the embodiments of the present application have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, and substitutions can be made to these embodiments without departing from the principle and spirit of the present application. And variations, the scope of this application is defined by the appended claims and their equivalents.

Claims (16)

  1. 一种无屏设备分享站点连接信息的方法,其特征在于,包括:A method for sharing site connection information with a screenless device is characterized in that it includes:
    第一无屏设备获取并保存站点连接信息;The first screenless device acquires and saves site connection information;
    将模式切换为STA模式;Switch the mode to STA mode;
    搜索其他无屏设备;Search for other non-screen devices;
    选取搜索到的所述无屏设备的其中一个作为第二无屏设备进行连接;Selecting one of the searched non-screen devices as the second non-screen device for connection;
    将所述站点连接信息发送至所述第二无屏设备,以使所述第二无屏设备根据所述站点连接信息进行配网操作。The site connection information is sent to the second screenless device, so that the second screenless device performs a network configuration operation according to the site connection information.
  2. 如权利要求1所述的无屏设备分享站点连接信息的方法,其特征在于,所述第一无屏设备获取并保存站点连接信息的步骤包括:The method for sharing site connection information with a screenless device according to claim 1, wherein the step of acquiring and saving site connection information by the first screenless device comprises:
    在AP模式下接受存有所述站点连接信息的无屏设备的连接;Accept the connection of the screenless device storing the connection information of the site in the AP mode;
    接收并保存所述存有所述站点连接信息的无屏设备发送的站点连接信息。Receiving and saving the site connection information sent by the screenless device storing the site connection information.
  3. 如权利要求1所述的无屏设备分享站点连接信息的方法,其特征在于,所述选取搜索到的所述无屏设备的其中一个作为第二无屏设备进行连接的步骤包括:The method for sharing site connection information with screenless devices according to claim 1, wherein the step of selecting one of the searched screenless devices as the second screenless device for connection comprises:
    检测搜索到的所述无屏设备的RSSI信号强度;Detecting the RSSI signal strength of the searched non-screen device;
    选取所述RSSI信号强度最强的无屏设备作为所述第二无屏设备进行连接。The screenless device with the strongest RSSI signal strength is selected as the second screenless device for connection.
  4. 如权利要求3所述的无屏设备分享站点连接信息的方法,其特征在于,所述选取所述RSSI信号强度最强的无屏设备作为所述第二无屏设备进行连接的步骤,包括:The method for sharing site connection information with a screenless device according to claim 3, wherein the step of selecting the screenless device with the strongest RSSI signal strength as the second screenless device for connection comprises:
    检测所述RSSI信号强度最强的无屏设备是否与其他的无屏设备连接;Detecting whether the screenless device with the strongest RSSI signal strength is connected to other screenless devices;
    若否,则将RSSI信号强度最强的无屏设备作为所述第二无屏设备进行连接。If not, the screenless device with the strongest RSSI signal strength is used as the second screenless device for connection.
  5. 如权利要求1所述的无屏设备分享站点连接信息的方法,其特征在于,所述第一无屏设备获取并保存站点连接信息的步骤之前,包括:The method for sharing site connection information with a screenless device according to claim 1, wherein before the step of acquiring and saving the site connection information by the first screenless device, the method comprises:
    在STA模式和AP模式之间进行周期性切换。Periodically switch between STA mode and AP mode.
  6. 如权利要求5所述的无屏设备分享站点连接信息的方法,其特征在于,所述将所述站点连接信息发送至连接的所述第二无屏设备的步骤之后,还包括:The method for sharing site connection information with a screenless device according to claim 5, wherein after the step of sending the site connection information to the connected second screenless device, the method further comprises:
    在设定时间内检测是否存在AP模式下的其他无屏设备;Detect whether there are other non-screen devices in AP mode within the set time;
    若存在,则连接并将所述站点连接信息发送给处于AP模式下的无屏设备。If it exists, connect and send the station connection information to the screenless device in the AP mode.
  7. 如权利要求1所述的无屏设备分享站点连接信息的方法,其特征在于,所述第一无屏设备获取并保存站点连接信息的步骤之前,包括:The method for sharing site connection information with a screenless device according to claim 1, wherein before the step of acquiring and saving the site connection information by the first screenless device, the method comprises:
    判断处于AP模式的数据信息与设定数据库中的信息是否相同;Determine whether the data information in AP mode is the same as the information in the set database;
    若否,则将处于AP模式的数据信息修改为设定数据库中的信息。If not, modify the data information in the AP mode to the information in the setting database.
  8. 一种无屏设备,其特征在于,包括:A screenless device, characterized in that it comprises:
    站点连接信息获取模块,用于获取并保存站点连接信息;The site connection information acquisition module is used to acquire and save site connection information;
    模式切换模块,用于将模式切换为STA模式;Mode switching module, used to switch the mode to STA mode;
    无屏设备搜索模块,用于搜索其他无屏设备;Screenless device search module, used to search for other screenless devices;
    无屏设备选取模块,用于选取搜索到的无屏设备的其中一个作为第二无屏设备进行连接;The screenless device selection module is used to select one of the searched screenless devices as the second screenless device for connection;
    站点连接信息发送模块,用于将所述站点连接信息发送至所述第二无屏设备,以使所述第二无屏设备根据所述站点连接信息进行配网操作。The site connection information sending module is configured to send the site connection information to the second screenless device, so that the second screenless device performs a network configuration operation according to the site connection information.
  9. 如权利要求8所述的无屏设备,其特征在于,所述站点连接信息获取模块,包括:The screenless device according to claim 8, wherein the station connection information acquisition module comprises:
    第三方终端连接子模块,用于在AP模式下与第三方终端连接;The third-party terminal connection sub-module is used to connect with the third-party terminal in AP mode;
    站点连接信息接收子模块,用于接收并保存所述第三方终端发送的所述站点连接信息。The site connection information receiving submodule is used to receive and save the site connection information sent by the third-party terminal.
  10. 如权利要求8所述的无屏设备,其特征在于,所述无屏设备选取模块,包括:The non-screen device according to claim 8, wherein the non-screen device selection module comprises:
    信号强度检测子模块,用于检测搜索到的无屏设备的RSSI信号强度;The signal strength detection sub-module is used to detect the RSSI signal strength of the searched non-screen device;
    无屏设备选取子模块,用于选取所述RSSI信号强度最强的无屏设备作为第二无屏设备进行连接。The screenless device selection sub-module is used to select the screenless device with the strongest RSSI signal strength as the second screenless device for connection.
  11. 如权利要求10所述的无屏设备,其特征在于,所述无屏设备选取子模块,包括:The non-screen device according to claim 10, wherein the non-screen device selection sub-module comprises:
    连接检测分模块,检测需要进行连接的无屏设备是否与其他的无屏设备连接;The connection detection sub-module detects whether the screenless device that needs to be connected is connected with other screenless devices;
    无屏设备连接分模块,用于在需要进行连接的无屏设备没有与其他的无屏设备连接的情况下,将RSSI信号强度最强的的无屏设备作为所述第二无屏设备进行连接。The screenless device connection sub-module is used to connect the screenless device with the strongest RSSI signal strength as the second screenless device when the screenless device to be connected is not connected to other non-screen devices .
  12. 如权利要求8所述的无屏设备,其特征在于,所述模式周期切换模块,包括:The screenless device according to claim 8, wherein the mode cycle switching module comprises:
    模式周期切换模块,用于在STA模式和AP模式之间进行周期性切换。The mode cycle switching module is used to periodically switch between the STA mode and the AP mode.
  13. 如权利要求8所述的无屏设备,其特征在于,所述STA模式检测模块,包括:The screenless device according to claim 8, wherein the STA mode detection module comprises:
    STA模式检测模块,在设定时间内检测是否存在AP模式下的其他无屏设备;The STA mode detection module detects whether there are other non-screen devices in AP mode within the set time;
    站点连接信息发送第二模块,若存在,则连接并将所述站点连接信息发送给处于AP模式下的无屏设备。The second module for sending station connection information, if it exists, connects and sends the station connection information to the screenless device in the AP mode.
  14. 如权利要求8所述的无屏设备,其特征在于,所述站点连接信息检测模块,包括:The screenless device according to claim 8, wherein the station connection information detection module comprises:
    站点连接信息检测模块,用于检测所述站点连接信息是否可以连接站点;The site connection information detection module is used to detect whether the site connection information can connect to the site;
    确认消息发送模块,若可以连接站点,则发送一个确认消息至第三方终端。The confirmation message sending module, if the site can be connected, sends a confirmation message to the third-party terminal.
  15. 如权利要求8所述的无屏设备,其特征在于,所述数据信息判断模块,包括:The screenless device according to claim 8, wherein the data information judgment module comprises:
    数据信息判断模块,用于判断处于AP模式的数据信息与设定数据库中的信息是否相同;The data information judgment module is used to judge whether the data information in the AP mode is the same as the information in the set database;
    数据信息修改模块,若数据信息与数据库中的信息不同,则将处于AP模式的数据信息修改为设定数据库中的信息。The data information modification module, if the data information is different from the information in the database, it will modify the data information in the AP mode to the information in the set database.
  16. 一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的无屏设备分享站点连接信息的方法的步骤。A storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method for sharing site connection information with a screenless device according to any one of claims 1 to 7 when the computer program is executed by a processor.
PCT/CN2020/126493 2020-01-16 2020-11-04 Method and apparatus for screen-free device sharing station connection information, and storage medium WO2021143298A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010057033.5 2020-01-16
CN202010057033.5A CN111278067A (en) 2020-01-16 2020-01-16 Method, device and storage medium for sharing site connection information by non-screen equipment

Publications (1)

Publication Number Publication Date
WO2021143298A1 true WO2021143298A1 (en) 2021-07-22

Family

ID=71001734

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/126493 WO2021143298A1 (en) 2020-01-16 2020-11-04 Method and apparatus for screen-free device sharing station connection information, and storage medium

Country Status (2)

Country Link
CN (1) CN111278067A (en)
WO (1) WO2021143298A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278067A (en) * 2020-01-16 2020-06-12 深圳市沃特沃德股份有限公司 Method, device and storage medium for sharing site connection information by non-screen equipment
CN114520957A (en) * 2020-11-20 2022-05-20 菜鸟智能物流控股有限公司 Information sharing method, device, equipment and machine readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
US20130036231A1 (en) * 2011-08-05 2013-02-07 Nokia Corporation Method, apparatus, and computer program product for connection setup in device-to-device communication
CN104202831A (en) * 2014-08-26 2014-12-10 南京熊猫电子股份有限公司 System and method for connecting devices with wireless AP
CN104469789A (en) * 2014-12-05 2015-03-25 深圳市新联锋科技有限公司 Connection configuration method and system for intelligent household appliance
CN108011726A (en) * 2016-11-02 2018-05-08 九阳股份有限公司 A kind of household electrical appliances distribution method and system
CN111278067A (en) * 2020-01-16 2020-06-12 深圳市沃特沃德股份有限公司 Method, device and storage medium for sharing site connection information by non-screen equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442410A (en) * 2013-08-27 2013-12-11 上海汉枫电子科技有限公司 Network breakdown re-access method based on internet of things embedded Wi-Fi module
CN105554746B (en) * 2016-03-08 2018-10-23 叶茂森 A kind of WIFI LAN communication systems based on encryption SSID
CN107241679B (en) * 2016-03-29 2022-01-04 阿里巴巴集团控股有限公司 Connection establishing method, information sending method, message sending method and device
CN108770008A (en) * 2018-06-29 2018-11-06 海尔优家智能科技(北京)有限公司 Configuration method, device and the storage medium that household appliance networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130036231A1 (en) * 2011-08-05 2013-02-07 Nokia Corporation Method, apparatus, and computer program product for connection setup in device-to-device communication
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
CN104202831A (en) * 2014-08-26 2014-12-10 南京熊猫电子股份有限公司 System and method for connecting devices with wireless AP
CN104469789A (en) * 2014-12-05 2015-03-25 深圳市新联锋科技有限公司 Connection configuration method and system for intelligent household appliance
CN108011726A (en) * 2016-11-02 2018-05-08 九阳股份有限公司 A kind of household electrical appliances distribution method and system
CN111278067A (en) * 2020-01-16 2020-06-12 深圳市沃特沃德股份有限公司 Method, device and storage medium for sharing site connection information by non-screen equipment

Also Published As

Publication number Publication date
CN111278067A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
US10506420B2 (en) Methods, systems, and devices for enabling multiple radio assisted discovery
US20210360650A1 (en) Packet offloading method, mobile terminal, and storage medium
WO2020164475A1 (en) Data distribution method and apparatus, mobile terminal, and storage medium
US20150189426A1 (en) Mobile device speaker control
US20150189425A1 (en) Mobile device speaker control
US20140242913A1 (en) Mobile device speaker control
KR102113060B1 (en) Method and system for establishing wireless fidelity direct(wfd) connection in a wfd network environment
EP3893109B1 (en) Method and device for connecting bluetooth devices
US10743252B2 (en) Method for identifying access point and hotspot and terminal
WO2021143298A1 (en) Method and apparatus for screen-free device sharing station connection information, and storage medium
WO2020155949A9 (en) User positioning method, network elements, system, and storage medium
WO2020164521A1 (en) Data packet distribution method and apparatus, and mobile terminal and storage medium
US9002273B2 (en) Apparatus and process for detection of a bluetooth device
US10785743B2 (en) Positioning method and apparatus
WO2014161286A1 (en) Call processing method, device and terminal
JP2015144402A (en) On-vehicle device and on-vehicle device control method
US20230345070A1 (en) Screen projection
KR20150003588A (en) Method and apparatus for service negotiation
CN110602738A (en) Network connection method and device and electronic device
CN111885613B (en) SIG MESH-based networking method, node equipment and computer equipment
WO2021114149A1 (en) Reassociation indication method and apparatus, and communication device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20914155

Country of ref document: EP

Kind code of ref document: A1