TW202106072A - SSID acquisition method and apparatus for wi-fi access point, device and system - Google Patents

SSID acquisition method and apparatus for wi-fi access point, device and system Download PDF

Info

Publication number
TW202106072A
TW202106072A TW109117866A TW109117866A TW202106072A TW 202106072 A TW202106072 A TW 202106072A TW 109117866 A TW109117866 A TW 109117866A TW 109117866 A TW109117866 A TW 109117866A TW 202106072 A TW202106072 A TW 202106072A
Authority
TW
Taiwan
Prior art keywords
network
distribution
ssid
router
distribution network
Prior art date
Application number
TW109117866A
Other languages
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 TW202106072A publication Critical patent/TW202106072A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks

Landscapes

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

Abstract

The embodiments of the present invention provide an SSID acquisition method and apparatus for a Wi-Fi access point, a device and a system. Said method comprises: a device to access a network receiving a beacon frame sent by a router, the beacon frame comprising an SSID and a BSSID of the router; storing a correlation between the SSID and the BSSID; receiving a network configuration synchronization frame sent by a network configuration device, the network configuration synchronization frame comprising the BSSID of the router; and querying the correlation according to the BSSID in the network configuration synchronization frame to acquire the SSID. Thus, even if a plurality of bytes corresponding to the SSID are lost in a transmission process when sequentially sending a plurality of bytes of the SSID and PASSWD on the basis of a conventional network configuration scheme, the SSID can be correctly acquired on the basis of the present scheme, thereby avoiding a network configuration failure problem caused by the fact that the SSID cannot be acquired, improving the success rate of the network configuration.

Description

路由器的SSID獲取方法、裝置、設備和系統Method, device, equipment and system for obtaining SSID of router

本發明涉及通訊技術領域,尤其涉及一種路由器的SSID獲取方法、裝置、設備和系統。The present invention relates to the field of communication technology, and in particular to a method, device, equipment and system for obtaining an SSID of a router.

現在的智慧型設備,以WiFi品類居多,比如智慧型插座、智慧型空調、智慧型空氣清淨機等。為保證這些智慧型設備的正常使用,首先需要將這些智慧型設備連接入網。由於家庭WiFi網路的普及,目前普遍採用WiFi網路與路由器(也可以稱為接入點)完成連接,進而與手機/雲端進行資料交互。 但是,由於這些智慧型設備沒有人機互動介面,不具有像電腦、手機上可以展示的搜索、選擇指定路由器以及輸入連接密碼的配置介面,從而不能自主地完成網路配置,因此,必須先解決智慧型設備正確連接路由器的問題。Today's smart devices are mostly in the WiFi category, such as smart sockets, smart air conditioners, and smart air purifiers. In order to ensure the normal use of these smart devices, it is first necessary to connect these smart devices to the network. Due to the popularity of home WiFi networks, WiFi networks and routers (also known as access points) are commonly used to complete the connection, and then interact with mobile phones/clouds for data. However, because these smart devices do not have a human-computer interaction interface, and do not have a configuration interface that can display search, select a designated router, and enter a connection password like computers and mobile phones, they cannot complete network configuration autonomously. Therefore, it must be resolved first. The problem that the smart device is correctly connected to the router.

本發明實施例提供一種路由器的SSID獲取方法、裝置、設備和系統,用以提高網路配置的成功率。 第一方面,本發明實施例提供一種路由器的SSID獲取方法,應用於待入網設備,該方法包括: 接收路由器發送的信標訊框,所述信標訊框中包括所述路由器的SSID和BSSID; 儲存所述SSID和所述BSSID之間的對應關係; 接收配網設備發送的配網同步訊框,所述配網同步訊框中包括所述路由器的BSSID; 根據所述配網同步訊框中的所述BSSID查詢所述對應關係以獲取所述SSID。 第二方面,本發明實施例提供一種路由器的SSID獲取裝置,應用於待入網設備,包括: 接收模組,用於接收路由器發送的信標訊框,所述信標訊框中包括所述路由器的SSID和BSSID; 儲存模組,用於儲存所述SSID和所述BSSID之間的對應關係; 所述接收模組,還用於接收配網設備發送的配網同步訊框,所述配網同步訊框中包括所述路由器的BSSID; 獲取模組,用於根據所述配網同步訊框中的所述BSSID查詢所述對應關係以獲取所述SSID。 第三方面,本發明實施例提供一種電子設備,該電子設備包括第一處理器和第一儲存器,所述第一儲存器用於儲存一條或多條電腦指令,其中,所述一條或多條電腦指令被所述第一處理器執行時實現上述第一方面中的路由器的SSID獲取方法。 本發明實施例提供了一種電腦儲存媒體,用於儲存電腦程式,所述電腦程式使電腦執行時實現上述第一方面中的路由器的SSID獲取方法。 第四方面,本發明實施例提供一種路由器的SSID獲取方法,應用於配網設備,該方法包括: 與路由器建立通訊連接; 發送配網同步訊框,所述配網同步訊框中包括所述路由器的BSSID,以使接收到所述配網同步訊框的待入網設備在確定本地已儲存有所述BSSID後,根據本地儲存的所述BSSID和SSID的對應關係獲取所述SSID。 第五方面,本發明實施例提供一種路由器的SSID獲取裝置,應用於配網設備,包括: 連接模組,用於與路由器建立通訊連接; 發送模組,用於發送配網同步訊框,所述配網同步訊框中包括所述路由器的BSSID,以使接收到所述配網同步訊框的待入網設備在確定本地已儲存有所述BSSID後,根據本地儲存的所述BSSID和SSID的對應關係獲取所述SSID。 第六方面,本發明實施例提供一種電子設備,該電子設備包括第二處理器和第二儲存器,所述第二儲存器用於儲存一條或多條電腦指令,其中,所述一條或多條電腦指令被所述第二處理器執行時實現上述第四方面中的路由器的SSID獲取方法。 本發明實施例提供了一種電腦儲存媒體,用於儲存電腦程式,所述電腦程式使電腦執行時實現上述第四方面中的路由器的SSID獲取方法。 第七方面,本發明實施例提供一種路由器的SSID獲取系統,包括: 配網設備、路由器和待入網設備; 所述路由器,用於發送信標訊框,所述信標訊框中包括所述路由器的SSID和BSSID; 所述配網設備,用於發送配網同步訊框,所述配網同步訊框中包括所述路由器的BSSID; 所述待入網設備,用於根據接收到的所述信標訊框儲存所述SSID和所述BSSID之間的對應關係,以及根據所述配網同步訊框中的所述BSSID查詢所述對應關係以獲取所述SSID。 第八方面,本發明實施例提供一種服務設定識別符獲取的方法,其特徵在於,應用於待入網設備,包括: 接收入網設備發送的第一消息,所述第一消息包括第一信道資訊以及第一服務設定識別符; 根據第一信道資訊獲取信標訊框,所述信標訊框包括第二服務設定識別符以及第二基礎服務設定識別符; 根據所述第一服務設定識別符以及所述第二服務設定識別符確定目標服務設定識別符。 本發明實施例中,路由器對應的WiFi網路的網路名稱可以用服務設定識別符(Service Set Identifier, 簡稱SSID)來表示,路由器的位址資訊可以用基礎服務設定識別符(Basic Service Set Identifier,簡稱BSSID)來表示。在無線區域網路中,BSSID即為無線路由器的媒體存取控制(Media Access Control,簡稱MAC)位址,SSID即為無線網路的網路名稱。本發明實施例中,路由器的SSID即是指路由器對應的WiFi網路的網路名稱。 在本發明實施例中,諸如手機等配網設備可以與路由器預先建立連接,即配網設備已經聯網,諸如智慧型家電等待入網設備還未聯網,在配網設備對待入網設備進行網路配置的過程中,待入網設備需要獲取該路由器的SSID亦即手機所接入的WiFi網路的網路名稱,當然,待入網設備還需要獲得網路的接入密碼(PASSWD)等資訊,只是PASSWD等資訊可以採用傳統方式獲得。在本發明方案中,待入網設備也可以是待配網設備。待配網設備可以是智慧型家居設備(如常用的需要接入網際網路的白電、小家電、照明等等),接入點,各種感測器設備等。針對路由器的SSID的獲取,一方面,路由器可以以一定時間間隔不斷廣播發出信標訊框,信標訊框中包括自己的SSID和BSSID,從而,接收到該信標訊框的待入網設備解析該信標訊框以儲存SSID和BSSID之間的對應關係,另一方面,配網設備在對待入網設備進行網路配置時,可以廣播發送配網同步訊框,配網同步訊框中包括配網設備所接入的路由器的BSSID。基於此,待入網設備收到配網同步訊框後,根據其中包含的BSSID查詢本地儲存的各對應關係,若本地儲存有與該BSSID對應的對應關係,則根據該對應關係直接獲取該BSSID對應的SSID即可,從而,即使基於傳統的網路配置方案進行SSID和PASSWD的多個位元組的逐次發送過程中SSID對應的多個位元組在傳輸過程中有丟失,基於本方案也能正確獲得SSID,避免由於不能獲取SSID而導致的配網失敗問題,從而提高了網路配置的成功率。The embodiment of the present invention provides a method, device, equipment, and system for obtaining the SSID of a router to improve the success rate of network configuration. In the first aspect, an embodiment of the present invention provides a method for obtaining an SSID of a router, which is applied to a device to be connected to the network, and the method includes: Receiving a beacon frame sent by a router, where the beacon frame includes the SSID and BSSID of the router; Store the correspondence between the SSID and the BSSID; Receiving a distribution network synchronization frame sent by a network distribution device, where the distribution network synchronization frame includes the BSSID of the router; Query the correspondence relationship according to the BSSID in the distribution network synchronization frame to obtain the SSID. In the second aspect, an embodiment of the present invention provides a router SSID obtaining device, which is applied to a device to be connected to the network, and includes: A receiving module for receiving a beacon frame sent by a router, where the beacon frame includes the SSID and BSSID of the router; A storage module for storing the correspondence between the SSID and the BSSID; The receiving module is also used to receive a distribution network synchronization frame sent by a network distribution device, where the distribution network synchronization frame includes the BSSID of the router; The obtaining module is configured to query the correspondence relationship according to the BSSID in the distribution network synchronization frame to obtain the SSID. In a third aspect, an embodiment of the present invention provides an electronic device that includes a first processor and a first storage, and the first storage is used to store one or more computer instructions, wherein the one or more When the computer instruction is executed by the first processor, the method for obtaining the SSID of the router in the first aspect described above is implemented. An embodiment of the present invention provides a computer storage medium for storing a computer program that enables the computer to implement the SSID acquisition method of the router in the first aspect described above when executed by the computer. In a fourth aspect, an embodiment of the present invention provides a method for obtaining an SSID of a router, which is applied to a network distribution device, and the method includes: Establish a communication connection with the router; Send a distribution network synchronization frame, which includes the BSSID of the router, so that the device to be connected to the network that receives the distribution network synchronization frame determines that the BSSID is stored locally, according to The locally stored correspondence between the BSSID and the SSID obtains the SSID. In the fifth aspect, an embodiment of the present invention provides a router SSID obtaining device, which is applied to a network distribution device, and includes: The connection module is used to establish a communication connection with the router; The sending module is used to send a distribution network synchronization frame. The distribution network synchronization frame includes the BSSID of the router, so that the equipment to be connected to the network that receives the distribution network synchronization frame can determine that it has stored locally After the BSSID, the SSID is acquired according to the correspondence between the BSSID and the SSID stored locally. In a sixth aspect, an embodiment of the present invention provides an electronic device, the electronic device includes a second processor and a second storage, the second storage is used to store one or more computer instructions, wherein the one or more When the computer instructions are executed by the second processor, the method for obtaining the SSID of the router in the fourth aspect is implemented. The embodiment of the present invention provides a computer storage medium for storing a computer program that enables the computer to implement the SSID acquisition method of the router in the fourth aspect when executed by the computer. In a seventh aspect, an embodiment of the present invention provides a router SSID obtaining system, including: Network distribution equipment, routers and equipment to be connected to the network; The router is configured to send a beacon frame, and the beacon frame includes the SSID and BSSID of the router; The network distribution equipment is configured to send a distribution network synchronization frame, and the distribution network synchronization frame includes the BSSID of the router; The device to be connected to the network is configured to store the correspondence between the SSID and the BSSID according to the received beacon frame, and to query the BSSID according to the BSSID in the distribution network synchronization frame Corresponding relationship to obtain the SSID. In an eighth aspect, an embodiment of the present invention provides a method for obtaining a service setting identifier, which is characterized in that it is applied to a device to be connected to the network and includes: Receiving a first message sent by a networked device, the first message including first channel information and a first service setting identifier; Acquiring a beacon frame according to the first channel information, the beacon frame including a second service setting identifier and a second basic service setting identifier; Determine a target service setting identifier according to the first service setting identifier and the second service setting identifier. In the embodiment of the present invention, the network name of the WiFi network corresponding to the router can be represented by a Service Set Identifier (SSID), and the address information of the router can be represented by a Basic Service Set Identifier (Basic Service Set Identifier). , Referred to as BSSID). In a wireless local area network, the BSSID is the Media Access Control (MAC) address of the wireless router, and the SSID is the network name of the wireless network. In the embodiment of the present invention, the SSID of the router refers to the network name of the WiFi network corresponding to the router. In the embodiment of the present invention, network distribution equipment such as mobile phones can be connected to the router in advance, that is, the network distribution equipment is already connected to the network, such as smart home appliances waiting to be connected to the network and the equipment to be connected to the network is connected to the network. During the configuration process, the device to be connected to the network needs to obtain the SSID of the router, which is the network name of the WiFi network that the mobile phone is connected to. Of course, the device to be connected to the network also needs to obtain information such as the network access password (PASSWD) , But information such as PASSWD can be obtained in traditional ways. In the solution of the present invention, the equipment to be connected to the network may also be the equipment to be distributed. The network devices to be distributed can be smart home devices (such as commonly used white appliances, small household appliances, lighting, etc. that need to be connected to the Internet), access points, various sensor devices, and so on. Regarding the acquisition of the SSID of the router, on the one hand, the router can continuously broadcast and send out a beacon frame at a certain time interval. The beacon frame includes its own SSID and BSSID, so that the device to be connected to the network that receives the beacon frame Analyze the beacon frame to store the corresponding relationship between SSID and BSSID. On the other hand, when the network configuration equipment is to be connected to the network device, it can broadcast the distribution network synchronization frame, and the distribution network synchronization frame Including the BSSID of the router that the network distribution device is connected to. Based on this, after the network access device receives the distribution network synchronization frame, it will query the corresponding relationships stored locally according to the BSSID contained therein. If the corresponding relationship corresponding to the BSSID is stored locally, the BSSID will be directly obtained according to the corresponding relationship The corresponding SSID is sufficient. Therefore, even if the multiple bytes of the SSID and PASSWD are sent sequentially based on the traditional network configuration scheme, the multiple bytes corresponding to the SSID are lost during the transmission process. The SSID can be obtained correctly to avoid the failure of the network configuration caused by the inability to obtain the SSID, thereby improving the success rate of the network configuration.

為使本發明實施例的目的、技術方案和優點更加清楚,下面將結合本發明實施例中的圖式,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域具有通常知識者在沒有作出創造性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 在本發明實施例中使用的術語是僅僅出於描述特定實施例的目的,而非旨在限制本發明。在本發明實施例和所附申請專利範圍中所使用的單數形式的“一種”、“所述”和“該”也旨在包括多數形式,除非上下文清楚地表示其他含義,“多種”一般包含至少兩種,但是不排除包含至少一種的情況。 應當理解,本文中使用的術語“及/或”僅僅是一種描述關聯對象的關聯關係,表示可以存在三種關係,例如,A及/或B,可以表示:單獨存在A,同時存在A和B,單獨存在B這三種情況。另外,本文中字符“/”,一般表示前後關聯對象是一種“或”的關係。 取決於語境,如在此所使用的詞語“如果”、“若”可以被解釋成為“在……時”或“當……時”或“響應於確定”或“響應於檢測”。類似地,取決於語境,短語“如果確定”或“如果檢測(陳述的條件或事件)”可以被解釋成為“當確定時”或“響應於確定”或“當檢測(陳述的條件或事件)時”或“響應於檢測(陳述的條件或事件)”。 還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的商品或者系統不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種商品或者系統所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的商品或者系統中還存在另外的相同要素。 另外,下述各方法實施例中的步驟時序僅為一種舉例,而非嚴格限定。 在介紹本發明實施例提供的網路配置方案之前,先對傳統的採用SmartConfig模式進行網路配置的過程中容易導致的配網失敗問題進行說明。 首先,在一種由配網設備、路由器、待入網設備構成的典型的配網系統下,配網設備比如可以是手機、待入網設備比如可以是智慧型家電,配網設備已經與路由器建立連接,即配網設備已經接入WiFi網路,配網設備需要對作為資訊孤島的待入網設備進行網路配置,即將包含路由器的網路名稱即SSID、接入密碼即PASSWD以及一些輔助資訊(比如SSID長度、PASSWD的長度、CRC、Flag等等)的配網資訊傳輸給待入網設備,以使待入網設備基於這些配網資訊接入路由器亦即接入WiFi網路。 目前,SmartConfig模式主要採用802.11和802.2的長度(Length)欄位或目的MAC位址(Destination)欄位來傳輸這些配網資訊。以採用Length欄位傳輸配網資訊來說,受限於Length欄位能夠承載的位元數(12個位元),配網設備在對配網資訊進行編碼後,由於編碼後得到的位元數遠遠高於Length欄位能夠承載的位數,因此,為完成配網資訊的完整傳輸,配網設備需要發送若干個配網資料訊框才行,每個配網資料訊框中包含一個Length欄位。實際上,Length欄位的12個位元往往不能完全被用於進行配網資訊的傳輸,為描述方面,假設每次只能傳輸8個位元即一個位元組。假設SSID和PASSWD的長度都為12個位元組,輔助資訊長度為6個位元組,那麼至少需要發送30個配網資料訊框才能完整地發送完配網資訊。 但是,如果這30個位元組中的任何一個位元組在傳輸過程中丟失都將使得待入網設備無法正確解析出路由器的SSID和PASSWD,從而無法接入網路,配網失敗。由於每一個位元組丟失的概率大致相同,所以理論上相同的時間內,SSID和PASSWD的長度越長,出錯的概率越高,正確解析路由器的SSID和PASSWD的概率同樣越低。 基於此,如果SSID可以自動補齊,相當於不傳輸SSID,可以有效減少真實的傳輸長度,進而提高配網成功率。從而,本發明實施例提供了一種自動獲取路由器的SSID的方案,配網過程中可以有效減少需傳輸位元組數(如果SSID和PASSWD長度相同,不考慮輔助資訊,相當於將傳輸的位元組長度減少為原來長度的50%),進而提高配網的效率和成功率。 下面結合如下的一些實施例對本發明實施例提供的自動獲取路由器的SSID的方案進行介紹。 圖1為本發明實施例提供的一種路由器的SSID獲取系統的組成示意圖,如圖1所示,該系統可以包括:配網設備、路由器和待入網設備。 路由器,用於發送信標訊框,信標訊框中包括路由器的SSID和BSSID。 配網設備,用於發送配網同步訊框,配網同步訊框中包括路由器的BSSID。 待入網設備,用於根據接收到的信標訊框儲存SSID和BSSID之間的對應關係,以及根據配網同步訊框中的BSSID查詢該對應關係以獲取SSID。 圖1所示系統中,配網設備可以是手機等用戶終端,該配網設備可以藉由與路由器建立連接而接入WiFi網路,或者,該配網設備也可以藉由與其他入網設備連接而接入網路,但是該配網設備以某種方式獲得了上述路由器的諸如SSID、BSSID等資訊。待入網設備可以是諸如智慧型冰箱、智慧型音箱、機器人等終端。配網設備中安裝有與待入網設備對應的App,在日常應用中,藉由該App用戶對該待入網設備進行控制,比如對機器人進行開關控制、行走路線控制等。 在用戶藉由配網設備對待入網設備進行網路配置的過程中,首先,用戶藉由操作配網設備將配網設備接入WiFi網路即與路由器建立連接,之後,藉由操作待入網設備對應的App來觸發對待入網設備的網路配置,比如點擊App介面中的“網路配置”按鈕以觸發網路配置過程。 基於用戶的觸發,配網設備可以先廣播發送一次或多次配網同步訊框。由於在802.11的MAC層協定中規定了多種類型的資料訊框,因此,本發明實施例中的配網同步訊框可以選自802.11的MAC層協定中規定的多種類型的資料訊框中的任一種,將選擇出的資料訊框中的Length欄位或Destination欄位填充用於標識該資料訊框作為配網同步訊框的字串。也就是說,將Length欄位中填充為預設值亦即預設長度的資料訊框作為配網同步訊框。 可以理解的是,由於是從多種資料訊框中選擇一種作為配網同步訊框的,配網同步訊框中除了包含被填充有預設的字串的Length欄位外,還會包含資料訊框中本來就包含的其他欄位,比如源MAC位址欄位、BSSID欄位等等,因此,在配網同步訊框中還會包括配網設備所接入的路由器的BSSID以及配網設備的MAC位址等明文資訊。 當待入網設備接收到配網設備發送的配網同步訊框後,根據Length欄位中填充的預設字串得知接收到的是配網同步訊框,從而可以從中解析出路由器的BSSID、配網設備的MAC位址等資訊。 其中,根據該配網設備的MAC位址,待入網設備可以鎖定配網設備,即得知發送端是誰。 綜上,基於接收到的配網同步訊框,待入網設備可以鎖定配網設備,並且知道該配網設備所接入的路由器的BSSID。 另一方面,配網設備所連接的路由器會按照一定的時間間隔(比如100毫秒)對外廣播發送信標訊框(beacon訊框),該beacon訊框中包含路由器的BSSID和SSID。接收到該信標訊框的待入網設備把接收到的路由器的SSID和BSSID對應儲存下來。比如,待入網設備可以維護一個路由器列表,該列表中儲存有待入網設備接收的各個beacon訊框中所攜帶的一對SSID和BSSID。 基於此,對於待入網設備來說,如果其一旦根據配網同步訊框得到了某路由器的BSSID,就可以根據該BSSID去查找當前的路由器列表,如果路由器列表中包含了該BSSID與某個SSID之間的對應關係,則可以直接基於該對應關係獲取到該路由器的SSID。 為實現待入網設備的入網,待入網設備不僅要獲得路由器的SSID,至少還需要獲取PASSWD,PASSWD的獲取過程可以採用傳統的SmartConfig模式實現,從而與傳統配網方式兼容。傳統的SmartConfig模式,如前文所述,就是對配網資訊進行編碼,之後藉由逐次發送配網資料訊框進行編碼後的配網資訊的傳輸。詳細的傳輸過程後續實施例中介紹。 綜上,一方面,即使後續配網設備還是按照傳統的方式發送包含SSID和PASSWD等的配網資訊,該配網資訊在傳輸過程中如果SSID對應的多個位元組發生丟失等異常,也不會影響待入網設備對SSID的正確獲取。 另一方面,由於藉由這種方式可以獲得SSID,則可選地,後續配網設備在發送配網資訊時,可以不用再發送SSID。也就是說,配網過程中相當於只需要傳輸PASSWD欄位和輔助資訊就可以達到配網的目的。如果SSID和PASSWD的長度相等,輔助資訊的長度較短,理論上配網效率會提升將近一倍,配網成功率也會得到顯著提高。 下面分別以配網設備、待入網設備的角度對本發明實施例提供的路由器的SSID獲取方法進行詳細介紹。 圖2為本發明實施例提供的一種路由器的SSID獲取方法的流程圖,該路由器的SSID獲取方法可以由圖1所示的待入網設備來執行。如圖2所示,該方法包括如下步驟: 201、接收路由器發送的信標訊框,信標訊框中包括路由器的SSID和BSSID。 202、儲存SSID和BSSID之間的對應關係。 203、接收配網設備發送的配網同步訊框,配網同步訊框中包括路由器的BSSID。 204、根據配網同步訊框中的BSSID查詢所述對應關係以獲取SSID。 如前文所述,配網同步訊框中的長度欄位(即Length欄位)或目的MAC位址欄位(即Destination欄位)填充有預設的用於標識配網同步訊框的字串。從而,待入網設備解析出該預設字串得知接收到的是配網同步訊框,解析出其中包含的路由器的BSSID,基於該BSSID查詢本地儲存的對應關係,得到對應的SSID。 上述步驟的執行過程的詳細描述可以參加前文實施例中的說明,在此不贅述。 另外,如前文所述,上述配網同步訊框中還可以包括配網設備的MAC位址,從而,待入網設備可以根據配網設備的MAC位址鎖定配網設備。鎖定配網設備是指待入網設備記錄下是哪個配網設備發送的配網同步訊框,而配網設備可以用其MAC位址來唯一標識,從而,相當於是記錄下配網設備的MAC位址與其發送的配網同步訊框中的BSSID之間的對應關係。另外,藉由鎖定配網設備,待入網設備也知道後續需要接收誰發送的配網資訊,即需要接收該配網設備發送的配網資訊。 如前文所述,如果考慮與現有的SmartConfig模式兼容,後續配網設備發送的配網資訊中可以包括路由器的SSID、PASSWD以及輔助資訊。但是,如果不考慮兼容問題,後續配網設備發送的配網資訊中可以僅包括PASSWD以及輔助資訊,而不包括SSID。 簡單來說,配網設備在發送配網資訊時,可以從802.11的MAC層協定中所規定的多種資料訊框中選擇一種用於進行配網資訊的發送,本發明實施例中,將選擇出的用於進行配網資訊發送的資料訊框稱為配網資料訊框,在配網資料訊框的Length欄位或Destination欄位來傳輸這些配網資訊。 以使用Length欄位來傳輸配網資訊為例,受限於該Length欄位能夠承載的位元數,每個配網資料訊框中僅能夠填充配網資訊中的部分資訊,可以理解的是,該部分資訊是指對完整的配網資訊進行編碼後得到的完整位元字串中的部分,從而,配網設備將需要依次發送多個配網資料訊框才能完成配網資訊的發送。 基於此,待入網設備接收配網設備根據路由器對應的配網資訊依次發送的各配網資料訊框,藉由解析每個配網資料訊框中包括的配網資訊中的部分資訊,最終獲得該路由器的配網資訊,基於得到的配網資訊連接入網。 可以理解的是,如果該配網資訊中包含有路由器對應的SSID,而在發送該SSID的過程中,可能需要使用多個配網資料訊框,如果其中的任一配網資料訊框丟失,對於待入網設備來說並無影響,因為待入網設備已經基於配網設備發送的配網同步訊框和路由器發送的信標訊框得到了路由器對應的SSID。這也就意味著,即使配網資料訊框中包括路由器的SSID,使得待入網設備可以從中解析出該SSID,待入網設備也會以根據BSSID查詢得到的SSID替換掉從配網資料訊框中解析得到的SSID。 圖3為本發明實施例提供的另一種路由器的SSID獲取方法的流程圖,該路由器的SSID獲取方法可以由圖1所示的配網設備來執行。如圖3所示,可以包括如下步驟: 301、與路由器建立通訊連接。 302、發送配網同步訊框,配網同步訊框中包括路由器的BSSID,以使接收到配網同步訊框的待入網設備在確定本地已儲存有該BSSID後,根據本地儲存的該BSSID和SSID的對應關係獲取該SSID。 其中,配網同步訊框中的長度欄位或目的MAC位址欄位填充有預設的用於標識配網同步訊框的字串,以供待入網設備據此識別該配網同步訊框。 配網設備發送配網同步訊框的過程可以參加前文實施例中的說明,在此不贅述。 另外,配網設備在發送完配網同步訊框後,根據路由器對應的配網資訊依次發送各配網資料訊框,每個配網資料訊框中包括配網資訊中的部分資訊,以使待入網設備解析各配網資料訊框以獲得配網資訊,其中,每個配網資料訊框中包含的部分資訊承載於配網資料訊框的長度欄位即Length欄位或目的MAC位址欄位即Destination欄位。 其中,在進行配網資料訊框的發送過程中,可選地,配網設備可以按照如下方式進行發送: 根據預設編碼格式,對配網資訊進行編碼; 對編碼後的配網資訊進行分組劃分; 依次發送每個分組對應的分組訊框和多個配網資料訊框,分組訊框中包括對應分組的分組標識,多個配網資料訊框與對應分組內包括的多個字串一一對應,該多個字串是編碼後的配網資訊中的至少一部分資訊; 其中,前述配網同步訊框作為第一個分組的分組訊框。 其中,分組標識承載於分組訊框的Length欄位或 Destination欄位中。 其中,每個配網資料訊框中的Length欄位或 Destination欄位中包括對應字串和所述對應字串的組內偏移量。也就是說,以Length欄位為例,Length欄位占12位元,可以將這12位元劃分為兩個部分,其中的第一部分為用於填充組內偏移量,第二部分用於填充配網資訊中的部分資訊即對應於該部分資訊的一定長度的字串。實際應用中,可以根據實際需求靈活劃分這兩個部分各自佔用的位數。 從而,編碼配網資訊後得到完整的配網資訊對應的位元序列,上述對編碼後的配網資訊進行分組的過程就是:根據上述第二部分所佔用的位元數對該編碼後得到的位元序列進行劃分,得到若干字串,每個字串需要用一個配網資料訊框來傳輸;另外,為了保證待入網設備能夠知道各配網資料訊框的發送順序,需要對每個配網資料訊框進行序號標記,而本實施例中,藉由分組標識和組內偏移量來進行配網資料訊框的序號標記亦即是對配網資料訊框中包含的字串進行序號標記。 其中,本實施例中提到的分組訊框,也可以從802.11的MAC層協定所規定的多種資料訊框中選擇一種用作分組訊框,以Length欄位為例,不同分組訊框的Length欄位中填充的分組標識不同,其中,第一個分組訊框中填充的是第一個分組的分組標識,第二個分組訊框中填充的是第二個分組的分組標識,依次類推。值得說明的是,第一個分組訊框其實就可以是前述配送同步訊框。 下面以如下示例來示意配網設備的配網資訊的發送過程,該示例以用Length欄位來進行配網資訊的傳輸為例,並且假設每個配網資料訊框的Length欄位中第二部分可以填充的字串位數為8位即一個位元組。 假設完整的配網資訊經過編碼後包括以下位元組: 12 0F 0C 00 34 4D 41 4C 4C 00 32 4F 55 54 45 52 0D 08 假設每8個位元組分成一組,那麼總共分成如下三組: 第1組:12 0F 0C 00 34 4D 41 4C 第2組:00 32 4F 55 54 45 52 0D 第3組:08 組內偏移量分別表示為:0x100, 0x180, 0x200, 0x280, 0x300, 0x380, 0x400, 0x480,其中: 0x100:表示組內第1個位元組 0x180:表示組內第2個位元組 …… 以此類推。 另外,假設依次發送的分組訊框的Length欄位中各自填充的分組標識為:0x3E0,0x3E1,0x3E2,…….,0x3EF,其中: 0x3E0:表示第1個分組 0x3E1:表示第2個分組 …… 以此類推。 基於上述假設情況,配網設備的發送過程為: 第1個訊框:配網同步訊框亦即第1個分組訊框,Length欄位中填充為0x3E0; 第2個訊框:第1個分組內的第1個配網資料訊框,Length欄位中填充為0x100+0x12=0x112;其中,Length欄位被劃分為+號之前的第一部分和之後第二部分; 第3個訊框:第1個分組內的第2個配網資料訊框,Length欄位中填充為0x180+0x0F=0x18F; 第4個訊框:第1個分組內的第3個配網資料訊框,Length欄位中填充為0x200+0x0C=0x20C; 第5個訊框:第1個分組內的第4個配網資料訊框,Length欄位中填充為0x280+0x00=0x280; 第6個訊框:第1個分組內的第5個配網資料訊框,Length欄位中填充為0x300+0x34=0x334; 第7個訊框:第1個分組內的第6個配網資料訊框,Length欄位中填充為0x380+0x4D=0x3CD; 第8個訊框:第1個分組內的第7個配網資料訊框,Length欄位中填充為0x400+0x41=0x441; 第9個訊框:第1個分組內的第8個配網資料訊框,Length欄位中填充為0x480+0x4C=0x4CC; 第10個訊框:第2個分組訊框,Length欄位中填充為0x3E1; 第11個訊框:第2個分組內的第1個配網資料訊框,Length欄位中填充為0x100+0x00=0x100; 第12個訊框:第2個分組內的第2個配網資料訊框,Length欄位中填充為0x180+0x32=0x1B2; 第13個訊框:第2個分組內的第3個配網資料訊框,Length欄位中填充為0x200+0x4F=0x24F; 第14個訊框:第2個分組內的第4個配網資料訊框,Length欄位中填充為0x280+0x55=0x2D5; 第15個訊框:第2個分組內的第5個配網資料訊框,Length欄位中填充為0x300+0x54=0x354; 第16個訊框:第2個分組內的第6個配網資料訊框,Length欄位中填充為0x380+0x45=0x3C5; 第17個訊框:第2個分組內的第7個配網資料訊框,Length欄位中填充為0x400+0x52=0x452; 第18個訊框:第2個分組內的第8個配網資料訊框,Length欄位中填充為0x480+0x0D=0x48D; 第19個訊框:第3個分組訊框,Length欄位中填充為0x3E2; 第20個訊框:第3個分組內的第1個配網資料訊框,Length欄位中填充為0x100+0x08=0x108。 可選地,所有的位元組發送完後,可以再從頭重複發送,以保證正確接收。 基於該發送過程,待入網設備每接收到一訊框後,按照相應的編碼規則解析出相應的字串,並回復字串的位置順序即可。 圖4為本發明實施例提供的一種配網過程的交互圖,如圖4所示,可以包括如下步驟: 401、路由器發送信標訊框,信標訊框中包括路由器對應的SSID和BSSID。 402、待入網設備接收到信標訊框後,儲存SSID和BSSID之間的對應關係。 403、配網設備發送配網同步訊框,配網同步訊框中包括配網設備的MAC位址和配網設備接入的路由器的BSSID。 404、待入網設備接收到配網同步訊框後,根據配網同步訊框中的BSSID查詢本地儲存的對應關係以獲得對應的SSID。 405、配網設備對編碼後的配網資訊進行分組劃分,依次發送每個分組對應的分組訊框和組內的多個配網資料訊框。 406、待入網設備解析接收到的各分組訊框和配網資料訊框以獲得配網資訊,根據已獲得的SSID和配網資訊連接入網。 以下將詳細描述本發明的一個或多個實施例的路由器的SSID獲取裝置。本領域技術人員可以理解,這些路由器的SSID獲取裝置均可使用市售的硬體組件藉由本方案所教導的步驟進行配置來構成。 圖5為本發明實施例提供的一種路由器的SSID獲取裝置的結構示意圖,如圖5所示,該裝置包括:接收模組11、儲存模組12、獲取模組13。 接收模組11,用於接收路由器發送的信標訊框,所述信標訊框中包括所述路由器的SSID和BSSID。 儲存模組12,用於儲存所述SSID和所述BSSID之間的對應關係。 所述接收模組11,還用於接收配網設備發送的配網同步訊框,所述配網同步訊框中包括所述路由器的BSSID。 獲取模組13,用於根據所述配網同步訊框中的所述BSSID查詢所述對應關係以獲取所述SSID。 可選地,所述配網同步訊框中的長度欄位或目的MAC位址欄位填充有預設的用於標識配網同步訊框的字串。 可選地,所述配網同步訊框中還包括所述配網設備的MAC位址,所述裝置還可以包括:鎖定模組,用於根據所述配網設備的MAC位址,鎖定所述配網設備。 可選地,所述接收模組11還可以用於:接收所述配網設備根據所述路由器對應的配網資訊依次發送的各配網資料訊框,每個配網資料訊框中包括所述配網資訊中的至少一部分資訊,所述至少一部分資訊承載於配網資料訊框的長度欄位或目的MAC位址欄位。所述裝置還可以包括:解析模組,用於解析所述各配網資料訊框以獲得所述配網資訊。 可選地,所述配網資訊中包括或不包括所述SSID。 可選地,所述獲取模組13還用於:以查詢獲得的所述SSID替換從所述各配網資料訊框中解析出的SSID。 圖5所示裝置可以執行圖2所示實施例的方法,本實施例未詳細描述的部分,可參考對圖2所示實施例的相關說明。該技術方案的執行過程和技術效果參見圖2所示實施例中的描述,在此不再贅述。 在一個可能的設計中,圖5所示路由器的SSID獲取裝置的結構可實現為一電子設備,該電子設備是需要連接入網的待入網設備,比如可以是不具有入網配置介面的智慧型家電、機器人等。如圖6所示,該電子設備可以包括:第一處理器21和第一儲存器22。其中,所述第一儲存器22用於儲存支持電子設備執行上述圖2所示實施例中提供的路由器的SSID獲取方法的程式,所述第一處理器21被配置為用於執行所述第一儲存器22中儲存的程式。 所述程式包括一條或多條電腦指令,其中,所述一條或多條電腦指令被所述第一處理器21執行時能夠實現如下步驟: 接收路由器發送的信標訊框,所述信標訊框中包括所述路由器的SSID和BSSID; 儲存所述SSID和所述BSSID之間的對應關係; 接收配網設備發送的配網同步訊框,所述配網同步訊框中包括所述路由器的BSSID; 根據所述配網同步訊框中的所述BSSID查詢所述對應關係以獲取所述SSID。 可選地,所述第一處理器21還用於執行前述圖2所示實施例中的全部或部分步驟。 其中,所述電子設備的結構中還可以包括第一通訊介面23,用於電子設備與其他設備或通訊網路通訊。 另外,本發明實施例提供了一種電腦儲存媒體,用於儲存電子設備所用的電腦軟體指令,其包含用於執行上述圖2所示方法實施例中路由器的SSID獲取方法所涉及的程式。 圖7為本發明實施例提供的另一種路由器的SSID獲取裝置的結構示意圖,如圖7所示,該裝置包括:連接模組31、發送模組32。 連接模組31,用於與路由器建立通訊連接。 發送模組32,用於發送配網同步訊框,所述配網同步訊框中包括所述路由器的BSSID,以使接收到所述配網同步訊框的待入網設備在確定本地已儲存有所述BSSID後,根據本地儲存的所述BSSID和SSID的對應關係獲取所述SSID。 可選地,所述配網同步訊框中的長度欄位或目的MAC位址欄位填充有預設的用於標識配網同步訊框的字串。 可選地,所述發送模組32還可以用於:根據所述路由器對應的配網資訊依次發送各配網資料訊框,每個配網資料訊框中包括所述配網資訊中的部分資訊,以使所述待入網設備解析所述各配網資料訊框以獲得所述配網資訊,所述部分資訊承載於配網資料訊框的長度欄位或目的MAC位址欄位。 可選地,該裝置還可以包括:預處理模組,用於根據預設編碼格式,對所述配網資訊進行編碼;對編碼後的配網資訊進行分組劃分。從而,可選地,所述發送模組32還可以用於:依次發送每個分組對應的分組訊框和組內的多個配網資料訊框,所述分組訊框中包括對應分組的分組標識,所述多個配網資料訊框與所述對應分組內包括的多個字串一一對應,所述多個字串是所述編碼後的配網資訊中的至少一部分資訊;其中,所述配網同步訊框作為第一個分組的分組訊框,所述分組標識承載於分組訊框的長度欄位或目的MAC位址欄位中。 可選地,每個配網資料訊框中的長度欄位或目的MAC位址欄位中包括對應字串和所述對應字串的組內偏移量。 圖9為本發明實施例提供的一種服務設定識別符獲取的方法的流程圖,該服務設定識別符的獲取方法可以由圖1所示的待入網設備來執行。如圖9所示,該方法包括如下步驟: 501、接收入網設備發送的第一消息,所述第一消息包括第一信道資訊以及第一服務設定識別符; 具體的,第一消息可以是設備配置協定(Device provisioning protocol, DPP)配置應答消息(configuration response)。第一信道資訊可以是信標訊框的發送或者接收信道。可選的,第一消息還可以包括編碼處理標識。編碼處理標識用於指示終端是否對服務設定識別符(SSID)進行處理。編碼處理標識也可以叫做編碼狀態標識或者其他名稱。例如,如果編碼處理標識為1,則終端將觸發SSID的編碼處理。如果編碼處理標識為0,則終端不觸發SSID的編碼處理。可選的,編碼處理標識的值代表的含義也可以相反。 502、根據第一信道資訊獲取信標訊框,所述信標訊框包括第二服務設定識別符以及第二基礎服務設定識別符; 具體的,待配網設備在接收到配網設備發送的DPP配置應答消息後,將在第一信道資訊所指示的信道來接收信標訊框。可選的,待配網設備也可以事先儲存信標訊框中攜帶的SSID以及BSSID。為了最佳化的儲存空間,待配網設備可以只保存最新的一次信標訊框中的SSID以及BSSID。 503、根據所述第一服務設定識別符以及所述第二服務設定識別符確定目標服務設定識別符。 具體的,第一服務設定識別符為從DPP配置應答消息中獲取的SSID。第二服務設定識別符為從信標訊框中獲取的SSID。如果待配網設備判斷第一SSID和第二SSID的編碼格式是否相同,如果相同,則待配網設備會在關聯接入點的過程中發送相同的SSID。如果待配網設備判斷第一SSID和第二SSID的編碼格式不同,則待配網設備會在關聯接入點的過程中發送第二SSID。可選的,待配網設備可以找到DPP配置應答消息中和在信標訊框中相同的BSSID,並且藉由BSSID來找到對應的第一SSID以及第二SSID。 圖7所示裝置可以執行圖3所示實施例的方法,本實施例未詳細描述的部分,可參考對圖3所示實施例的相關說明。該技術方案的執行過程和技術效果參見圖3所示實施例中的描述,在此不再贅述。 在一個可能的設計中,圖7所示路由器的SSID獲取裝置的結構可實現為一電子設備,該電子設備可以是諸如手機、平板電腦等已經接入網路的配網設備等。如圖8所示,該電子設備可以包括:第二處理器41和第二儲存器42。其中,所述第二儲存器42用於儲存支持電子設備執行上述圖3所示實施例中提供的路由器的SSID獲取方法的程式,所述第二處理器41被配置為用於執行所述第二儲存器42中儲存的程式。 所述程式包括一條或多條電腦指令,其中,所述一條或多條電腦指令被所述第二處理器41執行時能夠實現如下步驟: 與路由器建立通訊連接; 發送配網同步訊框,所述配網同步訊框中包括所述路由器的BSSID,以使接收到所述配網同步訊框的待入網設備在確定本地已儲存有所述BSSID後,根據本地儲存的所述BSSID和SSID的對應關係獲取所述SSID。 可選地,所述第二處理器41還用於執行前述圖3所示實施例中的全部或部分步驟。 其中,所述電子設備的結構中還可以包括第二通訊介面43,用於電子設備與其他設備或通訊網路通訊。 另外,本發明實施例提供了一種電腦儲存媒體,用於儲存電子設備所用的電腦軟體指令,其包含用於執行上述圖3所示方法實施例中路由器的SSID獲取方法所涉及的程式。 以上所描述的裝置實施例僅僅是示意性的,其中所述作為分離部件說明的單元可以是或者也可以不是實體上分開的,作為單元顯示的部件可以是或者也可以不是實體單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部模組來實現本實施例方案的目的。本領域具有通常知識者在不付出創造性的勞動的情況下,即可以理解並實施。 藉由以上的實施方式的描述,本領域的技術人員可以清楚地瞭解到各實施方式可借助加必需的通用硬體平臺的方式來實現,當然也可以藉由硬體和軟體結合的方式來實現。基於這樣的理解,上述技術方案本質上或者說對現有技術做出貢獻的部分可以以電腦產品的形式體現出來,本發明可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟儲存器、CD-ROM、光學儲存器等)上實施的電腦程式產品的形式。 本發明是參照根據本發明實施例的方法、設備(系統)、和電腦程式產品的流程圖及/或方塊圖來描述的。應理解可由電腦程式指令實現流程圖及/或方塊圖中的每一流程及/或方塊、以及流程圖及/或方塊圖中的流程及/或方塊的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可編設備的處理器以產生一個機器,使得藉由電腦或其他可程式化設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程及/或方塊圖一個方塊或多個方塊中指定的功能的裝置。 這些電腦程式指令也可儲存在能引導電腦或其他可程式化設備以特定方式工作的電腦可讀儲存器中,使得儲存在該電腦可讀儲存器中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程及/或方塊圖一個方塊或多個方塊中指定的功能。 這些電腦程式指令也可裝載到電腦或其他可程式化設備上,使得在電腦或其他可程式化設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式化設備上執行的指令提供用於實現在流程圖一個流程或多個流程及/或方塊圖一個方塊或多個方塊中指定的功能的步驟。 在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和內部儲存器。 內部儲存器可能包括電腦可讀媒體中的非永久性儲存器,隨機存取記憶體(RAM)及/或非易失性內部記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。內部儲存器是電腦可讀媒體的示例。 電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可程式化唯讀記憶體(EEPROM)、快閃記憶體或其他內部儲存器技術、唯讀光碟(CD-ROM)、數位化多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁碟儲存或其他磁性儲存設備或任何其他非傳輸媒體,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀媒體不包括暫存電腦可讀媒體(transitory media),如調變的資料信號和載波。 最後應說明的是:以上實施例僅用以說明本發明的技術方案,而非對其限制;儘管參照前述實施例對本發明進行了詳細的說明,本領域的具有通常知識者應當理解:其依然可以對前述各實施例所記載的技術方案進行修改,或者對其中部分技術特徵進行等同替換;而這些修改或者替換,並不使相應技術方案的本質脫離本發明各實施例技術方案的精神和範圍。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments These are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present invention. The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms of "a", "the" and "the" used in the embodiments of the present invention and the scope of the appended patent application are also intended to include plural forms, unless the context clearly indicates other meanings, the "plurality" generally includes There are at least two, but it does not exclude the case where at least one is included. It should be understood that the term "and/or" used in this article is only an association relationship describing associated objects, which means that there can be three types of relationships. For example, A and/or B can mean that there is A alone, and A and B exist at the same time. There are three cases of B alone. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship. Depending on the context, the words "if" and "if" as used herein can be interpreted as "when" or "when" or "in response to determination" or "in response to detection". Similarly, depending on the context, the phrase "if determined" or "if detected (stated condition or event)" can be interpreted as "when determined" or "response to determination" or "when detected (stated condition or event)" Event)" or "in response to detection (statement or event)". It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a commodity or system that includes a series of elements not only includes those elements, but also includes those elements that are not explicitly listed. Other elements of, or also include elements inherent to this kind of commodity or system. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the commodity or system that includes the element. In addition, the sequence of steps in the following method embodiments is only an example, and is not strictly limited. Before introducing the network configuration solution provided by the embodiment of the present invention, the problem of network configuration failure that is likely to occur in the traditional process of using the SmartConfig mode for network configuration will be explained. First of all, in a typical network distribution system consisting of network distribution equipment, routers, and equipment to be connected to the network, the network distribution equipment can be, for example, a mobile phone, and the equipment to be connected to the network can be, for example, smart home appliances. The network distribution equipment has been established with the router. Connect, that is, the network distribution equipment has been connected to the WiFi network, and the network distribution equipment needs to configure the network of the equipment to be connected as an information island, which will include the network name of the router (SSID), the access password (PASSWD), and some auxiliary information The network distribution information (such as SSID length, PASSWD length, CRC, Flag, etc.) is transmitted to the device to be connected to the network, so that the device to be connected to the network accesses the router based on the network distribution information, that is, to access the WiFi network. At present, the SmartConfig mode mainly uses 802.11 and 802.2 length (Length) field or destination MAC address (Destination) field to transmit these distribution network information. For the transmission of distribution network information using the Length field, it is limited by the number of bits (12 bits) that the Length field can carry. After the distribution network equipment encodes the distribution network information, the bits obtained after encoding are The number is much higher than the number of bits that the Length field can carry. Therefore, in order to complete the complete transmission of the distribution network information, the distribution network equipment needs to send several distribution network data frames, and each distribution network data frame contains one Length field. In fact, the 12 bits in the Length field are often not fully used for the transmission of network distribution information. For description purposes, it is assumed that only 8 bits or one byte can be transmitted at a time. Assuming that the length of both SSID and PASSWD is 12 bytes, and the length of auxiliary information is 6 bytes, then at least 30 distribution network data frames must be sent to complete the transmission of the distribution network information. However, if any one of these 30 bytes is lost during transmission, the device to be connected to the network will not be able to correctly parse the router's SSID and PASSWD, thus failing to connect to the network, and network configuration will fail. Since the probability of losing each byte is roughly the same, in theory, the longer the length of the SSID and PASSWD in the same time, the higher the probability of error, and the lower the probability of correctly parsing the SSID and PASSWD of the router. Based on this, if the SSID can be automatically filled, it is equivalent to not transmitting the SSID, which can effectively reduce the real transmission length, thereby increasing the success rate of the distribution network. Therefore, the embodiment of the present invention provides a solution for automatically obtaining the SSID of the router, which can effectively reduce the number of bytes to be transmitted during the network configuration process (if the SSID and PASSWD have the same length, the auxiliary information is not considered, which is equivalent to the number of bits to be transmitted. The group length is reduced to 50% of the original length), thereby improving the efficiency and success rate of the distribution network. The following describes the scheme for automatically obtaining the SSID of the router provided by the embodiments of the present invention in conjunction with the following embodiments. Fig. 1 is a schematic diagram of the composition of a system for obtaining an SSID of a router according to an embodiment of the present invention. As shown in Fig. 1, the system may include: a network distribution device, a router, and a device to be connected to the network. The router is used to send a beacon frame. The beacon frame includes the SSID and BSSID of the router. The distribution network equipment is used to send the distribution network synchronization frame. The distribution network synchronization frame includes the router's BSSID. The device to be connected to the network is used to store the correspondence between the SSID and the BSSID according to the received beacon frame, and to query the correspondence according to the BSSID in the distribution synchronization frame to obtain the SSID. In the system shown in Figure 1, the network distribution device can be a user terminal such as a mobile phone. The network distribution device can connect to the WiFi network by establishing a connection with a router, or the network distribution device can also be connected to other networked devices by connecting to the router. Connected to access the network, but the network distribution equipment obtains information such as SSID, BSSID, etc. of the router in some way. The devices to be connected to the network can be terminals such as smart refrigerators, smart speakers, and robots. An App corresponding to the device to be connected to the network is installed in the network distribution device. In daily applications, the App user controls the device to be connected to the network, such as switching control of the robot and controlling the walking route. In the process of the user using the network configuration equipment to configure the network configuration of the equipment to be connected to the network, first, the user connects the network equipment to the WiFi network by operating the network configuration equipment to establish a connection with the router, and then, by operating the standby access The App corresponding to the network device triggers the network configuration of the device to be connected to the network, such as clicking the "Network Configuration" button in the App interface to trigger the network configuration process. Based on the user's trigger, the distribution network equipment can broadcast one or more distribution network synchronization frames first. Since multiple types of data frames are specified in the 802.11 MAC layer protocol, the distribution network synchronization frame in the embodiment of the present invention can be selected from any of the multiple types of data frames specified in the 802.11 MAC layer protocol. One is to fill the Length field or Destination field in the selected data frame with a string used to identify the data frame as a distribution network synchronization frame. That is to say, the data frame filled with the default value, that is, the default length, in the Length field is used as the network distribution synchronization frame. It is understandable that since one of the multiple data frames is selected as the distribution network synchronization frame, the distribution network synchronization frame contains the length field filled with the default string, and also contains the data information. Other fields originally contained in the box, such as the source MAC address field, BSSID field, etc., therefore, the BSSID of the router to which the network device is connected and the network device will also be included in the distribution network synchronization frame MAC address and other plain text information. When the device to be connected to the network receives the distribution network synchronization frame sent by the distribution network device, according to the preset string filled in the Length field, it knows that the received is the distribution network synchronization frame, so that the BSSID of the router can be parsed from it , MAC address and other information of network equipment. Among them, according to the MAC address of the network distribution device, the device to be connected to the network can lock the network distribution device, that is, know who the sender is. In summary, based on the received distribution network synchronization frame, the device to be connected to the network can lock the network distribution device and know the BSSID of the router to which the network distribution device is connected. On the other hand, the router connected to the network distribution device will broadcast and send a beacon frame (beacon frame) at a certain time interval (for example, 100 milliseconds), and the beacon frame contains the BSSID and SSID of the router. The device to be connected to the network that receives the beacon frame stores the received SSID and BSSID of the router correspondingly. For example, the device to be connected to the network can maintain a router list in which a pair of SSID and BSSID carried in each beacon frame received by the device to be connected to the network is stored. Based on this, for the device to be connected to the network, once it obtains the BSSID of a router according to the network configuration synchronization frame, it can search the current router list according to the BSSID. If the router list contains the BSSID and a certain router. The correspondence between SSIDs, the SSID of the router can be obtained directly based on the correspondence. In order to realize the network access of the device to be connected to the network, the device to be connected to the network must not only obtain the SSID of the router, but also at least need to obtain the PASSWD. The acquisition process of the PASSWD can be implemented in the traditional SmartConfig mode, which is compatible with the traditional network distribution mode. The traditional SmartConfig mode, as mentioned above, is to encode the distribution network information, and then transmit the coded distribution network information by successively sending the network distribution data frame. The detailed transmission process will be described in subsequent embodiments. In summary, on the one hand, even if the subsequent network distribution equipment still sends the distribution network information including SSID and PASSWD in the traditional way, if the distribution network information is transmitted during the transmission process, if multiple bytes corresponding to the SSID are lost or other abnormalities, it will also It will not affect the correct acquisition of the SSID by the device to be connected to the network. On the other hand, since the SSID can be obtained in this way, optionally, the subsequent network distribution equipment may not need to send the SSID when sending the network distribution information. In other words, during the network distribution process, it is equivalent to only need to transmit the PASSWD field and auxiliary information to achieve the purpose of network distribution. If the length of the SSID and the PASSWD are the same, and the length of the auxiliary information is shorter, theoretically, the distribution efficiency will be nearly doubled, and the distribution success rate will also be significantly improved. The method for obtaining the SSID of the router provided in the embodiment of the present invention will be introduced in detail below from the perspective of a network distribution device and a device to be connected to the network. FIG. 2 is a flowchart of a method for obtaining an SSID of a router according to an embodiment of the present invention. The method for obtaining an SSID of the router may be executed by the device to be accessed as shown in FIG. 1. As shown in Figure 2, the method includes the following steps: 201. Receive a beacon frame sent by a router. The beacon frame includes the SSID and BSSID of the router. 202. Store the correspondence between the SSID and the BSSID. 203. Receive the distribution network synchronization frame sent by the network distribution equipment, where the distribution network synchronization frame includes the BSSID of the router. 204. Query the corresponding relationship according to the BSSID in the distribution network synchronization frame to obtain the SSID. As mentioned above, the length field (namely the Length field) or the destination MAC address field (namely the Destination field) of the distribution network synchronization frame is filled with the default string used to identify the distribution network synchronization frame . Therefore, the device to be connected to the network parses the preset string to know that it is the distribution network synchronization frame, parses the BSSID of the router contained therein, and queries the locally stored correspondence based on the BSSID to obtain the corresponding SSID. The detailed description of the execution process of the above steps can be added to the description in the foregoing embodiment, and will not be repeated here. In addition, as mentioned above, the above-mentioned distribution network synchronization frame may also include the MAC address of the network distribution device, so that the device to be connected to the network can lock the network distribution device according to the MAC address of the network distribution device. Locking the distribution network device means that the network distribution device to be connected to the network records which distribution network device sent the distribution network synchronization frame, and the distribution network device can be uniquely identified by its MAC address, which is equivalent to recording the MAC address of the network distribution device The correspondence between the address and the BSSID in the distribution network synchronization frame sent. In addition, by locking the network distribution device, the device to be connected to the network also knows who needs to receive the network distribution information sent by the subsequent network distribution device, that is, it needs to receive the network distribution information sent by the network distribution device. As mentioned above, if compatibility with the existing SmartConfig mode is considered, the network distribution information sent by the subsequent network distribution equipment can include the router's SSID, PASSWD, and auxiliary information. However, if compatibility issues are not considered, the distribution information sent by subsequent network distribution equipment may only include PASSWD and auxiliary information, but not SSID. To put it simply, when the distribution network device sends the distribution network information, it can select one of the multiple data frames specified in the 802.11 MAC layer protocol to send the distribution network information. In the embodiment of the present invention, the selected The data frame used to send the distribution information is called the distribution data frame, and the distribution information is transmitted in the Length field or the Destination field of the distribution data frame. Take the use of the Length field to transmit network distribution information as an example. Limited by the number of bits that the Length field can carry, each distribution data frame can only be filled with part of the distribution information. It is understandable that This part of information refers to the part of the complete bit string obtained after encoding the complete distribution network information. Therefore, the distribution network equipment will need to send multiple distribution network data frames in sequence to complete the transmission of the distribution network information. Based on this, the equipment to be connected to the network receives the distribution data frames sent by the distribution equipment in turn according to the distribution information corresponding to the router, and analyzes part of the distribution information included in each distribution data frame, and finally Obtain the distribution network information of the router, and connect to the network based on the obtained distribution network information. It is understandable that if the distribution network information contains the SSID corresponding to the router, and in the process of sending the SSID, it may be necessary to use multiple distribution network data frames. If any one of the distribution network data frames is lost, There is no impact on the device to be connected to the network, because the device to be connected to the network has already obtained the SSID corresponding to the router based on the distribution synchronization frame sent by the network distribution device and the beacon frame sent by the router. This means that even if the SSID of the router is included in the distribution network data frame, so that the device to be connected to the network can parse the SSID from it, the device to be connected to the network will replace the SSID obtained from the distribution network data message with the SSID obtained from the BSSID query. SSID parsed in the box. FIG. 3 is a flowchart of another method for obtaining an SSID of a router according to an embodiment of the present invention. The method for obtaining an SSID of the router may be executed by the network distribution device shown in FIG. 1. As shown in Figure 3, the following steps can be included: 301. Establish a communication connection with a router. 302. Send a distribution network synchronization frame. The distribution network synchronization frame includes the BSSID of the router, so that the equipment to be connected to the network that receives the distribution network synchronization frame determines that the BSSID is stored locally, and then according to the locally stored BSSID Obtain the SSID according to the correspondence relationship with the SSID. Among them, the length field or the destination MAC address field of the distribution network synchronization frame is filled with a preset string for identifying the distribution network synchronization frame, so that the equipment to be connected to the network can identify the distribution network synchronization frame accordingly. frame. The process for the network distribution device to send the network distribution synchronization frame can be described in the previous embodiment, which will not be repeated here. In addition, after the distribution network equipment has sent the distribution network synchronization frame, it will send each distribution network data frame in turn according to the distribution network information corresponding to the router. Each distribution network data frame includes part of the information in the distribution network information, so that The equipment to be connected to the network parses each distribution network data frame to obtain distribution information. Among them, part of the information contained in each distribution data frame is carried in the length field of the distribution data frame, that is, the Length field or the destination MAC bit. The address field is the Destination field. Among them, in the process of sending the network distribution data frame, optionally, the network distribution equipment can send in the following manner: Encode the distribution network information according to the preset encoding format; Divide the coded distribution network information into groups; Send the packet frame and multiple distribution network data frames corresponding to each group in turn. The packet frame includes the group identification of the corresponding group, and the multiple distribution data frames correspond to the multiple strings included in the corresponding group one-to-one. , The multiple character strings are at least part of the encoded distribution network information; Among them, the aforementioned distribution network synchronization frame is used as the first grouped packet frame. Among them, the group identifier is carried in the Length field of the group frame or Destination field. Among them, the Length field in each distribution network data frame or The Destination field includes the corresponding string and the in-group offset of the corresponding string. In other words, take the Length field as an example. The Length field occupies 12 bits. The 12 bits can be divided into two parts. The first part is used to fill the offset within the group, and the second part is used to Filling in part of the information in the distribution network is a string of a certain length corresponding to the part of the information. In practical applications, the number of bits occupied by these two parts can be flexibly divided according to actual needs. Therefore, after encoding the distribution network information, a complete bit sequence corresponding to the distribution network information is obtained. The above-mentioned process of grouping the coded distribution network information is: according to the number of bits occupied by the second part, the result is obtained after encoding. The bit sequence is divided to obtain several strings. Each string needs to be transmitted by a distribution network data frame; in addition, in order to ensure that the equipment to be connected to the network can know the sending order of each distribution network data frame, it is necessary to The distribution network data frame is marked with the serial number, and in this embodiment, the serial number marking of the distribution network data frame is performed on the string contained in the distribution network data frame by using the group identifier and the offset within the group. Serial number mark. Among them, the packet frame mentioned in this embodiment can also be selected from a variety of data frames specified by the 802.11 MAC layer protocol to be used as the packet frame. Taking the Length field as an example, the Length of different packet frames The group IDs filled in the fields are different. The first group frame is filled with the group ID of the first group, the second group frame is filled with the group ID of the second group, and so on. It is worth noting that the first packet frame can actually be the aforementioned delivery synchronization frame. The following example is used to illustrate the sending process of the distribution network information of the distribution network equipment. This example uses the Length field to transmit the distribution network information as an example, and assumes that the second in the Length field of each distribution network data frame Part of the string that can be filled is 8 bits, that is, a byte. Suppose that the complete distribution network information includes the following bytes after being encoded: 12 0F 0C 00 34 4D 41 4C 4C 00 32 4F 55 54 45 52 0D 08 Assuming that every 8 bit groups are grouped into one group, they are divided into the following three groups in total: Group 1: 12 0F 0C 00 34 4D 41 4C Group 2: 00 32 4F 55 54 45 52 0D Group 3: 08 The offsets in the group are expressed as: 0x100, 0x180, 0x200, 0x280, 0x300, 0x380, 0x400, 0x480, where: 0x100: indicates the first byte in the group 0x180: indicates the second byte in the group ... And so on. In addition, suppose that the packet identifiers filled in the Length field of the packet frames sent sequentially are: 0x3E0, 0x3E1, 0x3E2,..., 0x3EF, where: 0x3E0: indicates the first group 0x3E1: indicates the second group ... And so on. Based on the above assumptions, the sending process of the distribution network equipment is: The first frame: the distribution network synchronization frame is the first packet frame, and the Length field is filled with 0x3E0; The second frame: the first distribution data frame in the first group, the Length field is filled with 0x100+0x12=0x112; among them, the Length field is divided into the first part before the + sign and the second part after the Two parts The third frame: the second distribution data frame in the first group, the Length field is filled with 0x180+0x0F=0x18F; The fourth frame: the third distribution data frame in the first group, the Length field is filled with 0x200+0x0C=0x20C; The fifth frame: the fourth distribution data frame in the first group, the Length field is filled with 0x280+0x00=0x280; The sixth frame: the fifth distribution network data frame in the first group, the Length field is filled with 0x300+0x34=0x334; The seventh frame: the sixth distribution data frame in the first group, the Length field is filled with 0x380+0x4D=0x3CD; The 8th frame: the 7th distribution data frame in the 1st group, the Length field is filled with 0x400+0x41=0x441; The 9th frame: the 8th distribution data frame in the 1st group, the Length field is filled with 0x480+0x4C=0x4CC; The tenth frame: the second group frame, the Length field is filled with 0x3E1; The 11th frame: the first distribution data frame in the second group, the Length field is filled with 0x100+0x00=0x100; The 12th frame: the second distribution data frame in the second group, the Length field is filled with 0x180+0x32=0x1B2; The 13th frame: the third distribution data frame in the second group, the Length field is filled with 0x200+0x4F=0x24F; The 14th frame: the 4th distribution data frame in the 2nd group, the Length field is filled with 0x280+0x55=0x2D5; The 15th frame: the fifth distribution data frame in the second group, the Length field is filled with 0x300+0x54=0x354; The 16th frame: the 6th distribution data frame in the second group, the Length field is filled with 0x380+0x45=0x3C5; The 17th frame: the 7th distribution data frame in the 2nd group, the Length field is filled with 0x400+0x52=0x452; The 18th frame: the 8th distribution data frame in the second group, the Length field is filled with 0x480+0x0D=0x48D; The 19th frame: the third grouped frame, the Length field is filled with 0x3E2; The 20th frame: the first distribution data frame in the third group, the Length field is filled with 0x100+0x08=0x108. Optionally, after all the bytes are sent, the sending can be repeated from the beginning to ensure correct reception. Based on the sending process, after each frame is received by the network-connected device, it parses out the corresponding string according to the corresponding encoding rules, and responds with the position order of the string. FIG. 4 is an interaction diagram of a network distribution process provided by an embodiment of the present invention. As shown in FIG. 4, it may include the following steps: 401. The router sends a beacon frame, and the beacon frame includes the SSID and BSSID corresponding to the router. 402. After receiving the beacon frame, the network access device stores the corresponding relationship between the SSID and the BSSID. 403. The distribution network device sends a distribution network synchronization frame, and the distribution network synchronization frame includes the MAC address of the distribution network device and the BSSID of the router to which the distribution network device is connected. 404. After the network access device receives the distribution network synchronization frame, it queries the corresponding relationship stored locally according to the BSSID in the distribution network synchronization frame to obtain the corresponding SSID. 405. The distribution network equipment divides the encoded distribution network information into groups, and sends a grouping frame corresponding to each group and multiple distribution network data frames in the group in turn. 406. The equipment to be connected to the network parses the received packet frames and distribution network data frames to obtain network distribution information, and connects to the network according to the obtained SSID and distribution network information. The SSID obtaining device of the router according to one or more embodiments of the present invention will be described in detail below. Those skilled in the art can understand that the SSID acquisition devices of these routers can all be configured by using commercially available hardware components through the steps taught in this solution. FIG. 5 is a schematic structural diagram of a router SSID obtaining device provided by an embodiment of the present invention. As shown in FIG. 5, the device includes: a receiving module 11, a storage module 12, and an obtaining module 13. The receiving module 11 is configured to receive a beacon frame sent by a router, and the beacon frame includes the SSID and BSSID of the router. The storage module 12 is used to store the correspondence between the SSID and the BSSID. The receiving module 11 is also used to receive a network distribution synchronization frame sent by a network distribution device, and the distribution network synchronization frame includes the BSSID of the router. The obtaining module 13 is configured to query the correspondence relationship according to the BSSID in the distribution network synchronization frame to obtain the SSID. Optionally, the length field or the destination MAC address field in the network distribution synchronization frame is filled with a preset string for identifying the network distribution synchronization frame. Optionally, the network distribution synchronization frame further includes the MAC address of the network distribution device, and the device may further include: a locking module for locking the network distribution device according to the MAC address of the network distribution device. Said distribution network equipment. Optionally, the receiving module 11 may also be used to receive various network distribution data frames sequentially sent by the network distribution equipment according to the network distribution information corresponding to the router, and each network distribution data frame includes all network distribution data frames. At least part of the information in the distribution network information is carried in the length field or the destination MAC address field of the distribution network data frame. The device may further include: a parsing module for parsing each of the network distribution data frames to obtain the network distribution information. Optionally, the SSID is included or not included in the network distribution information. Optionally, the obtaining module 13 is further configured to replace the SSID parsed from the respective distribution network data frames with the SSID obtained by the query. The device shown in FIG. 5 can execute the method of the embodiment shown in FIG. 2. For parts that are not described in detail in this embodiment, reference may be made to the related description of the embodiment shown in FIG. 2. For the implementation process and technical effects of this technical solution, refer to the description in the embodiment shown in FIG. 2, which will not be repeated here. In a possible design, the structure of the SSID obtaining device of the router shown in Figure 5 can be implemented as an electronic device, which is a device to be connected to the network that needs to be connected to the network, for example, it can be a smart device that does not have a network configuration interface. Type home appliances, robots, etc. As shown in FIG. 6, the electronic device may include: a first processor 21 and a first storage 22. Wherein, the first storage 22 is used to store a program that supports the electronic device to execute the SSID obtaining method of the router provided in the embodiment shown in FIG. 2, and the first processor 21 is configured to execute the first A program stored in the storage 22. The program includes one or more computer instructions. When the one or more computer instructions are executed by the first processor 21, the following steps can be implemented: Receiving a beacon frame sent by a router, where the beacon frame includes the SSID and BSSID of the router; Store the correspondence between the SSID and the BSSID; Receiving a distribution network synchronization frame sent by a network distribution device, where the distribution network synchronization frame includes the BSSID of the router; Query the correspondence relationship according to the BSSID in the distribution network synchronization frame to obtain the SSID. Optionally, the first processor 21 is further configured to execute all or part of the steps in the embodiment shown in FIG. 2. Wherein, the structure of the electronic device may further include a first communication interface 23 for the electronic device to communicate with other devices or a communication network. In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by an electronic device, which includes a program used to execute the SSID obtaining method of the router in the method embodiment shown in FIG. 2. FIG. 7 is a schematic structural diagram of another SSID obtaining device of a router according to an embodiment of the present invention. As shown in FIG. 7, the device includes: a connection module 31 and a sending module 32. The connection module 31 is used to establish a communication connection with the router. The sending module 32 is used to send a distribution network synchronization frame, which includes the BSSID of the router, so that the device to be connected to the network that receives the distribution network synchronization frame is sure to be stored locally After having the BSSID, obtain the SSID according to the correspondence relationship between the BSSID and the SSID stored locally. Optionally, the length field or the destination MAC address field in the network distribution synchronization frame is filled with a preset string for identifying the network distribution synchronization frame. Optionally, the sending module 32 can also be used to send various distribution network data frames in sequence according to the distribution network information corresponding to the router, and each distribution network data frame includes a part of the distribution network information. Information, so that the network-to-be-connected device parses the various network distribution data frames to obtain the network distribution information, and the part of the information is carried in the length field or the destination MAC address field of the network distribution data frame. Optionally, the device may further include: a pre-processing module for encoding the distribution network information according to a preset encoding format; and grouping and dividing the encoded distribution network information. Therefore, optionally, the sending module 32 may also be used to send a grouping frame corresponding to each group and multiple distribution network data frames in the group in sequence, and the grouping frame includes the grouping corresponding to the grouping. Identifies that the plurality of network distribution data frames correspond one-to-one with a plurality of character strings included in the corresponding group, and the plurality of character strings are at least a part of the encoded distribution network information; wherein, The distribution network synchronization frame is used as the first grouped packet frame, and the group identifier is carried in the length field or the destination MAC address field of the packet frame. Optionally, the length field or the destination MAC address field in each distribution data frame includes a corresponding string and an in-group offset of the corresponding string. FIG. 9 is a flowchart of a method for obtaining a service configuration identifier according to an embodiment of the present invention. The method for obtaining a service configuration identifier may be executed by the device to be connected to the network shown in FIG. 1. As shown in Figure 9, the method includes the following steps: 501. Receive a first message sent by a networked device, where the first message includes first channel information and a first service setting identifier; Specifically, the first message may be a device configuration agreement (Device provisioning protocol (DPP) configuration response message (configuration response). The first channel information may be the sending or receiving channel of the beacon frame. Optionally, the first message may also include an encoding processing identifier. The encoding processing identifier is used to indicate whether the terminal processes the service setting identifier (SSID). The encoding process identification may also be called an encoding status identification or other names. For example, if the encoding process identifier is 1, the terminal will trigger the encoding process of the SSID. If the encoding process identifier is 0, the terminal does not trigger the encoding process of the SSID. Optionally, the meaning represented by the value of the encoding process identification can also be reversed. 502. Obtain a beacon frame according to the first channel information, where the beacon frame includes a second service configuration identifier and a second basic service configuration identifier; Specifically, after receiving the DPP configuration response message sent by the network distribution device, the network-to-be-distributed device will receive the beacon frame on the channel indicated by the first channel information. Optionally, the network device to be configured may also store the SSID and BSSID carried in the beacon frame in advance. In order to optimize the storage space, the network device to be configured can only save the SSID and BSSID in the latest primary beacon frame. 503. Determine a target service setting identifier according to the first service setting identifier and the second service setting identifier. Specifically, the first service setting identifier is the SSID obtained from the DPP configuration response message. The second service setting identifier is the SSID obtained from the beacon frame. If the network device to be configured determines whether the encoding formats of the first SSID and the second SSID are the same, if they are the same, the network device to be configured will send the same SSID during the process of associating with the access point. If the network device to be configured determines that the encoding formats of the first SSID and the second SSID are different, the network device to be configured sends the second SSID during the process of associating with the access point. Optionally, the network device to be configured can find the same BSSID in the DPP configuration response message as in the beacon frame, and use the BSSID to find the corresponding first SSID and second SSID. The device shown in FIG. 7 can execute the method of the embodiment shown in FIG. 3, and for parts that are not described in detail in this embodiment, please refer to the related description of the embodiment shown in FIG. 3. For the implementation process and technical effects of this technical solution, refer to the description in the embodiment shown in FIG. 3, which will not be repeated here. In a possible design, the structure of the SSID obtaining device of the router shown in FIG. 7 may be implemented as an electronic device, which may be a network distribution device such as a mobile phone or a tablet computer that has been connected to the network. As shown in FIG. 8, the electronic device may include: a second processor 41 and a second storage 42. Wherein, the second storage 42 is used to store a program that supports the electronic device to execute the SSID obtaining method of the router provided in the embodiment shown in FIG. 3, and the second processor 41 is configured to execute the first 2. Programs stored in the memory 42. The program includes one or more computer instructions, and when the one or more computer instructions are executed by the second processor 41, the following steps can be implemented: Establish a communication connection with the router; Send a distribution network synchronization frame, the distribution network synchronization frame includes the BSSID of the router, so that the device to be connected to the network that receives the distribution network synchronization frame determines that the BSSID is stored locally according to The locally stored correspondence between the BSSID and the SSID obtains the SSID. Optionally, the second processor 41 is further configured to execute all or part of the steps in the embodiment shown in FIG. 3. Wherein, the structure of the electronic device may further include a second communication interface 43 for the electronic device to communicate with other devices or a communication network. In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by an electronic device, which includes a program used to execute the SSID obtaining method of the router in the method embodiment shown in FIG. 3. The device embodiments described above are merely illustrative, where the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those with ordinary knowledge in the field can understand and implement it without creative work. Based on the description of the above implementations, those skilled in the art can clearly understand that each implementation can be implemented by adding the necessary universal hardware platform, and of course it can also be implemented by a combination of hardware and software. . Based on this understanding, the above technical solution essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present invention can use one or more computer-usable storage media containing computer-usable program codes. (Including but not limited to the form of computer program products implemented on disk storage, CD-ROM, optical storage, etc.). The present invention is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, dedicated computers, embedded processors, or other programmable devices to generate a machine, so that the instructions executed by the processors of the computer or other programmable devices are generated for realization A device with functions specified in a flow or multiple flows in a flowchart and/or a block or multiple blocks in a block diagram. These computer program instructions can also be stored in a computer-readable storage that can guide a computer or other programmable equipment to work in a specific manner, so that the instructions stored in the computer-readable storage produce a manufactured product that includes the instruction device. The instruction device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram. These computer program instructions can also be loaded on a computer or other programmable equipment, so that a series of operation steps are executed on the computer or other programmable equipment to generate computer-implemented processing, which can be executed on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram. In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and internal storage. Internal storage may include non-permanent storage in computer-readable media, random access memory (RAM) and/or non-volatile internal memory, such as read-only memory (ROM) or flash memory Body (flash RAM). Internal storage is an example of computer-readable media. Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other internal storage technology, CD-ROM, digital multi-function disc ( DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves. Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: The technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention .

201~204:步驟 301,302:步驟 401~406:步驟 11:接收模組 12:儲存模組 13:獲取模組 21:第一處理器 22:第一儲存器 23:第一通訊介面 31:連接模組 32:發送模組 41:第二處理器 42:第二儲存器 43:第二通訊介面 501~503:步驟201~204: Steps 301, 302: steps 401~406: steps 11: Receiving module 12: Storage module 13: Get the module 21: the first processor 22: The first storage 23: The first communication interface 31: Connection module 32: Sending module 41: second processor 42: second storage 43: The second communication interface 501~503: steps

為了更清楚地說明本發明實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的圖式作一簡單地介紹,顯而易見地,下面描述中的圖式是本發明的一些實施例,對於本領域具有通常知識者來講,在不付出創造性勞動的前提下,還可以根據這些圖式獲得其他的圖式。 [圖1]為本發明實施例提供的一種路由器的SSID獲取系統的組成示意圖; [圖2]為本發明實施例提供的一種路由器的SSID獲取方法的流程圖; [圖3]為本發明實施例提供的另一種路由器的SSID獲取方法的流程圖; [圖4]為本發明實施例提供的一種配網過程的交互圖; [圖5]為本發明實施例提供的一種路由器的SSID獲取裝置的結構示意圖; [圖6]為與圖5所示實施例提供的路由器的SSID獲取裝置對應的電子設備的結構示意圖; [圖7]為本發明實施例提供的另一種路由器的SSID獲取裝置的結構示意圖; [圖8]為與圖7所示實施例提供的路由器的SSID獲取裝置對應的電子設備的結構示意圖; [圖9]為本發明實施例提供了一種服務設定識別符獲取方法的流程圖。In order to more clearly explain the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are the present For some embodiments of the invention, for those with ordinary knowledge in the field, other schemas can be obtained based on these schemas without creative work. [Figure 1] is a schematic diagram of the composition of a router SSID obtaining system provided by an embodiment of the present invention; [Fig. 2] is a flowchart of a method for obtaining an SSID of a router according to an embodiment of the present invention; [Fig. 3] is a flowchart of another method for obtaining an SSID of a router according to an embodiment of the present invention; [Figure 4] is an interaction diagram of a network distribution process provided by an embodiment of the present invention; [Fig. 5] is a schematic structural diagram of an SSID obtaining device of a router according to an embodiment of the present invention; [Fig. 6] is a schematic diagram of the structure of an electronic device corresponding to the SSID obtaining device of the router provided in the embodiment shown in Fig. 5; [Fig. 7] is a schematic structural diagram of another SSID obtaining device of a router according to an embodiment of the present invention; [Fig. 8] is a schematic diagram of the structure of electronic equipment corresponding to the SSID obtaining device of the router provided in the embodiment shown in Fig. 7; [Fig. 9] is a flowchart of a method for obtaining a service setting identifier according to an embodiment of the present invention.

Claims (18)

一種路由器的SSID獲取方法,其特徵在於,應用於待入網設備,包括: 接收路由器發送的信標訊框,該信標訊框中包括該路由器的SSID和BSSID; 儲存該SSID和該BSSID之間的對應關係; 接收配網設備發送的配網同步訊框,該配網同步訊框中包括該路由器的BSSID; 根據該配網同步訊框中的該BSSID查詢該對應關係以獲取該SSID。A method for obtaining the SSID of a router is characterized in that it is applied to a device to be connected to the network and includes: Receive the beacon frame sent by the router, the beacon frame includes the SSID and BSSID of the router; Store the correspondence between the SSID and the BSSID; Receiving the distribution network synchronization frame sent by the distribution network equipment, the distribution network synchronization frame including the BSSID of the router; The corresponding relationship is queried according to the BSSID in the distribution network synchronization frame to obtain the SSID. 根據請求項1所述的方法,其中,該配網同步訊框中的長度欄位或目的MAC位址欄位填充有預設的用於標識配網同步訊框的字串。The method according to claim 1, wherein the length field or the destination MAC address field of the distribution network synchronization frame is filled with a preset string for identifying the distribution network synchronization frame. 根據請求項1所述的方法,其中,該配網同步訊框中還包括該配網設備的MAC位址,該方法還包括: 根據該配網設備的MAC位址,鎖定該配網設備。The method according to claim 1, wherein the network distribution synchronization frame further includes the MAC address of the network distribution device, and the method further includes: According to the MAC address of the network distribution device, the network distribution device is locked. 根據請求項3所述的方法,其中,該方法還包括: 接收該配網設備根據該路由器對應的配網資訊依次發送的各配網資料訊框,每個配網資料訊框中包括該配網資訊中的至少一部分資訊,該至少一部分資訊承載於配網資料訊框的長度欄位或目的MAC位址欄位; 解析該各配網資料訊框以獲得該配網資訊。The method according to claim 3, wherein the method further includes: Receive each distribution network data frame sequentially sent by the distribution network device according to the distribution network information corresponding to the router, each distribution data frame includes at least a part of the distribution network information, and the at least part of the information is carried on the distribution network The length field or destination MAC address field of the data frame; Analyze the distribution network data frame to obtain the distribution network information. 根據請求項4所述的方法,其中,該配網資訊中包括或不包括該SSID。The method according to claim 4, wherein the SSID is included or not included in the network distribution information. 根據請求項1所述的方法,其中,該方法還包括: 以查詢獲得的該SSID替換從該配網設備發送的各配網資料訊框中解析出的SSID。The method according to claim 1, wherein the method further includes: Use the SSID obtained by the query to replace the SSID parsed from each distribution data frame sent by the distribution network device. 一種路由器的SSID獲取方法,其特徵在於,應用於配網設備,包括: 與路由器建立通訊連接; 發送配網同步訊框,該配網同步訊框中包括該路由器的BSSID,以使接收到該配網同步訊框的待入網設備在確定本地已儲存有該BSSID後,根據本地儲存的該BSSID和SSID的對應關係獲取該SSID。A method for obtaining the SSID of a router is characterized in that it is applied to a network distribution device and includes: Establish a communication connection with the router; Send a distribution network synchronization frame, which includes the router’s BSSID, so that the device to be connected to the network that receives the distribution network synchronization frame determines that the BSSID is stored locally, according to the locally stored BSSID. The corresponding relationship between the BSSID and the SSID obtains the SSID. 根據請求項7所述的方法,其中,該配網同步訊框中的長度欄位或目的MAC位址欄位填充有預設的用於標識配網同步訊框的字串。The method according to claim 7, wherein the length field or the destination MAC address field of the distribution network synchronization frame is filled with a preset string for identifying the distribution network synchronization frame. 根據請求項7所述的方法,其中,該方法還包括: 根據該路由器對應的配網資訊依次發送各配網資料訊框,每個配網資料訊框中包括該配網資訊中的部分資訊,以使該待入網設備解析該各配網資料訊框以獲得該配網資訊,該部分資訊承載於配網資料訊框的長度欄位或目的MAC位址欄位。The method according to claim 7, wherein the method further includes: Send each distribution network data frame in turn according to the distribution network information corresponding to the router, and each distribution network data frame includes part of the information in the distribution network information, so that the device to be connected to the network can parse the distribution network data frames To obtain the distribution information, this part of the information is carried in the length field or the destination MAC address field of the distribution data frame. 根據請求項9所述的方法,其中,該根據該路由器對應的配網資訊依次發送各配網資料訊框,包括: 根據預設編碼格式,對該配網資訊進行編碼; 對編碼後的配網資訊進行分組劃分; 依次發送每個分組對應的分組訊框和組內的多個配網資料訊框,該分組訊框中包括對應分組的分組標識,該多個配網資料訊框與該對應分組內包括的多個字串一一對應,該多個字串是該編碼後的配網資訊中的至少一部分資訊; 其中,該配網同步訊框作為第一個分組的分組訊框,該分組標識承載於分組訊框的長度欄位或目的MAC位址欄位中。The method according to claim 9, wherein the step of sequentially sending each distribution network data frame according to the distribution network information corresponding to the router includes: Encode the distribution network information according to the preset encoding format; Divide the coded distribution network information into groups; The grouping frame corresponding to each group and the multiple distribution network data frames in the group are sent in turn, the grouping frame includes the group identifier of the corresponding group, and the multiple distribution network data frames are compared with the multiple distribution data frames included in the corresponding group. A one-to-one correspondence between the strings, and the multiple strings are at least part of the encoded distribution network information; Among them, the distribution network synchronization frame is used as the first grouped packet frame, and the group identifier is carried in the length field or the destination MAC address field of the packet frame. 根據請求項10所述的方法,其中,每個配網資料訊框中的長度欄位或目的MAC位址欄位中包括對應字串和該對應字串的組內偏移量。The method according to claim 10, wherein the length field or the destination MAC address field in each distribution data frame includes a corresponding string and an in-group offset of the corresponding string. 一種路由器的SSID獲取裝置,其特徵在於,應用於待入網設備,該裝置包括: 接收模組,用於接收路由器發送的信標訊框,該信標訊框中包括該路由器的SSID和BSSID; 儲存模組,用於儲存該SSID和該BSSID之間的對應關係; 該接收模組,還用於接收配網設備發送的配網同步訊框,該配網同步訊框中包括該路由器的BSSID; 獲取模組,用於根據該配網同步訊框中的該BSSID查詢該對應關係以獲取該SSID。A router SSID acquisition device, which is characterized in that it is applied to a device to be connected to the network, and the device includes: The receiving module is used to receive the beacon frame sent by the router, and the beacon frame includes the SSID and BSSID of the router; The storage module is used to store the correspondence between the SSID and the BSSID; The receiving module is also used to receive the distribution network synchronization frame sent by the network distribution equipment, and the distribution network synchronization frame includes the BSSID of the router; The obtaining module is used for querying the correspondence relationship according to the BSSID in the distribution network synchronization frame to obtain the SSID. 一種電子設備,其特徵在於,包括:儲存器、處理器;其中, 該儲存器用於儲存一條或多條電腦指令,其中,該一條或多條電腦指令被該處理器執行時實現如請求項1至6中任一項所述的路由器的SSID獲取方法。An electronic device, which is characterized by comprising: a memory and a processor; wherein, The storage is used to store one or more computer instructions, where the one or more computer instructions are executed by the processor to implement the SSID acquisition method of the router as described in any one of claim items 1 to 6. 一種路由器的SSID獲取裝置,其特徵在於,應用於配網設備,該裝置包括: 連接模組,用於與路由器建立通訊連接; 發送模組,用於發送配網同步訊框,該配網同步訊框中包括該路由器的BSSID,以使接收到該配網同步訊框的待入網設備在確定本地已儲存有該BSSID後,根據本地儲存的該BSSID和SSID的對應關係獲取該SSID。A router SSID acquisition device, which is characterized in that it is applied to network distribution equipment, and the device includes: The connection module is used to establish a communication connection with the router; The sending module is used to send the distribution network synchronization frame, which includes the BSSID of the router, so that the device to be connected to the network that receives the distribution network synchronization frame can confirm that the BSSID is stored locally , Obtain the SSID according to the correspondence between the BSSID and the SSID stored locally. 一種服務設定識別符獲取的方法,其特徵在於,應用於待入網設備,包括: 接收入網設備發送的第一消息,該第一消息包括第一信道資訊以及第一服務設定識別符; 根據第一信道資訊獲取信標訊框,該信標訊框包括第二服務設定識別符以及第二基礎服務設定識別符; 根據該第一服務設定識別符以及該第二服務設定識別符確定目標服務設定識別符。A method for obtaining a service setting identifier, which is characterized in that it is applied to a device to be connected to the network, and includes: Receiving a first message sent by a networked device, the first message including first channel information and a first service setting identifier; Acquiring a beacon frame according to the first channel information, the beacon frame including a second service setting identifier and a second basic service setting identifier; The target service setting identifier is determined according to the first service setting identifier and the second service setting identifier. 根據請求項15所述的方法,其中,該方法還包括: 該第一消息還包括第一基礎服務設定識別符,該待入網設備根據該第一服務設定識別符,該第一服務設定識別符,該第二服務設定識別符以及該第二服務設定識別符確定該目標服務設定識別符。The method according to claim 15, wherein the method further includes: The first message further includes a first basic service setting identifier, and the device to be connected to the network sets the identifier according to the first service setting identifier, the first service setting identifier, the second service setting identifier, and the second service setting identifier The identifier determines the target service setting identifier. 一種電子設備,其特徵在於,包括:儲存器、處理器;其中, 該儲存器用於儲存一條或多條電腦指令,其中,該一條或多條電腦指令被該處理器執行時實現如請求項7至11中任一項所述的路由器的SSID獲取方法。An electronic device, which is characterized by comprising: a memory and a processor; wherein, The storage is used to store one or more computer instructions, where the one or more computer instructions are executed by the processor to implement the SSID acquisition method of the router as described in any one of claim items 7 to 11. 一種路由器的SSID獲取系統,其特徵在於,包括:配網設備、路由器和待入網設備; 該路由器,用於發送信標訊框,該信標訊框中包括該路由器的SSID和BSSID; 該配網設備,用於發送配網同步訊框,該配網同步訊框中包括該路由器的BSSID; 該待入網設備,用於根據接收到的該信標訊框儲存該SSID和該BSSID之間的對應關係,以及根據該配網同步訊框中的該BSSID查詢該對應關係以獲取該SSID。A router SSID acquisition system, which is characterized in that it includes: a network distribution device, a router, and a device to be connected to the network; The router is used to send a beacon frame, and the beacon frame includes the SSID and BSSID of the router; The distribution network equipment is used to send a distribution network synchronization frame, and the distribution network synchronization frame includes the BSSID of the router; The device to be connected to the network is used to store the corresponding relationship between the SSID and the BSSID according to the received beacon frame, and to query the corresponding relationship according to the BSSID in the network distribution synchronization frame to obtain the SSID.
TW109117866A 2018-11-26 2020-05-28 SSID acquisition method and apparatus for wi-fi access point, device and system TW202106072A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201811420026 2018-11-26
CN201910695885.4 2019-07-30
CN201910695885.4A CN111225429B (en) 2018-11-26 2019-07-30 SSID (service set identifier) acquisition method, device, equipment and system of router

Publications (1)

Publication Number Publication Date
TW202106072A true TW202106072A (en) 2021-02-01

Family

ID=70827516

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109117866A TW202106072A (en) 2018-11-26 2020-05-28 SSID acquisition method and apparatus for wi-fi access point, device and system

Country Status (3)

Country Link
CN (2) CN111225429B (en)
TW (1) TW202106072A (en)
WO (1) WO2021017634A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809737A (en) * 2018-07-27 2018-11-13 杭州古北电子科技有限公司 Equipment network distribution device, system and method
CN111225429B (en) * 2018-11-26 2022-05-27 阿里巴巴集团控股有限公司 SSID (service set identifier) acquisition method, device, equipment and system of router
CN111865790B (en) * 2020-07-10 2022-10-14 青岛海尔科技有限公司 Method and device for collecting router information, internet of things equipment and Internet of things system
CN112203339B (en) * 2020-09-29 2022-12-27 中移(杭州)信息技术有限公司 Network distribution method of intelligent household equipment, intelligent household equipment and router
CN112788710B (en) * 2020-12-30 2023-10-03 普联技术有限公司 Access method and access device of terminal equipment
CN113766545B (en) * 2021-09-30 2024-04-09 贝壳找房(北京)科技有限公司 Identity recognition method and device for wireless network
CN114245405B (en) * 2021-12-16 2023-09-08 珠海格力电器股份有限公司 Equipment network distribution method, electronic equipment and storage medium
CN114302425B (en) * 2021-12-21 2024-06-04 深圳Tcl新技术有限公司 Equipment network distribution method and device, storage medium and electronic equipment
CN114630398B (en) * 2022-03-04 2024-02-02 美智纵横科技有限责任公司 Distribution network method, distribution network equipment, readable storage medium and sweeping robot
CN115226084A (en) * 2022-05-16 2022-10-21 芜湖美的厨卫电器制造有限公司 Intelligent device and network connection method thereof, routing device and storage medium
CN115175110B (en) * 2022-06-23 2023-11-03 深圳市爱培科技术股份有限公司 Method and system for rapidly distributing network for equipment based on multicast

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301884B (en) * 2014-10-29 2017-12-15 浙江宇视科技有限公司 A kind of method of Configuration network video camera access wireless router
CN104660726B (en) * 2015-02-03 2018-11-27 普联技术有限公司 Network collocating method, the apparatus and system of smart machine
CN104619040A (en) * 2015-02-10 2015-05-13 福州瑞芯微电子有限公司 Method and system for quickly connecting WIFI equipment
CN106412886A (en) * 2015-08-13 2017-02-15 大唐半导体设计有限公司 Method, device and system for secure access of intelligent device to wireless network
CN105933899B (en) * 2016-04-14 2019-07-09 北京小米移动软件有限公司 The cut-in method and device of wireless access point
CN106254147B (en) * 2016-09-08 2019-06-28 珠海全志科技股份有限公司 It is a kind of for the configuration method of Wi-Fi network, internet-of-things terminal and control terminal
CN106162829A (en) * 2016-09-19 2016-11-23 青岛海信电器股份有限公司 WIFI method of attachment and device
CN106488447A (en) * 2016-09-27 2017-03-08 深圳Tcl智能家庭科技有限公司 A kind of method and system of smart machine access network
CN106686593A (en) * 2016-12-28 2017-05-17 深圳Tcl智能家庭科技有限公司 WIFI-module-based network-access configuration method and apparatus for smart devices
CN107995671A (en) * 2017-12-01 2018-05-04 海尔优家智能科技(北京)有限公司 Connect method, apparatus, equipment and the storage medium of wireless access points
CN108243482A (en) * 2017-12-25 2018-07-03 惠州Tcl移动通信有限公司 A kind of network collocating method, storage medium and electronic equipment
CN111225429B (en) * 2018-11-26 2022-05-27 阿里巴巴集团控股有限公司 SSID (service set identifier) acquisition method, device, equipment and system of router

Also Published As

Publication number Publication date
WO2021017634A1 (en) 2021-02-04
CN111225429B (en) 2022-05-27
CN111225429A (en) 2020-06-02
CN111225430A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
WO2021017634A1 (en) Ssid acquisition method and apparatus for wi-fi access point, device and system
CN113765857B (en) Message forwarding method, device, equipment and storage medium
US6982970B2 (en) Data transfer method and radio terminal for executing transport layer protocol on radio network
US9674315B2 (en) Methods for dynamically binding header field identifiers in a network control protocol
CN103166874B (en) A kind of message forwarding method and equipment
US11847091B2 (en) Data transmission method and device for network on chip and electronic apparatus
JP2016522627A (en) Packet processing method and apparatus
WO2011140844A1 (en) Method for processing messages on m2m platform and m2m platform system
WO2021088813A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
EP2953302B1 (en) Service packet processing method, apparatus and system
KR20220159456A (en) Service processing methods, devices, facilities and storage media
CN107733765B (en) Mapping method, system and related equipment
TW201828683A (en) Method, device, and system for transmitting data, transmitting end, and receiving end
CN107566143B (en) Longitudinal stacking discovery method and device
WO2017041534A1 (en) Power line network communication method and device, and computer storage media
US8886913B2 (en) Apparatus and method for identifier management
KR102226915B1 (en) Method, apparatus and computer program for operating the flow rules database in software defined network
CN103581020B (en) The method of a kind of message forwarding, Apparatus and system
CN114531622A (en) Multi-stage PON (passive optical network) management method and related device
CN103731332A (en) Master-slave communication method and OLT system
US20160006809A1 (en) Method and device for centralized storage of photographs
CN111225393B (en) Channel correction method, device, equipment and system
CN114079675B (en) Message processing method, device, terminal equipment and mobile broadband internet surfing equipment
EP3913865A1 (en) Message decapsulation method and device, message encapsulation method and device, electronic device, and storage medium
US20200311040A1 (en) Dynamically rendering an application programming interface for internet of things applications