Wireless device password setting method, device, computer device and storage medium

Obtain password setting permissions and encrypted data of wireless devices through cloud servers, enable password setting interfaces using preset applications, and generate and issue password setting instructions, solving the problem of low security in wireless devices and realizing a high security and convenient password setting process.

CN118102293BActive Publication Date: 2025-06-27浙江华昱欣科技有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410524770.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2025-06-27
Estimated Expiration
2044-04-29

AI Technical Summary

Technical Problem

The password settings of existing wireless devices are low in security, are susceptible to the risk of leakage, and have poor operational convenience.

Method used

The password setting permissions and encrypted password setting data of the wireless device are obtained through the cloud server, and the password setting permissions are used to enable the password setting interface of the wireless device on the user interface of the preset application. Password setting instructions are generated based on the password setting data, and password setting instructions and preset password are issued to the wireless device through the password setting interface.

Benefits of technology

Password setting for wireless devices is not required without external controls, which improves the security of password settings, reduces the risk of password leakage, and enhances operation convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118102293B_ABST
    Figure CN118102293B_ABST
Patent Text Reader

Abstract

The present application relates to a method, apparatus, computer device, and storage medium for setting a password of a wireless device. The password setting permission and encrypted password setting data of the wireless device are obtained through a cloud server. The password setting interface of the wireless device is enabled in the user interface of a preset application by using the password setting permission. A password setting instruction is generated based on the password setting data. The password setting instruction and a preset password are sent to the wireless device through the password setting interface to set the password of the wireless device. The password of the wireless device can be set without an external control, and the data generated during the password setting process is invisible to the user, solving the problem of low security of password setting of the wireless device, reducing the risk of password leakage during the password setting process, and improving the security of password setting of the wireless device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wireless devices, and particularly to a method, a device, a computer device, and a storage medium for setting passwords for wireless devices. Background Art

[0002] In the process of data access of wireless devices, it is necessary to set passwords to enhance the security of access. Designing passwords includes initial password setting for wireless devices, password verification or modification, password reset when users forget passwords, etc.

[0003] In related technologies, the setting of passwords for wireless devices is mainly achieved by means of external controls. However, using external controls as the setting interface for wireless device passwords has low operation convenience, and the device shell needs to be provided with additional openings to add external buttons or infrared receiving devices, which is not conducive to the waterproof and dustproof of wireless devices. Moreover, for externally installed devices, as long as they are in close contact with the external controls, the device passwords can be modified through buttons or remote controls, resulting in low security of wireless devices. There are also methods that use preset super passwords as the password setting interface for devices. However, the super passwords of some methods are the same for all devices, increasing the risk of password leakage. Even if different super passwords are used for different devices, the passwords corresponding to each device still remain unchanged or are maintained in the form of a dictionary table, and there is still a risk of leakage, with low security.

[0004] Currently, for the problem of low security in password setting of wireless devices in related technologies, no effective solution has been proposed. Summary of the Invention

[0005] Based on this, in view of the above technical problems, it is necessary to provide a method, a device, a computer device, and a storage medium for setting passwords for wireless devices, which can improve the security of password setting for wireless devices.

[0006] In a first aspect, the present application provides a method for setting passwords for wireless devices. The method includes:

[0007] Obtaining password setting permissions and password setting data of a wireless device through a cloud server; wherein, the password setting data is in an encrypted state;

[0008] Enabling a password setting interface of the wireless device in a user interface of a preset application by using the password setting permissions;

[0009] Issuing a password setting instruction and a preset password to the wireless device through the password setting interface to set a password for the wireless device; wherein, the password setting instruction is generated based on the password setting data.

[0010] In one embodiment, obtaining the password setting permission and password setting data of the wireless device by the cloud server includes:

[0011] When the wireless device and the cloud server are in a bound state, accessing the cloud server;

[0012] After successful access, applying to the cloud server to obtain the password setting permission and the password setting data of the wireless device.

[0013] In one embodiment, generating the password setting instruction based on the password setting data includes:

[0014] Calculating the encrypted key of the password setting data, where the password setting data includes the serial number of the wireless device;

[0015] Obtaining the password setting instruction according to the key;

[0016] Locally saving the password setting instruction.

[0017] In one embodiment, setting the password for the wireless device includes:

[0018] Starting to time after the password setting interface is enabled;

[0019] When the password setting time exceeds the preset duration, resetting the password setting flag bit of the wireless device and clearing the password setting data.

[0020] In one embodiment, before sending the password setting instruction and the preset password to the wireless device through the password setting interface, it further includes:

[0021] Verifying the user's identity according to the login account of the user logging in to the preset application;

[0022] When the identity verification is passed, sending the password setting instruction and the preset password to the wireless device through the password setting interface.

[0023] In one embodiment, it further includes:

[0024] Verifying the user's identity according to the security prompt code and serial number of the wireless device, where the security prompt code includes the cumulative number of times the wireless device uses the dynamic password for password setting;

[0025] When the verification is passed, generating a dynamic password and sending the dynamic password to the wireless device, where the dynamic password is in an encrypted state;

[0026] Set the password of the wireless device according to the dynamic password.

[0027] In one embodiment, after setting the password of the wireless device, the method further includes:

[0028] Update the security prompt code of the wireless device;

[0029] Store the updated security prompt code.

[0030] In a second aspect, the present application further provides a wireless device password setting device. The device includes:

[0031] An acquisition module, configured to acquire the password setting permission and password setting data of the wireless device through a cloud server; wherein, the password setting data is in an encrypted state;

[0032] An enabling module, configured to enable the password setting interface of the wireless device in the user interface of a preset application by using the password setting permission;

[0033] A setting module, configured to send a password setting instruction and a preset password to the wireless device through the password setting interface to set the password of the wireless device; wherein, the password setting instruction is generated based on the password setting data.

[0034] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0035] Acquire the password setting permission and password setting data of the wireless device through a cloud server; wherein, the password setting data is in an encrypted state;

[0036] Enable the password setting interface of the wireless device in the user interface of a preset application by using the password setting permission;

[0037] Send a password setting instruction and a preset password to the wireless device through the password setting interface to set the password of the wireless device; wherein, the password setting instruction is generated based on the password setting data.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0039] Acquire the password setting permission and password setting data of the wireless device through a cloud server; wherein, the password setting data is in an encrypted state;

[0040] Enable the password setting interface of the wireless device in the user interface of a preset application by using the password setting permission;

[0041] Send a password setting instruction and a preset password to the wireless device through the password setting interface to set a password for the wireless device; wherein, the password setting instruction is generated based on the password setting data.

[0042] The above wireless device password setting method, device, computer device and storage medium obtain the password setting permission and encrypted password setting data of the wireless device through a cloud server, enable the password setting interface of the wireless device in the user interface of a preset application by using the password setting permission, generate a password setting instruction based on the password setting data, and send the password setting instruction and the preset password to the wireless device through the password setting interface to set a password for the wireless device. It is possible to set a password for the wireless device without external controls, and the data generated during the password setting process is invisible to the user, solving the problem of low security in password setting of wireless devices, reducing the risk of password leakage during the password setting process, and improving the security of password setting for wireless devices. Description of the Drawings

[0043] Figure 1 It is an application environment diagram of the wireless device password setting method in an embodiment;

[0044] Figure 2 It is a flowchart of the wireless device password setting method in the related art;

[0045] Figure 3 It is a flowchart of the wireless device password setting method in an embodiment;

[0046] Figure 4 It is an overall flowchart of the wireless device password setting method in an embodiment;

[0047] Figure 5 It is an overall flowchart of the wireless device password setting method in another embodiment;

[0048] Figure 6 It is a structural block diagram of the wireless device password setting device in an embodiment;

[0049] Figure 7 It is an internal structure diagram of a computer device in an embodiment. Detailed Embodiments

[0050] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0051] The wireless device password setting method provided by the embodiment of the present application can be applied to, for example, Figure 1 the application environment shown in the figure. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or can be placed on the cloud or other network servers. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, etc. The server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

[0052] In the related art, as Figure 2 shown in the figure, when setting the password for a wireless device, it is first necessary to enter the password verification interface to determine whether the password is forgotten. In the case of not forgetting the password, enter the login password to log in to the wireless device, and determine whether the login password is the initial password. If the login password is not the initial password, log in. If the login password is the initial password, force the password to be modified and then log in. In the case of forgetting the password, provide the device serial number to the manufacturer's customer service to obtain the super password of the device, or trigger the password reset through external controls such as buttons and infrared lights. In this method, all wireless devices use the same super password, which increases the risk of password leakage; when setting the password using external controls, it is necessary to operate the external controls to set the password, which reduces the convenience of operation. At the same time, for devices installed outdoors, as long as the device can be accessed closely, the device password can be modified through buttons or a cracked infrared remote control to steal the device data, which reduces the security of the wireless device.

[0053] In one embodiment, as Figure 3 shown in the figure, a wireless device password setting method is provided. Taking the terminal 102 in Figure 1 as an example, the method includes the following steps:

[0054] Step S301, obtain the password setting permission and password setting data of the wireless device through the cloud server; among them, the password setting data is in an encrypted state.

[0055] Among them, the user can access the cloud server through a preset application, and the cloud server verifies the user's login account and identity through the preset application. After successful verification, the cloud server sends the password setting permission and password setting data for the specified wireless device to the preset application for temporary storage. The password setting permission has a time limit and will become invalid after exceeding the preset time. The password setting data includes the serial number of the specified wireless device, or can be the password reset flag bit of the wireless device for setting the position of the wireless device, the user identity information for verification, or the timeout duration of the password setting permission, etc. When the preset application obtains the password setting permission and password setting data, this process and the specific data obtained are invisible to the user, and the obtained password setting data are all encrypted data based on a preset encryption algorithm.

[0056] Step S302: Use the password setting permission to enable the password setting interface of the wireless device in the user interface of the preset application.

[0057] Among them, within the valid time of the password setting permission, the preset application can use the password setting permission to enable the password setting interface of the wireless device. This process can be achieved by the user performing relevant operations in the user interface of the preset application, and this operation can be clicking on the relevant button in the user interface, dragging the relevant slider in the user interface, entering relevant enabling control instructions in the user interface, etc.

[0058] Step S303: Send a password setting instruction and a preset password to the wireless device through the password setting interface to set the password of the wireless device; among them, the password setting instruction is generated based on the password setting data.

[0059] Among them, the preset application sends a password setting instruction to the specified wireless device through the password setting interface. This password setting instruction can be a key calculated based on the serial number of the wireless device through an encryption algorithm jointly agreed upon by the preset application and the wireless device. When sending the password setting instruction, the password setting instruction is invisible to the user.

[0060] In the above wireless device password setting method, the password setting permission and encrypted password setting data of the wireless device are obtained through the cloud server, the password setting interface of the wireless device is enabled in the user interface of the preset application using the password setting permission, a password setting instruction is generated based on the password setting data, and the password setting instruction and the preset password are sent to the wireless device through the password setting interface to set the password of the wireless device. It is possible to set the password of the wireless device without external controls, and the data and instructions generated during the password setting process are invisible to the user, solving the problem of low security in setting the password of the wireless device, reducing the risk of password leakage during the password setting process, and improving the security of setting the password of the wireless device.

[0061] In one embodiment, obtaining the password setting permission and password setting data of a wireless device through a cloud server includes: accessing the cloud server when the wireless device and the cloud server are in a bound state; after successful access, applying to the cloud server to obtain the password setting permission and password setting data of the wireless device.

[0062] Among them, the wireless device and the cloud server being in a bound state means that the wireless device has been registered and bound to the user's account in the cloud server before password setting. Accessing the cloud server means that the user logs in to the account through a preset application to access the cloud server. After successful access, the user can, through the preset application, actively apply for the password setting permission and password setting data of the wireless device bound to their account.

[0063] In this embodiment, when the wireless device and the cloud server are in a bound state, allowing the user to access the cloud server improves the security of the password setting permission and password setting data distribution of the wireless device.

[0064] In one embodiment, generating a password setting instruction based on the password setting data includes: calculating the encrypted key of the password setting data, where the password setting data includes the serial number of the wireless device; obtaining the password setting instruction according to the key; locally saving the password setting instruction.

[0065] Among them, the password setting instruction can be the key calculated based on the serial number of the wireless device according to the encryption algorithm agreed upon by the preset application and the wireless device. The preset application will locally save the password setting instruction within the validity period of the password setting permission. In this way, in the case of no network connection, the preset application can still send the password setting instruction to the wireless device to complete the password setting.

[0066] In this embodiment, by using the key calculated based on the serial number of the wireless device as the password setting instruction, the security of the wireless device password setting is improved; on the other hand, locally saving the password setting instruction during password setting enables the password setting instruction for a specified wireless device to be sent even without an Internet connection, improving the applicability of the password setting method.

[0067] In one embodiment, setting the password of the wireless device includes: starting timing after the password setting interface is enabled; in the case where the password setting time exceeds the preset duration, resetting the password setting flag bit of the wireless device and clearing the password setting data.

[0068] Among them, the password setting permission has a time limit. Timing starts after the password setting interface is enabled. If the wireless device has not been password-set within the preset time limit, the preset application will automatically reset the password setting flag of the reset line device and clear the password setting data. At this time, the password setting permission will also become invalid.

[0069] In this embodiment, by timing the password setting process and resetting the password setting flag of the wireless device when the password setting time exceeds the preset time, the real-time performance and security of the wireless device password setting method are improved.

[0070] In one embodiment, before sending a password setting instruction and a preset password to the wireless device through the password setting interface, it further includes: verifying the user's identity according to the login account of the user logging in to the preset application; and when the identity verification is passed, sending the password setting instruction and the preset password to the wireless device through the password setting interface.

[0071] Among them, after the user logs in to the cloud server through the preset application to access the cloud server, the cloud server can further verify the user's identity. For example, sending a verification verification code to the user in the form of text messages, emails or other forms to verify the user's identity.

[0072] In this embodiment, by further verifying the user's identity, the real-time performance and security of the wireless device password setting environment are strengthened, and the security risks of the wireless device password setting are reduced.

[0073] In one embodiment, it further includes: verifying the user's identity according to the security prompt code and serial number of the wireless device, where the security prompt code includes the cumulative number of times the wireless device uses a dynamic password for password setting; when the verification is passed, generating a dynamic password and sending the dynamic password to the wireless device, where the dynamic password is in an encrypted state; and setting the password of the wireless device according to the dynamic password.

[0074] Among them, when the wireless device and the cloud server are not in a bound state, the cumulative number of times the wireless device uses a dynamic password for password setting is used as the security prompt code, and the security prompt code and the device serial number are provided to the manufacturer of the wireless device. After the manufacturer verifies the user's identity, a dynamic password is generated through a dynamic super password calculator or other methods and sent to the installer. The installer sends the dynamic password to the wireless device through the proximal preset application. The encryption algorithm of the wireless device is the same as the encryption algorithm used when generating the dynamic password. Therefore, the wireless device can verify the dynamic password based on this. After the verification is passed, the wireless device can use the dynamic password for password setting.

[0075] In this embodiment, for different wireless devices, since their serial numbers and encryption algorithms are different, the dynamic passwords generated based on the serial numbers and encryption algorithms of the wireless devices are also different. Compared with the super password in the related art, which is the same for all devices, this embodiment ensures that different dynamic super passwords are generated for different wireless devices, avoiding the risk brought by the leakage of the super password. On the other hand, the dynamic super password of each device in this embodiment is generated in real time. Compared with the method in the related art of recording the super passwords of different devices in a dictionary table or other ways, the real-time performance and security of the password setting method in this embodiment are higher.

[0076] In one embodiment, after setting the password of the wireless device, the method further includes: updating the security prompt code of the wireless device; storing the updated security prompt code.

[0077] Among them, after the wireless device successfully completes the password setting according to the dynamic password, the wireless device will automatically confirm that this password setting action is completed by the dynamic super password according to the password setting flag bit, thereby automatically updating the security prompt code and storing it. In this way, it can be ensured that the security prompt codes in each password setting process of the same wireless device are different. Therefore, the dynamic passwords generated based on the security prompt codes are also different.

[0078] In this embodiment, by updating the security prompt code of the wireless device after the online device successfully completes the password setting according to the dynamic password, it is realized that the dynamic super passwords of the same wireless device are different in different password setting processes, improving the security and real-time performance of the wireless device password setting method. On the other hand, the manufacturer and the verification device can also intuitively judge the historical effective reset times of the wireless device according to the security prompt code, so as to verify the user identity according to the reset times, reducing the risk of wireless device password setting.

[0079] In one embodiment, Figure 4 is a schematic diagram of the overall process of the wireless device password setting method in an embodiment, as Figure 4As shown, after a preset application establishes a wireless communication link with a wireless device, open the preset application, select the basic data configuration operation, and establish a communication service session. After the session is successfully established, enter the authentication interface. After successfully entering the login password of the wireless device, determine whether it is the initial password of the wireless device. If the login password is the initial password of the wireless device, force the modification of the initial password and then perform the basic data configuration; if the login password is not the initial password of the wireless device, the basic data configuration of the wireless device can be directly performed. After the basic data configuration is completed, the password can be modified as needed. In the case where the user forgets the password of the wireless device, determine whether the preset application is bound to the cloud server platform. If the preset application has been bound to the cloud server platform, access the cloud server platform through the preset application for wireless device management, obtain the serial number of the wireless device, obtain the password reset permission of the wireless device through the serial number of the wireless device, and reset the password of the wireless device within a preset time. In the case where the preset application is not bound to the cloud server platform, the installer resets the password of the user's wireless device.

[0080] In one embodiment, Figure 5 is the overall process schematic diagram of the wireless device password setting method of another embodiment, as Figure 5 shown, after a preset application establishes a wireless communication link with a wireless device, open the preset application, select the proximal end of the wireless device for debugging operations, and establish a communication service session. After the session is successfully established, enter the authentication interface. After successfully entering the login password of the wireless device, determine whether it is the initial password of the wireless device. If the login password is the initial password of the wireless device, force the modification of the initial password and then perform the proximal debugging of the wireless device; if the login password is not the initial password of the wireless device, the proximal debugging of the wireless device can be directly performed. After the proximal debugging is completed, the password can be modified as needed. In the case where the user forgets the password of the wireless device, determine whether the preset application is bound to the cloud server platform. If the preset application has been bound to the cloud server platform, access the cloud server platform through the preset application for wireless device management, obtain the serial number of the wireless device, obtain the password reset permission of the wireless device through the serial number of the wireless device, and reset the password of the wireless device within a preset time. In the case where the preset application is not bound to the cloud server platform, obtain the security prompt code provided by the wireless device, provide the device serial number and the security prompt code to the manufacturer's customer service. After the installer contacts the manufacturer's customer service, enter and obtain the super dynamic password automatically calculated according to the specified encryption rule on the operation and maintenance platform. After obtaining the super dynamic password, log in. After the super dynamic password login is successful, the installer's password will be forced to be modified, and at this time the wireless device automatically updates the security prompt code.

[0081] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0082] Based on the same inventive concept, an embodiment of the present application further provides a wireless device password setting device for implementing the wireless device password setting method described above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the wireless device password setting device provided below can refer to the limitations on the wireless device password setting method in the above text, and will not be repeated here.

[0083] In one embodiment, as Figure 6 shown, a wireless device password setting device is provided, including: an acquisition module 61, an enabling module 62, and a setting module 63, where:

[0084] The acquisition module 61 is used to obtain the password setting permission and password setting data of the wireless device through a cloud server; wherein, the password setting data is in an encrypted state;

[0085] The enabling module 62 is used to enable the password setting interface of the wireless device in the user interface of a preset application by using the password setting permission;

[0086] The setting module 63 is used to send a password setting instruction and a preset password to the wireless device through the password setting interface to set a password for the wireless device; wherein, the password setting instruction is generated based on the password setting data.

[0087] Each module in the above wireless device password setting device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor in the computer device in hardware form or be independent of it, or can be stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0088] In one embodiment, a computer device is provided. This computer device can be a server, and its internal structure diagram can be as Figure 7As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store password setting data. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a method for setting a password for a wireless device.

[0089] Those skilled in the art can understand that Figure 7 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0090] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:

[0091] Obtain the password setting permission and password setting data of the wireless device through the cloud server; among them, the password setting data is in an encrypted state;

[0092] Use the password setting permission to enable the password setting interface of the wireless device in the user interface of the preset application;

[0093] Send a password setting instruction and a preset password to the wireless device through the password setting interface to set a password for the wireless device; among them, the password setting instruction is generated based on the password setting data.

[0094] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0095] When the wireless device and the cloud server are in a bound state, access the cloud server; after successful access, apply to the cloud server to obtain the password setting permission and password setting data of the wireless device.

[0096] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0097] Calculate the encrypted key of the password setting data, where the password setting data includes the serial number of the wireless device; obtain the password setting instruction according to the key; locally save the password setting instruction.

[0098] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0099] Start timing after the password setting interface is enabled; in the case where the password setting time exceeds the preset duration, reset the password setting flag bit of the wireless device and clear the password setting data.

[0100] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0101] Verify the user's identity according to the login account of the user logging in to the preset application; in the case where the identity verification is passed, send the password setting instruction and the preset password to the wireless device through the password setting interface.

[0102] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0103] Verify the user's identity according to the security prompt code and the serial number of the wireless device, where the security prompt code includes the cumulative number of times the wireless device uses the dynamic password for password setting; in the case where the verification is passed, generate a dynamic password and send the dynamic password to the wireless device, where the dynamic password is in an encrypted state; set the password of the wireless device according to the dynamic password.

[0104] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0105] Update the security prompt code of the wireless device; store the updated security prompt code.

[0106] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0107] Obtain the password setting permission and password setting data of the wireless device through the cloud server; where the password setting data is in an encrypted state;

[0108] Enable the password setting interface of the wireless device in the user interface of the preset application by using the password setting permission;

[0109] Send the password setting instruction and the preset password to the wireless device through the password setting interface to set the password of the wireless device; where the password setting instruction is generated based on the password setting data.

[0110] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0111] When the wireless device and the cloud server are in a bound state, access the cloud server; after successful access, apply to the cloud server to obtain the password setting permission and password setting data of the wireless device.

[0112] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0113] Calculate the encrypted key of the password setting data, where the password setting data includes the serial number of the wireless device; obtain the password setting instruction according to the key; locally save the password setting instruction.

[0114] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0115] Start timing after the password setting interface is enabled; when the password setting time exceeds the preset duration, reset the password setting flag bit of the wireless device and clear the password setting data.

[0116] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0117] Verify the user's identity according to the login account of the user logging in to the preset application; when the identity verification is passed, send the password setting instruction and the preset password to the wireless device through the password setting interface.

[0118] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0119] Verify the user's identity according to the security prompt code and serial number of the wireless device, where the security prompt code includes the cumulative number of times the wireless device uses the dynamic password for password setting; when the verification is passed, generate a dynamic password and send the dynamic password to the wireless device, where the dynamic password is in an encrypted state; set the password of the wireless device according to the dynamic password.

[0120] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0121] Update the security prompt code of the wireless device; store the updated security prompt code.

[0122] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.

[0123] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., and are not limited thereto. The processors involved in the embodiments provided in this application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., and are not limited thereto.

[0124] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.

[0125] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims

1. A method for setting a password for a wireless device, characterized in that: The method is applicable to a preset application program. After the preset application program establishes a wireless communication link with the wireless device, the method includes: Obtaining password setting authority and password setting data of the wireless device through a cloud server; wherein the password setting data is in an encrypted state; Using the password setting permission to enable a password setting interface of the wireless device in a user interface of a preset application; Sending a password setting instruction and a preset password to the wireless device through the password setting interface to set a login password for the wireless device; wherein the password setting instruction is generated based on the password setting data; Wherein, generating the password setting instruction based on the password setting data includes: The password setting data includes the serial number of the wireless device; using the key calculated based on the serial number of the wireless device as the password setting instruction; and locally storing the password setting instruction; The method further comprises: When the wireless device and the cloud server are not in a binding state, the security prompt code and the serial number of the wireless device are provided to the manufacturer of the wireless device, and the manufacturer is used to generate a dynamic password and send it to the installer after verifying the user's identity, and the installer is used to send the dynamic password to the wireless device through the preset application; the dynamic password is used to set the password of the wireless device; the password of the wireless device is the login password of the wireless device; wherein the security prompt code includes the cumulative number of times the wireless device uses the dynamic password to set the password.

2. The method for setting a wireless device password according to claim 1, characterized in that: Obtaining the password setting permissions and password setting data of wireless devices through the cloud server includes: When the wireless device is in a bound state with the cloud server, accessing the cloud server; After the access is successful, an application is made to the cloud server to obtain the password setting authority and the password setting data of the wireless device.

3. The method for setting a wireless device password according to claim 1, characterized in that: Setting a password for the wireless device includes: The timing starts after the password setting interface is enabled; When the password setting time exceeds a preset time, the password setting flag of the wireless device is reset and the password setting data is cleared.

4. The method for setting a wireless device password according to claim 1, characterized in that: Before sending the password setting instruction and the preset password to the wireless device through the password setting interface, the method further includes: Verify the identity of the user according to the login account of the user to log in to the preset application; When the identity verification is passed, the password setting instruction and the preset password are sent to the wireless device through the password setting interface.

5. The method for setting a wireless device password according to claim 1, characterized in that: After setting the password of the wireless device, the method further includes: Updating the security prompt code of the wireless device; The updated security prompt code is stored.

6. A wireless device password setting device, characterized in that: The apparatus is suitable for a preset application program, and after the preset application program establishes a wireless communication link with the wireless device, comprises: An acquisition module, used to acquire the password setting authority and password setting data of the wireless device through a cloud server; wherein the password setting data is in an encrypted state; An enabling module, configured to enable a password setting interface of the wireless device in a user interface of a preset application using the password setting permission; a setting module, configured to send a password setting instruction and a preset password to the wireless device through the password setting interface, so as to set a login password for the wireless device; wherein the password setting instruction is generated based on the password setting data; wherein generating the password setting instruction based on the password setting data comprises: the password setting data comprises a serial number of the wireless device; using a key calculated based on the serial number of the wireless device as the password setting instruction; and locally saving the password setting instruction; The setting module is also used to provide the security prompt code and the serial number of the wireless device to the manufacturer of the wireless device when the wireless device and the cloud server are not in a binding state. The manufacturer is used to generate a dynamic password and send it to the installer after verifying the user's identity. The installer is used to send the dynamic password to the wireless device through the preset application; the dynamic password is used to set the password of the wireless device; the password of the wireless device is the login password of the wireless device; wherein the security prompt code includes the cumulative number of times the wireless device uses the dynamic password to set the password.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for setting a password for a wireless device according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the wireless device password setting method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Safety interaction control method and device of equipment, electronic equipment and storage medium

    CN110636062A

  • Method for remotely resetting power-on password of Android equipment

    CN111814134A

  • Password generation method, offline password verification method, electronic equipment and storage medium

    CN115883083A