CN116361755A - Application program login verification method, device, equipment and storage medium - Google Patents

Application program login verification method, device, equipment and storage medium Download PDF

Info

Publication number
CN116361755A
CN116361755A CN202310284167.4A CN202310284167A CN116361755A CN 116361755 A CN116361755 A CN 116361755A CN 202310284167 A CN202310284167 A CN 202310284167A CN 116361755 A CN116361755 A CN 116361755A
Authority
CN
China
Prior art keywords
target application
application program
terminal
user
legal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310284167.4A
Other languages
Chinese (zh)
Inventor
张仪俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202310284167.4A priority Critical patent/CN116361755A/en
Publication of CN116361755A publication Critical patent/CN116361755A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

One embodiment of the present specification provides an application login verification method, apparatus, device, and storage medium, where the method includes: the login request of the user for the target application program is obtained, wherein the login request carries the user identification of the user, the identification of the target application program and the program data storage path information of the target application program in the user terminal of the user. And judging whether the user terminal is a legal terminal of the target application program according to the login request. And determining that the login of the target application program is successful or determining that the login of the target application program is failed according to the judgment result.

Description

Application program login verification method, device, equipment and storage medium
The patent application of the invention is 28 days of the application day 2020 and 06 months, the application number is 202010595836.6 and the name is Application login verification method, device, equipment and storage medium.
Technical Field
The present disclosure relates to the field of software, and in particular, to a method, apparatus, device, and storage medium for application login verification.
Background
When a user logs into an application, the server of the application needs to verify the user, such as verifying whether the user's username and password are correct. Considering that a hacker may obtain a user name and a password of a user through an illegal way, so as to steal a user account, when the server performs login verification on the user, the server also needs to verify whether a terminal used by the user for the login is a legal terminal, and the legal terminal may be a common terminal of the user. Based on this, it is necessary to provide a technical solution to verify whether the terminal used by the user to log in is a legal terminal, so as to improve the login security of the application program.
Disclosure of Invention
An object of one embodiment of the present disclosure is to provide an application login verification method, device, apparatus and storage medium, so as to verify whether a terminal used for user login is a legal terminal, and improve login security of an application.
To achieve the above technical object, an embodiment of the present specification is implemented as follows:
one embodiment of the present disclosure provides an application login verification method, including: and acquiring a login request of a user for the target application program. The login request carries the user identification of the user, the identification of the target application program and the program data storage path information of the target application program in the user terminal of the user. And judging whether the user terminal is a legal terminal of the target application program according to the login request. And according to the judging result, determining that the login of the target application program is successful, or determining that the login of the target application program is failed.
One embodiment of the present disclosure provides an application login verification method, including: and acquiring a login request of a user for the target application program. The login request carries the user identification of the user, the identification of the target application program and the program data storage path information of the target application program in the user terminal of the user. And sending the login request to a server of the target application program. The login request is used for the server to judge whether the user terminal is a legal terminal of the target application program. And receiving a login success message or a login failure message returned by the server according to the judgment result.
One embodiment of the present specification provides an application login verification apparatus, including: the first acquisition module acquires a login request of a user for a target application program. The login request carries the user identification of the user, the identification of the target application program and the program data storage path information of the target application program in the user terminal of the user. And the judging module is used for judging whether the user terminal is a legal terminal of the target application program according to the login request. And the determining module is used for determining that the login of the target application program is successful or determining that the login of the target application program fails according to the judging result.
One embodiment of the present specification provides an application login verification apparatus, including: and the second acquisition module acquires a login request of a user for the target application program. The login request carries the user identification of the user, the identification of the target application program and the program data storage path information of the target application program in the user terminal of the user. And the first sending module is used for sending the login request to the server of the target application program. The login request is used for the server to judge whether the user terminal is a legal terminal of the target application program. And the receiving module is used for receiving a login success message or a login failure message returned by the server according to the judging result.
One embodiment of the present specification provides an application login authentication apparatus including: a processor and a memory arranged to store computer executable instructions. The computer executable instructions, when executed, cause the processor to perform the steps of the application login verification method described above.
One embodiment of the present specification provides a storage medium storing computer-executable instructions that, when executed, implement the steps of the application login verification method described above.
Drawings
In order to more clearly illustrate the technical solution in one or more embodiments of the present description, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments described in the present description, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is a schematic view of a scenario of an application login verification method according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating an application login verification method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating an application login verification method according to another embodiment of the present disclosure;
FIG. 4 is a schematic diagram of an application login verification device according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an application login verification device according to another embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an application login verification device according to an embodiment of the present disclosure.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions in one or more embodiments of the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one or more embodiments of the present disclosure without inventive faculty, are intended to be within the scope of the present disclosure.
An object of one embodiment of the present disclosure is to provide an application login verification method, device, apparatus and storage medium, so as to verify whether a terminal used for user login is a legal terminal, and improve login security of an application.
Fig. 1 is a schematic view of a scenario of an application login verification method according to an embodiment of the present disclosure, as shown in fig. 1, where the scenario includes a user terminal and an application login verification device, where the user terminal includes, but is not limited to, a tablet 101, a mobile phone 102, a desktop 103, and a notebook 104 as shown in fig. 1, and the application login verification device includes, but is not limited to, a server 200 of a target application as shown in fig. 1. The application program login verification method in an embodiment of the present disclosure may be applied to the scenario shown in fig. 1, so as to verify whether the terminal used for user login is a legal terminal, and improve the login security of the application program.
Fig. 2 is a flowchart of an application login verification method according to an embodiment of the present disclosure, where the method may be executed by a server of a target application or may be executed by a user terminal, as shown in fig. 2, and the flowchart includes the following steps:
step S202, obtaining a login request of a user for a target application program; the login request carries user identification of a user, identification of a target application program and program data storage path information of the target application program in a user terminal of the user;
Step S204, judging whether the user terminal is a legal terminal of the target application program according to the login request;
step S206, according to the judging result, determining that the login of the target application program is successful or determining that the login of the target application program is failed.
In this embodiment, when a user requests to login to a target application program, a login request may be obtained, where the login request includes program data storage path information of the target application program in a user terminal of the user, and whether the user terminal is a legal terminal of the target application program is determined according to the login request, so as to achieve an effect of verifying whether a terminal used by the user for login is a legal terminal based on the program data storage path information of the target application program, and improve login security of the application program.
In step S202, a login request of the user for the target application is acquired. When the method in this embodiment is performed by the user terminal, the user terminal may receive a login operation of the user for the target application program, such as an operation of clicking a login button, so as to obtain a login request of the user for the target application program. When the method in this embodiment is executed by the server, the user terminal acquires the login request of the user for the target application program in the above manner, and forwards the login request to the server, so that the server acquires the login request of the user for the target application program.
The target application may be any application with a login function, which is not limited herein. The login request of the user for the target application program carries the user identification of the user, the identification of the target application program and the program data storage path information of the target application program in the user terminal of the user.
The user identification of the user may be at least one of a user name of the user in the target application, a mobile phone number of the user, and a real name of the user. The identification of the target application may be the name of the target application.
Program data storage path information of the target application program in the user terminal of the user refers to a storage address of program data of the target application program after the target application program is installed in the user terminal. Specifically, each time the target application is installed in the user terminal, the user terminal allocates a program data storage path for the target application and generates program data storage path information, where the program data storage path information may be embodied as a storage path, such as "C/wenjian/gold", or may be embodied as a string of numbers, such as "2309909309", and the string of numbers may be also referred to as file path node information or file node parameters.
The program data storage path information of the target application program may be generated by an operating system of the user terminal. After the target application program is uninstalled and installed in the same user terminal each time, the operating system generates different program data storage path information for the target application program. Program data storage path information of different target application programs is different in the same terminal. After the same target application program is installed in different user terminals, the program data storage path information is different. Also, in the user terminal, only the target application itself can acquire its own program data storage path information from the operating system and access its own program data storage path. It can be seen that the program data storage path information of the target application program is an operating system level parameter, and only the target application program can be acquired, so that the target application program has uniqueness.
In the step S204, whether the user terminal is a legal terminal of the target application program is determined according to the login request. This step may be performed by the user terminal or by the server.
In one embodiment, according to the login request, determining whether the user terminal is a legal terminal of the target application program specifically includes:
(a1) Acquiring legal program data storage path information corresponding to a target application program according to a user identifier and an identifier of the target application program;
(a2) If the program data storage path information in the login request is the same as the acquired legal program data storage path information, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not the legal terminal of the target application program.
In this embodiment, a correspondence between a user identifier, an identifier of a target application program, and legal program data storage path information corresponding to the target application program is stored in advance, for example, for each target application program of each user, a correspondence between a user identifier of the user, an identifier of the target application program, and legal program data storage path information corresponding to the target application program is stored. The correspondence may be as shown in table 1 below.
TABLE 1
Figure BDA0004139246540000051
The correspondence may be stored in the user terminal when the present embodiment is performed by the user terminal, and in a server or database when the present embodiment is performed by the server.
In this embodiment, legal program data storage path information corresponding to the user identifier in the login request and the identifier of the target application program is obtained according to the correspondence. And judging whether the program data storage path information in the login request is the same as the acquired legal program data storage path information, if so, determining that the user terminal is a legal terminal of the target application program, and if not, determining that the user terminal is not a legal terminal of the target application program.
In this embodiment, before acquiring the login request of the user for the target application, legal program data storage path information corresponding to the above-described user identification and the identification of the target application may be acquired by:
(a11) After a user logs in a target application program for the first time, acquiring program data storage path information of the target application program in a user terminal used by the user for logging in the target application program for the first time;
(a12) And taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program.
Specifically, taking the example that the user xiao Li logs in the target application abc for the first time, program data storage path information of the target application abc in the user terminal used by the target application abc for the first time is obtained xiao Li, and the information is used as legal program data storage path information corresponding to the user identifier "xiao Li" and the target application identifier "abc".
It can be seen that the legal program data storage path information is the storage path information of the target application program in the user terminal used by the user when the user logs in the target application program for the first time. Based on this, in the above step S204, by acquiring the legal program data storage path information and comparing whether the program data storage path information in the login request is the same as the legal program data storage path information, it is able to accurately determine whether the user terminal used for the current login of the user is the user terminal used for the first login of the user based on the characteristics that the program data storage path information is different from the legal program data storage path information in different user terminals, that is, determine whether the situation that the user exchange terminal is used for logging in the target application program exists, thereby preventing the user account from being stolen and improving the login security of the application program.
In another embodiment, the login request further includes a terminal identifier of the user terminal, where the terminal identifier may be a terminal name, a MAC address (Media Access Control Address, a media access control address), an IMEI (International Mobile Equipment Identity, an international mobile equipment identifier), and the like. Correspondingly, according to the login request, judging whether the user terminal is a legal terminal of the target application program or not, and specifically comprising the following steps:
(b1) Acquiring legal program data storage path information corresponding to a target application program and legal terminal identification corresponding to the target application program according to the user identification and the identification of the target application program; the legal terminal identifier can be a terminal name, a MAC address, an IMEI and the like;
(b2) If the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is the legal terminal of the target application program, otherwise, determining that the user terminal is not the legal terminal of the target application program.
In this embodiment, a correspondence between a user identifier, an identifier of a target application program, legal program data storage path information corresponding to the target application program, and legal terminal identifiers corresponding to the target application program is stored in advance, for example, for each target application program of each user, a correspondence between a user identifier of the user, an identifier of the target application program, legal program data storage path information corresponding to the target application program, and legal terminal identifiers corresponding to the target application program is stored. The correspondence may be as shown in table 2 below.
TABLE 2
Figure BDA0004139246540000071
The correspondence may be stored in the user terminal when the present embodiment is performed by the user terminal, and in a server or database when the present embodiment is performed by the server.
In this embodiment, legal program data storage path information corresponding to the user identifier in the login request and the identifier of the target application program is obtained according to the correspondence relationship, and legal terminal identifiers corresponding to the user identifier in the login request and the identifier of the target application program are obtained. And judging whether the program data storage path information in the login request is the same as the acquired legal program data storage path information, judging whether the terminal identification in the login request is the same as the acquired legal terminal identification, if so, determining that the user terminal is the legal terminal of the target application program, and if not, determining that the user terminal is not the legal terminal of the target application program.
In this embodiment, before acquiring the login request of the user for the target application, the legal program data storage path information and the legal terminal identification corresponding to the above-described user identification and the identification of the target application may be acquired by:
(b11) After a user logs in a target application program for the first time, acquiring program data storage path information of a target application program in a user terminal used by the user for logging in the target application program for the first time, and acquiring a terminal identifier of the user terminal used by the user for logging in the target application program for the first time;
(b12) And taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program, and taking the acquired terminal identifier as legal terminal identifier corresponding to the target application program.
It can be seen that the legal program data storage path information is the storage path information of the target application program in the user terminal used by the user when the user logs in the target application program for the first time. The legal terminal identification is the terminal identification of the user terminal used by the user when the user logs in the target application program for the first time. Based on this, in the step S204, by acquiring the legal program data storage path information and comparing whether the program data storage path information in the login request is identical to the legal program data storage path information, and by acquiring the legal terminal identifier and comparing whether the terminal identifier in the login request is identical to the legal terminal identifier, it is possible to accurately determine whether the user terminal used for the current login of the user is the user terminal used for the first login of the user, that is, determine whether there is a situation in which the user changes the terminal login target application program, thereby preventing the user account from being stolen and improving the login security of the application program based on the characteristics of the program data storage path information different from each other in different user terminals and the characteristics of the terminal identifiers of different terminals.
In step S206, the success of the login of the target application program is determined, or the failure of the login of the target application program is determined, according to the determination result. Specifically, if the judgment result indicates that the user terminal is a legal terminal, the login success of the target application program is determined, and if the judgment result indicates that the user terminal is not a legal terminal, the login failure of the target application program is determined.
Considering that the user needs to replace a legal terminal, in this embodiment, after determining that the login of the target application fails, the following procedure may be further implemented:
(c1) Acquiring legal terminal setting instructions of a user aiming at a target application program; the legal terminal setting instruction is used for setting the user terminal in the step S202 as a legal terminal of the target application program;
(c2) And setting the user terminal in the step S202 as a legal terminal of the target application program according to the legal terminal setting instruction.
Specifically, after determining that the login of the target application fails, the user terminal may pop up the query information to query the user whether to set the user terminal in step S202 as a legal terminal, and if the user selects yes, the user terminal obtains a legal terminal setting instruction for the target application. The legal terminal setting instruction is used to set the user terminal in step S202 as a legal terminal of the target application.
In order to ensure account safety, the legal terminal setting instruction can carry high-level authentication information such as a face image or an identity card image of a user so as to ensure that the legal terminal setting is performed under the condition of the user. The server or the user terminal sets the user terminal in step S202 as a legal terminal of the target application program according to the legal terminal setting instruction, thereby meeting the requirement of the user for replacing the legal terminal.
When the above actions (c 1) and (c 2) are performed by the user terminal, the user terminal may obtain a legal terminal setting instruction for the target application by the user according to the user operation, and set the user terminal as a legal terminal of the target application according to the legal terminal setting instruction. When the above actions (c 1) and (c 2) are performed by the server, the user terminal may obtain, according to a user operation, a legal terminal setting instruction for the target application by the user, and send the instruction to the server, so that the server sets the user terminal as a legal terminal of the target application according to the legal terminal setting instruction.
In summary, the program data storage path information of the target application program is information generated by the operating system of the user terminal for the target application program, and other programs cannot acquire the information. And in the same terminal, the information changes each time the target application program is uninstalled. Program data storage path information of different target application programs is also different in the same terminal. The program data storage path information in different user terminals is also different for the same target application. Therefore, the program data storage path information of the target application has uniqueness.
By the application program login verification method in the embodiment, when a user requests to login a target application program, whether the user switches a terminal to login or not can be verified by utilizing the uniqueness of the program data storage path information of the target application program, and the login security of the application program is improved. Even if the data of the target application program is completely copied to a new terminal, or in the scene that the application program is hook, the effect of identifying the cross-terminal login of the target application program can be still achieved by the method in the embodiment, and the login security of the application program is improved.
Fig. 3 is a flowchart of an application login verification method according to another embodiment of the present disclosure, where the method may be performed by a user terminal, as shown in fig. 3, and the flowchart includes the following steps:
step S302, obtaining a login request of a user for a target application program; the login request carries user identification of a user, identification of a target application program and program data storage path information of the target application program in a user terminal of the user;
step S304, the login request is sent to a server of the target application program, and the login request is used for judging whether the user terminal is a legal terminal of the target application program or not by the server;
Step S306, receiving a login success message or a login failure message returned by the server according to the judgment result.
In this embodiment, when a user requests to login to a target application program, a login request may be obtained, where the login request includes program data storage path information of the target application program in a user terminal of the user, and whether the user terminal is a legal terminal of the target application program is determined according to the login request, so as to achieve an effect of verifying whether a terminal used by the user for login is a legal terminal based on the program data storage path information of the target application program, and improve login security of the application program.
In the step S302, a login request of the user for the target application program is obtained, specifically: responding to the starting operation of a user for a target application program, and acquiring a login request of the user for the target application program; or, in response to a login operation of the user for the target application program, a login request of the user for the target application program is acquired.
Specifically, when the user starts the target application program through clicking operation or other operations, if the user logs in the target application program before, the user terminal obtains a login request of the user for the target application program. The scene is a scene that the user does not perceive login every time the user starts the program, so that the disturbance to the user is reduced. Or when the user clicks the login button through clicking operation, the user terminal acquires a login request of the user for the target application program. Other explanations of the above step S302 may refer to the description of the above step S202, and are not repeated here.
In the step S304, the user terminal sends a login request to the server of the target application program, so that the server of the target application program determines whether the user terminal currently used by the user is a legal terminal of the target application program.
As can be seen from the description of fig. 2, it is necessary to acquire legal program data storage path information. Based on this, in one embodiment, when the above-mentioned user terminal is a terminal used by the user to log in the target application program for the first time, before obtaining the login request of the user for the target application program, the user terminal may further implement the following flow:
after a user logs in a target application program for the first time, program data storage path information of the target application program in the user terminal is sent to the server, and the program data storage path information of the target application program in the user terminal is used for being set by the server as legal program data storage path information corresponding to the target application program.
Through the process, the server can acquire legal program data storage path information so as to judge whether the legal program data storage path information is the same as the program data storage path information in the login request or not, thereby performing verification work of the legal terminal.
As can be seen from the description of fig. 2, it is necessary to acquire legal program data storage path information and legal terminal identification. Based on this, in another embodiment, the login request further comprises a terminal identification of the user terminal. When the user terminal is a terminal used by a user to log in the target application program for the first time, before a login request of the user for the target application program is obtained, the user terminal may further implement the following flow:
after a user logs in a target application program for the first time, program data storage path information of the target application program in a user terminal and a terminal identifier of the user terminal are sent to a server, wherein the program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server, and the terminal identifier of the user terminal is used for being set as legal terminal identifier corresponding to the target application program by the server.
Through the process, the server can acquire legal program data storage path information and legal terminal identification, so that the server can judge whether the legal program data storage path information is the same as the program data storage path information in the login request or not and judge whether the legal terminal identification is the same as the terminal identification in the login request or not, and verification work of the legal terminal is performed.
In step S306, the ue also receives a login success message or a login failure message returned by the server.
In one embodiment, after receiving the login failure message returned by the server according to the judgment result, the user terminal further implements the following flow:
displaying a legal terminal setting page according to the login failure message;
receiving a legal terminal setting instruction sent by a user based on a legal terminal setting page; the legal terminal setting instruction is used for setting the user terminal as a legal terminal of the target application program;
and sending a legal terminal setting instruction to the server so as to set the user terminal as a legal terminal of the target application program.
Specifically, after determining that the login of the target application fails, the user terminal may display a legal terminal setting page in which the user is queried by querying information to determine whether the user terminal in step S302 is a legal terminal, and if so, the user terminal obtains a legal terminal setting instruction for the target application by the user. The legal terminal setting instruction is used to set the user terminal in step S302 as a legal terminal of the target application. The user terminal sends the instruction to the server, so that the server sets the user terminal as a legal terminal of the target application program according to the legal terminal setting instruction, and the requirement of changing the legal terminal by the user is met. In order to ensure account safety, the legal terminal setting instruction can carry high-level authentication information such as a face image or an identity card image of a user so as to ensure that the legal terminal setting is performed under the condition of the user.
In summary, the program data storage path information of the target application program is information generated by the operating system of the user terminal for the target application program, and other programs cannot acquire the information. And in the same terminal, the information changes each time the target application program is uninstalled. Program data storage path information of different target application programs is also different in the same terminal. The program data storage path information in different user terminals is also different for the same target application. Therefore, the program data storage path information of the target application has uniqueness.
By the application program login verification method in the embodiment, when a user requests to login a target application program, whether the user switches a terminal to login or not can be verified by utilizing the uniqueness of the program data storage path information of the target application program, and the login security of the application program is improved. Even if the data of the target application program is completely copied to a new terminal, or in the scene that the application program is hook, the effect of identifying the cross-terminal login of the target application program can be still achieved by the method in the embodiment, and the login security of the application program is improved.
Fig. 4 is a schematic diagram of an application login verification apparatus according to an embodiment of the present disclosure, as shown in fig. 4, the apparatus includes:
a first obtaining module 41 for obtaining a login request of a user for a target application program; the login request carries a user identifier of the user, an identifier of the target application program and program data storage path information of the target application program in a user terminal of the user;
a judging module 42, configured to judge whether the user terminal is a legal terminal of the target application program according to the login request;
the determining module 43 determines that the login of the target application program is successful or determines that the login of the target application program is failed according to the judgment result.
Optionally, the judging module 42: acquiring legal program data storage path information corresponding to the target application program according to the user identification and the identification of the target application program; and if the program data storage path information in the login request is the same as the legal program data storage path information, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not the legal terminal of the target application program.
Optionally, the login request further includes a terminal identifier of the user terminal; accordingly, the judging module 42: acquiring legal program data storage path information corresponding to the target application program and legal terminal identification corresponding to the target application program according to the user identification and the identification of the target application program; if the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not a legal terminal of the target application program.
Optionally, the apparatus further comprises: the first data setting module is used for acquiring program data storage path information of a target application program in a user terminal used by a user for logging in the target application program for the first time after the user logs in the target application program for the first time before acquiring a login request of the user for the target application program; and taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program.
Optionally, the apparatus further comprises: the second data setting module is used for acquiring program data storage path information of a target application program in a user terminal used by a user for logging in the target application program for the first time after the user logs in the target application program for the first time before acquiring a login request of the user for the target application program, and acquiring a terminal identifier of the user terminal used by the user for logging in the target application program for the first time; and taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program, and taking the acquired terminal identifier as legal terminal identifier corresponding to the target application program.
Optionally, the apparatus further comprises: the third data setting module is used for acquiring legal terminal setting instructions of the user aiming at the target application program after determining that the login of the target application program fails; the legal terminal setting instruction is used for setting the user terminal as a legal terminal of the target application program; and setting the user terminal as a legal terminal of the target application program according to the legal terminal setting instruction.
In this embodiment, when a user requests to login to a target application program, a login request may be obtained, where the login request includes program data storage path information of the target application program in a user terminal of the user, and whether the user terminal is a legal terminal of the target application program is determined according to the login request, so as to achieve an effect of verifying whether a terminal used by the user for login is a legal terminal based on the program data storage path information of the target application program, and improve login security of the application program.
The application login verification device in this embodiment can implement the respective procedures of the application login verification method in fig. 2 described above, and achieve the same effects and functions, and are not repeated here.
Fig. 5 is a schematic diagram of an application login verification device according to another embodiment of the present disclosure, as shown in fig. 5, the device includes:
a second obtaining module 51 for obtaining a login request of a user for a target application program; the login request carries a user identifier of the user, an identifier of the target application program and program data storage path information of the target application program in a user terminal of the user;
A first sending module 52, configured to send the login request to a server of the target application, where the login request is used by the server to determine whether the user terminal is a legal terminal of the target application;
and a receiving module 53 for receiving a login success message or a login failure message returned by the server according to the judgment result.
Optionally, the second obtaining module 51 is configured to obtain, in response to a start operation of the user on the target application, a login request of the user on the target application; or, in response to the login operation of the user for the target application program, acquiring the login request of the user for the target application program.
Optionally, the user terminal is a terminal used by the user to log in the target application program for the first time; the apparatus further comprises: the second sending module is used for sending program data storage path information of the target application program in the user terminal to the server after the user logs in the target application program for the first time before acquiring a login request of the user for the target application program; program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server.
Optionally, the user terminal is a terminal used by the user to log in the target application program for the first time; the login request also comprises a terminal identifier of the user terminal; the apparatus further comprises: the third sending module is used for sending program data storage path information of the target application program in the user terminal and terminal identification of the user terminal to the server after the user logs in the target application program for the first time before acquiring a login request of the user for the target application program; program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server; the terminal identifier of the user terminal is used for being set by the server as a legal terminal identifier corresponding to the target application program.
Optionally, the device further comprises a fourth sending module, after receiving a login failure message returned by the server according to the judging result, displaying a legal terminal setting page according to the login failure message; receiving a legal terminal setting instruction sent by the user based on the legal terminal setting page; the legal terminal setting instruction is used for setting the user terminal as a legal terminal of the target application program; and sending the legal terminal setting instruction to the server so as to set the user terminal as the legal terminal of the target application program.
In this embodiment, when a user requests to login to a target application program, a login request may be obtained, where the login request includes program data storage path information of the target application program in a user terminal of the user, and whether the user terminal is a legal terminal of the target application program is determined according to the login request, so as to achieve an effect of verifying whether a terminal used by the user for login is a legal terminal based on the program data storage path information of the target application program, and improve login security of the application program.
The application login verification device in this embodiment can implement the respective procedures of the application login verification method in fig. 3 described above, and achieve the same effects and functions, and are not repeated here.
Further, an embodiment of the present disclosure further provides an application login verification device, and fig. 6 is a schematic structural diagram of the application login verification device provided in an embodiment of the present disclosure, as shown in fig. 6, the application login verification device may have a relatively large difference due to different configurations or performances, and may include one or more processors 901 and a memory 902, where one or more stored applications or data may be stored in the memory 902. Wherein the memory 902 may be transient storage or persistent storage. The application program stored in memory 902 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for logging into the verification device for the application program. Still further, the processor 901 may be arranged to communicate with the memory 902 to execute a series of computer executable instructions in the memory 902 on the application login verification device. The application login authentication device may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input output interfaces 905, one or more keyboards 906, etc.
In a specific embodiment, the application login verification device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the application login verification device, and configured to be executed by the one or more processors, the computer-executable instructions included in the one or more programs for performing the following processes:
acquiring a login request of a user for a target application program; the login request carries a user identifier of the user, an identifier of the target application program and program data storage path information of the target application program in a user terminal of the user;
judging whether the user terminal is a legal terminal of the target application program according to the login request;
and according to the judging result, determining that the login of the target application program is successful, or determining that the login of the target application program is failed.
Optionally, when executed, the computer executable instructions determine, according to the login request, whether the user terminal is a legal terminal of the target application program, including: acquiring legal program data storage path information corresponding to the target application program according to the user identification and the identification of the target application program; and if the program data storage path information in the login request is the same as the legal program data storage path information, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not the legal terminal of the target application program.
Optionally, the computer executable instructions, when executed, further comprise a terminal identification of the user terminal; correspondingly, according to the login request, judging whether the user terminal is a legal terminal of the target application program or not, including: acquiring legal program data storage path information corresponding to the target application program and legal terminal identification corresponding to the target application program according to the user identification and the identification of the target application program; if the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not a legal terminal of the target application program.
Optionally, the computer executable instructions, when executed, further implement the following flow: before acquiring a login request of a user for a target application program, acquiring program data storage path information of the target application program in a user terminal used by the user for logging in the target application program for the first time after the user logs in the target application program for the first time; and taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program.
Optionally, the computer executable instructions, when executed, further implement the following flow: before acquiring a login request of a user for a target application program, acquiring program data storage path information of the target application program in a user terminal used by the user for logging in the target application program for the first time after the user logs in the target application program for the first time, and acquiring a terminal identification of the user terminal used by the user for logging in the target application program for the first time; and taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program, and taking the acquired terminal identifier as legal terminal identifier corresponding to the target application program.
Optionally, the computer executable instructions, when executed, further implement the following flow: after determining that the login of the target application program fails, acquiring a legal terminal setting instruction of the user aiming at the target application program; the legal terminal setting instruction is used for setting the user terminal as a legal terminal of the target application program; and setting the user terminal as a legal terminal of the target application program according to the legal terminal setting instruction.
In this embodiment, when a user requests to login to a target application program, a login request may be obtained, where the login request includes program data storage path information of the target application program in a user terminal of the user, and whether the user terminal is a legal terminal of the target application program is determined according to the login request, so as to achieve an effect of verifying whether a terminal used by the user for login is a legal terminal based on the program data storage path information of the target application program, and improve login security of the application program.
The application login authentication apparatus in this embodiment can realize the respective processes of the application login authentication method in fig. 2 described above and achieve the same effects and functions, and are not repeated here.
In another particular embodiment, an application login verification device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the application login verification device, and configured to be executed by one or more processors, the one or more programs including computer-executable instructions for:
Acquiring a login request of a user for a target application program; the login request carries a user identifier of the user, an identifier of the target application program and program data storage path information of the target application program in a user terminal of the user;
the login request is sent to a server of the target application program, and the login request is used for judging whether the user terminal is a legal terminal of the target application program or not by the server;
and receiving a login success message or a login failure message returned by the server according to the judgment result.
Optionally, the computer executable instructions, when executed, obtain a login request of the user for the target application program, comprising: responding to the starting operation of the user for the target application program, and acquiring a login request of the user for the target application program; or, in response to the login operation of the user for the target application program, acquiring the login request of the user for the target application program.
Optionally, the user terminal is a terminal used by the user to log in the target application program for the first time; the computer-executable instructions, when executed, further implement the following: before a login request of a user for a target application program is acquired, after the user logs in the target application program for the first time, program data storage path information of the target application program in the user terminal is sent to the server; program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server.
Optionally, the user terminal is a terminal used by the user to log in the target application program for the first time; the login request also comprises a terminal identifier of the user terminal; the computer-executable instructions, when executed, further implement the following: before a login request of a user for a target application program is acquired, after the user logs in the target application program for the first time, program data storage path information of the target application program in the user terminal and a terminal identifier of the user terminal are sent to the server; program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server; the terminal identifier of the user terminal is used for being set by the server as a legal terminal identifier corresponding to the target application program.
Optionally, the computer executable instructions, when executed, further implement the following flow: after receiving a login failure message returned by the server according to the judging result, displaying a legal terminal setting page according to the login failure message; receiving a legal terminal setting instruction sent by the user based on the legal terminal setting page; the legal terminal setting instruction is used for setting the user terminal as a legal terminal of the target application program; and sending the legal terminal setting instruction to the server so as to set the user terminal as the legal terminal of the target application program.
In this embodiment, when a user requests to login to a target application program, a login request may be obtained, where the login request includes program data storage path information of the target application program in a user terminal of the user, and whether the user terminal is a legal terminal of the target application program is determined according to the login request, so as to achieve an effect of verifying whether a terminal used by the user for login is a legal terminal based on the program data storage path information of the target application program, and improve login security of the application program.
The application login authentication apparatus in this embodiment can realize the respective processes of the application login authentication method in fig. 3 described above and achieve the same effects and functions, and is not repeated here.
Further, another embodiment of the present disclosure further provides a storage medium, which is configured to store computer executable instructions, and in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, etc., where the computer executable instructions stored in the storage medium can implement the following flow when executed by a processor:
acquiring a login request of a user for a target application program; the login request carries a user identifier of the user, an identifier of the target application program and program data storage path information of the target application program in a user terminal of the user;
Judging whether the user terminal is a legal terminal of the target application program according to the login request;
and according to the judging result, determining that the login of the target application program is successful, or determining that the login of the target application program is failed.
Optionally, when executed by the processor, the computer executable instructions stored in the storage medium determine, according to the login request, whether the user terminal is a legal terminal of the target application program, including: acquiring legal program data storage path information corresponding to the target application program according to the user identification and the identification of the target application program; and if the program data storage path information in the login request is the same as the legal program data storage path information, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not the legal terminal of the target application program.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise a terminal identification of the user terminal; correspondingly, according to the login request, judging whether the user terminal is a legal terminal of the target application program or not, including: acquiring legal program data storage path information corresponding to the target application program and legal terminal identification corresponding to the target application program according to the user identification and the identification of the target application program; if the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not a legal terminal of the target application program.
Optionally, the computer executable instructions stored by the storage medium, when executed by the processor, further implement the following: before acquiring a login request of a user for a target application program, acquiring program data storage path information of the target application program in a user terminal used by the user for logging in the target application program for the first time after the user logs in the target application program for the first time; and taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program.
Optionally, the computer executable instructions stored by the storage medium, when executed by the processor, further implement the following: before acquiring a login request of a user for a target application program, acquiring program data storage path information of the target application program in a user terminal used by the user for logging in the target application program for the first time after the user logs in the target application program for the first time, and acquiring a terminal identification of the user terminal used by the user for logging in the target application program for the first time; and taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program, and taking the acquired terminal identifier as legal terminal identifier corresponding to the target application program.
Optionally, the computer executable instructions stored by the storage medium, when executed by the processor, further implement the following: after determining that the login of the target application program fails, acquiring a legal terminal setting instruction of the user aiming at the target application program; the legal terminal setting instruction is used for setting the user terminal as a legal terminal of the target application program; and setting the user terminal as a legal terminal of the target application program according to the legal terminal setting instruction.
In this embodiment, when a user requests to login to a target application program, a login request may be obtained, where the login request includes program data storage path information of the target application program in a user terminal of the user, and whether the user terminal is a legal terminal of the target application program is determined according to the login request, so as to achieve an effect of verifying whether a terminal used by the user for login is a legal terminal based on the program data storage path information of the target application program, and improve login security of the application program.
The storage medium in this embodiment can implement the respective processes of the application login authentication method in fig. 2 described above, and achieve the same effects and functions, which are not repeated here.
In another specific embodiment, the storage medium may be a usb disk, an optical disc, a hard disk, or the like, where the computer executable instructions stored in the storage medium when executed by the processor implement the following procedures:
acquiring a login request of a user for a target application program; the login request carries a user identifier of the user, an identifier of the target application program and program data storage path information of the target application program in a user terminal of the user;
the login request is sent to a server of the target application program, and the login request is used for judging whether the user terminal is a legal terminal of the target application program or not by the server;
and receiving a login success message or a login failure message returned by the server according to the judgment result.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, obtain a login request of the user for the target application, comprising: responding to the starting operation of the user for the target application program, and acquiring a login request of the user for the target application program; or, in response to the login operation of the user for the target application program, acquiring the login request of the user for the target application program.
Optionally, the user terminal is a terminal used by the user to log in the target application program for the first time; the computer-executable instructions stored by the storage medium, when executed by the processor, further implement the following: before a login request of a user for a target application program is acquired, after the user logs in the target application program for the first time, program data storage path information of the target application program in the user terminal is sent to the server; program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server.
Optionally, the user terminal is a terminal used by the user to log in the target application program for the first time; the login request also comprises a terminal identifier of the user terminal; the computer-executable instructions stored by the storage medium, when executed by the processor, further implement the following: before a login request of a user for a target application program is acquired, after the user logs in the target application program for the first time, program data storage path information of the target application program in the user terminal and a terminal identifier of the user terminal are sent to the server; program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server; the terminal identifier of the user terminal is used for being set by the server as a legal terminal identifier corresponding to the target application program.
Optionally, the computer executable instructions stored by the storage medium, when executed by the processor, further implement the following: after receiving a login failure message returned by the server according to the judging result, displaying a legal terminal setting page according to the login failure message; receiving a legal terminal setting instruction sent by the user based on the legal terminal setting page; the legal terminal setting instruction is used for setting the user terminal as a legal terminal of the target application program; and sending the legal terminal setting instruction to the server so as to set the user terminal as the legal terminal of the target application program.
In this embodiment, when a user requests to login to a target application program, a login request may be obtained, where the login request includes program data storage path information of the target application program in a user terminal of the user, and whether the user terminal is a legal terminal of the target application program is determined according to the login request, so as to achieve an effect of verifying whether a terminal used by the user for login is a legal terminal based on the program data storage path information of the target application program, and improve login security of the application program.
The storage medium in this embodiment can implement the respective processes of the application login authentication method in fig. 3 described above, and achieve the same effects and functions, which are not repeated here.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In the 90 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but not just one of the hdds, but a plurality of kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), lava, lola, myHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing one or more embodiments of the present description.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, embodiments of the present description may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present description are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, embodiments of the present description may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
One or more embodiments of the present specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of the embodiments described herein will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. that fall within the spirit and principles of the present document are intended to be included within the scope of the claims of the present document.

Claims (22)

1. An application login verification method, comprising:
acquiring a login request of a user for a target application program; the login request carries user identification of the user, identification of the target application program, terminal identification of the user terminal and program data storage path information of the target application program in the user terminal of the user; the program data storage path information is a storage address of program data allocated to the target application program by the user terminal after the target application program is installed by the user terminal; the program data storage path information uniquely corresponds to the installation and uniquely corresponds to the user terminal;
judging whether the user terminal is a legal terminal of the target application program or not according to the login request, the legal terminal identification corresponding to the target application program and the legal program data storage path information corresponding to the target application program; the legal terminal identification and the legal program data storage path information are obtained by searching in a preset corresponding relation according to the user identification and the identification of the target application program; the preset corresponding relation is a corresponding relation among a user identifier, an identifier of a target application program, legal program data storage path information corresponding to the target application program and legal terminal identifiers corresponding to the target application program;
If the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is the legal terminal of the target application program, and determining that the target application program is successfully logged in.
2. The method of claim 1, further comprising:
if the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is different from the legal terminal identification, determining that the user terminal is not the legal terminal of the target application program, and determining that the login of the target application program fails;
if the program data storage path information in the login request is different from the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is not the legal terminal of the target application program, and determining that the login of the target application program fails;
if the program data storage path information in the login request is different from the legal program data storage path information, and the terminal identification of the user terminal in the login request is different from the legal terminal identification, determining that the user terminal is not the legal terminal of the target application program, and determining that the login of the target application program fails.
3. The method of claim 1, wherein determining whether the user terminal is a legal terminal of the target application according to the login request, the legal terminal identifier corresponding to the target application, and the legal program data storage path information corresponding to the target application, includes:
acquiring legal program data storage path information corresponding to the target application program according to the user identification and the identification of the target application program;
and if the program data storage path information in the login request is the same as the legal program data storage path information, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not the legal terminal of the target application program.
4. The method according to claim 1, wherein the determining whether the user terminal is a legal terminal of the target application according to the login request, the legal terminal identifier corresponding to the target application, and the legal program data storage path information corresponding to the target application includes:
acquiring legal program data storage path information corresponding to the target application program and legal terminal identification corresponding to the target application program according to the user identification and the identification of the target application program;
If the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not a legal terminal of the target application program.
5. The method of claim 3, prior to obtaining a user login request for a target application, the method further comprising:
after the user logs in the target application program for the first time, acquiring program data storage path information of the target application program in a user terminal used by the user to log in the target application program for the first time;
and taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program.
6. The method of claim 4, prior to obtaining a user login request for a target application, the method further comprising:
after the user logs in the target application program for the first time, acquiring program data storage path information of the target application program in a user terminal used by the user to log in the target application program for the first time, and acquiring a terminal identifier of the user terminal used by the user to log in the target application program for the first time;
And taking the acquired program data storage path information as legal program data storage path information corresponding to the target application program, and taking the acquired terminal identifier as legal terminal identifier corresponding to the target application program.
7. The method of any of claims 1-6, after determining that the target application login failed, the method further comprising:
acquiring legal terminal setting instructions of the user aiming at a target application program; the legal terminal setting instruction is used for setting the user terminal as a legal terminal of the target application program;
and setting the user terminal as a legal terminal of the target application program according to the legal terminal setting instruction.
8. A method of authenticating a legitimate terminal, comprising:
acquiring a login request of a user for a target application program; the login request carries user identification of the user, identification of the target application program, terminal identification of the user terminal and program data storage path information of the target application program in the user terminal of the user; the program data storage path information is a storage address of program data allocated to the target application program by the user terminal after the target application program is installed by the user terminal; the program data storage path information uniquely corresponds to the installation and uniquely corresponds to the user terminal;
Judging whether the user terminal is a legal terminal of the target application program or not according to the login request, the legal terminal identification corresponding to the target application program and the legal program data storage path information corresponding to the target application program; the legal terminal identification and the legal program data storage path information are obtained by searching in a preset corresponding relation according to the user identification and the identification of the target application program; the preset corresponding relation is a corresponding relation among a user identifier, an identifier of a target application program, legal program data storage path information corresponding to the target application program and legal terminal identifiers corresponding to the target application program;
and if the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is the legal terminal of the target application program.
9. An application login verification method, comprising:
acquiring a login request of a user for a target application program; the login request carries user identification of the user, identification of the target application program, terminal identification of the user terminal and program data storage path information of the target application program in the user terminal of the user; the program data storage path information is a storage address of program data allocated to the target application program by the user terminal after the target application program is installed by the user terminal; the program data storage path information uniquely corresponds to the installation and uniquely corresponds to the user terminal;
The login request is sent to a server of the target application program, and the login request is used for judging whether the user terminal is a legal terminal of the target application program or not according to the login request, a legal terminal identifier corresponding to the target application program and legal program data storage path information corresponding to the target application program; the legal terminal identification and the legal program data storage path information are obtained by searching in a preset corresponding relation according to the user identification and the identification of the target application program; the preset corresponding relation is a corresponding relation among a user identifier, an identifier of a target application program, legal program data storage path information corresponding to the target application program and legal terminal identifiers corresponding to the target application program;
receiving a login success message or a login failure message returned by the server according to the judgment result; if the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is the legal terminal of the target application program, and determining that the target application program is successfully logged in.
10. The method according to claim 9, wherein the method comprises,
if the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is different from the legal terminal identification, determining that the user terminal is not the legal terminal of the target application program, and determining that the login of the target application program fails;
if the program data storage path information in the login request is different from the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is not the legal terminal of the target application program, and determining that the login of the target application program fails;
if the program data storage path information in the login request is different from the legal program data storage path information, and the terminal identification of the user terminal in the login request is different from the legal terminal identification, determining that the user terminal is not the legal terminal of the target application program, and determining that the login of the target application program fails.
11. The method of claim 9, obtaining a login request of a user for a target application, comprising:
Responding to the starting operation of the user for the target application program, and acquiring a login request of the user for the target application program;
or alternatively, the process may be performed,
and responding to the login operation of the user for the target application program, and acquiring the login request of the user for the target application program.
12. The method of claim 9, the user terminal being a terminal used by the user to first log in to the target application;
before obtaining the login request of the user for the target application program, the method further comprises:
after the user logs in the target application program for the first time, program data storage path information of the target application program in the user terminal is sent to the server;
program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server.
13. The method of claim 9, the user terminal being a terminal used by the user to first log in to the target application; accordingly, before obtaining the login request of the user for the target application program, the method further comprises:
After the user logs in the target application program for the first time, program data storage path information of the target application program in the user terminal and a terminal identifier of the user terminal are sent to the server;
program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server; the terminal identifier of the user terminal is used for being set by the server as a legal terminal identifier corresponding to the target application program.
14. The method according to any one of claims 9-13, after receiving a login failure message returned by the server according to the determination result, the method further comprises:
displaying a legal terminal setting page according to the login failure message;
receiving a legal terminal setting instruction sent by the user based on the legal terminal setting page; the legal terminal setting instruction is used for setting the user terminal as a legal terminal of the target application program;
and sending the legal terminal setting instruction to the server so as to set the user terminal as the legal terminal of the target application program.
15. An application login authentication device comprising:
the first acquisition module acquires a login request of a user for a target application program; the login request carries user identification of the user, identification of the target application program, terminal identification of the user terminal and program data storage path information of the target application program in the user terminal of the user; the program data storage path information is a storage address of program data allocated to the target application program by the user terminal after the target application program is installed by the user terminal; the program data storage path information uniquely corresponds to the installation and uniquely corresponds to the user terminal;
the judging module judges whether the user terminal is a legal terminal of the target application program according to the login request, the legal terminal identification corresponding to the target application program and the legal program data storage path information corresponding to the target application program; the legal terminal identification and the legal program data storage path information are obtained by searching in a preset corresponding relation according to the user identification and the identification of the target application program; the preset corresponding relation is a corresponding relation among a user identifier, an identifier of a target application program, legal program data storage path information corresponding to the target application program and legal terminal identifiers corresponding to the target application program;
And the determining module is used for determining that the user terminal is a legal terminal of the target application program and determining that the target application program is successfully logged in if the program data storage path information in the login request is the same as the legal program data storage path information and the terminal identification of the user terminal in the login request is the same as the legal terminal identification.
16. The apparatus of claim 15, the determination module:
acquiring legal program data storage path information corresponding to the target application program according to the user identification and the identification of the target application program;
and if the program data storage path information in the login request is the same as the legal program data storage path information, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not the legal terminal of the target application program.
17. The apparatus of claim 15, the determination module:
acquiring legal program data storage path information corresponding to the target application program and legal terminal identification corresponding to the target application program according to the user identification and the identification of the target application program;
If the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is a legal terminal of the target application program, otherwise, determining that the user terminal is not a legal terminal of the target application program.
18. An application login authentication device comprising:
the second acquisition module acquires a login request of a user for a target application program; the login request carries user identification of the user, identification of the target application program, terminal identification of the user terminal and program data storage path information of the target application program in the user terminal of the user; the program data storage path information is a storage address of program data allocated to the target application program by the user terminal after the target application program is installed by the user terminal; the program data storage path information uniquely corresponds to the installation and uniquely corresponds to the user terminal;
the first sending module is used for sending the login request to the server of the target application program, wherein the login request is used for judging whether the user terminal is a legal terminal of the target application program according to the login request, a legal terminal identifier corresponding to the target application program and legal program data storage path information corresponding to the target application program; the legal terminal identification and the legal program data storage path information are obtained by searching in a preset corresponding relation according to the user identification and the identification of the target application program; the preset corresponding relation is a corresponding relation among a user identifier, an identifier of a target application program, legal program data storage path information corresponding to the target application program and legal terminal identifiers corresponding to the target application program;
The receiving module is used for receiving a login success message or a login failure message returned by the server according to the judging result; if the program data storage path information in the login request is the same as the legal program data storage path information, and the terminal identification of the user terminal in the login request is the same as the legal terminal identification, determining that the user terminal is the legal terminal of the target application program, and determining that the target application program is successfully logged in.
19. The apparatus of claim 18, the user terminal being a terminal used by the user to first log in to the target application; the apparatus further comprises:
the second sending module is used for sending program data storage path information of the target application program in the user terminal to the server after the user logs in the target application program for the first time before acquiring a login request of the user for the target application program;
program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server.
20. The apparatus of claim 18, the user terminal being a terminal used by the user to first log in to the target application; the apparatus further comprises:
The third sending module is used for sending program data storage path information of the target application program in the user terminal and terminal identification of the user terminal to the server after the user logs in the target application program for the first time before acquiring a login request of the user for the target application program;
program data storage path information of the target application program in the user terminal is used for being set as legal program data storage path information corresponding to the target application program by the server; the terminal identifier of the user terminal is used for being set by the server as a legal terminal identifier corresponding to the target application program.
21. An application login authentication device comprising: a processor; and a memory arranged to store computer executable instructions that when executed cause the processor to implement the steps of the application login authentication method of any one of the preceding claims 1 to 7, or to implement the legal terminal authentication method of claim 8, or to implement the steps of the application login authentication method of any one of the preceding claims 9 to 14.
22. A storage medium storing computer executable instructions which, when executed, implement the steps of the application login authentication method according to any one of the preceding claims 1 to 7, or implement the legal terminal authentication method according to claim 8, or implement the steps of the application login authentication method according to any one of the preceding claims 9 to 14.
CN202310284167.4A 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium Pending CN116361755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310284167.4A CN116361755A (en) 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310284167.4A CN116361755A (en) 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium
CN202010595836.6A CN111753270B (en) 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010595836.6A Division CN111753270B (en) 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116361755A true CN116361755A (en) 2023-06-30

Family

ID=72677399

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310284167.4A Pending CN116361755A (en) 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium
CN202010595836.6A Active CN111753270B (en) 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010595836.6A Active CN111753270B (en) 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium

Country Status (1)

Country Link
CN (2) CN116361755A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688369B (en) * 2021-07-28 2024-02-02 支付宝(杭州)信息技术有限公司 Login mode recommending method, device and equipment after unloading and reloading of application program
CN113778559A (en) * 2021-09-15 2021-12-10 东莞新能安科技有限公司 Software security application method and device and electronic equipment

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009143631A1 (en) * 2008-05-30 2009-12-03 Cloakware Corporation Authenticated database connectivity for unattended applications
CN101677442A (en) * 2008-09-17 2010-03-24 艾威梯科技(北京)有限公司 Method and equipment for automatically logging in application programs
CN103176987A (en) * 2011-12-21 2013-06-26 中国电信股份有限公司 Method and device for controlling database access
CN103095457B (en) * 2013-01-11 2016-03-23 广东欧珀移动通信有限公司 A kind of login of application program, verification method
CN104219052A (en) * 2014-08-22 2014-12-17 小米科技有限责任公司 Verification method and verification device for service program
CN105787376A (en) * 2014-12-26 2016-07-20 深圳市中兴微电子技术有限公司 Data security access method and apparatus
US9578505B2 (en) * 2015-04-21 2017-02-21 International Business Machines Corporation Authentication of user computers
CN107545169B (en) * 2016-06-27 2020-07-24 联想(上海)信息技术有限公司 Application program authentication management method and device and electronic equipment
WO2018129658A1 (en) * 2017-01-10 2018-07-19 深圳怡化电脑股份有限公司 Upper-layer application identity verification method, self-service terminal, and application server
CN111835714A (en) * 2017-07-11 2020-10-27 创新先进技术有限公司 Information verification processing method, client and server
US10885213B2 (en) * 2017-09-12 2021-01-05 Sophos Limited Secure firewall configurations
CN108768956A (en) * 2018-05-04 2018-11-06 北京信安世纪科技股份有限公司 A kind of application program login method and device
CN108712435A (en) * 2018-05-25 2018-10-26 四川斐讯信息技术有限公司 A kind of verification system and method for login application program
CN109168165A (en) * 2018-11-12 2019-01-08 北京云狐时代科技有限公司 Mobile terminal application login method and device
CN111181977B (en) * 2019-12-31 2021-06-04 瑞庭网络技术(上海)有限公司 Login method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN111753270A (en) 2020-10-09
CN111753270B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN110990804B (en) Resource access method, device and equipment
CN110460595B (en) Authentication and service method, device and equipment
CN108055132B (en) Method, device and equipment for service authorization
CN111008840B (en) Service processing system, service processing method, device and equipment
CN111931154B (en) Service processing method, device and equipment based on digital certificate
CN107018174B (en) Unitized system service processing method and device and business processing system
CN111538980B (en) Account binding method, device and system for application program
CN110781192B (en) Verification method, device and equipment of block chain data
CN110445769B (en) Access method and device of business system
CN105205413B (en) A kind of guard method of data and device
CN111753270B (en) Application program login verification method, device, equipment and storage medium
CN107070871B (en) Identity verification method and device
CN113221142A (en) Authorization service processing method, device, equipment and system
CN112287376A (en) Method and device for processing private data
CN114745133A (en) Method and device for identifying uniqueness of equipment
US10057260B2 (en) Electronic device identification
CN111737304B (en) Processing method, device and equipment of block chain data
CN111600882A (en) Block chain-based account password management method and device and electronic equipment
CN113572827B (en) Registration processing method and device
CN112100610B (en) Processing method, device and equipment for login and user login related services
CN109558249B (en) Control method and device for concurrent operation
CN113065120B (en) Interface calling authentication method and device, electronic equipment and readable storage medium
CN114546639A (en) Service call processing method and device
CN113946260A (en) Data processing method, device and equipment
CN111882321A (en) Identity verification processing method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination