A password reset method, device, system, terminal, management device and medium
Through the custody relationship between the user client and the administrator, the password reset message is pushed and the credentials are obtained, which simplifies the password reset process, solves the complex and inefficient problems in the existing technology, and improves the efficiency of password reset and users. experience.
Patent Information
- Application Number
- CN202410864845.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The existing password reset methods are complex and inefficient, especially the communication and on-site visits between users and administrators, which result in high time and labor costs, especially for overseas users.
Establish a hosting relationship with the administrator through the user client, push the password reset message, the user client matches the unique identifier of the target device, obtains the new password and obtains the credentials from the password reset service, and directly imports the target device for reset, simplifying the password Reset process.
It reduces the complexity and cost of password reset and improves efficiency. Users do not need to understand the reset process and managers do not need to visit on-site, which reduces learning costs and human resource requirements.
Smart Images

Figure CN118413322B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of password resetting, and in particular to a password resetting method, device, system, terminal, management device and medium. Background Art
[0002] In order to improve the security of data in network devices, it is usually necessary to set a password for the device. For example, the device can be an NVR (Network Video Recorder), a DVR (Digital Video Recorder), etc. If the user forgets the password, the user needs to reset the password of the device.
[0003] Currently, in one case, the user needs to use software that supports password reset to export the password reset string from the device, and then obtain the password reset credentials by contacting the administrator. Next, the user needs to use the password reset tool to send the password reset credentials and the new password to the device to complete the password reset. In another case, if the user can communicate with the administrator, for example, by phone, the administrator needs to teach the user and complete the password reset by directing the user. In another case, if the user needs the administrator to go to the site where the user's device is located to reset the password, the administrator needs to spend a lot of time and manpower. If the password reset credentials cannot be obtained in time, the administrator needs to go to the site where the user's device is located again when sending the password reset credentials and the new password to the device. Especially when the user is an overseas user, the time and manpower costs are higher.
[0004] For the first case, users need to understand the password reset process and have certain software usage skills. However, most users do not have such professional skills. For the second and third cases, a lot of manpower and time costs will be consumed. It can be seen that the current password reset methods are relatively complicated and inefficient. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a password resetting method, device, system, terminal, management device and medium to reduce the complexity of password resetting and improve the efficiency of password resetting. The specific technical solution is as follows:
[0006] In a first aspect, an embodiment of the present application provides a password resetting method, which is applied to a user client, the user client is run on a terminal device, the user manages the target device through the user client, and the user and the management party establish a trusteeship relationship, the trusteeship relationship is established by the user pre-authorizing at least part of the permissions of the target device to the management party, the method includes:
[0007] Obtaining a password reset message of the target device, wherein the password reset message carries a unique identifier of the target device, and the password reset message is pushed to the user client by the management party having a trusteeship relationship when the target device needs to reset the password;
[0008] Matching the target device based on the unique identifier of the target device carried in the password reset message;
[0009] Obtaining a new password set by the user for the target device;
[0010] Send a password reset credential acquisition request to the password reset service to obtain the password reset credential;
[0011] The password reset credential and the new password are imported into the target device, so that the target device performs password reset based on the password reset credential and the new password.
[0012] Optionally, before the step of matching the target device with the unique identifier of the target device carried in the password reset message, the method further includes:
[0013] Displaying the password reset message;
[0014] In the case of obtaining a trigger operation of the user for the password reset message, displaying prompt information; wherein the prompt information is a message for prompting the user to connect the terminal device to the local area network where the target device is located;
[0015] When the user connects the terminal device to the local area network where the target device is located based on the prompt of the prompt information, the step of matching the target device based on the unique identifier of the target device carried in the password reset message is performed.
[0016] Optionally, the trusteeship relationship is established by the user authorizing at least the startup permission of resetting the password of the target device to the management party in advance; the management party manages the target device through a management service;
[0017] The step of sending a password reset credential acquisition request to a password reset service to acquire a password reset credential includes:
[0018] A password reset credential acquisition request is sent to the management service, so that after the management service acquires the password reset credential from the password reset service, the password reset credential is sent to the user client.
[0019] Optionally, the user manages the target device through the user client and user service;
[0020] The step of obtaining the password reset message of the target device includes:
[0021] Obtain a password reset message sent by the user service, wherein the password reset message is sent by the management party with a trusteeship relationship to the user service when the target device needs to reset the password, and is sent by the user service to the user client.
[0022] Optionally, the escrow relationship is established based on at least one of the following methods:
[0023] The user authorizes at least part of the permissions of the target device to the management party in advance through the unique identifier of the target device;
[0024] The user authorizes at least part of the permissions of at least one device among the devices associated with the user identity to the management party in advance, wherein the at least one device includes the target device;
[0025] The user authorizes in advance to the management party at least part of the permissions of at least one device among the devices associated with the client identification of the user client, wherein the at least one device includes the target device.
[0026] Optionally, before the step of obtaining the password reset message of the target device, the method further includes:
[0027] When a device identification viewing instruction issued by the user is obtained, the device identification of the target device indicated by the device identification viewing instruction is displayed; wherein the device identification viewing instruction is issued when the user needs to reset the password of the target device.
[0028] In a second aspect, an embodiment of the present application provides a password reset method, which is applied to a management device, wherein a user manages a target device through a user client, the user client runs on a terminal device, and the user establishes a trusteeship relationship with a management party, the trusteeship relationship is established by the user authorizing at least part of the permissions of the target device to the management party in advance, and the management party manages the target device through the management device, and the method includes:
[0029] In the case that the target device needs to reset the password, a password reset message of the target device is sent to the user client, so that the user client matches the target device based on the unique identifier of the target device carried in the password reset message, the user client obtains the new password set by the user for the target device, the user client sends a password reset credential acquisition request to the password reset service and obtains the password reset credential, and the user client imports the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password.
[0030] Optionally, the trusteeship relationship is established by the user authorizing at least the startup permission of resetting the password of the target device to the management party in advance; the management device at least includes a management service;
[0031] The step of the user client sending a password reset credential acquisition request to the password reset service and acquiring the password reset credential includes:
[0032] The user client sends a password reset credential acquisition request to the management service;
[0033] The management service obtains a password reset credential from a password reset service, and sends the password reset credential to the user client.
[0034] Optionally, the password reset credential acquisition request includes a password reset string, where the password reset string is derived by the user client from the target device when the user client successfully matches the target device, and the password reset string is obtained by encrypting a random string by the target device;
[0035] The step of the management service obtaining the password reset credential from the password reset service comprises:
[0036] The management service sends the password reset string to the password reset service, so that the password reset service decrypts the password reset string and obtains a password reset credential, and the password reset service sends the password reset credential to the management service;
[0037] Receive the password reset credential sent by the password reset service.
[0038] Optionally, the password reset string is obtained by encrypting the random string by the target device using a public key;
[0039] The method for generating the password reset credential includes:
[0040] The password reset service uses the private key corresponding to the public key to decrypt the password reset string to obtain the password reset credential;
[0041] The step of resetting the password of the target device based on the password reset credential and the new password includes:
[0042] When the password reset credential matches the random string, the target device resets the password based on the new password.
[0043] Optionally, the management device includes a management service and a management client;
[0044] The step of sending the password reset message of the target device to the user client includes:
[0045] In response to a trigger signal from the management client, the management service sends a password reset message for the target device to the user client, wherein the trigger signal is sent by the management party through the management client when the password of the target device needs to be reset.
[0046] Optionally, the trigger signal is generated by:
[0047] The management client displays a site information interface corresponding to the user in response to a site display instruction issued by the management party based on the user identifier of the user; wherein the site information interface includes information of a managed device of the user having a managed relationship with the management party and a corresponding remote password reset trigger interface, and the information of the managed device includes a device identifier of the managed device;
[0048] The management client generates the trigger signal in response to the management party triggering the remote password reset trigger interface corresponding to the target device based on the device identification of the target device; wherein the trigger signal carries the device identification of the target device; or
[0049] The management client displays a device identification input interface, and generates the trigger signal in response to the device identification of the target device input by the management party based on the device identification input interface; wherein the trigger signal carries the device identification of the target device.
[0050] In a third aspect, an embodiment of the present application provides a password resetting device, which is applied to a user client, the user client runs on a terminal device, the user manages the target device through the user client, and the user establishes a trusteeship relationship with the management party, the trusteeship relationship is established by the user pre-authorizing at least part of the permissions of the target device to the management party, and the device includes:
[0051] a message acquisition module, configured to acquire a password reset message of the target device, wherein the password reset message carries a unique identifier of the target device, and the password reset message is pushed to the user client by the management party having a trusteeship relationship when the target device needs to reset the password;
[0052] A device matching module, configured to match the target device based on the unique identifier of the target device carried in the password reset message;
[0053] A new password acquisition module, used to acquire a new password set by the user for the target device;
[0054] A request sending module, used to send a password reset credential acquisition request to a password reset service to obtain a password reset credential;
[0055] The import module is used to import the password reset credential and the new password into the target device, so that the target device performs password reset based on the password reset credential and the new password.
[0056] Optionally, the device further comprises:
[0057] A message display module, used to display the password reset message;
[0058] An information display module, used to display prompt information when a trigger operation of the user for the password reset message is obtained; wherein the prompt information is a message for prompting the user to connect the terminal device to the local area network where the target device is located;
[0059] An execution module is used to execute the step of matching the target device with the unique identifier of the target device carried in the password reset message when the user connects the terminal device to the local area network where the target device is located based on the prompt of the prompt information.
[0060] Optionally, the trusteeship relationship is established by the user authorizing at least the startup permission of resetting the password of the target device to the management party in advance; the management party manages the target device through a management service;
[0061] The request sending module comprises:
[0062] The first request sending submodule is used to send a password reset credential acquisition request to the management service, so that after the management service obtains the password reset credential from the password reset service, it sends the password reset credential to the user client.
[0063] The user manages the target device through the user client and user service;
[0064] The message acquisition module comprises:
[0065] The message acquisition submodule is used to obtain the password reset message sent by the user service, wherein the password reset message is sent to the user service by the management party with a trusteeship relationship when the target device needs to reset the password, and is sent to the user client by the user service.
[0066] The device also includes:
[0067] A first authorization module, configured for the user to authorize at least part of the permissions of the target device to the management party in advance through the unique identifier of the target device;
[0068] A second authorization module, configured for the user to authorize at least part of the permissions of at least one device among the devices associated with the user identification to the management party in advance, wherein the at least one device includes the target device;
[0069] A third authorization module is used for the user to authorize at least part of the permissions of at least one device among the devices associated with the client identification of the user client to the management party in advance, wherein the at least one device includes the target device.
[0070] Optionally, the device further comprises:
[0071] The device identification display module is used to display the device identification of the target device indicated by the device identification viewing instruction when obtaining the device identification viewing instruction issued by the user; wherein the device identification viewing instruction is issued when the user needs to reset the password of the target device.
[0072] In a fourth aspect, an embodiment of the present application provides a password resetting device, which is applied to a management device, wherein a user manages a target device through a user client, the user client runs on a terminal device, and the user establishes a trusteeship relationship with a management party, the trusteeship relationship is established by the user authorizing at least part of the permissions of the target device to the management party in advance, and the management party manages the target device through the management device, and the device includes:
[0073] A message sending module is used to send a password reset message of the target device to the user client when the password of the target device needs to be reset, so that the user client matches the target device based on the unique identifier of the target device carried in the password reset message, and the user client obtains the new password set by the user for the target device. The user client sends a password reset credential acquisition request to the password reset service and obtains the password reset credential. The user client imports the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password.
[0074] Optionally, the trusteeship relationship is established by the user authorizing at least the startup permission of resetting the password of the target device to the management party in advance; the management device at least includes a management service;
[0075] The message sending module comprises:
[0076] A second request sending submodule, configured for the user client to send a password reset credential acquisition request to the management service;
[0077] The credential acquisition submodule is used for the management service to acquire the password reset credential from the password reset service and send the password reset credential to the user client.
[0078] Optionally, the password reset credential acquisition request includes a password reset string, where the password reset string is derived by the user client from the target device when the user client successfully matches the target device, and the password reset string is obtained by encrypting a random string by the target device;
[0079] The credential acquisition submodule includes:
[0080] a reset string sending unit, configured for the management service to send the password reset string to the password reset service, so that the password reset service decrypts the password reset string and obtains a password reset credential, and the password reset service sends the password reset credential to the management service;
[0081] The credential receiving unit is configured to receive the password reset credential sent by the password reset service.
[0082] Optionally, the password reset string is obtained by encrypting the random string by the target device using a public key;
[0083] The reset string sending unit comprises:
[0084] A decryption subunit, configured for the password reset service to use a private key corresponding to the public key to decrypt the password reset string to obtain the password reset credential;
[0085] The message sending module further includes:
[0086] The password resetting submodule is used for the target device to reset the password based on the new password when the password resetting credential matches the random string.
[0087] Optionally, the management device includes a management service and a management client;
[0088] The message sending module further includes:
[0089] The message sending submodule is used to respond to the trigger signal of the management client, and the management service sends the password reset message of the target device to the user client, wherein the trigger signal is sent by the management party through the management client when the password of the target device needs to be reset.
[0090] Optionally, the message sending submodule includes:
[0091] An interface display unit, used for the management client to display the site information interface corresponding to the user in response to the site display instruction issued by the management party based on the user identifier of the user; wherein the site information interface includes information of the user's hosting device having a hosting relationship with the management party and a corresponding remote password reset trigger interface, and the information of the hosting device includes the device identifier of the hosting device;
[0092] A first generating unit is used for the management client to generate the trigger signal in response to the management party triggering the remote password reset trigger interface corresponding to the target device based on the device identification of the target device; wherein the trigger signal carries the device identification of the target device;
[0093] The second generating unit is used for the management client to display a device identification input interface, and generate the trigger signal in response to the device identification of the target device input by the management party based on the device identification input interface; wherein the trigger signal carries the device identification of the target device.
[0094] In a fifth aspect, an embodiment of the present application provides a password reset system, the system comprising a user client, a management party, a password reset service, and a target device, the user manages the target device through the user client, and the user and the management party establish a trusteeship relationship, the trusteeship relationship is established by the user pre-authorizing at least part of the permissions of the target device to the management party;
[0095] The management party is configured to push a password reset message of the target device to the user client when the password of the target device needs to be reset, wherein the password reset message carries a unique identifier of the target device;
[0096] The user client is used to obtain a password reset message of the target device; match the target device with the unique identifier of the target device carried in the password reset message; obtain a new password set by the user for the target device; and send a password reset credential acquisition request to a password reset service;
[0097] The password reset service is used to send a password reset credential to the user client;
[0098] The user client is further used to obtain a password reset credential; import the password reset credential and the new password into the target device;
[0099] The target device is used to reset the password based on the password reset credential and the new password.
[0100] In a sixth aspect, an embodiment of the present application provides a terminal device, including:
[0101] Memory, used to store computer programs;
[0102] The processor is used to implement any method described in the first aspect when executing a program stored in the memory.
[0103] In a seventh aspect, an embodiment of the present application provides a management device, including:
[0104] Memory, used to store computer programs;
[0105] The processor is used to implement the method described in the second aspect when executing the program stored in the memory.
[0106] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspect or the second aspect is implemented.
[0107] Beneficial effects of the embodiments of the present application:
[0108] In the scheme provided by the embodiment of the present application, the user client can obtain the password reset message of the target device; wherein the password reset message carries the unique identifier of the target device, and the password reset message is pushed to the user client by the management party with a trust relationship when the target device needs to reset the password; based on the unique identifier of the target device carried in the password reset message, match with the target device; obtain the new password set by the user for the target device; send a password reset credential acquisition request to the password reset service to obtain the password reset credential; import the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password. Since the user and the management party have established a trust relationship in advance, the management party can push the password reset message to the user client based on the trust relationship when the user's target device needs to reset the password. Next, the user client can match with the target device and obtain the new password, and then obtain the password reset credential from the password reset service. The user does not need to understand the password reset process, and there is basically no learning cost. The management party only needs to push the password reset message to the user client, without going to the site where the target device is located, and does not need to understand the logic of password reset. Therefore, the complexity of password reset can be reduced and the efficiency of password reset can be improved. Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0109] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0110] Figure 1 A flowchart of the first password reset method provided in an embodiment of the present application;
[0111] Figure 2 Based on Figure 1 A first signaling interaction diagram of a password reset method in the illustrated embodiment;
[0112] Figure 3 Based on Figure 1 A flow chart of the embodiment shown in which a user is prompted to connect a terminal device to a local area network;
[0113] Figure 4 Based on Figure 3 A signaling interaction diagram between a user and a user client of the illustrated embodiment;
[0114] Figure 5 Based on Figure 1A schematic diagram of a user client displaying a password reset message in the illustrated embodiment;
[0115] Figure 6 for Figure 1 A specific flow chart of step S102 in the illustrated embodiment;
[0116] Figure 7 Based on Figure 6 A signaling interaction diagram between a user client and a target device in the illustrated embodiment;
[0117] Figure 8 for Figure 6 A specific flow chart of step S601 in the illustrated embodiment;
[0118] Fig. 9 Based on Figure 8 A signaling interaction diagram between a user client and a device in a local area network in the illustrated embodiment;
[0119] Fig.10 Based on Figure 1 A signaling interaction diagram of a user client, a management service, and a password reset service in the illustrated embodiment;
[0120] Fig.11 Based on Figure 1 A signaling interaction diagram of a user client, user service and management party in the illustrated embodiment;
[0121] Fig.12 Based on Figure 1 A signaling interaction diagram between a user and a user client of the illustrated embodiment;
[0122] Fig.13 Based on Figure 1 A second signaling interaction diagram of the password reset method of the illustrated embodiment;
[0123] Fig.14 Based on Figure 1 A flow chart of obtaining password reset credentials according to the embodiment shown;
[0124] Fig.15 Based on Figure 1 Another flow chart of obtaining password reset credentials according to the illustrated embodiment;
[0125] Fig.16 Based on Figure 1 A signaling interaction diagram between the management service and the password reset service of the illustrated embodiment;
[0126] Fig.17 Based on Figure 1 A signaling interaction diagram of the management party, management service and user client of the illustrated embodiment;
[0127] Fig.18 Based on Figure 1 A signaling interaction diagram between a management party and a management client in the illustrated embodiment;
[0128] Fig.19 Based on Figure 1 A schematic diagram of the site information interface of the illustrated embodiment;
[0129] Fig. 20 Based on Figure 1 Another signaling interaction diagram between the management party and the management client of the illustrated embodiment;
[0130] Fig.21 A schematic diagram of the structure of a first password resetting device provided in an embodiment of the present application;
[0131] Fig. 22 A schematic diagram of the structure of a password reset system provided in an embodiment of the present application;
[0132] Fig.23 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0133] Fig.24 A schematic diagram of the structure of a management device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0134] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.
[0135] The devices in this application can be NVR, DVR, IPC (IP Camera, network camera), access controller, intercom equipment, alarm host, etc. The user is the person who actually uses the device and purchases the device and operation and maintenance services from the manager. The manager is the individual or company that provides equipment installation and maintenance. For example, it can be an installer. The user can manage the target device through the user client, and can also perform functions such as preview, playback, and remote configuration. The user client runs on the terminal device. For example, the terminal device can be a mobile phone, tablet computer, etc.
[0136] The user can authorize the management authority of the target device to the administrator in advance, that is, establish a trusteeship relationship between the target device and the administrator. The trusteeship relationship is a service relationship established between the administrator and the user, and the user entrusts his or her device to the administrator for operation and maintenance. When establishing a trusteeship relationship, the authority granted by the user to the administrator can be at least one of the following: the startup authority for resetting the password of the target device, the configuration authority for the target device, the preview authority, and the playback authority, which are not specifically limited here. For example, if the administrator is granted configuration authority, then when the administrator finds that the device has problems such as disconnection or abnormal recording, the administrator can help the user solve the problem in a timely manner.
[0137] In order to reduce the complexity of password resetting and improve the efficiency of password resetting. The embodiments of the present application provide a password resetting method, device, system, terminal device, management device, computer-readable storage medium and computer program product. The first password resetting method provided by the embodiments of the present application is first introduced below.
[0138] The password reset method provided in the embodiment of the present application can be applied to any user client that needs to reset the password, for example, it can be device management software, device control software, etc., which is not specifically limited here. For the sake of clarity, it is subsequently referred to as the user client in this article.
[0139] like Figure 1 As shown, a password reset method is applied to a user client, the user client runs on a terminal device, the user manages the target device through the user client, and the user and the management party establish a trusteeship relationship, the trusteeship relationship is established by the user pre-authorizing at least part of the permissions of the target device to the management party, the method includes:
[0140] S101, obtaining a password reset message of the target device;
[0141] The password reset message carries the unique identifier of the target device, and the password reset message is pushed to the user client by the management party with a trusteeship relationship when the target device needs to reset the password;
[0142] S102, matching the target device with the unique identifier of the target device carried in the password reset message;
[0143] S103, obtaining a new password set by the user for the target device;
[0144] S104, sending a password reset credential acquisition request to a password reset service to acquire a password reset credential;
[0145] S105: Import the password reset credential and the new password into the target device, so that the target device performs password reset based on the password reset credential and the new password.
[0146] It can be seen that in the embodiment of the present application, the user client can obtain the password reset message of the target device; wherein the password reset message carries the unique identifier of the target device, and the password reset message is pushed to the user client by the management party with a trust relationship when the target device needs to reset the password; based on the unique identifier of the target device carried in the password reset message, match with the target device; obtain the new password set by the user for the target device; send a password reset credential acquisition request to the password reset service to obtain the password reset credential; import the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password. Since the user and the management party have established a trust relationship in advance, the management party can push the password reset message to the user client based on the trust relationship when the user's target device needs to reset the password. Next, the user client can match with the target device and obtain the new password, and then obtain the password reset credential from the password reset service. The user does not need to understand the password reset process, and there is basically no learning cost. The management party only needs to push the password reset message to the user client, without going to the site where the target device is located, and does not need to understand the logic of password reset. Therefore, the complexity of password reset can be reduced and the efficiency of password reset can be improved.
[0147] In the case where the target device needs to reset the password, the first signaling interaction diagram of the password reset method can be as follows Figure 2 As shown. The user can contact the administrator offline and inform the administrator of the device that needs to have its password reset, that is, the user executes step S201. The device that needs to have its password reset is the target device. In this way, the administrator with a trusteeship relationship can push a password reset message to the user client, that is, the administrator executes step S202. The password reset message carries the unique identifier of the target device. The unique identifier is information that can uniquely identify a device, for example, it can be the serial number of the device, the device number, etc., which is not specifically limited here.
[0148] In this way, the user client can obtain the password reset message for the target device pushed by the management party. Then, the user client can match the target device based on the unique identifier of the target device, that is, the user client executes step S203. Next, the user client can prompt the user to enter a new password, that is, the user client executes step S204. For example, the user client can display a prompt message "Please enter the new password of the device" in the interface, or play a prompt voice "Please configure the password". In this way, the user can enter the new password into the user client, that is, the user executes step S205. The user client can then obtain the new password set by the user for the target device.
[0149] In one embodiment, if the privacy of the target device is high, then when resetting the password, the target device needs to determine whether the current scene is safe by verifying whether the password reset credential is legal. The password reset service is a server independent of the user client. Since the password reset credential is generated by the password reset service, in this case, the user client can send a password reset credential acquisition request to the password reset service, that is, the user client executes step S206. After receiving the password reset credential acquisition request, the password reset service can return the password reset credential to the user client, that is, the password reset service executes step S207. In this way, the user client can import the password reset credential and the new password into the target device, that is, the user client executes step S208. The target device can reset the password based on the password reset credential and the new password. Specifically, the target device can verify whether the current scene is safe based on the password reset credential. If the verification passes, the target device can reset the password based on the new password. If the verification fails, the target device will not reset the password.
[0150] In another embodiment, if the privacy of the target device is low, the target device may not verify whether the current scene is safe when resetting the password. In this case, the user client may not obtain the password reset credential, but directly import the new password into the target device. In this way, the target device can directly reset the password based on the new password.
[0151] It can be seen that in the embodiment of the present application, since a trusteeship relationship is pre-established between the user and the administrator, the administrator can, based on the trusteeship relationship, push a password reset message to the user client when the user's target device needs to reset the password. Next, the user client can match the target device and obtain a new password, and then obtain the password reset credential from the password reset service. The user does not need to understand the password reset process, and there is basically no learning cost. The administrator only needs to push the password reset message to the user client, and does not need to go to the site where the target device is located, nor does it need to understand the logic of password reset. Therefore, the complexity of password reset can be reduced and the efficiency of password reset can be improved.
[0152] As an implementation method of the present application, Figure 3 As shown, before the step of matching the target device based on the unique identifier of the target device carried in the password reset message, the method may further include:
[0153] S301, displaying the password reset message;
[0154] A signaling interaction diagram between a user and a user client can be as follows Figure 4 The user client may display a password reset message, that is, the user client executes step S401. For example, a schematic diagram of the user client displaying a password reset message may be as follows: Figure 5 As shown, the user client can display a password reset message 502 in the form of a pop-up window on the terminal device interface 501.
[0155] S302: When a trigger operation of the user for the password reset message is obtained, a prompt message is displayed.
[0156] Since the user client can only export the password reset string from the target device when the terminal device and the target device are in the same local area network, the user client needs to guide the user to connect the terminal device to the local area network where the target device is located. Therefore, in order to guide the user to connect the terminal device to the local area network where the target device is located, if the user issues a trigger operation for the password reset message, that is, the user executes step S402, then the user client can display a prompt message, that is, the user client executes step S403. Among them, the trigger operation can be an operation such as clicking, long pressing, swiping, etc., and the prompt message is a message used to prompt the user to connect the terminal device to the local area network where the target device is located.
[0157] For example, a schematic diagram of a user client displaying a prompt message may be as follows: Figure 5 When the user clicks the password reset message 502, the user client may display a prompt message 503. The content of the prompt message 503 is "Please connect your mobile phone to the local area network where the target device is located."
[0158] S303, when the user connects the terminal device to the local area network where the target device is located based on the prompt of the prompt information, execute the step of matching the target device with the unique identifier of the target device carried in the password reset message.
[0159] Only when the terminal device and the target device are connected to the same local area network can the user client running on the terminal device be matched with the target device. Therefore, when the user connects the terminal device to the local area network where the target device is located based on the prompt information, the user client can execute the above-mentioned steps of matching with the target device based on the unique identifier of the target device carried in the password reset message.
[0160] It can be seen that in the embodiment of the present application, the user client can display a password reset message; when a user triggers an operation for a password reset message, a prompt message is displayed; wherein the prompt message is a message for prompting the user to connect the terminal device to the local area network where the target device is located. When the user connects the terminal device to the local area network where the target device is located based on the prompt of the prompt message, a step of matching the target device with the unique identifier of the target device carried in the password reset message is performed. Since the user only needs to issue a trigger operation for the password reset message, and then connect the terminal device to the local area network where the target device is located according to the guidance of the prompt message, and then enter the new password into the user client, the password reset can be achieved without understanding the logic of the password reset. Therefore, there is basically no learning cost for the user, which can reduce the complexity of password reset.
[0161] As an implementation method of the present application, Figure 6 As shown, the step of matching the target device with the unique identifier of the target device carried in the password reset message may include:
[0162] S601, scanning devices in the local area network where the target device is located;
[0163] A signaling interaction diagram between the user client and the target device can be as follows Figure 7 As shown. After the user connects the terminal device to the local area network where the target device is located, the user client can scan the devices in the local area network where the target device is located, that is, the user client executes step S701. In one embodiment, the user client can scan the devices in the local area network through the local area network device scanning protocol provided by the management party. Among them, the local area network device scanning protocol can be implemented based on multicast. For example, assuming that the user client scans the devices in the local area network, it can be obtained that the devices in the local area network are device 1-device 3.
[0164] S602, from the devices in the local area network, determine a device whose corresponding unique identifier is consistent with the unique identifier of the target device as the target device;
[0165] Since the unique identifier can uniquely identify a device, the device whose unique identifier is the unique identifier of the target device is the target device. Therefore, the user client can determine the device whose corresponding unique identifier is consistent with the unique identifier of the target device as the target device, that is, the user client executes step S702. Continuing with the previous example, assuming that the unique identifier is a serial number, the serial number of the target device is 7382948, and the serial numbers corresponding to devices 1-3 are 2319542, 4832945, and 7382948. Since the serial number corresponding to device 3 is consistent with the serial number of the target device, the user client can determine device 3 as the target device.
[0166] S603: Establish a communication connection with the target device.
[0167] After determining the target device, in order to derive the password reset string from the target device, the user client may establish a communication connection with the target device, that is, the user client executes step S703.
[0168] It can be seen that in the embodiment of the present application, the user client can scan the devices in the local area network where the target device is located; from the devices in the local area network, the device whose corresponding unique identifier is consistent with the unique identifier of the target device is determined as the target device; and a communication connection is established with the target device. Since the unique identifier can uniquely identify a device, the device whose unique identifier is the unique identifier of the target device is the target device. Therefore, after the user client scans out the devices in the local area network, it can determine the target device from the devices in the local area network based on the unique identifier of the target device, and then establish a communication connection with the target device. In this way, the target device can be quickly and accurately determined in the local area network.
[0169] As an implementation method of the present application, Figure 8 As shown, the step of scanning the devices in the local area network where the target device is located may include:
[0170] S801, sending the multicast data packet to the device in the local area network, so that the device sends a response data packet to the user client when receiving the multicast data packet;
[0171] A signaling interaction diagram between the user client and the devices in the LAN can be as follows Fig. 9 As shown. The user client can send a multicast data packet to the device in the local area network, that is, the user client executes step S901. The multicast data packet can carry a scan request. In one embodiment, the user client can send a multicast data packet to a preset multicast address in the local area network. In this way, when the device in the local area network receives the multicast data packet, it can send a response data packet to the user client, that is, the device in the local area network executes step S902.
[0172] For example, the user client can send a multicast data packet carrying a scan request to the address 224.0.0.1 in the local area network. In this way, devices 1-4 in the local area network can receive the multicast data packet and send response data packets 1-4 to the user client respectively.
[0173] S802: parse the response data packet to obtain device information of each device.
[0174] After receiving the response data packets sent by each device, the user client can parse the response data packets to obtain the device information of each device, that is, the user client executes step S903. The device information may include a unique identifier. Following the example in step S801, the user client can parse response data packets 1-response data packets 4, and then obtain the serial numbers of devices 1-device 4.
[0175] It can be seen that in the embodiment of the present application, the user client can send a multicast data packet to the device in the local area network, so that the device sends a response data packet to the user client when receiving the multicast data packet; the response data packet is parsed to obtain the device information of each device; wherein the device information includes the device identification. In this way, the user client can use the multicast method to quickly and accurately scan the devices in the local area network.
[0176] As an implementation method of the embodiment of the present application, the above-mentioned escrow relationship can be established by the user pre-authorizing at least the startup permission of the target device password reset to the management party, and the above-mentioned management party can manage the target device through the management service. In this case, the above-mentioned step of sending a password reset credential acquisition request to the password reset service to obtain the password reset credential may include:
[0177] A password reset credential acquisition request is sent to the management service, so that after the management service acquires the password reset credential from the password reset service, the password reset credential is sent to the user client.
[0178] The starting permission for resetting the password of the target device is the permission to start the password reset process. In one embodiment, the password reset process can be started by the user. In this case, if the user needs to reset the password of the target device, the user can click the password reset button in the user client. In this way, the user client will push the message that the user needs to reset the password of the target device to the management party based on the trust relationship. After receiving the message, the management party will push the password reset message to the user client.
[0179] In another embodiment, the password reset process can be initiated by an administrator who is granted the right to initiate the password reset of the target device. In this case, the user can inform the administrator offline that the password of the target device needs to be reset, where the offline method can be a phone call, a message through a chat software, etc. After being informed by the user that the password of the target device needs to be reset, the administrator will push the password reset message to the user client.
[0180] Since the IP (Internet Protocol) address of the user client is variable, if the user client communicates directly with the password reset service, the legitimacy of the password reset credential acquisition request will be difficult to guarantee, and the security will be poor. In order to improve the security of password reset, the password reset service can pre-set an access whitelist, and only devices included in the access whitelist can communicate with the password reset service. The management service is a server used by the management party. The password reset service can add the management service to the access whitelist and agree on the access key with the management service in advance.
[0181] In this case, a signaling interaction diagram between the user client, management service, and password reset service can be as follows: Fig.10 As shown. If the user client needs to obtain a password reset credential, the user client can send a password reset credential acquisition request to the management service, that is, the user client executes step S1001. After receiving the password reset credential acquisition request, the management service can obtain the password reset credential from the password reset service, that is, the management service executes step S1002. Specifically, the management service can send a password reset credential acquisition request to the password reset service based on the access key. If the password reset service verifies that the access key passes and verifies that the management service is in the access whitelist, the password reset credential is returned to the management service. Next, the management service can send the password reset credential to the user client, that is, the management service executes step S1003.
[0182] In one embodiment, the password reset message may carry a message ID (identity document). In this case, the password reset credential acquisition request sent by the user client to the management service may also carry a message ID. In this way, the management service can verify the message ID. Specifically, the management service can compare whether the message ID carried by the password reset message is consistent with the message ID carried by the password reset credential acquisition request, so as to determine whether the password reset credential acquisition request is legal. If the comparison results are consistent, it means that the password reset credential acquisition request is legal, and then the password reset credential acquisition request can be processed normally. In the case of successful processing, the management service can set the status of the message ID to the processed status. If the message ID is used again to request a password reset credential in the future, it will be rejected by the management service.
[0183] It can be seen that in the embodiment of the present application, when the management party manages the target device through the management service, the user client can send a password reset credential acquisition request to the management service, so that the management service obtains the password reset credential from the password reset service and then sends the password reset credential to the user client. If the user client directly accesses the password reset service, the security of the password reset will be reduced, and the access key of the password reset service is usually not packaged in the user client. Therefore, when the user client needs to obtain the password reset credential, it can obtain it from the password reset service through the management service. In this way, the management service can verify the legitimacy of the password reset credential acquisition request, can ensure the legitimacy of the password reset credential acquisition request, and improve the security of the password reset.
[0184] As an implementation method of the embodiment of the present application, the above-mentioned user can manage the target device through the user client and the user service. In this case, the step of obtaining the password reset message of the target device may include:
[0185] Get the password reset message sent by the user service.
[0186] The user service is the server of the user client. A signaling interaction diagram of the user client, user service and management party can be as follows Fig.11 As shown, when the target device needs to reset the password, the management party with the escrow relationship can send a password reset message to the user service, that is, the management party performs step S1101. Next, the user service can send a password reset message to the user client based on the escrow relationship, that is, the user service performs step S1102. In this way, the user client can obtain the password reset message. The user service and the password reset service are two independent servers.
[0187] It can be seen that in the embodiment of the present application, when the user manages the target device through the user client and the user service, the user client can obtain the password reset message sent by the user service, wherein the password reset message is sent to the user service by the management party with a trusteeship relationship when the target device needs to reset the password, and then sent to the user client by the user service. In this way, when the target device needs to reset the password, the management party can quickly push the password reset message to the user client through the user service.
[0188] As an implementation method of the embodiment of the present application, the above-mentioned trusteeship relationship can be established based on at least one of the following methods:
[0189] The user authorizes at least part of the permissions of the target device to the management party in advance through the unique identifier of the target device; the user authorizes at least part of the permissions of at least one device among the devices associated with the user identifier to the management party in advance; the user authorizes at least part of the permissions of at least one device among the devices associated with the client identifier of the user client to the management party in advance.
[0190] In the first implementation, the user can inform the management party of the unique identifier of the target device, so that the user can authorize at least part of the permissions of the target device to the management party, thereby establishing a trusteeship relationship between the user and the management party. For example, assuming that the unique identifier of the target device is 03841923, the user can inform the management party of the unique identifier and authorize the configuration permissions of the target device to the management party, so that the management party can uniquely identify the target device and obtain authorization of the configuration permissions of the target device.
[0191] In the second implementation, the user may inform the management party of his / her user identification, and then authorize the management party to at least part of the permissions of at least one device among the devices associated with the user identification. The at least one device includes the target device. For example, assuming that the user identification is 0043, the devices associated with the user identification include devices 1-5, and device 3 is the target device, then the user may inform the management party of the user identification, and authorize the management party to grant playback permissions of devices 3 and 4.
[0192] In a third implementation, the user may inform the management party of the client identifier of the user client, and then authorize the management party with at least part of the permissions of at least one device among the devices associated with the client identifier. The at least one device includes a target device. For example, assuming that the client identifier of the user client is 923841, the devices associated with the client identifier include devices 1 to 10, and device 8 is the target device, then the user may inform the management party of the client identifier, and only authorize the management party with the preview permission of device 8.
[0193] It can be seen that in the embodiments of the present application, the user authorizes at least part of the permissions of the target device to the administrator in advance through the unique identifier of the target device; the user authorizes at least part of the permissions of at least one device among the devices associated with the user identifier to the administrator in advance, wherein at least one device includes the target device; the user authorizes at least part of the permissions of at least one device among the devices associated with the client identifier of the user client to the administrator in advance, wherein at least one device includes the target device. In this way, the user can authorize part of the permissions of the target device to the administrator through at least one of the above three methods, which can provide the user with sufficient flexibility and quickly and accurately establish a trusteeship relationship between the user and the administrator.
[0194] As an implementation of the embodiment of the present application, before the step of obtaining the password reset message of the target device, the method may further include:
[0195] In case of acquiring the device identification viewing instruction issued by the user, the device identification of the target device indicated by the device identification viewing instruction is displayed.
[0196] In one implementation, when a user needs to reset the password of a target device, the device identifier of the target device can be notified to the management party. In this way, the management party can send a trigger signal to the management service through the management client based on the device identifier. A signaling interaction diagram between the user and the user client can be as follows: Fig.12 shown.
[0197] In order to determine the device identification of the target device, the user can issue a device identification viewing instruction on the user client, that is, the user executes step S1201. For example, the device identification viewing instruction can be issued by the user for the device identification viewing button corresponding to the target device displayed on the interface of the user client. In this way, the user client can display the device identification of the target device indicated by the device identification viewing instruction, that is, the user client executes step S1202. Then, the user can know the device identification of the target device, that is, the unique identification. The user can inform the administrator of the unique identification, and accordingly, the password reset message sent by the administrator will also carry the unique identification.
[0198] In another implementation, the user may view a device tag of the target device and determine the device identification of the target device based on information included in the device tag.
[0199] It can be seen that in the embodiment of the present application, when a device identification viewing instruction issued by a user is obtained, the user client can display the device identification of the target device indicated by the device identification viewing instruction; wherein the device identification viewing instruction is issued when the user needs to reset the password of the target device. In this way, the user can quickly and accurately determine the device identification of the target device, and then inform the management party of the device identification.
[0200] As an implementation method of the embodiment of the present application, the second signaling interaction diagram of the password reset method can be as follows: Fig.13 As shown, the following steps may be specifically included:
[0201] S1301, the user contacts the administrator and informs the serial number to reset the password;
[0202] The terminal user can contact the administrator offline to inform the administrator that the password of a certain device needs to be reset, and inform the administrator of the serial number information of the target device for which the password needs to be reset. The terminal user is the user of the terminal device, that is, the above-mentioned user.
[0203] S1302, the management party logs in with an account, finds the target device, and remotely resets the password;
[0204] The administrator can log in to the management client and find the user's site and the target device in the site in the management client based on the user ID or the device ID of the target device. Then, the administrator can click the reset password button corresponding to the target device, which is the remote password reset trigger interface, to perform a remote password reset. Specifically, step S1302 actually verifies whether the user owns the target device and the trusteeship relationship between the user and the administrator. If the user does not own the target device or has not established a trusteeship relationship with the administrator, the administrator will not be able to find the target device.
[0205] S1303, the management client sends a remote password reset request to the management service;
[0206] In response to a trigger operation of resetting the target device password issued by the management party, the management client may send a remote password reset request to the management service, that is, send a trigger signal to the management service.
[0207] S1304, the management service pushes a password reset message to the user service;
[0208] After receiving the remote password reset request, the management service can request the user service to send a password reset message to the end user based on the escrow relationship, that is, the management service can push the password reset message to the user service based on the escrow relationship, and then the user service pushes the password reset message to the user client. The escrow relationship can be saved in the management service, the password reset message. The password reset message can include the serial number information of the target device for which the password needs to be reset.
[0209] S1305, the user service pushes a password reset message to the user client;
[0210] After receiving the password reset message, the user service can push the password reset message to the user client, so that the password reset message can be viewed and processed by the end user.
[0211] S1306, the user client displays a password reset message;
[0212] When the user client receives the password reset message, it can display the password reset message.
[0213] S1307, the user processes the password reset message;
[0214] The user can open the user client to process the password reset message, which prompts the user to connect the mobile phone to the same local area network as the device that needs to reset the password. In this way, the user can connect the mobile phone to the local area network where the target device is located based on the prompt of the password reset message.
[0215] S1308, the user client exports the password reset file from the target device;
[0216] The user client can scan the devices in the local area network, match the serial number included in the password reset message, thereby determining the target device in the devices in the local area network, establishing a communication connection with the target device, and then exporting the password reset file from the target device. The password reset file is the password reset string mentioned above.
[0217] S1309, the user client prompts the user to enter a new password;
[0218] After the user client successfully exports the password reset file, the user can be prompted to enter the new password to be configured for the target device.
[0219] S1310, the user enters a new password;
[0220] The user can click the Reset Password button in the user client interface and then enter the new password according to the prompts on the interface.
[0221] S1311, the user client obtains a password reset credential from the management service;
[0222] After the user enters the new password, the user client can send a password reset credential acquisition request to the management service to obtain the password reset credential from the management service. The password reset credential acquisition request carries a password reset string.
[0223] S1312, the management service requests a password reset credential from the password reset service;
[0224] The management service can send the password reset string to the IT (Information Technology) password reset service to obtain the password reset credentials. Among them, the IT password reset service is the above-mentioned password reset service. In order to ensure security, the management service and the password reset service have agreed on the access key in advance, that is, the communication between the management service and the password reset service needs to be based on the access key. In addition, the password reset service is also configured with the management service access whitelist, that is, the management service can access the password reset service only if it is in the whitelist.
[0225] S1313, the password reset service sends the password reset credential to the management service;
[0226] The password reset service can use the private key to decrypt the password reset string to obtain the password reset credential, and then send the password reset credential to the management service.
[0227] S1314, the management service sends the password reset credential to the user client;
[0228] After receiving the password reset credential, the management service can return the password reset string credential to the user client.
[0229] S1315, the user client sends the password reset credential and the new password to the target device;
[0230] The user client can send the password reset credentials and the new password configured by the user for the target device to the target device.
[0231] S1316, when the password is reset successfully, the target device sends a reset success message to the user client;
[0232] The target device can reset the password based on the password reset credential and the new password. Specifically, the target device can verify the random string, that is, verify whether the password reset credential is consistent with the random string. If the verification passes, the password reset is allowed. In this case, the target device can send a reset success message to the user client.
[0233] S1317, the user client prompts that the user password is reset successfully.
[0234] After receiving the reset success message, the user client can prompt the user that the password is reset successfully.
[0235] In the technical solution of this application, the operations involved in obtaining, storing, using, processing, transmitting, providing and disclosing user personal information are all carried out with the user's authorization.
[0236] Corresponding to the above-mentioned first password resetting method, the embodiment of the present application also provides a second password resetting method. The second password resetting method provided by the embodiment of the present application is introduced below.
[0237] A password reset method is applied to a management device, a user manages a target device through a user client, the user client runs on a terminal device, and the user has established a trusteeship relationship with a management party, the trusteeship relationship is established by the user authorizing at least part of the permissions of the target device to the management party in advance, and the management party manages the target device through the management device, the method comprising:
[0238] In the case that the target device needs to reset the password, a password reset message of the target device is sent to the user client, so that the user client matches the target device based on the unique identifier of the target device carried in the password reset message, the user client obtains the new password set by the user for the target device, the user client sends a password reset credential acquisition request to the password reset service and obtains the password reset credential, and the user client imports the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password.
[0239] It can be seen that in the embodiment of the present application, the management device can send a password reset message of the target device to the user client when the target device needs to reset the password, so that the user client matches the target device based on the unique identifier of the target device carried in the password reset message, and the user client obtains the new password set by the user for the target device. The user client sends a password reset credential acquisition request to the password reset service and obtains the password reset credential. The user client imports the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password. Since a trusteeship relationship is established in advance between the user and the management party, the management party can push the password reset message to the user client based on the trusteeship relationship when the user's target device needs to reset the password. Next, the user client can match with the target device and obtain the new password, and then obtain the password reset credential from the password reset service. The user does not need to understand the password reset process, and there is basically no learning cost. The management party only needs to push the password reset message to the user client, without going to the site where the target device is located, and does not need to understand the logic of password reset. Therefore, the complexity of password reset can be reduced and the efficiency of password reset can be improved.
[0240] As an implementation method of the present application, the above-mentioned trusteeship relationship can be established by the user at least authorizing the management party to start the password reset of the target device in advance. The above-mentioned management device can at least include a management service. In this case, Fig.14 As shown, the step of the user client sending a password reset credential acquisition request to the password reset service and acquiring the password reset credential may include:
[0241] S1401, the user client sends a password reset credential acquisition request to the management service;
[0242] In order to improve the security of password reset and ensure the legitimacy of the password reset credential acquisition request, when the user client needs to obtain the password reset credential, a password reset credential acquisition request can be sent to the management service.
[0243] S1402: The management service obtains a password reset credential from a password reset service, and sends the password reset credential to the user client.
[0244] After receiving the password reset credential acquisition request, the management service can send a password reset credential acquisition request to the password reset service based on the access key. If the password reset service passes the access key verification and verifies that the management service is in the access whitelist, the password reset credential is returned to the management service. Next, the management service can send the password reset credential to the user client.
[0245] It can be seen that in the embodiment of the present application, when the management device includes at least a management service, the user client sends a password reset credential acquisition request to the management service; the management service obtains the password reset credential from the password reset service, and sends the password reset credential to the user client. If the user client directly accesses the password reset service, the security of the password reset will be reduced, and the access key of the password reset service is usually not packaged in the user client. Therefore, when the user client needs to obtain the password reset credential, it can obtain it from the password reset service through the management service. In this way, the management service can verify the legitimacy of the password reset credential acquisition request, can ensure the legitimacy of the password reset credential acquisition request, and improve the security of the password reset.
[0246] As an implementation method of an embodiment of the present application, the password reset credential acquisition request may include a password reset string. The password reset string is derived by the user client from the target device when the user client successfully matches the target device. The password reset string is obtained by encrypting a random string by the target device. Fig.15 As shown, the step of the management service obtaining the password reset credential from the password reset service may include:
[0247] S1501, the management service sends the password reset string to the password reset service, so that the password reset service decrypts the password reset string and obtains a password reset credential, and the password reset service sends the password reset credential to the management service;
[0248] After receiving the password reset message, the user client can prompt the user to process the password reset message. Specifically, it is reasonable to display a pop-up window of the password reset message on the terminal device, or to broadcast the password reset message by voice. In this way, the user can connect the terminal device to the local area network where the target device is located according to the prompt of the password reset message. Next, the user client can match with the target device, and if the match is successful, the user client can export the password reset string from the target device. Among them, the password reset string can be expressed in the form of a QR code, a file, a string, etc., which is not specifically limited here.
[0249] A signaling interaction diagram between the management service and the password reset service can be as follows: Fig.16 As shown. The password reset credential acquisition request may include a password reset string, and the password reset string may be obtained by encrypting a random string for the target device. The management service may send the password reset string to the password reset service, that is, the management service executes step S1601. In this way, the password reset service may use the private key to decrypt the password reset string to obtain the password reset credential. Furthermore, the password reset service may send the password reset credential to the management service, that is, the password reset service executes step S1602.
[0250] S1502: Receive the password reset credential sent by the password reset service.
[0251] When the password reset service sends the password reset credentials to the management service, the management service can receive the password reset credentials.
[0252] It can be seen that in the embodiment of the present application, the management service can send a password reset string to the password reset service, so that the password reset service decrypts the password reset string, obtains the password reset credential, and sends the password reset credential to the management service; and receives the password reset credential sent by the password reset service. Since the private key corresponding to the public key used to encrypt the random string is stored in the password reset service, the management service can send the password reset string to the password reset service when the password reset credential needs to be obtained. In this way, the password reset service can use the private key to decrypt the password reset string, obtain the password reset credential, and then send the password reset credential to the management service. In this way, the password reset credential can be obtained quickly and accurately. In addition, the operation that the user needs to complete is only to contact the management party, click on the password reset message pushed by the management party, and connect the terminal device to the local area network where the target device is located and enter the new password according to the prompt of the password reset message. In this way, the user client can export the password reset string from the target device without the user using other tools to export the password reset string. Therefore, the user does not need to understand the password reset process, and there is basically no learning cost.
[0253] As an implementation method of the embodiment of the present application, the password reset string may be obtained by encrypting a random string using a public key on the target device. In this case, the generation method of the password reset credential may include:
[0254] The password reset service uses the private key corresponding to the public key to decrypt the password reset string to obtain the password reset credential.
[0255] In order to ensure the security of password reset, a pair of asymmetric keys is usually required. The public key is public, and the private key is confidential. Specifically, the private key can be saved by the password reset service. In this way, when the password needs to be reset, the target device can use the public key to encrypt the random string generated by itself to obtain the password reset string. The password reset service can use the private key to decrypt the password reset string, that is, restore the random string, thereby obtaining the password reset credential, and return the password reset credential to the target device.
[0256] The password reset string can be obtained by encrypting a random string generated by the target device itself. Specifically, when the device leaves the factory, the public key can be built into the device program. When the password needs to be reset, the target device can generate a random string and encrypt the random string using the public key.
[0257] Since the private key corresponding to the public key is stored in the password reset service, when the password reset string needs to be decrypted to obtain the password reset credential, the password reset string needs to be sent to the password reset service. In this way, the password reset service can decrypt the password reset string based on the private key it stores to obtain the password reset credential.
[0258] Accordingly, the step of resetting the password of the target device based on the password reset credential and the new password may include:
[0259] When the password reset credential matches the random string, the target device resets the password based on the new password.
[0260] If the content of the password reset credential matches the random string, that is, the content of the password reset credential is consistent with the content of the random string, which means that the private key based on which the password reset string is decrypted is the private key in the asymmetric key, that is, the password reset is performed in a secure environment, then the target device can change the password to a new password. If the content of the password reset credential does not match the random string, it means that the current scenario is unsafe, and the target device will not change the password.
[0261] When the target device performs a password reset, it can compare the password reset credential with the random string generated by itself. If they are consistent, it means that the password reset credential is decrypted using the private key corresponding to the public key, and the target device will allow the password reset request and reset the password to the new password. If they are inconsistent, the target device will reject the password reset request.
[0262] It can be seen that in the embodiment of the present application, when the password reset string is obtained by encrypting the random string with the public key of the target device, the password reset service uses the private key corresponding to the public key to decrypt the password reset string to obtain the password reset credential; when the password reset credential matches the random string, the target device resets the password based on the new password. In this way, only when the public key used by the target device for encryption corresponds to the private key used by the password reset service for decryption, the random string and the password reset credential will match, and then the target device will reset the password. In this way, the security of password reset can be improved.
[0263] As an implementation of an embodiment of the present application, the management device may include a management service and a management client. In this case, the step of sending the password reset message of the target device to the user client may include:
[0264] In response to a trigger signal from the management client, the management service sends a password reset message for the target device to the user client.
[0265] The administrator can manage the target device through the management client and management service. The management client is a device installation and operation and maintenance software for the administrator, which provides functions such as device management, device status monitoring, and user management. At the software level, the hosting relationship is to establish an association between the user account of the user client and the management account of the management client. The user authorizes the hosting of the specified device to the management account and grants the specified permissions of the device to the administrator. For example, the device can be granted permissions such as configuration, preview, and playback. After the device is hosted, the administrator can view the user's device in the management account.
[0266] The management service is a server that manages the client. A signaling interaction diagram between the management party, the management service and the user client can be as follows: Fig.17 As shown, when the target device needs to reset the password, the management party can send a trigger signal to the management service through the management client, that is, the management party performs step S1701. When the management service receives the trigger signal, it can send a password reset message of the target device to the user client, that is, the management service performs step S1702.
[0267] It can be seen that in the embodiment of the present application, when the management device includes a management service and a management client, in response to a trigger signal from the management client, the management service can send a password reset message of the target device to the user client, wherein the trigger signal is sent by the management party through the management client when the target device needs to reset the password. In this way, when the target device needs to reset the password, the password reset message can be quickly sent to the user client.
[0268] As an implementation of the embodiment of the present application, the generation method of the above trigger signal may include:
[0269] The management client displays the site information interface corresponding to the user in response to the site display instruction issued by the management party based on the user identification of the user; the management client generates the trigger signal in response to the management party triggering the remote password reset trigger interface corresponding to the target device based on the device identification of the target device. Or, the management client displays the device identification input interface, and generates the trigger signal in response to the management party inputting the device identification of the target device based on the device identification input interface.
[0270] When a user needs to reset a password, the device identifier of the target device can be notified to the management party. In this way, the management party can issue a trigger operation on the management client based on the device identifier of the target device. Furthermore, the management client can generate a trigger signal. Specifically, the generation method of the trigger signal can include at least one of the following two methods:
[0271] In the first method, users can authorize the management authority of the site to the administrator in advance, thereby establishing a hosting relationship between the site and the administrator. The site is a logical concept in the management client and is the unit for the administrator to manage users. For example, a site can be an office, a store, a home, etc. The site includes the devices hosted by the user.
[0272] Since the user's site contains the target device, when the administrator needs to find the target device on the management client, the administrator can find the user's site through the user's user ID, and then find the target device in the site. The user ID is information that can uniquely identify a user, for example, it can be a number set by the administrator for the user.
[0273] A signaling interaction diagram between the management party and the management client can be as follows: Fig.18 As shown. The management party can send a site display instruction to the management client based on the user's user ID, that is, the management party executes step S1801. In this way, the management client can display the site information interface corresponding to the user, that is, the management client executes step S1802. Among them, the site information interface may include the information of the managed device of the user who has a managed relationship with the management party and the corresponding remote password reset trigger interface, and the information of the managed device includes the device ID of the managed device.
[0274] For example, a schematic diagram of the site information interface can be as follows Fig.19As shown. The administrator can enter the user ID in the input box corresponding to the site, and then the site information interface corresponding to the user can be displayed. The input box can display the prompt message "Please enter the user ID". Assuming that the administrator enters the user ID 5849310 into the above input box for search, the site information interface corresponding to the user ID 5849310 will be displayed. The current user ID can be displayed above the site information interface. There are 2 managed devices of users who have a managed relationship with the administrator in this site, and the corresponding serial numbers are 39568732 and 73286481, and the current status is normal.
[0275] Next, the management party may issue a trigger operation to the remote password reset trigger interface corresponding to the target device based on the device identification of the target device, that is, the management party executes step S1803. The remote password reset trigger interface may be a trigger button for remote password reset. Furthermore, the management client may generate a trigger signal carrying the device identification of the target device, that is, the management client executes step S1804. Fig.19 As shown in the figure, assuming that the serial number of the target device is 39568732, the administrator can click the remote password reset button corresponding to the device with the serial number 39568732, that is, a trigger operation is issued for the remote password reset corresponding to the device with the serial number 39568732. In this way, the management client can generate a trigger signal carrying the serial number 39568732.
[0276] In the second mode, another signaling interaction diagram between the management party and the management client can be as follows: Fig. 20 As shown. The management client can display the device identification input interface, that is, the management client executes step S2001. In this way, after the management party knows the device identification of the target device, it can input the device identification of the target device based on the device identification input interface, that is, the management party executes step S2002. Furthermore, the management client can generate a trigger signal carrying the device identification of the target device, that is, the management client executes step S2003.
[0277] It can be seen that in the embodiment of the present application, the management client can respond to the site display instruction issued by the management party based on the user's user identification, and display the site information interface corresponding to the user; wherein the site information interface includes the information of the managed device of the user who has a managed relationship with the management party and the corresponding remote password reset trigger interface, and the information of the managed device includes the device identification of the managed device; the management client generates a trigger signal in response to the trigger operation of the remote password reset trigger interface corresponding to the target device based on the device identification of the target device by the management party; wherein the trigger signal carries the device identification of the target device; or, the management client displays the device identification input interface, and generates a trigger signal in response to the device identification of the target device input by the management party based on the device identification input interface; wherein the trigger signal carries the device identification of the target device. Since the management party only needs to log in to the management client and find the target device, the management client can be triggered to send a trigger signal by triggering the remote password reset trigger interface or by inputting the device identification of the target device. In this way, the subsequent password reset process can be carried out. The management party only needs to reset the password through remote assistance, without going to the site where the target device is located, and does not need to understand the logic of password reset, which can save manpower and time costs, thereby reducing implementation costs.
[0278] Corresponding to the above-mentioned first password resetting method, the embodiment of the present application also provides a first password resetting device. The first password resetting device provided by the embodiment of the present application is introduced below.
[0279] like Fig.21 As shown, a password resetting device is applied to a user client, the user client runs on a terminal device, the user manages the target device through the user client, and the user and the management party establish a trusteeship relationship, the trusteeship relationship is established by the user pre-authorizing at least part of the permissions of the target device to the management party, the device includes:
[0280] The message acquisition module 2101 is used to acquire a password reset message of the target device, wherein the password reset message carries a unique identifier of the target device, and the password reset message is pushed to the user client by the management party with a trusteeship relationship when the target device needs to reset the password;
[0281] A device matching module 2102, configured to match the target device based on the unique identifier of the target device carried in the password reset message;
[0282] A new password acquisition module 2103 is used to acquire a new password set by the user for the target device;
[0283] The request sending module 2104 is used to send a password reset credential acquisition request to the password reset service to acquire the password reset credential;
[0284] The import module 2105 is used to import the password reset credential and the new password into the target device, so that the target device performs password reset based on the password reset credential and the new password.
[0285] It can be seen that in the embodiment of the present application, the user client can obtain the password reset message of the target device; wherein the password reset message carries the unique identifier of the target device, and the password reset message is pushed to the user client by the management party with a trust relationship when the target device needs to reset the password; based on the unique identifier of the target device carried in the password reset message, match with the target device; obtain the new password set by the user for the target device; send a password reset credential acquisition request to the password reset service to obtain the password reset credential; import the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password. Since the user and the management party have established a trust relationship in advance, the management party can push the password reset message to the user client based on the trust relationship when the user's target device needs to reset the password. Next, the user client can match with the target device and obtain the new password, and then obtain the password reset credential from the password reset service. The user does not need to understand the password reset process, and there is basically no learning cost. The management party only needs to push the password reset message to the user client, without going to the site where the target device is located, and does not need to understand the logic of password reset. Therefore, the complexity of password reset can be reduced and the efficiency of password reset can be improved.
[0286] As an implementation of the embodiment of the present application, the above device may further include:
[0287] A message display module, used to display the password reset message;
[0288] An information display module, used to display prompt information when a trigger operation of the user for the password reset message is obtained; wherein the prompt information is a message for prompting the user to connect the terminal device to the local area network where the target device is located;
[0289] An execution module is used to execute the step of matching the target device with the unique identifier of the target device carried in the password reset message when the user connects the terminal device to the local area network where the target device is located based on the prompt of the prompt information.
[0290] As an implementation method of the embodiment of the present application, the above-mentioned trusteeship relationship can be established by the user pre-authorizing at least the startup permission of resetting the password of the target device to the management party, and the above-mentioned management party can manage the target device through the management service. In this case, the above-mentioned request sending module 2104 may include:
[0291] The first request sending submodule is used to send a password reset credential acquisition request to the management service, so that after the management service obtains the password reset credential from the password reset service, it sends the password reset credential to the user client.
[0292] As an implementation of the embodiment of the present application, the user may manage the target device through a user client and a user service. In this case, the message acquisition module 2101 may include:
[0293] The message acquisition submodule is used to obtain the password reset message sent by the user service, wherein the password reset message is sent to the user service by the management party with a trusteeship relationship when the target device needs to reset the password, and is sent to the user client by the user service.
[0294] As an implementation of the embodiment of the present application, the above device may further include:
[0295] A first authorization module, configured for the user to authorize at least part of the permissions of the target device to the management party in advance through the unique identifier of the target device;
[0296] A second authorization module, configured for the user to authorize at least part of the permissions of at least one device among the devices associated with the user identification to the management party in advance, wherein the at least one device includes the target device;
[0297] A third authorization module is used for the user to authorize at least part of the permissions of at least one device among the devices associated with the client identification of the user client to the management party in advance, wherein the at least one device includes the target device.
[0298] As an implementation of the embodiment of the present application, the above device may further include:
[0299] The device identification display module is used to display the device identification of the target device indicated by the device identification viewing instruction when obtaining the device identification viewing instruction issued by the user; wherein the device identification viewing instruction is issued when the user needs to reset the password of the target device.
[0300] Corresponding to the above-mentioned second password resetting method, the embodiment of the present application also provides a second password resetting device. The second password resetting device provided by the embodiment of the present application is introduced below.
[0301] A password resetting device is applied to a management device. A user manages a target device through a user client. The user client runs on a terminal device. The user and a management party have established a trusteeship relationship. The trusteeship relationship is established by the user authorizing at least part of the target device to the management party in advance. The management party manages the target device through the management device. The device includes:
[0302] A message sending module is used to send a password reset message of the target device to the user client when the password of the target device needs to be reset, so that the user client matches the target device based on the unique identifier of the target device carried in the password reset message, and the user client obtains the new password set by the user for the target device. The user client sends a password reset credential acquisition request to the password reset service and obtains the password reset credential. The user client imports the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password.
[0303] It can be seen that in the embodiment of the present application, the management device can send a password reset message of the target device to the user client when the target device needs to reset the password, so that the user client matches the target device based on the unique identifier of the target device carried in the password reset message, and the user client obtains the new password set by the user for the target device. The user client sends a password reset credential acquisition request to the password reset service and obtains the password reset credential. The user client imports the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password. Since a trusteeship relationship is established in advance between the user and the management party, the management party can push the password reset message to the user client based on the trusteeship relationship when the user's target device needs to reset the password. Next, the user client can match with the target device and obtain the new password, and then obtain the password reset credential from the password reset service. The user does not need to understand the password reset process, and there is basically no learning cost. The management party only needs to push the password reset message to the user client, without going to the site where the target device is located, and does not need to understand the logic of password reset. Therefore, the complexity of password reset can be reduced and the efficiency of password reset can be improved.
[0304] As an implementation method of an embodiment of the present application, the above-mentioned trusteeship relationship is established by the user pre-authorizing at least the startup permission of resetting the password of the target device to the management party, and the above-mentioned management device may include at least a management service. In this case, the above-mentioned message sending module may include:
[0305] A second request sending submodule, configured for the user client to send a password reset credential acquisition request to the management service;
[0306] The credential acquisition submodule is used for the management service to acquire the password reset credential from the password reset service and send the password reset credential to the user client.
[0307] As an implementation method of an embodiment of the present application, the password reset credential acquisition request may include a password reset string, which is derived from the target device by the user client when the user client successfully matches the target device, and the password reset string may be obtained by encrypting a random string by the target device. In this case, the credential acquisition submodule may include:
[0308] a reset string sending unit, configured for the management service to send the password reset string to the password reset service, so that the password reset service decrypts the password reset string and obtains a password reset credential, and the password reset service sends the password reset credential to the management service;
[0309] The credential receiving unit is configured to receive the password reset credential sent by the password reset service.
[0310] As an implementation of an embodiment of the present application, the password reset string may be obtained by encrypting a random string using a public key of the target device. In this case, the reset string sending unit may include:
[0311] A decryption subunit, configured for the password reset service to use a private key corresponding to the public key to decrypt the password reset string to obtain the password reset credential;
[0312] The message sending module may further include:
[0313] The password resetting submodule is used for the target device to reset the password based on the new password when the password resetting credential matches the random string.
[0314] As an implementation of an embodiment of the present application, the management device may include a management service and a management client. In this case, the message sending module may also include:
[0315] The message sending submodule is used to respond to the trigger signal of the management client, and the management service sends the password reset message of the target device to the user client, wherein the trigger signal is sent by the management party through the management client when the password of the target device needs to be reset.
[0316] As an implementation of an embodiment of the present application, the message sending submodule may include:
[0317] An interface display unit, used for the management client to display the site information interface corresponding to the user in response to the site display instruction issued by the management party based on the user identifier of the user; wherein the site information interface includes information of the user's hosting device having a hosting relationship with the management party and a corresponding remote password reset trigger interface, and the information of the hosting device includes the device identifier of the hosting device;
[0318] A first generating unit is used for the management client to generate the trigger signal in response to the management party triggering the remote password reset trigger interface corresponding to the target device based on the device identification of the target device; wherein the trigger signal carries the device identification of the target device;
[0319] The second generating unit is used for the management client to display a device identification input interface, and generate the trigger signal in response to the device identification of the target device input by the management party based on the device identification input interface; wherein the trigger signal carries the device identification of the target device.
[0320] Corresponding to the first password resetting method mentioned above, an embodiment of the present application further provides a password resetting system. The following is an introduction to a password resetting system provided by an embodiment of the present application.
[0321] like Fig. 22 As shown, a password reset system includes a user client 2201, a management party 2202, a password reset service 2203 and a target device 2204. The user manages the target device 2204 through the user client 2201, and the user and the management party 2202 establish a trusteeship relationship, and the trusteeship relationship is established by the user authorizing at least part of the permissions of the target device 2204 to the management party 2202 in advance;
[0322] The management party 2202 is used to push a password reset message of the target device 2204 to the user client 2201 when the target device 2204 needs to reset the password, wherein the password reset message carries a unique identifier of the target device 2204;
[0323] The user client 2201 is used to obtain the password reset message of the target device 2204; match the target device 2204 based on the unique identifier of the target device 2204 carried in the password reset message; obtain the new password set by the user for the target device 2204; and send a password reset credential acquisition request to the password reset service 2203;
[0324] The password reset service 2203 is used to send a password reset credential to the user client 2201;
[0325] The user client 2201 is further used to obtain a password reset credential; import the password reset credential and the new password into the target device 2204;
[0326] The target device 2204 is used to reset the password based on the password reset credential and the new password.
[0327] It can be seen that in the embodiment of the present application, the user client can obtain the password reset message of the target device; wherein the password reset message carries the unique identifier of the target device, and the password reset message is pushed to the user client by the management party with a trust relationship when the target device needs to reset the password; based on the unique identifier of the target device carried in the password reset message, match with the target device; obtain the new password set by the user for the target device; send a password reset credential acquisition request to the password reset service to obtain the password reset credential; import the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password. Since the user and the management party have established a trust relationship in advance, the management party can push the password reset message to the user client based on the trust relationship when the user's target device needs to reset the password. Next, the user client can match with the target device and obtain the new password, and then obtain the password reset credential from the password reset service. The user does not need to understand the password reset process, and there is basically no learning cost. The management party only needs to push the password reset message to the user client, without going to the site where the target device is located, and does not need to understand the logic of password reset. Therefore, the complexity of password reset can be reduced and the efficiency of password reset can be improved.
[0328] The present application also provides a terminal device, such as Fig.23 As shown, including:
[0329] Memory 2301, used for storing computer programs;
[0330] The processor 2302 is used to implement the first password resetting method described in any of the above embodiments when executing the program stored in the memory 2301.
[0331] In addition, the terminal device may further include a communication bus and / or a communication interface, and the processor 2302, the communication interface, and the memory 2301 communicate with each other via the communication bus.
[0332] It can be seen that in the embodiment of the present application, the user client can obtain the password reset message of the target device; wherein the password reset message carries the unique identifier of the target device, and the password reset message is pushed to the user client by the management party with a trust relationship when the target device needs to reset the password; based on the unique identifier of the target device carried in the password reset message, match with the target device; obtain the new password set by the user for the target device; send a password reset credential acquisition request to the password reset service to obtain the password reset credential; import the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password. Since the user and the management party have established a trust relationship in advance, the management party can push the password reset message to the user client based on the trust relationship when the user's target device needs to reset the password. Next, the user client can match with the target device and obtain the new password, and then obtain the password reset credential from the password reset service. The user does not need to understand the password reset process, and there is basically no learning cost. The management party only needs to push the password reset message to the user client, without going to the site where the target device is located, and does not need to understand the logic of password reset. Therefore, the complexity of password reset can be reduced and the efficiency of password reset can be improved.
[0333] The present application also provides a management device, such as Fig.24 As shown, including:
[0334] Memory 2401, used for storing computer programs;
[0335] The processor 2402 is used to implement the second password resetting method described in any of the above embodiments when executing the program stored in the memory 2401.
[0336] In addition, the management device may further include a communication bus and / or a communication interface, and the processor 2402, the communication interface, and the memory 2401 communicate with each other via the communication bus.
[0337] It can be seen that in the embodiment of the present application, the management device can send a password reset message of the target device to the user client when the target device needs to reset the password, so that the user client matches the target device based on the unique identifier of the target device carried in the password reset message, and the user client obtains the new password set by the user for the target device. The user client sends a password reset credential acquisition request to the password reset service and obtains the password reset credential. The user client imports the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password. Since a trusteeship relationship is established in advance between the user and the management party, the management party can push the password reset message to the user client based on the trusteeship relationship when the user's target device needs to reset the password. Next, the user client can match with the target device and obtain the new password, and then obtain the password reset credential from the password reset service. The user does not need to understand the password reset process, and there is basically no learning cost. The management party only needs to push the password reset message to the user client, without going to the site where the target device is located, and does not need to understand the logic of password reset. Therefore, the complexity of password reset can be reduced and the efficiency of password reset can be improved.
[0338] The communication bus mentioned in the terminal device and the management device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0339] The communication interface is used for communication between the above-mentioned terminal equipment and the above-mentioned management device and other equipment.
[0340] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0341] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0342] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of the password resetting method described in any of the above embodiments are implemented.
[0343] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the password resetting method described in any of the above embodiments.
[0344] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.
[0345] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0346] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, system, terminal device, management device, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0347] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims
1. A password resetting method, characterized in that: Applied to a user client, the user client runs on a terminal device, the user manages the target device through the user client, and the user establishes a trusteeship relationship with the management party, the trusteeship relationship is established by the user authorizing at least part of the permissions of the target device to the management party in advance, the method includes: Obtaining a password reset message of the target device, wherein the password reset message carries a unique identifier of the target device, and the password reset message is pushed to the user client by the management party having a trusteeship relationship when the target device needs to reset the password; Matching the target device based on the unique identifier of the target device carried in the password reset message; Obtaining a new password set by the user for the target device; Send a password reset credential acquisition request to the password reset service to obtain the password reset credential; The password reset credential and the new password are imported into the target device, so that the target device performs password reset based on the password reset credential and the new password.
2. The method according to claim 1, characterized in that Before the step of matching the target device with the unique identifier of the target device carried in the password reset message, the method further includes: Displaying the password reset message; In the case of obtaining a trigger operation of the user for the password reset message, displaying prompt information, wherein the prompt information is a message for prompting the user to connect the terminal device to the local area network where the target device is located; When the user connects the terminal device to the local area network where the target device is located based on the prompt of the prompt information, the step of matching the target device based on the unique identifier of the target device carried in the password reset message is performed.
3. The method according to claim 1, characterized in that The trusteeship relationship is established by the user authorizing at least the startup permission of resetting the password of the target device to the management party in advance; the management party manages the target device through a management service; The step of sending a password reset credential acquisition request to a password reset service to acquire a password reset credential includes: A password reset credential acquisition request is sent to the management service, so that after the management service acquires the password reset credential from the password reset service, the password reset credential is sent to the user client.
4. The method according to claim 1, characterized in that: The user manages the target device through the user client and user service; The step of obtaining the password reset message of the target device includes: Obtain a password reset message sent by the user service, wherein the password reset message is sent by the management party with a trusteeship relationship to the user service when the target device needs to reset the password, and is sent by the user service to the user client.
5. The method according to claim 1, characterized in that The escrow relationship is established based on at least one of the following methods: The user authorizes at least part of the permissions of the target device to the management party in advance through the unique identifier of the target device; The user authorizes at least part of the permissions of at least one device among the devices associated with the user identity to the management party in advance, wherein the at least one device includes the target device; The user authorizes in advance to the management party at least part of the permissions of at least one device among the devices associated with the client identification of the user client, wherein the at least one device includes the target device.
6. The method according to any one of claims 1 to 5, characterized in that: Before the step of obtaining the password reset message of the target device, the method further includes: In case of obtaining a device identification viewing instruction issued by the user, the device identification of the target device indicated by the device identification viewing instruction is displayed, wherein the device identification viewing instruction is issued when the user needs to reset the password of the target device.
7. A password resetting method, characterized in that: Applied to a management device, a user manages a target device through a user client, the user client runs on a terminal device, and the user establishes a trusteeship relationship with a management party, the trusteeship relationship is established by the user authorizing at least part of the rights of the target device to the management party in advance, and the management party manages the target device through the management device, the method comprising: In the case that the target device needs to reset the password, a password reset message of the target device is sent to the user client, so that the user client matches the target device based on the unique identifier of the target device carried in the password reset message, the user client obtains the new password set by the user for the target device, the user client sends a password reset credential acquisition request to the password reset service and obtains the password reset credential, and the user client imports the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password.
8. The method according to claim 7, characterized in that The trusteeship relationship is established by the user authorizing at least the startup permission of resetting the password of the target device to the management party in advance; the management device at least includes a management service; The step of the user client sending a password reset credential acquisition request to the password reset service and acquiring the password reset credential includes: The user client sends a password reset credential acquisition request to the management service; The management service obtains a password reset credential from a password reset service, and sends the password reset credential to the user client.
9. The method according to claim 8, characterized in that The password reset credential acquisition request includes a password reset string, where the password reset string is derived by the user client from the target device when the user client successfully matches the target device, and the password reset string is obtained by encrypting a random string by the target device; The step of the management service obtaining the password reset credential from the password reset service comprises: The management service sends the password reset string to the password reset service, so that the password reset service decrypts the password reset string and obtains a password reset credential, and the password reset service sends the password reset credential to the management service; Receive the password reset credential sent by the password reset service.
10. The method according to claim 9, characterized in that The password reset string is obtained by encrypting the random string by the target device using a public key; The method for generating the password reset credential includes: The password reset service uses the private key corresponding to the public key to decrypt the password reset string to obtain the password reset credential; The step of resetting the password of the target device based on the password reset credential and the new password includes: When the password reset credential matches the random string, the target device resets the password based on the new password.
11. The method according to any one of claims 7 to 10, characterized in that: The management device includes a management service and a management client; The step of sending the password reset message of the target device to the user client includes: In response to a trigger signal from the management client, the management service sends a password reset message for the target device to the user client, wherein the trigger signal is sent by the management party through the management client when the password of the target device needs to be reset.
12. The method according to claim 11, characterized in that The trigger signal generation method includes: The management client displays a site information interface corresponding to the user in response to a site display instruction issued by the management party based on the user identifier of the user, wherein the site information interface includes information of a managed device of the user having a managed relationship with the management party and a corresponding remote password reset trigger interface, and the information of the managed device includes a device identifier of the managed device; The management client generates the trigger signal in response to the management party triggering the remote password reset trigger interface corresponding to the target device based on the device identification of the target device, wherein the trigger signal carries the device identification of the target device; or The management client displays a device identification input interface, and generates the trigger signal in response to the device identification of the target device input by the management party based on the device identification input interface, wherein the trigger signal carries the device identification of the target device.
13. A password resetting device, characterized in that: Applied to a user client, the user client runs on a terminal device, the user manages the target device through the user client, and the user establishes a trusteeship relationship with the management party, the trusteeship relationship is established by the user authorizing at least part of the permissions of the target device to the management party in advance, the device includes: a message acquisition module, configured to acquire a password reset message of the target device, wherein the password reset message carries a unique identifier of the target device, and the password reset message is pushed to the user client by the management party having a trusteeship relationship when the target device needs to reset the password; A device matching module, configured to match the target device based on the unique identifier of the target device carried in the password reset message; A new password acquisition module, used to acquire a new password set by the user for the target device; A request sending module, used to send a password reset credential acquisition request to a password reset service to obtain a password reset credential; The import module is used to import the password reset credential and the new password into the target device, so that the target device performs password reset based on the password reset credential and the new password.
14. The device according to claim 13, characterized in that The device also includes: A message display module, used to display the password reset message; An information display module, used to display prompt information when a trigger operation of the user for the password reset message is obtained; wherein the prompt information is a message for prompting the user to connect the terminal device to the local area network where the target device is located; an execution module, configured to execute the step of matching the target device with the unique identifier of the target device carried in the password reset message when the user connects the terminal device to the local area network where the target device is located based on the prompt of the prompt information; The trusteeship relationship is established by the user authorizing at least the startup permission of resetting the password of the target device to the management party in advance; the management party manages the target device through a management service; The request sending module comprises: A first request sending submodule, configured to send a password reset credential acquisition request to the management service, so that after the management service acquires the password reset credential from the password reset service, the management service sends the password reset credential to the user client; The user manages the target device through the user client and user service; The message acquisition module comprises: A message acquisition submodule, used to acquire a password reset message sent by the user service, wherein the password reset message is sent by the management party with a trusteeship relationship to the user service when the target device needs to reset the password, and is sent by the user service to the user client; The device also includes: A first authorization module, configured for the user to authorize at least part of the permissions of the target device to the management party in advance through the unique identifier of the target device; A second authorization module, configured for the user to authorize at least part of the permissions of at least one device among the devices associated with the user identification to the management party in advance, wherein the at least one device includes the target device; A third authorization module, configured for the user to authorize at least part of the permissions of at least one device among the devices associated with the client identifier of the user client to the management party in advance, wherein the at least one device includes the target device; The device also includes: The device identification display module is used to display the device identification of the target device indicated by the device identification viewing instruction when obtaining the device identification viewing instruction issued by the user; wherein the device identification viewing instruction is issued when the user needs to reset the password of the target device.
15. A password resetting device, characterized in that: Applied to a management device, a user manages a target device through a user client, the user client runs on a terminal device, and the user establishes a trusteeship relationship with a management party, the trusteeship relationship is established by the user authorizing at least part of the rights of the target device to the management party in advance, the management party manages the target device through the management device, and the device includes: A message sending module is used to send a password reset message of the target device to the user client when the password of the target device needs to be reset, so that the user client matches the target device based on the unique identifier of the target device carried in the password reset message, and the user client obtains the new password set by the user for the target device. The user client sends a password reset credential acquisition request to the password reset service and obtains the password reset credential. The user client imports the password reset credential and the new password into the target device, so that the target device resets the password based on the password reset credential and the new password.
16. The device according to claim 15, characterized in that The trusteeship relationship is established by the user authorizing at least the startup permission of resetting the password of the target device to the management party in advance; the management device at least includes a management service; The message sending module comprises: A second request sending submodule, configured for the user client to send a password reset credential acquisition request to the management service; A credential acquisition submodule, configured for the management service to acquire a password reset credential from a password reset service, and to send the password reset credential to the user client; The password reset credential acquisition request includes a password reset string, where the password reset string is derived by the user client from the target device when the user client successfully matches the target device, and the password reset string is obtained by encrypting a random string by the target device; The credential acquisition submodule includes: a reset string sending unit, configured for the management service to send the password reset string to the password reset service, so that the password reset service decrypts the password reset string and obtains a password reset credential, and the password reset service sends the password reset credential to the management service; a credential receiving unit, configured to receive the password reset credential sent by the password reset service; The password reset string is obtained by encrypting the random string by the target device using a public key; The reset string sending unit comprises: A decryption subunit, configured for the password reset service to use a private key corresponding to the public key to decrypt the password reset string to obtain the password reset credential; The message sending module further includes: A password reset submodule, configured for the target device to reset the password based on the new password when the password reset credential matches the random string; The management device includes a management service and a management client; The message sending module further includes: a message sending submodule, configured to cause the management service to send a password reset message of the target device to the user client in response to a trigger signal of the management client, wherein the trigger signal is sent by the management party through the management client when the password of the target device needs to be reset; The message sending submodule comprises: An interface display unit, used for the management client to display the site information interface corresponding to the user in response to the site display instruction issued by the management party based on the user identifier of the user; wherein the site information interface includes information of the user's hosting device having a hosting relationship with the management party and a corresponding remote password reset trigger interface, and the information of the hosting device includes the device identifier of the hosting device; A first generating unit is used for the management client to generate the trigger signal in response to the management party triggering the remote password reset trigger interface corresponding to the target device based on the device identification of the target device; wherein the trigger signal carries the device identification of the target device; The second generating unit is used for the management client to display a device identification input interface, and generate the trigger signal in response to the device identification of the target device input by the management party based on the device identification input interface; wherein the trigger signal carries the device identification of the target device.
17. A password resetting system, characterized in that: The system includes a user client, a management party, a password reset service and a target device. The user manages the target device through the user client, and the user and the management party establish a trusteeship relationship, which is established by the user authorizing at least part of the permissions of the target device to the management party in advance; The management party is configured to push a password reset message of the target device to the user client when the password of the target device needs to be reset, wherein the password reset message carries a unique identifier of the target device; The user client is used to obtain a password reset message of the target device; match the target device with the unique identifier of the target device carried in the password reset message; obtain a new password set by the user for the target device; and send a password reset credential acquisition request to a password reset service; The password reset service is used to send a password reset credential to the user client; The user client is further used to obtain a password reset credential; and import the password reset credential and the new password into the target device; The target device is used to reset the password based on the password reset credential and the new password.
18. A terminal device, characterized in that: include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-6 when executing a program stored in a memory.
19. A management device, characterized in that: include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 7-12 when executing a program stored in a memory.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 1-6 or 7-12 is implemented.
