Data resetting method and device, electronic equipment and medium
By obtaining the identification information and login information of the image collector for server verification, the problem of self-service data reset when the user forgets the password is solved, fast and convenient data reset is achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202410320333.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2025-09-26
AI Technical Summary
When users forget their image collector client password, they cannot retrieve it by themselves and need assistance from official customer service, which is a cumbersome and time-consuming process.
By obtaining the identification information and login information of the image collector, the account security verification is performed on the server. If successful, the data reset interface is displayed to achieve self-service data reset.
On the basis of ensuring privacy and security, it achieves fast and convenient data reset, avoids tedious customer service assistance processes, and improves user experience.
Smart Images

Figure CN120710686A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information security technology, and in particular to a data resetting method, device, electronic device, and medium. Background Art
[0002] Currently, image collectors are widely used in various scenarios for surveillance. To facilitate viewing images collected by an image collector, you can add an image collector to your client account and view images collected by the bound image collector by logging in to your account on the client.
[0003] Generally, users must log in to the client before viewing images captured by the bound image collector. If you register the client using your phone number or email address, you can use that number or email address to retrieve your password if you forget it. However, in some scenarios, users may prefer not to register using their phone number or email address to protect their privacy, and instead register using their username. If you forget your password and cannot retrieve it yourself, you must contact the client's official customer service, which is a lengthy and tedious process. Summary of the Invention
[0004] The embodiments of the present application provide a data reset method, device, electronic device, and medium to quickly and conveniently perform security verification on a terminal, allowing users to reset data by themselves through the terminal.
[0005] According to one aspect of the present application, a data resetting method is provided, which, when executed by a terminal, includes:
[0006] For at least one image collector associated with the client account, obtain identification information of the image collector;
[0007] Sending the identification information and the login information of the account to a server so that the server can perform account security verification;
[0008] If the account security verification success information is received from the server, the data reset interface will be displayed to allow the user to reset the data.
[0009] According to one aspect of the present application, a data resetting method is provided, which, when executed by a server, includes:
[0010] Receiving identification information and account login information sent by the terminal; wherein the identification information is identification information of at least one image collector associated with the client account obtained by the terminal;
[0011] Performing an account security check on the client of the terminal according to the identification information and the login information of the account;
[0012] If the verification is successful, the account security verification success information is returned to the terminal, so that the terminal displays the data reset interface.
[0013] According to one aspect of the present application, a data resetting device is provided, which is configured in a terminal, and includes:
[0014] An identification information acquisition module, configured to acquire identification information of at least one image collector associated with a client account;
[0015] An information sending module, configured to send the identification information and the login information of the account to a server, so that the server can perform an account security verification;
[0016] The interface display module is used to display the data reset interface if the account security verification success information returned by the server is received, so that the user can reset the data.
[0017] According to one aspect of the present application, a data resetting device is provided, which is configured on a server and includes:
[0018] An information receiving module, configured to receive identification information and account login information sent by a terminal; wherein the identification information is identification information of at least one image collector associated with a client account obtained by the terminal;
[0019] An account security verification module, configured to perform an account security verification on the client of the terminal according to the identification information and the login information of the account;
[0020] The information return module is used to return the account security verification success information to the terminal if the verification is successful, so that the terminal displays the data reset interface.
[0021] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:
[0022] at least one processor; and
[0023] A memory connected to at least one processor for data processing; wherein,
[0024] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the data reset method executed by the terminal or the data reset method executed by the server in any embodiment of the present application.
[0025] According to another aspect of the present application, a computer-readable storage medium is provided, which stores computer instructions, and the computer instructions are used to enable a processor to implement the data reset method executed by a terminal or the data reset method executed by a server in any embodiment of the present application when executed.
[0026] The technical solution of the embodiment of the present application obtains the identification information of at least one image collector associated with a client account; sends the identification information and the account login information to a server so that the server can perform an account security verification; and if the account security verification is successful, displays a data reset interface to allow the user to reset the data. The above solution enables the terminal to provide device evidence to the server based on the account login information and the identification information of the associated image collector, allowing the server to verify the security of the terminal without requiring security verification through private information such as mobile phone numbers and email addresses, thereby achieving terminal verification and data reset while ensuring privacy and security.
[0027] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0029] Figure 1 A flowchart of a data resetting method performed by a terminal according to an embodiment of the present application;
[0030] Figure 2 A flowchart of a data resetting method performed by a terminal according to another embodiment of the present application;
[0031] Figure 3 A flowchart of a data resetting method performed by a server according to an embodiment of the present application;
[0032] Figure 4 An interactive diagram of a specific implementation method provided in an embodiment of the present application;
[0033] Figure 5 A schematic diagram of the structure of a data resetting device configured in a terminal provided in an embodiment of the present application;
[0034] Figure 6 A schematic diagram of the structure of a data resetting device configured on a server provided in an embodiment of the present application;
[0035] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0037] It should be noted that the terms "first", "second", "third", "fourth", "actual", "preset", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0038] Figure 1 The present invention provides a flowchart of a data reset method performed by a terminal in an embodiment of the present invention. The present invention can be applied to situations where data is reset. Typically, the present invention can be applied to situations where data is reset when a user registers and logs in to a client using an account name. The method can be performed by a data reset device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:
[0039] S110: For at least one image collector associated with the client account, obtain identification information of the image collector.
[0040] Among them, the client can bind and manage the image collector, and the application for viewing the real-time monitoring screen of the image collector or the collected images is configured in the terminal. The terminal can be a smart terminal such as a mobile phone, tablet computer, wearable device, computer, etc. The account can be the account set by the user when registering on the client, which is used for subsequent login to the client. The image collector can be a device with image acquisition function, deployed in an environment that needs to be monitored. The form of the identification information of the image collector is not limited, and it can uniquely represent the image collector, or correspond to a unique image collector. It can be static identification information or dynamic identification information. The static identification information includes the image collector's inherent serial number, code, network address, interface number and other information. Dynamic identification information includes passwords, verification codes and other information generated in real time by the image collector.
[0041] In an embodiment of the present application, when a user logs into a client account, such as during initial registration or subsequent successful login using an account name and password, they can add an image collector and establish an association with the image collector. The client can select at least one image collector from the associated image collectors, obtain identification information of the at least one image collector, and subsequently present device evidence to the server based on the identification information of the at least one associated image collector.
[0042] In an embodiment of the present application, for at least one image collector associated with a client account, obtaining identification information of the image collector includes:
[0043] The coding information of at least one image collector is scanned by a scanning device configured in the terminal to serve as the identification information.
[0044] Exemplarily, the scanning device can be configured with a camera, and the scanning device can obtain the coding information on the image collector through the camera and identify the coding information as identification information of the image collector. The coding information can be static coding information set on the image collector, or it can be dynamic coding information generated in real time by the image collector. Specifically, the terminal can send a coding information display instruction to at least one image collector associated with the client account. After receiving the coding information display instruction, the image collector displays its own coding information on the display screen for the terminal to scan and identify. The image collector displays the coding information for the terminal to scan and identify only after receiving the coding information instruction from the terminal, thereby preventing other abnormal terminals from directly obtaining the coding information of the image collector at any time and disguising themselves as normal terminals to perform abnormal operations, thereby improving the security of the coding information of the image collector.
[0045] S120: Send the identification information and the login information of the account to the server, so that the server can perform account security verification.
[0046] The server can be the backend device of the client, storing and managing the client's information. The terminal sends identification information and account login information to the server, which can then perform an account security check on the terminal based on the identification information and account login information to determine whether the account is a registered authorized account.
[0047] Specifically, if the identification information is static, the identification information and the corresponding image collector can be pre-entered and stored in the server, or the image collector can send the identification information to the server and store it. If the identification information is dynamic, the image collector can generate the identification information and send it to the server and store it. The server matches the identification information sent by the terminal with the stored identification information to determine whether the match is successful and whether the image collector corresponding to the identification information sent by the terminal is the image collector associated with the terminal client account.
[0048] During each login process, the server will record the client's login information. The server can compare the login information sent by the terminal with the recorded login information to determine whether the login information sent by the terminal is authorized.
[0049] The above solution can verify the security and permissions of the terminal by having the terminal provide self-certification to the server and the server perform verification, without the need for verification through the terminal's corresponding mobile phone number and email address. This improves the security of private information and does not affect the user's ability to reset account data. In addition, the identification information of the image collector associated with the client account is used as the object of evidence and verification, which can more comprehensively verify the security of the account, ensure the security of account data reset, and prevent malicious reset of account data by abnormal terminals.
[0050] S130. If the account security verification success information returned by the server is received, a data reset interface is displayed to allow the user to reset the data.
[0051] For example, if the server successfully verifies the account security, the account is deemed secure, and the user can reset the account data through operations on the terminal. Therefore, the server returns a message indicating successful account security verification to the terminal. Upon receiving the message, the terminal displays a data reset interface, allowing the user to reset their data. Data resets can include resetting passwords, account names, basic settings, and image acquisition device associations.
[0052] The technical solution of the embodiment of the present application obtains the identification information of at least one image collector associated with a client account; sends the identification information and the account login information to a server so that the server can perform an account security verification; and if the account security verification is successful, displays a data reset interface to allow the user to reset the data. The above solution enables the terminal to provide device evidence to the server based on the account login information and the identification information of the associated image collector, allowing the server to verify the security of the terminal without requiring security verification through private information such as mobile phone numbers and email addresses, thereby achieving terminal verification and data reset while ensuring privacy and security.
[0053] Figure 2 This is a flow chart of a data reset method performed by a terminal provided in another embodiment of the present application. The present embodiment is optimized based on the above embodiment. For solutions not fully described in the present embodiment, please refer to the above embodiment. Figure 2 As shown, the method of the embodiment of the present application specifically includes the following steps:
[0054] S210: Deliver relevant information of the image collector to at least one image collector associated with the client account, so that the at least one image collector performs terminal security verification according to the relevant information.
[0055] Among them, the relevant information can be information that is relevant to the image collector, such as information about the local area network where the image collector is located, image acquisition parameter information, collected images, location information, identification information, etc. The image collector does not allow any terminal to obtain its identification information, but needs to verify the security of the terminal. Only after the terminal security is determined can the terminal be allowed to obtain the identification information of the image collector. In an embodiment of the present application, the terminal can transmit the relevant information of the image collector that it has learned to at least one image collector, so that the image collector can perform terminal security verification based on the relevant information to determine the security of the terminal.
[0056] In an embodiment of the present application, transmitting relevant information of the image collector to at least one image collector associated with a client account, so that the at least one image collector performs terminal security verification based on the relevant information, includes:
[0057] For at least one image collector, join the local area network of the image collector, obtain the local area network address and generate a corresponding local area network password;
[0058] The LAN address and the corresponding LAN password are transmitted to the image collector, so that the image collector sends the LAN address and the corresponding LAN password to the client in the terminal for terminal security verification.
[0059] Exemplarily, the terminal may first select at least one image collector from the image collectors associated with the client account as the object of evidence to the server. Traverse each image collector, join the local area network of the image collector during the traversal process, obtain the local area network address, and generate a local area network password corresponding to the local area network address. The local area network in which each image collector is located can be pre-entered into the terminal. For security reasons, it can also be input in real time by the user currently operating the terminal, so as to avoid direct operation by abnormal users who do not know the local area network in which the image collector is located. The terminal transmits the local area network address and the corresponding local area network password to the image collector. After receiving the local area network address and the corresponding local area network password transmitted by the terminal, the image collector sends the local area network address and the local area network password to the client in the terminal for authentication. If the authentication passes, it is determined that the terminal security check is successful. If the authentication fails, it is determined that the terminal security check has failed. The authentication process is that the client matches the LAN address and LAN password sent by the image collector with the LAN address and LAN password corresponding to the image collector stored in the client to determine whether they are consistent.
[0060] The process of transmitting the LAN address and LAN password to the image collector can include: establishing communication with the image collector, directly sending the LAN address and LAN password to the image collector, or encrypting the LAN address and LAN password and sending them to the image collector. Terminals and image collectors that are not in the same LAN can communicate using the public Internet, a router, an intermediate server, or an external device. Alternatively, the terminal can generate a QR code or barcode containing the LAN address and LAN password. The image collector scans the QR code or barcode generated by the terminal to obtain the LAN address and LAN password.
[0061] The beneficial effect of the above scheme is that if the terminal security verification is performed only through the static information of the image collector obtained by the terminal, for example, the terminal security verification is performed through the serial number of the image collector, then it is not secure. The abnormal terminal can also obtain the serial number from the external label of the image collector and pretend to be a normal terminal to send it to the image collector for terminal security verification, resulting in the inability to guarantee security. In the embodiment of the present application, the image collector is allowed to log in to the terminal's local area network based on the local area network address and local area network password to perform terminal security verification. The security of the terminal is determined by verifying whether the terminal and the image collector are in the same local area network, which can more reliably and accurately verify the security of the terminal. The abnormal terminal cannot obtain the local area network information of the image collector and cannot send it to the image collector for terminal security verification.
[0062] In an embodiment of the present application, transmitting relevant information of the image collector to at least one image collector associated with a client account, so that the at least one image collector performs terminal security verification based on the relevant information, includes:
[0063] Get the historical images of the image collector stored under the client account;
[0064] The historical image is transmitted to the image collector so that the image collector matches the received historical image with the historical image stored in the image collector to perform terminal security verification.
[0065] Among them, the historical image can be an image collected by the image collector before the current moment. The historical images stored under the client account may not be all the historical images collected by the image collector, and may be historical images that the user has viewed and stored through the client. The historical images of the image collector are collected by the corresponding specific image collector and can be used as relevant information of the image collector. The terminal obtains the historical images of the image collector stored under the client account and transmits the historical images to the image collector. The image collector matches the received historical images with the historical images stored by itself to determine whether the received historical images are images collected by itself, thereby determining whether the client account of the terminal is an account associated with itself. If the match is successful, it is determined that the terminal security check has passed. If the match is unsuccessful, it is determined that the terminal security check has failed.
[0066] The beneficial effect of the above scheme is that historical images are only stored under the client account associated with the image collector. By performing terminal security verification on the terminal through the historical images stored under the client account, it is possible to accurately determine whether the client account of the terminal is the account associated with the image collector. Other abnormal terminals are not terminals of the account associated with the image collector, and cannot obtain historical images, so they cannot be transmitted to the image collector to pass the terminal security verification.
[0067] S220: Receive a dynamic password returned by at least one image collector terminal after successful security verification as the identification information.
[0068] Exemplarily, at least one image collector performs terminal security verification based on the relevant information transmitted by the terminal. If the verification passes, the image collector generates a dynamic password and returns the dynamic password to the terminal as identification information. The image collector can send the dynamic password directly to the terminal or to a server, which then forwards it to the terminal. After receiving the dynamic password, the server needs to store the dynamic password in association with the image collector to facilitate subsequent verification of the dynamic password sent by the terminal.
[0069] S230: Send the identification information and the login information of the account to the server, so that the server can perform account security verification.
[0070] In the embodiment of the present application, the login information includes an account name and a password; the password includes at least one of characters, biometrics, and gestures;
[0071] Sending the dynamic password and the login information of the account to the server includes:
[0072] Send a dynamic password, account name and password to the server so that the server verifies the account name according to the password, and verifies the image collector associated with the account according to the dynamic password, wherein the dynamic password, account name and password can be sent encrypted.
[0073] Among them, biometric features may include fingerprints, facial features, voices, iris features, etc. For example, when registering an account, the user registers by setting an account name and password, and logs in with the account name and password subsequently. The user may set at least two passwords. For example, set a character password and a fingerprint password. The user is likely to forget the character password, resulting in the need to view some information with a higher security level because other password verification methods are not supported and the information cannot be viewed, and can only be verified through the character password. The terminal can send a dynamic password, an account name, and at least one password to the server. The server verifies the account name based on at least one password, determines whether the account name and password match, and determines whether there is a login record. The image collector associated with the account is verified based on the dynamic password to determine whether the image collector corresponding to the received dynamic password is the image collector associated with the account name.
[0074] The beneficial effect of the above scheme is that the terminal is verified through dynamic passwords, account names and passwords, thereby verifying the login permissions of the account and verifying the image collector associated with the account, which verifies the security of the terminal more comprehensively and effectively. The verification method is convenient and safe, and does not require private information such as mobile phone numbers and email addresses, thereby ensuring the security of private information.
[0075] S240: If the account security verification success information returned by the server is received, a data reset interface is displayed to allow the user to reset the data.
[0076] It should be noted that the scheme in the embodiment of the present application includes processes such as transmitting information to the image collector, receiving information returned by the image collector, sending information to the server, and displaying the interface. The above processes require the client to have certain permissions to be executed. For example, the client can only interact with the image collector when it knows which image collectors are bound. The way in which the client has permissions is to log in to the account using the current account name and any form of password to obtain the corresponding permissions. The scope of this permission may be inconsistent with the scope of permissions after logging in based on the password to be reset, or it may be consistent. It can be specifically determined based on the password security level used for the current login. Based on this, the beneficial effect of the present application is that, when the user has the account name and a form of password, further evidence is provided based on the image collector bound to the account to prove the security of the terminal, thereby achieving double verification and avoiding abnormal users resetting data after logging in based on a password with a low security level, threatening the security of account information.
[0077] An embodiment of the present application provides a data reset method, which transmits relevant information of the image collector to at least one image collector associated with a client account, so that at least one image collector performs terminal security verification based on the relevant information; receives a dynamic password returned by at least one image collector after the terminal security verification is successful, as the identification information. The identification information and the login information of the account are sent to the server, so that the server performs account security verification; if the account security verification success information returned by the server is received, a data reset interface is displayed to allow the user to reset the data. The above scheme can verify the terminal through the image collector and verify the terminal through the server, realizing a double verification process, ensuring that the account that needs to reset the data is an authorized account, and performing data reset without providing privacy information that is easily leaked, such as mobile phone number and ID number.
[0078] Figure 3 This is a flow chart of a data reset method performed by a server provided in an embodiment of the present application. The embodiment of the present application is optimized based on the above embodiment. For solutions not fully described in the embodiment of the present application, please refer to the above embodiment. Figure 3 As shown, the method of the embodiment of the present application specifically includes the following steps:
[0079] S310: Receive identification information and account login information sent by the terminal; wherein the identification information is identification information of at least one image collector associated with the client account obtained by the terminal.
[0080] Exemplarily, when data reset is required, the terminal obtains identification information of at least one image collector associated with the client account. The terminal then sends the identification information and the account login information to a server, allowing the server to perform an account security verification. The server then receives the identification information and account login information sent by the terminal.
[0081] S320: Perform an account security check on the client of the terminal according to the identification information and the login information of the account.
[0082] For example, the server verifies the account's login permissions based on the account's login information to determine whether the account is a registered authorized account, and verifies the image collector associated with the account based on the identification information to implement account security verification for the terminal client.
[0083] If the identification information is static, the identification information and the name of the corresponding image collector can be pre-entered and stored in the server, or the image collector can send the identification information to the server for storage. If the identification information is dynamic, the image collector can generate the identification information and send it to the server for storage. The server matches the identification information sent by the terminal with the stored identification information to determine whether the match is successful and whether the image collector corresponding to the identification information sent by the terminal is the image collector associated with the terminal's client account.
[0084] During each login process, the server will record the client's login information. The server can compare the login information sent by the terminal with the recorded login information to determine whether the login information sent by the gateway is authorized.
[0085] In the embodiment of the present application, the login information includes an account name and a password;
[0086] Performing an account security check on the client of the terminal according to the identification information and the login information of the account, including:
[0087] Perform account security verification based on at least one of the following:
[0088] Determine whether there is a login record corresponding to the account name and the password;
[0089] Determining whether the image collector corresponding to the identification information is associated with the account corresponding to the account name;
[0090] If the identification information is at least two, it is determined whether the image collectors matching the identification information meet a preset number.
[0091] Exemplarily, the process of the server performing account security verification based on the identification information, account name and password sent by the terminal includes selecting at least one of the following items for account security verification: determining whether there is a login record corresponding to the account name and password from the login history of each account stored in the server. Matching the identification information sent by the terminal with the identification information stored in the server, determining the image collector corresponding to the matched identification information, and determining whether the image collector is associated with the account name. If at least two identification information is received from the terminal, the at least two identification information are matched with the identification information stored in the server respectively to determine whether the number of image collectors corresponding to the successfully matched identification information and associated with the account name meets the preset number. The preset number can be set according to actual conditions, for example, the product of the total number of identification information received from the terminal and the preset ratio can be set. For example, assuming that 6 identification information are received from the terminal and the preset ratio is 2 / 3, the preset number is 4.
[0092] Specifically, at least one of the above items can be tested. If at least one of the above items meets the conditions, it is determined that the account security check has passed. It is also possible to test at least one of the above items and assign a value to the test result. The credibility of the account is calculated based on the assigned value, and the account security check result is determined based on the credibility. For example, if the server has a login record corresponding to the account name and the password, a value of 10 points is assigned, otherwise, a value of 0 points is assigned. If the image collector corresponding to the identification information is associated with the account corresponding to the account name, a value of 5 points is assigned, otherwise, a value of 0 points is assigned. If there are at least two pieces of identification information and the number of image collectors matching the identification information meets a preset number, a value of 5 points is assigned, otherwise, a value of 0 points is assigned. The weighted sum of each assigned score is performed to obtain the credibility of the account. The weight of the login record corresponding to the account password can be set to the highest, and the weights of other conditions are second. If the credibility exceeds the preset credibility threshold, it is determined that the account security check has passed. For example, the weight of the login record corresponding to the account and password can be set to 70%, the weight corresponding to "determining whether the image collector corresponding to the identification information is associated with the account corresponding to the account name" can be set to 15%, and the weight of "if there are at least two identification information, determining whether the image collectors matching the identification information meet the preset number" can be set to 15%. If the server has a login record corresponding to the account name and the password, a value of 10 points is assigned. If the image collector corresponding to the identification information is associated with the account corresponding to the account name, a value of 5 points is assigned. If there are at least two identification information and the image collectors matching the identification information do not meet the preset number, a value of 0 points is assigned. The credibility can be calculated as 10*70%+5*15%+0=7.75. If the preset credibility threshold is 7, then 7.75>7, and it is determined that the account security check has passed.
[0093] Exemplarily, for the above detection process, a priority can be set. For example, first check whether there is a login record for the account name and password. If so, it is directly determined that the account security check has passed. If not, then continue to determine whether the image collector corresponding to the identification information is associated with the account corresponding to the account name, and if there are at least two identification information, whether the image collectors that match the identification information meet the preset number. If all conditions are met, it is determined that the account security check has passed. If the image collector corresponding to the identification information is not associated with the account corresponding to the account name, or if there are at least two identification information, the image collectors that match the identification information do not meet the preset number, then it is determined that the account security check has failed.
[0094] The beneficial effect of the above solution is that it can verify the security of the account based on the basic information of the account itself without obtaining the user's private information. It can verify the account permissions and reset the data on the basis of ensuring privacy and security, thereby improving the user experience.
[0095] S330: If the account security verification is successful, return the account security verification success information to the terminal, so that the terminal displays a data reset interface.
[0096] For example, if the server successfully verifies the account security, the account is deemed secure, and the user can reset the account data through operations on the terminal. Therefore, the server returns a message indicating a successful account security verification to the terminal. Upon receiving the message, the terminal displays a data reset interface, allowing the user to reset their data. This data reset may include resetting the password.
[0097] An embodiment of the present application provides a data reset method, which receives identification information and account login information sent by a terminal; wherein the identification information is identification information of at least one image collector associated with a client account obtained by the terminal; based on the identification information and account login information, the account security verification of the terminal client is performed; if the account security verification is successful, the account security verification success information is returned to the terminal, so that the terminal displays a data reset interface. The above scheme enables the server to perform security verification on the identification information and login information of the image collector self-authenticated by the terminal, and reliably and securely verify the terminal account without obtaining user privacy information, thereby ensuring the security of data reset.
[0098] Figure 4 This is an interactive diagram of a specific implementation method provided in the embodiment of this application. Figure 4 A specific time interaction process is given, and the specific process is as follows:
[0099] The user registers on the terminal client using the account name aaaa and password 1111. This account is bound to at least one image collector.
[0100] If the user forgets the password, click Forgot Password on the client.
[0101] The terminal selects at least one image collector from the image collectors bound to the account, determines the local area network to which each image collector is connected, and joins the local area network of each image collector one by one.
[0102] For an image collector, join the local area network of the image collector, obtain the local area network address and generate the corresponding local area network password.
[0103] Generate a QR code containing the LAN address and LAN password.
[0104] The image collector scans the QR code to obtain the LAN address and LAN password, and sends the LAN address and corresponding LAN password to the client in the terminal for terminal security verification. If the LAN address and LAN password sent by the image collector match the LAN address and LAN password stored in itself, the verification is determined to be successful.
[0105] The image collector generates a dynamic password and sends the dynamic password to the server, which makes the server store the dynamic password in correspondence with the image collector. The server forwards the dynamic password to the terminal.
[0106] The terminal obtains the dynamic password of each image collector, encrypts the dynamic password, account name and fingerprint information, and sends it to the server.
[0107] After receiving the dynamic password, account name, and fingerprint password, the server detects whether there is a login record for the account name and password, and assigns a score to the detection result. It then continues to determine whether the image collector corresponding to the dynamic password is associated with the account corresponding to the account name, and if there are at least two identification information, whether the image collectors that match the identification information meet the preset number, and assigns a score to the detection result. The login result weight of the account name and password is set to the highest, and the weights of other conditions are second. The scores are weighted and summed according to the weights to obtain the credibility of the account. If the credibility exceeds the preset credibility threshold, the account security verification is determined to be successful. Otherwise, the account security verification is determined to be unsuccessful.
[0108] If the server successfully verifies the account security, the account is deemed secure and the user can reset the password on the terminal. The server then returns a message indicating successful verification to the terminal. Upon receiving this message, the terminal displays a data reset interface, allowing the user to reset their password.
[0109] The embodiments of the present application have the same beneficial effects as the above embodiments.
[0110] Figure 5 This is a schematic diagram of the structure of a data reset device configured in a terminal provided in an embodiment of the present application. The device can execute the data reset method provided in any embodiment of the present application and has the corresponding functional modules and beneficial effects of the execution method. Figure 5 As shown, the device includes:
[0111] The identification information acquisition module 410 is used to obtain identification information of at least one image collector associated with the client account;
[0112] An information sending module 420 is configured to send the identification information and the login information of the account to a server so that the server can perform an account security verification;
[0113] The interface display module 430 is used to display a data reset interface if the account security verification success information returned by the server is received, so that the user can reset the data.
[0114] In the embodiment of the present application, the identification information acquisition module 410 is specifically used to:
[0115] delivering relevant information of the image collector to at least one image collector associated with the client account, so that the at least one image collector performs terminal security verification based on the relevant information;
[0116] A dynamic password returned after the security verification of at least one image collector terminal is successful is received as the identification information.
[0117] In the embodiment of the present application, the identification information acquisition module 410 is specifically used to:
[0118] For at least one image collector, join the local area network of the image collector, obtain the local area network address and generate a corresponding local area network password;
[0119] The LAN address and the corresponding LAN password are transmitted to the image collector, so that the image collector sends the LAN address and the corresponding LAN password to the client in the terminal for terminal security verification.
[0120] In the embodiment of the present application, the identification information acquisition module 410 is specifically used to:
[0121] Get the historical images of the image collector stored under the client account;
[0122] The historical image is transmitted to the image collector so that the image collector matches the received historical image with the historical image stored in the image collector to perform terminal security verification.
[0123] In the embodiment of the present application, the identification information acquisition module 410 is specifically used to:
[0124] The coding information of at least one image collector is scanned by a scanning device configured in the terminal to serve as the identification information.
[0125] In the embodiment of the present application, the login information includes an account name and a password; the password includes at least one of characters, biometrics, and gestures;
[0126] The information sending module 420 is specifically configured to:
[0127] Send a dynamic password, account name and password to the server so that the server verifies the account name according to the password and verifies the image collector associated with the account according to the dynamic password, wherein the dynamic password, account name and password are encrypted and sent.
[0128] A data resetting device configured at a terminal provided in an embodiment of the present application can execute a data resetting method performed by a terminal provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
[0129] Figure 6 This is a structural diagram of a data reset device configured on a server provided in an embodiment of the present application. The device can execute the data reset method provided in any embodiment of the present application and has the corresponding functional modules and beneficial effects of the execution method. Figure 6 As shown, the device includes:
[0130] The information receiving module 510 is configured to receive identification information and account login information sent by the terminal; wherein the identification information is identification information of at least one image collector associated with the client account obtained by the terminal;
[0131] An account security verification module 520 is configured to perform an account security verification on the client of the terminal according to the identification information and the login information of the account;
[0132] The information return module 530 is used to return the account security verification success information to the terminal if the verification is successful, so that the terminal displays the data reset interface.
[0133] In the embodiment of the present application, the login information includes an account name and a password;
[0134] The account security verification module 520 is specifically used to:
[0135] Perform account security verification based on at least one of the following:
[0136] Determine whether there is a login record corresponding to the account name and the password;
[0137] Determining whether the image collector corresponding to the identification information is associated with the account corresponding to the account name;
[0138] If the identification information is at least two, it is determined whether the image collectors matching the identification information meet a preset number.
[0139] In the embodiment of the present application, the account security verification module 520 is specifically used to:
[0140] If there is a login record corresponding to the account name and the password, it is determined that the account security check has passed;
[0141] Otherwise, if the image collector corresponding to the identification information is associated with the account corresponding to the account name, and if there are at least two identification information, the number of image collectors matching the identification information meets the preset number, then it is determined that the account security check has passed.
[0142] A data resetting device configured on a server provided in an embodiment of the present application can execute a data resetting method performed by a server provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
[0143] Figure 7 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0144] like Figure 7As shown, the electronic device 10 includes at least one processor 11 and a memory connected to the at least one processor 11 for data processing, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0145] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a data processing unit 19, such as a network card, a modem, a wireless data processing transceiver, etc. The data processing unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0146] The processor 11 can be various general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the data reset method executed by the terminal or the data reset method executed by the server.
[0147] In some embodiments, the data reset method can be implemented as a computer program that is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the data processing unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the data reset method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the data reset method executed by the terminal or the data reset method executed by the server in any other appropriate manner (e.g., by means of firmware).
[0148] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0149] Computer programs for implementing the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0150] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0151] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0152] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data processing (e.g., a data processing network). Examples of data processing networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0153] A computing system may include clients and servers. The clients and servers are generally remote from each other and typically interact via a data processing network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0154] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired information of the technical solution of this application can be achieved. This document is not limited here.
[0155] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.
Claims
1. A data reset method, characterized in that: Executed by a terminal, the method includes: For at least one image collector associated with the client account, obtain identification information of the image collector; Sending the identification information and the login information of the account to a server so that the server can perform account security verification; If the account security verification success information is received from the server, the data reset interface will be displayed to allow the user to reset the data.
2. The method according to claim 1, characterized in that For at least one image collector associated with the client account, obtaining identification information of the image collector includes: delivering relevant information of the image collector to at least one image collector associated with the client account, so that the at least one image collector performs terminal security verification based on the relevant information; A dynamic password returned after the security verification of at least one image collector terminal is successful is received as the identification information.
3. The method according to claim 2, characterized in that Transmitting relevant information of the image collector to at least one image collector associated with the client account, so that the at least one image collector performs terminal security verification based on the relevant information, including: For at least one image collector, join the local area network of the image collector, obtain the local area network address and generate a corresponding local area network password; The LAN address and the corresponding LAN password are transmitted to the image collector, so that the image collector sends the LAN address and the corresponding LAN password to the client in the terminal for terminal security verification.
4. The method according to claim 1, wherein The login information includes an account name and a password; the password includes at least one of characters, biometrics, and gestures; Sending the dynamic password and the login information of the account to the server includes: Send a dynamic password, account name and password to the server so that the server verifies the account name according to the password and verifies the image collector associated with the account according to the dynamic password, wherein the dynamic password, account name and password are encrypted and sent.
5. A data resetting method, characterized in that: Executed by a server, the method includes: Receiving identification information and account login information sent by the terminal; wherein the identification information is identification information of at least one image collector associated with the client account obtained by the terminal; Performing an account security check on the client of the terminal according to the identification information and the login information of the account; If the account security verification is successful, the account security verification success information is returned to the terminal, so that the terminal displays a data reset interface.
6. The method according to claim 5, characterized in that The login information includes an account name and a password; Performing an account security check on the client of the terminal according to the identification information and the login information of the account, including: Perform account security verification based on at least one of the following: Determine whether there is a login record corresponding to the account name and the password; Determining whether the image collector corresponding to the identification information is associated with the account corresponding to the account name; If the identification information is at least two, it is determined whether the image collectors matching the identification information meet a preset number.
7. A data resetting device, characterized in that: Configured at a terminal, the device includes: An identification information acquisition module, configured to acquire identification information of at least one image collector associated with a client account; An information sending module, configured to send the identification information and the login information of the account to a server, so that the server can perform an account security verification; The interface display module is used to display the data reset interface if the account security verification success information returned by the server is received, so that the user can reset the data.
8. A data resetting device, characterized in that: Configured on a server, the device includes: An information receiving module, configured to receive identification information and account login information sent by a terminal; wherein the identification information is identification information of at least one image collector associated with a client account obtained by the terminal; An account security verification module, configured to perform an account security verification on the client of the terminal according to the identification information and the login information of the account; The information return module is used to return the account security verification success information to the terminal if the verification is successful, so that the terminal displays the data reset interface.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and A memory connected to the at least one processor for data processing; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data resetting method executed by the terminal as described in any one of claims 1-4, or execute the data resetting method executed by the server as described in claim 5 or 6.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which are used to enable a processor to implement the data resetting method executed by a terminal as described in any one of claims 1 to 4, or the data resetting method executed by a server as described in claim 5 or 6 when executed.
Citation Information
Patent Citations
Method, device and system for password recovery
CN104348786A
Password resetting method and device
CN106411517A
Password resetting method and device, terminal equipment and server
CN112347458A