Wireless network distribution processing method and device, electronic equipment and storage medium

By introducing blockchain technology into the wireless distribution network, verifying user account and device identification code, the problem of low security of existing wireless distribution network methods is solved, the security protection of device ID and decentralized management of binding relationships is realized, and the security of distribution network applications is improved.

CN120021194APending Publication Date: 2025-05-20CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311547064.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-20
Publication Date
2025-05-20

AI Technical Summary

Technical Problem

The existing wireless distribution networking methods have low security problems. The centralization of device ID exposure and binding relationships lead to the user-to-device binding relationships that rely heavily on the device's ID information, and there is a risk of device identity exposure.

Method used

By sending the device ID of the network device and the distribution network information in the device distribution network request to the blockchain business platform, blockchain technology is used to verify the user account and device identification code, ensuring that only user accounts with binding relationships can send distribution network information to the network device, and registering requests after the device is successfully connected to the network, so as to realize that the user account, wireless network distribution network information, device ID, and network equipment business platform registration ID are strictly one-to-one.

Benefits of technology

Through the dual verification mechanism, the security of network distribution applications is ensured, the problems of device ID exposure and the centralization of binding relationships are avoided, and the security of device attribute relationships and services is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120021194A_ABST
    Figure CN120021194A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and provides a wireless network distribution processing method and device, electronic equipment and a storage medium. The method comprises the following steps: sending an equipment ID (Identity) of network equipment and network distribution information in an equipment network distribution request to a client; receiving a registration request sent by network equipment; and if the verification of the user account and the equipment identification code is successful, registering the equipment ID to a network equipment service platform. According to the invention, the network equipment determines that the equipment ID is matched with the set ID, and ensures that only the user account with the binding relationship can send the network distribution information to the network equipment. After the equipment is successfully networked, the user account and the equipment identification code need to be verified through the block chain service platform, and then the network equipment is allowed to register, so that the user account, the network distribution information of the wireless network, the equipment ID and the registration ID of the network equipment service platform are in a strict one-to-one correspondence relationship, and the security of the network equipment network distribution application is ensured through double verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a wireless network configuration processing method, apparatus, electronic device, and storage medium. Background Art

[0002] In the context of the rapid development of Internet of Things technologies, a wide variety of wireless smart home devices have entered thousands of households. Smart devices such as smart cameras, sockets, speakers, and various medical and health products cover all aspects of people's lives. Compared with ordinary wired smart devices that can automatically connect to the network, the network configuration and binding process of wireless network devices is more complex.

[0003] The wireless network configuration process of network devices all has certain time-consuming and complex operations, which are not conducive to people's understanding, especially bringing great troubles to elderly users.

[0004] The wireless network configuration process and the process of establishing a binding relationship are coupled, which is not conducive to the replacement of the device's wireless network and the transfer of the binding relationship. When changing the network scenario or other reasons cause the network connected by the network device to fail and the network needs to be replaced, a complex network configuration and binding process needs to be initiated again. In addition, when changing the network device binding account, the new account not only needs to re-perform network configuration and binding, but also requires the original network device user to unbind the device first.

[0005] Existing wireless network configuration methods have problems such as device ID exposure and centralization of the binding relationship. The binding relationship between users and devices highly depends on the device ID information. Information such as the Media Access Control (MAC) address or International Mobile Equipment Identity (IMEI) of ordinary devices that can form the device ID is basically directly attached to the device body, posing a risk of device identity exposure. In addition, as an important identifier for smart device management and information retrieval, the binding relationship with users is directly stored in major smart device service platforms, which is too centralized.

[0006] In summary, the existing wireless network configuration processing method has low security. Summary of the Invention

[0007] Embodiments of this application provide a wireless network configuration processing method, apparatus, electronic device, and storage medium to solve the technical problem of low security of existing wireless network configuration methods.

[0008] In a first aspect, an embodiment of the application provides a wireless network configuration processing method, which is applied to a blockchain service platform and includes:

[0009] Send the device ID of the network device and the network configuration information in the device network configuration request to the client; wherein, the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, it connects to the wireless network based on the network configuration information, and if the network device successfully accesses the network, it sends a registration request to the blockchain service platform;

[0010] Receive the registration request sent by the network device, and obtain the user account, the device ID, and its device identification code carried by the registration request; the device identification code is the on-chain identification code stored by the network device in the blockchain;

[0011] If the verification of the user account and the device identification code is successful, register the device ID to the network device service platform.

[0012] In one embodiment, determining that the verification of the user account and the device identification code is successful includes:

[0013] Obtain at least one pre-stored bound device identification code and its affiliated account, where the bound device identification code is the device identification code of the network device that has a binding relationship with the user;

[0014] If the user account matches the affiliated account, and the device identification code matches the bound device identification code, it is determined that there is an affiliated relationship between the user account and the device identification code, and it is determined that the verification of the user account and the device identification code is successful.

[0015] In one embodiment, before sending the device ID of the network device and the network configuration information in the device network configuration request to the client, it further includes:

[0016] Receive the device network configuration request sent by the client; the device network configuration request includes the user account and the device identification code;

[0017] If the verification of the user account and the device identification code is successful, obtain the device ID based on the device identification code.

[0018] In one embodiment, determining at least one of the bound device identification codes and its affiliated account includes:

[0019] Receive the device information sent by at least one device to be bound;

[0020] Display the device information to the client;

[0021] Receive and store the bound device identification code and the affiliated account sent by the client based on the displayed device information.

[0022] In one embodiment, after registering the device ID to the network device service platform, the following steps are further included:

[0023] Receiving the online device ID of the network device sent by the network device service platform and its online device type;

[0024] Obtaining the target user account of the device identification code corresponding to the online device ID;

[0025] Based on the target user account and the online device type, pushing an online message of the network device that has gone online to the client.

[0026] In one embodiment, after receiving and storing the bound device identification code and the affiliated account sent by the client based on the displayed device information, the following steps are further included:

[0027] Receiving a device transfer request sent by the client; the device transfer request includes the affiliated account, the account to be transferred, and the transfer device identification code;

[0028] If the affiliated account and the transfer device identification code are successfully verified, modifying the affiliated account based on the account to be transferred.

[0029] In one embodiment, the device information includes the device ID and the device type, and displaying the device information to the client includes:

[0030] Obtaining the device identification code to be bound corresponding to the device ID to be bound;

[0031] Generating a device list that can be uploaded to the blockchain based on the device identification code to be bound and the device type to be bound, and displaying the device list to the client, where the device information includes the device list.

[0032] In a second aspect, an embodiment of the present application provides a wireless network configuration processing device, including:

[0033] A sending module, configured to send the device ID of the network device and the network configuration information in the network device configuration request to the client; wherein, the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, it connects to the wireless network based on the network configuration information, and if the network device successfully accesses the network, it sends a registration request to the blockchain service platform;

[0034] A receiving module, configured to receive the registration request sent by the network device, and obtain the user account, the device ID, and the device identification code of the network device carried in the registration request; the device identification code is the on-chain identification code stored by the network device in the blockchain;

[0035] A registration module, configured to register the device ID to the network device service platform if the user account and the device identification code are successfully verified.

[0036] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a computer program, and when the processor executes the program, the steps of the wireless network configuration processing method described in the first aspect are implemented.

[0037] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the wireless network configuration processing method described in the first aspect are implemented.

[0038] The wireless network configuration processing method, device, electronic device, and storage medium provided by the embodiments of the present application send the device ID of the network device and the network configuration information in the device network configuration request to the client; wherein, the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, it connects to the wireless network based on the network configuration information. If the network device successfully accesses the network, it sends a registration request to the blockchain service platform; receives the registration request sent by the network device, and obtains the user account, the device ID, and the device identification code of the network device carried in the registration request; the device identification code is the on-chain identification code stored by the network device in the blockchain; if the user account and the device identification code are successfully verified, the device ID is registered to the network device service platform. The embodiments of the present application determine that the device ID matches the set ID through the network device, ensuring that only user accounts with a binding relationship can send network configuration information to the network device. After the device successfully connects to the network, it is required to first verify the user account and the device identification code through the blockchain service platform before allowing the network device to register, realizing a strict one-to-one correspondence between the user account, the network configuration information of the wireless network, the device ID, and the registration ID of the network device service platform, and ensuring the security of the network device network configuration application through double verification. Description of the Drawings

[0039] To more clearly illustrate the technical solutions in the present application or the prior art, the following will briefly introduce the accompanying drawings required for use in the embodiments or the description of the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can also be obtained based on these drawings.

[0040] Figure 1 is one of the schematic flowcharts of the wireless network configuration processing method provided by the embodiments of the present application;

[0041] Figure 2 is the second schematic flowchart of the wireless network configuration processing method provided by the embodiments of the present application;

[0042] Figure 3 is the schematic flowchart of the process for modifying the attribution account provided by the embodiments of the present application;

[0043] Figure 4 is the schematic structural diagram of the wireless network configuration processing device provided by the embodiments of the present application;

[0044] Figure 5 is the schematic structural diagram of the electronic device provided by the embodiments of the present application. Detailed Embodiments

[0045] To make the objectives, technical solutions, and advantages of the present application clearer, the following will clearly and completely describe the technical solutions in the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in the present application belong to the scope of protection of the present application.

[0046] Figure 1 is one of the schematic flowcharts of the wireless network configuration processing method provided by the embodiments of the present application. Referring to Figure 1 , the embodiments of the present application provide a wireless network configuration processing method, which is applied to a blockchain service platform and includes:

[0047] Step 100: Send the device ID of the network device and the network configuration information in the device network configuration request to the client;

[0048] Among them, the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, it connects to the wireless network based on the network configuration information. If the network device successfully accesses the network, it sends a registration request to the blockchain service platform;

[0049] A blockchain business platform is a platform based on blockchain technology, used to support and manage various blockchain-related business operations and applications. The blockchain business platform provides a series of tools, interfaces and functions to help developers and enterprises build, deploy and manage blockchain applications. Blockchain technology is a distributed database technology that achieves decentralized data storage and management by distributing data across multiple nodes. Each node has a complete copy of the data, and these nodes use a consensus algorithm to reach a consensus on data changes, ensuring the immutability and security of the data.

[0050] Based on the device network configuration request sent by the client, the blockchain business platform obtains the device ID and network configuration information (such as the account number and password of the wireless network) of the network device requesting network configuration. As an important identifier of the network device, the device ID cannot be easily exposed. The client cannot directly obtain the device ID. After encrypting the device ID and network configuration information, the blockchain business platform generates an encrypted package and sends the encrypted package to the client. The client directly forwards the encrypted package to the network device. When forwarding to the network device, the client determines the transmission form of the encrypted package according to the specific configuration of the network device. If the network device has a sound wave receiving device, the encrypted package is transmitted in the form of sound waves; if the network device has a picture receiving device, the encrypted package is transmitted in the form of a QR code. Further, the encrypted package includes the user account bound to the network device. The network device decrypts the encrypted package to obtain the device ID and network configuration information. The network device first verifies the device ID to determine whether the device ID matches the set ID inside the network device body. If the device ID and the set ID match, the network device connects to the wireless network according to the network configuration information. If the network device successfully accesses the network, it sends a registration request to the blockchain business platform, requesting to register with the network device business platform.

[0051] Step 200: Receive the registration request sent by the network device, and obtain the user account, device ID and device identification code of the network device carried in the registration request;

[0052] The device identification code is the identification code stored in the blockchain by the network device.

[0053] The device identification code is obtained by the blockchain business platform encrypting the device ID, and the encryption method includes asymmetric encryption.

[0054] The network device sends a registration request to the blockchain business platform, requesting to register with the network device business platform for subsequent business processing of the network device by the network device business platform. The registration request includes the user account, device ID and device identification code of the network device. The blockchain business platform receives the registration request and obtains the user account, device ID and device identification code in the registration request.

[0055] Step 300: If the user account and the device identification code are successfully verified, register the device ID to the network device service platform.

[0056] The network device service platform refers to a platform used to support and manage various network device-related business operations and applications. The network device service platform provides a series of tools, interfaces, and functions to help operators, enterprises, or organizations effectively manage and operate network devices.

[0057] The blockchain service platform matches the corresponding ownership account of the device identification code according to the device identification code in the registration request, and further matches the ownership account and the user account to verify the user account and the device identification code. When the user account and the device identification code are successfully verified, the blockchain service platform registers the device ID to the network device service platform. If the network device service platform has not registered the network device before, it will perform relevant initialization registration processing. If it has been registered before, it will directly return a successful registration.

[0058] The wireless network configuration processing method provided by the embodiments of the present application sends the device ID of the network device and the network configuration information in the network configuration request of the device to the client; wherein, the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, it connects to the wireless network based on the network configuration information. If the network device successfully accesses the network, it sends a registration request to the blockchain service platform; receives the registration request sent by the network device, and obtains the user account, device ID, and device identification code of the network device carried in the registration request; the device identification code is the on-chain identification code stored by the network device in the blockchain; if the user account and the device identification code are successfully verified, register the device ID to the network device service platform. The embodiments of the present application ensure that only user accounts with a binding relationship can send network configuration information to the network device by determining that the device ID matches the set ID. After the device is successfully connected to the network, it is necessary to first verify the user account and the device identification code through the blockchain service platform before allowing the network device to register, so as to realize a strict one-to-one correspondence relationship among the user account, the network configuration information of the wireless network, the device ID, and the registration ID of the network device service platform, and ensure the security of the network device network configuration application through double verification.

[0059] In the embodiments of the present application, the network configuration information of the network device is obtained through the blockchain service platform. When connecting to the network, the device ID is compared. When registering, the binding relationship is compared through the blockchain service platform, which improves the security of the device ownership relationship and services.

[0060] Based on the above embodiments, determining that the user account and the device identification code are successfully verified includes:

[0061] Step 310: Obtain at least one pre-stored bound device identification code and its affiliated account. The bound device identification code is the device identification code of a network device having a binding relationship with the user.

[0062] Step 320: If the user account matches the affiliated account and the device identification code matches the bound device identification code, determine that there is an affiliation relationship between the user account and the device identification code, and determine that the verification of the user account and the device identification code is successful.

[0063] In the blockchain service platform, the bound device identification codes of the bound network devices and their affiliated accounts are pre-stored. For example, the blockchain service platform stores the affiliation relationship between the bound device identification codes and the affiliated accounts in the form of a table.

[0064] When it is necessary to verify the affiliation relationship between the user account and the device identification code, match the user account with the affiliated accounts. If there is a matching relationship, find out the bound device identification code corresponding to the successfully matched affiliated account. If the bound device identification code and the device identification code match successfully, it indicates that there is an affiliation relationship between the user account and the device identification code, and the verification of the user account and the device identification code is successful.

[0065] Furthermore, the verification of the user account and the device identification code is not limited to the device ID. Any identity identifier agreed upon by the network device and the blockchain service platform can be used as the verification information.

[0066] According to the bound device identification code and its affiliated account, the embodiment of the present application verifies the affiliation relationship between the user account and the device identification code, which can ensure that only the user account and the device identification code with an affiliation relationship can proceed with the subsequent network configuration process.

[0067] Based on the above embodiment, before sending the device ID of the network device and the network configuration information in the device network configuration request to the client, it further includes:

[0068] Step 110: Receive a device network configuration request sent by the client. The device network configuration request includes a user account and a device identification code.

[0069] Step 120: If the verification of the user account and the device identification code is successful, obtain the device ID based on the device identification code.

[0070] The device ID is an important identifier for controlling network devices and information retrieval. If it is directly stored in the blockchain business platform, the device identity of the network device will be exposed. Users bound to the network device cannot directly obtain the device ID through the client either. The client obtains the device identification code. The user selects the network configuration information of the wireless network through the client, such as the account password, and combines it with the device identification code to send a device network configuration request to the blockchain business platform. The blockchain business platform verifies the relationship between the user account and the device identification code. If, after verification, there is a binding relationship between the user account and the device identification code, the verification is successful. Then, the blockchain business platform decrypts the device identification code to obtain the device ID.

[0071] In the embodiment of the present application, after verifying the relationship between the user account and the device identification code and then obtaining the device ID, it can be ensured that only the user account with a binding relationship with the device identification code can perform subsequent network configuration processes.

[0072] Based on the above embodiment, determining at least one bound device identification code and its belonging account includes:

[0073] Step 330: Receive device information sent by at least one device to be bound;

[0074] Step 340: Display the device information to the client;

[0075] Step 350: Receive and store the bound device identification code and the belonging account sent by the client based on the displayed device information.

[0076] The network device to be bound assembles its device information and sends it to the blockchain business platform. The blockchain business platform performs an asymmetric encryption algorithm on the device ID to be bound in the device information to generate a device identification code to be bound that can be uploaded to the chain, thereby digitizing the real device to be bound. The blockchain business platform uploads the digitized device to be bound to the chain as the only channel for users to obtain network devices and device information. The blockchain business platform displays the device information to the client. The device information includes the appearance picture identifier of the real device, a detailed function description, and the device identification code.

[0077] After the user registers and logs in to the client, they automatically register with the blockchain business platform, browse the device information on the client, purchase or collect network devices, and then bind the network devices. The client sends the bound device identification code of the bound network device and its belonging account to the blockchain business platform. The blockchain business platform adds the bound device identification code under the corresponding belonging account for distributed storage. Since then, a belonging relationship is established between the belonging account and the bound device identification code and stored on the blockchain platform.

[0078] Further, the blockchain business platform pushes a successful digital device (network device) association message to the client. The client queries the device name, device picture, and instruction information of the network device from the network device business platform according to the device type and displays a device list.

[0079] In the embodiments of the present application, the binding and network configuration processes of the network device do not affect each other. The binding relationship stored by the blockchain business platform serves as the basis for the network connection and verification of the network device. The processes of network connection and establishment of the binding relationship of the network device can be operated independently, and the two processes do not need to be associated.

[0080] In the embodiments of the present application, by storing the bound device identification code and its affiliated account, subsequent verification of the user account and device identification code is realized, improving the security of the network device network configuration application.

[0081] Based on the above embodiments, after registering the device ID to the network device business platform, it further includes:

[0082] Step 400: Receive the online device ID and its online device type of the online network device sent by the network device business platform;

[0083] Step 500: Obtain the target user account of the device identification code corresponding to the online device ID;

[0084] Step 600: Based on the target user account and the online device type, push an online message of the online network device to the client.

[0085] As shown in the figure, after the device ID is successfully registered in the network device business platform, the network device is in an online state. The network device business platform sends the online device ID and its online device type of the online network device to the blockchain business platform. The blockchain business platform asymmetrically encrypts the online device ID to obtain the online device identification code of the online network device, and queries the target user account corresponding to the online network device based on the online device identification code (which can be the same as the above user account). The blockchain business platform sends the online device type, the online device identification code, and an online message indicating that the network device is online to the client of the corresponding user. The client will set the corresponding online network device to a controllable state according to the online device identification code.

[0086] In the embodiments of the present application, sending an online message to the client in a timely manner after the network device is successfully online is beneficial to timely reminding the user that the network device is online, facilitating the user's control of the online network device.

[0087] Based on the above embodiments, after receiving and storing the bound device identification code and the affiliated account sent by the client based on the displayed device information, it further includes:

[0088] Step 360: receiving a device transfer request sent by the client; the device transfer request includes the home account, the account to be transferred and the transfer device identification code;

[0089] Step 370: If the verification of the home account and the transfer device identification code is successful, the home account is modified based on the account to be transferred.

[0090] Different from the common network equipment first sending network configuration information to the network equipment, and then the network equipment initiates the establishment of the binding relationship after the network equipment is successfully connected to the network, the embodiment of the present application combines blockchain technology to first establish a binding relationship for the network equipment, and the records of the establishment and transfer of the binding relationship are recorded in the blockchain business platform in a decentralized storage manner. After the binding relationship is established, the user can access and use some functions of the network device.

[0091] If Figure 2 As shown in the figure, when the binding relationship of the network device needs to be modified, the belonging account only needs to transfer the device identification code of the blockchain platform through the transfer method on the client, and the network device can be bound to the account to be transferred.

[0092] The user of the home account initiates a device transfer request to the blockchain business platform on the client. After receiving the transfer request, the blockchain business platform verifies the home account and the transfer device identification code in the transfer request. When the verification determines that the home account and the transfer device identification code have a home relationship, the blockchain business platform transfers the transfer device identification code in the distributed storage to the account to be transferred according to the transfer request and forms a transfer record.

[0093] Furthermore, the blockchain business platform sends a device server initialization instruction to the network device business platform, clears the user data of the original account of the network device, and synchronizes the online or offline status of the network device at this time. The blockchain business platform sends the transfer device identification code and the device type of the transfer device to the client of the account to be transferred. The client of the account to be transferred queries the network device business platform for the device name, device image and instruction information of the transfer device according to the device type, and displays the device list. If the transfer device is offline, it will be displayed as uncontrollable, and the user will be prompted to configure the network for the transfer device. If the transfer device has been connected to the network, the user of the account to be transferred does not need to re-configure the network for the transfer device, and can directly control the transfer device.

[0094] ​In the embodiment of the present application, the attribution relationship of network devices is transferred centered on and based on the blockchain service platform, without relying on the process of network configuration binding of ordinary network devices. The network configuration information in the embodiment of the present application is sent by the bound user to the network device, and the binding relationship stored in the blockchain service platform is used as the basis for the network device to connect to the network and perform verification. The processes of the network device connecting to the network and transferring (or establishing) the binding relationship can be operated separately, and the new user of the transferred binding relationship can use the original network of the network device. In the embodiment of the present application, the user can obtain and bind the network device through online purchase. Whether it is the initial binding or the transfer of the binding relationship, it can be completed only by requesting an operation from the client to the blockchain service platform, getting rid of the limitation of near-field binding.

[0095] Based on the above embodiment, device information is displayed to the client, including:

[0096] Step 341: Obtain the identification code of the device to be bound corresponding to the ID of the device to be bound;

[0097] Step 342: Generate a device list that can be uploaded to the blockchain based on the identification code of the device to be bound and the type of the device to be bound, and display the device list to the client. The device information includes the device list.

[0098] After the blockchain service platform receives the ID of the device to be bound and the type of the device to be bound sent by the device to be bound, it performs asymmetric encryption on the ID of the device to be bound to obtain the identification code of the device to be bound, and hides the ID of the device to be bound. The blockchain service platform generates a device list that can be uploaded to the blockchain based on the identification code of the device to be bound and the type of the device to be bound. For example, the identification code of the device to be bound and the type of the device to be bound are listed in a table and displayed to the client to facilitate the user to purchase or collect network devices.

[0099] In the embodiment of the present application, by encrypting the ID of the device to be bound to obtain the identification code of the device to be bound, the risk of directly exposing the ID of the device to be bound is avoided, effectively protecting the security of the ID of the device to be bound.

[0100] The wireless network configuration processing device provided in the embodiment of the present application is described below. The wireless network configuration processing device described below can be correspondingly referred to the wireless network configuration processing method described above. Refer to Figure 4 , Figure 4 is the structural schematic diagram of the wireless network configuration processing device provided in the embodiment of the present application. A wireless network configuration processing device includes:

[0101] A sending module 401 is configured to send the device ID of a network device and the network configuration information in the device network configuration request to a client. Among them, the client sends the device ID and the network configuration information to the network device. When the network device determines that the device ID matches the set ID, it connects to the wireless network based on the network configuration information. If the network device successfully accesses the network, it sends a registration request to the blockchain service platform.

[0102] A receiving module 402 is configured to receive the registration request sent by the network device and obtain the user account, device ID, and device identification code of the network device carried in the registration request. The device identification code is the on-chain identification code stored by the network device in the blockchain.

[0103] A registration module 403 is configured to register the device ID to the network device service platform if the user account and the device identification code pass the verification.

[0104] The wireless network configuration processing device provided by the embodiment of the present application sends the device ID of the network device and the network configuration information in the device network configuration request to the client. Among them, the client sends the device ID and the network configuration information to the network device. When the network device determines that the device ID matches the set ID, it connects to the wireless network based on the network configuration information. If the network device successfully accesses the network, it sends a registration request to the blockchain service platform. Receive the registration request sent by the network device and obtain the user account, device ID, and device identification code of the network device carried in the registration request. The device identification code is the on-chain identification code stored by the network device in the blockchain. If the user account and the device identification code pass the verification, the device ID is registered to the network device service platform. In the embodiment of the present application, the network device determines that the device ID matches the set ID, ensuring that only user accounts with a binding relationship can send network configuration information to the network device. After the device successfully connects to the network, it must first pass the verification of the user account and the device identification code by the blockchain service platform before the network device is allowed to register, realizing a strict one-to-one correspondence between the user account, the network configuration information of the wireless network, the device ID, and the registration ID of the network device service platform, and ensuring the security of the network device network configuration application through double verification.

[0105] In one embodiment, the registration module 403 is further configured to: determine that the user account and the device identification code pass the verification, including: obtaining at least one pre-stored bound device identification code and its affiliated account, where the bound device identification code is the device identification code of a network device having a binding relationship with the user; if the user account matches the affiliated account and the device identification code matches the bound device identification code, it is determined that there is an affiliated relationship between the user account and the device identification code, and it is determined that the user account and the device identification code pass the verification.

[0106] In one embodiment, the sending module 401 is further configured to: obtain a device ID, including: receiving a device network configuration request sent by a client; the device network configuration request includes a user account and a device identification code; if the user account and the device identification code are successfully verified, obtain the device ID based on the device identification code.

[0107] In one embodiment, the registration module 403 is further configured to: determine at least one bound device identification code and its affiliated account, including: receiving device information sent by at least one device to be bound; presenting the device information to the client; receiving and storing the bound device identification code and the affiliated account sent by the client based on the presented device information.

[0108] In one embodiment, the registration module 403 is further configured to: receive the online device ID and the online device type of an online network device sent by a network device service platform; obtain the target user account of the device identification code corresponding to the online device ID; push an online message of the online network device to the client based on the target user account and the online device type.

[0109] In one embodiment, the registration module 403 is further configured to: receive a device transfer request sent by the client; the device transfer request includes an affiliated account, a transfer account to be transferred, and a transfer device identification code; if the affiliated account and the transfer device identification code are successfully verified, modify the affiliated account based on the transfer account to be transferred.

[0110] In one embodiment, the registration module 403 is configured to: obtain the device identification code to be bound corresponding to the device ID to be bound; generate a chainable device list based on the device identification code to be bound and the device type to be bound, and present the device list to the client, and the device information includes the device list.

[0111] Figure 5 Illustrates a schematic physical structure diagram of an electronic device, such as Figure 5 shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530, and a communication bus 540. Among them, the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call a computer program in the memory 530 to execute the steps of the wireless network configuration processing method, for example, including:

[0112] Send the device ID of the network device and the network configuration information in the device network configuration request to the client; wherein, the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, connect to the wireless network based on the network configuration information, and if the network device successfully accesses the network, send a registration request to the blockchain service platform; receive the registration request sent by the network device, and obtain the user account, device ID and device identification code of the network device carried in the registration request; the device identification code is the on-chain identification code stored by the network device in the blockchain; if the user account and the device identification code are successfully verified, register the device ID to the network device service platform.

[0113] In addition, when the logical instructions in the above-mentioned memory 530 are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0114] On the other hand, the embodiment of the present application also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the steps of the wireless network configuration processing method provided in the above-mentioned various embodiments, for example, including:

[0115] Send the device ID of the network device and the network configuration information in the device network configuration request to the client; wherein, the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, connect to the wireless network based on the network configuration information, and if the network device successfully accesses the network, send a registration request to the blockchain service platform; receive the registration request sent by the network device, and obtain the user account, device ID and device identification code of the network device carried in the registration request; the device identification code is the on-chain identification code stored by the network device in the blockchain; if the user account and the device identification code are successfully verified, register the device ID to the network device service platform.

[0116] On the other hand, an embodiment of the present application further provides a non-transitory computer-readable storage medium storing a computer program for causing a processor to execute the steps of the wireless network configuration processing method provided in the above embodiments, for example, including:

[0117] Send the device ID of the network device and the network configuration information in the device network configuration request to the client; wherein, the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, connect to the wireless network based on the network configuration information, and if the network device successfully accesses the network, send a registration request to the blockchain service platform; receive the registration request sent by the network device, and obtain the user account, device ID, and device identification code of the network device carried in the registration request; the device identification code is the on-chain identification code stored by the network device in the blockchain; if the user account and the device identification code pass the verification, register the device ID to the network device service platform.

[0118] The non-transitory computer-readable storage medium may be any available medium or data storage device accessible by the processor, including but not limited to magnetic memories (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical memories (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor memories (such as ROM, EPROM, EEPROM, non-volatile memories (NAND FLASH), solid-state drives (SSD)).

[0119] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0120] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence, or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disks, optical disks, etc., including several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims

1. A wireless network distribution processing method, characterized in that: Applied to blockchain business platforms, including: Send the device ID of the network device and the network configuration information in the device network configuration request to the client; wherein the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, it connects to the wireless network based on the network configuration information, and if the network device successfully joins the network, it sends a registration request to the blockchain business platform; Receive the registration request sent by the network device, and obtain the user account of the network device, the device ID and its device identification code carried in the registration request; the device identification code is the on-chain identification code stored by the network device in the blockchain; If the user account and the device identification code are successfully verified, the device ID is registered to the network device service platform.

2. The wireless network distribution processing method according to claim 1, characterized in that: Determining that the user account and the device identification code are successfully verified includes: Acquire at least one pre-stored bound device identification code and its affiliated account number, wherein the bound device identification code is a device identification code of the network device that has a binding relationship with the user; If the user account matches the attribution account, and the device identification code matches the bound device identification code, indicating that there is an attribution relationship between the user account and the device identification code, it is determined that the verification of the user account and the device identification code is successful.

3. The wireless network distribution processing method according to claim 1, characterized in that: Before sending the device ID of the network device and the network configuration information in the device network configuration request to the client, the method further includes: Receiving the device network configuration request sent by the client; the device network configuration request includes the user account and the device identification code; If the user account and the device identification code are successfully verified, the device ID is obtained based on the device identification code.

4. The wireless network distribution processing method according to claim 2, characterized in that: Determining at least one of the bound device identification codes and its home account number includes: Receiving device information sent by at least one device to be bound; Displaying the device information to the client; Receive and store the bound device identification code and the home account number sent by the client based on the displayed device information.

5. The wireless network distribution processing method according to claim 1, characterized in that: After registering the device ID to the network device service platform, the method further includes: Receiving the online device ID and online device type of the online network device sent by the network device service platform; Obtain the target user account of the device identification code corresponding to the online device ID; Based on the target user account and the type of the online device, an online message of the online network device is pushed to the client.

6. The wireless network distribution processing method according to claim 4, characterized in that: After receiving and storing the bound device identification code and the home account number sent by the client based on the displayed device information, the method further includes: receiving a device transfer request sent by the client; the device transfer request includes the home account, the account to be transferred and the transfer device identification code; If the home account number and the transfer device identification code are successfully verified, the home account number is modified based on the account number to be transferred.

7. The wireless network distribution processing method according to claim 4, characterized in that: The displaying the device information to the client includes: Get the identification code of the device to be bound corresponding to the ID of the device to be bound; A list of devices that can be chained is generated based on the identification code of the device to be bound and the type of the device to be bound, and the list of devices is displayed to the client, wherein the device information includes the list of devices.

8. A wireless distribution network processing device, characterized in that: include: A sending module, used to send the device ID of the network device and the network configuration information in the device network configuration request to the client; wherein the client sends the device ID and the network configuration information to the network device; when the network device determines that the device ID matches the set ID, it connects to the wireless network based on the network configuration information, and if the network device successfully joins the network, it sends a registration request to the blockchain business platform; A receiving module, configured to receive the registration request sent by the network device, and obtain the user account of the network device, the device ID and its device identification code carried in the registration request; the device identification code is the on-chain identification code stored by the network device in the blockchain; The registration module is used to register the device ID to the network device service platform if the user account and the device identification code are successfully verified.

9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the wireless network configuration processing method according to any one of claims 1 to 7 are implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the wireless network configuration processing method according to any one of claims 1 to 7 are implemented.