Network access method and device
The distance of the IoT device is determined by measuring the signal strength through the distribution network auxiliary equipment, and sending access information after authorization operation, solving the problem of cumbersome access process and misjudgment of distances, and achieving more accurate network access.
Patent Information
- Application Number
- CN202311128623.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2025-03-07
AI Technical Summary
When IoT devices are connected to the home network, the user control process is complicated, and there is a problem of inaccurate distribution networks due to misjudgment of distance.
The broadcast message is sent through the distribution network auxiliary device, the signal strength is measured to determine the distance from the IoT device. If it is within a predetermined distance, the user is prompted to authorize the operation and send information to the IoT device to the access router.
The process of IoT devices accessing routers is simplified, the accuracy of access timing is improved, and distance misjudgment caused by inconsistent RF capabilities is avoided.
Smart Images

Figure CN119584247A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet of Things, and more specifically, to a network access method and device. Background Art
[0002] With the rapid development of the Internet of Things (IoT) technology, more and more IoT devices are connected to home networks. Users can access IoT devices by installing applications (applications, APPs) such as "Smart Life" (or home APPs, IoT APPs, etc.) on mobile terminals. In order for IoT devices to access the home network, users need to scan the QR code of the IoT device to obtain the product information stored by the IoT device manufacturer. Furthermore, users need to enter the wireless fidelity (WiFi) password, the personal identification number (personal identification number, PIN) of the IoT device, etc. to configure the IoT device before they can complete the access. Therefore, there is a problem of lengthy and cumbersome user operation process when IoT devices are connected to the home network. Summary of the invention
[0003] The embodiments of the present application provide a network access method and apparatus, which can simplify the process of IoT devices accessing a target router and make the timing of network access more accurate.
[0004] In order to achieve the above objectives, this application adopts the following technical solutions:
[0005] In a first aspect, a network access method is provided, which can be executed by a network auxiliary device, or by a component of the network auxiliary device, such as a processor, chip, or chip system of the network auxiliary device, or by a logic module or software that can realize all or part of the functions of the network auxiliary device. Taking the method being executed by the network auxiliary device as an example, the method includes: when the distance between the network auxiliary device and the Internet of Things (IoT) device is within a first distance, the network auxiliary device prompts the user to perform an authorization operation; in response to the user's authorization operation, the network auxiliary device sends a first message to the IoT device, and the first message is used for the IoT device to access a target router.
[0006] In the network access method provided in the embodiment of the present application, when the network configuration auxiliary device determines that the distance to the IoT device is within the first distance, the first information for the IoT device to access the target router is sent to the IoT device, so that the IoT device can quickly access the target router according to the first information. On the one hand, this can simplify the process of IoT devices accessing the target router; on the other hand, the determination of the distance by the network configuration auxiliary device can avoid the misjudgment of the distance between the network configuration auxiliary device and the IoT device due to the inconsistent radio frequency capabilities of different IoT devices, making the timing of network access more accurate.
[0007] In an embodiment of the present application, the method also includes: the network configuration auxiliary device sends a first broadcast message; the network configuration auxiliary device receives a first response message, the first response message includes the signal strength of the first broadcast message measured by the IoT device; the network configuration auxiliary device determines that the distance between the network configuration auxiliary device and the IoT device is within a first distance based on the signal strength of the first broadcast message. The network configuration auxiliary device sends a first broadcast message to the IoT device, and through the signal strength of the first broadcast message included in the first response message, the network configuration auxiliary device can determine whether the distance to the IoT device is within the first distance. Furthermore, when the distance between the network configuration auxiliary device and the IoT device is within the first distance, the network configuration auxiliary device can prompt the user to perform an authorization operation. Among them, sending the first broadcast message by the network configuration auxiliary device can improve the stability of the first broadcast message.
[0008] In a possible implementation, the first response message also includes a device tag of the IoT device, and the device tag of the IoT device is used to identify the IoT device, or the device tag of the IoT device is used to identify the type of the IoT device; the network configuration auxiliary device determines that the distance between the network configuration auxiliary device and the IoT device is within a first distance based on the signal strength of the first broadcast message, including: the network configuration auxiliary device determines that the distance between the network configuration auxiliary device and the IoT device is within a first distance based on the signal strength of the first broadcast message and the device tag of the IoT device. Through the device tag, the network configuration auxiliary device can determine the first distance of the corresponding IoT device, which is more flexible; further, the network configuration auxiliary can determine that the distance between the network configuration auxiliary device and the IoT device is within the first distance based on the signal strength of the first broadcast message and the device tag of the IoT device.
[0009] In the embodiment of the present application, the authorization operation includes at least one of the following: tap, press, and shake. Authorization through user behavior can avoid the user from re-entering the password, simplifying the network configuration process of the IoT device.
[0010] In an embodiment of the present application, the method further includes: the network configuration auxiliary device sends a detection message, the detection message includes a first serial number and second information encrypted by a public key, and the second information is used to indicate a hardware response of the IoT device; in response to the hardware response of the IoT device, the network configuration auxiliary device sends a confirmation message to the IoT device, and the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key. The network configuration auxiliary device sends a detection message carrying the first serial number and second information encrypted by the public key, so that the IoT device confirms that the detection message is for itself. Further, the IoT device triggers a hardware response according to the second information, and the user can confirm the IoT device according to the hardware response. Then, the network configuration auxiliary device sends a confirmation message to the IoT device to confirm the IoT device. In a possible scenario, when there are multiple similar IoT devices in the environment, the IoT device can trigger the hardware response of the IoT device to allow the user to confirm the IoT device, thereby preventing economic losses caused by the mistaken access of illegal devices.
[0011] In an embodiment of the present application, the method further includes: the network configuration auxiliary device receives a second broadcast message from the IoT device, the second broadcast message includes a media access control MAC address and a public key of the IoT device, and the MAC address and the public key are used to generate a first serial number encrypted by the public key. By sending the second broadcast message, the IoT device can display the IoT device in the scanning result of the network configuration auxiliary device.
[0012] In the embodiment of the present application, the distance between the network configuration auxiliary device and the IoT device is obtained by periodic measurement. The network configuration auxiliary device improves the accuracy of the distance between the network configuration auxiliary device and the IoT device by periodically measuring the distance between the network configuration auxiliary device and the IoT device.
[0013] In the second aspect, a network access method is provided, which can be executed by an IoT device, or by a component of an IoT device, such as a processor, chip, or chip system of an IoT device, or by a logic module or software that can realize all or part of the functions of an IoT device. Taking the method that can be executed by an IoT device as an example, the method includes: the IoT device receives first information, the first information is that the network configuration auxiliary device determines that the distance to the IoT device is within a first distance, the network configuration auxiliary device prompts the user to perform an authorization operation, and the first information is sent in response to the user's authorization operation, and the IoT device accesses the target router according to the first information.
[0014] In the network access method provided in the embodiment of the present application, when the network configuration auxiliary device determines that the distance to the IoT device is within the first distance, the first information for the IoT device to access the target router is sent to the IoT device, so that the IoT device can quickly access the target router according to the first information. On the one hand, this can simplify the process of IoT devices accessing the target router; on the other hand, the determination of the distance by the network configuration auxiliary device can avoid the misjudgment of the distance between the network configuration auxiliary device and the IoT device due to the inconsistent radio frequency capabilities of different IoT devices, making the timing of network access more accurate.
[0015] In an embodiment of the present application, the method also includes: the IoT device receives a first broadcast message and measures the signal strength of the first broadcast message; the IoT device sends a first response message, and the first response message includes the signal strength of the first broadcast message measured by the IoT device. The IoT device receives a first broadcast message from a network distribution auxiliary device, and the IoT device sends a first response message to the network distribution auxiliary device. Through the signal strength of the first broadcast message included in the first response message, the network distribution auxiliary device can determine whether the distance to the IoT device is within the first distance. Furthermore, when the distance between the network distribution auxiliary device and the IoT device is within the first distance, the network distribution auxiliary device can prompt the user to perform an authorization operation. Among them, sending the first broadcast message by the network distribution auxiliary device can improve the stability of the first broadcast message.
[0016] In a possible implementation, the first response message also includes a device tag of the IoT device, and the device tag of the IoT device is used to identify the IoT device, or the device tag of the IoT device is used to identify the type of the IoT device. Through the device tag, the network configuration auxiliary device can determine the first distance of the corresponding IoT device, which is more flexible.
[0017] In the embodiment of the present application, the authorization operation includes at least one of the following: tap, press, and shake. Authorization through user behavior can avoid the user from re-entering the password, simplifying the network configuration process of the IoT device.
[0018] In an embodiment of the present application, the method further includes: the IoT device receives a detection message from a network distribution auxiliary device, the detection message includes a first serial number and a second information encrypted with a public key, and the second information is used to indicate a hardware response of the IoT device; the IoT device triggers a hardware response according to the second information; the IoT device receives confirmation information from the network distribution auxiliary device, and accesses the target router according to the confirmation information, and the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted with a public key. The IoT device receives a detection message from a network distribution auxiliary device, wherein the detection message includes a first serial number and a second information encrypted with a public key, so that the IoT device confirms that the detection message is for itself, and further, the IoT device triggers a hardware response according to the second information, and the user can confirm the IoT device according to the hardware response, and then the IoT device receives the confirmation information from the network distribution auxiliary device, and accesses the target router according to the confirmation information. In a possible scenario, when there are multiple similar IoT devices in the environment, the IoT device can trigger the hardware response of the IoT device to allow the user to confirm the IoT device, thereby preventing economic losses caused by the mistaken access of illegal devices.
[0019] In an embodiment of the present application, the method further includes: the IoT device sends a second broadcast message to the network configuration auxiliary device, the second broadcast message includes the media access control MAC address and public key of the IoT device, and the MAC address and public key are used to generate a first serial number encrypted by the public key. The IoT device can be displayed in the scanning result of the network configuration auxiliary device.
[0020] In the embodiment of the present application, the distance between the network configuration auxiliary device and the IoT device is obtained by periodic measurement. The network configuration auxiliary device improves the accuracy of the distance between the network configuration auxiliary device and the IoT device by periodically measuring the distance between the network configuration auxiliary device and the IoT device.
[0021] In a third aspect, a network access method is provided, which can be executed by a network auxiliary device, or by a component of the network auxiliary device, such as a processor, chip, or chip system of the network auxiliary device, or by a logic module or software that can realize all or part of the functions of the network auxiliary device. Taking the method that can be executed by the network auxiliary device as an example, the method includes: the network auxiliary device sends a detection message, the detection message includes a first serial number and second information encrypted by a public key, and the second information is used to indicate the hardware response of the IoT device; in response to the hardware response of the IoT device, the network auxiliary device sends a confirmation message to the IoT device, and the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
[0022] In the network access method provided in the embodiment of the present application, the network auxiliary device sends a detection message carrying a first serial number and second information encrypted by a public key, so that the IoT device confirms that the detection message is for itself. Furthermore, the IoT device triggers a hardware response according to the second information, and the user can confirm the IoT device according to the hardware response. Then, the network auxiliary device sends confirmation information to the IoT device to confirm the IoT device. In a possible scenario, when there are multiple similar IoT devices in the environment, the IoT device can trigger the hardware response of the IoT device to make the user confirm the IoT device, thereby preventing economic losses caused by the mistaken access of illegal devices.
[0023] In an embodiment of the present application, the method further includes: the network configuration auxiliary device receives a second broadcast message from the IoT device, the second broadcast message includes a media access control MAC address and a public key of the IoT device, and the MAC address and the public key are used to generate a first serial number encrypted by the public key. By sending the second broadcast message, the IoT device can display the IoT device in the scanning result of the network configuration auxiliary device.
[0024] In a fourth aspect, a network access method is provided, which can be executed by an IoT device, or by a component of an IoT device, such as a processor, chip, or chip system of an IoT device, or by a logic module or software that can realize all or part of the functions of an IoT device. Taking the method that can be executed by an IoT device as an example, the method includes: the IoT device receives a detection message from a network distribution auxiliary device, the detection message includes a first serial number and second information encrypted by a public key, and the second information is used to indicate a hardware response of the IoT device; the IoT device triggers a hardware response according to the second information; the IoT device receives confirmation information from the network distribution auxiliary device, and accesses the target router according to the confirmation information, and the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
[0025] In the network access method provided by the embodiment of the present application, an IoT device receives a detection message from a network distribution auxiliary device, wherein the detection message includes a first serial number and a second information encrypted by a public key, so that the IoT device confirms that the detection message is directed to itself. Furthermore, the IoT device triggers a hardware response according to the second information, and the user can confirm the IoT device according to the hardware response. Then, the IoT device receives the confirmation information from the network distribution auxiliary device and accesses the target router according to the confirmation information. In a possible scenario, when there are multiple similar IoT devices in the environment, the IoT device can trigger the hardware response of the IoT device to allow the user to confirm the IoT device, thereby preventing economic losses caused by the mistaken access of illegal devices.
[0026] In an embodiment of the present application, the method further includes: the IoT device sends a second broadcast message to the network configuration auxiliary device, the second broadcast message includes the media access control MAC address and public key of the IoT device, and the MAC address and public key are used to generate a first serial number encrypted by the public key. The IoT device can be displayed in the scanning result of the network configuration auxiliary device.
[0027] In a fifth aspect, a communication device is provided for implementing the above-mentioned various methods. The communication device may be the network distribution auxiliary device in the first aspect or the third aspect, or a device included in the network distribution auxiliary device, such as a chip; or the communication device may be the IoT device in the second aspect or the fourth aspect, or a device included in the IoT device, such as a chip.
[0028] The communication device includes a module, unit, or means corresponding to the above method, which can be implemented by hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.
[0029] In some possible designs, the communication device may include a processing module and a communication module. The communication module may include an output module (or a sending module) and an input module (or a receiving module), respectively used to implement the output-type (or sending-type) and input-type (or receiving-type) functions in any of the above aspects and any possible designs thereof. The processing module may be used to implement the processing functions in any of the above aspects and any possible designs thereof.
[0030] Optionally, the communication device further comprises a storage module for storing program instructions and data.
[0031] In a sixth aspect, a communication device is provided, comprising: at least one processor, the processor being used to run a computer program or instruction, or being used to enable the communication device to execute the method described in any of the above aspects through a logic circuit. The communication device may be the network distribution auxiliary device in the first aspect or the third aspect, or a device included in the network distribution auxiliary device, such as a chip; or the communication device may be the IoT device in the second aspect, or a device included in the IoT device, such as a chip.
[0032] In some possible designs, the communication device further includes a memory for storing computer instructions and / or configuration files of logic circuits. Optionally, the memory is integrated with the processor, or the memory is independent of the processor.
[0033] In a possible design, the communication device further includes a communication interface for inputting and / or outputting signals.
[0034] In some possible designs, the communication interface is an interface circuit for reading and writing computer instructions. For example, the interface circuit is used to receive computer execution instructions (computer execution instructions are stored in a memory, may be read directly from the memory, or may pass through other devices) and transmit them to the processor.
[0035] In some possible designs, the communication interface is used to communicate with modules outside the communication device.
[0036] In some possible designs, the communication device may be a chip system. Wherein, when the communication device is a chip system, the chip system may include a chip, or may include a chip and other discrete devices.
[0037] In a seventh aspect, a communication device is provided, comprising: a logic circuit and an interface circuit; the interface circuit is used to input information and / or output information; the logic circuit is used to execute the method described in any of the above aspects, and process and / or generate output information according to the input information. The communication device can be the network distribution auxiliary device in the first aspect or the third aspect, or a device included in the network distribution auxiliary device, such as a chip; or the communication device can be the IoT device in the second aspect or the fourth aspect, or a device included in the IoT device, such as a chip.
[0038] It can be understood that when the communication device provided in any one of the fifth to seventh aspects is a chip, the above-mentioned sending action / function can be understood as output information, and the above-mentioned receiving action / function can be understood as input information.
[0039] In an eighth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer program or instruction is executed by a processor, the method described in any one of the above aspects is executed.
[0040] In a ninth aspect, a computer program product is provided, which, when executed by a processor, enables the method described in any one of the above aspects to be executed.
[0041] In a tenth aspect, a communication device is provided, which includes a module / unit for executing the method described in the first aspect or the second aspect.
[0042] In an eleventh aspect, a communication method is provided, which includes the method described in the first aspect and the method described in the second aspect.
[0043] In a twelfth aspect, a communication system is provided, the communication system comprising the network distribution auxiliary device described in the first aspect or the third aspect and the IoT device described in the second aspect or the fourth aspect. The network distribution auxiliary device and the IoT device can be implemented as the communication device provided in any one of the fifth to seventh aspects.
[0044] Among them, the technical effects brought about by any design method in the fifth to twelfth aspects can refer to the technical effects brought about by different design methods in the first to fourth aspects mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of the IoT device network configuration process of the embodiment of the present application;
[0046] Figure 2 It is a schematic diagram of the IoT device network configuration process using Soft AP technology in the embodiment of the present application;
[0047] Figure 3 is a schematic diagram of the system architecture of an embodiment of the present application;
[0048] Figure 4 is a structural diagram of a distribution network auxiliary device 100 provided in an embodiment of the present application;
[0049] Figure 5 is a software structure block diagram of the network distribution auxiliary device 100 according to an embodiment of the present application;
[0050] Figure 6 is a structural diagram of an IoT device 200 provided in an embodiment of the present application;
[0051] Figure 7 is a schematic diagram of a network access method provided in an embodiment of the present application;
[0052] Figure 8 This is a diagram of the first application of the network auxiliary device prompting the user to perform authorization operations
[0053] Fig. 9 is a schematic diagram of a first application scanning result interface provided in an embodiment of the present application;
[0054] Fig.10 is a schematic diagram of a plurality of similar devices in an environment provided by an embodiment of the present application;
[0055] Fig.11 This is a schematic diagram of a user confirming an IoT device provided in an embodiment of the present application;
[0056] Fig.12 is a schematic diagram of another network access method provided in an embodiment of the present application;
[0057] Fig.13 It is a schematic diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship between associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
[0059] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b and / or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or plural.
[0060] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.
[0061] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0062] It is understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It is understood that in various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0063] It can be understood that in the present application, "when" and "if" both mean that corresponding processing will be carried out under certain objective circumstances, and do not limit the time, nor do they require any judgment action when implementing, nor do they mean the existence of other limitations.
[0064] It can be understood that some optional features in the embodiments of the present application may be implemented independently in certain scenarios without relying on other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects, or may be combined with other features according to needs in certain scenarios. Accordingly, the devices provided in the embodiments of the present application may also realize these features or functions accordingly, which will not be elaborated here.
[0065] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In the various embodiments of this application, if there is no special description and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships. The following description of the implementation methods of this application does not constitute a limitation on the scope of protection of this application.
[0066] To facilitate understanding of the technical solutions provided by the embodiments of the present application, a brief introduction to the technologies related to the embodiments of the present application is first given.
[0067] 1. IoT device network configuration process.
[0068] Figure 1 Schematic diagram of the IoT device network configuration process in the embodiment of the present application. Figure 1 As shown, Figure 1 The IoT network configuration process shown includes: the user adding IoT device pre-steps, IoT device network configuration steps, and account and IoT device binding steps.
[0069] The pre-steps for users to add IoT devices include:
[0070] 1. The user discovers nearby IoT devices. For example, the user displays a list of nearby IoT devices scanned by the network configuration auxiliary device.
[0071] 2. The user selects the IoT device that needs to be networked. For example, the user selects the IoT device that needs to be networked from the list of nearby IoT devices scanned and displayed by the network-connection auxiliary device. Among them, network connection in the embodiment of the present application refers to connecting the IoT device to an access point (AP). For example, the AP can be a home router.
[0072] 3. The user obtains the network configuration solution of the IoT device from the cloud. For example, the user obtains the network configuration solution of the IoT device from the cloud server through the network configuration auxiliary device.
[0073] In the embodiment of the present application, the user needs to perform APP scanning, device addition, manual configuration of passwords, etc. before the IoT device can connect to the AP and execute the subsequent registration process to the server.
[0074] Among them, the IoT device network configuration steps include:
[0075] 1. IoT devices complete network configuration and connect to AP.
[0076] 2. The AP notifies the device information of the IoT device that has completed network configuration.
[0077] The steps to bind an account to an IoT device include:
[0078] 1. The user completes IoT device binding.
[0079] 2. The user completes adding the IoT device.
[0080] The following uses Soft AP network configuration as an example to explain: Figure 2 This is a schematic diagram of the IoT device network configuration process using Soft AP technology in the embodiment of the present application. In the embodiment of the present application, there is not much difference between Soft AP and AP, but the access capability and coverage of Soft AP are far inferior to AP. Soft AP can usually only connect to several or dozens of wireless devices, and it is not convenient to place it outdoors for a long time, nor can it be placed in a high position such as the ceiling. The installation of outdoor antennas is not convenient enough, so its signal coverage is greatly limited. In the embodiment of the present application, Soft AP can be a home router.
[0081] like Figure 2 As shown, the network configuration process includes the following steps:
[0082] Step 1: Soft AP broadcasts the service set identifier (SSID) to the outside world.
[0083] Step 2: The network configuration auxiliary device connects to the Soft AP through the SSID and discovers the IoT device to be configured.
[0084] Step 3: The network configuration auxiliary device encrypts and transmits the SSID and the password of the IoT device to be configured to the Soft AP.
[0085] Step 4: The Soft AP decrypts the SSID and the password of the IoT device to be configured, so that the IoT device to be configured can connect to the WiFi. Exemplarily, the Soft AP further enables the IoT device to register with the target server.
[0086] In the embodiment of the present application, when there is only a single IoT device to be networked, the user can easily identify the corresponding IoT device based on the SSID and / or the type of the IoT device.
[0087] Figure 3 Schematic diagram of the system architecture of the embodiment of the present application. The system architecture includes at least one network distribution auxiliary device 100, at least one IoT device 200, and a server 300.
[0088] The network configuration auxiliary device 100 is used to bind the IoT device 200. The network configuration auxiliary device 100 can configure the IoT device 200. In some embodiments, the network configuration auxiliary device 100 can be, for example, a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a smart watch, a netbook, a wearable electronic device, etc. The present application does not impose any special restrictions on the specific form of the network configuration auxiliary device 100.
[0089] IoT device 200, for example, can be a hardware device of a smart home, and can include a mobile terminal, household appliances, and sensor devices. For example, IoT device 200 can be a smart phone, a smart speaker, a smart refrigerator, a smart TV, a smart lamp, a smart socket, an air purifier, a humidifier, a smart range hood, a smart desk lamp, a smart door lock, a smart power strip, a smart induction cooker, a smart camera, etc. IoT device 200 can also be a smoke sensor, a human body sensor, a temperature sensor, a humidity sensor, a door and window sensor, a PM2.5 air sensor, etc., which is not limited in the embodiments of the present application.
[0090] The server 300 may be, for example, a cloud server, a home cloud server, or a server cluster composed of multiple servers. In some embodiments, the network auxiliary device 100 may request the server 300 to register the IoT device. In this way, the server 300 records the home APP account information bound to the IoT device 200. In other words, the server 300 stores the relevant control information of the IoT device 200, such as the account of the home application (such as the "Smart Life" application) or the IoT device application (such as the smart speaker application) logged in by the IoT device, and the device identification of the IoT device.
[0091] Exemplarily, the system architecture of the embodiment of the present application can be applied to a whole-house smart scene, where there are multiple IoT devices waiting for network configuration. Alternatively, exemplary, the system architecture of the embodiment of the present application can be applied to a whole-house smart scene, where there are multiple IoT devices of a large number and the same model waiting for network configuration. The embodiment of the present application does not specifically limit the scenario in which the system architecture is applied.
[0092] Figure 4 It is a structural diagram of the distribution network auxiliary device 100 provided in an embodiment of the present application.
[0093] The network configuration auxiliary device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0094] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the network distribution auxiliary device 100. In other embodiments of the present application, the network distribution auxiliary device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0095] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated into one or more processors. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
[0096] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0097] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0098] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the network distribution auxiliary device 100. In other embodiments of the present application, the network distribution auxiliary device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0099] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the network auxiliary device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0100] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0101] The wireless communication function of the network configuration auxiliary device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0102] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the network distribution auxiliary device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0103] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the network distribution auxiliary device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0104] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the network distribution auxiliary device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0105] In some embodiments, the antenna 1 of the network configuration auxiliary device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the network configuration auxiliary device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0106] The network distribution auxiliary device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0107] The network configuration auxiliary device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
[0108] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the distribution network auxiliary device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the distribution network auxiliary device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0109] The network configuration auxiliary device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor.
[0110] The software system of the network configuration auxiliary device 100 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software structure of the network configuration auxiliary device 100.
[0111] Figure 5 It is a software structure block diagram of the network distribution auxiliary device 100 according to an embodiment of the present application.
[0112] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.
[0113] The application layer may include a series of application packages. In the embodiment of the present application, the application layer may include a first application for providing a human-computer interaction interface between the network distribution auxiliary device 100 and the IoT device 200. The first application may be a smart home (e.g., a "Smart Life" APP), or may be a dedicated application for a certain IoT device (e.g., a smart speaker APP).
[0114] In an embodiment of the present application, a possible implementation method is: when a user carries the network configuration auxiliary device 100 close to the IoT device 200, if the distance between the network configuration auxiliary device 100 and the IoT device is within a first distance, the first application of the network configuration auxiliary device 100 will prompt the user to perform an authorization operation.
[0115] In the embodiment of the present application, the network configuration auxiliary device 100 can sink the capabilities and data related to IoT device access to the network in the first application to the framework layer. That is, the services related to IoT access to the network in the first application are set as system services, such as "IoT device management module".
[0116] like Figure 5 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
[0117] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0118] like Figure 5 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0119] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. In the embodiment of the present application, the window manager is used to determine whether the network configuration auxiliary device has a status bar prompting the user to authorize.
[0120] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0121] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying pictures. In the embodiment of the present application, the view system first applies the display interface of the notification icon, etc.
[0122] The phone manager is used to provide communication functions for the network configuration auxiliary device 100, such as management of call status (including connection, disconnection, etc.).
[0123] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0124] The notification manager enables applications to display notification information in the status bar, such as notifications prompting users to authorize. It can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0125] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.
[0126] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0127] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0128] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0129] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0130] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0131] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0132] A 2D graphics engine is a drawing engine for 2D drawings.
[0133] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0134] The following is an example of the software and hardware workflow of the network configuration auxiliary device 100 in conjunction with the capture and photography scene.
[0135] When the touch sensor 280K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, timestamp of the touch operation, and other information). The original input event is stored in the kernel layer. The application framework layer obtains the original input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.
[0136] also, Figure 4 and Figure 5 The composition structure shown in the figure does not constitute a limitation on the distribution network auxiliary device 100. Figure 4 and Figure 5 In addition to the components shown, the network distribution auxiliary device 100 may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0137] Figure 6 This is a schematic diagram of the structure of an IoT device 200 provided in an embodiment of the present application. The IoT device 200 may include one or more processors 210, one or more memories 220, one or more communication interfaces 230, a wireless communication module 240, and one or more antennas. The processor 210, the memory 220, the communication interface 230, and the wireless communication module 240 are connected via a bus.
[0138] The processor 210 may include a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or an integrated circuit for controlling the execution of the program of the present application. In one example, the processor 210 may also include multiple CPUs, and the processor 210 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).
[0139] The memory 220 may be used to store computer executable program codes, including instructions. The internal memory may include a program storage area and a data storage area. The program storage area may store an operating system and programs or instructions required to be used in the embodiments of the present application.
[0140] The communication interface 230 may be used to communicate with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc. In some examples, the IoT device 200 may not include the communication interface 230, which is not limited in the embodiments of the present application.
[0141] The wireless communication module 240 can provide wireless communication solutions including WLAN (such as Wi-Fi), Bluetooth, NFC, infrared technology, etc. applied to the IoT device 200. The wireless communication module 240 can be one or more devices integrating at least one communication processing module. The wireless communication module 240 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 240 can also receive the signal to be sent from the processor 210, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.
[0142] also, Figure 6 The composition structure shown in the figure does not constitute a limitation on the IoT device 200, except Figure 6 In addition to the components shown, the IoT device 200 may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0143] Combine the following Figure 3 The system architecture shown describes the network access method provided in the embodiment of the present application.
[0144] It should be noted that in the following embodiments of the present application, the message names between the devices, the names of the parameters, or the names of the information are only examples. In other embodiments, they may also be other names, and the method provided in the present application does not make any specific limitations on this.
[0145] It is understandable that in the embodiments of the present application, each device can perform some or all of the steps in the embodiments of the present application, and these steps or operations are only examples. The embodiments of the present application can also perform other operations or variations of various operations. In addition, each step can be performed in a different order presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application need to be performed.
[0146] Figure 7It is a schematic diagram of an example of a network access method provided in an embodiment of the present application. The method is explained by taking the interaction between a network distribution auxiliary device and an IoT device as an example. Of course, the subject that executes the action of the network distribution auxiliary device in the method can also be a device / module in the network distribution auxiliary device, such as a chip, processor, processing unit, etc. in the network distribution auxiliary device; the subject that executes the action of the IoT device in the method can also be a device / module in the IoT device, such as a chip, processor, processing unit, etc. in the IoT device, and the embodiment of the present application does not make specific limitations on this. The processing performed by a single execution subject (for example, a network distribution auxiliary device or an IoT device) in the embodiment of the present application can also be divided into executions by multiple execution subjects, and these execution subjects can be logically and / or physically separated. For example, Figure 7 The network access method 700 provided in the embodiment of the present application includes:
[0147] S750: When the distance between the network configuration auxiliary device and the IoT device is within a first distance, the network configuration auxiliary device prompts the user to perform an authorization operation.
[0148] In the embodiment of the present application, the network configuration auxiliary device is a device that has been connected to the target router, and the network configuration auxiliary device stores the configuration information of the target router, such as the WiFi configuration information of the target router.
[0149] In the embodiment of the present application, the network configuration auxiliary device prompts the user to perform the authorization operation, and the first application of the network configuration auxiliary device can prompt the user to perform the authorization operation.
[0150] Exemplarily, the network configuration auxiliary device may be a mobile phone, and the first application may be a mobile phone APP. When the user brings the mobile phone close to the IoT device, the network configuration auxiliary device may prompt the user to perform an authorization operation: the mobile phone APP pops up an interface to prompt the user to perform an authorization operation on the IoT device.
[0151] Alternatively, illustratively, the network configuration auxiliary device may be a key device button. When the user holds the button close to the IoT device, the button may light up or the LED light may flash to prompt the user to perform an authorization operation.
[0152] Alternatively, illustratively, the network distribution auxiliary device may be an independent product or other IoT device, and the user may perform authorization operations according to the display interface of the device of the corresponding form, which is not limited in the embodiments of the present application.
[0153] Figure 8 This is a schematic diagram of the first application of the network distribution auxiliary device prompting the user to perform authorization operations. Figure 8 As shown, taking the mobile phone as the network configuration auxiliary device as an example, when the distance between the mobile phone and the IoT device is within a first distance, a first application pops up an interface on the mobile phone, prompting the user to perform an authorization operation.
[0154] S760: In response to the user's authorization operation, the network configuration auxiliary device sends the first information to the IoT device. Correspondingly, the IoT device receives the first information from the network configuration auxiliary device.
[0155] In the embodiment of the present application, the user's authorization operation may include at least one of the following: touch, press, or shake. For example, if the network configuration auxiliary device is a mobile phone, the user's authorization action may be touch or shake; or, if the network configuration auxiliary device is a button, the user's authorization action may be pressing a button. The embodiment of the present application does not limit this. Authorization through user behavior can avoid users from re-entering passwords, simplifying the network configuration process of IoT devices.
[0156] In an embodiment of the present application, the first information can be used for the IoT device to access the target router. Exemplarily, the first information may include information related to the target router, such as the SSID and password introduced in the above-mentioned related technology. Exemplarily, the target router may be a home router, and the first information is used to enable the IoT device to access the home router; or, exemplarily, the first information may also include a registration code of the IoT device obtained by the network auxiliary device from the server, which is used to enable the IoT device to further register with the server after accessing the target router. This embodiment of the present application does not limit this.
[0157] Exemplarily, the network configuration auxiliary device may send the first information to the IoT device via Bluetooth low energy (BLE).
[0158] S770, the IoT device accesses the target router according to the first information.
[0159] In the embodiment of the present application, the IoT device can access the target router and then register with the server according to the first information sent by the network configuration auxiliary device.
[0160] In the network access method provided in the embodiment of the present application, when the network configuration auxiliary device determines that the distance to the IoT device is within the first distance, the first information for the IoT device to access the target router is sent to the IoT device, so that the IoT device can quickly access the target router according to the first information. Compared with the prior art, on the one hand, this can simplify the process of IoT devices accessing the target router; on the other hand, the determination of the distance by the network configuration auxiliary device can avoid the misjudgment of the distance between the network configuration auxiliary device and the IoT device due to the inconsistent radio frequency capabilities of different IoT devices, making the timing of network access more accurate.
[0161] Optionally, the network access method provided in the embodiment of the present application also includes: a step in which the network configuration auxiliary device determines whether the distance to the IoT device is within a first distance. The following exemplifies an implementation method in which the network configuration auxiliary device determines whether the distance to the IoT device is within the first distance, including steps S751-S753. It should be understood that steps S751-S753 are a method for the network configuration auxiliary device to determine whether the distance to the IoT device is within the first distance. Other methods may also be used to determine whether the distance to the IoT device is within the first distance. The embodiment of the present application does not specifically limit this. For example, Figure 7 As shown, the network access method provided in the embodiment of the present application may also include the following steps:
[0162] S751, the network distribution auxiliary device sends a first broadcast message. Correspondingly, the IoT device receives the first broadcast message from the network distribution auxiliary device.
[0163] In the embodiment of the present application, the first broadcast message may be a broadcast scan message.
[0164] S752, the IoT device sends a first response message to the network configuration auxiliary device. Correspondingly, the network configuration auxiliary device receives the first response message from the IoT device.
[0165] In the embodiment of the present application, the first response message includes the signal strength of the first broadcast message. Exemplarily, the signal strength of the first broadcast message may be a received signal strength indication (RSSI), which is not limited in the embodiment of the present application.
[0166] In an embodiment of the present application, the first response message also includes a device tag of the IoT device. Optionally, the device tag of the IoT device is used to identify the IoT device, or, optionally, the device tag of the IoT device is used to identify the type of the IoT device. Exemplarily, the device tag of the IoT device identifies the IoT device as a lighting device, or identifies the type of the IoT device as a lighting device. Furthermore, the network distribution auxiliary device can determine the first distance corresponding to the IoT device based on this tag. For example, the first distance of the IoT device corresponding to the IoT device tag is 0.5m.
[0167] S753: The network configuration auxiliary device determines that the distance to the IoT device is within a first distance according to the signal strength of the first broadcast message.
[0168] Optionally, the first distance in the embodiment of the present application may be pre-configured by the network configuration auxiliary device. For example, the first distance of the lighting device or lighting-type device pre-configured by the network configuration auxiliary device is 0.5m. If the distance between the network configuration auxiliary device and the IoT device calculated by the signal strength of the first broadcast message is 0.4m, the network configuration auxiliary device can determine that the distance between the network configuration auxiliary device and the IoT device is within the first distance.
[0169] Alternatively, optionally, the first distance in the embodiment of the present application may be indicated by an IoT device tag. In this case, the network configuration auxiliary device determines that the distance to the IoT device is within the first distance based on the signal strength of the first broadcast message, which may include: the network configuration auxiliary device determines that the distance to the IoT device is within the first distance based on the signal strength of the first broadcast message and the device tag of the IoT device. Exemplarily, the first distance of a lighting device or a lighting-type device identified by the device tag included in the first response message is 0.5. If the distance to the IoT device calculated by the network configuration auxiliary device based on the signal strength of the first broadcast message is 0.4m, the network configuration auxiliary device can determine that the distance to the IoT device is within the first distance.
[0170] In the embodiment of the present application, the distance between the network configuration auxiliary device and the IoT device is obtained by periodic measurement of the network configuration auxiliary device. Exemplarily, the network configuration auxiliary device improves the accuracy of the distance between the network configuration auxiliary device and the IoT device by adjusting the sending frequency of the first broadcast message and the scanning duty cycle.
[0171] In an embodiment of the present application, the network configuration auxiliary device sends a first broadcast message to the IoT device. Through the signal strength of the first broadcast message included in the first response message, the network configuration auxiliary device can determine whether the distance to the IoT device is within a first distance. Further, when the distance between the network configuration auxiliary device and the IoT device is within the first distance, the network configuration auxiliary device can prompt the user to perform an authorization operation. Among them, sending the first broadcast message by the network configuration auxiliary device can improve the stability of the first broadcast message.
[0172] Optionally, the network access method provided in the embodiment of the present application also includes: the network configuration auxiliary device confirms the IoT device that wishes to access the target router. The following exemplary process for the network configuration auxiliary device to confirm the IoT device that wishes to access the target router is provided, including steps S710 to S740. It should be understood that steps S710 to S740 are a way for the network configuration auxiliary device to confirm the IoT device that wishes to access the target router. The network configuration auxiliary device can also confirm the IoT device that wishes to access the target router in other ways, and the embodiment of the present application does not specifically limit this. For example, Figure 7 As shown, the network access method provided in the embodiment of the present application may also include the following steps:
[0173] S710, the IoT device sends a second broadcast message. Correspondingly, the network configuration auxiliary device receives the second broadcast message.
[0174] In an embodiment of the present application, after the IoT device is powered on, a second broadcast message may be sent. Exemplarily, the second broadcast message includes a media access control (MAC) address and public key information of the IoT device, and the MAC address and public key information are used to generate a first serial number encrypted by the public key, wherein the first serial number corresponds to the IoT device.
[0175] For example, there is a scenario where multiple IoT devices send broadcast messages at the same time after being powered on. The user can view the scan results of nearby IoT devices through the first application and select the IoT device that wants to connect to the target router. Figure 5 The first application described in the software application layer of the network distribution auxiliary device shown is not limited in this embodiment of the present application.
[0176] For example, Fig. 9 is a schematic diagram of the first application scanning result interface provided by an embodiment of the present application. In a possible scenario, a user uses the first application to view the scanning results of a nearby IoT device, such as a lighting device. The first application interface displays the labels of multiple lighting devices scanned, and the user can select one of the lighting devices. However, at this time, since the labels of the lighting devices displayed in the scanning results are similar, the user cannot determine which lighting device in the environment is the lighting device selected by the user in the scanning result interface of the first application.
[0177] S720: The network distribution auxiliary device sends a detection message. Correspondingly, the IoT device receives the detection message from the network distribution auxiliary device.
[0178] In an embodiment of the present application, the detection message includes a first serial number encrypted by a public key and second information, where the second information is used to indicate a hardware response of the IoT device. For example, the second information indicates that the hardware response of the IoT device is a flashing light emitting diode (LED) or a sound from a speaker, etc. This embodiment of the present application is not limited to this.
[0179] In the embodiment of the present application, the network configuration auxiliary device sends a detection message. In advance, the network configuration auxiliary device does not know to which IoT device the detection message is sent, and only carries the first sequence number encrypted by the public key in the detection message. The IoT device receives the detection message from the network configuration auxiliary device, and determines that the detection message is sent to itself according to the first sequence number encrypted by the public key in the detection message. Further, the IoT device determines the hardware response of the IoT device according to the second information.
[0180] S730: The IoT device triggers a hardware response according to the second information.
[0181] In the embodiment of the present application, the IoT device triggers a hardware response according to the hardware response indicated by the second information. For example, if the hardware response indicated by the second information is a flashing LED, the IoT device triggers its own flashing LED light; if the hardware response indicated by the second information is a sound from a speaker, the IoT device triggers its own speaker to sound.
[0182] Accordingly, the user can determine which device in the environment the IoT device selected in the above scanning interface is based on the hardware response of the IoT device. Fig.10 Schematic diagram of multiple similar devices in an environment provided by an embodiment of the present application. Fig.10 As shown, there are multiple electric lights in the environment, and the user can determine which electric light in the environment the electric light selected in the scanning interface is based on the electric light with a flashing LED light. Fig.10 The shaded area indicates the flashing LED light.
[0183] S740, the network configuration auxiliary device sends confirmation information to the IoT device. Correspondingly, the IoT device receives the confirmation information from the network configuration auxiliary device.
[0184] In the embodiment of the present application, the network auxiliary device sends confirmation information to the IoT device to confirm the IoT device that triggers the hardware response. Fig.11 As shown, the user can confirm the IoT device selected in the above scanning interface according to the hardware response of the IoT device.
[0185] Based on the above scheme, the network configuration auxiliary device sends a detection message carrying the first serial number and the second information encrypted by the public key, so that the IoT device confirms that the detection message is for itself. Furthermore, the IoT device triggers a hardware response according to the second information, and the user can confirm the IoT device according to the hardware response. Then, the network configuration auxiliary device sends confirmation information to the IoT device to confirm the IoT device. In a possible scenario, when there are multiple similar IoT devices in the environment, the IoT device can trigger the hardware response of the IoT device to make the user confirm the IoT device, thereby preventing economic losses caused by the mistaken access of illegal devices.
[0186] Fig.12It is a schematic diagram of another example of a network access method provided in an embodiment of the present application. The method is illustrated by taking the interaction between a network distribution auxiliary device and an IoT device as an example. Of course, the subject that executes the action of the network distribution auxiliary device in the method can also be a device / module in the network distribution auxiliary device, such as a chip, processor, processing unit, etc. in the network distribution auxiliary device; the subject that executes the action of the IoT device in the method can also be a device / module in the IoT device, such as a chip, processor, processing unit, etc. in the IoT device, and the embodiment of the present application does not make specific limitations on this. The processing performed by a single execution subject (for example, a network distribution auxiliary device or an IoT device) in the embodiment of the present application can also be divided into executions by multiple execution subjects, and these execution subjects can be logically and / or physically separated. For example, Fig.12 The method 1200 includes:
[0187] S1210, the IoT device sends a second broadcast message. Correspondingly, the network configuration auxiliary device receives the second broadcast message.
[0188] In the embodiment of the present application, S1210 may refer to the relevant description in step S710 and will not be repeated here.
[0189] S1220: The network distribution auxiliary device sends a detection message. Correspondingly, the IoT device receives the detection message from the network distribution auxiliary device.
[0190] In the embodiment of the present application, S1220 may refer to the relevant description in step S720 and will not be repeated here.
[0191] S1230: The IoT device triggers a hardware response according to the second information.
[0192] In the embodiment of the present application, S1230 may refer to the relevant description in step S730 and will not be repeated here.
[0193] S1240, the network configuration auxiliary device sends confirmation information to the IoT device. Correspondingly, the IoT device receives the confirmation information from the network configuration auxiliary device.
[0194] In the embodiment of the present application, S1240 may refer to the relevant description in step S740 and will not be repeated here.
[0195] In the network access method provided in the embodiment of the present application, the network auxiliary device sends a detection message carrying a first serial number and second information encrypted by a public key, so that the IoT device confirms that the detection message is for itself. Furthermore, the IoT device triggers a hardware response according to the second information, and the user can confirm the IoT device according to the hardware response. Then, the network auxiliary device sends confirmation information to the IoT device to confirm the IoT device. In a possible scenario, when there are multiple similar IoT devices in the environment, the IoT device can trigger the hardware response of the IoT device to make the user confirm the IoT device, thereby preventing economic losses caused by the mistaken access of illegal devices.
[0196] The network access methods provided in method 700 and method 1200 will be described below through several specific examples.
[0197] For example, in a whole-house smart scene, there is one AP (such as a home router) and one Bluetooth speaker that is not networked, and the user uses a mobile phone as a network-connected auxiliary device. The steps for the mobile phone to connect the Bluetooth speaker to the network include:
[0198] Step 1: Connect the Bluetooth speaker to a power source and enter the network configuration process;
[0199] Step 2: The user holds the mobile phone close to the Bluetooth speaker, and the mobile phone periodically measures the distance between the mobile phone and the Bluetooth speaker. Specifically:
[0200] The mobile phone sends a broadcast scan message (corresponding to the first broadcast message in method 700) to the outside, the Bluetooth speaker receives and parses the broadcast message of the mobile phone, and parses the RSSI signal strength in the message; the Bluetooth speaker constructs a response frame (corresponding to the first response message in method 700) and replies to the mobile phone, and the response frame carries the detected RSSI signal strength and the device tag of the Bluetooth speaker; the mobile phone determines whether the distance between the mobile phone and the Bluetooth speaker is within the first distance according to the RSSI strength and the device tag in the response frame;
[0201] When the distance between the two parties is within the first distance (for example, 0.5m), the smart home APP on the mobile phone pops up the following Figure 8 The interface shown prompts the user to perform authorization operations;
[0202] Step 3: The user performs an authorization operation, such as shaking the mobile phone. Further, the mobile phone can send the information of the home router to the Bluetooth speaker via Bluetooth, and the Bluetooth speaker can quickly access the home router based on the home router information.
[0203] For example, in a whole-house smart scene, there is 1 AP (such as a home router) and 10 IoT devices (such as lighting). The user uses a mobile phone as a network auxiliary device. The process of the user confirming the target lighting includes:
[0204] Step 1: After the 10 lighting devices are powered on, they send out broadcast frames carrying their own MAC addresses and public key information;
[0205] Step 2: The user can view the scan results of the attached device through the mobile smart home APP, such as Fig. 9 The figure shows the identifications of the 10 lighting devices scanned.
[0206] Step 3: The user selects the following from the scanning list on the mobile phone: Fig. 9 For the 7th lighting device shown, the mobile phone sends a device detection frame to the outside, carrying the internal serial number encrypted by the public key (that is, the first serial number corresponding to the 7th lighting device in the scan list) and the response information.
[0207] Step 4: After receiving the detection frame, the seventh lighting device triggers the device hardware response (such as LED flashing or speaker sounding) to clearly inform the user of its location.
[0208] Step 5: After the user observes the device hardware response, perform the following steps in the scan list: Fig.11 Click the confirmation operation shown to proceed with the subsequent network configuration process.
[0209] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of the interaction between the network distribution auxiliary device and the IoT device. Accordingly, the embodiment of the present application also provides a communication device, which is used to implement the above various methods. The communication device can be the network distribution auxiliary device in the above method embodiment, or a device including the above network distribution auxiliary device, or a component that can be used for the network distribution auxiliary device; or, the communication device can be the IoT device in the above method embodiment, or a device including the above IoT device, or a component that can be used for the IoT device. It can be understood that in order to realize the above functions, the communication device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, 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.
[0210] The embodiment of the present application can divide the functional modules of the communication device according to the above method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be understood that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0211] for example, Fig.13 1 is a schematic diagram of a communication device provided in an embodiment of the present application, and the communication device is taken as a network configuration auxiliary device in the above method embodiment (which may be a chip of a network configuration auxiliary device, or a module of a network configuration auxiliary device, or an internal device of a network configuration auxiliary device) as an example, and the network configuration auxiliary device includes a transceiver module 1310 and a processing module 1320. The transceiver module 1310, which may also be referred to as a transceiver unit for implementing a transceiver function, may be, for example, a transceiver circuit, a transceiver, a transceiver or a communication interface.
[0212] In one solution, the processing module 1320 is used to prompt the user to perform an authorization operation when the distance between the network configuration auxiliary device and the IoT device is within a first distance.
[0213] The transceiver module 1310 is used to send first information to the IoT device in response to the user's authorization operation, where the first information is used for the IoT device to access the target router.
[0214] In the embodiment of the present application, the transceiver module 1310 is further used to send a first broadcast message and receive a first response message, where the first response message includes the signal strength of the first broadcast message measured by the IoT device.
[0215] The processing module 1320 is further configured to determine, based on the signal strength of the first broadcast message, that the distance between the network configuration auxiliary device and the IoT device is within a first distance.
[0216] In an embodiment of the present application, the first response message also includes a device tag of the IoT device, where the device tag of the IoT device is used to identify the IoT device, or the device tag of the IoT device is used to identify the type of the IoT device.
[0217] In an embodiment of the present application, the processing module 1320 is used to determine that the distance between the network configuration auxiliary device and the IoT device is within the first distance based on the signal strength of the first broadcast message, including: the processing module 1320 is used to determine that the distance between the network configuration auxiliary device and the IoT device is within the first distance based on the signal strength of the first broadcast message and the device tag of the IoT device.
[0218] Exemplarily, the authorization operation includes at least one of the following: tap, press, and shake.
[0219] In the embodiment of the present application, the transceiver module 1310 is also used to send a detection message, which includes a first serial number encrypted by a public key and a second information, and the second information is used to indicate a hardware response of the IoT device. In response to the hardware response of the IoT device, the transceiver module 1310 is also used to send a confirmation message to the IoT device, and the confirmation message is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
[0220] In an embodiment of the present application, the transceiver module 1310 is also used to receive a second broadcast message from the IoT device, the second broadcast message includes the media access control MAC address and public key of the IoT device, and the MAC address and public key are used to generate a first serial number encrypted by the public key.
[0221] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. Optionally, the communication device 1300 may also include a storage module 1330, which can be used to store instructions or and / or data, and the processing module 1320 can read the instructions or and / or data in the storage module 1330.
[0222] In the embodiment of the present application, the network distribution auxiliary device is presented in the form of dividing various functional modules in an integrated manner. The "module" here can refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, a person skilled in the art can imagine that the network distribution auxiliary device can be used Figure 4 The form of the distribution network auxiliary device 100 is shown.
[0223] for example, Figure 4 The processor 110 in the network configuration auxiliary device 100 shown can call the computer execution instructions stored in the internal memory 120 to enable the network configuration auxiliary device 100 to execute the communication method in the above method embodiment.
[0224] Specifically, Fig.13 The functions / implementation processes of the transceiver module 1310 and the processing module 1320 in the embodiment can be Figure 4 The processor 110 in the network distribution auxiliary device 100 shown calls the computer execution instructions stored in the internal memory 120 to implement. Or, Fig.13 The function / implementation process of the processing module 1320 can be achieved by Figure 4 The processor 110 in the network distribution auxiliary device 100 shown calls the computer execution instructions stored in the internal memory 120 to implement, Fig.13The function / implementation process of the transceiver module 1310 can be Figure 4 The USB interface 130 in the network configuration auxiliary device 100 shown in FIG. 1 is used to implement the network configuration auxiliary device 100 .
[0225] Since the network distribution auxiliary equipment provided in the embodiment of the present application (which may be a chip of the network distribution auxiliary equipment, or a module of the network distribution auxiliary equipment, or an internal device of the network distribution auxiliary equipment) can execute the above-mentioned signal transmission method, the technical effects that can be obtained can be referred to the above-mentioned method embodiments and will not be repeated here.
[0226] Alternatively, taking the communication device as an IoT device in the above method embodiment (which may be a chip of an IoT device, or a module of an IoT device, or an internal device of an IoT device) as an example, the IoT device includes a transceiver module 1310 and a processing module 1320. The transceiver module 1310, which may also be referred to as a transceiver unit, is used to implement a transceiver function, and may be, for example, a transceiver circuit, a transceiver, a transceiver or a communication interface.
[0227] In one solution, the transceiver module 1310 is used to receive first information, where the first information is that the network configuration auxiliary device determines that the distance to the IoT device is within a first distance, and the network configuration auxiliary device prompts the user to perform an authorization operation. The first information is sent in response to the user's authorization operation, and the first information is used for the IoT device to access the target router.
[0228] The processing module 1320 is configured to access a target router according to the first information.
[0229] In an embodiment of the present application, the transceiver module 1310 is used to receive a first broadcast message, measure the signal strength of the first broadcast message, and send a first response message, wherein the first response message includes the signal strength of the first broadcast message measured by the IoT device.
[0230] In an embodiment of the present application, the first response message also includes a device tag of the IoT device, where the device tag of the IoT device is used to identify the IoT device, or the device tag of the IoT device is used to identify the type of the IoT device.
[0231] Exemplarily, the authorization operation includes at least one of the following: tap, press, and shake.
[0232] In the embodiment of the present application, the transceiver module 1310 is used to receive a detection message from a network distribution auxiliary device, the detection message includes a first serial number and second information encrypted by a public key, and the second information is used to indicate a hardware response of the IoT device;
[0233] The processing module 1320 is used to trigger a hardware response according to the second information;
[0234] The transceiver module 1310 is used to receive confirmation information from the network distribution auxiliary device, and access the target router according to the confirmation information, and the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
[0235] The transceiver module 1310 is used to send a second broadcast message to the network distribution auxiliary device. The second broadcast message includes the media access control MAC address and public key of the IoT device. The MAC address and public key are used to generate a first serial number encrypted by the public key.
[0236] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. Optionally, the communication device 1300 may also include a storage module 1330, which can be used to store instructions or and / or data, and the processing module 1320 can read the instructions or and / or data in the storage module 1330.
[0237] In the embodiment of the present application, the IoT device is presented in the form of dividing various functional modules in an integrated manner. The "module" here can refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, a person skilled in the art can imagine that the IoT device can be used Figure 6 The form of IoT device 200 is shown.
[0238] for example, Figure 6 The processor 210 in the IoT device 200 shown can call the computer execution instructions stored in the memory 220 to enable the IoT device 200 to execute the communication method in the above method embodiment.
[0239] Specifically, Fig.13 The functions / implementation processes of the transceiver module 1310 and the processing module 1320 in the embodiment can be Figure 6 The processor 210 in the IoT device 200 shown calls the computer execution instructions stored in the memory 220 to implement. Or, Fig.13 The function / implementation process of the processing module 1320 can be achieved by Figure 6 The processor 210 in the IoT device 200 shown calls the computer execution instructions stored in the memory 220 to implement, Fig.13 The function / implementation process of the transceiver module 1310 can be Figure 6 It is implemented by the communication interface 230 in the IoT device 200 shown in .
[0240] for example, Fig.131 is a schematic diagram of a communication device provided in an embodiment of the present application, and the communication device is taken as a network configuration auxiliary device in the above method embodiment (which may be a chip of a network configuration auxiliary device, or a module of a network configuration auxiliary device, or an internal device of a network configuration auxiliary device) as an example, and the network configuration auxiliary device includes a transceiver module 1310 and a processing module 1320. The transceiver module 1310, which may also be referred to as a transceiver unit for implementing a transceiver function, may be, for example, a transceiver circuit, a transceiver, a transceiver or a communication interface.
[0241] In one solution, the processing module 1320 is used to send a detection message to the IoT device, where the detection message includes a first serial number and second information encrypted by a public key, where the second information is used to indicate a hardware response of the IoT device;
[0242] The transceiver module is also used to send confirmation information to the IoT device in response to the hardware response of the IoT device, and the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
[0243] In an embodiment of the present application, the transceiver module 1310 is also used to receive a second broadcast message from the IoT device, the second broadcast message includes the media access control MAC address and public key of the IoT device, and the MAC address and public key are used to generate a first serial number encrypted by the public key.
[0244] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. Optionally, the communication device 1300 may also include a storage module 1330, which can be used to store instructions or and / or data, and the processing module 1320 can read the instructions or and / or data in the storage module 1330.
[0245] In the embodiment of the present application, the network distribution auxiliary device is presented in the form of dividing various functional modules in an integrated manner. The "module" here can refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, a person skilled in the art can imagine that the network distribution auxiliary device can be used Figure 4 The form of the distribution network auxiliary device 100 is shown.
[0246] for example, Figure 4 The processor 110 in the network configuration auxiliary device 100 shown can call the computer execution instructions stored in the internal memory 120 to enable the network configuration auxiliary device 100 to execute the communication method in the above method embodiment.
[0247] Specifically, Fig.13The functions / implementation processes of the transceiver module 1310 and the processing module 1320 in the embodiment can be Figure 4 The processor 110 in the network distribution auxiliary device 100 shown calls the computer execution instructions stored in the internal memory 120 to implement. Or, Fig.13 The function / implementation process of the processing module 1320 can be achieved by Figure 4 The processor 110 in the network distribution auxiliary device 100 shown calls the computer execution instructions stored in the internal memory 120 to implement, Fig.13 The function / implementation process of the transceiver module 1310 can be Figure 4 The USB interface 130 in the network configuration auxiliary device 100 shown in FIG. 1 is used to implement the network configuration auxiliary device 100 .
[0248] Since the network distribution auxiliary equipment provided in the embodiment of the present application (which may be a chip of the network distribution auxiliary equipment, or a module of the network distribution auxiliary equipment, or an internal device of the network distribution auxiliary equipment) can execute the above-mentioned signal transmission method, the technical effects that can be obtained can be referred to the above-mentioned method embodiments and will not be repeated here.
[0249] Alternatively, taking the communication device as an IoT device in the above method embodiment (which may be a chip of an IoT device, or a module of an IoT device, or an internal device of an IoT device) as an example, the IoT device includes a transceiver module 1310 and a processing module 1320. The transceiver module 1310, which may also be referred to as a transceiver unit, is used to implement a transceiver function, and may be, for example, a transceiver circuit, a transceiver, a transceiver or a communication interface.
[0250] In one solution, the transceiver module 1310 is used to receive a detection message from a network distribution auxiliary device, where the detection message includes a first serial number and second information encrypted by a public key, and the second information is used to indicate a hardware response of the IoT device;
[0251] A processing module 1320, configured to trigger a hardware response according to the second information;
[0252] The transceiver module 1310 is also used to receive confirmation information from the network distribution auxiliary device, and access the target router according to the confirmation information, and the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
[0253] In an embodiment of the present application, the transceiver module 1310 is also used to send a second broadcast message to the network distribution auxiliary device, and the second broadcast message includes the media access control MAC address and public key of the IoT device, and the MAC address and public key are used to generate a first serial number encrypted by the public key.
[0254] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. Optionally, the communication device 1300 may also include a storage module 1330, which can be used to store instructions or and / or data, and the processing module 1320 can read the instructions or and / or data in the storage module 1330.
[0255] In the embodiment of the present application, the IoT device is presented in the form of dividing various functional modules in an integrated manner. The "module" here can refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, a person skilled in the art can imagine that the IoT device can be used Figure 6 The form of IoT device 200 is shown.
[0256] for example, Figure 6 The processor 210 in the IoT device 200 shown can call the computer execution instructions stored in the memory 220 to enable the IoT device 200 to execute the communication method in the above method embodiment.
[0257] Specifically, Fig.13 The functions / implementation processes of the transceiver module 1310 and the processing module 1320 in the embodiment can be Figure 6 The processor 210 in the IoT device 200 shown calls the computer execution instructions stored in the memory 220 to implement. Or, Fig.13 The function / implementation process of the processing module 1320 can be achieved by Figure 6 The processor 210 in the IoT device 200 shown calls the computer execution instructions stored in the memory 220 to implement, Fig.13 The function / implementation process of the transceiver module 1310 can be Figure 6 It is implemented by the communication interface 230 in the IoT device 200 shown in .
[0258] It should be understood that one or more of the above modules or units can be implemented by software, hardware or a combination of the two. When any of the above modules or units are implemented in software, the software exists in the form of computer program instructions and is stored in a memory, and the processor can be used to execute the program instructions and implement the above method flow. The processor can be built into an SoC (system on chip) or an ASIC, or it can be an independent semiconductor chip. In addition to the core used to execute software instructions for calculation or processing in the processor, it can also further include necessary hardware accelerators, such as field programmable gate arrays (FPGA), PLDs (programmable logic devices), or logic circuits that implement dedicated logic operations.
[0259] When the above modules or units are implemented in hardware, the hardware can be any one or any combination of a CPU, a microprocessor, a digital signal processing (DSP) chip, a microcontroller unit (MCU), an artificial intelligence processor, an ASIC, a SoC, an FPGA, a PLD, a dedicated digital circuit, a hardware accelerator or a non-integrated discrete device, which can run the necessary software or not rely on the software to execute the above method flow.
[0260] Optionally, an embodiment of the present application further provides a communication device (for example, the communication device may be a chip or a chip system), which includes a processor for implementing the method in any of the above method embodiments. In one possible design, the communication device also includes a memory. The memory is used to store necessary program instructions and data, and the processor can call the program code stored in the memory to instruct the communication device to execute the method in any of the above method embodiments. Of course, the memory may not be in the communication device. When the communication device is a chip system, it may be composed of chips, or it may include chips and other discrete devices, which is not specifically limited in the embodiments of the present application.
[0261] Optionally, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program or instruction, and when the computer program or instruction is run on a communication device, the communication device can execute any of the above method embodiments or any of its implementation methods.
[0262] Optionally, an embodiment of the present application further provides a communication system, which includes the IoT device of the above method embodiment and the network distribution auxiliary device of the above method embodiment.
[0263] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with a medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0264] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0265] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A network access method, characterized in that: The method is applied to a distribution network auxiliary device, and the method comprises: When the distance between the network distribution auxiliary device and the IoT device is within a first distance, prompting the user to perform an authorization operation; In response to the user's authorization operation, first information is sent to the IoT device, where the first information is used for the IoT device to access a target router.
2. The method according to claim 1, characterized in that The method further comprises: Sending a first broadcast message; receiving a first response message, where the first response message includes a signal strength of the first broadcast message measured by the IoT device; Determine, based on the signal strength of the first broadcast message, that the distance between the network distribution auxiliary device and the IoT device is within a first distance.
3. The method according to claim 2, characterized in that The first response message also includes a device tag of the IoT device, where the device tag of the IoT device is used to identify the IoT device, or the device tag of the IoT device is used to identify the type of the IoT device; The determining, according to the signal strength of the first broadcast message, that the distance between the network distribution auxiliary device and the IoT device is within the first distance includes: According to the signal strength of the first broadcast message and the device tag of the IoT device, it is determined that the distance between the network configuration auxiliary device and the IoT device is within the first distance.
4. The method according to any one of claims 1 to 3, characterized in that The authorization operation includes at least one of the following: tap, press, and shake.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Sending a detection message, where the detection message includes a first serial number and second information encrypted by a public key, where the second information is used to indicate a hardware response of the IoT device; In response to a hardware response of the IoT device, confirmation information is sent to the IoT device, where the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
6. The method according to claim 5, characterized in that The method further comprises: A second broadcast message is received from the IoT device, where the second broadcast message includes a media access control MAC address of the IoT device and the public key, where the MAC address and the public key are used to generate a first serial number encrypted by the public key.
7. The method according to any one of claims 1 to 6, characterized in that The distance between the network distribution auxiliary device and the IoT device is obtained by periodic measurement.
8. A network access method, characterized in that: The method is applied to a distribution network auxiliary device, and the method comprises: Sending a detection message, wherein the detection message includes a first serial number and second information encrypted by a public key, wherein the second information is used to indicate a hardware response of an IoT device; In response to a hardware response of the IoT device, confirmation information is sent to the IoT device, where the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
9. The method according to claim 8, characterized in that The method further comprises: A second broadcast message is received from the IoT device, where the second broadcast message includes a media access control MAC address of the IoT device and the public key, where the MAC address and the public key are used to generate a first serial number encrypted by the public key.
10. A network access method, characterized in that: The method is applied to an IoT device, and the method comprises: receiving first information, wherein the first information is sent by the network configuration auxiliary device in response to the user's authorization operation after the network configuration auxiliary device determines that the distance between the device and the IoT device is within a first distance, and the first information is used for the IoT device to access a target router; Access the target router according to the first information.
11. The method according to claim 10, characterized in that The method further comprises: receiving a first broadcast message, and measuring a signal strength of the first broadcast message; Send a first response message, where the first response message includes the signal strength of the first broadcast message measured by the IoT device.
12. The method according to claim 11, characterized in that The first response message also includes a device tag of the IoT device, where the device tag of the IoT device is used to identify the IoT device, or the device tag of the IoT device is used to identify the type of the IoT device.
13. The method according to any one of claims 10 to 12, characterized in that The authorization operation includes at least one of the following: tap, press, and shake.
14. The method according to any one of claims 10 to 13, characterized in that The method further comprises: Receiving a detection message from the network distribution auxiliary device, the detection message including a first serial number and second information encrypted by a public key, the second information being used to indicate a hardware response of the IoT device; triggering the hardware response according to the second information; Receive confirmation information from the network distribution auxiliary device, and access the target router according to the confirmation information, wherein the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
15. The method according to claim 14, characterized in that The method further comprises: A second broadcast message is sent to the network configuration auxiliary device, where the second broadcast message includes the media access control MAC address of the IoT device and the public key, where the MAC address and the public key are used to generate a first serial number encrypted by the public key.
16. The method according to any one of claims 10 to 15, characterized in that The distance between the network distribution auxiliary device and the IoT device is obtained by periodic measurement.
17. A network access method, characterized in that: The method is applied to an IoT device, and the method comprises: Receive a detection message from a network distribution auxiliary device, wherein the detection message includes a first serial number and second information encrypted by a public key, and the second information is used to indicate a hardware response of the IoT device; triggering the hardware response according to the second information; Receive confirmation information from the network distribution auxiliary device, and access the target router according to the confirmation information, wherein the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
18. The method according to claim 17, characterized in that The method further comprises: A second broadcast message is sent to the network configuration auxiliary device, where the second broadcast message includes the media access control MAC address of the IoT device and the public key, where the MAC address and the public key are used to generate a first serial number encrypted by the public key.
19. A communication device, characterized in that: include: A processing module, configured to prompt a user to perform an authorization operation when the distance between the network distribution auxiliary device and the IoT device is within a first distance; The transceiver module is used to send first information to the IoT device in response to the user's authorization operation, where the first information is used for the IoT device to access the target router.
20. A communication device, characterized in that: include: a transceiver module, configured to receive first information, wherein the first information is sent in response to the user's authorization operation when the network configuration auxiliary device determines that the distance between the network configuration auxiliary device and the IoT device is within a first distance and the network configuration auxiliary device prompts the user to perform an authorization operation, and the first information is used for the IoT device to access a target router; A processing module is used to access the target router according to the first information.
21. A communication device, characterized in that: include: A transceiver module, used to send a detection message to an IoT device, wherein the detection message includes a first serial number and second information encrypted by a public key, and the second information is used to indicate a hardware response of the IoT device; The transceiver module is also used to send confirmation information to the IoT device in response to a hardware response of the IoT device, where the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
22. A communication device, characterized in that: include: A transceiver module, used to receive a detection message from a distribution network auxiliary device, wherein the detection message includes a first serial number and second information encrypted by a public key, and the second information is used to indicate a hardware response of the IoT device; A processing module, configured to trigger the hardware response according to the second information; The transceiver module is also used to receive confirmation information from the network distribution auxiliary device, and access the target router according to the confirmation information, wherein the confirmation information is used to confirm the IoT device corresponding to the first serial number encrypted by the public key.
23. A communication device, characterized in that: The communication device comprises a processor; the processor is used to run a computer program or instruction, or to enable the communication device to execute the method according to any one of claims 1 to 7, or to enable the communication device to execute the method according to any one of claims 10 to 16 through a logic circuit.
24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions or programs, which, when executed on a computer, enable the communication device to execute the method according to any one of claims 1 to 7, or enable the communication device to execute the method according to any one of claims 10 to 16.
25. A communication system, characterized in that: The communication system comprises the communication device according to claim 19 and claim 20.
26. A communication device, characterized in that: The communication device comprises a processor; the processor is used to run a computer program or instruction, or to use a logic circuit to make the communication device execute the method as claimed in claims 8 and 9, or to make the communication device execute the method as claimed in claims 17 and 18.
27. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions or programs. When the computer instructions or programs are executed on a computer, the communication device executes the method according to claims 8 and 9, or the communication device executes the method according to claims 17 and 18.
28. A communication system, characterized in that: The communication system comprises the communication device according to claim 19 and claim 20.
Citation Information
Cited By
Network access method and apparatus
EP4761187A1
Network access method and apparatus
WO2025044695A1