[go: up one dir, main page]

CN111753270B - 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
CN111753270B
CN111753270B CN202010595836.6A CN202010595836A CN111753270B CN 111753270 B CN111753270 B CN 111753270B CN 202010595836 A CN202010595836 A CN 202010595836A CN 111753270 B CN111753270 B CN 111753270B
Authority
CN
China
Prior art keywords
target application
user
terminal
application program
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.)
Active
Application number
CN202010595836.6A
Other languages
Chinese (zh)
Other versions
CN111753270A (en
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 CN202010595836.6A priority Critical patent/CN111753270B/en
Priority to CN202310284167.4A priority patent/CN116361755A/en
Publication of CN111753270A publication Critical patent/CN111753270A/en
Application granted granted Critical
Publication of CN111753270B publication Critical patent/CN111753270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

One embodiment of the present specification provides an application login authentication method, apparatus, device and storage medium, wherein the method includes: and acquiring a login request of a user for a target application program, wherein 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. And judging whether the user terminal is a legal terminal of the target application program or not according to the login request. And according to the judgment result, determining that the target application program is successfully logged in, or determining that the target application program is failed to be logged in.

Description

应用程序登录验证方法、装置、设备和存储介质App login verification method, device, device and storage medium

技术领域technical field

本文件涉及软件领域,尤其涉及一种应用程序登录验证方法、装置、设备和存储介质。This document relates to the field of software, and in particular to an application program login verification method, device, device and storage medium.

背景技术Background technique

用户登录应用程序时,应用程序的服务器需要对用户进行验证,比如验证用户的用户名和密码是否正确。考虑到黑客可能通过非法途径获取用户的用户名和密码,从而盗用用户账户的情况,服务器在对用户进行登录验证时,还需要验证用户本次登录所使用的终端是否为合法终端,合法终端可以是用户的常用终端。基于此,有必要提供一种技术方案,以验证用户登录所使用的终端是否为合法终端,从而提高应用程序的登录安全性。When a user logs in to the application, the server of the application needs to authenticate the user, such as verifying whether the user's username and password are correct. Considering that hackers may obtain the user's user name and password through illegal means, thereby stealing the user's account, when the server authenticates the user's login, it also needs to verify whether the terminal used by the user for this login is a legal terminal. The legal terminal can be The user's usual terminal. 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.

发明内容Contents of the invention

本说明书一个实施例的目的是提供一种应用程序登录验证方法、装置、设备和存储介质,以验证用户登录所使用的终端是否为合法终端,提高应用程序的登录安全性。The purpose of an embodiment of this specification is to provide a method, device, device and storage medium for verifying application login, so as to verify whether the terminal used by the user to log in is a legal terminal and improve the login security of the application.

为达到上述技术目的,本说明书一个实施例是这样实现的:In order to achieve the above-mentioned technical purpose, one embodiment of this specification is realized in this way:

本说明书一个实施例提供了一种应用程序登录验证方法,包括:获取用户针对目标应用程序的登录请求。所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息。根据所述登录请求,判断所述用户终端是否为所述目标应用程序的合法终端。根据判断结果,确定所述目标应用程序登录成功,或者,确定所述目标应用程序登录失败。An embodiment of this specification provides an application login verification method, including: acquiring a user's login request for a target application. The login request carries the user identifier of the user, the identifier of the target application program, and program data storage path information of the target application program in the user terminal of the user. According to the login request, it is judged whether the user terminal is a legal terminal of the target application program. According to the judgment result, it is determined that the login of the target application program is successful, or it is determined that the login of the target application program fails.

本说明书一个实施例提供了一种应用程序登录验证方法,包括:获取用户针对目标应用程序的登录请求。所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息。将所述登录请求发送至所述目标应用程序的服务器。所述登录请求用于所述服务器判断所述用户终端是否为所述目标应用程序的合法终端。接收所述服务器根据判断结果返回的登录成功消息或者登录失败消息。An embodiment of this specification provides an application login verification method, including: acquiring a user's login request for a target application. The login request carries the user identifier of the user, the identifier of the target application program, and program data storage path information of the target application program in the user terminal of the user. sending the login request to the server of the target application program. The login request is used by the server to judge whether the user terminal is a legal terminal of the target application program. Receive a login success message or a login failure message returned by the server according to the judgment result.

本说明书一个实施例提供了一种应用程序登录验证装置,包括:第一获取模块,获取用户针对目标应用程序的登录请求。所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息。判断模块,根据所述登录请求,判断所述用户终端是否为所述目标应用程序的合法终端。确定模块,根据判断结果,确定所述目标应用程序登录成功,或者,确定所述目标应用程序登录失败。An embodiment of this specification provides an application program login verification device, including: a first obtaining module, which obtains a user's login request for a target application program. The login request carries the user identifier of the user, the identifier of the target application program, and program data storage path information of the target application program in the user terminal of the user. A judging module, judging whether the user terminal is a legitimate terminal of the target application program according to the login request. The determining module determines that the target application program is successfully logged in according to the judgment result, or determines that the target application program fails to be logged in.

本说明书一个实施例提供了一种应用程序登录验证装置,包括:第二获取模块,获取用户针对目标应用程序的登录请求。所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息。第一发送模块,将所述登录请求发送至所述目标应用程序的服务器。所述登录请求用于所述服务器判断所述用户终端是否为所述目标应用程序的合法终端。接收模块,接收所述服务器根据判断结果返回的登录成功消息或者登录失败消息。An embodiment of this specification provides an application program login verification device, including: a second acquisition module, which acquires a user's login request for a target application program. The login request carries the user identifier of the user, the identifier of the target application program, and program data storage path information of the target application program in the user terminal of the user. The first sending module sends the login request to the server of the target application program. The login request is used by the server to judge whether the user terminal is a legal terminal of the target application program. The receiving module is configured to receive a login success message or a login failure message returned by the server according to the judgment result.

本说明书一个实施例提供了一种应用程序登录验证设备,包括:处理器以及被安排成存储计算机可执行指令的存储器。所述计算机可执行指令在被执行时使所述处理器实现上述所述的应用程序登录验证方法的步骤。An embodiment of the present specification provides an application login verification device, including: a processor and a memory arranged to store computer-executable instructions. When executed, the computer-executable instructions enable the processor to implement the steps of the above-mentioned application program login verification method.

本说明书一个实施例提供了一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被执行时实现上述所述的应用程序登录验证方法的步骤。An embodiment of the present specification provides a storage medium for storing computer-executable instructions, and when the computer-executable instructions are executed, the steps of the above-mentioned application program login verification method are implemented.

附图说明Description of drawings

为了更清楚地说明本说明书一个或多个实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in one or more embodiments of this specification, the following will briefly introduce the drawings that need to be used in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some embodiments described in this specification. Those skilled in the art can also obtain other drawings based on these drawings without any creative effort.

图1为本说明书一实施例提供的应用程序登录验证方法的场景示意图;FIG. 1 is a schematic diagram of a scenario of an application login verification method provided by an embodiment of this specification;

图2为本说明书一实施例提供的应用程序登录验证方法的流程示意图;FIG. 2 is a schematic flowchart of an application login verification method provided by an embodiment of this specification;

图3为本说明书另一实施例提供的应用程序登录验证方法的流程示意图;FIG. 3 is a schematic flowchart of an application login verification method provided by another embodiment of this specification;

图4为本说明书一实施例提供的应用程序登录验证装置的示意图;FIG. 4 is a schematic diagram of an application program login verification device provided by an embodiment of this specification;

图5为本说明书另一实施例提供的应用程序登录验证装置的示意图;FIG. 5 is a schematic diagram of an application program login verification device provided by another embodiment of this specification;

图6为本说明书一实施例提供的应用程序登录验证设备的结构示意图。FIG. 6 is a schematic structural diagram of an application login verification device provided by an embodiment of this specification.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本说明书一个或多个实施例中的技术方案,下面将结合本说明书一个或多个实施例中的附图,对本说明书一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书一个或多个实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本文件的保护范围。In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will describe the technical solutions in one or more embodiments of this specification in conjunction with the drawings in one or more embodiments of this specification The technical solution is clearly and completely described, and obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on one or more embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this document.

本说明书一个实施例的目的是提供一种应用程序登录验证方法、装置、设备和存储介质,以验证用户登录所使用的终端是否为合法终端,提高应用程序的登录安全性。The purpose of an embodiment of this specification is to provide a method, device, device and storage medium for verifying application login, so as to verify whether the terminal used by the user to log in is a legal terminal and improve the login security of the application.

图1为本说明书一实施例提供的应用程序登录验证方法的场景示意图,如图1所示,该场景包括用户终端和应用程序登录验证设备,其中用户终端包括但不限于如图1中所示的平板电脑101、手机102、台式电脑103、笔记本电脑104,应用程序登录验证设备包括但不限于如图1中所示的目标应用程序的服务器200。本说明书一实施例中的应用程序登录验证方法可以应用于图1所示的场景中,从而验证用户登录所使用的终端是否为合法终端,提高应用程序的登录安全性。Figure 1 is a schematic diagram of a scenario of an application login verification method provided by an embodiment of this specification. As shown in Figure 1, the scenario includes a user terminal and an application login verification device, where the user terminal includes but is not limited to the one shown in Figure 1 The tablet computer 101, the mobile phone 102, the desktop computer 103, the notebook computer 104, and the application program login verification device include but not limited to the server 200 of the target application program as shown in FIG. 1 . The application login verification method in an embodiment of this specification can be applied to the scenario shown in FIG. 1 , so as to verify whether the terminal used by the user for login is a legitimate terminal, and improve the login security of the application.

图2为本说明书一实施例提供的应用程序登录验证方法的流程示意图,该方法可以由目标应用程序的服务器执行,也可以由用户终端执行,如图2所示,该流程包括以下步骤:Fig. 2 is a schematic flow diagram of an application login verification method provided by an embodiment of this specification. The method can be executed by the server of the target application or by the user terminal. As shown in Fig. 2, the flow includes the following steps:

步骤S202,获取用户针对目标应用程序的登录请求;登录请求中携带有用户的用户标识、目标应用程序的标识和目标应用程序在该用户的用户终端中的程序数据存储路径信息;Step S202, obtaining the user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, and the program data storage path information of the target application program in the user terminal of the user;

步骤S204,根据登录请求,判断该用户终端是否为目标应用程序的合法终端;Step S204, judging whether the user terminal is a legal terminal of the target application program according to the login request;

步骤S206,根据判断结果,确定目标应用程序登录成功,或者,确定目标应用程序登录失败。Step S206, according to the judgment result, it is determined that the login of the target application program is successful, or it is determined that the login of the target application program fails.

本实施例中,在用户请求登录目标应用程序时,可以获取登录请求,登录请求包括目标应用程序在用户的用户终端中的程序数据存储路径信息,并根据登录请求判断用户终端是否为目标应用程序的合法终端,达到了基于目标应用程序的程序数据存储路径信息,验证用户登录所使用的终端是否为合法终端的效果,提高了应用程序的登录安全性。In this embodiment, when the user requests to log in the target application program, the login request can be obtained, and the login request includes the program data storage path information of the target application program in the user terminal of the user, and judges whether the user terminal is the target application program according to the login request It achieves the effect of verifying whether the terminal used by the user to log in is a legal terminal based on the program data storage path information of the target application program, and improves the login security of the application program.

上述步骤S202中,获取用户针对目标应用程序的登录请求。当本实施例中的方法由用户终端执行时,用户终端可以接收用户针对目标应用程序的登录操作,如点击登录按钮的操作,从而获取到用户针对目标应用程序的登录请求。当本实施例中的方法由服务器执行时,用户终端通过如上方式获取到用户针对目标应用程序的登录请求后,将该登录请求转发至服务器,从而使服务器获取到用户针对目标应用程序的登录请求。In the above step S202, the user's login request for the target application program is obtained. When the method in this embodiment is executed by the user terminal, the user terminal may receive the user's login operation for the target application, such as clicking a login button, so as to obtain the user's login request for the target application. When the method in this embodiment is executed by the server, after the user terminal obtains the user's login request for the target application in the above manner, it forwards the login request to the server, so that the server obtains the user's login request for the target application .

目标应用程序可以为任意带有登录功能的应用程序,这里不做限定。用户针对目标应用程序的登录请求中携带有用户的用户标识、目标应用程序的标识和目标应用程序在该用户的用户终端中的程序数据存储路径信息。The target application program can be any application program with a login function, which is not limited here. The user's login request for the target application program carries the user ID of the user, the ID 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 identifier of the user may be at least one of the user's username in the target application program, the user's mobile phone number, and the user's real name. The identifier of the target application may be the name of the target application.

目标应用程序在该用户的用户终端中的程序数据存储路径信息指的是目标应用程序在用户终端中安装后,目标应用程序的程序数据的存储地址。具体地,目标应用程序每次在用户终端中安装后,用户终端均会为目标应用程序分配程序数据存储路径,并生成程序数据存储路径信息,程序数据存储路径信息可以具体化为存储路径,比如“C/wenjian/goal”,也可以具体化为一串数字,比如“2309909309”,该串数字又可以称为文件路径节点信息或文件节点参数。The program data storage path information of the target application in the user terminal of the user refers to the storage address of the program data of the target application after the target application is installed in the user terminal. Specifically, each time the target application is installed in the user terminal, the user terminal will allocate a program data storage path for the target application and generate program data storage path information. The program data storage path information can be embodied as a storage path, such as "C/wenjian/goal" can also be embodied as a series of numbers, such as "2309909309", which can also be called file path node information or file node parameters.

目标应用程序的程序数据存储路径信息可以由用户终端的操作系统生成。目标应用程序在同一用户终端中每次卸载安装后,操作系统都为目标应用程序生成不同的程序数据存储路径信息。在同一终端中,不同目标应用程序的程序数据存储路径信息各不相同。同一目标应用程序在不同用户终端中安装后,其程序数据存储路径信息也各不相同。并且,在用户终端中,只有目标应用程序自身可以从操作系统处获取其自身的程序数据存储路径信息,并访问其自身的程序数据存储路径。由此可见,目标应用程序的程序数据存储路径信息为操作系统级别的参数,仅有目标应用程序自身可以获取到,具有唯一性。The program data storage path information of the target application program may be generated by the 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. In the same terminal, the program data storage path information of different target applications is different. After the same target application program is installed in different user terminals, its program data storage path information is also different. Moreover, in the user terminal, only the target application program itself can obtain 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 a parameter at the operating system level, and only the target application program itself can obtain it, which is unique.

上述步骤S204中,根据登录请求,判断该用户终端是否为目标应用程序的合法终端。该步骤可以由用户终端执行也可以由服务器执行。In the above step S204, according to the login request, it is judged whether the user terminal is a legal terminal of the target application program. This step can be performed by the user terminal or by the server.

一个实施例中,根据登录请求,判断该用户终端是否为目标应用程序的合法终端,具体包括:In one embodiment, according to the login request, it is judged whether the user terminal is a legitimate terminal of the target application program, specifically including:

(a1)根据用户标识和目标应用程序的标识,获取目标应用程序对应的合法程序数据存储路径信息;(a1) 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;

(a2)若登录请求中的程序数据存储路径信息与获取的合法程序数据存储路径信息相同,则确定用户终端为目标应用程序的合法终端,反之,确定用户终端不为目标应用程序的合法终端。(a2) If the program data storage path information in the login request is the same as the acquired legitimate program data storage path information, then determine that the user terminal is a legitimate terminal of the target application, otherwise, determine that the user terminal is not a legitimate terminal of the target application.

本实施例中,预先存储有用户标识、目标应用程序的标识和目标应用程序对应的合法程序数据存储路径信息之间的对应关系,比如,针对每个用户的每个目标应用程序,存储有该用户的用户标识、该目标应用程序的标识与该目标应用程序对应的合法程序数据存储路径信息之间的对应关系。该对应关系可以如下表1所示。In this embodiment, the corresponding relationship between the user identifier, the identifier of the target application program, and the 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, the corresponding relationship is stored. Correspondence between the user ID of the user, the ID of the target application program, and the legitimate program data storage path information corresponding to the target application program. The corresponding relationship can be shown in Table 1 below.

表1Table 1

Figure BDA0002557338890000051
Figure BDA0002557338890000051

当本实施例由用户终端执行时,该对应关系可以存储在用户终端内,当本实施例由服务器执行时,该对应关系可以存储在服务器或数据库内。When this embodiment is executed by a user terminal, the corresponding relationship can be stored in the user terminal; when this embodiment is executed by a server, the corresponding relationship can be stored in a server or a database.

本实施例中,根据上述对应关系,获取登录请求中的用户标识和目标应用程序的标识对应的合法程序数据存储路径信息。然后判断登录请求中的程序数据存储路径信息是否与获取的合法程序数据存储路径信息相同,若相同,则确定用户终端为目标应用程序的合法终端,若不同,则确定用户终端不为目标应用程序的合法终端。In this embodiment, according to the above correspondence, the legitimate program data storage path information corresponding to the user identifier in the login request and the identifier of the target application program is acquired. Then judge whether the program data storage path information in the login request is identical to the legal program data storage path information obtained, if identical, then determine that the user terminal is a legal terminal of the target application program, if different, then determine that the user terminal is not the target application program legal terminal.

该实施例中,在获取用户针对目标应用程序的登录请求之前,可以通过以下方式获取与上述用户标识和目标应用程序的标识对应的合法程序数据存储路径信息:In this embodiment, before obtaining the user's login request for the target application program, the legitimate program data storage path information corresponding to the user ID and the target application program ID can be obtained in the following manner:

(a11)在用户首次登录目标应用程序后,获取用户首次登录目标应用程序所使用的用户终端内的目标应用程序的程序数据存储路径信息;(a11) After the user logs in the target application program for the first time, obtain the program data storage path information of the target application program in the user terminal used by the user to log in the target application program for the first time;

(a12)将获取的程序数据存储路径信息作为目标应用程序对应的合法程序数据存储路径信息。(a12) Use the acquired program data storage path information as legal program data storage path information corresponding to the target application program.

具体地,以用户小李首次登录目标应用程序abc为例,获取小李首次登录目标应用程序abc所使用的用户终端内的,目标应用程序abc的程序数据存储路径信息,将该信息作为与用户标识“小李”和目标应用程序标识“abc”对应的合法程序数据存储路径信息。Specifically, taking the user Xiao Li's first login to the target application program abc as an example, obtain the program data storage path information of the target application program abc in the user terminal used by Xiao Li to log in to the target application program abc for the first time, and use this information as a link with the user The legal program data storage path information corresponding to the identifier "Xiao Li" and the target application identifier "abc".

可见,合法程序数据存储路径信息是用户首次登录目标应用程序时,目标应用程序在用户所使用的用户终端内的存储路径信息。基于此,上述步骤S204中,通过获取合法程序数据存储路径信息,并比较登录请求中的程序数据存储路径信息与合法程序数据存储路径信息是否相同,能够基于程序数据存储路径信息在不同用户终端中各不相同的特点,准确判断出用户当前登录所使用的用户终端是否为用户首次登录所使用的用户终端,也即判断出是否存在用户更换终端登录目标应用程序的情况,从而防止用户帐号被盗用,提高应用程序的登录安全性。It can be seen that the legitimate 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 obtaining the legitimate program data storage path information, and comparing whether the program data storage path information in the login request is the same as the legitimate program data storage path information, it is possible to use the program data storage path information in different user terminals Different characteristics, accurately determine whether the user terminal used by the user to log in is the user terminal used by the user to log in for the first time, that is, to determine whether there is a situation where the user changes the terminal to log in to the target application, so as to prevent the user account from being stolen , to improve the login security of the application.

在另一实施例中,登录请求中还包括用户终端的终端标识,终端标识可以为终端名称、MAC地址(Media Access Control Address,媒体存取控制位址)、IMEI(International Mobile Equipment Identity,国际移动设备识别码)等。相应的,根据登录请求,判断上述用户终端是否为目标应用程序的合法终端,具体包括:In another embodiment, the login request also includes the terminal identifier of the user terminal, and the terminal identifier can 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 Device ID), etc. Correspondingly, according to the login request, it is judged whether the above-mentioned user terminal is a legal terminal of the target application program, specifically including:

(b1)根据用户标识和目标应用程序的标识,获取目标应用程序对应的合法程序数据存储路径信息和目标应用程序对应的合法终端标识;合法终端标识可以为终端名称、MAC地址、IMEI等;(b1) Obtain the legal program data storage path information corresponding to the target application program and the 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 identification can be terminal name, MAC address, IMEI, etc.;

(b2)若登录请求中的程序数据存储路径信息与合法程序数据存储路径信息相同,且,登录请求中的用户终端的终端标识与合法终端标识相同,则确定用户终端为目标应用程序的合法终端,反之,确定用户终端不为目标应用程序的合法终端。(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 ID of the user terminal in the login request is the same as the legal terminal ID, then determine that the user terminal is the legal terminal of the target application program , otherwise, it is determined that the user terminal is not a legal terminal of the target application program.

本实施例中,预先存储有用户标识、目标应用程序的标识、目标应用程序对应的合法程序数据存储路径信息和目标应用程序对应的合法终端标识之间的对应关系,比如,针对每个用户的每个目标应用程序,存储有该用户的用户标识、该目标应用程序的标识、该目标应用程序对应的合法程序数据存储路径信息和该目标应用程序对应的合法终端标识之间的对应关系。该对应关系可以如下表2所示。In this embodiment, the corresponding relationship between the user ID, the ID of the target application program, the storage path information of the legal program data corresponding to the target application program, and the legal terminal ID corresponding to the target application program is stored in advance, for example, for each user Each target application program stores the corresponding relationship between the user ID of the user, the ID of the target application program, the storage path information of legal program data corresponding to the target application program, and the legal terminal ID corresponding to the target application program. The corresponding relationship can be shown in Table 2 below.

表2Table 2

Figure BDA0002557338890000071
Figure BDA0002557338890000071

当本实施例由用户终端执行时,该对应关系可以存储在用户终端内,当本实施例由服务器执行时,该对应关系可以存储在服务器或数据库内。When this embodiment is executed by a user terminal, the corresponding relationship can be stored in the user terminal; when this embodiment is executed by a server, the corresponding relationship can be stored in a server or a database.

本实施例中,根据上述对应关系,获取登录请求中的用户标识和目标应用程序的标识对应的合法程序数据存储路径信息,以及,获取登录请求中的用户标识和目标应用程序的标识对应的合法终端标识。然后判断登录请求中的程序数据存储路径信息是否与获取的合法程序数据存储路径信息相同,以及,判断登录请求中的终端标识是否与获取的合法终端标识相同,若二者均相同,则确定用户终端为目标应用程序的合法终端,否则,则确定用户终端不为目标应用程序的合法终端。In this embodiment, according to the above corresponding relationship, obtain the legal program data storage path information corresponding to the user ID in the login request and the target application program ID, and obtain the legal program data storage path information corresponding to the user ID in the login request and the target application program ID. Terminal ID. Then judge whether the program data storage path information in the login request is the same as the legal program data storage path information obtained, and judge whether the terminal identifier in the login request is the same as the legal terminal identifier obtained, if both are the same, then determine the user If the terminal is a legal terminal of the target application program, otherwise, it is determined that the user terminal is not a legal terminal of the target application program.

该实施例中,在获取用户针对目标应用程序的登录请求之前,可以通过以下方式获取与上述用户标识和目标应用程序的标识对应的合法程序数据存储路径信息和合法终端标识:In this embodiment, before obtaining the user's login request for the target application program, the legal program data storage path information and legal terminal ID corresponding to the user ID and the target application program ID can be obtained in the following manner:

(b11)在用户首次登录目标应用程序后,获取用户首次登录目标应用程序所使用的用户终端内的目标应用程序的程序数据存储路径信息,以及,获取用户首次登录目标应用程序所使用的用户终端的终端标识;(b11) After the user logs in to the target application for the first time, obtain the program data storage path information of the target application in the user terminal used by the user to log in to the target application for the first time, and obtain the user terminal used by the user to log in to the target application for the first time terminal identification;

(b12)将获取的程序数据存储路径信息作为目标应用程序对应的合法程序数据存储路径信息,将获取的终端标识作为目标应用程序对应的合法终端标识。(b12) Use the acquired program data storage path information as the legal program data storage path information corresponding to the target application program, and use the acquired terminal identification as the legal terminal identification corresponding to the target application program.

可见,合法程序数据存储路径信息是用户首次登录目标应用程序时,目标应用程序在用户所使用的用户终端内的存储路径信息。合法终端标识是用户首次登录目标应用程序时,用户所使用的用户终端的终端标识。基于此,上述步骤S204中,通过获取合法程序数据存储路径信息,并比较登录请求中的程序数据存储路径信息与合法程序数据存储路径信息是否相同,以及,通过获取合法终端标识,并比较登录请求中的终端标识与合法终端标识是否相同,能够基于程序数据存储路径信息在不同用户终端中各不相同的特点和不同终端的终端标识各不相同的特点,准确判断出用户当前登录所使用的用户终端是否为用户首次登录所使用的用户终端,也即判断出是否存在用户更换终端登录目标应用程序的情况,从而防止用户帐号被盗用,提高应用程序的登录安全性。It can be seen that the legitimate 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 legitimate terminal ID is the terminal ID of the user terminal used by the user when the user logs in to the target application program for the first time. Based on this, in the above step S204, by obtaining the legitimate program data storage path information, and comparing whether the program data storage path information in the login request is the same as the legitimate program data storage path information, and by obtaining the legal terminal identifier, and comparing the log-in request Whether the terminal ID in the ID is the same as the legal terminal ID can accurately determine the user currently logged in based on the different characteristics of the program data storage path information in different user terminals and the different characteristics of the terminal IDs of different terminals. Whether the terminal is the user terminal used by the user to log in for the first time, that is, to determine whether there is a situation that the user changes the terminal to log in to the target application, so as to prevent the user account from being stolen and improve the login security of the application.

上述步骤S206中,根据判断结果,确定目标应用程序登录成功,或者,确定目标应用程序登录失败。具体地,若判断结果表示用户终端为合法终端,则确定目标应用程序登录成功,若判断结果表示用户终端不为合法终端,则确定目标应用程序登录失败。In the above step S206, according to the judgment result, it is determined that the login of the target application program is successful, or it is determined that the login of the target application program fails. Specifically, if the judgment result indicates that the user terminal is a legitimate terminal, it is determined that the target application has successfully logged in, and if the judgment result indicates that the user terminal is not a legitimate terminal, it is determined that the target application has failed to log in.

考虑到用户存在更换合法终端的需求,本实施例中,在确定目标应用程序登录失败后,还可以实现以下流程:Considering that the user needs to replace a legitimate terminal, in this embodiment, after it is determined that the target application fails to log in, the following process can also be implemented:

(c1)获取用户针对目标应用程序的合法终端设置指令;合法终端设置指令用于将步骤S202中的用户终端设置为目标应用程序的合法终端;(c1) Obtain the user's legal terminal setting instruction for the target application program; the legal terminal setting instruction is used to set the user terminal in step S202 as a legal terminal of the target application program;

(c2)根据合法终端设置指令,将步骤S202中用户终端设置为目标应用程序的合法终端。(c2) According to the legal terminal setting instruction, set the user terminal in step S202 as the legal terminal of the target application program.

具体地,当确定目标应用程序登录失败后,用户终端可以弹出询问信息以询问用户是否设置步骤S202中的用户终端为合法终端,若用户选择是,则用户终端获取用户针对目标应用程序的合法终端设置指令。合法终端设置指令用于将步骤S202中的用户终端设置为目标应用程序的合法终端。Specifically, when it is determined that the target application fails to log in, the user terminal may pop up an inquiry message to ask 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 the user's legal terminal for the target application. Set instructions. The legal terminal setting instruction is used to set the user terminal in step S202 as a legal terminal of the target application.

为保证账号安全,合法终端设置指令中可以携带有用户的人脸图像或身份证图像等高级别的认证信息,以保证是在用户本人的情况下进行合法终端设置。服务器或用户终端根据合法终端设置指令,将步骤S202中用户终端设置为目标应用程序的合法终端,从而满足用户更换合法终端的需求。In order to ensure the security of the account, the legal terminal setting instruction can carry high-level authentication information such as the user's face image or ID card image, so as to ensure that the legal terminal setting is performed under the user's own circumstances. According to the legal terminal setting instruction, the server or the user terminal sets the user terminal in step S202 as the legal terminal of the target application program, so as to satisfy the user's requirement of changing the legal terminal.

当上述动作(c1)和(c2)由用户终端执行时,用户终端可以根据用户操作,获取用户针对目标应用程序的合法终端设置指令,根据合法终端设置指令,将用户终端设置为目标应用程序的合法终端。当上述动作(c1)和(c2)由服务器执行时,用户终端可以根据用户操作,获取用户针对目标应用程序的合法终端设置指令,将该指令发送至服务器,以使服务器根据合法终端设置指令,将用户终端设置为目标应用程序的合法终端。When the above actions (c1) and (c2) are performed by the user terminal, the user terminal can obtain the user's legal terminal setting instruction for the target application program according to the user operation, and set the user terminal as the target application program according to the legal terminal setting instruction. legal terminal. When the above actions (c1) and (c2) are performed by the server, the user terminal can obtain the user's legal terminal setting instruction for the target application program according to the user operation, and send the instruction to the server, so that the server can follow the legal terminal setting instruction, Sets the user terminal as a legitimate terminal for the target application.

综上,目标应用程序的程序数据存储路径信息是用户终端的操作系统为目标应用程序生成的信息,其他程序无法获取该信息。且在同一终端中,每次目标应用程序卸载安装后,该信息都会发生变动。在同一终端中,不同目标应用程序的程序数据存储路径信息也各不相同。对于同一个目标应用程序而言,其在不同的用户终端中的程序数据存储路径信息也各不相同。因此,目标应用程序的程序数据存储路径信息具有唯一性。To sum up, 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 obtain this information. And in the same terminal, the information will change each time the target application program is uninstalled and installed. In the same terminal, the program data storage path information of different target application programs is also different. For the same target application program, its program data storage path information in different user terminals is also different. Therefore, the program data storage path information of the target application program is unique.

通过上述实施例中的应用程序登录验证方法,能够在用户请求登录目标应用程序时,利用目标应用程序的程序数据存储路径信息的唯一性,验证用户是否切换终端登录,提高应用程序的登录安全性。即便目标应用程序的数据完全被拷贝至新的终端中,或者在应用程序被hook的场景下,通过上述实施例中的方法,依然可以达到识别目标应用程序跨终端登录的效果,提高应用程序的登录安全性。Through the application program login verification method in the above embodiment, when the user requests to log in to the target application program, the uniqueness of the program data storage path information of the target application program can be used to verify whether the user switches terminal login, thereby improving the login security of the application program . Even if the data of the target application program is completely copied to the new terminal, or in the scenario where the application program is hooked, the method in the above embodiment can still achieve the effect of identifying the cross-terminal login of the target application program and improve the security of the application program. Login security.

图3为本说明书另一实施例提供的应用程序登录验证方法的流程示意图,该方法可以由用户终端执行,如图3所示,该流程包括以下步骤:FIG. 3 is a schematic flow diagram of an application login verification method provided by another embodiment of this specification. The method can be executed by a user terminal. As shown in FIG. 3 , the flow includes the following steps:

步骤S302,获取用户针对目标应用程序的登录请求;该登录请求中携带有用户的用户标识、目标应用程序的标识和目标应用程序在用户的用户终端中的程序数据存储路径信息;Step S302, obtaining the user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, and the program data storage path information of the target application program in the user's user terminal;

步骤S304,将上述登录请求发送至目标应用程序的服务器,登录请求用于服务器判断用户终端是否为目标应用程序的合法终端;Step S304, sending the above login request to the server of the target application, and the login request is used by the server to determine whether the user terminal is a legal terminal of the target application;

步骤S306,接收服务器根据判断结果返回的登录成功消息或者登录失败消息。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 the user requests to log in the target application program, the login request can be obtained, and the login request includes the program data storage path information of the target application program in the user terminal of the user, and judges whether the user terminal is the target application program according to the login request It achieves the effect of verifying whether the terminal used by the user to log in is a legal terminal based on the program data storage path information of the target application program, and improves the login security of the application program.

上述步骤S302中,获取用户针对目标应用程序的登录请求,具体为:响应于用户针对目标应用程序的启动操作,获取用户针对目标应用程序的登录请求;或者,响应于用户针对目标应用程序的登录操作,获取用户针对目标应用程序的登录请求。In the above step S302, the user's login request for the target application is obtained, specifically: in response to the user's start operation for the target application, obtaining the user's login request for the target application; or, in response to the user's login for the target application Action to get the user's login request for the target application.

具体地,用户通过点击操作或其他操作启动目标应用程序时,若用户之前登录过目标应用程序,则用户终端获取用户针对目标应用程序的登录请求。该场景为每次用户启动程序时用户无感知登录的场景,以降低对用户的打扰。或者,用户通过点击操作点击“登录”按钮时,用户终端获取用户针对目标应用程序的登录请求。上述步骤S302的其他解释可以参考前述步骤S202的描述,这里不再重复。Specifically, when the user starts the target application program through a click operation or other operations, if the user has logged in the target application program before, the user terminal obtains the user's login request for the target application program. This scenario is a scenario in which the user logs in unconsciously every time the user starts the program, so as to reduce disturbance to the user. Alternatively, when the user clicks the "login" button through a click operation, the user terminal obtains the user's login request for the target application program. For other explanations of the above step S302, reference may be made to the description of the foregoing step S202, which will not be repeated here.

上述步骤S304中,用户终端将登录请求发送至目标应用程序的服务器,以使目标应用程序的服务器判断用户当前所使用的用户终端是否为目标应用程序的合法终端。In the above 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.

根据图2的描述可知,需要获取合法程序数据存储路径信息。基于此,一个实施例中,当上述用户终端为用户首次登录目标应用程序所使用的终端时,在获取用户针对目标应用程序的登录请求之前,用户终端还可以实现以下流程:According to the description in FIG. 2 , it is necessary to obtain the storage path information of legal program data. Based on this, in one embodiment, when the above-mentioned user terminal is the terminal used by the user to log in to the target application program for the first time, before obtaining the user's login request for the target application program, the user terminal may also implement the following process:

在用户首次登录目标应用程序后,向服务器发送目标应用程序在用户终端中的程序数据存储路径信息,该目标应用程序在用户终端中的程序数据存储路径信息用于被服务器设置为目标应用程序对应的合法程序数据存储路径信息。After the user logs in the target application program for the first time, the program data storage path information of the target application program in the user terminal is sent to the server. The program data storage path information of the target application program in the user terminal is used to be set by the server as the target application program corresponding Legitimate program data storage path information.

通过该流程,能够使服务器获取合法程序数据存储路径信息,以便于服务器判断合法程序数据存储路径信息与登录请求中的程序数据存储路径信息是否相同,从而进行合法终端的验证工作。Through this process, the server can obtain the legitimate program data storage path information, so that the server can judge whether the legitimate program data storage path information is the same as the program data storage path information in the login request, so as to verify the legitimate terminal.

根据图2的描述可知,需要获取合法程序数据存储路径信息和合法终端标识。基于此,另一个实施例中,登录请求还包括用户终端的终端标识。当上述用户终端为用户首次登录目标应用程序所使用的终端时,在获取用户针对目标应用程序的登录请求之前,用户终端还可以实现以下流程:According to the description in FIG. 2 , it is necessary to obtain the legal program data storage path information and the legal terminal identifier. Based on this, in another embodiment, the login request further includes a terminal identifier of the user terminal. When the aforementioned user terminal is the terminal used by the user to log in to the target application program for the first time, before obtaining the user's login request for the target application program, the user terminal may also implement the following process:

在用户首次登录目标应用程序后,向服务器发送目标应用程序在用户终端中的程序数据存储路径信息和用户终端的终端标识,目标应用程序在用户终端中的程序数据存储路径信息用于被服务器设置为目标应用程序对应的合法程序数据存储路径信息,用户终端的终端标识用于被服务器设置为目标应用程序对应的合法终端标识。After the user logs in the target application program for the first time, the program data storage path information of the target application program in the user terminal and the terminal identification of the user terminal are sent to the server, and the program data storage path information of the target application program in the user terminal is used to be set by the server The path information is stored for legal program data corresponding to the target application, and the terminal identifier of the user terminal is used to be set by the server as the legal terminal identifier corresponding to the target application.

通过该流程,能够使服务器获取合法程序数据存储路径信息和合法终端标识,以便于服务器判断合法程序数据存储路径信息与登录请求中的程序数据存储路径信息是否相同,以及判断合法终端标识与登录请求中的终端标识是否相同,从而进行合法终端的验证工作。Through this process, the server can obtain the legal program data storage path information and the legal terminal ID, 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, and judge whether the legal terminal ID is consistent with the login request. Whether the terminal identifiers in the terminal are the same, so as to verify the legal terminal.

上述步骤S306中,用户终端还接收服务器返回的登录成功消息或者登录失败消息。In the above step S306, the user terminal further 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 process:

根据登录失败消息,显示合法终端设置页面;According to the login failure message, the legal terminal setting page is displayed;

接收用户基于合法终端设置页面发送的合法终端设置指令;合法终端设置指令用于将用户终端设置为目标应用程序的合法终端;Receive the legal terminal setting instruction sent by the user based on the legal terminal setting page; the legal terminal setting instruction is used to set the user terminal as the legal terminal of the target application;

将合法终端设置指令发送至服务器,以将用户终端设置为目标应用程序的合法终端。A legal terminal setting instruction is sent to the server to set the user terminal as a legal terminal of the target application program.

具体地,当确定目标应用程序登录失败后,用户终端可以显示合法终端设置页面,在该页面中通过询问信息以询问用户是否设置步骤S302中的用户终端为合法终端,若用户选择是,则用户终端获取用户针对目标应用程序的合法终端设置指令。合法终端设置指令用于将步骤S302中的用户终端设置为目标应用程序的合法终端。用户终端将该指令发送至服务器,以使服务器根据合法终端设置指令,将用户终端设置为目标应用程序的合法终端,从而满足用户更换合法终端的需求。为保证账号安全,合法终端设置指令中可以携带有用户的人脸图像或身份证图像等高级别的认证信息,以保证是在用户本人的情况下进行合法终端设置。Specifically, when it is determined that the target application program fails to log in, the user terminal can display a legal terminal setting page, in which information is asked to ask the user whether to set the user terminal in step S302 as a legal terminal, if the user selects yes, the user The terminal obtains the user's legal terminal setting instruction for the target application program. 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 the legal terminal of the target application program according to the legal terminal setting instruction, so as to satisfy the user's demand for replacing the legal terminal. In order to ensure the security of the account, the legal terminal setting instruction can carry high-level authentication information such as the user's face image or ID card image, so as to ensure that the legal terminal setting is performed under the user's own circumstances.

综上,目标应用程序的程序数据存储路径信息是用户终端的操作系统为目标应用程序生成的信息,其他程序无法获取该信息。且在同一终端中,每次目标应用程序卸载安装后,该信息都会发生变动。在同一终端中,不同目标应用程序的程序数据存储路径信息也各不相同。对于同一个目标应用程序而言,其在不同的用户终端中的程序数据存储路径信息也各不相同。因此,目标应用程序的程序数据存储路径信息具有唯一性。To sum up, 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 obtain this information. And in the same terminal, the information will change each time the target application program is uninstalled and installed. In the same terminal, the program data storage path information of different target application programs is also different. For the same target application program, its program data storage path information in different user terminals is also different. Therefore, the program data storage path information of the target application program is unique.

通过上述实施例中的应用程序登录验证方法,能够在用户请求登录目标应用程序时,利用目标应用程序的程序数据存储路径信息的唯一性,验证用户是否切换终端登录,提高应用程序的登录安全性。即便目标应用程序的数据完全被拷贝至新的终端中,或者在应用程序被hook的场景下,通过上述实施例中的方法,依然可以达到识别目标应用程序跨终端登录的效果,提高应用程序的登录安全性。Through the application program login verification method in the above embodiment, when the user requests to log in to the target application program, the uniqueness of the program data storage path information of the target application program can be used to verify whether the user switches terminal login, thereby improving the login security of the application program . Even if the data of the target application program is completely copied to the new terminal, or in the scenario where the application program is hooked, the method in the above embodiment can still achieve the effect of identifying the cross-terminal login of the target application program and improve the security of the application program. Login security.

图4为本说明书一实施例提供的应用程序登录验证装置的示意图,如图4所示,该装置包括:Fig. 4 is a schematic diagram of an application login verification device provided by an embodiment of this specification. As shown in Fig. 4, the device includes:

第一获取模块41,获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;The first acquiring module 41 is configured to acquire a user's login request for a target application; the login request carries the user ID of the user, the ID of the target application, and the target application on the user terminal of the user The program data storage path information in ;

判断模块42,根据所述登录请求,判断所述用户终端是否为所述目标应用程序的合法终端;Judging module 42, judging whether the user terminal is a legal terminal of the target application program according to the login request;

确定模块43,根据判断结果,确定所述目标应用程序登录成功,或者,确定所述目标应用程序登录失败。The determination module 43 determines, according to the judgment result, that the login of the target application program is successful, or determines that the login of the target application program fails.

可选地,所述判断模块42:根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息;若所述登录请求中的所述程序数据存储路径信息与所述合法程序数据存储路径信息相同,则确定所述用户终端为所述目标应用程序的合法终端,反之,确定所述用户终端不为所述目标应用程序的合法终端。Optionally, the judging module 42: according to the user identifier and the identifier of the target application, obtain the legitimate program data storage path information corresponding to the target application; if the program data in the login request If the storage path information is the same as the legitimate program data storage path information, it is determined that the user terminal is a legitimate terminal of the target application program; otherwise, it is determined that the user terminal is not a legitimate terminal of the target application program.

可选地,所述登录请求还包括所述用户终端的终端标识;相应的,所述判断模块42:根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息和所述目标应用程序对应的合法终端标识;若所述登录请求中的所述程序数据存储路径信息与所述合法程序数据存储路径信息相同,且,所述登录请求中的用户终端的终端标识与所述合法终端标识相同,则确定所述用户终端为所述目标应用程序的合法终端,反之,确定所述用户终端不为所述目标应用程序的合法终端。Optionally, the login request further includes the terminal identifier of the user terminal; correspondingly, the judging module 42: according to the user identifier and the identifier of the target application, obtain the valid program data storage path information and the legal terminal identifier 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 If the terminal ID of the user terminal is the same as the legal terminal ID, it is determined that the user terminal is a legal terminal of the target application program; otherwise, it is determined that the user terminal is not a legal terminal of the target application program.

可选地,所述装置还包括:第一数据设置模块,在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,获取所述用户首次登录所述目标应用程序所使用的用户终端内的所述目标应用程序的程序数据存储路径信息;将获取的程序数据存储路径信息作为所述目标应用程序对应的合法程序数据存储路径信息。Optionally, the device further includes: a first data setting module, before acquiring the user's login request for the target application, after the user logs in the target application for the first time, acquires The program data storage path information of the target application program in the user terminal used by the application program; the obtained program data storage path information is used as the legitimate program data storage path information corresponding to the target application program.

可选地,所述装置还包括:第二数据设置模块,在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,获取所述用户首次登录所述目标应用程序所使用的用户终端内的所述目标应用程序的程序数据存储路径信息,以及,获取所述用户首次登录所述目标应用程序所使用的用户终端的终端标识;将获取的程序数据存储路径信息作为所述目标应用程序对应的合法程序数据存储路径信息,将获取的终端标识作为所述目标应用程序对应的合法终端标识。Optionally, the device further includes: a second data setting module, before acquiring the user's login request for the target application, after the user logs in the target application for the first time, acquires the user's first login request for the target application. The program data storage path information of the target application program in the user terminal used by the application program, and obtain the terminal identification of the user terminal used by the user to log in to the target application program for the first time; store the acquired program data path The information is used as the legal program data storage path information corresponding to the target application program, and the obtained terminal identifier is used as the legal terminal identifier corresponding to the target application program.

可选地,所述装置还包括:第三数据设置模块,在确定所述目标应用程序登录失败后,获取所述用户针对目标应用程序的合法终端设置指令;所述合法终端设置指令用于将所述用户终端设置为所述目标应用程序的合法终端;根据所述合法终端设置指令,将所述用户终端设置为所述目标应用程序的合法终端。Optionally, the device further includes: a third data setting module, after determining that the target application fails to log in, obtain the user's legal terminal setting instruction for the target application; the legal terminal setting instruction is used to set the The user terminal is set as the legal terminal of the target application program; according to the legal terminal setting instruction, the user terminal is set as the legal terminal of the target application program.

本实施例中,在用户请求登录目标应用程序时,可以获取登录请求,登录请求包括目标应用程序在用户的用户终端中的程序数据存储路径信息,并根据登录请求判断用户终端是否为目标应用程序的合法终端,达到了基于目标应用程序的程序数据存储路径信息,验证用户登录所使用的终端是否为合法终端的效果,提高了应用程序的登录安全性。In this embodiment, when the user requests to log in the target application program, the login request can be obtained, and the login request includes the program data storage path information of the target application program in the user terminal of the user, and judges whether the user terminal is the target application program according to the login request It achieves the effect of verifying whether the terminal used by the user to log in is a legal terminal based on the program data storage path information of the target application program, and improves the login security of the application program.

本实施例中的应用程序登录验证装置能够实现上述图2中的应用程序登录验证方法的各个过程,并达到相同的效果和功能,这里不再重复。The application program login verification device in this embodiment can realize each process of the application program login verification method in FIG. 2 above, and achieve the same effect and function, which will not be repeated here.

图5为本说明书另一实施例提供的应用程序登录验证装置的示意图,如图5所示,该装置包括:Fig. 5 is a schematic diagram of an application login verification device provided by another embodiment of this specification. As shown in Fig. 5, the device includes:

第二获取模块51,获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;The second obtaining module 51 obtains a user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, and the target application program on the user terminal of the user The program data storage path information in ;

第一发送模块52,将所述登录请求发送至所述目标应用程序的服务器,所述登录请求用于所述服务器判断所述用户终端是否为所述目标应用程序的合法终端;The first sending module 52 is configured to send the login request to the 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;

接收模块53,接收所述服务器根据判断结果返回的登录成功消息或者登录失败消息。The receiving module 53 is configured to receive a login success message or a login failure message returned by the server according to the judgment result.

可选地,第二获取模块51,响应于所述用户针对所述目标应用程序的启动操作,获取所述用户针对目标应用程序的登录请求;或者,响应于所述用户针对所述目标应用程序的登录操作,获取所述用户针对目标应用程序的登录请求。Optionally, the second obtaining module 51 obtains the user's login request for the target application program in response to the user's start operation for the target application program; or, in response to the user's request for the target application program The login operation of the user obtains the login request of the user for the target application.

可选地,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;所述装置还包括:第二发送模块,在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息;所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息。Optionally, the user terminal is a terminal used by the user to log in to the target application program for the first time; the device further includes: a second sending module, before obtaining the user's login request for the target application program, in the After the user logs in the target application program for the first time, send the program data storage path information of the target application program in the user terminal to the server; the program data storage path information of the target application program in the user terminal It is used to be set by the server as the legitimate program data storage path information corresponding to the target application program.

可选地,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;所述登录请求还包括所述用户终端的终端标识;所述装置还包括:第三发送模块,在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息和所述用户终端的终端标识;所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息;所述用户终端的终端标识用于被所述服务器设置为所述目标应用程序对应的合法终端标识。Optionally, the user terminal is the terminal used by the user to log in to the target application program for the first time; the login request further includes a terminal identifier of the user terminal; the device further includes: a third sending module, Before acquiring the user's login request for the target application program, after the user logs in the target application program for the first time, send the program data storage path information of the target application program in the user terminal and the user's The terminal identification of the terminal; the program data storage path information of the target application program in the user terminal is used to be set by the server as the legitimate program data storage path information corresponding to the target application program; the terminal of the user terminal The identifier is used to be set by the server as a legal terminal identifier corresponding to the target application program.

可选地,所述装置还包括第四发送模块,在接收所述服务器根据判断结果返回的登录失败消息之后,根据所述登录失败消息,显示合法终端设置页面;接收所述用户基于所述合法终端设置页面发送的合法终端设置指令;所述合法终端设置指令用于将所述用户终端设置为所述目标应用程序的合法终端;将所述合法终端设置指令发送至所述服务器,以将所述用户终端设置为所述目标应用程序的合法终端。Optionally, the device further includes a fourth sending module, after receiving the login failure message returned by the server according to the judgment result, displaying a legal terminal setting page according to the login failure message; The legal terminal setting instruction sent by the terminal setting page; the legal terminal setting instruction is used to set the user terminal as the legal terminal of the target application program; the legal terminal setting instruction is sent to the server to set the The user terminal is set as the legal terminal of the target application program.

本实施例中,在用户请求登录目标应用程序时,可以获取登录请求,登录请求包括目标应用程序在用户的用户终端中的程序数据存储路径信息,并根据登录请求判断用户终端是否为目标应用程序的合法终端,达到了基于目标应用程序的程序数据存储路径信息,验证用户登录所使用的终端是否为合法终端的效果,提高了应用程序的登录安全性。In this embodiment, when the user requests to log in the target application program, the login request can be obtained, and the login request includes the program data storage path information of the target application program in the user terminal of the user, and judges whether the user terminal is the target application program according to the login request It achieves the effect of verifying whether the terminal used by the user to log in is a legal terminal based on the program data storage path information of the target application program, and improves the login security of the application program.

本实施例中的应用程序登录验证装置能够实现上述图3中的应用程序登录验证方法的各个过程,并达到相同的效果和功能,这里不再重复。The application program login verification device in this embodiment can implement the various processes of the application program login verification method in FIG. 3 above, and achieve the same effect and function, which will not be repeated here.

进一步地,本说明书一实施例还提供了一种应用程序登录验证设备,图6为本说明书一实施例提供的应用程序登录验证设备的结构示意图,如图6所示,应用程序登录验证设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器901和存储器902,存储器902中可以存储有一个或一个以上存储应用程序或数据。其中,存储器902可以是短暂存储或持久存储。存储在存储器902的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对应用程序登录验证设备中的一系列计算机可执行指令。更进一步地,处理器901可以设置为与存储器902通信,在应用程序登录验证设备上执行存储器902中的一系列计算机可执行指令。应用程序登录验证设备还可以包括一个或一个以上电源903,一个或一个以上有线或无线网络接口904,一个或一个以上输入输出接口905,一个或一个以上键盘906等。Further, an embodiment of this specification also provides an application login verification device. FIG. 6 is a schematic structural diagram of the application login verification device provided by an embodiment of this specification. As shown in FIG. 6 , the application login verification device can There are relatively large differences due to different configurations or performances, and may include one or more processors 901 and memories 902, and one or more storage applications or data may be stored in the memories 902. Wherein, the storage 902 may be a short-term storage or a persistent storage. The application program stored in the memory 902 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for logging the application program into the verification device. Furthermore, the processor 901 may be configured to communicate with the memory 902, and execute a series of computer-executable instructions in the memory 902 on the application program login verification device. The application login verification device may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input and output interfaces 905, one or more keyboards 906, and the like.

在一个具体的实施例中,应用程序登录验证设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对应用程序登录验证设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含的用于进行以下流程的计算机可执行指令:In a specific embodiment, the application program login verification device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, And each module may include a series of computer-executable instructions for the application program login verification device, and is configured to be executed by one or more processors to execute the computer-executable instructions included in the one or more programs for performing the following processes instruction:

获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;Obtain a user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, and the program data storage path of the target application program in the user terminal of the user information;

根据所述登录请求,判断所述用户终端是否为所述目标应用程序的合法终端;judging whether the user terminal is a legal terminal of the target application program according to the login request;

根据判断结果,确定所述目标应用程序登录成功,或者,确定所述目标应用程序登录失败。According to the judgment result, it is determined that the login of the target application program is successful, or it is determined that the login of the target application program fails.

可选地,计算机可执行指令在被执行时,根据所述登录请求,判断所述用户终端是否为所述目标应用程序的合法终端,包括:根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息;若所述登录请求中的所述程序数据存储路径信息与所述合法程序数据存储路径信息相同,则确定所述用户终端为所述目标应用程序的合法终端,反之,确定所述用户终端不为所述目标应用程序的合法终端。Optionally, when the computer-executable instructions are executed, judging whether the user terminal is a legal terminal of the target application according to the login request includes: according to the user identifier and the identifier of the target application , to obtain legal program data storage path information 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, then determine that the user terminal is the the legal terminal of the target application program, otherwise, it is determined that the user terminal is not a legal terminal of the target application program.

可选地,计算机可执行指令在被执行时,所述登录请求还包括所述用户终端的终端标识;相应的,根据所述登录请求,判断所述用户终端是否为所述目标应用程序的合法终端,包括:根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息和所述目标应用程序对应的合法终端标识;若所述登录请求中的所述程序数据存储路径信息与所述合法程序数据存储路径信息相同,且,所述登录请求中的用户终端的终端标识与所述合法终端标识相同,则确定所述用户终端为所述目标应用程序的合法终端,反之,确定所述用户终端不为所述目标应用程序的合法终端。Optionally, when the computer-executable instructions are executed, the login request further includes the terminal identifier of the user terminal; correspondingly, according to the login request, it is judged whether the user terminal is legal for the target application program. A terminal, comprising: according to the user identifier and the identifier of the target application, acquiring legal program data storage path information corresponding to the target application and a legal terminal identifier corresponding to the target application; if the login request contains The program data storage path information is the same as the legal program data storage path information, and the terminal identifier of the user terminal in the login request is the same as the legal terminal identifier, then it is determined that the user terminal is the target The legal terminal of the application program, otherwise, it is determined that the user terminal is not the legal terminal of the target application program.

可选地,计算机可执行指令在被执行时,还实现以下流程:在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,获取所述用户首次登录所述目标应用程序所使用的用户终端内的所述目标应用程序的程序数据存储路径信息;将获取的程序数据存储路径信息作为所述目标应用程序对应的合法程序数据存储路径信息。Optionally, when the computer-executable instructions are executed, the following process is further implemented: before obtaining the user's login request for the target application program, after the user logs in the target application program for the first time, obtain the user's first login request. The program data storage path information of the target application program in the user terminal used by the target application program; the obtained program data storage path information is used as the legitimate program data storage path information corresponding to the target application program.

可选地,计算机可执行指令在被执行时,还实现以下流程:在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,获取所述用户首次登录所述目标应用程序所使用的用户终端内的所述目标应用程序的程序数据存储路径信息,以及,获取所述用户首次登录所述目标应用程序所使用的用户终端的终端标识;将获取的程序数据存储路径信息作为所述目标应用程序对应的合法程序数据存储路径信息,将获取的终端标识作为所述目标应用程序对应的合法终端标识。Optionally, when the computer-executable instructions are executed, the following process is further implemented: before obtaining the user's login request for the target application program, after the user logs in the target application program for the first time, obtain the user's first login request. The program data storage path information of the target application program in the user terminal used by the target application program, and obtain the terminal identifier of the user terminal used by the user to log in to the target application program for the first time; the acquired program data The path information is stored as the legal program data storage path information corresponding to the target application program, and the obtained terminal identifier is used as the legal terminal identifier corresponding to the target application program.

可选地,计算机可执行指令在被执行时,还实现以下流程:在确定所述目标应用程序登录失败后,获取所述用户针对目标应用程序的合法终端设置指令;所述合法终端设置指令用于将所述用户终端设置为所述目标应用程序的合法终端;根据所述合法终端设置指令,将所述用户终端设置为所述目标应用程序的合法终端。Optionally, when the computer-executable instructions are executed, the following process is also implemented: after determining that the target application program fails to log in, obtain the user's legal terminal setting instruction for the target application program; the legal terminal setting instruction uses Set the user terminal as the legal terminal of the target application program; according to the legal terminal setting instruction, set the user terminal as the legal terminal of the target application program.

本实施例中,在用户请求登录目标应用程序时,可以获取登录请求,登录请求包括目标应用程序在用户的用户终端中的程序数据存储路径信息,并根据登录请求判断用户终端是否为目标应用程序的合法终端,达到了基于目标应用程序的程序数据存储路径信息,验证用户登录所使用的终端是否为合法终端的效果,提高了应用程序的登录安全性。In this embodiment, when the user requests to log in the target application program, the login request can be obtained, and the login request includes the program data storage path information of the target application program in the user terminal of the user, and judges whether the user terminal is the target application program according to the login request It achieves the effect of verifying whether the terminal used by the user to log in is a legal terminal based on the program data storage path information of the target application program, and improves the login security of the application program.

本实施例中的应用程序登录验证设备能够实现上述图2中的应用程序登录验证方法的各个过程,并达到相同的效果和功能,这里不再重复。The application login verification device in this embodiment can implement each process of the application login verification method in FIG. 2 above, and achieve the same effect and function, which will not be repeated here.

在另一个具体的实施例中,应用程序登录验证设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对应用程序登录验证设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含的用于进行以下流程的计算机可执行指令:In another specific embodiment, the application program login verification device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules , and each module may include a series of computer-executable instructions for logging in to the application program in the verification device, and is configured to be executed by one or more processors to execute the computer-executable instructions included in the one or more programs for performing the following processes Execution command:

获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;Obtain a user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, and the program data storage path of the target application program in the user terminal of the user information;

将所述登录请求发送至所述目标应用程序的服务器,所述登录请求用于所述服务器判断所述用户终端是否为所述目标应用程序的合法终端;sending 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;

接收所述服务器根据判断结果返回的登录成功消息或者登录失败消息。Receive a login success message or a login failure message returned by the server according to the judgment result.

可选地,计算机可执行指令在被执行时,获取用户针对目标应用程序的登录请求,包括:响应于所述用户针对所述目标应用程序的启动操作,获取所述用户针对目标应用程序的登录请求;或者,响应于所述用户针对所述目标应用程序的登录操作,获取所述用户针对目标应用程序的登录请求。Optionally, when the computer-executable instructions are executed, obtaining a user's login request for the target application program includes: obtaining the user's login request for the target application program in response to the user's start operation for the target application program request; or, in response to the user's login operation for the target application program, acquiring the user's login request for the target application program.

可选地,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;计算机可执行指令在被执行时,还实现以下流程:在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息;所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息。Optionally, the user terminal is the terminal used by the user to log in the target application program for the first time; when the computer-executable instructions are executed, the following process is also implemented: before obtaining the user's login request for the target application program, After the user logs in the target application program for the first time, send the program data storage path information of the target application program in the user terminal to the server; the program data of the target application program in the user terminal The storage path information is used to be set by the server as the legal program data storage path information corresponding to the target application program.

可选地,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;所述登录请求还包括所述用户终端的终端标识;计算机可执行指令在被执行时,还实现以下流程:在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息和所述用户终端的终端标识;所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息;所述用户终端的终端标识用于被所述服务器设置为所述目标应用程序对应的合法终端标识。Optionally, the user terminal is the terminal used by the user to log in to the target application program for the first time; the login request further includes a terminal identifier of the user terminal; when the computer-executable instructions are executed, the following Process: Before obtaining the user's login request for the target application program, after the user logs in the target application program for the first time, send the program data storage path information and The terminal identification of the user terminal; the program data storage path information of the target application program in the user terminal is used to be set by the server as the legal program data storage path information corresponding to the target application program; the user The terminal ID of the terminal is used to be set by the server as a valid terminal ID corresponding to the target application program.

可选地,计算机可执行指令在被执行时,还实现以下流程:在接收所述服务器根据判断结果返回的登录失败消息之后,根据所述登录失败消息,显示合法终端设置页面;接收所述用户基于所述合法终端设置页面发送的合法终端设置指令;所述合法终端设置指令用于将所述用户终端设置为所述目标应用程序的合法终端;将所述合法终端设置指令发送至所述服务器,以将所述用户终端设置为所述目标应用程序的合法终端。Optionally, when the computer-executable instructions are executed, the following process is further implemented: after receiving the login failure message returned by the server according to the judgment result, displaying a legal terminal setting page according to the login failure message; receiving the user The legal terminal setting instruction sent based on the legal terminal setting page; the legal terminal setting instruction is used to set the user terminal as a legal terminal of the target application program; send the legal terminal setting instruction to the server , to set the user terminal as the legal terminal of the target application.

本实施例中,在用户请求登录目标应用程序时,可以获取登录请求,登录请求包括目标应用程序在用户的用户终端中的程序数据存储路径信息,并根据登录请求判断用户终端是否为目标应用程序的合法终端,达到了基于目标应用程序的程序数据存储路径信息,验证用户登录所使用的终端是否为合法终端的效果,提高了应用程序的登录安全性。In this embodiment, when the user requests to log in the target application program, the login request can be obtained, and the login request includes the program data storage path information of the target application program in the user terminal of the user, and judges whether the user terminal is the target application program according to the login request It achieves the effect of verifying whether the terminal used by the user to log in is a legal terminal based on the program data storage path information of the target application program, and improves the login security of the application program.

本实施例中的应用程序登录验证设备能够实现上述图3中的应用程序登录验证方法的各个过程,并达到相同的效果和功能,这里不再重复。The application login verification device in this embodiment can implement each process of the application login verification method in FIG. 3 above, and achieve the same effect and function, which will not be repeated here.

进一步地,本说明书另一实施例还提供了一种存储介质,用于存储计算机可执行指令,一种具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:Furthermore, another embodiment of this specification also provides a storage medium for storing computer-executable instructions. In a specific embodiment, the storage medium may be a U disk, an optical disk, a hard disk, etc. When executed by the processor, the computer-executable instructions can realize the following processes:

获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;Obtain a user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, and the program data storage path of the target application program in the user terminal of the user information;

根据所述登录请求,判断所述用户终端是否为所述目标应用程序的合法终端;judging whether the user terminal is a legal terminal of the target application program according to the login request;

根据判断结果,确定所述目标应用程序登录成功,或者,确定所述目标应用程序登录失败。According to the judgment result, it is determined that the login of the target application program is successful, or it is determined that the login of the target application program fails.

可选地,该存储介质存储的计算机可执行指令在被处理器执行时,根据所述登录请求,判断所述用户终端是否为所述目标应用程序的合法终端,包括:根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息;若所述登录请求中的所述程序数据存储路径信息与所述合法程序数据存储路径信息相同,则确定所述用户终端为所述目标应用程序的合法终端,反之,确定所述用户终端不为所述目标应用程序的合法终端。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, judging whether the user terminal is a legal terminal of the target application according to the login request includes: according to the user identifier and The identification of the target application program, obtaining the legal program data storage path information 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, determine The user terminal is a legal terminal of the target application program, otherwise, it is determined that the user terminal is not a legal terminal of the target application program.

可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述登录请求还包括所述用户终端的终端标识;相应的,根据所述登录请求,判断所述用户终端是否为所述目标应用程序的合法终端,包括:根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息和所述目标应用程序对应的合法终端标识;若所述登录请求中的所述程序数据存储路径信息与所述合法程序数据存储路径信息相同,且,所述登录请求中的用户终端的终端标识与所述合法终端标识相同,则确定所述用户终端为所述目标应用程序的合法终端,反之,确定所述用户终端不为所述目标应用程序的合法终端。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the login request further includes the terminal identifier of the user terminal; correspondingly, according to the login request, it is determined whether the user terminal is The legal terminal of the target application program includes: according to the user identification and the identification of the target application program, obtaining the legal program data storage path information corresponding to the target application program and the legal terminal identification corresponding to the target application program ; If the program data storage path information in the login request is the same as the legitimate program data storage path information, and the terminal identifier of the user terminal in the login request is the same as the legal terminal identifier, then determine the If the user terminal is a legal terminal of the target application program, otherwise, it is determined that the user terminal is not a legal terminal of the target application program.

可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,获取所述用户首次登录所述目标应用程序所使用的用户终端内的所述目标应用程序的程序数据存储路径信息;将获取的程序数据存储路径信息作为所述目标应用程序对应的合法程序数据存储路径信息。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the following process is implemented: before obtaining the user's login request for the target application program, after the user logs in the target application program for the first time, Obtain the program data storage path information of the target application program in the user terminal used by the user to log in the target application program for the first time; store the obtained program data storage path information as the legal program data corresponding to the target application program path information.

可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,获取所述用户首次登录所述目标应用程序所使用的用户终端内的所述目标应用程序的程序数据存储路径信息,以及,获取所述用户首次登录所述目标应用程序所使用的用户终端的终端标识;将获取的程序数据存储路径信息作为所述目标应用程序对应的合法程序数据存储路径信息,将获取的终端标识作为所述目标应用程序对应的合法终端标识。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the following process is implemented: before obtaining the user's login request for the target application program, after the user logs in the target application program for the first time, Acquiring the program data storage path information of the target application program in the user terminal used by the user to log in the target application program for the first time, and acquiring the terminal of the user terminal used by the user to log in the target application program for the first time Identification: using the obtained program data storage path information as the legal program data storage path information corresponding to the target application program, and using the obtained terminal identification as the legal terminal identification corresponding to the target application program.

可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:在确定所述目标应用程序登录失败后,获取所述用户针对目标应用程序的合法终端设置指令;所述合法终端设置指令用于将所述用户终端设置为所述目标应用程序的合法终端;根据所述合法终端设置指令,将所述用户终端设置为所述目标应用程序的合法终端。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the following procedure is further implemented: after it is determined that the login of the target application program fails, obtain the user's legal terminal setting instruction for the target application program; The legal terminal setting instruction is used to set the user terminal as a legal terminal of the target application program; according to the legal terminal setting instruction, set the user terminal as a legal terminal of the target application program.

本实施例中,在用户请求登录目标应用程序时,可以获取登录请求,登录请求包括目标应用程序在用户的用户终端中的程序数据存储路径信息,并根据登录请求判断用户终端是否为目标应用程序的合法终端,达到了基于目标应用程序的程序数据存储路径信息,验证用户登录所使用的终端是否为合法终端的效果,提高了应用程序的登录安全性。In this embodiment, when the user requests to log in the target application program, the login request can be obtained, and the login request includes the program data storage path information of the target application program in the user terminal of the user, and judges whether the user terminal is the target application program according to the login request It achieves the effect of verifying whether the terminal used by the user to log in is a legal terminal based on the program data storage path information of the target application program, and improves the login security of the application program.

本实施例中的存储介质能够实现上述图2中的应用程序登录验证方法的各个过程,并达到相同的效果和功能,这里不再重复。The storage medium in this embodiment can implement each process of the application program login verification method in FIG. 2 above, and achieve the same effect and function, which will not be repeated here.

另一种具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:In another specific embodiment, the storage medium can be a USB flash drive, an optical disc, a hard disk, etc., and the computer-executable instructions stored in the storage medium can realize the following process when executed by the processor:

获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;Obtain a user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, and the program data storage path of the target application program in the user terminal of the user information;

将所述登录请求发送至所述目标应用程序的服务器,所述登录请求用于所述服务器判断所述用户终端是否为所述目标应用程序的合法终端;sending 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;

接收所述服务器根据判断结果返回的登录成功消息或者登录失败消息。Receive a login success message or a login failure message returned by the server according to the judgment result.

可选地,该存储介质存储的计算机可执行指令在被处理器执行时,获取用户针对目标应用程序的登录请求,包括:响应于所述用户针对所述目标应用程序的启动操作,获取所述用户针对目标应用程序的登录请求;或者,响应于所述用户针对所述目标应用程序的登录操作,获取所述用户针对目标应用程序的登录请求。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, acquiring a user's login request for the target application program includes: in response to the user's start operation for the target application program, acquiring the A user's login request for the target application program; or, in response to the user's login operation for the target application program, acquiring the user's login request for the target application program.

可选地,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息;所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息。Optionally, the user terminal is the terminal used by the user to log in to the target application program for the first time; when the computer-executable instructions stored in the storage medium are executed by the processor, the following process is also implemented: after obtaining the user's target application Before the login request of the application program, after the user logs in the target application program for the first time, send the program data storage path information of the target application program in the user terminal to the server; The program data storage path information in the user terminal is used to be set by the server as legal program data storage path information corresponding to the target application program.

可选地,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;所述登录请求还包括所述用户终端的终端标识;该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息和所述用户终端的终端标识;所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息;所述用户终端的终端标识用于被所述服务器设置为所述目标应用程序对应的合法终端标识。Optionally, the user terminal is the terminal used by the user to log in to the target application program for the first time; the login request further includes a terminal identifier of the user terminal; the computer-executable instructions stored in the storage medium are processed When the server executes, the following process is also implemented: before obtaining the user’s login request for the target application program, after the user logs in the target application program for the first time, send the target application program to the server. The program data storage path information of the user terminal and the terminal identification of the user terminal; the program data storage path information of the target application program in the user terminal is used to be set by the server as the legal program data corresponding to the target application program Storing path information; the terminal identifier of the user terminal is used to be set by the server as the legal terminal identifier corresponding to the target application program.

可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:在接收所述服务器根据判断结果返回的登录失败消息之后,根据所述登录失败消息,显示合法终端设置页面;接收所述用户基于所述合法终端设置页面发送的合法终端设置指令;所述合法终端设置指令用于将所述用户终端设置为所述目标应用程序的合法终端;将所述合法终端设置指令发送至所述服务器,以将所述用户终端设置为所述目标应用程序的合法终端。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the following procedure is further implemented: after receiving the login failure message returned by the server according to the judgment result, displaying the legal terminal according to the login failure message Setting page; receiving the legal terminal setting instruction sent by the user based on the legal terminal setting page; the legal terminal setting instruction is used to set the user terminal as the legal terminal of the target application program; set the legal terminal The setting instruction is sent to the server, so as to set the user terminal as a legal terminal of the target application program.

本实施例中,在用户请求登录目标应用程序时,可以获取登录请求,登录请求包括目标应用程序在用户的用户终端中的程序数据存储路径信息,并根据登录请求判断用户终端是否为目标应用程序的合法终端,达到了基于目标应用程序的程序数据存储路径信息,验证用户登录所使用的终端是否为合法终端的效果,提高了应用程序的登录安全性。In this embodiment, when the user requests to log in the target application program, the login request can be obtained, and the login request includes the program data storage path information of the target application program in the user terminal of the user, and judges whether the user terminal is the target application program according to the login request It achieves the effect of verifying whether the terminal used by the user to log in is a legal terminal based on the program data storage path information of the target application program, and improves the login security of the application program.

本实施例中的存储介质能够实现上述图3中的应用程序登录验证方法的各个过程,并达到相同的效果和功能,这里不再重复。The storage medium in this embodiment can implement each process of the application program login verification method in FIG. 3 above, and achieve the same effect and function, which will not be repeated here.

上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other implementations are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that 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. Multitasking and parallel processing are also possible or may be advantageous in certain embodiments.

在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable GateArray,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(RubyHardware Description Language)等,目前最普遍使用的是VHDL(Very-High-SpeedIntegrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, the improvement of a technology can be clearly distinguished as an improvement in hardware (for example, improvements in circuit structures such as diodes, transistors, and switches) or improvements in software (improvement in method flow). However, with the development of technology, the improvement of many current method flows can be regarded as the direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware physical modules. For example, a programmable logic device (Programmable Logic Device, PLD) (such as a field programmable gate array (Field Programmable GateArray, FPGA)) is such an integrated circuit, the logic function of which is determined by the user's programming of the device. It is programmed by the designer to "integrate" a digital system on a PLD, instead of asking a chip manufacturer to design and make a dedicated integrated circuit chip. Moreover, nowadays, instead of making integrated circuit chips by hand, this kind of programming is mostly realized by "logic compiler (logic compiler)" software, which is similar to the software compiler used when program development and writing, but before compiling The original code of the computer must also be written in a specific programming language, which is called a hardware description language (Hardware Description Language, HDL), and there is not only one kind of HDL, but many 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., currently the most commonly used is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that only a little logical programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain a hardware circuit for realizing the logic method flow.

控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable way, for example the controller may take the form of a microprocessor or processor and a computer readable medium storing computer readable program code (such as 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 controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that, in addition to realizing the controller in a purely computer-readable program code mode, it is entirely possible to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as structures within the hardware component. Or even, means for realizing various functions can be regarded as a structure within both a software module realizing a method and a hardware component.

上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units described in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementing device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, 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 Combinations of any of these devices.

为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书的一个或多个实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above devices, functions are divided into various units and described separately. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in one or more software and/or hardware.

本领域内的技术人员应明白,本说明书的实施例可提供为方法、系统、或计算机程序产品。因此,本说明书的实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书的实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of this specification may be provided as methods, systems, or computer program products. Accordingly, the 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. Furthermore, embodiments of the present specification may take the form of a computer program product embodied 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 specification are described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to the embodiments of the present specification. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer-readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media 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 Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书的实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书的实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of this specification may be provided as methods, systems or computer program products. Accordingly, the embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present specification may take the form of a computer program product embodied 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 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 present 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 storage devices.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, refer to part of the description of the method embodiment.

以上所述仅为本说明书的实施例而已,并不用于限制本文件。对于本领域技术人员来说,本说明书的实施例可以有各种更改和变化。凡在本文件的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本文件的权利要求范围之内。The above descriptions are only examples of this specification, and are not intended to limit this document. For those skilled in the art, various modifications and changes can be made to the embodiments of this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this document shall be included within the scope of the claims of this document.

Claims (19)

1.一种应用程序登录验证方法,包括:1. An application login verification method, comprising: 获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识、所述用户终端的终端标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;所述程序数据存储路径信息为所述目标应用程序在所述用户终端安装之后由所述用户终端为所述目标应用程序分配的程序数据的存储地址;所述程序数据存储路径信息唯一对应于该次安装且唯一对应于所述用户终端;Obtain a user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, the terminal ID of the user terminal, and the target application program in the user's The program data storage path information in the user terminal; the program data storage path information is the storage address of the program data allocated by the user terminal to the target application program after the target application program is installed on the user terminal; The program data storage path information uniquely corresponds to the installation and uniquely corresponds to the user terminal; 根据所述登录请求、所述目标应用程序对应的合法终端标识和所述目标应用程序对应的合法程序数据存储路径信息,判断所述用户终端是否为所述目标应用程序的合法终端;其中,所述合法终端标识和所述合法程序数据存储路径信息根据所述用户标识和所述目标应用程序的标识在预设对应关系中查找得到;所述预设对应关系为用户标识、目标应用程序的标识和目标应用程序对应的合法程序数据存储路径信息和目标应用程序对应的合法终端标识之间的对应关系;According to the login request, the legal terminal identifier corresponding to the target application program, and the legal program data storage path information corresponding to the target application program, determine whether the user terminal is a legal terminal of the target application program; wherein, the The legal terminal identifier and the legal program data storage path information are found in a preset corresponding relationship according to the user identifier and the identifier of the target application program; the preset corresponding relationship is the user identifier, the identifier of the target application program Correspondence between the legal program data storage path information corresponding to the target application program and the legal terminal identifier 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 identifier of the user terminal in the login request is the same as the legal terminal identifier, then determine the user terminal If the user terminal is a legal terminal of the target application, it is determined that the target application has successfully logged in; otherwise, it is determined that the user terminal is not a legal terminal of the target application, and it is determined that the target application has failed to log in. 2.根据权利要求1所述的方法,根据所述登录请求、所述目标应用程序对应的合法终端标识和所述目标应用程序对应的合法程序数据存储路径信息,判断所述用户终端是否为所述目标应用程序的合法终端,包括:2. The method according to claim 1, according to the login request, the legal terminal identifier corresponding to the target application program and the legal program data storage path information corresponding to the target application program, it is judged whether the user terminal is the Legitimate endpoints for the target application described above, including: 根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息;Obtain legal program data storage path information corresponding to the target application according to the user identifier and the identifier of the target application; 若所述登录请求中的所述程序数据存储路径信息与所述合法程序数据存储路径信息相同,则确定所述用户终端为所述目标应用程序的合法终端,反之,确定所述用户终端不为所述目标应用程序的合法终端。If the program data storage path information in the login request is the same as the legitimate program data storage path information, then determine that the user terminal is a legitimate terminal of the target application program; otherwise, determine that the user terminal is not A legitimate endpoint for the target application. 3.根据权利要求1所述的方法,所述根据所述登录请求、所述目标应用程序对应的合法终端标识和所述目标应用程序对应的合法程序数据存储路径信息,判断所述用户终端是否为所述目标应用程序的合法终端,包括:3. The method according to claim 1, wherein according to the login request, the legal terminal identifier corresponding to the target application program, and the legal program data storage path information corresponding to the target application program, it is judged whether the user terminal is Legitimate endpoints for the target application include: 根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息和所述目标应用程序对应的合法终端标识;Obtain legal program data storage path information corresponding to the target application program and a legal terminal identification corresponding to the target application program according to the user ID and the ID 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 identifier of the user terminal in the login request is the same as the legal terminal identifier, then determine the The user terminal is a legal terminal of the target application program, otherwise, it is determined that the user terminal is not a legal terminal of the target application program. 4.根据权利要求2所述的方法,在获取用户针对目标应用程序的登录请求之前,所述方法还包括:4. The method according to claim 2, before obtaining the user's login request for the target application program, the method further comprises: 在所述用户首次登录所述目标应用程序后,获取所述用户首次登录所述目标应用程序所使用的用户终端内的所述目标应用程序的程序数据存储路径信息;After the user logs in the target application program for the first time, obtain the program data storage path information of the target application program in the user terminal used by the user to log in the target application program for the first time; 将获取的程序数据存储路径信息作为所述目标应用程序对应的合法程序数据存储路径信息。The acquired program data storage path information is used as legal program data storage path information corresponding to the target application program. 5.根据权利要求3所述的方法,在获取用户针对目标应用程序的登录请求之前,所述方法还包括:5. The method according to claim 3, before acquiring the user's login request for the target application, the method further comprises: 在所述用户首次登录所述目标应用程序后,获取所述用户首次登录所述目标应用程序所使用的用户终端内的所述目标应用程序的程序数据存储路径信息,以及,获取所述用户首次登录所述目标应用程序所使用的用户终端的终端标识;After the user logs in the target application program for the first time, obtain the program data storage path information of the target application program in the user terminal used by the user to log in the target application program for the first time, and obtain the first time the user logs in to the target application program a terminal identifier of a user terminal used to log in to the target application; 将获取的程序数据存储路径信息作为所述目标应用程序对应的合法程序数据存储路径信息,将获取的终端标识作为所述目标应用程序对应的合法终端标识。The obtained program data storage path information is used as the legal program data storage path information corresponding to the target application program, and the obtained terminal identification is used as the legal terminal identification corresponding to the target application program. 6.根据权利要求1-5任一项所述的方法,在确定所述目标应用程序登录失败后,所述方法还包括:6. The method according to any one of claims 1-5, after determining that the target application fails to log in, the method further comprises: 获取所述用户针对目标应用程序的合法终端设置指令;所述合法终端设置指令用于将所述用户终端设置为所述目标应用程序的合法终端;Obtaining the user's legal terminal setting instruction for the target application program; the legal terminal setting instruction is used to set the user terminal as the legal terminal of the target application program; 根据所述合法终端设置指令,将所述用户终端设置为所述目标应用程序的合法终端。Set the user terminal as a legal terminal of the target application program according to the legal terminal setting instruction. 7.一种应用程序登录验证方法,包括:7. An application login verification method, comprising: 获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识、所述用户终端的终端标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;所述程序数据存储路径信息为所述目标应用程序在所述用户终端安装之后由所述用户终端为所述目标应用程序分配的程序数据的存储地址;所述程序数据存储路径信息唯一对应于该次安装且唯一对应于所述用户终端;Obtain a user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, the terminal ID of the user terminal, and the target application program in the user's The program data storage path information in the user terminal; the program data storage path information is the storage address of the program data allocated by the user terminal to the target application program after the target application program is installed on the user terminal; The program data storage path information uniquely corresponds to the installation and uniquely corresponds to the user terminal; 将所述登录请求发送至所述目标应用程序的服务器,所述登录请求用于所述服务器根据所述登录请求、所述目标应用程序对应的合法终端标识和所述目标应用程序对应的合法程序数据存储路径信息,判断所述用户终端是否为所述目标应用程序的合法终端;其中,所述合法终端标识和所述合法程序数据存储路径信息根据所述用户标识和所述目标应用程序的标识在预设对应关系中查找得到;所述预设对应关系为用户标识、目标应用程序的标识和目标应用程序对应的合法程序数据存储路径信息和目标应用程序对应的合法终端标识之间的对应关系;Sending the login request to the server of the target application, where the login request is used by the server according to the login request, the legal terminal identifier corresponding to the target application, and the legal program corresponding to the target application data storage path information, judging whether the user terminal is a legal terminal of the target application program; wherein, the legal terminal identifier and the legal program data storage path information are based on the user identifier and the target application program identifier Find it in the preset corresponding relationship; the preset corresponding relationship is the corresponding relationship between the user identifier, the identifier of the target application program, the legal program data storage path information corresponding to the target application program, and the legal terminal identifier corresponding to the target application program ; 接收所述服务器根据判断结果返回的登录成功消息或者登录失败消息;若所述登录请求中的所述程序数据存储路径信息与合法程序数据存储路径信息相同,且,所述登录请求中的所述用户终端的终端标识与合法终端标识相同,则确定所述用户终端为所述目标应用程序的合法终端,确定所述目标应用程序登录成功,反之,确定所述用户终端不为所述目标应用程序的合法终端,确定所述目标应用程序登录失败。Receive 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 If the terminal ID of the user terminal is the same as the legal terminal ID, it is determined that the user terminal is the legal terminal of the target application program, and the login of the target application program is determined to be successful; otherwise, it is determined that the user terminal is not the target application program It is determined that the target application fails to log in to the legitimate terminal. 8.根据权利要求7所述的方法,获取用户针对目标应用程序的登录请求,包括:8. The method according to claim 7, obtaining the login request of the user for the target application program, comprising: 响应于所述用户针对所述目标应用程序的启动操作,获取所述用户针对目标应用程序的登录请求;Obtaining the user's login request for the target application program in response to the user's start operation for the target application program; 或者,or, 响应于所述用户针对所述目标应用程序的登录操作,获取所述用户针对目标应用程序的登录请求。In response to the user's login operation on the target application program, acquire the user's login request for the target application program. 9.根据权利要求7所述的方法,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;9. The method according to claim 7, wherein the user terminal is a terminal used by the user to log in to the target application program for the first time; 在获取用户针对目标应用程序的登录请求之前,所述方法还包括:Before obtaining the user's login request for the target application, the method further includes: 在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息;After the user logs in the target application program for the first time, sending the program data storage path information of the target application program in the user terminal to the server; 所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息。The program data storage path information of the target application in the user terminal is used to be set by the server as legal program data storage path information corresponding to the target application. 10.根据权利要求7所述的方法,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;相应地,在获取用户针对目标应用程序的登录请求之前,所述方法还包括:10. The method according to claim 7, wherein the user terminal is the terminal used by the user to log in the target application program for the first time; correspondingly, before obtaining the user's login request for the target application program, the method further include: 在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息和所述用户终端的终端标识;After the user logs in the target application program for the first time, send the program data storage path information of the target application program in the user terminal and the terminal identification of the user terminal to the server; 所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息;所述用户终端的终端标识用于被所述服务器设置为所述目标应用程序对应的合法终端标识。The program data storage path information of the target application in the user terminal is used to be set by the server as the legitimate program data storage path information corresponding to the target application; the terminal identifier of the user terminal is used to be set by the server The server is set to the legal terminal identifier corresponding to the target application program. 11.根据权利要求7-10任一项所述的方法,在接收所述服务器根据判断结果返回的登录失败消息之后,所述方法还包括:11. The method according to any one of claims 7-10, after receiving the login failure message returned by the server according to the judgment result, the method further comprises: 根据所述登录失败消息,显示合法终端设置页面;According to the login failure message, a legal terminal setting page is displayed; 接收所述用户基于所述合法终端设置页面发送的合法终端设置指令;所述合法终端设置指令用于将所述用户终端设置为所述目标应用程序的合法终端;receiving a legal terminal setting instruction sent by the user based on the legal terminal setting page; the legal terminal setting instruction is used to set the user terminal as a legal terminal of the target application; 将所述合法终端设置指令发送至所述服务器,以将所述用户终端设置为所述目标应用程序的合法终端。sending the legal terminal setting instruction to the server, so as to set the user terminal as a legal terminal of the target application program. 12.一种应用程序登录验证装置,包括:12. An application program login verification device, comprising: 第一获取模块,获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识、所述用户终端的终端标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;所述程序数据存储路径信息为所述目标应用程序在所述用户终端安装之后由所述用户终端为所述目标应用程序分配的程序数据的存储地址;所述程序数据存储路径信息唯一对应于该次安装且唯一对应于所述用户终端;The first acquisition module acquires a user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, the terminal ID of the user terminal, and the target application program The program data storage path information in the user terminal of the user; the program data storage path information is the program data allocated by the user terminal to the target application program after the target application program is installed on the user terminal storage address; the program data storage path information uniquely corresponds to this installation and uniquely corresponds to the user terminal; 判断模块,根据所述登录请求、所述目标应用程序对应的合法终端标识和所述目标应用程序对应的合法程序数据存储路径信息,判断所述用户终端是否为所述目标应用程序的合法终端;其中,所述合法终端标识和所述合法程序数据存储路径信息根据所述用户标识和所述目标应用程序的标识在预设对应关系中查找得到;所述预设对应关系为用户标识、目标应用程序的标识和目标应用程序对应的合法程序数据存储路径信息和目标应用程序对应的合法终端标识之间的对应关系;A judging module, judging 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; Wherein, the legal terminal identifier and the legitimate program data storage path information are found in a preset correspondence according to the user identifier and the identifier of the target application; the preset correspondence is the user identifier, target application The corresponding relationship between the program identification and the legal program data storage path information corresponding to the target application program and the legal terminal identification corresponding to the target application program; 确定模块,若所述登录请求中的所述程序数据存储路径信息与合法程序数据存储路径信息相同,且,所述登录请求中的所述用户终端的终端标识与合法终端标识相同,则确定所述用户终端为所述目标应用程序的合法终端,确定所述目标应用程序登录成功,反之,确定所述用户终端不为所述目标应用程序的合法终端,确定所述目标应用程序登录失败。The determining module, if the program data storage path information in the login request is the same as the legitimate program data storage path information, and the terminal identifier of the user terminal in the login request is the same as the legal terminal identifier, then determine the If the user terminal is a legal terminal of the target application program, it is determined that the target application program has successfully logged in; otherwise, it is determined that the user terminal is not a legal terminal of the target application program, and it is determined that the target application program has failed to log in. 13.根据权利要求12所述的装置,所述判断模块:13. The device according to claim 12, the judging module: 根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息;Obtain legal program data storage path information corresponding to the target application according to the user identifier and the identifier of the target application; 若所述登录请求中的所述程序数据存储路径信息与所述合法程序数据存储路径信息相同,则确定所述用户终端为所述目标应用程序的合法终端,反之,确定所述用户终端不为所述目标应用程序的合法终端。If the program data storage path information in the login request is the same as the legitimate program data storage path information, then determine that the user terminal is a legitimate terminal of the target application program; otherwise, determine that the user terminal is not A legitimate endpoint for the target application. 14.根据权利要求12所述的装置,所述判断模块:14. The device according to claim 12, the judging module: 根据所述用户标识和所述目标应用程序的标识,获取所述目标应用程序对应的合法程序数据存储路径信息和所述目标应用程序对应的合法终端标识;Obtain legal program data storage path information corresponding to the target application program and a legal terminal identification corresponding to the target application program according to the user ID and the ID 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 identifier of the user terminal in the login request is the same as the legal terminal identifier, then determine the The user terminal is a legal terminal of the target application program, otherwise, it is determined that the user terminal is not a legal terminal of the target application program. 15.一种应用程序登录验证装置,包括:15. An application program login verification device, comprising: 第二获取模块,获取用户针对目标应用程序的登录请求;所述登录请求中携带有所述用户的用户标识、所述目标应用程序的标识、所述用户终端的终端标识和所述目标应用程序在所述用户的用户终端中的程序数据存储路径信息;所述程序数据存储路径信息为所述目标应用程序在所述用户终端安装之后由所述用户终端为所述目标应用程序分配的程序数据的存储地址;所述程序数据存储路径信息唯一对应于该次安装且唯一对应于所述用户终端;The second acquiring module acquires a user's login request for the target application program; the login request carries the user ID of the user, the ID of the target application program, the terminal ID of the user terminal, and the target application program The program data storage path information in the user terminal of the user; the program data storage path information is the program data allocated by the user terminal to the target application program after the target application program is installed on the user terminal storage address; the program data storage path information uniquely corresponds to this installation and uniquely corresponds to the user terminal; 第一发送模块,将所述登录请求发送至所述目标应用程序的服务器,所述登录请求用于所述服务器根据所述登录请求、所述目标应用程序对应的合法终端标识和所述目标应用程序对应的合法程序数据存储路径信息,判断所述用户终端是否为所述目标应用程序的合法终端;其中,所述合法终端标识和所述合法程序数据存储路径信息根据所述用户标识和所述目标应用程序的标识在预设对应关系中查找得到;所述预设对应关系为用户标识、目标应用程序的标识和目标应用程序对应的合法程序数据存储路径信息和目标应用程序对应的合法终端标识之间的对应关系;The first sending module sends the login request to the server of the target application, and the login request is used by the server to According to the legal program data storage path information corresponding to the program, it is judged whether the user terminal is a legal terminal of the target application program; wherein, the legal terminal identifier and the legal program data storage path information are based on the user identifier and the The identification of the target application is found in the preset correspondence; the preset correspondence is the user identification, the identification of the target application, the legal program data storage path information corresponding to the target application, and the legal terminal identification corresponding to the target application Correspondence between; 接收模块,接收所述服务器根据判断结果返回的登录成功消息或者登录失败消息;若所述登录请求中的所述程序数据存储路径信息与合法程序数据存储路径信息相同,且,所述登录请求中的所述用户终端的终端标识与合法终端标识相同,则确定所述用户终端为所述目标应用程序的合法终端,确定所述目标应用程序登录成功,反之,确定所述用户终端不为所述目标应用程序的合法终端,确定所述目标应用程序登录失败。The receiving module receives the login success message or the 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 legitimate program data storage path information, and the login request contains If the terminal ID of the user terminal is the same as the legal terminal ID, then it is determined that the user terminal is the legal terminal of the target application program, and it is determined that the login of the target application program is successful; otherwise, it is determined that the user terminal is not the legal terminal of the target application program. The legal terminal of the target application program determines that the login of the target application program fails. 16.根据权利要求15所述的装置,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;所述装置还包括:16. The device according to claim 15, wherein the user terminal is a terminal used by the user to log in to the target application program for the first time; the device further comprises: 第二发送模块,在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息;The second sending module is configured to send the program data storage of the target application in the user terminal to the server after the user logs in the target application for the first time before obtaining the user's login request for the target application path information; 所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息。The program data storage path information of the target application in the user terminal is used to be set by the server as legal program data storage path information corresponding to the target application. 17.根据权利要求15所述的装置,所述用户终端为所述用户首次登录所述目标应用程序所使用的终端;所述装置还包括:17. The device according to claim 15, wherein the user terminal is the terminal used by the user to log in the target application program for the first time; the device further comprises: 第三发送模块,在获取用户针对目标应用程序的登录请求之前,在所述用户首次登录所述目标应用程序后,向所述服务器发送所述目标应用程序在所述用户终端中的程序数据存储路径信息和所述用户终端的终端标识;The third sending module is configured to send the program data storage of the target application in the user terminal to the server after the user logs in the target application for the first time before obtaining the user's login request for the target application Path information and a terminal identifier of the user terminal; 所述目标应用程序在所述用户终端中的程序数据存储路径信息用于被所述服务器设置为所述目标应用程序对应的合法程序数据存储路径信息;所述用户终端的终端标识用于被所述服务器设置为所述目标应用程序对应的合法终端标识。The program data storage path information of the target application in the user terminal is used to be set by the server as the legitimate program data storage path information corresponding to the target application; the terminal identifier of the user terminal is used to be set by the server The server is set to the legal terminal identifier corresponding to the target application program. 18.一种应用程序登录验证设备,包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器实现上述权利要求1至6任一项所述的应用程序登录验证方法的步骤,或者,实现上述权利要求7至11任一项所述的应用程序登录验证方法的步骤。18. An application login verification device comprising: a processor; and a memory arranged to store computer-executable instructions which, when executed, cause the processor to implement any of claims 1 to 6 above. The steps of the application login verification method described in one item, or the steps of the application program login verification method described in any one of claims 7 to 11 above. 19.一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被执行时实现上述权利要求1至6任一项所述的应用程序登录验证方法的步骤,或者,实现上述权利要求7至11任一项所述的应用程序登录验证方法的步骤。19. A storage medium for storing computer-executable instructions, when executed, the computer-executable instructions implement the steps of the application program login verification method according to any one of claims 1 to 6, or implement the above-mentioned The steps of the application program login verification method described in any one of claims 7 to 11.
CN202010595836.6A 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium Active CN111753270B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
CN111753270A CN111753270A (en) 2020-10-09
CN111753270B true CN111753270B (en) 2023-04-07

Family

ID=72677399

Family Applications (2)

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
CN202310284167.4A Pending CN116361755A (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
CN202310284167.4A Pending CN116361755A (en) 2020-06-28 2020-06-28 Application program login verification method, device, equipment and storage medium

Country Status (1)

Country Link
CN (2) CN111753270B (en)

Families Citing this family (4)

* 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
CN113778559B (en) * 2021-09-15 2024-06-18 东莞新能安科技有限公司 Software security application method, device and electronic equipment
CN114417276B (en) * 2021-12-30 2024-11-22 珠海大横琴科技发展有限公司 A method and device for security verification
CN117992937A (en) * 2024-02-20 2024-05-07 北京建恒信安科技有限公司 Identity security authentication method, system, device and medium for information system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019011186A1 (en) * 2017-07-11 2019-01-17 阿里巴巴集团控股有限公司 Information verification method, device, system, clients and servers

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102089767B (en) * 2008-05-30 2015-01-21 爱迪德加拿大公司 Authenticated database connections 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
US10878110B2 (en) * 2017-09-12 2020-12-29 Sophos Limited Dashboard for managing enterprise network traffic
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

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019011186A1 (en) * 2017-07-11 2019-01-17 阿里巴巴集团控股有限公司 Information verification method, device, system, clients and servers

Also Published As

Publication number Publication date
CN111753270A (en) 2020-10-09
CN116361755A (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN111753270B (en) Application program login verification method, device, equipment and storage medium
TWI729718B (en) Verification and business service method, device, electronic equipment and verification system
CN112053161B (en) Binding processing method, device and equipment
US11316702B2 (en) Verification-based service authorization
US10587697B2 (en) Application-specific session authentication
CN108681662B (en) Method and device for installing program
CN111931154B (en) Service processing method, device and equipment based on digital certificate
EP2924947B1 (en) Method and apparatus for controlling access
US10594693B2 (en) Electronic device identification
US20240129288A1 (en) Privacy-protection based verification
CN108319826A (en) A kind of method, apparatus and equipment of authentication
US11308238B2 (en) Server and method for identifying integrity of application
US20120284781A1 (en) System and method for user friendly detection of spammers
CN104615553B (en) Data capture method, data acquisition facility and terminal
US9825971B2 (en) Anonymous server based user settings protection
CN107483534B (en) Service processing method and device
WO2023246390A1 (en) Data processing method and apparatus
CN112100610B (en) Processing method, device and equipment for login and user login related services
US20170060612A1 (en) Terminal device, system for controlling virtual machine and method employing the same
US20250291926A1 (en) Command authentications
CN111131132A (en) Method and device for realizing multi-system login
HK40040690A (en) Service processing method, device and equipment based on digital certificate
HK40040690B (en) Service processing method, device and equipment based on digital certificate
HK40042992B (en) Login and user login related service processing method, device and equipment
HK40042992A (en) Login and user login related service processing method, device and equipment

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
GR01 Patent grant
GR01 Patent grant