Account resetting method and device for device APP, device and server

By coordinating the operation of the terminal and the server, the device's APP account can be directly reset, which solves the problem of poor user experience caused by the limitations of existing password retrieval methods and achieves fast and convenient account recovery.

CN120915549APending Publication Date: 2025-11-07GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511147718.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-15
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

Existing technologies for retrieving device app passwords via email or mobile phone verification codes have limitations, resulting in users being unable to log in to their devices when they forget their passwords, thus impacting user experience.

Method used

The terminal sends instructions to the server, which verifies that the target device's status matches the control instructions. When the terminal and device are on the same Wi-Fi network, the account is reset directly without the need for email or mobile phone verification codes.

Benefits of technology

It enables users to reset their accounts and restore device control directly when they forget their passwords, eliminating the need for a cumbersome verification process and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120915549A_ABST
    Figure CN120915549A_ABST
Patent Text Reader

Abstract

The invention relates to an account number resetting method and device for an equipment APP, equipment and a server, and the method comprises the steps: receiving a first operation at a first page in a process that a terminal logs in the equipment APP based on a first account number, so as to trigger the APP to send a first instruction to the server through the terminal; a second instruction sent by the server to the terminal in response to the first instruction is received, a control instruction is sent to the target device based on the second instruction, and the second instruction is used for instructing to send the control instruction to the target device through the APP; the target equipment is equipment corresponding to any piece of equipment information in multiple pieces of equipment information which are stored in the server and are associated with the first account number; and receiving a verification result sent by the server, and when the verification result represents that the state of the target device is consistent with the state corresponding to the control instruction and the terminal and the target device are in the same wireless local area network, skipping a page currently displayed by the APP to a second page to reset the first account.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of account resetting, and in particular to an account resetting method and device of a device APP, a device and a server. BACKGROUND

[0002] With the popularity of smart home, users manage various devices through a smart home APP. However, when the user forgets the APP password, the existing technology can retrieve the password through the mailbox and mobile phone verification code. However, if the user's mobile phone number is cancelled or there is no bound mailbox, it is not possible to retrieve it through the traditional way, resulting in the APP being unable to log in to manage the device, and only a new user can be created to reset the network of all devices, and the original scene data is lost, which greatly affects the user experience. Therefore, the application scene of the existing technology of retrieving the password through the mailbox and mobile phone verification code has great limitations, resulting in poor user experience.

[0003] In view of the above technical problems in the prior art, there is currently no effective solution. SUMMARY

[0004] The present application provides an account resetting method and device of a device APP, a device and a server to solve the problem of the application scene of the existing technology of retrieving the password through the mailbox and mobile phone verification code having great limitations, resulting in poor user experience.

[0005] In a first aspect, the present application provides an account resetting method of a device APP, applied to a terminal side, comprising: receiving a first operation in a first page to trigger the APP to send a first instruction to a server through the terminal in the process of the terminal logging in to the device APP based on a first account, wherein the first page is a page for retrieving the password of the first account; receiving a second instruction sent by the server to the terminal in response to the first instruction, and sending a control instruction to a target device based on the second instruction, wherein the second instruction is used to instruct the APP to send the control instruction to the target device; the target device is a device corresponding to any device information in a plurality of device information stored in the server and associated with the first account; receiving a verification result sent by the server, and in the case that the verification result represents that the state of the target device is consistent with the state corresponding to the control instruction, and the terminal and the target device are in the same wireless local area network, jumping the page currently displayed by the APP to a second page to reset the first account, wherein the account after resetting can successfully log in to the APP to control the target device.

[0006] Optionally, the sending of the control instruction to the target device based on the second instruction comprises: in the case that the second instruction is received, jumping the first page to a third page, wherein the third page is used to display a page for sending the control instruction to the target device; displaying prompt information on the third page, and receiving a second operation on the third page to trigger the APP to send the control instruction to the target device through the terminal, wherein the prompt information is used to prompt the sending of the control instruction to the target device within a preset time.

[0007] Optionally, in the case that the APP is bound to a plurality of the devices, before the third page displays the prompt information, the method further comprises: receiving a third operation on the third page to trigger the APP to send a third instruction to the target device through the terminal, wherein the third instruction is used to instruct the server to search for the target device; and receiving a search result of the server in response to the third instruction.

[0008] Optionally, the sending of the control instruction to the target device based on the second instruction comprises: sending the control instruction to a plurality of the target devices respectively based on the second instruction; receiving a verification result sent by the server, and in the case that the verification result indicates that the state of the target device is consistent with the state corresponding to the control instruction, and the terminal and the target device are in the same wireless local area network, jumping the page currently displayed by the APP to a second page, comprising: receiving a verification result sent by the server, and in the case that the verification result indicates that the states of the plurality of target devices are all consistent with the state corresponding to the control instruction, and the terminal and the plurality of target devices are all in the same wireless local area network, jumping the page currently displayed by the APP to the second page to reset the first account.

[0009] Optionally, the jumping of the page currently displayed by the APP to the second page to reset the first account comprises: jumping the page currently displayed by the APP to the second page for inputting a new password of the first account, to reset the password of the first account; or jumping the page currently displayed by the APP to the second page for transferring the first account to a second account, to replace the first account with the second account and set a password of the second account.

[0010] In a second aspect, the application provides a method for resetting an account of a device APP, applied to a server side, comprising: receiving a first instruction sent by a terminal, wherein the first instruction is sent by the APP through the terminal after receiving a first operation on a first page of the APP, and the first page is a page for retrieving a password of a first account; in response to the first instruction, selecting a device from a plurality of device information stored in association with the first account to determine as a target device, and sending a second instruction to the terminal, wherein the second instruction is used to instruct the APP to send a control instruction to the target device through the terminal; after the APP sends the control instruction to the target device through the terminal, verifying whether a state of the target device is consistent with a state corresponding to the control instruction, and verifying whether the terminal and the target device are connected to the same wireless local area network; and sending a verification result to the terminal.

[0011] In a third aspect, the application provides a device APP account resetting device, applied to a terminal side, comprising: a first processing module, configured to receive a first operation on a first page to trigger the APP to send a first instruction to a server through the terminal during a process of logging into a device APP based on a first account, wherein the first page is a page for retrieving a password of the first account; a second processing module, configured to receive a second instruction sent by the server to the terminal in response to the first instruction, and send a control instruction to a target device based on the second instruction, wherein the second instruction is used to instruct the APP to send the control instruction to the target device; the target device is a device corresponding to any device information in a plurality of device information stored in the server and associated with the first account; and a third processing module, configured to receive a verification result sent by the server, and in a case where the verification result indicates that a state of the target device is consistent with a state corresponding to the control instruction, and the terminal and the target device are in the same wireless local area network, jump a currently displayed page of the APP to a second page to reset the first account, wherein the account after resetting can successfully log into the APP to control the target device.

[0012] In a fourth aspect, the application provides a device APP account resetting method applied to a server side, comprising: a second receiving module configured to receive a first instruction sent by a terminal, wherein the first instruction is sent by an APP through a terminal after receiving a first operation on a first page of the APP, and the first page is a page for retrieving a first account password; a fifth processing module configured to select a device from a plurality of device information stored in association with the first account to determine as a target device in response to the first instruction, and send a second instruction to the terminal, wherein the second instruction is used to instruct the APP to send a control instruction to the target device through the terminal; a sixth processing module configured to verify whether a state of the target device is consistent with a state corresponding to the control instruction and whether the terminal and the target device are connected to the same wireless local area network after the APP sends the control instruction to the target device through the terminal; and a sending module configured to send a verification result to the terminal.

[0013] In a fifth aspect, the application provides a device, comprising: at least one communication interface; at least one bus connected with the at least one communication interface; at least one processor connected with the at least one bus; and at least one memory connected with the at least one bus, wherein the processor is configured to execute the device APP account resetting method of the first aspect.

[0014] In a sixth aspect, the application provides a server, comprising: at least one communication interface; at least one bus connected with the at least one communication interface; at least one processor connected with the at least one bus; and at least one memory connected with the at least one bus, wherein the processor is configured to execute the device APP account resetting method of the second aspect.

[0015] Compared with the prior art, the technical solution provided in the embodiments of the present application has the following advantages: when the first account cannot log in the APP through the password and the password needs to be retrieved, the terminal sends a first instruction to the server, and then the server sends a second instruction for instructing to send a control instruction to the target device to the terminal based on the first instruction. Further, the APP sends the control instruction to the target device, and finally the server verifies whether the running state of the target device matches the control instruction and whether the current terminal and the device are in the same wireless local area network. If the verification is passed, the first account can be reset, and the reset account can control the device. It can be seen that in the embodiments of the present application, when the password is forgotten, it is not necessary to verify through the mailbox or the mobile phone verification code, but the account currently forgotten the password can be directly reset, and the reset account can control the device again, avoiding the cumbersome process of verifying through the mailbox or the mobile phone, and improving the user experience of the user in the device control process. BRIEF DESCRIPTION OF DRAWINGS

[0016] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced below. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without any creative labor.

[0018] One or more embodiments are exemplarily illustrated by the pictures in the drawings corresponding thereto, and these exemplary illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, unless otherwise specified. The drawings in the drawings do not constitute a proportional limitation.

[0019] Figure 1 One of the flowcharts of the account resetting method of the device APP provided in the embodiments of the present application;

[0020] Figure 2 The second flowchart of the account resetting method of the device APP provided in the embodiments of the present application;

[0021] Figure 3 The flowchart of the account retrieving method based on the special instruction of the home app provided in the embodiments of the present application;

[0022] Figure 4 One of the structural schematic diagrams of the account resetting device of the device APP provided in the embodiments of the present application;

[0023] Figure 5 FIG. 2 is a structural schematic diagram of an account resetting device of a device APP according to an embodiment of the present application;

[0024] Figure 6 FIG. 3 is a structural schematic diagram of a device or a server according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0026] The following disclosure provides many different embodiments, or examples, for implementing different structures of the present application. For the purpose of simplifying the present application, the components and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeatedly refer to numbers and / or letters in different examples. Such repetition is for the purpose of simplification and clarity, and it does not indicate the relationship between the various embodiments and / or settings discussed.

[0027] In order to solve the problem that the application scenario of the password recovery method by the mailbox and the mobile phone verification code in the prior art is limited, resulting in poor user experience, the present application provides an account resetting method of a device APP, which is applied to a terminal side, such as shown in FIG. 1, and the steps of the method include: Figure 1

[0028] Step 101, in the process of logging in the device APP based on the first account by the terminal, a first operation is received on a first page to trigger the APP to send a first instruction to a server through the terminal, wherein the first page is a page for recovering the password of the first account;

[0029] ​In the embodiment of the present application, the first account is an account that has forgotten the login password and cannot log in to the APP by password. Therefore, the first page is a page for retrieving the password of the first account. In addition, the device in the embodiment of the present application refers to a smart device that can be remotely controlled by an external device such as a mobile phone, a smart watch or other controllers. Based on this, in a specific example, the device APP can be a device in a home environment or an office scenario, or a device in other scenarios, such as a home device. The device APP can be an APP for controlling an air conditioner, an APP for controlling a lamp, an APP for controlling a refrigerator, etc. Further, the number of devices of the same kind can be one or more. For example, if there are multiple air conditioners in the current home environment, the multiple air conditioners can be controlled based on the APP after logging in to the corresponding account in the APP. In another example, the device APP can also control all devices of different kinds in the home environment.

[0030] In a specific example, the first operation in the embodiment of the present application can be a touch operation, a click operation, a key operation, etc. The first operation is used to send a first instruction to the server, and the first instruction is used to inform the server that the APP needs to reset the first account due to password forgetting, so as to be able to log in to the APP again to control the device in the current environment.

[0031] In step 102, a second instruction sent by the server to the terminal in response to the first instruction is received, and a control instruction is sent to a target device based on the second instruction, wherein the second instruction is used to instruct the APP to send the control instruction to the target device; and the target device is a device corresponding to any device information in a plurality of device information stored in the server and associated with the first account.

[0032] The first account in the embodiment of the present application is an account that can control the device after being able to log in to the device APP. Therefore, when being able to log in to the device APP, the server side will store the first account and the information of the device associated with the first account, so as to be able to reset the first account subsequently. In a specific example, if the plurality of devices associated with the first account includes an air conditioner, a refrigerator, etc., the air conditioner is selected as the target device, and the control instruction is to run in the 26℃ cooling mode. After the terminal receives the second instruction, the control instruction to run in the 26℃ cooling mode is sent to the air conditioner based on the second instruction.

[0033] In step 103, the verification result sent by the server is received, and in the case that the verification result represents that the state of the target device is consistent with the state corresponding to the control instruction and the terminal and the target device are in the same wireless local area network, the page currently displayed by the APP is jumped to a second page to reset the first account, wherein the account after the reset can successfully log in the APP to control the target device.

[0034] In this regard, after the device receives the control instruction, the server needs to verify the running state of the device, i.e., whether the current running state is consistent with the running state of the control instruction indicated by the second instruction sent by the server to the terminal. If consistent, it is further determined whether the current terminal and the target device are in the same wireless local area network. If both are verified, the first account can be reset.

[0035] Specifically, the way of jumping the page currently displayed by the APP to the second page to reset the first account in step 103 can be: jumping the page currently displayed by the APP to a second page for inputting a new password of the first account to reset the password of the first account; or jumping the page currently displayed by the APP to a second page for transferring the first account to a second account to replace the first account with the second account and set the password of the second account. That is, the reset in the embodiment of the application can be password reset, i.e., directly inputting a new password of the first account on the second page without other verification links, and then the first account can be logged in on the APP based on the new password to realize re-control of the device. In addition, the reset can also be resetting the first account to the second account, which aims to prevent the current first account corresponding to a mobile phone number, but the mobile phone number has been cancelled, so the first account cannot be used, and a new account is needed to control the device. Therefore, the first account can be transferred to a new account on the second page and the corresponding password is set, and in the subsequent use process, the first account can be automatically jumped to the new account for password login, or the new account and password can be directly logged in.

[0036] It should be noted that the server will retain the previous device wireless local area network information and account information. Therefore, determining whether the terminal and the target device are in the same wireless local area network means determining whether the account (the first account) input by the user exists, and verifying whether the current wireless local area network of the terminal is consistent with the wireless local area network information corresponding to the first account stored, if consistent, it indicates that the account has been logged in under the wireless local area network before, and the account can be reset without email and mobile phone verification, and the account after the reset can control the device again.

[0037] Through steps 101-103, when the first account cannot log in the APP through the password and needs to find the password, the terminal sends a first instruction to the server, and then the server sends a second instruction to the terminal based on the first instruction, which is used to instruct the terminal to send a control instruction to the target device. Further, the APP sends the control instruction to the target device, and finally the server verifies whether the running state of the target device matches the control instruction and whether the current terminal and the device are in the same wireless local area network. If the verification is passed, the first account can be reset, and the reset account can control the device. Therefore, in the embodiment of the present application, when the password is forgotten, the account can be reset directly without verification through the mailbox or the mobile phone verification code, and the reset account can control the device again, avoiding the cumbersome process of verification through the mailbox or the mobile phone and improving the user experience of the user in the device control process.

[0038] In the embodiment of the present application, the method of sending the control instruction to the target device based on the second instruction in step 102 can further include:

[0039] Step 11, in the case of receiving the second instruction, the first page is jumped to the third page, wherein the third page is used to display a page of sending the control instruction to the target device;

[0040] Step 12, displaying prompt information on the third page and receiving a second operation on the third page to trigger the APP to send the control instruction to the target device through the terminal, wherein the prompt information is used to prompt the sending of the control instruction to the target device within a preset time.

[0041] It can be seen that, in the process of resetting the first account, if the server sends the second instruction to the terminal after the server sends the second instruction to the terminal, the APP needs to send the control instruction to the target device through the terminal, but the sending of the control instruction is time-limited, for example, 10s is required to complete the sending of the control instruction to the target device. If the control instruction is not sent within 10s, or the target device is not found due to too many devices, the first account reset fails and needs to be reset again, that is, the process of finding the password needs to be started again. By limiting the time of sending the control instruction, the user's misoperation can be avoided, and the user can be urged to reset the first account in time to control the target device as soon as possible.

[0042] It should be noted that the preset time of 10s is only an example, and other values such as 8s, 12s, etc. can also be used. Specifically, the preset time can be set according to actual needs.

[0043] In the embodiment of the present application, if the APP is bound with one target device, the user can find the target device more quickly, but if the current APP is bound with multiple devices, in order to quickly determine the target device, before the third page displays the prompt information, the method of the embodiment of the present application further includes:

[0044] Step 21, receiving a third operation on the third page to trigger the APP to send a third instruction to the target device through the terminal, wherein the third instruction is used to instruct the server to search for the target device;

[0045] Step 22, receiving a search result of the server in response to the third instruction.

[0046] In this regard, in a specific example, if the current APP is bound with 5 air conditioners, before the APP sends a control instruction through the terminal, it is necessary to determine which one of the 5 air conditioners is the target device, so that the control instruction can be sent to the target device in time when the control instruction is sent. Based on this, the search result can be that the terminal is informed that the current air conditioner with sound is the target device, or the terminal is directly informed of the location of the target device. In this regard, the specific form of the search result is not limited in the present application, as long as the target device can be quickly informed and determined.

[0047] In the embodiment of the present application, for the reset of the account that needs to find back the password, the above steps 101 to 103 can be executed multiple times for multiple different target devices, that is, the server is verified multiple times, and in the case that the verification is passed multiple times, the first account is determined to be reset.

[0048] Based on this, for the sending of the control instruction to the target device based on the second instruction involved in the above step 102, it includes sending the control instruction to multiple target devices respectively based on the second instruction.

[0049] For the receiving of the verification result sent by the server involved in the above step 103, and in the case that the verification result represents that the state of the target device is consistent with the state corresponding to the control instruction, and the terminal and the target device are in the same wireless local area network, the page currently displayed by the APP is jumped to the second page, including: receiving the verification result sent by the server, and in the case that the verification result represents that the states of multiple target devices are consistent with the state corresponding to the control instruction, and the terminal and the multiple target devices are in the same wireless local area network, the page currently displayed by the APP is jumped to the second page to reset the first account.

[0050] To this end, in a specific example, the plurality of target devices are 3 air conditioners, and the control instruction is to run the refrigeration mode at 26°C. That is, the terminal logs in the APP through the first account, and cannot log in through the password. In the password retrieval page, a first instruction is sent to the server, which indicates that the current first account needs to be reset. Therefore, the server needs to verify the first account. In order to determine that the first account is the account that is frequently logged in before in the current home environment, the first account can be verified multiple times. That is, after receiving the first instruction, the server sends 3 second instructions to the terminal, each of which is used to instruct the corresponding air conditioner to send a control instruction. After receiving the 3 second instructions in the terminal, the APP needs to send the control instruction to the 3 air conditioners respectively. Then the server needs to compare the current running state of the 3 air conditioners with the state corresponding to the control instruction, and also needs to determine whether the wireless local area network where the 3 air conditioner devices are located is the same as the wireless local area network where the terminal is located. If the running state of the 3 air conditioners matches the state corresponding to the control instruction, and the wireless local area network where the 3 air conditioners are currently connected is the same as the wireless local area network where the terminal is connected, it is indicated that the verification of the server is passed, and the first account can be directly reset.

[0051] It should be noted that the above verification process is based on the same type of device for verification. In other application scenarios, verification can also be based on multiple devices of different types. For example, after the password of the current first account is forgotten, the server can send a second instruction to instruct the air conditioner, refrigerator, and television to send a control instruction. At this time, the control instruction corresponding to the different types of devices is also different, but the verification logic is equivalent to the verification logic of multiple devices of the same type.

[0052] The above is an explanation of the account reset process from the terminal side in the embodiments of the present application. Next, the account reset process will be explained from the server side, as shown in Figure 2 The account reset method of the device APP applied to the server side can include the following steps:

[0053] Step 201, receiving a first instruction sent by a terminal, wherein the first instruction is sent by the APP through the terminal after receiving a first operation on a first page of the APP, and the first page is a page for retrieving the password of the first account;

[0054] Step 202, in response to the first instruction, selecting a device from the stored device information associated with the first account to determine as a target device, and sending a second instruction to the terminal, wherein the second instruction is used to instruct the APP to send a control instruction to the target device through the terminal;

[0055] Step 203, after the APP sends the control instruction to the target device through the terminal, verifying whether the state of the target device is consistent with the state corresponding to the control instruction, and verifying whether the terminal and the target device are connected in the same wireless local area network;

[0056] Step 204, sending the verification result to the terminal.

[0057] In this regard, the verification result includes verification pass and verification fail. Verification pass means that the state of the target device is consistent with the state corresponding to the control instruction, and the terminal and the target device are in the same wireless local area network. Verification fail means that the state of the target device is inconsistent with the state corresponding to the control instruction, or the terminal and the target device are not in the same wireless local area network.

[0058] Through the above steps 201 to 204, when the terminal needs to reset the account of the APP, the server side can send a second instruction to instruct the target device to send a control instruction, and then verify the running state of the target device and the wireless local area network connected thereby. After verification pass, the account can be reset to control the device through the reset account, without the verification of the mailbox or mobile phone verification code, thereby improving the efficiency of quickly resetting the account when the account cannot be used.

[0059] The application will be further explained and described in combination with the specific implementation manners of the embodiments of the application. The specific implementation manners provide an account recovery method based on special instructions of a smart home app, as shown in Figure 3 The steps of the method include:

[0060] Step 301, the APP enters a password forgetting page in an account unsuccessful login state;

[0061] Step 302, selecting to verify through a device associated with the account;

[0062] Step 303, the server randomly selects an online device;

[0063] Step 304, the server finds a device with the same wifi as the current terminal by verifying the account;

[0064] Step 305, generating a random device instruction and returning to the APP;

[0065] Step 306, the user completes the operation within a specified time and clicks finish;

[0066] Step 307, the server verifies whether the device state reaches the expectation;

[0067] Step 308, verification pass, and then verification is performed again;

[0068] Step 309, all verifications are passed multiple times;

[0069] Step 310, providing user login original home or transfer home to new account.

[0070] It can be seen that through the above steps 301 to 310, the app is in an unlogged state, and the account password recovery or reset is provided through the password recovery page, but the user is reminded that the terminal and device with the built-in app need to be in the same wifi to be successful. After inputting the recovered account, the server retrieves the account, verifies the home wifi, obtains the account home and device information, randomly selects a device, generates a random instruction operation, returns to the app, and prompts the user to perform the corresponding operation on the device. For example, there are multiple air conditioners under the home, the server randomly finds the air conditioner under the master bedroom, generates a random command "start", and the page will prompt "please turn on the master bedroom air conditioner within the specified time, and click next after completion." If there are multiple air conditioners of the same type under the master bedroom, the server can provide a function to find the air conditioner, and after clicking, the server sends a find instruction to the air conditioner, and the air conditioner responds with a "drop" sound. When the user verifies and clicks next after the specified time such as 15 seconds, the server verifies the air conditioner state, whether it has been started, and whether the wifi is consistent, and generates a random instruction again after verification, and repeats the verification operation for 3 times.

[0071] When all verifications are passed, jump to the success page, the page provides direct login to the original account, and the user is prompted to enter a new password after successfully logging in to jump to the password change entry, and can only perform other operations after entering the new password; or provide a transfer home to a new account option, which is mainly aimed at the situation that the mobile phone number is used as the login account and the mobile phone number is cancelled or cannot receive the verification code.

[0072] In addition, in order to ensure safety, at least 2 or more devices need to be specified for operation, and other additional verifications can also be added. It can be seen that the method in the embodiment of the application gets rid of the verification method required after the password is lost in the prior art, and can quickly recover the login permission through the device at home in special circumstances, re-manage the smart device, ensure that the original account data is not lost, and enhance the practicability of the smart home system.

[0073] Corresponding to the above Figure 1 The embodiment of the application also provides an account resetting device of a device APP, which is applied to a terminal side, as shown in Figure 4 The device comprises:

[0074] The first processing module 402 is configured to receive a first operation on a first page to trigger the APP to send a first instruction to a server through a terminal in the process that the terminal logs in the device APP based on a first account, wherein the first page is a page for recovering the password of the first account;

[0075] The second processing module 404 is configured to receive a second instruction sent by the server to the terminal in response to the first instruction, and send a control instruction to the target device based on the second instruction, where the second instruction is used to instruct the APP to send the control instruction to the target device; and the target device is a device corresponding to any device information in the device information stored in the server and associated with the first account.

[0076] The third processing module 406 is configured to receive the verification result sent by the server, and in a case where the verification result indicates that the state of the target device is consistent with the state corresponding to the control instruction and the terminal and the target device are in the same wireless local area network, jump a currently displayed page of the APP to a second page to reset the first account, where the account after the reset can successfully log in the APP to control the target device.

[0077] In an optional implementation of the embodiments of the present application, the second processing module in the embodiments of the present application can further include: a first processing unit, configured to, in a case where the second instruction is received, jump a first page to a third page, where the third page is used to display a page for sending the control instruction to the target device; and a second processing unit, configured to display prompt information on the third page, and receive a second operation on the third page to trigger the APP to send the control instruction to the target device through the terminal, where the prompt information is used to prompt to send the control instruction to the target device within a preset time.

[0078] In an optional implementation of the embodiments of the present application, in a case where the APP is bound to a plurality of devices, the apparatus of the embodiments of the present application can further include: a fourth processing module, configured to, before the prompt information is displayed on the third page, receive a third operation on the third page to trigger the APP to send a third instruction to the target device through the terminal, where the third instruction is used to instruct the server to search for the target device; and a first receiving module, configured to receive a search result of the server in response to the third instruction.

[0079] In an optional implementation of the embodiments of the present application, the second processing module further includes: a third processing unit, configured to send the control instruction to a plurality of target devices respectively based on the second instruction.

[0080] The third processing module includes: a fourth processing unit, configured to receive the verification result sent by the server, and in a case where the verification result indicates that the states of the plurality of target devices are all consistent with the state corresponding to the control instruction and the terminal and the plurality of target devices are all in the same wireless local area network, jump a currently displayed page of the APP to a second page to reset the first account.

[0081] In an optional implementation of the embodiments of the present application, the third processing module comprises: a fifth processing unit configured to jump the page currently displayed by the APP to a second page for inputting a new password of the first account, so as to reset the password of the first account; or a sixth processing unit configured to jump the page currently displayed by the APP to a second page for transferring the first account to the second account, so as to replace the first account with the second account and set the password of the second account.

[0082] Corresponding to the above Figure 2 , the embodiments of the present application also provide an account resetting method of a device APP, applied to a server side, as shown in Figure 5 , the device comprises:

[0083] The second receiving module 502 is configured to receive the first instruction sent by the terminal, wherein the first instruction is sent by the APP through the terminal after receiving the first operation on the first page of the APP, and the first page is a page for retrieving the password of the first account.

[0084] The fifth processing module 504 is configured to select a device from the stored device information associated with the first account to determine as a target device in response to the first instruction, and send a second instruction to the terminal, wherein the second instruction is used to instruct the APP to send a control instruction to the target device through the terminal.

[0085] The sixth processing module 506 is configured to verify whether the state of the target device is consistent with the state corresponding to the control instruction and whether the terminal and the target device are connected to the same wireless local area network after the APP sends the control instruction to the target device through the terminal.

[0086] The sending module 508 is configured to send the verification result to the terminal.

[0087] As shown in Figure 6 , the embodiments of the present application provide a device or a server, comprising a processor 611, a communication interface 612, a memory 613 and a communication bus 614, wherein the processor 611, the communication interface 612 and the memory 613 complete mutual communication through the communication bus 614,

[0088] The memory 613 is configured to store a computer program.

[0089] In an embodiment of the present application, the processor 611 is configured to execute the program stored in the memory 613, to implement the account resetting method of the device APP provided by any one of the preceding method embodiments, and the role is also similar, which will not be repeated here.

[0090] The embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the account resetting method of the device APP provided by any one of the preceding method embodiments.

[0091] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the embodiment scheme according to actual needs.

[0092] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be realized by means of software plus a general hardware platform, and of course can also be realized by hardware. Based on such understanding, the above technical solutions or the part that contributes to the related art can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.

[0093] It should be understood that the terms used herein are for the purpose of describing particular example embodiments only and are not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises", "comprising", "includes", "including" and "has" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order in which they are described, unless specifically identified as an order dependent step. It is also to be understood that additional or alternative steps can be employed.

[0094] The above description is merely one specific implementation of the present application, which enables those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for resetting an account of a device APP, applied to a terminal side, characterized in that, The method comprises the following steps: In the process that the terminal logs in the APP of the device based on the first account, a first operation is received on a first page to trigger the APP to send a first instruction to a server through the terminal, wherein the first page is a page for retrieving a password of the first account; A second instruction sent by the server to the terminal in response to the first instruction is received, and a control instruction is sent to a target device based on the second instruction, wherein the second instruction is used to instruct the APP to send the control instruction to the target device; the target device is a device corresponding to any device information in device information stored in the server and associated with the first account; A verification result sent by the server is received, and in a case where the verification result indicates that a state of the target device is consistent with a state corresponding to the control instruction and the terminal and the target device are in the same wireless local area network, a page currently displayed by the APP is jumped to a second page to reset the first account, wherein the account after the reset can successfully log in the APP to control the target device.

2. The method of claim 1, wherein, The method comprises the following steps: In a case where the second instruction is received, the first page is jumped to a third page, wherein the third page is used to display a page for sending the control instruction to the target device; Prompt information is displayed on the third page, and a second operation is received on the third page to trigger the APP to send the control instruction to the target device through the terminal, wherein the prompt information is used to prompt to send the control instruction to the target device within a preset time.

3. The method of claim 2, wherein, In a case where the APP is bound to a plurality of the devices, before the prompt information is displayed on the third page, the method further comprises the following steps: A third operation is received on the third page to trigger the APP to send a third instruction to the target device through the terminal, wherein the third instruction is used to instruct the server to search for the target device; A search result of the server in response to the third instruction is received.

4. The method of claim 1, wherein: The step of sending the control instruction to the target device based on the second instruction comprises sending the control instruction to a plurality of the target devices respectively based on the second instruction; The step of jumping the page currently displayed by the APP to the second page to reset the first account in a case where the verification result indicates that the states of the target devices are consistent with the states corresponding to the control instructions and the terminal and the target devices are in the same wireless local area network comprises the following steps:

5. The method of claim 1, wherein, The step of jumping the page currently displayed by the APP to the second page to reset the first account comprises the following steps: jumping the page currently displayed by the APP to the second page for inputting the new password of the first account, so as to reset the password of the first account; or jumping the page currently displayed by the APP to the second page for transferring the first account to a second account, so as to replace the first account with the second account and set the password of the second account.

6. A method for resetting an account of a device APP, applied to a server side, comprising the steps of: The method comprises: receiving a first instruction sent by a terminal, wherein the first instruction is sent by an APP through the terminal after receiving a first operation on a first page of the APP, and the first page is a page for retrieving a password of a first account; in response to the first instruction, selecting a device from a plurality of device information stored in association with the first account to determine as a target device, and sending a second instruction to the terminal, wherein the second instruction is used to instruct the APP to send a control instruction to the target device through the terminal; after the APP sends the control instruction to the target device through the terminal, verifying whether the state of the target device is consistent with the state corresponding to the control instruction, and verifying whether the terminal and the target device are connected to the same wireless local area network; sending a verification result to the terminal.

7. An account resetting device of a device APP, applied to a terminal side, characterized in that, The method comprises: a first processing module, configured to receive a first operation on a first page in a process of logging in an APP of a device based on a first account, so as to trigger the APP to send a first instruction to a server through a terminal, wherein the first page is a page for retrieving a password of the first account; a second processing module, configured to receive a second instruction sent by the server to the terminal in response to the first instruction, and send a control instruction to a target device based on the second instruction, wherein the second instruction is used to instruct the APP to send the control instruction to the target device; and the target device is a device corresponding to any device information from a plurality of device information stored in the server and associated with the first account; a third processing module, configured to receive a verification result sent by the server, and jump a page currently displayed by the APP to a second page to reset the first account in a case that the verification result represents that the state of the target device is consistent with the state corresponding to the control instruction, and the terminal and the target device are in the same wireless local area network, wherein the account after the reset can successfully log in the APP to control the target device.

8. A method for resetting an account of a device APP, applied to a server side, characterized in that, The method comprises: a second receiving module, configured to receive a first instruction sent by a terminal, wherein the first instruction is sent by an APP through the terminal after receiving a first operation on a first page of the APP, and the first page is a page for retrieving a password of a first account; a fifth processing module, configured to select a device from a plurality of device information stored in association with the first account to determine as a target device in response to the first instruction, and send a second instruction to the terminal, wherein the second instruction is used to instruct the APP to send a control instruction to the target device through the terminal; A sixth processing module, configured to verify, by the server, whether a state of the target device is consistent with a state corresponding to the control instruction and whether the terminal and the target device are connected to a same wireless local area network after the APP sends the control instruction to the target device through the terminal; A sending module, configured to send a verification result to the terminal.

9. An apparatus, comprising: The device comprises: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; at least one memory connected to the at least one bus, wherein the processor is configured to execute the account resetting method of the device APP according to any one of claims 1 to 5.

10. A server, comprising: The device comprises: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; at least one memory connected to the at least one bus, wherein the processor is configured to execute the account resetting method of the device APP according to claim 6.