WO2022083431A1 - 一种物联网设备网络参数的配置方法、物联网设备、系统 - Google Patents
一种物联网设备网络参数的配置方法、物联网设备、系统 Download PDFInfo
- Publication number
- WO2022083431A1 WO2022083431A1 PCT/CN2021/121360 CN2021121360W WO2022083431A1 WO 2022083431 A1 WO2022083431 A1 WO 2022083431A1 CN 2021121360 W CN2021121360 W CN 2021121360W WO 2022083431 A1 WO2022083431 A1 WO 2022083431A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- internet
- accessed
- configuration
- online
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0889—Techniques to speed-up the configuration process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/28—Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
Definitions
- the present application relates to the technical field of the Internet of Things, and in particular, to a method for configuring network parameters of an Internet of Things device, an Internet of Things device, and a system.
- an IoT device When an IoT device is connected to the network, it is necessary to set the network parameters of the IoT device to be connected to the network one by one.
- IoT devices such as IP cameras, smart door locks, various alarm sensors and lighting devices. , all require users to operate and configure these IoT devices individually.
- IP camera is also called IP CAMERA, abbreviated as IPC. It is composed of a network coding module and an analog camera. IPC can transmit surveillance images to remote devices through the network; the remote devices do not need professional software, as long as they have a standard web browser, they can obtain surveillance images.
- the network parameter configuration method is: through the application program in the user terminal such as the mobile phone, search for the IPC to be connected to the network whose wireless signal has been turned on; after searching for the IPC to be connected to the network, the application program in the user terminal and The IPC of the network to be accessed interacts to obtain the device information of the IPC of the network to be accessed; after the application in the user terminal obtains the device information of the IPC of the to-be-accessed network, it interacts with the network side device to obtain the network parameters of the IPC; The application program in the user terminal sends the acquired network parameters to the IPC, and connects the IPC to be accessed to the network into the network.
- This method requires user participation.
- the network parameter configuration method of related technologies is used to configure a large number of IPCs individually, which will result in heavy workload and low efficiency.
- the embodiments of the present application provide a method for configuring network parameters of an IoT device, an IoT device, and a system, so as to improve the efficiency of the IoT device accessing the network.
- an embodiment of the present application provides a method for configuring network parameters of an IoT device, the method comprising:
- the currently online IoT device serving as the configuration device triggers a second interaction of network parameter configuration with the IoT device to be connected to the network;
- the first interaction at least includes: receiving a second command indication message from the user side, where the second command indication message is used to: instruct the currently online IoT device as a configuration device, and perform network parameter configuration on the IoT device to be accessed;
- the second command indication message carries the device information of the IoT device to be connected to the network;
- the second interaction at least includes: in response to the second command indication message, performing network parameter configuration on the device information of the IoT device to be accessed in the network.
- the currently online IoT device serving as the configuration device includes:
- Any currently online IoT device under the user account triggers a third interaction of searching for the network IoT device to be accessed around it in response to the selection of the first configuration mode on the user side, wherein the first configuration mode is: selecting the current online device Networked devices are used as configuration devices to configure network parameters;
- the any currently online Internet of Things device returns the searched device information of the Internet of Things device to be accessed to the user side, so that the user side can select the current online Internet of Things device as the configuration device, and make the user side view all the Internet of Things devices. Selecting the current online IoT device as the configuration device to send the second command instruction message;
- the performing network parameter configuration on the device information of the Internet of Things device to be accessed in response to the second command indication message includes:
- any currently online IoT device under the user account triggers a third interaction of searching for the surrounding network IoT devices to be accessed in response to the first configuration mode selection on the user side, including:
- Any currently online IoT device under the user account receives a first command indication message from the user side, where the first command indication message carries the device information of the IoT device to be connected to the network;
- the method further includes:
- the currently online IoT device as the configuration device triggers the fifth interaction between the currently online IoT device as the configuration device and the IoT device to be connected to the online failure cause query. interact.
- the first command indication message is sent by the user side based on the selected first configuration mode; wherein, the first configuration mode is selected by the user side according to the device information of the currently online IoT device under the user account that is searched for ;
- the searching, in response to the first command indication message, the Internet of Things devices to be accessed around the currently online Internet of Things devices includes:
- the parsing the first listening response to obtain the device information of the Internet of Things device to be accessed that is searched including:
- the searched Internet of Things devices According to the signal strength of the first listening response, sort the searched Internet of Things devices to be connected to the network, and obtain the configuration order of the current online Internet of Things devices and the Internet of Things devices to be connected to the network for the user side to follow the configuration
- the current online IoT device is selected as the configuration device in sequence.
- the currently online IoT device serving as the configuration device triggers the current online IoT device serving as the configuration device to go online with the IoT device to be accessed in response to the fourth interaction of querying the cause of the failure to go online with the user side.
- the fifth interaction of the failure reason query including:
- the currently online IoT device serving as the configuration device receives a fourth query request from the user side to query the reason for the failure to go online, where the fourth query request carries the device information of the IoT device to be connected to the network,
- the configuration mode includes a first configuration mode and a second configuration mode of manually performing network parameter configuration.
- query the Internet of Things device of the to-be-accessed network for the reason for the failure to go online including:
- a third snooping response from the IoT device to be accessed in response to the third snooping request is received, where the third snooping response carries device information of the IoT device to be accessed and the reason for the failure to go online.
- the second command indication message, the first command indication message, and the fourth query request are sent by the user side to the currently online IoT device through the cloud platform;
- the Internet of Things device to be connected to the network After the Internet of Things device to be connected to the network is connected to the network, it is registered with the cloud platform, and the database under the user account in the cloud platform is updated to increase the registered device information of the Internet of Things device to be connected to the network;
- the first interception request, the second interception request, the first interception response, and the third interception response are air interface broadcast signals
- valid data fields in the air interface broadcast signals include: encrypted feature information and the Device information of the Internet of Things device to be connected to the network, wherein the data content in the valid data field is obtained when the device information of the Internet of Things device to be connected to the network is successfully decrypted.
- an embodiment of the present application provides an Internet of Things device, including a memory and a processor, the memory stores a computer program, and the processor is configured to implement the network parameters of the Internet of Things device as described in any one of the above when executed. the steps of the configuration method.
- an embodiment of the present application provides a terminal for configuring network parameters of an IoT device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to perform the following steps:
- the first interaction at least includes: sending a second command indication message to the currently online IoT device as a configuration device, where the second command indication message is used to: indicate that the currently online IoT device is used as a configuration device to be connected to the Internet of Things device.
- the device configures network parameters; the second command instruction message carries the device information of the IoT device to be connected to the network, so as to trigger the first step of configuring the network parameters between the current online IoT device as the configuration device and the IoT device to be connected to the network.
- the second interaction enables the currently online IoT device as the configuration device to perform network parameter configuration on the device information of the IoT device to be connected to the network in response to the second command indication message.
- an embodiment of the present application provides an Internet of Things system, including at least one Internet of Things device, and the Internet of Things device is configured to implement the steps of any of the methods for configuring network parameters of the Internet of Things device.
- the system further includes at least one terminal for configuring network parameters of the IoT device;
- the terminal includes a memory and a processor, the memory stores a computer program, and the processor is configured to perform the following steps:
- the first interaction includes at least sending a second command indication message to the currently online IoT device that is the configuration device, where the second command indication message is used to: indicate that the currently online IoT device is used as a configuration device to be connected to the Internet of Things device.
- the device configures network parameters; the second command instruction message carries the device information of the IoT device to be connected to the network, so as to trigger the first step of configuring the network parameters between the current online IoT device as the configuration device and the IoT device to be connected to the network.
- the second interaction enables the currently online IoT device as the configuration device to perform network parameter configuration on the device information of the IoT device to be connected to the network in response to the second command indication message.
- the system further includes: a cloud platform for operating and maintaining the IoT devices in the IoT system, the cloud platform is configured between the terminal and the current online IoT device, and the transmission interaction information on the first interaction;
- the interaction information includes: interaction information used for configuration mode selection, and interaction information used to select a currently online Internet of Things device as a configuration device;
- the device information of the currently online IoT device is stored in the cloud platform.
- an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, a method for configuring network parameters of any of the IoT devices is implemented A step of.
- an embodiment of the present application provides a computer program that, when the computer program is executed by a processor, implements the steps of any of the methods for configuring network parameters of an Internet of Things device.
- the network parameter configuration is performed on the IoT device to be connected to the network, so that the current online IoT device and each IoT device to be accessed are connected to the network.
- the number of configuration devices is greatly increased, so that the number of Internet of Things devices to be connected to the network that simultaneously configure network parameters can be greatly increased, which greatly improves the efficiency of configuring network parameters for a large number of Internet of Things devices to be connected to the network.
- the problem of low efficiency in configuring network parameters for a large number of IoT devices to be connected to the network reduces the workload of manual operations.
- the device information of the IoT device to be connected to the network is used as the key to encrypt the valid data, avoiding the need for the first time.
- the risk of three-party interception and analysis is more secure for the security of IoT devices under the premise of ensuring functions.
- FIG. 1a is a schematic flowchart of a method for configuring network parameters of a network camera according to an embodiment of the present application.
- FIG. 1b is a schematic diagram of an overall flow of a method for configuring network parameters of a network camera through a cloud platform according to an embodiment of the present application.
- FIG. 2 is a schematic flowchart of the interaction between the user terminal side and the cloud platform.
- FIG. 3 is a schematic diagram of the interaction between the cloud platform and the current online IPC.
- FIG. 4 is a schematic diagram of the interaction between the current online IPC and the network IPC to be accessed.
- FIG. 5 is a schematic flowchart of a method for implementing a method for configuring IPC network parameters of a network to be accessed when the user terminal and the currently online IPC are in the same wireless network.
- FIG. 6 is a schematic diagram of an IPC provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a user terminal according to an embodiment of the present application.
- the application program on the user terminal side instructs the currently online IoT device to interact with the IoT device to be connected to the network, so that the currently online IoT device is used as a configuration device, and the configuration device is used to connect the IoT device to the network.
- the networked device configures network parameters, so that the IoT device to be connected to the network can access the network.
- the device information and related data of the IoT device are stored in a cloud platform, which is maintained and operated by the cloud platform.
- the cloud platform is a network-side device, and the cloud platform can be local nodes such as an access point (Access Point, AP) and a router.
- Online IoT devices are IoT devices that have been connected to the network.
- the Internet of Things device as a network camera as an example, which is not limiting.
- the number of currently online IPCs may be one or more, and the number of network IPCs to be accessed may be one or more.
- the current online IPC as the configuration device is referred to as the configuration device for short, and the application (Application, APP) on the user terminal side is referred to as the user side for short, which does not play a limiting role.
- the user is the user indicated by the user account logged in on the user side.
- the current online IPC of the user and the IPC of the network to be accessed refer to the IPC under the user account.
- the IPC under the user account refers to the IPC managed by the user.
- the current online IPC refers to the IPC that has been connected to the network.
- the IPC of the network to be accessed refers to the IPC that needs to be connected to the network.
- FIG. 1a is a schematic flowchart of a method for configuring network parameters of a network camera according to an embodiment of the present application.
- the user side completes the selection of the configuration mode and the selection of the current online IPC as the configuration device.
- the cloud platform transmits the interaction information for selecting the configuration mode and the interaction information for selecting the current online IPC as the configuration device between the user side and the current online IPC.
- the cloud platform transmits two types of interaction information, such as the first type of interaction information and the second type of interaction information.
- the first type of interaction information is used for the user side to select a configuration mode; the second type of interaction information is used for the user side to select a configuration device from the current online IPC.
- the current online IPC as the configuration device performs network parameter configuration on the IPC of the network to be accessed, so that the IPC of the network to be accessed accesses the network.
- the configuration device performs network parameter configuration on the IPC of the network to be accessed, so that the IPC of the network to be accessed accesses the network.
- the user side performs an online failure reason query interaction with the currently online IPC that is the configuration device.
- the cloud platform transmits the interaction information for querying the reason for the failure to go online of the IPC of the network to be accessed between the user side and the currently online IPC.
- the cloud platform transmits one type of interaction information, such as the third type of interaction information.
- the third type of interaction information is used by the user side to query the reason for the failure to go online of the IPC of the network to be accessed.
- the failure to go online of the IPC of the network to be accessed refers to the failure to configure the network parameters of the IPC of the network to be accessed.
- the current online IPC as the configuration device and the network IPC to be accessed perform an online failure reason query interaction.
- the configuration device and the to-be-accessed network IPC perform an online failure reason query interaction.
- the first interaction may further include: in response to the selection of the first configuration mode on the user side, any currently online IPC under the user account triggers a third interaction of searching for the IPC of the network to be accessed around it.
- the current online IPC triggers the third interaction to search for the IPC of the network to be accessed around the current online IPC.
- the IPC of the network to be accessed is within the signal coverage of the current online IPC, that is, the current online IPC can receive the signal sent by the IPC of the network to be accessed, then the IPC of the network to be accessed is around the current online IPC , it can also be understood that the IPC of the network to be accessed is within the search range of the currently online IPC.
- FIG. 1b is a schematic diagram of an overall flow of a method for configuring network parameters of a network camera through a cloud platform according to an embodiment of the present application.
- the overall process can include three stages:
- Stage 1 obtains the information about the IPC of the network to be accessed by the user through the application program on the user terminal side;
- the user side obtains the device information under the user account to be connected to the network IPC.
- Stage 2 including steps 102 to 107, obtains all current online IPCs of the user through the application program on the user terminal side, for the user to select as the current online IPC of the configuration device;
- the user side obtains all the current online IPCs under the user account, and selects the current online IPC as the configuration device from these current online IPCs.
- the third stage includes steps 108 to 112, instructing the configuration device to configure the network parameters of the IPC of the network to be accessed through the application program on the side of the user terminal.
- the user side instructs the configuration device to configure the network parameters of the IPC of the network to be accessed.
- Step 101 the user side obtains the device information of the network IPC to be accessed.
- the device information may include device identification information, for example, a device serial number (SN).
- the device information may also include the device model and the like.
- the user side can obtain the device information of the IPC to be accessed by scanning the two-dimensional code of the IPC of the network to be accessed.
- the number of network IPCs to be accessed may be one or more.
- Step 102 the user side performs the a-th interaction with the cloud platform to obtain the current online IPC belonging to the user, that is, obtain all the current online IPCs under the user account.
- the a-th interaction please refer to the relevant description in Part 2 of FIG. 2 .
- the number of current online IPCs under the user account may be one or more.
- Fig. 1b is described by taking the online IPCs indicating that there are multiple online IPCs under the user account as an example, which is not limiting.
- Step 103 the user side selects a network parameter configuration mode according to the returned online IPC device information.
- Step 103 may be: the user side judges whether there is a current online IPC under the user account, and determines a configuration mode of network parameters based on the judgment result of whether there is a current online IPC under the user account.
- the second configuration mode of manually performing network parameter configuration is selected.
- step 104 When the first configuration mode is selected, proceed to step 104:
- Step 104 the user side performs the b-th interaction with the current online IPC through the cloud platform, so as to instruct the current online IPC to search for the IPC of the network to be accessed around it.
- the b-th interaction please refer to the related description in Part 3 of FIG. 3 .
- the user side obtains the device information of the IPC of the network to be accessed by scanning the two-dimensional code of the IPC of the network to be accessed, that is, the IPC of the network to be accessed is the IPC corresponding to the two-dimensional code.
- the user side determines that there is a current online IPC under the user account
- the user side performs the b-th interaction with the current online IPC through the cloud platform to check whether there is an IPC corresponding to the QR code around the current online IPC under the user account.
- Step 105 the current online IPC performs the c-th interaction with the IPC of the network to be accessed by listening to the broadcast signal, so as to search for the IPC of the network to be accessed around it.
- the c-th interaction please refer to the relevant description in Part 4 of FIG. 4 .
- Step 106 the current online IPC and the cloud platform perform the d-th interaction, so as to store the device information of the IPC of the network to be accessed that is searched by the current online IPC, and the association relationship between the current online IPC and the IPC of the network to be accessed that is searched. in the cloud platform.
- the current online IPC updates the searched device information of the network IPC to be accessed and the association relationship between the current online IPC and the searched IPC to be accessed to the database of the cloud platform.
- the d-th interaction please refer to the related description in Part 3 of FIG. 3 .
- Step 107 the user side performs the e-th interaction with the cloud platform to select the current online IPC that can be used as the configuration device.
- the e-th interaction please refer to the related description in Part 2 of FIG. 2 .
- step 108 If the current online IPC as the configuration device can be selected, continue to perform network parameter configuration in the first configuration mode, and execute step 108; otherwise, switch to the second configuration mode to perform network parameter configuration.
- Step 108 the user side uses the selected current online IPC as the configuration device, and performs the fth interaction with the configuration device through the cloud platform to instruct the configuration device to configure the network parameters of the IPC of the network to be accessed.
- the f-th interaction please refer to the related description in Part 3 of FIG. 3 .
- Step 109 the configuration device performs the gth interaction with the IPC of the network to be accessed, so as to configure the network parameters of the IPC of the network to be accessed, so that the IPC of the network to be accessed accesses the network.
- the gth interaction please refer to the related description in Figure 4.
- the IPC of the network to be accessed accesses the network according to the network parameters.
- the network can be accessed based on an access point (Access Point, AP) access function provided by the configuration device as a hotspot.
- AP Access Point
- the configuration device can be used as a hotspot to provide the AP access function for the IPC of the network to be accessed.
- the configuration device provides the AP access function. Therefore, through the configuration device, the IPC of the network to be accessed can access the network according to network parameters.
- the to-be-accessed network IPC accesses the network
- the to-be-accessed network IPC interacts with the cloud platform in the hth, so as to register on the cloud platform and become an online IPC.
- Step 110 the user side performs the i-th interaction with the cloud platform to inquire whether the IPC of the network to be accessed is successfully online.
- the i-th interaction please refer to the related description in Part 2 of FIG. 2 .
- step 111 is performed; if the online is successful, the process ends.
- Step 111 the user side performs the jth interaction with the configuration device through the cloud platform, to obtain the reason why the configuration device fails to obtain online.
- Step 112 the user side selects a configuration mode according to the reason for the failure to go online, that is, the user side determines whether to reconfigure the network parameters in the first configuration mode.
- the user side For the j-th interaction, please refer to the related descriptions in FIG. 3 and FIG. 4 .
- the process returns to step 108; if the second configuration mode is selected, the configuration is performed manually.
- step 105 and step 109 are performed in an asynchronous manner, so that the process of configuring the network parameters of the IoT device to be accessed by the configuration device can be performed in parallel with the operation on the user side. , which is beneficial to improve the configuration efficiency.
- the user operation on the user side is made indifferent to the asynchronously executed network parameter configuration of the IoT device to be connected to the network, which provides a better user interface and experience and facilitates the user's operation.
- a configuration device is selected from the current online IPC, and the configuration device configures network parameters for the network IPC to be accessed, so that the IPC of the network to be accessed accesses the network.
- the IPC of the network to be accessed can also be used as a configuration device to configure network parameters for another IPC of the network to be accessed, and so on. After the IPC is successfully connected to the network, it can be used as a configuration device, which greatly increases the number of configuration devices, thereby greatly improving the efficiency of network parameter configuration for the IPC of the network to be accessed.
- FIG. 2 is a schematic flowchart of the interaction between the user side and the cloud platform, including the a-th interaction, the e-th interaction, and the i-th interaction in the steps described in FIG. 1 b .
- Step 201 considering that the online IPC already belongs to a certain user, the user side interacts with the cloud platform for authentication, and after the authentication is passed, a first query request for querying the current online IPC is sent to the cloud platform.
- Step 201 may be: the user side interacts with the cloud platform, so that the cloud platform authenticates the user side; after the authentication is passed, the user side may send a first query request to the cloud platform.
- the first query request is used to query the current online IPC under the user account.
- the user side may send information such as a user name and password to the cloud platform, so that the cloud platform can authenticate the user side.
- the authentication method is not specifically limited.
- Step 202 the cloud platform queries the database in response to the first query request, and returns a first response message carrying the device information of all currently online IPCs to the user side.
- the database is used to store the device information of the current online IPC under different user accounts.
- Step 202 may be: the cloud platform receives the first query request sent by the user side, and according to the first query request, queries the database for the device information of the currently online IPC under the user account, and returns a first response message to the user side.
- the first response message includes the queried device information of all currently online IPCs.
- the user side After the user side selects the first configuration mode based on the returned device information of the current online IPC, the user side sends the current online IPC through the cloud platform a first command instruction message to search for the IPC of the surrounding network to be accessed.
- the first command indicates The message carries the device information of the network IPC to be accessed obtained in step 101 .
- the first command indication message is the search command.
- the user side can wait for the current online IPC to return the search result by loading the effect.
- the search result includes device information of the IPC to be accessed around the current online IPC.
- the cloud platform, the currently online IPC and the network IPC to be accessed perform b-th interaction, c-th interaction, and d-th interaction processing.
- step 203 after receiving the search result reported by the current online IPC, the cloud platform carries the current online IPC and the device information of the network IPC to be accessed within its search range in the second response message and sends it to the user. side, for the user to select the current online IPC participating in the network parameter configuration.
- Step 203 may be: for each currently online IPC, after receiving the search result reported by the currently online IPC, the cloud platform sends a second response message to the user side, where the second response message carries the device information of the currently online IPC, and Device information of the network IPC to be accessed around the current online IPC.
- the user side can determine the IPC of the first type based on the device information of the IPC to be accessed around each currently online IPC, so that the IPC of the first type can participate in the network parameter configuration.
- step 204 the cloud platform receives a second query request from the user side to query the device information of the currently online IPC that can participate in the network parameter configuration; step 205, in response to the second query request, all currently online IPC, And the device information of the network IPC to be accessed within its search range is carried in the second response message and sent to the user side.
- Step 204 may be: the user side sends a second query request to the cloud platform, where the second query request is used to query the device information of the current online IPC that can participate in the network parameter configuration.
- Step 205 may be: the cloud platform parses the second query request, and sends a second response message to the user side. The second response message carries the current online IPC list.
- the second query request may be understood as an online instruction for querying and discovering a new IPC.
- the second response message may further carry the configuration sequence between the current online IPC and the IPC device to be accessed in the network.
- the configuration order is used to indicate: in all the IPCs of the network to be accessed that are searched by the current online IPC, the order in which the network parameters of the IPC of the network to be accessed are configured by the current online IPC; or, the configuration order is used to indicate: in the search Among all the current online IPCs of the network IPC to be accessed, the current online IPC performs the order of network parameter configuration for the network IPC to be accessed.
- Step 206 the user side determines whether there is a current online IPC based on the information in the second response message, and if so, continues to perform network parameter configuration in the first configuration mode, and executes step 207; otherwise, switches to the second configuration mode to perform Network parameter configuration.
- Step 206 may be: the user side determines whether the current online IPC list carried in the second response message is empty. If yes, it is converted to perform network parameter configuration in the second configuration mode; if not, continue to perform network parameter configuration in the first configuration mode, and go to step 207 .
- Step 207 the user side selects the current online IPC participating in the network parameter configuration as the configuration device, and sends a second command indication message for configuring the IPC of the network to be accessed to the configuration device through the cloud platform, and the second command indication message carries the network to be accessed.
- Device information for IPC is included in the configuration device.
- the second command indication message may be understood as a network configuration command (REQ).
- the user side selects the current online IPC participating in the network parameter configuration as the configuration device, and sends a second command indication message to the configuration device through the cloud platform.
- REQ network configuration command
- the user side selects the current online IPC as the configuration device for the network IPC device to be accessed according to the configuration sequence between the current online IPC and the network IPC device to be accessed.
- Step 208 the user side waits for the configuration device to complete the configuration of the network parameters of the IPC of the network to be accessed by loading the effect.
- the cloud platform, the currently online IPC and the network IPC to be accessed perform the f-th interaction, the g-th interaction, and the h-th interaction processing.
- Step 209 the user side sends a third query request for whether the IPC of the network to be accessed is online to the cloud platform.
- Step 209 may be: the user side sends a third query request to the cloud platform, where the third query request is used to query whether the IPC of the network to be accessed is online.
- Step 210 the cloud platform returns the query result to the user side in response to the third query request.
- the query result may include the successful online IPC of the network to be accessed and the failure to go online of the IPC of the network to be accessed.
- FIG. 3 is a schematic diagram of the interaction between the cloud platform and the current online IPC, including the bth interaction, the dth interaction, the fth interaction and the jth interaction in the steps described in FIG. 1b.
- the b-interaction and the d-th interaction are stage 1, that is, the current online IPC searches for the IPC of the network to be accessed.
- the f-th interaction and the j-th interaction are the second phase, that is, the current online IPC as the configuration device performs network parameter configuration and failure cause feedback phase.
- Step 301 the cloud platform sends a first command indication message from the user side to the current online IPC, where the first command indication message carries the device information of the IPC to be accessed in the network.
- Step 302 the current online IPC parses the first command indication message, obtains the device information of the network IPC to be accessed, and returns a third response message in response to the first command indication message to the user side through the cloud platform to notify the user side of the third response message.
- the d-th interaction is performed.
- Step 303 the current online IPC sends the searched device information of the IPC to be accessed to the cloud platform, and reports the searched device information of the IPC to be accessed to the network.
- the currently online IPC may also send the configuration sequence between the currently online IPC and each IPC device to be accessed to the cloud platform.
- Step 304 the cloud platform increases the association relationship between the current online IPC under the user account and the device information of the searched IPC to be connected to the network according to the reported information of the current online IPC, and adds the searched network to be accessed under the user account. IPC's device information to update the database in this user account.
- the reported information may include: device information of the IPC to be accessed that is searched by the current online IPC, and the configuration order between the current online IPC and each IPC device to be accessed.
- Step 305 the cloud platform feeds back the confirmation of the reported information to the current online IPC.
- Step 306 the cloud platform sends a second command indication message from the user side to the current online IPC as the configuration device to trigger the configuration device to perform network parameter configuration on the IPC of the network to be accessed, and the second command indication message carries the network to be accessed.
- Device information for IPC is included in Step 306
- Step 307 the current online IPC of the configuration device (referred to as the configuration device for short) parses the second command indication message, and after obtaining the device information of the IPC to be connected to the network, returns a confirmation of the second command indication message to the cloud platform.
- the configuration device parses the second command indication message, and after obtaining the device information of the IPC to be connected to the network, returns a confirmation of the second command indication message to the cloud platform.
- the cloud platform notifies the user side that the network parameter configuration has been completed.
- the configuration device may send a network configuration packet to the IPC of the network to be accessed, where the network configuration packet carries network parameters required by the IPC of the network to be accessed.
- the IPC of the network to be accessed is configured according to the network parameters carried in the distribution network packet to access the network.
- the network parameter configuration of the IPC of the to-be-accessed network is successful, and the configuration device notifies the user side that the network parameter configuration has been completed through the cloud platform. If the network parameter configuration of the IPC of the network to be accessed has not been completed, the network parameter configuration of the IPC of the network to be accessed fails, and the configuration device can collect information such as the reason for the configuration failure.
- step 308 the cloud platform sends a fourth query request from the user side for querying the reason for the failure to go online to the configuration device (that is, the current online IPC), and the fourth query request carries the device to be connected to the network IPC. information.
- Step 308 may be: the cloud platform sends a fourth query request from the user side to the configuration device, where the fourth query request is used to query the reason why the IPC of the network to be accessed fails to go online. Failure to go online means that the network parameter configuration fails.
- Step 309 configure the device to parse the fourth query request, obtain the device information of the IPC to be connected to the network, query the reason for the failure to go online, return the reason for the failure to go online through the cloud platform, and store the reason for the unsuccessful online query in the cloud. in the platform.
- Step 309 may be: the configuration device parses the fourth query request, and obtains the device information of the IPC of the network to be accessed; after that, the configuration device inquires about the reason why the IPC of the network to be accessed fails to go online according to the device information of the IPC of the to-be-accessed network, and through the cloud The platform returns to the user side the reason for the unsuccessful online IPC of the network to be accessed, and updates the reason for the unsuccessful IPC online of the to-be-accessed network to the database of the cloud platform.
- step 310 when the configuration device fails to configure the network parameters of the IPC of the network to be accessed, the cloud platform notifies the user side of the IPC of the network to be accessed that fails to configure and the reason for the configuration failure, and reports and stores the configuration failure to the cloud platform.
- the IPC of the network to be accessed and the reason for the configuration failure when the configuration device fails to configure the network parameters of the IPC of the network to be accessed, the cloud platform notifies the user side of the IPC of the network to be accessed that fails to configure and the reason for the configuration failure, and reports and stores the configuration failure to the cloud platform.
- the IPC of the network to be accessed and the reason for the configuration failure when the configuration device fails to configure the network parameters of the IPC of the network to be accessed.
- Step 310 may be: when the configuration device fails to configure the network parameters of the network IPC to be accessed, the cloud platform notifies the user side of the failure to configure the IPC parameters of the network to be accessed and the reason for the failure, and reports the failure to configure the IPC parameters of the network to be accessed and the failure reason.
- the failure reason is updated to the database of the cloud platform.
- the cloud platform After the cloud platform finishes updating the database based on the reported information, it returns confirmation information to the configuration device.
- the reported information may include: the IPC of the network to be accessed, and the reason for the configuration failure.
- FIG. 4 is a schematic diagram of the interaction between the current online IPC and the network IPC to be accessed, including the cth interaction, the gth interaction and the jth interaction in the steps described in FIG. 1b.
- the current online IPC receives the first command indication message, and after parsing the first command indication message, sends a first listening request (Probe req), and searches the surrounding network IPC to be accessed with the current online IPC.
- the first interception request may be an air interface broadcast signal, and a valid data (value) field in the first interception request may include encryption feature information and device information of the network IPC to be accessed. Valid data fields are private fields.
- Step 402 After the access network IPC receives the first interception request, it parses the first interception request, decrypts the valid data field in the first interception request with the device identification information in its device information, and deciphers the valid data field in the first interception request. The data content (payload) in the data field is checked and verified.
- the device identification information may include SN, model, and the like.
- the verification succeeds; otherwise, the verification fails.
- Step 403 when the access network IPC successfully checks the data content in the valid data field, in response to the first interception request, returns the first interception response (Probe resp) of the first interception request to the current online IPC , so that the current online IPC obtains the device information of the IPC to be accessed through its search.
- the access network IPC When the access network IPC fails to verify the data content in the valid data field, it may not perform processing, or may return the first interception response of the first interception request to the current online IPC to notify the current online IPC that the search fails.
- the first listening response may be an air interface broadcast signal, and the valid data (value) field in the first listening response may include encrypted feature information and device information of the IPC of the network to be accessed; the data content in the valid data field (net load) is encrypted by the device identification information of the network IPC to be accessed, and the checksum of the data content is carried in the valid data field as check data.
- the same IPC of the network to be accessed may be searched by multiple currently online IPCs, or a current online IPC can search for multiple IPCs of the network to be accessed, in order to match the IPCs of the networks to be accessed, a better configuration of the signal
- the device configures the network parameters.
- the matching degree of the configured device and the IPC of the network to be accessed is sorted according to the strength of the listening signal, for example:
- the current online IPC sorts the searched IPCs of the network to be accessed according to the strength of the first listening response signal, so as to obtain the configuration order of the current online IPC and each of the searched IPCs of the network to be accessed;
- the network IPC to be accessed sorts the current online IPCs according to the strength of the first listening request signal to obtain the configuration order of the network IPC to be accessed and each current online IPC, and carries the configuration order in the first listening response signal. is returned to each currently online IPC.
- Step 404 the current online IPC serving as the configuration device receives the second command indication message, and after parsing the second command indication message, sends a second listening request that carries network parameters and information about the device to be connected to the network IPC , to configure the network parameters of the IPC of the network to be accessed.
- the second interception request may be an air interface broadcast signal, and a valid data (value) field in the second interception request may include encryption feature information, IPC device information of the network to be accessed, and network parameters.
- the second listening request is an original network configuration packet, and the IPC of the network to be accessed may not respond to the configuration device.
- Step 405 After the access network IPC receives the second interception request, it parses the valid data field in the second interception request, obtains network parameters through decryption, and accesses the network according to the network parameters; After the IPC successfully accesses the network, it registers with the cloud platform to update the database of the user account and become the current online IPC under the user account.
- the IPC of the network to be accessed fails to access the network, that is, the network parameter configuration fails
- the IPC of the network to be accessed records the reason for the failure of the network parameter configuration, for example, the decryption is unsuccessful, or the network cannot be accessed.
- Step 406 After receiving the fourth query request from the user side, the current online IPC serving as the configuration device sends a third listening request carrying the device information of the IPC to be accessed in the network.
- the third interception request may be an air interface broadcast signal, and a valid data (value) field in the third interception request may include encryption feature information and device information of the network IPC to be accessed.
- the third listening request is used to query the reason for the failure of network parameter configuration.
- Step 407 After the access network IPC receives the third interception request, it parses the third interception request, decrypts the valid data field in the third interception request with the device identification information in its device information, and deciphers the valid data field in the third interception request. The data content (payload) in the data is checked and verified.
- the verification succeeds; otherwise, the verification fails.
- Step 408 when the access network IPC successfully verifies the data content in the valid data, in response to the third interception request, returns a third interception response of the third interception request to the current online IPC.
- the third interception response may be an air interface broadcast signal, carrying information about the device to be accessed to the network IPC and the reason for the failure, wherein the valid data field in the interception response of the third interception request may include encrypted feature information, information about the device entering the network IPC and the reason for the failure.
- the data content (payload) in the valid data field of the third interception response is: encrypting the device identification information of the IPC of the network to be accessed, and carrying the checksum of the data content in the valid data field as check data middle.
- the access network IPC When the access network IPC fails to verify the data content in the valid data, it may not process it, or it may return the third interception response of the third interception request to the current online IPC to notify the current online IPC that the pending The configuration device corresponding to the IPC of the access network.
- the interception request and interception response can be broadcast signals over the air, the interception request and interception response are encrypted, for example, using AES-128-CFB as the encryption algorithm, and the data content contains device identification information Waiting for private data, this ensures that IPCs that do not match the private data will not correctly decrypt the data content, avoiding the risk of data content leakage.
- FIG. 5 is a schematic flowchart of a method for configuring network parameters of the IPC of the network to be accessed when the user terminal and the currently online IPC are in the same wireless network.
- the user terminal and the current online IPC are in the same local area network, and the user side and the current online IPC can directly interact through a local node (such as an AP or a router) in the network, and the local node is not shown in FIG. 5 .
- a local node such as an AP or a router
- the processing process of the network parameter configuration of the IPC of the network to be accessed is as follows:
- Step 501 the user side obtains the device information of the network IPC to be accessed.
- the device information may include a device identifier, for example, a device serial number; the device information may also include a device model.
- Step 502 after the authentication is passed, the user side searches the current online IPCs under the user account to obtain the device information of all currently online IPCs in the same network.
- Step 503 the user side selects a network parameter configuration mode according to the device information of the current online IPC.
- Step 503 may be: judging whether the current online IPC is searched in step 502 . If the current online IPC is found, it is determined that the current online IPC exists in the same wireless network; otherwise, the current online IPC does not exist in the same wireless network.
- the first configuration mode of configuring network parameters through a configuration device is selected; if there is no current online IPC, the second configuration mode of manually configuring network parameters is selected.
- Step 504 the user side broadcasts and sends a first command indication message to the current online IPC to instruct the current online IPC to search for the surrounding IPCs to be accessed.
- the first command indication message carries the device information of the IPCs to be accessed.
- Step 505 the current online IPC parses the first command indication message, obtains the device information of the IPC to be accessed, and returns an acknowledgement (also referred to as a third response message) in response to the first command indication message to notify The first command on the user side indicates that the message has been parsed successfully.
- an acknowledgement also referred to as a third response message
- steps 506 to 507 the currently online IPC searches for the IPC of the network to be accessed in response to the first command indication message, and the specific processing process is the same as that of steps 402 to 403.
- Step 508 the currently online IPC returns the searched device information of the IPC to be accessed to the user side.
- the returned device information of the network IPC to be accessed is arranged according to the strength of the listening signal, so that the user side can select the current online IPC as the configuration device from all the currently searched online IPCs.
- Step 509 the user side selects the current online IPC used as the configuration device, and sends a second command indication message to the current online IPC as the configuration device, to trigger the configuration device to perform network parameter configuration on the IPC of the network to be accessed, and the second command indicates The message carries the device information to be accessed to the network IPC.
- Step 510 The current online IPC of the configuration device (referred to as the configuration device for short) parses the second command indication message, and after obtaining the device information of the IPC to be connected to the network, returns confirmation of the second command indication message to the user side.
- the configuration device parses the second command indication message, and after obtaining the device information of the IPC to be connected to the network, returns confirmation of the second command indication message to the user side.
- Steps 511 to 512 the current online IPC as the configuration device, in response to the second command indication message, configures the network parameters of the IPC of the network to be accessed, so that the IPC of the network to be accessed accesses the network according to the network parameters, and the local node (such as the AP) or router) to become the current online IPC.
- the local node such as the AP or router
- the local node can be understood as a cloud platform.
- Step 513 after the current online IPC of the configuration device performs network parameter configuration, a message of success or failure of network parameter configuration is fed back to the user side, and the message may carry the reason for the configuration failure.
- Step 514 the user side searches for the current online IPC under the user account to check whether the IPC to be accessed is successfully online.
- step 515 If going online is unsuccessful, go to step 515;
- Step 515 the user side sends a fourth query request for querying the reason for unsuccessful online connection to the currently online IPC as the configuration device, where the fourth query request carries the device information of the IPC to be accessed.
- steps 516 to 518 the current online IPC of the configuration device, in response to the fourth query request, queries the IPC of the network to be accessed for the reason for the configuration failure, and the specific process is the same as that of steps 406 to 408 .
- Step 519 return the query result to the user side as the current online IPC of the configuration device.
- the query result includes the reason for the failure to configure the IPC of the network to be accessed.
- Step 520 the user side selects a configuration mode according to the reason why the IPC of the network to be accessed fails to go online.
- the configuration is performed manually.
- the embodiment of the present application realizes the network parameter configuration of the IPC that is to be connected to the network that is currently online as a configuration device in the same network, solves the problem of network parameter configuration and network access for multiple IPCs to be connected to the network, and reduces the The workload of the user is reduced, and the efficiency of the IPC to access the network is improved.
- the embodiments of the present application use private data (eg, device identification information) associated with the IPC of the network to be accessed as an encryption key, which increases the security of the configuration process and effectively prevents leakage of sensitive data.
- FIG. 6 is a schematic diagram of an IPC provided by an embodiment of the present application.
- This IPC includes:
- a first interaction module configured to trigger the second interaction of network parameter configuration with the IPC of the network to be accessed in response to the first interaction with the user side in the online state of the IPC, so as to configure the network parameters of the IPC of the network to be accessed,
- the to-be-connected IPC is made to access the network.
- the first interaction at least includes: receiving a second command indication message from the user side, where the second command indication message carries the device information of the IPC to be accessed;
- the second interaction at least includes: in response to the second command indication message, configuring network parameters of the device information of the IPC to be accessed;
- the IPC When the IPC is in the state to be connected to the network, in response to the second interaction triggered by the current online IPC as the configuration device, it performs configuration according to the network parameters sent by the current online IPC as the configuration device, and accesses the network.
- the first interaction module can also be used to:
- the third interaction of searching for the IPC of the surrounding network to be accessed is triggered;
- the device information of the IPC is returned to the current online IPC; response to the third interaction triggered by any current online IPC under the user account to search for the IPC of the network to be accessed around it, the device information of the IPC is returned to the current online IPC; response The fifth interaction of inquiring about the reason for the failure to go online is triggered by the current online IPC as the configuration device, and the reason for the failure to go online is returned to the current online IPC as the configuration device.
- the IPC receives the first command indication message from the user side, and in response to the first command indication message, triggers a third interaction of searching for the IPC of the network to be accessed around it.
- the first command indication message carries the device information to be accessed to the network IPC.
- FIG. 7 is a schematic diagram of a user terminal provided by an embodiment of the present application.
- the user terminal is a terminal used for configuring network parameters of the IoT device.
- the user terminal includes:
- the second interaction module performs the first interaction with the current online IPC
- the first interaction at least includes: sending a second command indication message to the currently online IPC serving as the configuration device, where the second command indication message carries the device information of the IPC to be accessed in the network, so as to trigger the current online IPC serving as the configuration device to communicate with the IPC currently online.
- the IPC of the network to be accessed performs the second interaction of network parameter configuration, so that the currently online IPC as a configuration device performs network parameter configuration on the device information of the IPC of the network to be accessed in response to the second command indication message.
- the second interaction module can also be used to:
- the first configuration mode is selected, and a first command instruction message is sent to the current online IPC to trigger the current online IPC to search for the third interaction of the surrounding network IPCs to be accessed;
- the IPC of the network to be accessed Query whether the IPC of the network to be accessed is online, so that when the IPC of the network to be accessed fails to go online, the IPC of the network to be accessed returns the reason for the failure to go online to the currently online IPC that is the configuration device.
- Embodiments of the present application further provide an IPC, where the IPC includes a memory and a processor, the memory stores a computer program, and when the processor is configured and executed, it implements the network parameters of any IoT device described in the embodiments. Steps to configure the method.
- An embodiment of the present application further provides a user terminal, where the user terminal includes a memory and a processor, the memory stores a computer program, and the processor is configured to perform the following steps:
- the first interaction at least includes: sending a second command indication message to the currently online IPC serving as the configuration device, where the second command indication message is used to: instruct the current online IPC as the configuration device to perform network parameter configuration on the IPC of the network to be accessed;
- the second command indication message carries the device information of the IPC to be accessed, so as to trigger the second interaction between the current online IPC as the configuration device and the IPC to be accessed to perform network parameter configuration, so that the current online IPC as the configuration device responds to the first
- the second command indication message is to configure the network parameters of the device information to be connected to the network IPC.
- the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage.
- RAM Random Access Memory
- NVM non-Volatile Memory
- the memory may also be at least one storage device located away from the aforementioned processor.
- the above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processing, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
- CPU Central Processing Unit
- NP Network Processor
- DSP Digital Signal Processing
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
- FPGA Field-Programmable Gate Array
- Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the method for configuring network parameters of any IoT device described in the embodiments is implemented A step of.
- the embodiments of the present application further provide a computer program, which implements the steps of the method for configuring network parameters of any IoT device described in the embodiments when the computer program is executed by a processor.
- Embodiments of the present application further provide an Internet of Things system, including at least one Internet of Things device, where the Internet of Things device is configured to implement the steps of any of the above methods for configuring network parameters of the Internet of Things device.
- the IoT system may further include at least one terminal for configuring network parameters of the IoT device;
- the terminal includes a memory and a processor, the memory stores a computer program, and the processor is configured to perform the following steps:
- the first interaction includes at least sending a second command indication message to the currently online IoT device that is the configuration device, where the second command indication message is used to: indicate that the currently online IoT device is used as a configuration device to be connected to the Internet of Things device.
- the device configures network parameters; the second command instruction message carries the device information of the IoT device to be connected to the network, so as to trigger the first step of configuring the network parameters between the current online IoT device as the configuration device and the IoT device to be connected to the network.
- the second interaction enables the currently online IoT device as the configuration device to perform network parameter configuration on the device information of the IoT device to be connected to the network in response to the second command indication message.
- the IoT system may further include: a cloud platform for operating and maintaining IoT devices in the IoT system, the cloud platform being configured between the terminal and the current online IoT device, transmitting interaction information for the first interaction;
- the interaction information includes: interaction information used for configuration mode selection, and interaction information used to select a currently online Internet of Things device as a configuration device;
- the device information of the currently online IoT device is stored in the cloud platform.
- the description is relatively simple, and for related parts, please refer to the partial description of the method embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
本申请实施例公开了一种物联网设备网络参数的配置方法、物联网设备、系统,该方法包括,作为配置设备的当前在线物联网设备响应于与用户终端侧的第一交互,触发与待接入物联网设备进行网络参数配置的第二交互,其中,第一交互至少包括:接收来自用户终端侧的第二命令指示消息,第二命令指示消息携带有待接入物联网设备的设备信息,第二交互至少包括:响应于第二命令指示消息,对待接入物联网设备的设备信息进行网络参数配置。本申请使得当前在线物联网设备以及每一个待接入物联网设备接入网络后都可以作为配置设备,这样,配置设备的数量大量增长,从而极大地提高了进行网络参数配置的效率,解决了大量待接入物联网设备进行网络参数配置的问题。
Description
本申请要求于2020年10月21日提交中国专利局、申请号为202011131315.1发明名称为“一种物联网设备网络参数的配置方法、物联网设备、系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及物联网技术领域,特别地,涉及一种物联网设备网络参数的配置方法、物联网设备、系统。
物联网设备接入网络时,需要逐一对待入网络的物联网设备进行网络参数的设置。例如,在物联网应用场景之一的智能家居系统中,通常会有网络摄像机、智能门锁、各类报警传感器和照明装置等多种类型的物联网设备,这些物联网设备在接入网络时,都需要用户对这些物联网设备单独进行操作配置。
以网络摄像机为例,网络摄像机又叫IP CAMERA,简称IPC,由网络编码模块和模拟摄像机组合而成,是一种结合传统摄像机与网络技术所产生的新一代摄像机。IPC可以将监视影像通过网络传输至远端的设备;远端的设备不需具有专业软件,只要具有标准的网络浏览器,即可获得监视影像。
IPC接入网络时,需要对IPC进行网络参数配置,方能使IPC成功接入网络。相关技术中,网络参数配置方法是:通过手机等用户终端中的应用程序,搜索已开启无线信号的待接入网络的IPC;搜索到待接入网络的IPC后,用户终端中的应用程序与待接入网络的IPC交互,以获取待接入网络的IPC的设备信息;用户终端中的应用程序获得待接入网络的IPC的设备信息后,与网络侧设备交互获得该IPC的网络参数;用户终端中的应用程序将获取的网络参数发送至IPC,并将待接入网络的IPC接入至网络中。
该方法需要用户参与,在大量IPC需要接入网络时,例如,某工业园区安装大量IPC时,采用相关技术的网络参数配置方法对大量IPC进行单独配置,将导致工作量大,效率低下。
发明内容
本申请实施例提供了一种物联网设备网络参数的配置方法、物联网设备、系统,以提高物联网设备接入网络的效率。
第一方面,本申请实施例提供了一种物联网设备网络参数的配置方法,该方法包括,
作为配置设备的当前在线物联网设备响应于与用户侧的第一交互,触发与待接入网络物联网设备进行网络参数配置的第二交互;
其中,第一交互至少包括:接收来自用户侧的第二命令指示消息,该第二命令指示消息用于:指示当前在线物联网设备作为配置设备,对待接入网络物联网设备进行网络参数配置;所述第二命令指示消息携带有待接入网络物联网设备的设备信息;
第二交互至少包括:响应于第二命令指示消息,对所述待接入网络物联网设备的设备信息进行网络参数配置。
可选的,所述作为配置设备的当前在线物联网设备响应于与用户侧的第一交互,包括:
用户账户下的任一当前在线物联网设备响应于用户侧的第一配置方式选择,触发搜索其周围待接入网络物联网设备的第三交互,其中,第一配置方式为:选择当前在线物联网设备作为配置设备而进行网络参数配置的方式;
所述任一当前在线物联网设备将搜索到的待接入网络物联网设备的设备信息返回给用户侧,以供用户侧选择出作为配置设备的当前在线物联网设备,并使得用户侧向所选择出作为配置设备的当前在线物联网设备发送所述第二命令指示消息;
所述响应于第二命令指示消息,对所述待接入网络物联网设备的设备信息进行网络参数配置,包括:
响应于第二命令指示消息,向待接入网络物联网设备发送第二侦听请求,所述第二侦听请求携带有 待接入网络物联网设备的设备信息、以及网络参数,使得所述待接入网络物联网设备获得网络参数,并基于所获得的网络参数接入网络。
可选的,所述用户账户下的任一当前在线物联网设备响应于用户侧的第一配置方式选择,触发搜索其周围待接入网络物联网设备的第三交互,包括:
用户账户下的任一当前在线物联网设备接收来自用户侧的第一命令指示消息,所述第一命令指示消息携带有待接入网络物联网设备的设备信息;
解析所述第一命令指示消息,获得待接入网络物联网设备的设备信息;
响应于第一命令指示消息,搜索当前在线物联网设备周围的待接入网络物联网设备;
所述触发与待接入网络物联网设备进行网络参数配置的第二交互之后,还包括,
作为配置设备的当前在线物联网设备响应于与用户侧进行上线失败原因查询的第四交互,触发作为配置设备的当前在线物联网设备与待接入网络物联网设备进行上线失败原因查询的第五交互。
可选的,所述第一命令指示消息由用户侧基于所选择的第一配置方式而发送;其中,第一配置方式由用户侧根据搜索到用户账户下当前在线物联网设备的设备信息而选择;
所述响应于第一命令指示消息,搜索当前在线物联网设备周围的待接入网络物联网设备,包括:
响应于第一命令指示消息,向待接入网络物联网设备发送第一侦听请求,所述第一侦听请求携带有待接入网络物联网设备的设备信息;
接收待接入网络物联网设备响应于第一侦听请求的第一侦听响应,所述第一侦听响应携带有待接入网络物联网设备的设备信息;
解析第一侦听响应,获得所搜索到的待接入网络物联网设备的设备信息。
可选的,所述解析第一侦听响应,获得所搜索到的待接入网络物联网设备的设备信息,包括:
按照第一侦听响应信号强度,对所搜索到的各个待接入网络物联网设备进行排序,获得当前在线物联网设备与各个待接入网络物联网设备的配置次序,以供用户侧按照配置次序选择出作为配置设备的当前在线物联网设备。
可选的,所述作为配置设备的当前在线物联网设备响应于与用户侧进行上线失败原因查询的第四交互,触发作为配置设备的当前在线物联网设备与待接入网络物联网设备进行上线失败原因查询的第五交互,包括:
作为配置设备的当前在线物联网设备接收来自用户侧查询上线失败原因的第四查询请求,所述第四查询请求携带有待接入网络物联网设备的设备信息,
解析所述第四查询请求,获得待接入网络物联网设备的设备信息;
响应于所述第四查询请求,向待接入网络物联网设备查询上线失败原因;
将查询到的上线失败原因返回给用户侧,以供用户侧选择网络参数的配置方式;
其中,配置方式包括第一配置方式和手动进行网络参数配置的第二配置方式。
可选的,所述响应于所述第四查询请求,向待接入网络物联网设备查询上线失败原因,包括:
向待接入网络物联网设备发送第三侦听请求,所述第三侦听请求携带有待接入网络物联网设备的设备信息;
接收待接入网络物联网设备响应于第三侦听请求的第三侦听响应,所述第三侦听响应携带有待接入网络物联网设备的设备信息、以及上线失败原因。
可选的,所述第二命令指示消息、第一命令指示消息、以及第四查询请求由用户侧通过云平台向当前在线物联网设备发送;
所述待接入网络物联网设备接入网络后,向云平台进行注册,并将云平台中用户账户下的数据库进行更新,以增加注册的待接入网络物联网设备的设备信息;
所述将搜索到的待接入网络物联网设备的设备信息返回给用户侧,包括:
将搜索到的待接入网络物联网设备的设备信息通过云平台返回给用户侧,并将云平台中用户账户下 的数据库进行更新,以增加所搜索到的待接入网络物联网设备的设备信息;
所述将查询到的上线失败原因返回给用户侧,包括:
将查询到的上线失败原因通过云平台返回给用户侧,并将云平台中用户账户下的数据库进行更新,以增加待接入网络物联网设备上线失败原因。
可选的,所述第一侦听请求、第二侦听请求、第一侦听响应以及第三侦听响应为空口广播信号,空口广播信号中的有效数据字段包括:加密特征信息和所述待接入网络物联网设备的设备信息,其中,有效数据字段中的数据内容通过待接入网络物联网设备的设备信息进行解密成功时获得。
第二方面,本申请实施例提供了一种物联网设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置执行时实现如任一所述的物联网设备网络参数的配置方法的步骤。
第三方面,本申请实施例提供了一种用于物联网设备网络参数配置的终端,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置执行如下步骤:
与当前在线物联网设备进行第一交互;
其中,第一交互至少包括:向作为配置设备的当前在线物联网设备发送第二命令指示消息,该第二命令指示消息用于:指示当前在线物联网设备作为配置设备,对待接入网络物联网设备进行网络参数配置;所述第二命令指示消息携带有待接入网络物联网设备的设备信息,以触发作为配置设备的当前在线物联网设备与待接入网络物联网设备进行网络参数配置的第二交互,使得作为配置设备的当前在线物联网设备响应于第二命令指示消息,对所述待接入网络物联网设备的设备信息进行网络参数配置。
第四方面,本申请实施例提供了一种物联网系统,包括至少一个物联网设备,所述物联网设备被配置为实现如任一所述物联网设备网络参数的配置方法的步骤。
可选的,该系统还包括至少一个用于物联网设备网络参数配置的终端;
所述终端包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置执行如下步骤:
与当前在线物联网设备进行第一交互;
其中,第一交互至少包括,向作为配置设备的当前在线物联网设备发送第二命令指示消息,该第二命令指示消息用于:指示当前在线物联网设备作为配置设备,对待接入网络物联网设备进行网络参数配置;所述第二命令指示消息携带有待接入网络物联网设备的设备信息,以触发作为配置设备的当前在线物联网设备与待接入网络物联网设备进行网络参数配置的第二交互,使得作为配置设备的当前在线物联网设备响应于第二命令指示消息,对所述待接入网络物联网设备的设备信息进行网络参数配置。
可选的,所述系统还包括:用于对物联网系统中的物联网设备进行运营和维护的云平台,所述云平台被配置在所述终端与当前在线物联网设备之间,传输用于所述第一交互的交互信息;
其中,所述交互信息包括:用于配置方式选择的交互信息、以及用于选择出作为配置设备的当前在线物联网设备的交互信息;
所述当前在线物联网设备的设备信息存储于云平台。
第五方面,本申请实施例提供了一种计算机可读存储介质,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现任一所述物联网设备网络参数的配置方法的步骤。
第六方面,本申请实施例提供了一种计算机程序,所述计算机程序被处理器执行时实现任一所述物联网设备网络参数的配置方法的步骤。
本申请实施例中,通过作为配置设备的当前在线物联网设备,对待接入网络物联网设备进行网络参数配置,使得当前在线物联网设备以及每一个待接入网络物联网设备接入网络后都可以作为配置设备。这样,配置设备的数量大量增长,从而同时进行网络参数配置的待接入网络物联网设备的数量可以大大增加,极大地提高了对大量待接入网络物联网设备进行网络参数配置的效率,解决了大量待接入网络物联网设备进行网络参数配置时效率低下的问题,减少了人工操作的工作量。
另外,本申请实施例中,在当前在线物联网设备与待接入网络物联网设备交互过程中,采用待接入网络物联网设备的设备信息作为密钥,对有效数据进行加密,避免了第三方侦听并解析的风险,在保障 功能的前提下对物联网设备的安全更有保障。
图1a为本申请实施例提供的网络摄像机网络参数配置方法的一种流程示意图。
图1b为本申请实施例提供的通过云平台进行网络摄像机网络参数配置方法总体流程的一种示意图。
图2为用户终端侧与云平台交互的一种流程示意图。
图3为云平台与当前在线IPC进行交互的一种示意图。
图4为当前在线IPC与待接入网络IPC进行交互的一种示意图。
图5为当用户终端与当前在线IPC处于同一无线网络时实现待接入网络IPC网络参数配置方法的一种流程示意图。
图6为本申请实施例提供的IPC的一种示意图。
图7为本申请实施例提供的用户终端的一种示意图。
为了使本申请的目的、技术手段和优点更加清楚明白,以下结合附图对本申请做进一步详细说明。
本申请实施例中,用户终端侧的应用程序指示当前在线物联网设备与待接入网络的物联网设备进行交互,以使得当前在线物联网设备作为配置设备,由配置设备对待接入网络的物联网设备进行网络参数配置,以便待接入网络的物联网设备接入网络。
可选地,为了提供较佳的业务服务,物联网设备的设备信息、以及相关数据存储于云平台,由云平台进行维护和运营。
其中,云平台即为网络侧设备,云平台可以为接入点(Access Point,AP)和路由器等本地节点。在线物联网设备为已接入网络的物联网设备。
为便于理解本申请实施例提供的技术方案,以下以物联网设备为网络摄像机为例进行说明,并不起限定作用。当前在线IPC的数量可以一个或多个,待接入网络IPC的数量可以为一个或多个。为便于描述和理解,以下将作为配置设备的当前在线IPC简称为配置设备,用户终端侧的应用程序(Application,APP)简称为用户侧,并不起限定作用。
本申请实施例中,用户为用户侧所登录的用户账户所指示的用户。用户的当前在线IPC和待接入网络IPC指的是该用户账户下的IPC。用户账户下的IPC指的是受该用户管理的IPC。当前在线IPC指的是已接入网络的IPC。待接入网络IPC指的是需要接入网络的IPC。
参见图1a所示,图1a为本申请实施例提供的网络摄像机的网络参数配置方法的一种流程示意图。
在第一交互中,用户侧完成配置方式选择以及作为配置设备的当前在线IPC的选择。在该第一交互中,云平台在用户侧与当前在线IPC之间传输用于配置方式选择的交互信息、以及用于选择出作为配置设备的当前在线IPC的交互信息。
在第一交互中,在用户侧与当前在线IPC之间,云平台传输两种交互信息,如第一种交互信息和第二种交互信息。
其中,第一种交互信息,用于用户侧选择出配置方式;第二种交互信息,用于用户侧从当前在线IPC中选择出配置设备。
在第二交互中,作为配置设备的当前在线IPC对待接入网络IPC进行网络参数配置,以使得待接入网络IPC接入网络。
在第二交互中,配置设备对待接入网络IPC进行网络参数配置,以使得待接入网络IPC接入网络。
在第四交互中,用户侧与作为配置设备的当前在线IPC进行上线失败原因查询交互。在该第四交互中,云平台在用户侧与当前在线IPC之间传输待接入网络IPC上线失败原因查询的交互信息。
在第四交互中,在用户侧与配置设备之间,云平台传输一种交互信息,如第三种交互信息。
其中,第三种交互信息,用于用户侧查询待接入网络IPC上线失败原因。本申请实施例中,待接入网络IPC上线失败即为待接入网络IPC网络参数配置失败。
在第五交互中,作为配置设备的当前在线IPC与待接入网络IPC进行上线失败原因查询交互。
在第五交互中,配置设备与待接入网络IPC进行上线失败原因查询交互。
其中,第一交互中还可以包括:用户账户下的任一当前在线IPC响应于用户侧的第一配置方式选择,触发搜索其周围待接入网络IPC的第三交互。
若用户侧选择第一配置方式,则对于用户账户下的每个当前在线IPC,该当前在线IPC触发第三交互,以搜索该当前在线IPC周围待接入网络IPC。
本申请实施例中,待接入网络IPC在当前在线IPC的信号覆盖范围内,即当前在线IPC能够接收到待接入网络IPC发送的信号,则该待接入网络IPC在该当前在线IPC周围,也可以理解为该待接入网络IPC在该当前在线IPC的搜索范围内。
参见图1b所示,图1b为本申请实施例提供的通过云平台进行网络摄像机的网络参数配置方法总体流程的一种示意图。该总体流程可以包括三个阶段:
阶段一,包括步骤101,通过用户终端侧的应用程序获取该用户的待接入网络IPC的本身信息;
阶段一,用户侧获取该用户账户下待接入网络IPC的设备信息。
阶段二,包括步骤102~步骤107,通过用户终端侧的应用程序获取该用户的所有当前在线IPC,以供用户选择作为配置设备的当前在线IPC;
阶段二,用户侧获取该用户账户下的所有当前在线IPC,以从这些当前在线IPC中,选择出作为配置设备的当前在线IPC。
阶段三,包括步骤108~步骤112,通过用户终端侧的应用程序指示配置设备对待接入网络IPC进行网络参数配置。
阶段三,用户侧指示配置设备对待接入网络IPC进行网络参数配置。
以下结合图1b具体说明。在以下说明中,用户终端侧的应用程序简称为用户侧。
步骤101,用户侧获取待接入网络IPC的设备信息。设备信息可以包括设备标识信息,例如,设备序列号(Serial Number,SN)。设备信息还可以包括设备型号等。
可选地,用户侧可以通过扫描待接入网络IPC的二维码,获得待接入网络IPC的设备信息。
本申请实施例中,待接入网络IPC的数量可以为一个或多个。
步骤102,用户侧与云平台进行第a交互,以获得归属于用户的当前在线IPC,即,获得用户账户下的所有当前在线IPC。第a交互可参见图2部分的相关描述。
本申请实施例中,用户账户下的当前在线IPC的数量可以为一个或多个。图1b,以在线IPCs表示用户账户下存在多个在线IPC为例进行说明,并不起限定作用。
步骤103,用户侧根据返回的在线IPC的设备信息,选择网络参数配置的方式。
步骤103可以为:用户侧判断用户账户下是否存在当前在线IPC,并基于用户账户下是否存在当前在线IPC的判断结果,确定网络参数的配置方式。
如果存在当前在线IPC,则选择通过配置设备进行网络参数配置的第一配置方式;
如果不存在当前在线IPC,则选择手动进行网络参数配置的第二配置方式。
当选择所述的第一配置方式时,继续执行步骤104:
步骤104,用户侧通过云平台与当前在线IPC进行第b交互,以指示当前在线IPC搜索其周围待接入网络IPC。第b交互可参见图3部分的相关描述。
可选地,用户侧通过扫描待接入网络IPC的二维码,获得待接入网络IPC的设备信息,即待接入网络IPC为二维码对应的IPC。
这种情况下,若用户侧判定用户账户下存在当前在线IPC,则用户侧通过云平台与当前在线IPC进行第b交互,以查询用户账户下的当前在线IPC周围是否有二维码对应的IPC。
步骤105,当前在线IPC通过侦听广播信号,与待接入网络IPC进行第c交互,以搜索其周围待接入网络IPC。第c交互可参见图4部分的相关描述。
步骤106,当前在线IPC与云平台进行第d交互,以将当前在线IPC搜索到的待接入网络IPC的设备信息、以及当前在线IPC与所搜索到的待接入网络IPC的关联关系存储于云平台中。例如,当前在线IPC将搜索到的待接入网络IPC的设备信息、以及当前在线IPC与所搜索到的待接入网络IPC的关联关系更新至云平台的数据库中。第d交互可参见图3部分的相关描述。
步骤107,用户侧与云平台进行第e交互,以选择出可以作为配置设备的当前在线IPC。第e交互可参见图2部分的相关描述。
如果可以选择出作为配置设备的当前在线IPC,则继续以第一配置方式进行网络参数配置,执行步骤108;否则,转换为以第二配置方式进行网络参数配置。
步骤108,用户侧将所选择的当前在线IPC作为配置设备,通过云平台与配置设备进行第f交互,以指示配置设备对待接入网络IPC进行网络参数配置。第f交互可参见图3部分的相关描述。
步骤109,配置设备与待接入网络IPC进行第g交互,以对待接入网络IPC进行网络参数配置,使得待接入网络IPC接入网络。第g交互可参见图4部分的相关描述。
待接入网络IPC根据网络参数接入网络。例如,可以基于配置设备作为热点所提供的接入点(Access Point,AP)接入功能接入网络。
例如,配置设备可以作为热点,为待接入网络IPC提供AP接入功能。配置设备提供了AP接入功能,因此,通过配置设备,待接入网络IPC根据网络参数可以接入网络。
在待接入网络IPC接入网络之后,该待接入网络IPC与云平台进行第h交互,以在云平台进行注册,成为在线IPC。
步骤110,用户侧与云平台进行第i交互,以查询待接入网络IPC是否上线成功。第i交互可参见图2部分的相关描述。
如果上线不成功,则执行步骤111;如果上线成功,则结束。
步骤111,用户侧通过云平台与配置设备进行第j交互,以获取配置设备获取上线不成功的原因。
步骤112,用户侧根据上线不成功的原因选择配置方式,即用户侧确定是否重新以第一配置方式进行网络参数配置。第j交互可参见图3和图4部分的相关描述。
如果选择第一配置方式,则返回步骤108;如果选择第二配置方式,则按照手动方式进行配置。
在上述交互过程中,相对于用户侧的运行,步骤105和步骤109以异步方式执行,从而使得配置设备对待接入网络的物联网设备进行网络参数配置的过程,可以与用户侧的操作并行进行,有利于提高配置效率。另外,使得用户侧的用户操作对异步执行的待接入网络物联网设备的网络参数配置无感,提供了较好的用户界面和体验,方便用户的操作。
通过上述交互,从当前在线IPC中选择出配置设备,通过配置设备为待接入网络IPC配置网络参数,使得待接入网络IPC接入网络。待接入网络IPC成功接入网络后成为当前在线IPC,该待接入网络IPC也可以作为配置设备,为另一待接入网络IPC配置网络参数,如此类推,这样,每一个待接入网络IPC成功接入网络后都可以作为配置设备,使得配置设备的数量大量增长,从而极大地提高了对待接入网络IPC进行网络参数配置的效率。
参见图2所示,图2为用户侧与云平台交互的一种流程示意图,包括了图1b所述步骤中的第a交互、第e交互和第i交互。
在第a交互中:
步骤201,鉴于在线IPC已归属于某一用户,用户侧与云平台进行交互以进行鉴权,鉴权通过后,向云平台发送查询当前在线IPC的第一查询请求。
步骤201可以为:用户侧与云平台进行交互,以实现云平台对用户侧进行鉴权;在鉴权通过后,用户侧可以向云平台发送第一查询请求。该第一查询请求用于查询用户账户下的当前在线IPC。
本申请实施例中,用户侧可以向云平台发送用户名和密码等信息,以供云平台对用户侧进行鉴权。本申请实施例中,对鉴权的方式不做具体限定。
步骤202,云平台响应于第一查询请求,查询数据库,向用户侧返回携带所有当前在线IPC的设备信息的第一响应消息。
数据库用于存储不同用户账户下当前在线IPC的设备信息。
步骤202可以为:云平台接收用户侧发送的第一查询请求,根据该第一查询请求,在数据库中查询该用户账户下的当前在线IPC的设备信息,并向用户侧返回第一响应消息。该第一响应消息包括查询到的所有当前在线IPC的设备信息。
在用户侧基于返回的当前在线IPC的设备信息而选择第一配置方式后,用户侧通过云平台向当前在线IPC发送搜索其周围待接入网络IPC的第一命令指示消息,该第一命令指示消息携带有步骤101所获取的待接入网络IPC的设备信息。第一命令指示消息即为搜索命令。
用户侧可以以加载效果的方式,等待当前在线IPC返回搜索结果。搜索结果包括该当前在线IPC周围的待接入网络IPC的设备信息。在用户侧等待过程中,云平台、当前在线IPC和待接入网络IPC进行第b交互、第c交互和第d交互处理。
在第e交互中,可以采用两种实施方式实现:
实施方式之一,步骤203,云平台接收到当前在线IPC上报的搜索结果后,将当前在线IPC、以及其搜索范围内的待接入网络IPC的设备信息携带于第二响应消息中发送给用户侧,以供用户选择参与网络参数配置的当前在线IPC。
步骤203可以为:对于每个当前在线IPC,云平台接收到该当前在线IPC上报的搜索结果后,并向用户侧发送第二响应消息,第二响应消息携带该当前在线IPC的设备信息、以及该当前在线IPC周围的待接入网络IPC的设备信息。这样,用户侧可以基于每个当前在线IPC周围的待接入网络IPC的设备信息,确定第一类型IPC,以使第一类型IPC参与网络参数配置。
实施方式之二,步骤204,云平台接收来自用户侧查询可参与网络参数配置的当前在线IPC的设备信息的第二查询请求;步骤205,响应于该第二查询请求,将所有当前在线IPC、以及其搜索范围内的待接入网络IPC的设备信息携带于第二响应消息中发送给用户侧。
步骤204可以为:用户侧向云平台发送第二查询请求,第二查询请求用于查询可参与网络参数配置的当前在线IPC的设备信息。步骤205可以为:云平台解析第二查询请求,向用户侧发送第二响应消息。第二响应消息中携带有当前在线IPC列表。
第二查询请求可以理解为查询发现新IPC的在线指令。
可选地,第二响应消息还可以携带有当前在线IPC与待接入网络IPC设备之间的配置次序。配置次序用于指示:在该当前在线IPC搜索到的所有待接入网络IPC中,该待接入网络IPC的网络参数被该当前在线IPC配置的次序;或者,配置次序用于指示:在搜索到该待接入网络IPC的所有当前在线IPC中,该当前在线IPC对该待接入网络IPC进行网络参数配置的次序。
步骤206,用户侧基于第二响应消息中的信息,判断是否有当前在线IPC,如果有,则继续以第一配置方式进行网络参数配置,执行步骤207;否则,转换为以第二配置方式进行网络参数配置。
步骤206可以为:用户侧判断第二响应消息携带的当前在线IPC列表是否为空。若是,则转换为以第二配置方式进行网络参数配置;若否,则继续以第一配置方式进行网络参数配置,执行步骤207。
步骤207,用户侧选择参与网络参数配置的当前在线IPC作为配置设备,通过云平台向配置设备发送对待接入网络IPC进行配置的第二命令指示消息,该第二命令指示消息携带有待接入网络IPC的设备信息。
其中,第二命令指示消息可以理解为配网命令(REQ)。用户侧选择参与网络参数配置的当前在线IPC作为配置设备,并通过通过云平台向配置设备发送第二命令指示消息。
可选地,用户侧根据当前在线IPC与待接入网络IPC设备之间的配置次序,为待接入网络IPC设备选择作为配置设备的当前在线IPC。
步骤208,用户侧以加载效果的方式,等待配置设备对待接入网络IPC进行网络参数配置完成。在 用户侧等待的过程中,云平台、当前在线IPC和待接入网络IPC进行第f交互、第g交互和第h交互处理。
在第i交互中:
步骤209,用户侧向云平台发送待接入网络IPC是否上线的第三查询请求。
步骤209可以为:用户侧向云平台发送第三查询请求,第三查询请求用于查询待接入网络IPC是否上线。
步骤210,云平台响应于第三查询请求,向用户侧返回查询结果。
查询结果可以包括待接入网络IPC上线成功和待接入网络IPC上线失败。
参见图3所示,图3为云平台与当前在线IPC进行交互的一种示意图,包括了图1b所述步骤中的第b交互、第d交互、第f交互和第j交互,其中,第b交互和第d交互为阶段一,即当前在线IPC搜索待接入网络IPC阶段。第f交互和第j交互为阶段二,即作为配置设备的当前在线IPC进行网络参数配置以及失败原因反馈阶段。
在第b交互中:
步骤301,云平台将来自用户侧的第一命令指示消息发送给当前在线IPC,该第一命令指示消息携带有待接入网络IPC的设备信息。
步骤302,当前在线IPC对第一命令指示消息进行解析,获得待接入网络IPC的设备信息,通过云平台向用户侧返回响应于第一命令指示消息的第三响应消息,以通知用户侧第一命令指示消息已解析成功或解析失败。
在第一命令指示消息已解析成功的情况下,当当前在线IPC搜索到待接入网络IPC后,即,完成第c交互处理后,执行第d交互。
在第d交互中:
步骤303,当前在线IPC将其搜索到的待接入网络IPC的设备信息发送给云平台,以上报所搜索到的待接入网络IPC的设备信息。
可选地,当前在线IPC还可以向云平台发送当前在线IPC与各待接入网络IPC设备之间的配置次序。
步骤304,云平台根据当前在线IPC的上报信息,增加用户账户下当前在线IPC与其所搜索到的待接入网络IPC的设备信息的关联关系,并在用户账户下增加搜索到的待接入网络IPC的设备信息,以更新该用户账户中的数据库。
其中,上报信息可以包括:当前在线IPC所搜索到的待接入网络IPC的设备信息、以及当前在线IPC与各待接入网络IPC设备之间的配置次序等。
步骤305,云平台向当前在线IPC反馈上报信息的确认。
在第f交互中:
步骤306,云平台将来自用户侧的第二命令指示消息发送给作为配置设备的当前在线IPC,以触发配置设备对待接入网络IPC进行网络参数配置,该第二命令指示消息携带有待接入网络IPC的设备信息。
步骤307,作为配置设备的当前在线IPC(简称为配置设备)解析第二命令指示消息,获得待接入网络IPC的设备信息后,向云平台返回第二命令指示消息的确认。
可选地,作为配置设备的当前在线IPC(简称为配置设备)对待接入网络IPC完成网络参数配置后,通过云平台通知用户侧网络参数配置已完成。
本申请实施例中,配置设备可以向待接入网络IPC发送配网报文,该配网报文携带待接入网络IPC需要的网络参数。待接入网络IPC根据配网报文携带的网络参数进行配置,以接入网络。待接入网络IPC完成网络参数配置,则该待接入网络IPC网络参数配置成功,配置设备通过云平台通知用户侧网络参数配置已完成。待接入网络IPC未完成网络参数配置,则该待接入网络IPC网络参数配置失败,配 置设备可以收集配置失败的原因等信息。
在第j交互中,可以采用两种实施方式实现:
实施方式之一,步骤308,云平台将来自用户侧用于查询上线不成功原因的第四查询请求发送给配置设备(即当前在线IPC),该第四查询请求携带有待接入网络IPC的设备信息。
步骤308可以为:云平台将来自用户侧的第四查询请求发送给配置设备,第四查询请求用于查询待接入网络IPC上线不成功原因。上线不成功即为网络参数配置失败。
步骤309,配置设备解析第四查询请求,获得待接入网络IPC的设备信息后,查询上线不成功原因,通过云平台向用户侧返回上线不成功原因,并将查询上线不成功原因存储于云平台中。
步骤309可以为:配置设备解析第四查询请求,获得待接入网络IPC的设备信息;之后,配置设备根据待接入网络IPC的设备信息,查询待接入网络IPC上线不成功原因,通过云平台向用户侧返回该待接入网络IPC上线不成功原因,并将该待接入网络IPC上线不成功原因更新至云平台的数据库中。
实施方式之二,步骤310,配置设备对待接入网络IPC进行网络参数配置失败时,通过云平台通知用户侧配置失败的待接入网络IPC、以及配置失败原因,向云平台上报并存储配置失败的待接入网络IPC、以及配置失败原因。
步骤310可以为:配置设备对待接入网络IPC进行网络参数配置失败时,通过云平台通知用户侧该待接入网络IPC配置参数失败以及失败原因,并将该待接入网络IPC配置参数失败以及失败原因更新至云平台的数据库中。
可选地,当云平台基于上报信息完成数据库的更新后,向配置设备返回确认信息。其中,上报信息可以包括:待接入网络IPC、以及配置失败原因。
参见图4所示,图4为当前在线IPC与待接入网络IPC进行交互的一种示意图,包括了图1b所述步骤中的第c交互、第g交互和第j交互。
在第c交互中:
步骤401,当前在线IPC接收到第一命令指示消息,并对第一命令指示消息进行解析后,发送第一侦听请求(Probe req),以该当前在线IPC搜索周围待接入网络IPC,该第一侦听请求可以为空口广播信号,该第一侦听请求中的有效数据(value)字段可以包括加密特征信息和待接入网络IPC的设备信息。有效数据字段为私有字段。
步骤402,待接入网络IPC接收到第一侦听请求后,解析该第一侦听请求,用其设备信息中的设备标识信息对第一侦听请求中的有效数据字段进行解密,对有效数据字段中的数据内容(净荷)进行校验和校验。
其中,设备标识信息可以包括SN和型号等。
本申请实施例中,若第一侦听请求中有效数据字段中的数据内容为该待接入网络IPC的设备标识信息,则校验成功;否则,校验失败。
步骤403,待接入网络IPC对有效数据字段中的数据内容校验成功时,响应于该第一侦听请求,向当前在线IPC返回第一侦听请求的第一侦听响应(Probe resp),使得当前在线IPC获得其搜索到的待接入网络IPC的设备信息。
待接入网络IPC对有效数据字段中的数据内容校验失败时,可以不进行处理,也可以向当前在线IPC返回第一侦听请求的第一侦听响应,以通知当前在线IPC搜索失败。
其中,第一侦听响应可以为空口广播信号,第一侦听响应中的有效数据(value)字段可以包括加密特征信息和待接入网络IPC的设备信息;有效数据字段中的数据内容(净荷)通过该待接入网络IPC的设备标识信息进行加密,并将数据内容的校验和作为校验数据携带于有效数据字段中。
由于同一个待接入网络IPC可能被多个当前在线IPC搜索到,或者,某一当前在线IPC能够搜索到多个待接入网络IPC,为了给各待接入网络IPC匹配信号较佳的配置设备来进行网络参数配置,可选地,按照侦听信号强度大小对分别对配置设备和待接入网络IPC进行匹配度排序,例如:
当前在线IPC按照第一侦听响应信号强度大小对搜索到的待接入网络IPC进行排序,以得到当前在线IPC与各个所搜索到的待接入网络IPC的配置次序;
或者,
待接入网络IPC按照第一侦听请求信号强度大小对当前在线IPC进行排序,以得到待接入网络IPC与各个当前在线IPC的配置次序,并将该配置次序携带在第一侦听响应信号中返回给各个当前在线IPC。
在第g交互中:
步骤404,作为配置设备的当前在线IPC接收到第二命令指示消息,并对第二命令指示消息进行解析后,发送携带有网络参数、以及待接入网络IPC的设备信息的第二侦听请求,以对待接入网络IPC进行网络参数配置。
该第二侦听请求可以为空口广播信号,第二侦听请求中的有效数据(value)字段可以包括加密特征信息、待接入网络IPC设备信息、以及网络参数。第二侦听请求为原始配网报文,待接入网络IPC可以不回应配置设备。
步骤405,待接入网络IPC接收到第二侦听请求后,对第二侦听请求中的有效数据字段进行解析,通过解密获得网络参数,并按照网络参数接入网络;当待接入网络IPC成功接入网络后,向云平台进行注册,以更新用户账户的数据库,成为用户账户下的当前在线IPC。
当待接入网络IPC失败接入网络,即网络参数配置失败时,待接入网络IPC记录网络参数配置失败原因,例如,解密不成功,或无法接入网络等。
在第j交互中:
步骤406,作为配置设备的当前在线IPC接收到来自用户侧的第四查询请求后,发送携带有待接入网络IPC的设备信息的第三侦听请求。该第三侦听请求可以为空口广播信号,第三侦听请求中的有效数据(value)字段可以包括加密特征信息、以及待接入网络IPC的设备信息。
第三侦听请求用于查询网络参数配置失败的原因。
步骤407,待接入网络IPC接收到第三侦听请求后,解析该第三侦听请求,用其设备信息中的设备标识信息对第三侦听请求中的有效数据字段进行解密,对有效数据中的数据内容(净荷)进行校验和校验。
本申请实施例中,若第三侦听请求中有效数据中的数据内容为该待接入网络IPC的设备标识信息,则校验成功;否则,校验失败。
步骤408,待接入网络IPC对有效数据中的数据内容校验成功时,响应于该第三侦听请求,向当前在线IPC返回第三侦听请求的第三侦听响应。
该第三侦听响应可以为空口广播信号,携带有待接入网络IPC的设备信息以及失败原因,其中,第三侦听请求的侦听响应中的有效数据字段可以包括有加密特征信息、待接入网络IPC的设备信息、以及失败原因。第三侦听响应的有效数据字段中的数据内容(净荷)为:通过该待接入网络IPC的设备标识信息进行加密,并将数据内容的校验和作为校验数据携带于有效数据字段中。
待接入网络IPC对有效数据中的数据内容校验失败时,可以不进行处理,也可以向当前在线IPC返回第三侦听请求的第三侦听响应,以通知当前在线IPC,即该待接入网络IPC对应的配置设备。
在当前在线IPC与待接入网络IPC交互过程中,只有通过鉴权的用户账户下的当前在线IPC与待接入网络IPC才能够进行网络参数配置。由于侦听请求和侦听响应可以为空中广播信号,因此,侦听请求和侦听响应都进行了加密,例如,采用AES-128-CFB作为加密算法进行加密,并且,数据内容包含设备标识信息等私有数据,这样保证了私有数据不匹配的IPC不会正确解密数据内容,避免了数据内容泄露的风险。
参见图5所示,图5为当用户终端与当前在线IPC处于同一无线网络时实现待接入网络IPC的网络参数配置方法的一种流程示意图。在本申请实施例中,用户终端与当前在线IPC在同一局域网中,用户侧与当前在线IPC可通过网络中本地节点(例如AP或路由器)直接进行交互,图5中未示出本地 节点。本申请实施例中,待接入网络IPC的网络参数配置的处理过程如下:
步骤501,用户侧获取待接入网络IPC的设备信息。其中,设备信息可以包括设备标识,例如,设备序列号;设备信息还可以包括设备型号。
步骤502,用户侧经鉴权通过后,搜索用户账户下的当前在线IPC,以获得处于同一网络的所有当前在线IPC的设备信息。
步骤503,用户侧根据当前在线IPC的设备信息,选择网络参数配置的方式。
步骤503可以为:判断步骤502是否搜索到当前在线IPC。若搜索到当前在线IPC,则确定同一无线网络中存在当前在线IPC;否则同一无线网络中不存在当前在线IPC。
如果存在当前在线IPC,则选择通过配置设备进行网络参数配置的第一配置方式;如果不存在当前在线IPC,则选择手动进行网络参数配置的第二配置方式。
当选择所述的第一配置方式时:
步骤504,用户侧向当前在线IPC广播发送第一命令指示消息,以指示当前在线IPC搜索其周围待接入网络IPC,该第一命令指示消息携带有待接入网络IPC的设备信息。
步骤505,当前在线IPC对所述第一命令指示消息进行解析,获得待接入网络IPC的设备信息,返回响应于第一命令指示消息的确认(也可以称为第三响应消息),以通知用户侧第一命令指示消息已解析成功。
步骤506~507,当前在线IPC响应于第一命令指示消息,搜索待接入网络IPC,具体处理过程与步骤402~403相同。
步骤508,当前在线IPC将搜索到的待接入网络IPC的设备信息返回给用户侧。可选地,所返回的待接入网络IPC的设备信息按照侦听信号强度大小排列,以便于用户侧从搜索到的所有当前在线IPC中,选择作为配置设备的当前在线IPC。
步骤509,用户侧选择出用作配置设备的当前在线IPC,向作为配置设备的当前在线IPC发送第二命令指示消息,以触发配置设备对待接入网络IPC进行网络参数配置,该第二命令指示消息携带有待接入网络IPC的设备信息。
步骤510,作为配置设备的当前在线IPC(简称为配置设备)解析第二命令指示消息,获得待接入网络IPC的设备信息后,向用户侧返回第二命令指示消息的确认。
步骤511~512,作为配置设备的当前在线IPC响应于第二命令指示消息,对待接入网络IPC进行网络参数配置,使得待接入网络IPC根据网络参数接入网络,并在本地节点(例如AP或路由器)上进行注册,成为当前在线IPC。
其中,本地节点可以理解为云平台。
具体过程与步骤404~405相同。
步骤513,作为配置设备的当前在线IPC进行网络参数配置后,向用户侧反馈网络参数配置成功或失败的消息,该消息可携带配置失败的原因。
步骤514,用户侧搜索用户账户下的当前在线IPC,以查询待接入IPC是否上线成功。
如果上线不成功,则执行步骤515;
如果上线成功,则结束。
步骤515,用户侧将用于查询上线不成功原因的第四查询请求发送给作为配置设备的当前在线IPC,该第四查询请求携带有待接入网络IPC的设备信息。
步骤516~518,作为配置设备的当前在线IPC响应于第四查询请求,向待接入网络IPC查询配置失败的原因,具体过程与步骤406~408相同。
步骤519,作为配置设备的当前在线IPC向用户侧返回查询结果。
该查询结果中包括待接入网络IPC配置失败的原因。
步骤520,用户侧根据待接入网络IPC上线不成功的原因选择配置方式。
如果选择第一配置方式,则返回步骤509;
如果选择第二配置方式,则按照手动方式进行配置。
在本申请实施例实现了同一网络中作为配置设备的当前在线IPC对待接入该网络的IPC的网络参数配置,解决了多台待接入网络IPC的网络参数配置和接入网络的问题,减少了用户的工作量,提高了待接入网络IPC接入网络的效率。另外,本申请实施例采用与待接入网络IPC关联的私有数据(例如设备标识信息)作为加密密钥,增加了配置过程的安全性,有效防止敏感数据的泄漏。
参见图6所示,图6为本申请实施例提供的IPC的一种示意图。该IPC包括:
第一交互模块,用于在该IPC在线状态下响应于与用户侧的第一交互,触发与待接入网络IPC进行网络参数配置的第二交互,以对待接入网络IPC进行网络参数配置,使得待接入IPC接入网络。
其中,第一交互至少包括:接收来自用户侧的第二命令指示消息,所述第二命令指示消息携带有待接入网络IPC的设备信息;
第二交互至少包括:响应于第二命令指示消息,对所述待接入网络IPC的设备信息的网络参数进行配置;
在该IPC在待接入网络状态下,响应于作为配置设备的当前在线IPC触发的第二交互,根据作为配置设备的当前在线IPC发送的网络参数进行配置,并接入网络。
可选地,所述第一交互模块还可以用于:
在该IPC在线状态下,响应于用户侧的第一配置方式选择,触发搜索其周围待接入网络IPC的第三交互;响应于与用户侧进行上线失败原因查询的第四交互,触发与待接入网络IPC进行上线失败原因查询的第五交互;
在该IPC在待接入网络状态下,响应于用户账户下的任一当前在线IPC所触发的搜索其周围待接入网络IPC的第三交互,将自身的设备信息返回给当前在线IPC;响应于作为配置设备的当前在线IPC触发进行上线失败原因查询的第五交互,将上线失败原因返回给作为配置设备的当前在线IPC。
该IPC接收来自用户侧的第一命令指示消息,响应于第一命令指示消息,触发搜索其周围待接入网络IPC的第三交互。该第一命令指示消息携带有待接入网络IPC的设备信息。
参见图7所示,图7为本申请实施例提供的用户终端的一种示意图。该用户终端为用于物联网设备网络参数配置的终端。该用户终端包括:
第二交互模块,与当前在线IPC进行第一交互;
其中,第一交互至少包括:向作为配置设备的当前在线IPC发送第二命令指示消息,所述第二命令指示消息携带有待接入网络IPC的设备信息,以触发作为配置设备的当前在线IPC与待接入网络IPC进行网络参数配置的第二交互,使得作为配置设备的当前在线IPC响应于第二命令指示消息,对所述待接入网络IPC的设备信息进行网络参数配置。
可选地,所述第二交互模块还可以用于:
根据用户账户下所搜索到的当前在线IPC,选择第一配置方式,向当前在线IPC发送第一命令指示消息,以触发当前在线IPC搜索其周围待接入网络IPC的第三交互;
根据当前在线IPC通过第三交互获取的所搜索到的待接入网络IPC的设备信息,选择出作为配置设备的当前在线IPC;
查询待接入网络IPC是否上线,以当待接入网络IPC上线失败时,待接入网络IPC向作为配置设备的当前在线IPC返回上线失败原因。
本申请实施例还提供了一种IPC,所述IPC包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置执行时实现实施例所述的任一物联网设备网络参数的配置方法的步骤。
本申请实施例还提供了一种用户终端,所述用户终端包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置执行时如下步骤:
与当前在线IPC进行第一交互;
其中,第一交互至少包括:向作为配置设备的当前在线IPC发送第二命令指示消息,该第二命令指示消息用于:指示当前在线IPC作为配置设备,对待接入网络IPC进行网络参数配置;第二命令指示消息携带有待接入网络IPC的设备信息,以触发作为配置设备的当前在线IPC与待接入网络IPC进行网络参数配置的第二交互,使得作为配置设备的当前在线IPC响应于第二命令指示消息,对待接入网络IPC的设备信息进行网络参数配置。
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
本申请实施例还提供了一种计算机可读存储介质,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现实施例所述的任一物联网设备网络参数的配置方法的步骤。
本申请实施例还提供了一种计算机程序,所述计算机程序被处理器执行时实现实施例所述的任一物联网设备网络参数的配置方法的步骤。
本申请实施例还提供一种物联网系统,包括至少一个以上物联网设备,所述物联网设备被配置为实现上述任一物联网设备网络参数的配置方法的步骤。
可选地,该物联网系统还可以包括至少一个用于物联网设备网络参数配置的终端;
所述终端包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置执行如下步骤:
与当前在线物联网设备进行第一交互;
其中,第一交互至少包括,向作为配置设备的当前在线物联网设备发送第二命令指示消息,该第二命令指示消息用于:指示当前在线物联网设备作为配置设备,对待接入网络物联网设备进行网络参数配置;所述第二命令指示消息携带有待接入网络物联网设备的设备信息,以触发作为配置设备的当前在线物联网设备与待接入网络物联网设备进行网络参数配置的第二交互,使得作为配置设备的当前在线物联网设备响应于第二命令指示消息,对所述待接入网络物联网设备的设备信息进行网络参数配置。
可选地,该物联网系统还可以包括:用于对物联网系统中的物联网设备进行运营和维护的云平台,所述云平台被配置在所述终端与当前在线物联网设备之间,传输用于所述第一交互的交互信息;
其中,所述交互信息包括:用于配置方式选择的交互信息、以及用于选择出作为配置设备的当前在线物联网设备的交互信息;
所述当前在线物联网设备的设备信息存储于云平台。
对于装置/网络侧设备/存储介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。
Claims (16)
- 一种物联网设备网络参数的配置方法,其特征在于,该方法包括:作为配置设备的当前在线物联网设备响应于与用户侧的第一交互,触发与待接入网络物联网设备进行网络参数配置的第二交互;其中,第一交互至少包括:接收来自用户侧的第二命令指示消息,该第二命令指示消息用于:指示当前在线物联网设备作为配置设备,对待接入网络物联网设备进行网络参数配置;所述第二命令指示消息携带有待接入网络物联网设备的设备信息;第二交互至少包括:响应于第二命令指示消息,对所述待接入网络物联网设备的设备信息进行网络参数配置。
- 如权利要求1所述的方法,其特征在于,所述作为配置设备的当前在线物联网设备响应于与用户侧的第一交互,包括:用户账户下的任一当前在线物联网设备响应于用户侧的第一配置方式选择,触发搜索其周围待接入网络物联网设备的第三交互,其中,第一配置方式为:选择当前在线物联网设备作为配置设备而进行网络参数配置的方式;所述任一当前在线物联网设备将搜索到的待接入网络物联网设备的设备信息返回给用户侧,以供用户侧选择出作为配置设备的当前在线物联网设备,并使得用户侧向所选择出作为配置设备的当前在线物联网设备发送所述第二命令指示消息;所述响应于第二命令指示消息,对所述待接入网络物联网设备的设备信息进行网络参数配置,包括:响应于第二命令指示消息,向待接入网络物联网设备发送第二侦听请求,所述第二侦听请求携带有待接入网络物联网设备的设备信息、以及网络参数,使得所述待接入网络物联网设备获得网络参数,并基于所获得的网络参数接入网络。
- 如权利要求2所述的方法,其特征在于,所述用户账户下的任一当前在线物联网设备响应于用户侧的第一配置方式选择,触发搜索其周围待接入网络物联网设备的第三交互,包括:用户账户下的任一当前在线物联网设备接收来自用户侧的第一命令指示消息,所述第一命令指示消息携带有待接入网络物联网设备的设备信息;解析所述第一命令指示消息,获得待接入网络物联网设备的设备信息;响应于第一命令指示消息,搜索当前在线物联网设备周围的待接入网络物联网设备;所述触发与待接入网络物联网设备进行网络参数配置的第二交互之后,还包括,作为配置设备的当前在线物联网设备响应于与用户侧进行上线失败原因查询的第四交互,触发作为配置设备的当前在线物联网设备与待接入网络物联网设备进行上线失败原因查询的第五交互。
- 如权利要求3所述的方法,其特征在于,所述第一命令指示消息由用户侧基于所选择的第一配置方式而发送;其中,第一配置方式由用户侧根据搜索到用户账户下当前在线物联网设备的设备信息而选择;所述响应于第一命令指示消息,搜索当前在线物联网设备周围的待接入网络物联网设备,包括:响应于第一命令指示消息,向待接入网络物联网设备发送第一侦听请求,所述第一侦听请求携带有待接入网络物联网设备的设备信息;接收待接入网络物联网设备响应于第一侦听请求的第一侦听响应,所述第一侦听响应携带有待接入网络物联网设备的设备信息;解析第一侦听响应,获得所搜索到的待接入网络物联网设备的设备信息。
- 如权利要求4所述的方法,其特征在于,所述解析第一侦听响应,获得所搜索到的待接入网络物联网设备的设备信息,包括:按照第一侦听响应信号强度,对所搜索到的各个待接入网络物联网设备进行排序,获得当前在线物联网设备与各个待接入网络物联网设备的配置次序,以供用户侧按照配置次序选择出作为配置设备的当 前在线物联网设备。
- 如权利要求3所述的方法,其特征在于,所述作为配置设备的当前在线物联网设备响应于与用户侧进行上线失败原因查询的第四交互,触发作为配置设备的当前在线物联网设备与待接入网络物联网设备进行上线失败原因查询的第五交互,包括:作为配置设备的当前在线物联网设备接收来自用户侧查询上线失败原因的第四查询请求,所述第四查询请求携带有待接入网络物联网设备的设备信息,解析所述第四查询请求,获得待接入网络物联网设备的设备信息;响应于所述第四查询请求,向待接入网络物联网设备查询上线失败原因;将查询到的上线失败原因返回给用户侧,以供用户侧选择网络参数的配置方式;其中,配置方式包括第一配置方式和手动进行网络参数配置的第二配置方式。
- 如权利要求6所述的方法,其特征在于,所述响应于所述第四查询请求,向待接入网络物联网设备查询上线失败原因,包括:向待接入网络物联网设备发送第三侦听请求,所述第三侦听请求携带有待接入网络物联网设备的设备信息;接收待接入网络物联网设备响应于第三侦听请求的第三侦听响应,所述第三侦听响应携带有待接入网络物联网设备的设备信息、以及上线失败原因。
- 如权利要求6或7任一所述的方法,其特征在于,所述第二命令指示消息、第一命令指示消息、以及第四查询请求由用户侧通过云平台向当前在线物联网设备发送;所述待接入网络物联网设备接入网络后,向云平台进行注册,并将云平台中用户账户下的数据库进行更新,以增加注册的待接入网络物联网设备的设备信息;所述将搜索到的待接入网络物联网设备的设备信息返回给用户侧,包括:将搜索到的待接入网络物联网设备的设备信息通过云平台返回给用户侧,并将云平台中用户账户下的数据库进行更新,以增加所搜索到的待接入网络物联网设备的设备信息;所述将查询到的上线失败原因返回给用户侧,包括:将查询到的上线失败原因通过云平台返回给用户侧,并将云平台中用户账户下的数据库进行更新,以增加待接入网络物联网设备上线失败原因。
- 如权利要求2、4、5或7所述的方法,其特征在于,所述第一侦听请求、第二侦听请求、第一侦听响应以及第三侦听响应为空口广播信号,空口广播信号中的有效数据字段包括:加密特征信息和所述待接入网络物联网设备的设备信息,其中,有效数据字段中的数据内容通过待接入网络物联网设备的设备信息进行解密成功时获得。
- 一种物联网设备,其特征在于,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置执行时实现如权利要求1至9任一所述的物联网设备网络参数的配置方法的步骤。
- 一种用于物联网设备网络参数配置的终端,其特征在于,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置执行如下步骤:与当前在线物联网设备进行第一交互;其中,第一交互至少包括:向作为配置设备的当前在线物联网设备发送第二命令指示消息,该第二命令指示消息用于:指示当前在线物联网设备作为配置设备,对待接入网络物联网设备进行网络参数配置;所述第二命令指示消息携带有待接入网络物联网设备的设备信息,以触发作为配置设备的当前在线物联网设备与待接入网络物联网设备进行网络参数配置的第二交互,使得作为配置设备的当前在线物联网设备响应于第二命令指示消息,对所述待接入网络物联网设备的设备信息进行网络参数配置。
- 一种物联网系统,其特征在于,包括至少一个物联网设备,所述物联网设备被配置为实现如权利要求1至9任一所述物联网设备网络参数的配置方法的步骤。
- 如权利要求12所述系统,其特征在于,该系统还包括至少一个用于物联网设备网络参数配置 的终端;所述终端包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置执行如下步骤:与当前在线物联网设备进行第一交互;其中,第一交互至少包括,向作为配置设备的当前在线物联网设备发送第二命令指示消息,该第二命令指示消息用于:指示当前在线物联网设备作为配置设备,对待接入网络物联网设备进行网络参数配置;所述第二命令指示消息携带有待接入网络物联网设备的设备信息,以触发作为配置设备的当前在线物联网设备与待接入网络物联网设备进行网络参数配置的第二交互,使得作为配置设备的当前在线物联网设备响应于第二命令指示消息,对所述待接入网络物联网设备的设备信息进行网络参数配置。
- 如权利要求13所述系统,其特征在于,所述系统还包括:用于对物联网系统中的物联网设备进行运营和维护的云平台,所述云平台被配置在所述终端与当前在线物联网设备之间,传输用于所述第一交互的交互信息;其中,所述交互信息包括:用于配置方式选择的交互信息、以及用于选择出作为配置设备的当前在线物联网设备的交互信息;所述当前在线物联网设备的设备信息存储于云平台。
- 一种计算机可读存储介质,其特征在于,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至9任一所述物联网设备网络参数的配置方法的步骤。
- 一种计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至9任一所述物联网设备网络参数的配置方法的步骤。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP21881849.0A EP4236232A4 (en) | 2020-10-21 | 2021-09-28 | Method for configuring network parameter of internet of things device, internet of things device and internet of things system |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011131315.1 | 2020-10-21 | ||
| CN202011131315.1A CN112260871B (zh) | 2020-10-21 | 2020-10-21 | 一种物联网设备网络参数的配置方法、物联网设备、系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022083431A1 true WO2022083431A1 (zh) | 2022-04-28 |
Family
ID=74263396
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/121360 Ceased WO2022083431A1 (zh) | 2020-10-21 | 2021-09-28 | 一种物联网设备网络参数的配置方法、物联网设备、系统 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4236232A4 (zh) |
| CN (1) | CN112260871B (zh) |
| WO (1) | WO2022083431A1 (zh) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112260871B (zh) * | 2020-10-21 | 2023-04-07 | 杭州萤石软件有限公司 | 一种物联网设备网络参数的配置方法、物联网设备、系统 |
| CN112994932B (zh) * | 2021-02-06 | 2023-04-28 | 厦门立林科技有限公司 | 局域网内设备网络参数的自动配置方法和装置以及设备 |
| CN113703363B (zh) * | 2021-08-25 | 2023-06-09 | 广东电网有限责任公司 | 智能边缘计算网关在电力调度云的即插即用方法 |
| CN120730435A (zh) * | 2024-03-29 | 2025-09-30 | 深圳海翼智新科技有限公司 | 无线配网方法、无线配网系统和电子设备 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104540237A (zh) * | 2014-11-28 | 2015-04-22 | 普联技术有限公司 | 智能设备接入网络的方法及系统 |
| US20180062939A1 (en) * | 2016-08-26 | 2018-03-01 | Marvell World Trade Ltd. | Method and Apparatus of Remote Configuration and Management of Wireless Nodes |
| CN109600252A (zh) * | 2018-11-21 | 2019-04-09 | 广东美的制冷设备有限公司 | 设备配网方法、装置和家电设备 |
| CN111741513A (zh) * | 2020-06-18 | 2020-10-02 | 深圳市晨北科技有限公司 | 一种物联网设备的配网方法及相关设备 |
| CN112260871A (zh) * | 2020-10-21 | 2021-01-22 | 杭州萤石软件有限公司 | 一种物联网设备网络参数的配置方法、物联网设备、系统 |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104796969A (zh) * | 2015-04-29 | 2015-07-22 | 广州物联家信息科技股份有限公司 | 基于物联网识别码实现物联网设备入网的方法及系统 |
| CN105656739A (zh) * | 2016-03-23 | 2016-06-08 | 浙江风向标科技有限公司 | 批量配置物联网设备的方法及装置 |
| US9913143B1 (en) * | 2016-11-28 | 2018-03-06 | Amazon Technologies, Inc. | Auto-provisioning device |
| CN107086934B (zh) * | 2017-06-12 | 2019-09-10 | 中国联合网络通信集团有限公司 | 组网设备的配置方法和网关 |
| CN109429243B (zh) * | 2017-08-22 | 2022-12-27 | 阿里巴巴集团控股有限公司 | 监测配网设备的网络接入状态的方法、装置和系统 |
| CN107750058A (zh) * | 2017-10-30 | 2018-03-02 | 欧普照明股份有限公司 | 基于wifi Beacon帧的设备接入网络的方法、控制终端及系统 |
| CN107787025A (zh) * | 2017-10-30 | 2018-03-09 | 欧普照明股份有限公司 | 设备接入网络的方法、控制终端及系统 |
| CN109040200B (zh) * | 2018-07-13 | 2022-04-12 | 深圳绿米联创科技有限公司 | 物联网设备的接入方法及装置 |
| CN111757356A (zh) * | 2020-06-23 | 2020-10-09 | 四川虹美智能科技有限公司 | 设备配网系统及其配网方法 |
-
2020
- 2020-10-21 CN CN202011131315.1A patent/CN112260871B/zh active Active
-
2021
- 2021-09-28 WO PCT/CN2021/121360 patent/WO2022083431A1/zh not_active Ceased
- 2021-09-28 EP EP21881849.0A patent/EP4236232A4/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104540237A (zh) * | 2014-11-28 | 2015-04-22 | 普联技术有限公司 | 智能设备接入网络的方法及系统 |
| US20180062939A1 (en) * | 2016-08-26 | 2018-03-01 | Marvell World Trade Ltd. | Method and Apparatus of Remote Configuration and Management of Wireless Nodes |
| CN109600252A (zh) * | 2018-11-21 | 2019-04-09 | 广东美的制冷设备有限公司 | 设备配网方法、装置和家电设备 |
| CN111741513A (zh) * | 2020-06-18 | 2020-10-02 | 深圳市晨北科技有限公司 | 一种物联网设备的配网方法及相关设备 |
| CN112260871A (zh) * | 2020-10-21 | 2021-01-22 | 杭州萤石软件有限公司 | 一种物联网设备网络参数的配置方法、物联网设备、系统 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4236232A4 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112260871A (zh) | 2021-01-22 |
| CN112260871B (zh) | 2023-04-07 |
| EP4236232A4 (en) | 2024-04-03 |
| EP4236232A1 (en) | 2023-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2022083431A1 (zh) | 一种物联网设备网络参数的配置方法、物联网设备、系统 | |
| CN103929748B (zh) | 一种物联网无线终端及其配置方法和无线网络接入点 | |
| US10506432B2 (en) | Method and apparatus for authenticating access authority for specific resource in wireless communication system | |
| US9900727B2 (en) | Method and apparatus for controlling access in wireless communication system | |
| US9769801B2 (en) | Method and apparatus for updating information regarding specific resource in wireless communication system | |
| US20250097704A1 (en) | Systems and methods for multi-link device privacy protection | |
| JP4729627B2 (ja) | アソシエーション/認証前におけるクエリのローミングのための端末、アクセスポイント、および方法 | |
| EP3396928B1 (en) | Method for managing network access rights and related device | |
| WO2021197347A1 (zh) | 通信系统、方法及装置 | |
| RU2421931C2 (ru) | Аутентификация в сетях связи | |
| US12401986B2 (en) | Remote subscription profile download | |
| WO2021027916A1 (zh) | 访问闭合访问组的方法、装置和系统 | |
| US20080160959A1 (en) | Method for Roaming User to Establish Security Association With Visited Network Application Server | |
| CN106656911B (zh) | 一种Portal认证方法、接入设备和管理服务器 | |
| CN111465011A (zh) | 跨网络接入方法、装置、存储介质及通信系统 | |
| CN114764286B (zh) | 一种应用程序登录方法及系统 | |
| KR20080014788A (ko) | 신뢰할 수 있는 매체를 통한 무선 usb(wusb) 접속수립 | |
| CN110401951B (zh) | 认证无线局域网中终端的方法、装置和系统 | |
| CN110677840A (zh) | 一种配网失败原因确定方法、设备以及可读介质 | |
| CN107948339A (zh) | 一种网络寻址方法、设备和装置 | |
| CN114598555B (zh) | 一种不同平台可切换的播报实现方法及系统 | |
| CN107612883A (zh) | 一种移动应用程序自动登录方法及系统 | |
| WO2024021580A1 (zh) | 用户终端接入网络的安全认证方法、装置及电子设备 | |
| CN116636293A (zh) | 无线住宅网关及室内基站 | |
| CN120642384A (zh) | 非3gpp接入基于3gpp的非公共网络的安全性 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2021881849 Country of ref document: EP Effective date: 20230522 |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21881849 Country of ref document: EP Kind code of ref document: A1 |