Account login method, storage medium and computer program product

By entering an account number in the diagnostic device and obtaining the device ID, and sending a login request to the server, the problem of cumbersome login process when the user forgets his password is solved, a simple and efficient login method is achieved, and the user experience is improved.

CN119854024APending Publication Date: 2025-04-18LAUNCH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510205691.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the prior art, when a user enters an account number and password in the diagnostic software for identity verification, if the user forgets his password, he cannot perform identity verification. He needs to retrieve the password through the registered mobile phone number or email address. The process is cumbersome and affects the user experience.

Method used

Provides an account login method, the diagnostic device displays a login interface, the user enters the first account and obtains the device identification, responds to the trigger of the login control, sends a login request message to the server, including the account and device identification, the server performs login verification and returns a response message, indicating that the login is successful or failed.

Benefits of technology

Users only need to enter their account to log in. The login method is simple, which improves login efficiency and success rate, reduces the cumbersome recovery process caused by forgetting passwords, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854024A_ABST
    Figure CN119854024A_ABST
Patent Text Reader

Abstract

The invention discloses an account login method, a storage medium and a computer program product, and belongs to the technical field of computers. The method comprises the following steps: displaying a login interface, wherein the login interface comprises a first account input box and a login control; a first account number input in the first account number input box is received, and a first device identifier is obtained, and the first device identifier is used for identifying the diagnosis device; in response to the received triggering operation on the login control, a login request message is sent to the server, the login request message comprises the first account number and the first equipment identifier, and the login request message is used for indicating the server to perform login verification according to the first account number and the first equipment identifier; and receiving a first response message sent by the server, wherein the first response message is used for indicating whether login succeeds or not. According to the application, the diagnosis equipment can automatically obtain the first equipment identifier, so that the user can log in only by inputting the first account, the login mode is relatively simple, and the login efficiency and the login success rate can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an account login method, storage medium and computer program product. Background Art

[0002] With the continuous development of technology, the use of diagnostic equipment to diagnose vehicles has become common. Before using diagnostic equipment to diagnose vehicles, it is generally necessary to authenticate the identity of the diagnostic software in the diagnostic equipment. After the authentication is passed, the user is allowed to log in to the diagnostic software to use the various functions of the diagnostic software.

[0003] In the related art, the user enters the account number and password in the diagnostic software for identity authentication. In this way, if the user forgets the password, the identity authentication cannot be performed. The user needs to retrieve the password through the registered mobile phone number or email before continuing the identity authentication. The process is relatively cumbersome and affects the user experience. Summary of the invention

[0004] The present application provides an account login method, storage medium and computer program product, which can improve login efficiency and login success rate. The technical solution is as follows:

[0005] In a first aspect, an account login method is provided, which is applied to a diagnostic device, and the method includes:

[0006] Display a login interface, the login interface including a first account input box and a login control;

[0007] receiving a first account input in the first account input box, and acquiring a first device identifier, where the first device identifier is used to identify the diagnostic device;

[0008] In response to receiving a trigger operation on the login control, sending a login request message to a server, the login request message including the first account and the first device identifier, the login request message being used to instruct the server to perform login verification according to the first account and the first device identifier;

[0009] Receive a first response message sent by the server, the first response message is used to indicate whether the login is successful

[0010] In the present application, the diagnostic device displays a login interface, which includes a first account input box and a login control. Afterwards, the diagnostic device receives the first account input in the first account input box, and obtains the first device identifier, and in response to receiving a trigger operation on the login control, sends a login request message to the server, and the login request message includes the first account and the first device identifier. After receiving the login request message, the server performs login verification according to the first account and the first device identifier, and then sends a first response message to the diagnostic device, and the first response message is used to indicate whether the login is successful. In this process, the diagnostic device can automatically obtain the first device identifier, based on which the user only needs to enter the first account to log in. In this way, the login method is relatively simple, which can improve login efficiency and login success rate.

[0011] Optionally, the login interface further includes a first password input box, and in response to receiving a trigger operation on the login control, before sending a login request message to the server, the process further includes:

[0012] receiving a first password input in the first password input box;

[0013] The login request message also includes the first password, and the login request message is further used to instruct the server to perform login verification according to the first account and the first password.

[0014] Optionally, the first device identification includes one or more of a device serial number of the diagnostic device and a chip identification of a chip in the diagnostic device.

[0015] Optionally, after receiving the first response message sent by the server, the method further includes:

[0016] If the first response message indicates that the login is successful, displaying the diagnostic function interface;

[0017] If the first response message indicates that the login fails, a login failure reminder message is displayed.

[0018] In a second aspect, a method for logging in to an account is provided, the method comprising:

[0019] The diagnostic device displays a login interface, the login interface comprising a first account input box and a login control;

[0020] The diagnostic device receives the first account input in the first account input box, and obtains a first device identifier, where the first device identifier is used to identify the diagnostic device;

[0021] In response to receiving a trigger operation on the login control, the diagnostic device sends a login request message to a server, where the login request message includes the first account and the first device identifier;

[0022] After receiving the login request message, the server performs login verification according to the first account and the first device identifier;

[0023] The server sends a first response message to the diagnostic device, where the first response message is used to indicate whether the login is successful.

[0024] Optionally, the server performs login verification according to the first account and the first device identifier, including:

[0025] If the first account does not exist in the user account set, determining that the login has failed;

[0026] If the first account exists in the user account set, determining whether the first account is bound to the first device identifier;

[0027] If the first account is not bound to the first device identifier, determining that the login has failed;

[0028] If the first account is bound to the first device identifier, it is determined that the login is successful.

[0029] Optionally, the login request message further includes a first password, and the server performs login verification according to the first account and the first device identifier, including:

[0030] If the first account does not exist in the user account set, determining that the login has failed;

[0031] If the first account exists in the user account set, determining whether the user password corresponding to the first account is the first password;

[0032] If the user password corresponding to the first account is the first password, it is determined that the login is successful;

[0033] If the user password corresponding to the first account is not the first password, determining whether the first account is bound to the first device identifier;

[0034] If the first account is not bound to the first device identifier, determining that the login has failed;

[0035] If the first account is bound to the first device identifier, it is determined that the login is successful.

[0036] Optionally, the first device identification includes a device serial number of the diagnostic device and a chip identification of a chip in the diagnostic device, and before the diagnostic device displays a login interface, the further includes:

[0037] The diagnostic device displays a registration interface, which includes a second account input box, a second password input box, a device serial number input box, and a registration control;

[0038] The diagnostic device receives the second account input in the second account input box, receives the second password input in the second password input box, and receives the target device serial number input in the device serial number input box;

[0039] In response to receiving a trigger operation on the registration control, the diagnostic device sends a registration request message to the server, where the registration request message includes the second account number, the second password and the target device serial number;

[0040] After the server receives the registration request message, if the target device serial number exists in the preset device serial number set, the second account and the second password are stored in correspondence, and the second account and the target device serial number and the chip identifier corresponding to the target device serial number are bound.

[0041] In a third aspect, an account login device is provided, the device comprising:

[0042] A display module, used to display a login interface, wherein the login interface includes a first account input box and a login control;

[0043] A first receiving module, configured to receive a first account input in the first account input box, and obtain a first device identifier, where the first device identifier is used to identify the diagnostic device;

[0044] a sending module, configured to send a login request message to a server in response to receiving a trigger operation on the login control, wherein the login request message includes the first account and the first device identifier, and the login request message is used to instruct the server to perform login verification according to the first account and the first device identifier;

[0045] The second receiving module is used to receive a first response message sent by the server, where the first response message is used to indicate whether the login is successful.

[0046] In a fourth aspect, a diagnostic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the account login method described in the first aspect.

[0047] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the account login method described in the first aspect is implemented.

[0048] In a sixth aspect, a computer program product is provided. When the computer program product is run on a computer device, the computer device executes the account login method described in the first aspect.

[0049] It can be understood that the beneficial effects of the second, third, fourth, fifth and sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. 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 creative work.

[0051] Figure 1 It is a structural diagram of a communication system provided in an embodiment of the present application;

[0052] Figure 2 This is a flowchart of an account registration process provided by an embodiment of the present application;

[0053] Figure 3 This is a flowchart of an account login method provided by an embodiment of the present application;

[0054] Figure 4 It is a structural diagram of an account login device provided in an embodiment of the present application;

[0055] Figure 5 It is a schematic diagram of the structure of a diagnostic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0057] It should be understood that the "multiple" mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of this application, the words "first" and "second" are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not limit them to be different.

[0058] The phrases such as "one embodiment" or "some embodiments" described in the present application mean that the specific features, structures or characteristics described in the embodiment are included in one or more embodiments of the present application. Therefore, the phrases such as "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments" that appear in the differences in the present application do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. In addition, the terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0059] The application scenarios of the embodiments of the present application are described below.

[0060] The embodiment of the present application is applied to the scenario of logging into the diagnostic software in the diagnostic device before using the diagnostic device to diagnose the vehicle. When the user forgets the password, only the account can be used to log in to the diagnostic software, thereby improving the login success rate.

[0061] Usually, the user enters the account number and password in the diagnostic software to log in. However, in this way, if the user forgets the password, he cannot log in successfully. The user needs to retrieve the password through the registered mobile phone number or email before continuing to log in. The process is cumbersome and affects the user experience.

[0062] To this end, the embodiment of the present application provides an account login method, which allows users to log in to the diagnostic software only through their account. In this way, even if the user forgets the password, the diagnostic software can be logged in in a relatively simple manner provided by the embodiment of the present application, thereby improving the user experience.

[0063] The communication system provided in the embodiment of the present application is described below.

[0064] Figure 1is a schematic diagram of the structure of a communication system provided in an embodiment of the present application. Figure 1 , the communication system 10 may include a diagnostic device 101 and a server 102 .

[0065] The diagnostic device 101 may communicate with the server 102 via a wired connection or a wireless connection.

[0066] The diagnostic device 101 is used to perform fault diagnosis on the vehicle. For example, the diagnostic device 101 can communicate with the electronic control unit (ECU) of the vehicle through the on-board diagnostics (OBD) interface to obtain the vehicle identification number (VIN) and other information of the vehicle to perform fault diagnosis on the vehicle. For example, the diagnostic device 101 can be an OBD diagnostic instrument. For example, the OBD diagnostic instrument can communicate with the vehicle through the controller area network (CAN) bus.

[0067] The diagnostic device 101 may include diagnostic software, which may implement various diagnostic functions.

[0068] Before using the diagnostic device 101 to perform fault diagnosis on the vehicle, the user may first log in to the diagnostic software in the diagnostic device 101. When the diagnostic software is successfully logged in, the user may use various diagnostic functions in the diagnostic software to perform fault diagnosis on the vehicle.

[0069] When logging into the diagnostic software, the diagnostic device 101 may send a login request message to the server 102, and the login request message is used to request logging into the diagnostic software. The server 102 may receive the login request message sent by the diagnostic device 101, perform login verification based on the login request message, and then send a response message to the diagnostic device 101, and the response message is used to indicate whether the login is successful.

[0070] For example, the diagnostic device 101 may send a login request message to the server 102 via a vehicle communication interface (VCI).

[0071] In an embodiment of the present application, before logging into the diagnostic software, the user may first register an account on the diagnostic device.

[0072] It should be noted that, when registering an account, the embodiment of the present application can bind a first device identifier to the account. The first device identifier is the device identifier of the diagnostic device to be used. The first device identifier may include the device serial number (serial number, SN) of the diagnostic device, the chip identifier of the chip in the diagnostic device, etc. The embodiment of the present application is not limited to this.

[0073] For example, the device serial number of the diagnostic device may also be called a product serial number, a factory serial number, etc.

[0074] By way of example, the chip identifier of the chip in the diagnostic device may be the chip identifier of the diagnostic chip in the diagnostic device, the chip identifier of the encryption chip in the diagnostic device, etc., which is not limited in the embodiments of the present application.

[0075] Figure 2 This is a flowchart of an account registration process provided by an embodiment of the present application. Figure 2 , the account registration process may include the following steps 201 to 204.

[0076] Step 201: The diagnostic device displays a registration interface, which includes a second account input box, a second password input box, a device serial number input box, and a registration control.

[0077] The second account input box is used to input the account that the user needs to register (hereinafter referred to as the second account).

[0078] The second password input box is used to input the password corresponding to the second account that the user needs to register (hereinafter referred to as the second password).

[0079] The device serial number input box is used to input the device serial number of the diagnostic device that is to be bound to the second account (hereinafter referred to as the target device serial number).

[0080] The registration control is used to trigger the account registration operation.

[0081] After the diagnostic device displays the registration interface, the user can enter the second account to be registered in the second account input box in the registration interface, enter the second password of the second account to be registered in the second password input box, and enter the target device serial number to be bound to the second account in the device serial number input box to register the account.

[0082] Step 202: The diagnostic device receives a second account number input in a second account number input box, receives a second password input in a second password input box, and receives a target device serial number input in the device serial number input box.

[0083] Step 203: In response to receiving a trigger operation on the registration control, the diagnostic device sends a registration request message to the server, where the registration request message includes a second account number, a second password, and a target device serial number.

[0084] After the user enters the second account, second password and target device serial number in the registration interface, if he wants to register an account based on this, he can trigger the registration control, such as by clicking, sliding, voice, gesture, somatosensory, etc., to register an account.

[0085] The registration request message is used to instruct the server to register the second account, the second password and the target device serial number.

[0086] Step 204: After receiving the registration request message, if the target device serial number exists in the preset device serial number set, the server stores the second account and the second password in correspondence, and binds the second account with the target device serial number and the chip identifier corresponding to the target device serial number.

[0087] The preset device serial number set may be a set of device serial numbers of diagnostic devices with higher security that are preset. The preset device serial number set may include one or more device serial numbers.

[0088] The server may pre-store a correspondence between device serial numbers and chip identifiers, wherein each device serial number in the preset device serial number set has a corresponding chip identifier in the correspondence.

[0089] The chip identifier corresponding to a device serial number is the chip identifier of the chip in the diagnostic device corresponding to the device serial number. For example, the chip identifier may be the chip identifier of the security chip in the diagnostic device.

[0090] After receiving the registration request message, the server can determine whether the target device serial number exists in the preset device serial number set to ensure that the user uses a safe diagnostic device.

[0091] If the target device serial number exists in the preset device serial number set, it means that the device that the user wants to bind is a secure diagnostic device, so the second account and the second password can be stored correspondingly, the second account and the target device serial number can be bound, and the second account and the chip identifier corresponding to the target device serial number can be bound, and then a registration success message is sent to the diagnostic device; if the target device identifier does not exist in the preset device serial number set, it means that the device that the user wants to bind may have security risks, so the registration operation can be terminated and a registration failure message can be sent to the diagnostic device.

[0092] In the embodiment of the present application, since the second account is not only bound to the target device serial number, but also bound to the chip identifier corresponding to the target device serial number during registration, subsequent users can log in to the diagnostic software by using either the account and password or the account, password, device serial number, and chip identifier, thereby improving the diversity and security of login verification. Furthermore, since the second account is bound to the chip identifier, when the chip in the diagnostic device is replaced, the diagnostic software cannot be successfully logged in, thereby ensuring the security of vehicle diagnosis.

[0093] In some embodiments, after receiving the registration request message, the server may send a second response message (ie, the registration success message and the registration failure message described above) to the diagnostic device, where the second response message is used to indicate whether the registration is successful.

[0094] In some embodiments, after the diagnostic device receives the second response message, if the second response message indicates that the registration is successful, a login interface can be displayed to instruct the user to log in to the account; if the second response message indicates that the registration failed, a registration failure reminder message can be displayed to remind the user that the registration failed.

[0095] It should be noted that through the above Figure 2 In the account registration process described in the embodiment, the device identification bound to the registered account may include the device serial number and the chip identification.

[0096] In some cases, the device identification bound to the registered account may also include only the device serial number. In this case, in step 204, after receiving the registration request message, if the target device serial number exists in the preset device serial number set, the server stores the second account and the second password in correspondence, and binds the second account to the target device serial number, without binding the second account to the chip identification corresponding to the target device serial number.

[0097] In other cases, the device identifier bound to the registered account may also include only the chip identifier. In this case, in step 201, the registration interface displayed by the diagnostic device may not include a device serial number input box, but include a chip identifier input box. The user can enter the target chip identifier in the chip identifier input box. After that, the diagnostic device sends a registration request message carrying a second account, a second password and a target chip identifier to the server. After receiving the registration request message, the server may store the second account and the second password in correspondence when the preset chip identifier set includes the target chip identifier, and bind the second account to the target chip identifier. Among them, the preset chip identifier set can be a set of chip identifiers of chips in a diagnostic device with higher security that are preset. The preset chip identifier set may include one or more chip identifiers.

[0098] After registering an account through the above account registration process, the user can log in through the account login method provided in the embodiment of the present application.

[0099] The account login method provided in the embodiment of the present application is explained in detail below.

[0100] Figure 3 is a flow chart of an account login method provided in an embodiment of the present application. Figure 3 , the method comprises the following steps:

[0101] Step 301: The diagnostic device displays a login interface, which includes a first account input box and a login control.

[0102] The first account input box is used to input the account that the user wants to log in (hereinafter referred to as the first account).

[0103] The login control is used to trigger the account login operation.

[0104] After the diagnostic device displays the login interface, the user can enter the first account in the first account input box to log in to the account.

[0105] Step 302: The diagnostic device receives a first account input in a first account input box, and obtains a first device identifier.

[0106] The first device identifier is used to identify the diagnostic device. After the diagnostic device displays the login interface, the first device identifier can be automatically obtained.

[0107] In some embodiments, the first device identification may include one or more of the device serial number of the diagnostic device and the chip identification of the chip in the diagnostic device. In this case, the diagnostic device may obtain the first device identification in three cases. In the first case, the diagnostic device only obtains the device serial number of the diagnostic device; in the second case, the diagnostic device only obtains the chip identification of the chip in the diagnostic device; in the third case, the diagnostic device obtains the device serial number of the diagnostic device and obtains the chip identification of the chip in the diagnostic device.

[0108] For example, if the first device identification acquired by the diagnostic device includes a device serial number of the diagnostic device, the device serial number may be displayed in the login interface.

[0109] For example, if the first device identification acquired by the diagnostic device includes a chip identification of a chip in the diagnostic device, the chip identification may not be displayed.

[0110] Step 303: In response to receiving a trigger operation on the login control, the diagnostic device sends a login request message to the server, where the login request message includes a first account and a first device identifier.

[0111] After the user enters the first account on the login interface, if he wants to log in to the account based on it, he can trigger the login control, such as by clicking, sliding, voice, gesture, somatosensory, etc. to trigger the login control to log in to the account.

[0112] The login request message is used to request to log in the first account in the diagnostic device (ie, the diagnostic software). The login request message is used to instruct the server to perform login verification according to the first account and the first device identifier.

[0113] In some embodiments, the login interface may further include a first password input box. In this case, the diagnostic device may further receive the first password input in the first password input box before step 303. Then in step 303, the login request message sent by the diagnostic device to the server may further include the first password, and the login request message is also used to instruct the server to perform login verification according to the first account and the first password.

[0114] It should be noted that, in the case where the login interface includes a first password input box, the user may enter the first password into the first password input box, or may not enter the first password into the first password input box. Regardless of whether the first password is entered, as long as the user enters the first account into the first account input box, login verification can be performed. That is, in the case where the user enters the first account into the first account input box and does not enter the first password into the first password input box, login verification is performed based on the first account and the first device identifier; in the case where the user enters the first account into the first account input box and enters the first password into the first password input box, login verification is performed based on the first account and the first device identifier, and login verification is performed based on the first account and the first password. If either of the two verifications passes, the login is successful.

[0115] Step 304: After receiving the login request message, the server performs login verification according to the first account and the first device identifier.

[0116] Since the first device identifier is automatically obtained by the diagnostic device, the server only needs to verify the accuracy of the first account and whether the first account and the first device identifier are bound to complete the login verification. In this way, the verification method is relatively simple and can improve login efficiency and login success rate.

[0117] In some cases, the operation of step 304 may be: the server determines whether the first account exists in the user account set; if the first account does not exist in the user account set, it is determined that the login has failed; if the first account exists in the user account set, it is determined whether the first account is bound to the first device identifier; if the first account is not bound to the first device identifier, it is determined that the login has failed; if the first account is bound to the first device identifier, it is determined that the login has succeeded.

[0118] The user account set is a set of registered user accounts.

[0119] If the first account does not exist in the user account set, it means that the first account is not registered, so it can be determined that the login of the first account has failed; if the first account exists in the user account set, it means that the first account has been registered, so it can be determined whether the first account is bound to the first device identifier.

[0120] If the first account is bound to the first device identifier, it means that the diagnostic device is the diagnostic device bound by the user when registering the first account, so it can be determined that the login is successful; if the first account is not bound to the first device identifier, it means that the diagnostic device is not the diagnostic device bound by the user when registering the first account, so it can be determined that the login failed.

[0121] It should be noted that, since the first device identifier may include one or more of a device serial number and a chip identifier, the server may determine whether the first account is bound to the first device identifier in the following three situations.

[0122] The first case: if the first device identifier only includes the device serial number, the server determines whether the first account is bound to the device serial number; if the first account is not bound to the device serial number, it is determined that the login failed; if the first account is bound to the device serial number, it is determined that the login is successful.

[0123] The second case: if the first device identifier only includes the chip identifier, the server can determine whether the first account is bound to the chip identifier; if the first account is not bound to the chip identifier, it is determined that the login failed; if the first account is bound to the chip identifier, it is determined that the login is successful.

[0124] The third case: if the first device identifier includes a device serial number and a chip identifier, the server can determine whether the first account is bound to the device serial number; if the first account is not bound to the device serial number, the login is determined to be unsuccessful. If the first account is bound to the device serial number, it can be determined whether the first account is bound to the chip identifier; if the first account is not bound to the chip identifier, the login is determined to be unsuccessful; if the first account is bound to the chip identifier, the login is determined to be successful. In this way, when the chip in the diagnostic device is replaced, the account login can be prevented from being successful, thereby improving login security.

[0125] In other cases, the login request message also includes a first password. In this case, the operation of step 304 may be: if the first account does not exist in the user account set, determining that the login has failed; if the first account exists in the user account set, determining whether the user password corresponding to the first account is the first password; if the user password corresponding to the first account is the first password, determining that the login is successful; if the user password corresponding to the first account is not the first password, determining whether the first account is bound to the first device identifier; if the first account is not bound to the first device identifier, determining that the login has failed; if the first account is bound to the first device identifier, determining that the login is successful.

[0126] If the user password corresponding to the first account is not the first password, it means that the first password entered by the user is an incorrect password, so you can continue to determine whether the first account is bound to the first device identifier to continue login verification; if the user password corresponding to the first account is the first password, it means that the first password entered by the user is the correct password, so you can determine that the login is successful.

[0127] In this way, if the first account and the first password are correct, you can successfully log in to any diagnostic device; if the first account is correct but the first password is wrong, the user can successfully log in to the diagnostic device bound to the first account. In this way, the diversity of login verification can be improved, and the login efficiency and login success rate can be improved.

[0128] Step 305: The server sends a first response message to the diagnostic device, where the first response message is used to indicate whether the login is successful.

[0129] In some cases, after the diagnostic device receives the first response message sent by the server, if the first response message indicates a successful login, the diagnostic function interface is displayed; if the first response message indicates a failed login, a login failure reminder message is displayed.

[0130] The diagnostic function interface may be the main interface of the diagnostic software, for providing various diagnostic functions.

[0131] After the diagnostic device displays the diagnostic function interface, the user can diagnose the vehicle through various diagnostic functions in the diagnostic function interface.

[0132] In an embodiment of the present application, the diagnostic device displays a login interface, which includes a first account input box and a login control. Afterwards, the diagnostic device receives the first account input in the first account input box, and obtains the first device identifier, and in response to receiving a trigger operation on the login control, sends a login request message to the server, and the login request message includes the first account and the first device identifier. After receiving the login request message, the server performs login verification according to the first account and the first device identifier, and then sends a first response message to the diagnostic device, and the first response message is used to indicate whether the login is successful. In this process, the diagnostic device can automatically obtain the first device identifier, based on which the user only needs to enter the first account to log in. In this way, the login method is relatively simple, which can improve login efficiency and login success rate.

[0133] Figure 4 Schematic diagram of the structure of an account login device provided in an embodiment of the present application. The device can be implemented by software, hardware or a combination of both to form part or all of a computer device, and the computer device can be the following Figure 5 Diagnostic equipment shown. See Figure 4 The device includes: a display module 401, a first receiving module 402, a sending module 403, and a second receiving module 404.

[0134] Display module 401, used to display a login interface, which includes a first account input box and a login control;

[0135] A first receiving module 402 is used to receive a first account input in a first account input box, and obtain a first device identifier, where the first device identifier is used to identify the diagnostic device;

[0136] A sending module 403, configured to send a login request message to a server in response to receiving a trigger operation on the login control, wherein the login request message includes a first account and a first device identifier, and the login request message is used to instruct the server to perform login verification according to the first account and the first device identifier;

[0137] The second receiving module 404 is used to receive a first response message sent by the server, where the first response message is used to indicate whether the login is successful.

[0138] Optionally, the device further comprises:

[0139] A third receiving module, used for receiving a first password input in the first password input box;

[0140] The login request message also includes a first password, and the login request message is also used to instruct the server to perform login verification according to the first account and the first password.

[0141] Optionally, the first device identification includes one or more of a device serial number of the diagnostic device and a chip identification of a chip in the diagnostic device.

[0142] Optionally, the device further comprises:

[0143] A first display module, configured to display a diagnostic function interface if the first response message indicates that the login is successful;

[0144] The second display module is used to display a login failure reminder message if the first response message indicates that the login failed.

[0145] In an embodiment of the present application, the diagnostic device displays a login interface, which includes a first account input box and a login control. Afterwards, the diagnostic device receives the first account input in the first account input box, and obtains the first device identifier, and in response to receiving a trigger operation on the login control, sends a login request message to the server, and the login request message includes the first account and the first device identifier. After receiving the login request message, the server performs login verification according to the first account and the first device identifier, and then sends a first response message to the diagnostic device, and the first response message is used to indicate whether the login is successful. In this process, the diagnostic device can automatically obtain the first device identifier, based on which the user only needs to enter the first account to log in. In this way, the login method is relatively simple, which can improve login efficiency and login success rate.

[0146] It should be noted that: the account login device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when logging in to an account. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0147] The functional modules in the above embodiments may be integrated into one processing unit, or each functional module may exist physically as a processing unit alone, or two or more functional modules may be integrated into one processing unit, and the above processing unit may be implemented in the form of hardware or software. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present application.

[0148] The device and account login method embodiments provided in the above embodiments belong to the same concept. The specific working process of the functional modules in the above embodiments and the technical effects brought about can be found in the method embodiment part and will not be repeated here.

[0149] Figure 5 This is a schematic diagram of the structure of a diagnostic device provided in an embodiment of the present application. Figure 5 As shown, the diagnostic device 5 includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50. When the processor 50 executes the computer program 52, the steps in the account login method in the above embodiment are implemented.

[0150] The diagnostic device 5 can be a general-purpose computer device or a dedicated computer device. In a specific implementation, the computer device 5 can be a desktop computer, a portable computer, a handheld computer, a mobile phone, or a tablet computer. The embodiment of the present application does not limit the type of the diagnostic device 5. Those skilled in the art can understand that Figure 5 It is only an example of the diagnostic device 5 and does not constitute a limitation on the computer device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, etc.

[0151] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0152] In some embodiments, the memory 51 may be an internal storage unit of the computer device 5, such as a hard disk or memory of the computer device 5. In other embodiments, the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 5. Further, the memory 51 may also include both an internal storage unit of the computer device 5 and an external storage device. The memory 51 is used to store an operating system, an application program, a boot loader, data, and other programs. The memory 51 may also be used to temporarily store data that has been output or is to be output.

[0153] An embodiment of the present application also provides a computer device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, and when the processor executes the computer program, the steps in any of the above-mentioned method embodiments are implemented.

[0154] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0155] An embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the steps in the above-mentioned method embodiments.

[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above method embodiments, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, ROM (read-only memory), RAM (random access memory), CD-ROM (compact disc read-only memory), magnetic tape, floppy disk and optical data storage device. The computer-readable storage medium mentioned in the present application can be a non-volatile storage medium, in other words, it can be a non-transient storage medium.

[0157] It should be understood that all or part of the steps to implement the above embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The computer instructions can be stored in the above-mentioned computer readable storage medium.

[0158] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0159] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0160] In the embodiments provided in the present application, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0161] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

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

[0163] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. An account login method, characterized in that: Applied to diagnostic equipment, the method comprises: Display a login interface, the login interface including a first account input box and a login control; receiving a first account input in the first account input box, and acquiring a first device identifier, where the first device identifier is used to identify the diagnostic device; In response to receiving a trigger operation on the login control, sending a login request message to a server, the login request message including the first account and the first device identifier, the login request message being used to instruct the server to perform login verification according to the first account and the first device identifier; A first response message sent by the server is received, where the first response message is used to indicate whether the login is successful.

2. The method according to claim 1, characterized in that The login interface further includes a first password input box, and in response to receiving a trigger operation on the login control, before sending a login request message to the server, the method further includes: receiving a first password input in the first password input box; The login request message also includes the first password, and the login request message is further used to instruct the server to perform login verification according to the first account and the first password.

3. The method according to claim 1, characterized in that The first device identification includes one or more of a device serial number of the diagnostic device and a chip identification of a chip in the diagnostic device.

4. The method according to any one of claims 1 to 3, characterized in that: After receiving the first response message sent by the server, the method further includes: If the first response message indicates that the login is successful, displaying the diagnostic function interface; If the first response message indicates that the login fails, a login failure reminder message is displayed.

5. An account login method, characterized in that: The method comprises: The diagnostic device displays a login interface, the login interface comprising a first account input box and a login control; The diagnostic device receives the first account input in the first account input box, and obtains a first device identifier, where the first device identifier is used to identify the diagnostic device; In response to receiving a trigger operation on the login control, the diagnostic device sends a login request message to a server, where the login request message includes the first account and the first device identifier; After receiving the login request message, the server performs login verification according to the first account and the first device identifier; The server sends a first response message to the diagnostic device, where the first response message is used to indicate whether the login is successful.

6. The method according to claim 5, characterized in that The server performs login verification according to the first account and the first device identifier, including: If the first account does not exist in the user account set, determining that the login has failed; If the first account exists in the user account set, determining whether the first account is bound to the first device identifier; If the first account is not bound to the first device identifier, determining that the login has failed; If the first account is bound to the first device identifier, it is determined that the login is successful.

7. The method according to claim 5, characterized in that The login request message also includes a first password, and the server performs login verification according to the first account and the first device identifier, including: If the first account does not exist in the user account set, determining that the login has failed; If the first account exists in the user account set, determining whether the user password corresponding to the first account is the first password; If the user password corresponding to the first account is the first password, it is determined that the login is successful; If the user password corresponding to the first account is not the first password, determining whether the first account is bound to the first device identifier; If the first account is not bound to the first device identifier, determining that the login has failed; If the first account is bound to the first device identifier, it is determined that the login is successful.

8. The method according to any one of claims 5 to 7, characterized in that: The first device identification includes a device serial number of the diagnostic device and a chip identification of a chip in the diagnostic device. Before the diagnostic device displays a login interface, the following steps are further included: The diagnostic device displays a registration interface, which includes a second account input box, a second password input box, a device serial number input box, and a registration control; The diagnostic device receives the second account input in the second account input box, receives the second password input in the second password input box, and receives the target device serial number input in the device serial number input box; In response to receiving a trigger operation on the registration control, the diagnostic device sends a registration request message to the server, wherein the registration request message includes the second account number, the second password and the target device serial number; After the server receives the registration request message, if the target device serial number exists in the preset device serial number set, the second account and the second password are stored in correspondence, and the second account and the target device serial number and the chip identifier corresponding to the target device serial number are bound.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

10. A computer program product, characterized in that When the computer program product is executed on a computer device, the computer device is caused to execute the method according to any one of claims 1 to 4.