A network configuration method based on Wi-Fi sensing, executed in a proximity sensing network cluster formed by networking of a plurality of devices waiting for network configuration, one of the plurality of devices waiting for network configuration being selected as an anchor main device. The method comprises: a) at least one device waiting for network configuration negotiates with the anchor main device to obtain a first shared key; b) the at least one device waiting for network configuration acquires first encrypted ciphertext from the anchor main device, wherein the first encrypted ciphertext comprises ciphertext obtained by encrypting, according to the first shared key, a network configuration key generated by the anchor main device; c) the at least one device waiting for network configuration acquires third encrypted ciphertext from a mobile terminal, wherein the third encrypted ciphertext is ciphertext obtained by encrypting, according to the network configuration key, network configuration information acquired by the mobile terminal; d) the at least one device waiting for network configuration decrypts the first encrypted ciphertext according to the first shared key to acquire the network configuration key; and e) the at least one device waiting for network configuration decrypts the third encrypted ciphertext according to the network configuration key to acquire the network configuration information.
L'invention concerne un procédé de configuration de réseau basé sur une détection Wi-Fi, exécuté dans une grappe de réseaux de détection de proximité formée par mise en réseau d'une pluralité de dispositifs en attente d'une configuration de réseau, un dispositif de la pluralité de dispositifs en attente d'une configuration de réseau étant sélectionné en tant que dispositif principal d'ancrage. Le procédé comprend les étapes suivantes : a) au moins un dispositif en attente d'une configuration de réseaux négocie avec le dispositif principal d'ancrage pour obtenir une première clé partagée ; b) l'au moins un dispositif en attente d'une configuration de réseaux acquiert un premier cryptogramme chiffré en provenance du dispositif principal d'ancrage, le premier cryptogramme chiffré comprenant un cryptogramme obtenu par chiffrement, selon la première clé partagée, d'une clé de configuration de réseau générée par le dispositif principal d'ancrage ; c) l'au moins un dispositif en attente d'une configuration de réseau acquiert un troisième cryptogramme chiffré en provenance d'un terminal mobile, le troisième cryptogramme chiffré étant un cryptogramme obtenu par chiffrement, selon la clé de configuration de réseau, d'informations de configuration de réseau acquises par le terminal mobile ; d) l'au moins un dispositif en attente d'une configuration de réseau déchiffre le premier cryptogramme chiffré selon la première clé partagée pour acquérir la clé de configuration de réseau ; et e) l'au moins un dispositif en attente d'une configuration de réseau déchiffre le troisième cryptogramme chiffré selon la clé de configuration de réseau pour acquérir les informations de configuration de réseau.
一种基于Wi-Fi感知的配网方法,其在由多个待配网设备组网形成的邻近感知网络集群中执行,多个待配网设备中的一个被选定为锚定主设备,该方法包括:a)至少一个待配网设备与锚定主设备协商获得第一共享密钥; b)至少一个待配网设备从锚定主设备获取第一加密密文,第一加密密文包括根据第一共享密钥对锚定主设备生成的配网密钥加密而获得的密文;c)至少一个待配网设备从移动终端获取第三加密密文,第三加密密文为根据配网密钥对移动终端获取的配网信息加密而获得的密文;d)至少一个待配网设备根据第一共享密钥对第一加密密文进行解密,以获取配网密钥;e)至少一个待配网设备根据配网密钥对第三加密密文进行解密,以获取配网信息。