WO2024093708A1 - 一种网络连接方法及装置 - Google Patents

一种网络连接方法及装置 Download PDF

Info

Publication number
WO2024093708A1
WO2024093708A1 PCT/CN2023/126037 CN2023126037W WO2024093708A1 WO 2024093708 A1 WO2024093708 A1 WO 2024093708A1 CN 2023126037 W CN2023126037 W CN 2023126037W WO 2024093708 A1 WO2024093708 A1 WO 2024093708A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
terminal device
indication information
access
request message
Prior art date
Application number
PCT/CN2023/126037
Other languages
English (en)
French (fr)
Inventor
张禹
胡晓通
田联炳
任斌
田军
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024093708A1 publication Critical patent/WO2024093708A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Definitions

  • the present application relates to the field of communication technology, and in particular to a network connection method and device.
  • APPs applications for controlling smart devices in their electronic devices (such as mobile phones or tablets), so that they can control smart devices through APPs.
  • APPs applications
  • users need to connect the smart devices to a wireless local area network, such as a wireless fidelity (WiFi) network, to facilitate data transmission between smart devices.
  • WiFi wireless fidelity
  • the network configuration registration process in single Wi-Fi mode can include the following steps: (1) the user powers on the smart device, and the smart device enters the network configuration waiting state; (2) the user's terminal device (such as a mobile phone) establishes a connection with the smart device through an APP; (3) the user sends the wireless LAN service set identifier (SSID) and access password to the smart device through the terminal device; (4) the smart device connects to the router based on the SSID and password.
  • the user's terminal device such as a mobile phone
  • the present application provides a network connection method and device to improve the network configuration efficiency of smart devices.
  • the present application provides a network connection method, the method comprising: a network device receives first indication information from a first terminal device, the first indication information being used to indicate that a second terminal device is to be connected to the network; the network device sends a first detection request message according to the first indication information, the first detection request message being used to indicate that the second terminal device is to access a first network of the network device, the first network being a network without an access password; the network device sends a network identifier of the second network and an access password of the second network to the second terminal device in the first network, the network identifier and the access password being used for the second terminal device to access the second network.
  • the first terminal device when configuring the second terminal device to access the network, the first terminal device only needs to send the first indication information to the network device, which can reduce the user's operations in the first terminal device, conveniently and quickly complete the network configuration process of the second terminal device, and improve the network configuration efficiency. It is particularly suitable for batch network configuration scenarios where multiple devices are configured at the same time.
  • the first detection request message includes at least one of the following: a device identifier of the second terminal device; and a channel identifier of a channel of the first network.
  • the network identification and/or access password is transmitted encrypted via the Internet Protocol (IP) layer.
  • IP Internet Protocol
  • the security of the network identification and/or access password can be guaranteed, thereby improving network security.
  • the second network is a wireless local area network established by the network device.
  • the method before the network device receives the first indication information from the first terminal device, the method further includes:
  • the network device sends a second detection request message, where the second detection request message includes second indication information, and the second indication information is used to indicate a network configuration mode supported by the network device.
  • the method further includes: the network device receives a probe response message from the second terminal device, the probe response message includes third indication information, and the third indication information is used to indicate a network configuration method supported by the second terminal device.
  • the method further includes: the network device sends third indication information to the first terminal device.
  • the present application provides a network connection method, the method comprising: a second terminal device receives a first detection request message from a network device, the first detection request message is used to instruct the second terminal device to access a first network of the network device, the first network is a non-access password a network with a code; a second terminal device accesses the first network and receives a network identifier and an access password from a network device in the first network; and the second terminal device accesses the second network according to the network identifier and the access password.
  • the first detection request message includes at least one of the following: an identifier of the second terminal device; an identifier of a channel of the first network.
  • the network identifier and the network password are transmitted encrypted via the Internet Protocol (IP) layer.
  • IP Internet Protocol
  • the second network is a wireless local area network established by the network device.
  • the method before the second terminal device receives a first detection request message from the network device, the method also includes: the second terminal device receives a second detection request message from the network device, the second detection request message includes second indication information, and the second indication information is used to indicate the network configuration method supported by the network device.
  • the method further includes: the second terminal device sends a probe response message to the network device, the probe response message includes third indication information, and the third indication information is used to indicate a network configuration method supported by the second terminal device.
  • the present application provides a communication device, which has the function of implementing the first aspect or the second aspect mentioned above.
  • the communication device includes a module or unit or means corresponding to the operations involved in the first aspect or the second aspect mentioned above.
  • the module or unit or means can be implemented by software, or by hardware, or the corresponding software can be implemented by hardware.
  • the communication device includes a processing unit and a communication unit, wherein the communication unit can be used to send and receive signals to achieve communication between the communication device and other devices; the processing unit can be used to perform some internal operations of the communication device.
  • the functions performed by the processing unit and the communication unit can correspond to the operations involved in the first aspect or the second aspect above.
  • the communication device includes a processor, which can be used to couple with a memory.
  • the memory can store necessary computer programs or instructions for implementing the functions involved in the first aspect or the second aspect.
  • the processor can execute the computer program or instructions stored in the memory, and when the computer program or instructions are executed, the communication device implements the method in any possible design or implementation of the first aspect or the second aspect.
  • the communication device includes a processor and a memory
  • the memory can store necessary computer programs or instructions for implementing the functions involved in the first aspect or the second aspect.
  • the processor can execute the computer program or instructions stored in the memory, and when the computer program or instructions are executed, the communication device implements the method in any possible design or implementation of the first aspect or the second aspect.
  • the communication device includes a processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit and execute the method in any possible design or implementation of the first aspect or the second aspect above.
  • the processor can be implemented by hardware or by software.
  • the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory.
  • the above processors can be one or more, and the memories can be one or more.
  • the memory can be integrated with the processor, or the memory can be separately set from the processor. In the specific implementation process, the memory can be integrated with the processor on the same chip, or can be set on different chips respectively.
  • the embodiment of the present application does not limit the type of memory and the setting method of the memory and the processor.
  • the present application provides a communication system, which may include a network device and a second terminal device; wherein the network device is used to execute the method provided in the first aspect, and the second terminal device is used to execute the method provided in the second aspect.
  • the communication system may also include a first terminal device, and the first terminal device is used to send the first indication information.
  • the present application provides a computer-readable storage medium, in which computer-readable instructions are stored.
  • a computer reads and executes the computer-readable instructions, the computer executes a method in any possible design of the first aspect or the second aspect mentioned above.
  • the present application provides a computer program product.
  • the computer reads and executes the computer program product, the computer executes the method in any possible design of the first aspect or the second aspect mentioned above.
  • the present application provides a chip, comprising a processor, wherein the processor is coupled to a memory and is used to read and execute a software program stored in the memory to implement a method in any possible design of the first aspect or the second aspect above.
  • FIG1 is a schematic diagram of a network architecture applicable to an embodiment of the present application.
  • FIG2 is a schematic diagram of a flow chart of a network connection method provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of a user interface provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of a user interface provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of a user interface provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of a user interface provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of a flow chart of a network connection method provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of a user interface provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
  • FIG10 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
  • the embodiments of the present application may be applicable to local area networks (LAN), in particular wireless local area networks (WLAN), for example, WLAN using any one of the 802.11 series protocols of the Institute of Electrical and Electronics Engineers (IEEE).
  • the WLAN may include one or more basic service sets (BSS), and the network nodes in the basic service set include access points (AP) and stations (STA).
  • IEEE 802.11ad introduces a personal basic service set (PBSS) and a personal basic service set control point (PBSS control point, PCP) on the basis of the original BSS.
  • the personal basic service set may include an AP/PCP and multiple non-AP/PCPs associated with the AP/PCP.
  • non-AP/PCP may be referred to as STA
  • PCP may be understood as the name of the role of AP in PBSS.
  • the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application.
  • a person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • the embodiments of the present application may also be applicable to wireless local area networks such as the Internet of Things (IoT) network or the Vehicle to X (V2X) network.
  • IoT Internet of Things
  • V2X Vehicle to X
  • the embodiments of the present application may also be applicable to other possible communication systems, such as the Long Term Evolution (LTE) communication system, the Universal Mobile Telecommunication System (UMTS), the fifth generation (5G) communication system, and future evolved communication systems.
  • LTE Long Term Evolution
  • UMTS Universal Mobile Telecommunication System
  • 5G fifth generation
  • future evolved communication systems future evolved communication systems.
  • AP can be an access point for a terminal device (such as a mobile phone) to enter a wired (or wireless) network.
  • AP is equivalent to a bridge connecting a wired network and a wireless network. Its main function is to connect various wireless network clients together and then connect the wireless network to Ethernet.
  • AP can be a terminal device (such as a mobile phone) or a network device (such as a router) with a wireless fidelity (Wi-Fi) chip.
  • Wi-Fi wireless fidelity
  • AP can be a device that supports the 802.11be standard, or it can be a device that supports multiple WLAN standards of the 802.11 series, such as 802.11ax, 802.11ay, 802.11ac, 802.11n, 802.11g, 802.11b, 802.11a, and 802.11be next generation.
  • STA can be a wireless communication chip, a wireless sensor or a terminal device, etc.
  • STA can be a terminal device supporting Wi-Fi communication function, an IoT device supporting Wi-Fi communication function, a mobile phone supporting Wi-Fi communication function, a tablet supporting Wi-Fi communication function, a set-top box supporting Wi-Fi communication function, a smart TV supporting Wi-Fi communication function, a smart wearable device supporting Wi-Fi communication function, a vehicle communication device supporting Wi-Fi communication function, and a computer supporting Wi-Fi communication function, etc.
  • STA can support the 802.11be standard, or can also support multiple WLAN standards of the 802.11 series such as 802.11ax, 802.11ay, 802.11ac, 802.11n, 802.11g, 802.11b, 802.11a, and 802.11be next generation.
  • smart devices or IoT devices may include but are not limited to smart lamps, smart sockets, smart switches, smart cameras, smart appliances, smart set-top boxes, smart curtains, smart doors and other devices that support Wi-Fi communication functions.
  • FIG1 a network architecture diagram of a WLAN applicable to the application embodiment is shown, and FIG1 takes the WLAN including 1 AP and 2 STAs as an example.
  • the STA associated with the AP can receive wireless frames sent by the AP and can also send wireless frames to the AP.
  • the embodiment of the present application will be described by taking the communication between AP and STA as an example. It can be understood that the embodiment of the present application can also be applied to communication between APs, for example, each AP can communicate with each other through a distributed system (DS), and can also be applied to communication between STAs.
  • DS distributed system
  • STA1 can be a terminal device
  • STA2 can be an intelligent device such as an IoT device, which is not limited in this application.
  • FIG. 1 the number of APs and STAs shown in FIG. 1 is only an example, and may be more or less.
  • Network configuration is required before the first connection to the AP because the service set identifier (SSID) and access password of the network established by the AP cannot be obtained.
  • Network configuration refers to the communication device obtaining the network information of the AP (such as SSID and access password, etc.), and connect to the AP based on the network information.
  • network configuration can be completed for these devices through terminal devices such as mobile phones.
  • This network configuration method can also be called soft AP network configuration method.
  • the IoT device to be configured implements the AP function on the IoT device through software, so that the IoT device can work like an AP, and the terminal device can establish a connection with the IoT device.
  • the terminal device After the terminal device establishes a connection with the IoT device, the SSID and the access password corresponding to the SSID can be sent to the IoT device, where the SSID and access password can be transmitted in an encrypted manner.
  • the IoT device can access the network based on the SSID and access password obtained, thereby completing the network configuration.
  • this application provides a network configuration method that can reduce the user's operations in the terminal device, complete the device configuration process conveniently and quickly, and improve the network configuration efficiency. It is particularly suitable for batch configuration scenarios where multiple devices are configured at the same time.
  • the method provided in the embodiment of the present application is described in detail below in conjunction with specific embodiments.
  • the method provided in the embodiment of the present application is applied to the network architecture shown in Figure 1 as an example.
  • the network device may be an AP, or it may be replaced by a communication device that can support the AP to implement the functions required by the method, or other communication devices, such as a chip or a chip system.
  • the first terminal device and the second terminal device may be a STA, or they may be replaced by a communication device that can support the STA to implement the functions required by the method, or other communication devices, such as a chip or a chip system.
  • the second terminal device may be a device to be networked, for example, an IoT device to be networked.
  • the present application provides a device discovery method, which can enable a first terminal device to obtain relevant information of a second terminal device (i.e., a device to be networked), which will be described in detail below.
  • FIG2 is a schematic diagram of a device discovery method provided by an embodiment of the present application.
  • the first terminal device has established a connection with the network device, and the second terminal device has not established a connection with the network device.
  • the process may include:
  • a first terminal device sends a first message to a network device, where the first message is used to instruct the network device to start a network configuration mode.
  • an application (APP) related to the network device may be installed in the first terminal device, and the user may perform related operations on the network device in the APP.
  • the user may trigger an instruction to configure the network device to the network configuration mode in the APP of the first terminal device, and the first terminal device may send the first message to the network device according to the user's instruction.
  • S202 The network device establishes a first network.
  • the first network can be called a pre-connected network or a network dedicated to network distribution, that is, other devices (such as the second terminal device) can access the first network and can access the network devices in the first network, but do not have the authority to access the external network through the network devices.
  • the second terminal device and other smart devices establish a communication channel with the network devices by accessing the first network.
  • the SSID of the first network may be a random SSID or a preset SSID.
  • the SSID of the first network may identify it as a pre-connected network or a network specifically used for network configuration, so as to distinguish the first network from other networks.
  • the first network is a network without an access password or an open network, so that all smart devices can quickly access the first network.
  • the first network can be a network with an access password
  • the access network password can be pre-configured
  • smart devices such as the second device can obtain the access password of the first network in advance.
  • the channel where the first network is located there is no limitation on the channel where the first network is located, and it may be the channel of the network where the network device works before establishing the first network; the network device may also select a suitable working channel for the first network according to actual conditions, and the present application does not limit this.
  • S203 The network device sends a probe request message.
  • the detection request message may be used to instruct the device to be configured to report device information.
  • the probe request message includes second indication information, and the second indication information is used to indicate the network configuration method supported by the network device.
  • the probe request message includes an information element (IE) of a dedicated IoT network configuration method, and the second indication information is located in the IE.
  • the IE of the dedicated IoT network configuration method can be as shown in Table 1.
  • the IE shown in Table 1 includes an IE identification (ID) field, a length (len) field, an organizationally unique identifier (OUI) field, a type (type) field, and an extended information field.
  • the second indication information can be located in the extended information field.
  • the contents of the IE ID field, OUI field, and type field are only examples and do not represent restrictions on the above fields.
  • the len field is used to indicate the length of the IE, and the specific value is determined according to the actual situation.
  • the network device can support multiple network configuration methods, such as the traditional soft AP network configuration method and the network configuration method provided by this application.
  • the network configuration method provided by this application is called a batch network configuration method, and other names can also be used to name the network configuration method provided by this application, which is not limited by this application.
  • the detection request message at this time can be a message broadcast by the network device.
  • the network device can send the detection request message on multiple channels, and each channel can send multiple detection request messages, which is not limited in this application.
  • the second terminal device is a device to be networked
  • the following steps can be performed.
  • the second terminal device sends a probe response message to the network device.
  • the detection response message includes device information of the second terminal device, wherein the device information may include at least one of the following information: a device identifier of the second terminal device; a device type of the second terminal device; and third indication information.
  • the third indication information is used to indicate the network configuration method supported by the second terminal device.
  • the third indication information indicates that the second terminal device supports the soft AP network configuration method and the batch network configuration method provided in this application.
  • the detection response message includes an IE of a dedicated IoT network configuration method, and the third indication information is located in the IE.
  • the IE of the dedicated IoT network configuration method may be as shown in Table 2, where the device information may be located in the extended information field.
  • the contents of the IE ID field, OUI field, and type field are only examples and do not represent restrictions on the above fields.
  • the len field is used to indicate the length of the IE, and the specific value is determined according to the actual situation.
  • S205 The network device sends the device information of the second terminal device to the first terminal device.
  • the first terminal device After the first terminal device receives the device information of the second terminal device, it can display the device icon and other information corresponding to the second terminal device. For example, as shown in Figure 3, the first terminal device obtains multiple second terminal devices to be networked from the network device, such as smart TVs, smart cameras, smart speakers, smart bracelets, smart sweepers, smart light bulbs, and smart body fat scales. The first terminal device can display the icon and corresponding name of each device to be networked on the interface, where different device types can correspond to different icons, so that users can easily identify the device type of the second terminal device.
  • the network device such as smart TVs, smart cameras, smart speakers, smart bracelets, smart sweepers, smart light bulbs, and smart body fat scales.
  • the first terminal device can display the icon and corresponding name of each device to be networked on the interface, where different device types can correspond to different icons, so that users can easily identify the device type of the second terminal device.
  • the first terminal device can also mark the icon of the second terminal device in the interface, so that the user can determine whether the device supports the batch network configuration method through the icon of each device. For example, as shown in Figure 4, assuming that the smart TV, smart speaker, smart bracelet and smart body fat scale support the batch network configuration method, the first terminal device can display a five-pointed star next to the icon of the above device, and the icon that does not support the batch network configuration method does not display a five-pointed star, so the user can determine which devices support the batch network configuration method based on the five-pointed star.
  • the first terminal device can also mark the devices that support batch network configuration in other ways, which will not be repeated here.
  • the user can also perform a deletion operation in the first terminal device to delete those devices that do not belong to him/herself. For example, in combination with the previous Figure 3, as shown in Figure 5, assuming that the smart TV does not belong to the user, the user can select the smart TV, and a "delete" option appears in the first terminal device. When the user clicks "delete", the information related to the smart TV can be deleted.
  • the user can manually obtain the device information of the device to be networked.
  • the user can use the first terminal device to scan the QR code or QR bar code in the body, packaging box, or user manual of the second terminal device, so as to discover the device to be networked.
  • the user can instruct the network device through the first terminal device which devices to connect to the network, that is, which devices to configure the network, which will be described in detail below.
  • FIG. 7 is a schematic diagram of a flow chart corresponding to a network connection method provided in an embodiment of the present application, and the flow chart may include:
  • the first terminal device sends first indication information to the network device; correspondingly, the network device receives the first indication information from the first terminal device, where the first indication information is used to instruct the second terminal device to access the network.
  • the user may select the second terminal device in the user interface of the first terminal device, and the first terminal device may send the first indication information according to the user's operation.
  • the user can simultaneously instruct multiple second terminal devices to access the network, that is, the first instruction information can instruct multiple second terminal devices to access the network.
  • the terminal device accesses the network, and here only a second terminal device is used as an example for description.
  • the user can select multiple second terminal devices in the user interface of the first terminal device, such as a smart camera, a smart speaker, a smart sweeper, a smart light bulb, and a smart body fat scale.
  • the devices marked with “ ⁇ ” in the figure are the devices selected by the user.
  • click "OK” in the user interface to trigger the first terminal device to send the first indication information.
  • the first indication information at this time is used to indicate that the smart camera, smart speaker, smart sweeper, smart light bulb, and smart body fat scale are connected to the network.
  • the network device sends a first detection request message according to the first indication information; correspondingly, the second terminal device receives the first detection request message from the network device.
  • the first detection request message is used to instruct the second terminal device to access the first network of the network device. Since the second terminal device has not yet established a connection with the network device, the first detection request message at this time may be a message broadcast by the network device.
  • the first probe request message includes at least one of the following information:
  • the device identifier of the second terminal device the channel identifier of the channel of the first network; and the valid time information, where the valid time information is used to indicate the valid time of the first detection request message or the remaining time for network configuration startup.
  • the first detection request message may include device identifiers of multiple second terminal devices.
  • the channel identifier may indicate the channel where the first network is located, so that the second terminal device can quickly access the first network.
  • the effective time information may indicate the time period within which the network device connects the second terminal device to the network.
  • the first detection request message includes an IoT network configuration IE, and the above information is located in the IE.
  • the IoT network configuration IE may be as shown in Table 3, wherein information such as the identifier of the second terminal device may be located in the extended information field.
  • the contents of the IE ID field, OUI field, and type field are only examples and do not represent restrictions on the above fields.
  • the len field is used to indicate the length of the IE, and the specific value is determined according to the actual situation.
  • the first probe request message may further include information such as the SSID of the first network.
  • the specific content carried by the first probe request message is not limited in this application.
  • the second terminal device sends a first detection response message to the network device; correspondingly, the network device receives the first detection response message from the second terminal device.
  • S703 is an optional step, and the second terminal device may not feed back the first detection response message.
  • the first detection response message may include information such as the identifier of the second terminal device.
  • the first detection response message may also include an IoT configuration network IE, and the details may refer to the previous description, which will not be repeated here.
  • S704 The second terminal device accesses the first network.
  • the working channel can be switched to the channel where the first network is located, and the first network can be accessed.
  • the specific process of the second terminal device accessing the first network is not limited in this application and will not be repeated here.
  • the second terminal device when it accesses the first network, it can establish a connection with the network device.
  • the second terminal device can establish a transmission control protocol (TCP) connection with the network device.
  • TCP transmission control protocol
  • IP Internet protocol
  • IP layer asymmetric key negotiation can be performed through a TCP connection to obtain an IP layer asymmetric key.
  • Messages between the second terminal device and the network device can be encrypted using the IP layer asymmetric key.
  • IP layer asymmetric key negotiation is not limited by this application.
  • the network device sends the network identifier of the second network and the access password of the second network to the second terminal device in the first network; correspondingly, the network identifier and the access password are received from the network device in the first network.
  • the network identifier of the second network and the access password of the second network are used for the second terminal device to access the second network.
  • the network identifier of the second network and/or the access password of the second network are transmitted through IP layer encryption, for example, after being transmitted through IP layer asymmetric key encryption.
  • IP layer encryption for example, after being transmitted through IP layer asymmetric key encryption.
  • the access password may be a random password generated for the second terminal device.
  • different terminal devices can correspond to different access passwords, thereby improving network security.
  • the second terminal device accesses the second network according to the network identifier of the second network and the access password of the second network.
  • the second terminal device disconnects from the first network.
  • the second network is a wireless local area network established by a network device.
  • the network device may release the first network first and then establish the second network.
  • the second network may also be a wireless local area network established by other network devices, which is not limited in this application.
  • the association access process of the second terminal device accessing the network device includes three stages: the authentication stage, the association stage, and the four-step handshake stage based on the extended authentication protocol over LAN (EAPOL).
  • EAPOL extended authentication protocol over LAN
  • the second terminal device after the second terminal device accesses the second network, it can communicate with other devices through the network device, for example, with the first terminal device. After the second terminal device accesses the second network, it can communicate with devices within the second network through the network device, or it can communicate with devices outside the second network, which is not limited in this application.
  • a prompt message may be sent to the user, so that the user can determine that the second terminal device has successfully accessed the network according to the prompt message.
  • the second terminal device may send an audio message of "successfully accessed the network" through a speaker, so that the user can determine that the second terminal device has successfully accessed the network.
  • the first terminal device when configuring the network for the second terminal device, the first terminal device only needs to send the first indication information to the network device, which can reduce the user's operations in the first terminal device, complete the network configuration process of the second terminal device conveniently and quickly, and improve the network configuration efficiency. It is particularly suitable for batch network configuration scenarios where multiple devices are configured at the same time.
  • the terminal device and the network device may include hardware structures and/or software modules corresponding to the execution of each function.
  • the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
  • the embodiment of the present application can divide the terminal device and the network device into functional units according to the above method example.
  • each functional unit can be divided according to each function, or two or more functions can be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of software functional units.
  • the embodiment of the present application also provides a communication device 900 for implementing the functions of the network device or terminal device in the above method.
  • the device can be a software module or a chip system.
  • the chip system can be composed of a chip, or it can include a chip and other discrete devices.
  • the communication device 900 may include: a processing unit 901 and a communication unit 902.
  • the communication unit may also be referred to as a transceiver unit, and may include a sending unit and/or a receiving unit, which are respectively used to execute the sending and receiving steps performed by the network device or the terminal device in the above method embodiment.
  • the communication unit may also be referred to as a transceiver, a transceiver, a transceiver device, etc.
  • the processing unit may also be referred to as a processor, a processing board, a processing module, a processing device, etc.
  • the device used to implement the receiving function in the communication unit 902 may be regarded as a receiving unit, and the device used to implement the sending function in the communication unit 902 may be regarded as a sending unit, that is, the communication unit 902 includes a receiving unit and a sending unit.
  • the communication unit may also be sometimes referred to as a transceiver, a transceiver, or a transceiver circuit, etc.
  • the receiving unit may also be sometimes referred to as a receiver, a receiver, or a receiving circuit, etc.
  • the sending unit may also be sometimes referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
  • the communication device 900 may perform the following functions:
  • a communication unit configured to receive first indication information from a first terminal device, wherein the first indication information is used to instruct the second terminal device to access the network;
  • a processing unit configured to send a first detection request message through the communication unit according to the first indication information, wherein the first detection request message is used to instruct the second terminal device to access a first network of the network device, where the first network is a network without an access password;
  • the communication unit is used to send a network identifier of the second network and an access password of the second network to the second terminal device in the first network, wherein the network identifier and the access password are used by the second terminal device to access the second network.
  • the first detection request message includes at least one of the following: a device identifier of the second terminal device; and a channel identifier of a channel of the first network.
  • the network identification and/or access password is transmitted encrypted via the Internet Protocol (IP) layer.
  • IP Internet Protocol
  • the second network is a wireless local area network established by the network device.
  • the communication unit before receiving the first indication information from the first terminal device, the communication unit is further configured to:
  • the network device sends a second detection request message, where the second detection request message includes second indication information, and the second indication information is used to indicate a network configuration mode supported by the network device.
  • the communication unit is further used to: receive a detection response message from the second terminal device, the detection response message includes third indication information, and the third indication information is used to indicate a network configuration method supported by the second terminal device.
  • the communication unit is further used to: send third indication information to the first terminal device.
  • the communication device 900 may perform the following functions:
  • a communication unit configured to receive a first detection request message from a network device, wherein the first detection request message is used to instruct the second terminal device to access a first network of the network device, where the first network is a network without an access password; access the first network, and receive a network identifier and an access password from the network device in the first network;
  • a processing unit is used to access the second network according to the network identifier and the access password.
  • the first probe request message includes at least one of the following:
  • the identifier of the second terminal device the identifier of the channel of the first network.
  • the network identifier and the network password are transmitted encrypted via the Internet Protocol (IP) layer.
  • IP Internet Protocol
  • the second network is a wireless local area network established by the network device.
  • the communication unit before receiving the first detection request message from the network device, the communication unit is further configured to:
  • a second detection request message is received from the network device, where the second detection request message includes second indication information, and the second indication information is used to indicate a network configuration mode supported by the network device.
  • the communication unit is further used to: send a probe response message to the network device, the probe response message includes third indication information, and the third indication information is used to indicate the network configuration method supported by the second terminal device.
  • processing unit 901 and the communication unit 902 may also perform other functions.
  • processing unit 901 and the communication unit 902 may also perform other functions.
  • FIG10 a communication device 1000 provided in an embodiment of the present application is shown.
  • the device shown in FIG10 may be a hardware circuit implementation of the device shown in FIG9.
  • the communication device may be applicable to the flowchart shown above to perform the functions of the network device or terminal device in the above method embodiment.
  • FIG10 only shows the main components of the communication device.
  • the communication device 1000 includes a processor 1010 and an interface circuit 1020.
  • the processor 1010 and the interface circuit 1020 are coupled to each other.
  • the interface circuit 1020 may be a transceiver or an input/output interface.
  • the communication device 1000 may further include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to execute instructions or storing data generated after the processor 1010 executes instructions.
  • the processor 1010 is used to implement the function of the processing unit 901
  • the interface circuit 1020 is used to implement the function of the communication unit 902 .
  • the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the processor may be a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a CD-ROM, or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium.
  • the storage medium may also be a component of the processor.
  • the processor and the storage medium may be located in an ASIC.
  • the ASIC may be located in a network device or a terminal device.
  • the processor and the storage medium may also exist as discrete components in a network device or a terminal device.
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of one or more computer-usable storage media (including but not limited to disk storage, The invention is in the form of a computer program product implemented on a computer (such as an optical storage device).
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

Landscapes

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

Abstract

本申请涉及通信技术领域,公开了一种网络连接方法及装置,其中方法包括:网络设备接收来自第一终端设备的第一指示信息,第一指示信息用于指示将第二终端设备接入网络;根据第一指示信息发送第一探测请求消息,第一探测请求消息用于指示第二终端设备接入网络设备的第一网络,第一网络为无接入密码的网络;在第一网络中向第二终端设备发送网络标识和接入密码,网络标识和接入密码用于接入第二网络。通过上述方法,在配置第二终端设备接入网络时,第一终端设备只需要向网络设备发送第一指示信息即可,可以减少用户在第一终端设备中的操作,方便快捷的完成第二终端设备的配网过程,提高配网效率,特别适用于同时为多个设备进行配网的批量配网场景。

Description

一种网络连接方法及装置
相关申请的交叉引用
本申请要求在2022年11月01日提交中国专利局、申请号为202211358416.1、申请名称为“一种网络连接方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种网络连接方法及装置。
背景技术
随着科技的发展,智能设备的使用也越来越多。用户的电子设备(如手机或者平板电脑等)中可以安装用于控制智能设备的应用程序(application,APP),从而通过APP控制智能设备。为此,用户在使用智能设备之前,需要将智能设备连接无线局域网,如连接到无线保真(wireless fidelity,WiFi)网络,从而方便与智能设备之间进行数据传输。
目前,单Wi-Fi模式下的配网注册流程可以包括以下步骤:(1)用户将智能设备上电,智能设备进入待配网状态;(2)用户的终端设备(如手机)通过APP与智能设备建立连接;(3)用户通过终端设备向智能设备发送无线局域网的服务集标识(service set identifier,SSID)和接入密码;(4)智能设备根据该SSID和密码连接到路由器。
上述方案中,智能设备的配网注册流程较复杂,耗时较长。当需要对大量智能设备进行配网注册时,配网注册效率较低。
发明内容
本申请提供一种网络连接方法及装置,用以提高智能设备的配网效率。
第一方面,本申请提供一种网络连接方法,该方法包括:网络设备接收来自第一终端设备的第一指示信息,第一指示信息用于指示将第二终端设备接入网络;网络设备根据第一指示信息发送第一探测请求消息,第一探测请求消息用于指示第二终端设备接入网络设备的第一网络,第一网络为无接入密码的网络;网络设备在第一网络中向第二终端设备发送第二网络的网络标识和第二网络的接入密码,网络标识和接入密码用于第二终端设备接入第二网络。
通过上述方法,在配置第二终端设备接入网络时,第一终端设备只需要向网络设备发送第一指示信息即可,可以减少用户在第一终端设备中的操作,方便快捷的完成第二终端设备的配网过程,提高配网效率,特别适用于同时为多个设备进行配网的批量配网场景。
一种实现方式中,第一探测请求消息包括以下至少一项:第二终端设备的设备标识;第一网络的信道的信道标识。
一种实现方式中,网络标识和/或接入密码通过互联网协议IP层加密传输。
通过对网络标识和/或接入密码等信息加密传输,可以保证网络标识和/或接入密码的安全性,提高网络安全。
一种实现方式中,第二网络为网络设备建立的无线局域网。
一种实现方式中,网络设备接收来自第一终端设备的第一指示信息之前,方法还包括:
网络设备发送第二探测请求消息,第二探测请求消息包括第二指示信息,第二指示信息用于指示网络设备支持的配网方式。
一种实现方式中,该方法还包括:网络设备接收来自第二终端设备的探测响应消息,探测响应消息包括第三指示信息,第三指示信息用于指示第二终端设备支持的配网方式。
一种实现方式中,该方法还包括:网络设备向第一终端设备发送第三指示信息。
第二方面,本申请提供一种网络连接方法,该方法包括:第二终端设备接收来自网络设备的第一探测请求消息,第一探测请求消息用于指示第二终端设备接入网络设备的第一网络,第一网络为无接入密 码的网络;第二终端设备接入第一网络,并在第一网络中接收来自网络设备的网络标识和接入密码;第二终端设备根据网络标识和接入密码接入第二网络。
一种实现方式中,第一探测请求消息包括以下至少一项:第二终端设备的标识;第一网络的信道的标识。
一种实现方式中,网络标识和网络密码通过互联网协议IP层加密传输。
一种实现方式中,第二网络为网络设备建立的无线局域网。
一种实现方式中,第二终端设备接收来自网络设备的第一探测请求消息之前,方法还包括:第二终端设备接收来自网络设备的第二探测请求消息,第二探测请求消息包括第二指示信息,第二指示信息用于指示网络设备支持的配网方式。
一种实现方式中,该方法还包括:第二终端设备向网络设备发送探测响应消息,探测响应消息包括第三指示信息,第三指示信息用于指示第二终端设备支持的配网方式。
第三方面,本申请提供一种通信装置,所述通信装置具备实现上述第一方面或第二方面的功能,比如,所述通信装置包括执行上述第一方面或第二方面涉及操作所对应的模块或单元或手段(means),所述模块或单元或手段可以通过软件实现,或者通过硬件实现,也可以通过硬件执行相应的软件实现。
在一种可能的设计中,所述通信装置包括处理单元、通信单元,其中,通信单元可以用于收发信号,以实现该通信装置和其它装置之间的通信;处理单元可以用于执行该通信装置的一些内部操作。处理单元、通信单元执行的功能可以和上述第一方面或第二方面涉及的操作相对应。
在一种可能的设计中,所述通信装置包括处理器,处理器可以用于与存储器耦合。所述存储器可以保存实现上述第一方面或第二方面涉及的功能的必要计算机程序或指令。所述处理器可执行所述存储器存储的计算机程序或指令,当所述计算机程序或指令被执行时,使得所述通信装置实现上述第一方面或第二方面中任意可能的设计或实现方式中的方法。
在一种可能的设计中,所述通信装置包括处理器和存储器,存储器可以保存实现上述第一方面或第二方面涉及的功能的必要计算机程序或指令。所述处理器可执行所述存储器存储的计算机程序或指令,当所述计算机程序或指令被执行时,使得所述通信装置实现上述第一方面或第二方面中任意可能的设计或实现方式中的方法。
在一种可能的设计中,所述通信装置包括处理器和接口电路,其中,处理器用于通过所述接口电路与其它装置通信,并执行上述第一方面或第二方面中任意可能的设计或实现方式中的方法。
可以理解地,上述第三方面中,处理器可以通过硬件来实现也可以通过软件来实现,当通过硬件实现时,该处理器可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。此外,以上处理器可以为一个或多个,存储器可以为一个或多个。存储器可以与处理器集成在一起,或者存储器与处理器分离设置。在具体实现过程中,存储器可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。
第四方面,本申请提供一种通信系统,该通信系统可以包括网络设备和第二终端设备;其中,网络设备用于执行上述第一方面所提供的方法,第二终端设备用于执行上述第二方面所提供的方法。该通信系统还可以包括第一终端设备,第一终端设备用于发送第一指示信息。
第五方面,本申请提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述第一方面或第二方面的任一种可能的设计中的方法。
第六方面,本申请提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述第一方面或第二方面的任一种可能的设计中的方法。
第七方面,本申请提供一种芯片,所述芯片包括处理器,所述处理器与存储器耦合,用于读取并执行所述存储器中存储的软件程序,以实现上述第一方面或第二方面的任一种可能的设计中的方法。
附图说明
图1为本申请实施例适用的一种网络架构示意图;
图2为本申请实施例提供的一种网络连接方法流程示意图;
图3为本申请实施例提供的一种用户界面示意图;
图4为本申请实施例提供的一种用户界面示意图;
图5为本申请实施例提供的一种用户界面示意图;
图6为本申请实施例提供的一种用户界面示意图;
图7为本申请实施例提供的一种网络连接方法流程示意图;
图8为本申请实施例提供的一种用户界面示意图;
图9为本申请实施例提供的一种通信装置结构示意图;
图10为本申请实施例提供的一种通信装置结构示意图。
具体实施方式
下面结合说明书附图对本申请实施例做详细描述。
本申请实施例可以适用于局域网(local area networks,LAN),特别是无线局域网(wireless local area networks,WLAN),比如可以适用于采用电气电子工程师协会(institute of electrical and electronics engineers,IEEE)802.11系列协议中的任意一种协议的WLAN。其中,WLAN可以包括一个或多个基本服务集(basic service set,BSS),基本服务集中的网络节点包括接入点(access point,AP)和站点(station,STA)。此外,IEEE 802.11ad在原有的BSS基础上,引入个人基本服务集(personal basic service set,PBSS)和个人基本服务集控制节点(PBSS control point,PCP),个人基本服务集可以包含一个AP/PCP和多个关联于该AP/PCP的非(non)AP/PCP,本申请实施例中non AP/PCP可以称为STA,PCP可以理解为AP在PBSS里的角色的称呼。
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
本申请实施例也可以适用于物联网(internet of things,IoT)网络或车联网(vehicle to X,V2X)网络等无线局域网中。当然,本申请实施例还可以适用于其它可能的通信系统,例如长期演进(long term evolution,LTE)通信系统、通用移动通信系统(universal mobile telecommunication system,UMTS)、第五代(5th generation,5G)通信系统以及未来演进的通信系统等。
本申请中,AP可以为终端设备(如手机)进入有线(或无线)网络的接入点。AP相当于一个连接有线网络和无线网络的桥梁,主要作用是将各个无线网络客户端连接到一起,然后将无线网络接入以太网。比如,AP可以是带有无线保真(wireless-fidelity,Wi-Fi)芯片的终端设备(如手机)或者网络设备(如路由器)。本申请实施例中,AP可以为支持802.11be制式的设备,或者也可以为支持802.11ax、802.11ay、802.11ac、802.11n、802.11g、802.11b、802.11a以及802.11be下一代等802.11系列的多种WLAN制式的设备。
STA可以为无线通讯芯片、无线传感器或终端设备等。例如,STA可以为支持Wi-Fi通讯功能的终端设备、支持Wi-Fi通讯功能的IoT设备、支持Wi-Fi通讯功能的移动电话、支持Wi-Fi通讯功能的平板电脑、支持Wi-Fi通讯功能的机顶盒、支持Wi-Fi通讯功能的智能电视、支持Wi-Fi通讯功能的智能可穿戴设备、支持Wi-Fi通讯功能的车载通信设备和支持Wi-Fi通讯功能的计算机等。可选地,STA可以支持802.11be制式,或者也可以支持802.11ax、802.11ay、802.11ac、802.11n、802.11g、802.11b、802.11a、802.11be下一代等802.11系列的多种WLAN制式。
本申请中,智能设备或IoT设备可以包括但不限于智能灯具、智能插座、智能开关、智能摄像头、智能家电、智能机顶盒、智能窗帘、智能门等支持Wi-Fi通讯功能的设备。
下文以本申请实施例适用于WLAN为例。参见图1,示出了本申请实施例适用的一种WLAN的网络架构图,图1是以该WLAN包括1个AP和2个STA为例。其中,与AP关联的STA,能够接收该AP发送的无线帧,也能够向该AP发送无线帧。本申请实施例将以AP和STA之间的通信为例进行描述,可以理解的是,本申请实施例也可以适用于AP与AP之间的通信,例如各个AP之间可通过分布式系统(distributed system,DS)相互通信,也可以适用于STA与STA之间的通信。
其中,STA1可以为终端设备,STA2可以为IoT设备的等智能设备,本申请对此并不限定。
可以理解的是,图1中所示意的AP和STA的数量仅是举例,还可以更多或者更少。
对于IoT设备等设备,在第一次与AP连接之前,由于无法获得AP建立的网络的服务集标识(service set identifier,SSID)以及接入密码,因此需要进行配网。配网是指通信设备获取AP的网络信息(例如 SSID以及接入密码等),并根据该网络信息连接AP的过程。
目前,对于IoT设备等不具备丰富人机交互界面的设备,可以通过手机等终端设备为这些设备完成配网,这种配网方式也可以称为软(soft)AP配网方式。在soft AP配网方式中,待配网的IoT设备通过软件在IoT设备上实现AP功能,使得IoT设备能够像AP一样工作,终端设备从而能够与该IoT设备建立连接。终端设备与IoT设备建立连接之后,可以将SSID以及该SSID对应的接入密码发送至IoT设备,其中,SSID以及接入密码可以采用加密方式传输。IoT设备可以根据获取到SSID以及接入密码接入网络,从而完成配网。
在soft AP配网方式中,需要用户在终端设备中输入接入密码等操作,对于用户来说,流程复杂且耗时较长。为此,本申请提供一种配网方式,可以减少用户在终端设备中的操作,方便快捷的完成设备的配网过程,提高配网效率,特别适用于同时为多个设备进行配网的批量配网场景。
下面结合具体实施例对本申请实施例提供的方法进行详细描述。在具体实施例中,将以本申请实施例所提供的方法应用于图1所示的网络架构为例。本申请中以网络设备、第一终端设备以及第二终端设备之间的交互为例进行描述。网络设备可以为AP,也可以替换为能够支持AP实现该方法所需的功能的通信装置,当然还可以是其他通信装置,例如芯片或芯片系统。第一终端设备以及第二终端设备可以为STA,也可以替换为能够支持STA实现该方法所需的功能的通信装置,当然还可以是其他通信装置,例如芯片或芯片系统。其中,第二终端设备可以为待配网的设备,例如可以为待配网的IoT设备。
在描述本申请提供的方法之前,本申请提供一种设备发现方法,可以使得第一终端设备获取到第二终端设备(即待配网的设备)的相关信息,下面将详细描述。
图2为本申请实施例提供的一种设备发现方法流程示意图。在该流程之前,第一终端设备已经与网络设备建立连接,第二终端设备没有与网络设备建立连接,该流程可以包括:
S201:第一终端设备向网络设备发送第一消息,第一消息用于指示网络设备启动配网模式。
举例来说,第一终端设备中可以安装与网络设备相关的应用程序(application,APP),用户可以在该APP中对网络设备执行相关操作。例如,用户可以在第一终端设备的APP中触发将网络设备配置为配网模式的指令,此时第一终端设备可以根据用户的指令网络设备发送第一消息。
S202:网络设备建立第一网络。
一种实现方式中,第一网络可以称为预连接网络或专门用于配网的网络,即其它设备(例如第二终端设备)可以接入第一网络,可以访问第一网络内的网络设备,但不具有通过该网络设备访问外网的权限。这样,第二终端设备等智能设备通过接入第一网络,实现建立了与网络设备之间的通信通道。
一种实现方式中,第一网络的SSID可以为随机的SSID,也可以为预设的SSID。示例性的,第一网络的SSID可以标识其为预连接网络或专门用于配网的网络,以表明该第一网络与其它网络相区别。
一种实现方式中,第一网络为无接入密码的网络或第一网络为开放性网络,这样所有智能设备都可以快速接入第一网络。另一种实现方式中,第一网络可以为有接入密码的网络,该接入网密码可以是预先配置的,第二设备等智能设备可以预先获取到第一网络的接入密码。
本申请中,对第一网络所在的信道并不限定,可以为网络设备在建立第一网络之前,工作的网络的信道;网络设备也可以根据实际情况,为第一网络选择合适的工作信道,本申请对此并不限定。
S203:网络设备发送探测请求(probe request)消息。
其中,探测请求消息可以用于指示待配网的设备上报设备信息。
一种实现方式中,探测请求消息中包括第二指示信息,该第二指示信息用于指示网络设备支持的配网方式。举例来说,探测请求消息中包括专属IoT配网方式的信息元素(information element,IE),第二指示信息位于该IE中。例如,专属IoT配网方式的IE可以如表1所示。表1所示的IE包括IE标识(identification,ID)字段、长度(length,len)字段、组织唯一标志符(organizationally unique identifier,OUI)字段、类型(type)字段以及扩展信息字段。其中第二指示信息可以位于扩展信息字段。
表1
表1中,IE ID字段、OUI字段以及type字段对应的内容,只是示例,不代表对上述各个字段的限制。len字段用于指示该IE的长度,具体取值根据实际情况确定。
以上只是示例,专属IoT配网方式的IE还可能存在其他实现方式,本申请对此并不限定。
本申请中,网络设备可以支持多种配网方式,例如可以支持传统的soft AP配网方式,还可以支持本申请提供的配网方式。为了描述方便,将本申请提供的配网方式称为批量配网方式,也可以采用其他名称对本申请提供的配网方式进行命名,本申请对此并不限定。
由于第二终端设备还没有与网络设备建立连接,此时的探测请求消息可以是网络设备广播的消息。网络设备可以在多个信道发送探测请求消息,每个信道可以发送多次探测请求消息,本申请对此并不限定。
假设第二终端设备为待配网的设备,第二终端设备接收到探测请求消息,则可以执行以下步骤。
S204:第二终端设备向网络设备发送探测响应(probe response)消息。
其中,探测响应消息包括第二终端设备的设备信息。其中,设备信息可以包括以下至少一项信息:第二终端设备的设备标识;第二终端设备的设备类型;第三指示信息。
其中,第三指示信息用于指示第二终端设备支持的配网方式。例如,第三指示信息指示第二终端设备支持soft AP配网方式以及本申请提供的批量配网方式等。
举例来说,探测响应消息中包括专属IoT配网方式的IE,第三指示信息位于该IE中。例如,专属IoT配网方式的IE可以如表2所示,其中设备信息可以位于扩展信息字段。
表2
同样的,表2中,IE ID字段、OUI字段以及type字段对应的内容,只是示例,不代表对上述各个字段的限制。len字段用于指示该IE的长度,具体取值根据实际情况确定。
S205:网络设备向第一终端设备发送第二终端设备的设备信息。
第一终端设备接收到第二终端设备的设备信息之后,可以显示第二终端设备对应的设备图标等信息。举例来说,如图3所示,第一终端设备从网络设备获取到多个待配网的第二终端设备,例如包括智能电视、智能摄像头、智能音箱、智能手环、智能扫地机、智能灯泡以及智能体脂称。第一终端设备可以在界面显示每个待配网设备的图标以及对应的名称等信息,其中不同设备类型可以对应不同的图标,从而可以方便用户识别第二终端设备的设备类型。
一种可能的实现方式中,如果第二终端设备支持本申请提供的批量配网方式,第一终端设备还可以在界面中对第二终端设备的图标进行标记,使得用户可以通过每个设备的图标确定该设备是否支持批量配网方式。举例来说,如图4所示,假设智能电视、智能音箱、智能手环以及智能体脂称支持批量配网方式,那么第一终端设备可以在上述设备的图标旁边显示一个五角星,而不支持批量配网方式的图标不显示五角星,那么用户就可以根据五角星确定哪些设备支持批量配网方式。
以上只是示例,第一终端设备还可以通过其他方式对支持批量配网方式的设备进行标记,在此不再赘述。
一种可能的实现方式中,如果用户认为有些第二终端设备不是属于自己的,那么还可以在第一终端设备中进行删除操作,从而删除那些不属于自己的设备。例如,结合前面的图3,如图5所示,假设智能电视不属于用户,用户可以选定智能电视,第一终端设备中出现“删除”的选项,当用户点击“删除”时,可以将智能电视相关的信息删除。
以上只是示例,还可能存在其他方式发现待配网的设备。例如,用户可以手动操作获取待配网设备的设备信息。例如,如图6所示,用户可以使用第一终端设备扫描第二终端设备的机身、包装盒或使用手册中的二维码或二维条形码等,从而可以发现待配网的设备。
本申请中,用户可以通过第一终端设备向网络设备指示将哪些设备接入网络,即对哪些设备进行配网,下面将详细描述。
图7为本申请实施例提供的一种网络连接方法所对应的流程示意图,该流程可以包括:
S701:第一终端设备向网络设备发送第一指示信息;相应的,网络设备接收来自第一终端设备的第一指示信息,第一指示信息用于指示将第二终端设备接入网络。
举例来说,用户可以在第一终端设备的用户界面中选择第二终端设备,第一终端设备从而可以根据用户的操作发送第一指示信息。
本申请中,用户可以同时指示将多个第二终端设备接入网络,即第一指示信息可以指示将多个第二 终端设备接入网络,这里只是以一个第二终端设备为例进行描述。
举例来说,如图8所示,用户在第一终端设备的用户界面中可以选择多个第二终端设备,例如选择智能摄像头、智能音箱、智能扫地机、智能灯泡以及智能体脂称,图中被标记“√”的设备为用户选择的设备。当用户选中这些设备后,点击用户界面中的“确定”,就可以实现触发第一终端设备发送第一指示信息。此时的第一指示信息用于指示将智能摄像头、智能音箱、智能扫地机、智能灯泡以及智能体脂称接入网络。
S702:网络设备根据第一指示信息发送第一探测请求消息;相应的,第二终端设备接收来自网络设备的第一探测请求消息。
其中,第一探测请求消息用于指示第二终端设备接入网络设备的第一网络。由于第二终端设备还没有与网络设备建立连接,此时的第一探测请求消息可以是网络设备广播的消息。
本申请中,第一探测请求消息包括以下至少一项信息:
第二终端设备的设备标识;第一网络的信道的信道标识;有效时间信息,有效时间信息用于指示第一探测请求消息有效的时间或者配网启动剩余时间。
其中,如果有多个第二终端设备需要接入网络,第一探测请求消息可以包括多个第二终端设备的设备标识。信道标识可以指示第一网络所在的信道,使得第二终端设备能够快速接入第一网络。有效时间信息可以指示网络设备在哪个时间段内将第二终端设备接入网络。
举例来说,第一探测请求消息中包括IoT配网IE,上述信息位于该IE中。例如,IoT配网IE可以如表3所示,其中第二终端设备的标识等信息可以位于扩展信息字段。
表3
表3中,IE ID字段、OUI字段以及type字段对应的内容,只是示例,不代表对上述各个字段的限制。len字段用于指示该IE的长度,具体取值根据实际情况确定。
第一探测请求消息还可以包括第一网络的SSID等信息,第一探测请求消息具体携带的内容,本申请并不限定。
S703:第二终端设备向网络设备发送第一探测响应消息;相应的,网络设备接收来自第二终端设备的第一探测响应消息。
S703为可选步骤,第二终端设备也可以不反馈第一探测响应消息。
第一探测响应消息可以包括第二终端设备的标识等信息。第一探测响应消息也可以包括IoT配网IE,具体可以参考前面的描述,在此不再赘述。
S704:第二终端设备接入第一网络。
第二终端设备接收到第一探测请求消息之后,如果确定第一探测请求消息包括该第二终端设备的标识,则可以将工作信道切换到第一网络所处的信道,并接入第一网络。第二终端设备接入第一网络的具体过程,本申请对此并不限定,在此不再赘述。
一种实现方式中,第二终端设备接入第一网络时,可以与网络设备建立连接。例如第二终端设备可以与网络设备建立传输控制协议(transmission control protocol,TCP)连接。第二终端设备与网络设备之间,可以通过TCP连接进行互联网协议(internet protocol,IP)层非对称秘钥协商,从而获得IP层非对称秘钥。第二终端设备与网络设备之间的消息可以通过该IP层非对称秘钥进行加密。其中,该IP层非对称秘钥协商的具体过程,本申请对此并不限定。
S705:网络设备在第一网络中向第二终端设备发送第二网络的网络标识和第二网络的接入密码;相应的,在第一网络中接收来自网络设备的网络标识和接入密码。
其中,第二网络的网络标识和第二网络的接入密码用于第二终端设备接入第二网络。
一种实现方式中,第二网络的网络标识和/或第二网络的接入密码通过IP层加密传输,例如通过IP层非对称秘钥加密后传输。通过对接入密码等信息加密,可以保证通信的安全性,提高网络安全。
一种实现方式中,接入密码可以是为第二终端设备生成的随机密码。在该情况下,对于同一个第二 网络,不同终端设备可以对应不同的接入密码,从而提高网络安全。
S706:第二终端设备根据第二网络的网络标识和第二网络的接入密码接入第二网络。
其中,第二终端设备在接入第二网络之前,断开与第一网络的连接。
一种实现方式中,第二网络为网络设备建立的无线局域网。网络设备可以先释放第一网络,再建立第二网络。第二网络也可以为其它网络设备建立的无线局域网,本申请对此并不限定。
本申请中,第二终端设备接入网络设备的关联入网流程包括三个阶段:认证阶段,关联阶段,以及基于局域网的扩展认证协议(extensible authentication protocol over LAN,EAPOL)四步握手阶段。上述各个阶段的具体过程,本申请并不限定,在此不再赘述。
一种实现方式中,第二终端设备接入第二网络之后,可以通过网络设备与其它设备进行通信,例如与第一终端设备进行通信。第二终端设备接入第二网络之后,可以通过网络设备与第二网络之内的设备进行通信,也可以与第二网络之外的设备进行通信,本申请对此并不限定。
一种实现方式中,第二终端设备接入第二网络之后,可以向用户发送提示信息,从而使得用户根据该提示信息确定第二终端设备成功接入网络。例如第二终端设备可以通过扬声器发出“成功接入网络”的音频信息,用户从而确定第二终端设备成功接入网络。
通过上述方法,在为第二终端设备配网时,第一终端设备只需要向网络设备发送第一指示信息即可,可以减少用户在第一终端设备中的操作,方便快捷的完成第二终端设备的配网过程,提高配网效率,特别适用于同时为多个设备进行配网的批量配网场景。
上述留出主要从设备之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,为了实现上述功能,终端设备和网络设备可以包括执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请的实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对终端设备和网络设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
与上述构思相同,如图9所示,本申请实施例还提供一种通信装置900用于实现上述方法中网络设备或终端设备的功能。例如,该装置可以为软件模块或者芯片系统。本申请实施例中,芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。该通信装置900可以包括:处理单元901和通信单元902。
本申请实施例中,通信单元也可以称为收发单元,可以包括发送单元和/或接收单元,分别用于执行上文方法实施例中网络设备或终端设备执行的发送和接收的步骤。
以下,结合图9至图10详细说明本申请实施例提供的通信装置。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文方法实施例,为了简洁,这里不再赘述。
通信单元也可以称为收发器、收发机、收发装置等。处理单元也可以称为处理器,处理单板,处理模块、处理装置等。可选的,可以将通信单元902中用于实现接收功能的器件视为接收单元,将通信单元902中用于实现发送功能的器件视为发送单元,即通信单元902包括接收单元和发送单元。通信单元有时也可以称为收发机、收发器、或收发电路等。接收单元有时也可以称为接收机、接收器、或接收电路等。发送单元有时也可以称为发射机、发射器或者发射电路等。
一种实现方式中,通信装置900可以执行以下功能:
通信单元,用于接收来自第一终端设备的第一指示信息,所述第一指示信息用于指示将第二终端设备接入网络;
处理单元,用于根据所述第一指示信息通过所述通信单元发送第一探测请求消息,所述第一探测请求消息用于指示所述第二终端设备接入所述网络设备的第一网络,所述第一网络为无接入密码的网络;
所述通信单元,用于在所述第一网络中向所述第二终端设备发送第二网络的网络标识和所述第二网络的接入密码,所述网络标识和所述接入密码用于所述第二终端设备接入所述第二网络。
一种实现方式中,第一探测请求消息包括以下至少一项:第二终端设备的设备标识;第一网络的信道的信道标识。
一种实现方式中,网络标识和/或接入密码通过互联网协议IP层加密传输。
一种实现方式中,第二网络为网络设备建立的无线局域网。
一种实现方式中,接收来自第一终端设备的第一指示信息之前,通信单元还用于:
网络设备发送第二探测请求消息,第二探测请求消息包括第二指示信息,第二指示信息用于指示网络设备支持的配网方式。
一种实现方式中,通信单元还用于:接收来自第二终端设备的探测响应消息,探测响应消息包括第三指示信息,第三指示信息用于指示第二终端设备支持的配网方式。
一种实现方式中,通信单元还用于:向第一终端设备发送第三指示信息。
一种实现方式中,通信装置900可以执行以下功能:
通信单元,用于接收来自网络设备的第一探测请求消息,所述第一探测请求消息用于指示所述第二终端设备接入所述网络设备的第一网络,所述第一网络为无接入密码的网络;接入所述第一网络,并在所述第一网络中接收来自所述网络设备的网络标识和接入密码;
处理单元,用于根据所述网络标识和所述接入密码接入第二网络。
一种实现方式中,第一探测请求消息包括以下至少一项:
第二终端设备的标识;第一网络的信道的标识。
一种实现方式中,网络标识和网络密码通过互联网协议IP层加密传输。
一种实现方式中,第二网络为网络设备建立的无线局域网。
一种实现方式中,接收来自网络设备的第一探测请求消息之前,通信单元还用于:
接收来自网络设备的第二探测请求消息,第二探测请求消息包括第二指示信息,第二指示信息用于指示网络设备支持的配网方式。
一种实现方式中,通信单元还用于:向网络设备发送探测响应消息,探测响应消息包括第三指示信息,第三指示信息用于指示第二终端设备支持的配网方式。
以上只是示例,处理单元901和通信单元902还可以执行其他功能,更详细的描述可以参考前面所示的方法实施例中相关描述,这里不加赘述。
如图10所示为本申请实施例提供的通信装置1000,图10所示的装置可以为图9所示的装置的一种硬件电路的实现方式。该通信装置可适用于前面所示出的流程图中,执行上述方法实施例中网络设备或终端设备的功能。为了便于说明,图10仅示出了该通信装置的主要部件。
如图10所示,通信装置1000包括处理器1010和接口电路1020。处理器1010和接口电路1020之间相互耦合。可以理解的是,接口电路1020可以为收发器或输入输出接口。可选的,通信装置1000还可以包括存储器1030,用于存储处理器1010执行的指令或存储处理器1010运行指令所需要的输入数据或存储处理器1010运行指令后产生的数据。
当通信装置1000用于实现前面所示的方法时,处理器1010用于实现上述处理单元901的功能,接口电路1020用于实现上述通信单元902的功能。
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其它通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。
本申请的实施例中处理器可以是随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于网络设备或终端设备中。处理器和存储介质也可以作为分立组件存在于网络设备或终端设备中。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、 光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (18)

  1. 一种网络连接方法,其特征在于,包括:
    网络设备接收来自第一终端设备的第一指示信息,所述第一指示信息用于指示将第二终端设备接入网络;
    所述网络设备根据所述第一指示信息发送第一探测请求消息,所述第一探测请求消息用于指示所述第二终端设备接入所述网络设备的第一网络,所述第一网络为无接入密码的网络;
    所述网络设备在所述第一网络中向所述第二终端设备发送第二网络的网络标识和所述第二网络的接入密码,所述网络标识和所述接入密码用于所述第二终端设备接入所述第二网络。
  2. 根据权利要求1所述的方法,其特征在于,所述第一探测请求消息包括以下至少一项:
    所述第二终端设备的设备标识;所述第一网络的信道的信道标识。
  3. 根据权利要求1或2所述的方法,其特征在于,所述网络标识和/或所述接入密码通过互联网协议IP层加密传输。
  4. 根据权利要求1至3任一所述的方法,其特征在于,所述第二网络为所述网络设备建立的无线局域网。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述网络设备接收来自第一终端设备的第一指示信息之前,所述方法还包括:
    所述网络设备发送第二探测请求消息,所述第二探测请求消息包括第二指示信息,所述第二指示信息用于指示所述网络设备支持的配网方式。
  6. 根据权利要求1至5任一所述的方法,其特征在于,所述方法还包括:
    所述网络设备接收来自所述第二终端设备的探测响应消息,所述探测响应消息包括第三指示信息,所述第三指示信息用于指示所述第二终端设备支持的配网方式。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    所述网络设备向所述第一终端设备发送所述第三指示信息。
  8. 一种网络连接方法,其特征在于,包括:
    第二终端设备接收来自网络设备的第一探测请求消息,所述第一探测请求消息用于指示所述第二终端设备接入所述网络设备的第一网络,所述第一网络为无接入密码的网络;
    所述第二终端设备接入所述第一网络,并在所述第一网络中接收来自所述网络设备的网络标识和接入密码;
    所述第二终端设备根据所述网络标识和所述接入密码接入第二网络。
  9. 根据权利要求8所述的方法,其特征在于,所述第一探测请求消息包括以下至少一项:
    所述第二终端设备的标识;所述第一网络的信道的标识。
  10. 根据权利要求8或9所述的方法,其特征在于,所述网络标识和所述网络密码通过互联网协议IP层加密传输。
  11. 根据权利要求8至10任一所述的方法,其特征在于,所述第二网络为所述网络设备建立的无线局域网。
  12. 根据权利要求8至11任一所述的方法,其特征在于,所述第二终端设备接收来自网络设备的第一探测请求消息之前,所述方法还包括:
    所述第二终端设备接收来自网络设备的第二探测请求消息,所述第二探测请求消息包括第二指示信息,所述第二指示信息用于指示所述网络设备支持的配网方式。
  13. 根据权利要求8至12任一所述的方法,其特征在于,所述方法还包括:
    所述第二终端设备向所述网络设备发送探测响应消息,所述探测响应消息包括第三指示信息,所述第三指示信息用于指示所述第二终端设备支持的配网方式。
  14. 一种通信装置,其特征在于,包括:
    通信单元,用于接收来自第一终端设备的第一指示信息,所述第一指示信息用于指示将第二终端设备接入网络;
    处理单元,用于根据所述第一指示信息通过所述通信单元发送第一探测请求消息,所述第一探测请 求消息用于指示所述第二终端设备接入所述网络设备的第一网络,所述第一网络为无接入密码的网络;
    所述通信单元,用于在所述第一网络中向所述第二终端设备发送第二网络的网络标识和所述第二网络的接入密码,所述网络标识和所述接入密码用于所述第二终端设备接入所述第二网络。
  15. 一种通信装置,其特征在于,包括:
    通信单元,用于接收来自网络设备的第一探测请求消息,所述第一探测请求消息用于指示所述第二终端设备接入所述网络设备的第一网络,所述第一网络为无接入密码的网络;接入所述第一网络,并在所述第一网络中接收来自所述网络设备的网络标识和接入密码;
    处理单元,用于根据所述网络标识和所述接入密码接入第二网络。
  16. 一种通信装置,其特征在于,包括处理器,所述处理器和存储器耦合,所述存储器中存储有计算机程序;所述处理器用于调用所述存储器中的计算机程序,使得所述通信装置执行如权利要求1至7中任一项所述的方法或者如权利要求8至13中任一项所述的方法。
  17. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或指令被计算机执行时,实现如权利要求1至7中任一项所述的方法或者如权利要求8至13中任一项所述的方法。
  18. 一种计算机程序产品,其特征在于,当计算机读取并执行所述计算机程序产品时,使得计算机执行如权利要求1至7中任一项所述的方法或者如权利要求8至13中任一项所述的方法。
PCT/CN2023/126037 2022-11-01 2023-10-23 一种网络连接方法及装置 WO2024093708A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211358416.1 2022-11-01
CN202211358416.1A CN118042557A (zh) 2022-11-01 2022-11-01 一种网络连接方法及装置

Publications (1)

Publication Number Publication Date
WO2024093708A1 true WO2024093708A1 (zh) 2024-05-10

Family

ID=90929657

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/126037 WO2024093708A1 (zh) 2022-11-01 2023-10-23 一种网络连接方法及装置

Country Status (2)

Country Link
CN (1) CN118042557A (zh)
WO (1) WO2024093708A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180199265A1 (en) * 2015-09-10 2018-07-12 Alibaba Group Holding Limited Sending and acquiring wifi networking information
CN111092794A (zh) * 2019-11-11 2020-05-01 珠海格力电器股份有限公司 一种智能终端设备配网方法及系统
CN113055971A (zh) * 2019-12-26 2021-06-29 天翼智慧家庭科技有限公司 基于专用ssid来将智能终端接入网络的方法和装置
WO2022166636A1 (zh) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 设备配网方法、装置、设备及存储介质
WO2022174652A1 (zh) * 2021-02-18 2022-08-25 天翼数字生活科技有限公司 智能终端自动发现配网方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180199265A1 (en) * 2015-09-10 2018-07-12 Alibaba Group Holding Limited Sending and acquiring wifi networking information
CN111092794A (zh) * 2019-11-11 2020-05-01 珠海格力电器股份有限公司 一种智能终端设备配网方法及系统
CN113055971A (zh) * 2019-12-26 2021-06-29 天翼智慧家庭科技有限公司 基于专用ssid来将智能终端接入网络的方法和装置
WO2022166636A1 (zh) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 设备配网方法、装置、设备及存储介质
WO2022174652A1 (zh) * 2021-02-18 2022-08-25 天翼数字生活科技有限公司 智能终端自动发现配网方法及系统

Also Published As

Publication number Publication date
CN118042557A (zh) 2024-05-14

Similar Documents

Publication Publication Date Title
US10674341B2 (en) Communication device
US10278118B2 (en) Communication device, communication method, and storage medium
US9820130B2 (en) Method for creating Wi-Fi P2P group
US10193933B2 (en) System and method for post-discovery communication within a neighborhood-aware network
KR101102663B1 (ko) 휴대단말기와 디지털 기기간 자동 무선 연결을 위한 시스템 및 방법
CN107196964B (zh) 用于实现多频段服务发现的系统和方法
WO2020098253A1 (zh) 网络接入方法、装置、相关设备及存储介质
US9699715B2 (en) Discovery method and device in a wireless communication system
JP5781232B2 (ja) 通信装置およびネットワーク接続方法
US20160242033A1 (en) Communication service using method and electronic device supporting the same
CN110602682A (zh) 基于蓝牙BLE和mesh混合的网络管理系统和方法
WO2014183404A1 (zh) 数据传输方法、装置及系统、终端
WO2014086252A1 (zh) 关联设备的方法、装置及系统
US20120275443A1 (en) Efficient creation of wlan connections
WO2018049823A1 (zh) 一种自动配网方法、装置及设备、中继器
US9918300B2 (en) Communication apparatus, control method thereof, and program
US20210084703A1 (en) Configuration system, client device, embedded device configuration method, and storage medium
WO2015014307A1 (zh) 一种用于配置多设备的方法、设备和系统
JP2017523741A (ja) 情報提供方法、装置、プログラム及び記録媒体
CN113141671B (zh) wifi设备的通信方法、设备和计算机可读存储介质
WO2020054365A1 (ja) 通信装置、通信方法及びプログラム
WO2014169670A1 (zh) 一种wlan组网方法及系统
WO2024093708A1 (zh) 一种网络连接方法及装置
JP7387275B2 (ja) 通信装置、通信方法及びプログラム
WO2016078267A1 (zh) 终端实现方法、装置及其终端、存储介质

Legal Events

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

Ref document number: 23884640

Country of ref document: EP

Kind code of ref document: A1