WO2016078526A1 - Method and device for storing and checking information - Google Patents

Method and device for storing and checking information Download PDF

Info

Publication number
WO2016078526A1
WO2016078526A1 PCT/CN2015/094311 CN2015094311W WO2016078526A1 WO 2016078526 A1 WO2016078526 A1 WO 2016078526A1 CN 2015094311 W CN2015094311 W CN 2015094311W WO 2016078526 A1 WO2016078526 A1 WO 2016078526A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
verification
location
standard
node
Prior art date
Application number
PCT/CN2015/094311
Other languages
French (fr)
Chinese (zh)
Inventor
肖存
Original Assignee
阿里巴巴集团控股有限公司
肖存
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 阿里巴巴集团控股有限公司, 肖存 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016078526A1 publication Critical patent/WO2016078526A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method and an apparatus for information storage and verification.
  • the way to input the user name and password through the keyboard is not convenient for the user to input the verification information. Therefore, the form of the verification information is increasingly diversified, and biometric information such as fingerprints and palm prints are verified as verification information. the way.
  • biometric information such as fingerprints and palm prints are verified as verification information. the way.
  • the following takes the verification information as a fingerprint as an example for description.
  • the user When registering an account, the user needs to submit his fingerprint information to the server, and the server establishes a correspondence between the fingerprint information and the account registered by the user, and stores the fingerprint information as standard information.
  • the user can send the fingerprint information to the server, and the server uses the received fingerprint information as the verification information, and matches the verification information with all the standard information saved by the user one by one. And determining the standard information that the matching degree with the verification information is higher than the set threshold, and then logging in the determined account corresponding to the standard information, and providing the service to the user through the login account. In this way, the user does not need to enter their username and password, and can log in to their account by submitting their own fingerprint.
  • the server is also burdened.
  • the embodiment of the present invention provides a method and a device for storing and verifying information, which are used to solve the problem of low verification efficiency and large server burden in the prior art.
  • the verification information is verified according to each standard information corresponding to the position information stored in advance.
  • the standard information corresponding to the account is stored as standard information corresponding to the specified location information.
  • a receiving module configured to receive verification information sent by the terminal
  • a positioning module configured to determine location information of the terminal
  • a verification module configured to perform verification on the verification information according to each standard information corresponding to the location information saved in advance.
  • a monitoring module configured to monitor location information of a terminal that performs operations by using an account
  • a recording module configured to record the number of times the operation is performed on each location information by using the account
  • a determining module configured to determine location information with the highest number of records as the specified location information
  • a storage module configured to store standard information corresponding to the account as the standard information corresponding to the specified location information.
  • An embodiment of the present application provides a method and an apparatus for information checksum storage, where the method server receives The verification information sent by the terminal is determined, and the location information of the terminal is determined, and the verification information is verified according to each standard information corresponding to the location information saved in advance.
  • the server only needs to match the received verification information with each standard information corresponding to the location information of the terminal, and does not need to match the verification information with all the stored standard information, thereby effectively Improve verification efficiency and reduce the burden on the server.
  • FIG. 1 is a process of information verification provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a location node tree according to an embodiment of the present application.
  • FIG. 3 is a process of verifying the verification information by the server according to other standard information stored in advance according to an embodiment of the present application;
  • FIG. 4 is a schematic structural diagram of an apparatus for verifying information according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an apparatus for storing information according to an embodiment of the present application.
  • FIG. 1 is a process of information verification provided by an embodiment of the present application, which specifically includes the following steps:
  • S101 Receive verification information sent by the terminal.
  • the user when logging in an account, the user first sends the server to the server through the terminal. Checking the information, the server allows the user to log in to the account after the verification of the verification information is successful.
  • the verification information includes biometric information, such as fingerprint, palm print, iris, and the like.
  • S102 Determine location information of the terminal.
  • the terminal When the terminal sends the verification information to the server, the terminal usually sends the Internet Protocol (IP) address of the terminal to the server, that is, reports the source IP address to the server, so that the server can receive the location according to the received address.
  • IP Internet Protocol
  • the source IP address carried in the information determines the location information of the terminal.
  • the server may pre-store the correspondence between the IP address and the location information.
  • the server may determine the location information corresponding to the source IP address according to the source IP address carried in the location information. As the determined location information of the terminal.
  • the terminal can also report its own location information to the server by using other methods.
  • the Global Positioning System GPS
  • the terminal can also report its own location information to the server by using other methods.
  • GPS Global Positioning System
  • S103 Verify the verification information according to each standard information corresponding to the location information saved in advance.
  • the server pre-stores the correspondence between the location information and the standard information, where one standard information only corresponds to one location information, and one location information may correspond to multiple standard information.
  • the standard information corresponding to Beijing may be fingerprint A and fingerprint B
  • the standard information corresponding to Shanghai may be fingerprint C, fingerprint D, and fingerprint E.
  • the verification information can be verified only according to the stored standard information corresponding to the location information, that is, only the school is
  • the standard information of the verification information corresponding to the location information of the terminal may be matched one by one, without matching the verification information with the full amount of standard information.
  • the server can only match the verification information with the fingerprint A and the fingerprint B corresponding to Beijing, without matching the verification information with the fingerprints A to E, thereby effectively improving the verification efficiency and reducing the efficiency.
  • the burden on the server is
  • the method for the server to establish and store the correspondence between the location information and the standard information may be: the server monitors, for an account, location information of the terminal that performs operations through the account, and records the location of the account through the account. The number of times the information is performed, and the location information with the highest number of records is determined as the specified location information, and finally the standard information corresponding to the account is stored as the standard information corresponding to the specified location information.
  • the server may monitor the location information of the terminal that performs operations (eg, login operation, payment operation, query operation, etc.) through the account, and records the account through the account.
  • the number of operations performed at each location assuming that the preset location information includes Beijing, Shanghai, and Guangzhou, and the number of times the account is operated in Beijing is monitored 10 times, and the number of operations performed in Shanghai is 7 times, and operations are performed in Guangzhou.
  • the number of times is one, the server can use the most frequently used Beijing as the specified location information, and store the fingerprint of the user as the standard information corresponding to Beijing.
  • the server stores the standard information as the location where the user is registered.
  • the location information corresponding to the standard information may change, that is, in the embodiment of the present application, the correspondence between the location information and the standard information is It is not static, but dynamic.
  • the location information corresponding to the standard information of an account is ultimately the location information of the user of the account.
  • the server monitors that the number of operations performed by the account in Beijing is 10, the number of operations performed in Shanghai is 7 times, and the number of operations performed in Guangzhou is 1 time.
  • the standard information of the account is the standard information corresponding to Beijing. If at another point in time, the server monitors that the account has been operated in Beijing 12 times, performing operations in Shanghai. The number of times is 15 times, and the number of operations performed in Guangzhou is 2 times, the standard information of the account will be changed to the standard information corresponding to Shanghai.
  • the server may configure a unique information base for the location information for each location information that is preset for storing the standard information corresponding to the location information.
  • the server may further preset a location node tree and save each standard information in the actual application scenario, in which the geographical area is generally divided into multiple levels. In the lowest node of each node in the location node tree.
  • the location node tree can be specifically as shown in FIG. 2.
  • FIG. 2 is a schematic diagram of a location node tree according to an embodiment of the present disclosure.
  • the node tree is divided into four layers, namely, full quantity, domestic/external, provincial, and municipal, and the geographic area of each layer node is decreased from top to bottom.
  • the server may configure, for each leaf node (city) of the lowest layer in the node tree of the location, a unique information base for storing the standard information corresponding to the leaf node.
  • the server may determine a location node corresponding to the location information of the terminal according to the pre-stored location node tree, and determine a information base corresponding to all the child nodes under the location node, according to the determined information bases.
  • the saved standard information is verified by the saved information.
  • the location information of the terminal determined by the server may be Zhejiang province, and the location node corresponding to the location information is not the lowest-level city leaf node of the node tree, therefore, the server may determine the The information base corresponding to all the child nodes under the location node, and the verification information is verified according to the standard information stored in the information base corresponding to all the child nodes under the location node.
  • the user may go to another location to travel and use his own account to perform operations.
  • the server may use the account in Beijing.
  • the verification information submitted by the user when using the account is verified successfully, but if the user travels to Shanghai, the use of the verification information in Shanghai
  • the location information of the terminal determined by the server in step S102 is Shanghai. Therefore, when the verification information is verified according to the stored standard information corresponding to Shanghai in step S103, the verification fails.
  • the server when the server fails to verify the verification information according to the standard information corresponding to the location information of the terminal saved in advance, the server may perform the verification information according to other standard information stored in advance. Check it out.
  • the action route is generally from the near-far location starting from the permanent place. Therefore, in the embodiment of the present application, based on the location node tree as shown in FIG.
  • the server fails to verify the verification information according to the standard information corresponding to the location information of the terminal saved in advance
  • the method for verifying the verification information according to other standard information stored in advance may be specifically as shown in the figure. 3 is shown.
  • FIG. 3 is a process of verifying the verification information by the server according to other standard information saved in advance according to an embodiment of the present disclosure, and specifically includes the following steps:
  • S301 Determine a parent node of the location node corresponding to the location information of the terminal, as the current node.
  • S302 Verify the verification information again according to the standard information stored in the information base corresponding to all the child nodes under the current node.
  • S306 Re-determine the parent node of the current node as the current node, and return to step S302.
  • the parent node of the current node is re-determined as the current node, and the verification information is again performed according to the standard information stored in the re-determined information base corresponding to all the child nodes of the current node. Check until the check succeeds or the parent node does not exist on the current node. If the current node does not have a parent node but the verification has not been successful, the server has already verified the information. All the standard information saved has been matched, but none of them match successfully, so the verification failure can be determined at this time.
  • the server uses the parent node A of the location node city A1 as the current node, and again according to the standard information stored in the information base corresponding to all the child nodes (city A1, city A2, etc.) in the province A. The verification information is verified. Since the standard information based on the recalibration includes the standard information corresponding to the city A1, the verification can be successful.
  • the standard information based on the city A2 also includes the standard information corresponding to the city A2, that is, when the verification is performed again, the verification information according to the standard information corresponding to the city A2 is repeated.
  • the server may also mark the standard information or the information base that has been used, and perform the verification again.
  • the verification information is verified according to standard information or a database other than the mark.
  • the standard information is the standard information that has been used; if the verification information is verified, it is based on a If all the standard information in the information base is verified, the information base is the used information base.
  • the embodiment of the present application further provides an information verification device and an information storage device, as shown in FIGS. 4 and 5.
  • FIG. 4 is a schematic structural diagram of an apparatus for verifying information according to an embodiment of the present disclosure, which specifically includes:
  • the receiving module 401 is configured to receive verification information sent by the terminal.
  • a positioning module 402 configured to determine location information of the terminal
  • the verification module 403 is configured to verify the verification information according to each standard information corresponding to the location information saved in advance.
  • the positioning module 402 is specifically configured to determine location information of the terminal according to the source Internet Protocol IP address carried in the verification information.
  • the verification module 403 is specifically configured to: determine, according to a pre-stored location node tree, a location node corresponding to the location information, and determine an information base corresponding to all the sub-nodes under the location node, according to the determined information bases.
  • the saved standard information is verified by the verification information.
  • the verification module 403 is further configured to: when the verification information fails to be verified according to each standard information corresponding to the location information saved in advance, the verification information is compared according to other standard information stored in advance. Check it out.
  • the verification module 403 is specifically configured to: determine a parent node of the location node, as a current node, and perform the verification information again according to standard information stored in an information base corresponding to all the child nodes under the current node. Performing a check, if the verification fails again, the parent node of the current node is re-determined as the current node, and according to the re-determined standard information stored in the information base corresponding to all the child nodes of the current node, the The verification information is verified until the verification is successful or the current node does not have a parent node.
  • the verification information and the standard information specifically include: biometric information.
  • a specific device as shown in FIG. 4 can be located in the server.
  • FIG. 5 is a schematic structural diagram of an apparatus for storing information according to an embodiment of the present disclosure, which specifically includes:
  • the monitoring module 501 is configured to monitor location information of a terminal that performs operations by using an account.
  • the recording module 502 is configured to record the number of times the operation is performed on each location information by using the account;
  • a determining module 503 configured to determine position information with the most times of recording as the specified location information
  • the storage module 504 is configured to store standard information corresponding to the account as the standard information corresponding to the specified location information.
  • a specific device as shown in FIG. 5 can be located in the server.
  • An embodiment of the present application provides a method and an apparatus for information verification and storage, where the server receives the verification information sent by the terminal, and determines the location information of the terminal, according to the standard information corresponding to the location information saved in advance, This verification information is verified.
  • the server only needs to be connected.
  • the received verification information can be matched with each standard information corresponding to the location information of the terminal, and the verification information is not required to be matched with all the stored standard information, thereby effectively improving the verification efficiency and reducing the verification efficiency.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can 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.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-persistent memory in a computer readable medium, random access memory Forms such as (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory.
  • RAM random access memory Forms
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, 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 disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can 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.) including computer usable program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed are a method and device for storing and checking information, which are used for solving the problems in the prior art that the checking efficiency is relatively low and the burden of a server is relatively heavy. The method comprises: receiving, by a server, check information sent by a terminal; determining position information about the terminal; and according to each piece of pre-saved standard information corresponding to the position information, checking the check information. By means of the method, the server only needs to match the received check information with each piece of standard information corresponding to the position information about the terminal, without matching the check information with all the saved standard information, such that the check efficiency can be effectively improved and the burden of the server can be reduced.

Description

一种信息存储和校验的方法及装置Method and device for information storage and verification 技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种信息存储和校验的方法及装置。The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for information storage and verification.
背景技术Background technique
随着计算机信息技术和互联网的飞速发展,用户已经可以通过网络获取到多种服务,目前,大多服务提供商在向用户提供服务之前,都要求用户输入用户名和密码等校验信息,以登录相应的账号,并在对校验信息进行校验通过后,通过登录的账号为用户提供服务。With the rapid development of computer information technology and the Internet, users can already obtain a variety of services through the network. At present, most service providers require users to input verification information such as user names and passwords before they provide services to users. The account number, and after verifying the verification information, provides services to the user through the login account.
然而,通过键盘输入用户名和密码的方式并不便于用户输入校验信息,因此,校验信息的形式日趋多样化,出现了将诸如指纹、掌纹等生物特征信息作为校验信息进行校验的方式。下面以校验信息为指纹为例进行说明。However, the way to input the user name and password through the keyboard is not convenient for the user to input the verification information. Therefore, the form of the verification information is increasingly diversified, and biometric information such as fingerprints and palm prints are verified as verification information. the way. The following takes the verification information as a fingerprint as an example for description.
用户在注册账号时,需要向服务器提交自身的指纹信息,服务器则建立该指纹信息与该用户注册的账号的对应关系,并将该指纹信息作为标准信息存储。When registering an account, the user needs to submit his fingerprint information to the server, and the server establishes a correspondence between the fingerprint information and the account registered by the user, and stores the fingerprint information as standard information.
而用户在登录账号以获取器所需的服务时,就可向服务器发送指纹信息,服务器则将接收到的指纹信息作为校验信息,将该校验信息与自身保存的所有标准信息进行逐一匹配,并确定出与该校验信息的匹配度高于设定阈值的标准信息,再登录确定的该标准信息对应的账号,通过登录的账号向用户提供服务。这样,用户无需输入其用户名和密码,只要提交自身的指纹就可登录自己的账号。When the user logs in to the account to obtain the service required by the device, the user can send the fingerprint information to the server, and the server uses the received fingerprint information as the verification information, and matches the verification information with all the standard information saved by the user one by one. And determining the standard information that the matching degree with the verification information is higher than the set threshold, and then logging in the determined account corresponding to the standard information, and providing the service to the user through the login account. In this way, the user does not need to enter their username and password, and can log in to their account by submitting their own fingerprint.
但是,如果大量的用户都在服务器中注册了账号,则服务器中存储的标准信息的数量也很大,在对校验信息进行校验时,将该校验信息逐个与服务器中保存的所有标准信息进行匹配,显然会降低校验效率,而且服务器的负担也较大。 However, if a large number of users register an account in the server, the amount of standard information stored in the server is also large. When the verification information is verified, the verification information is individually and all standards stored in the server. Matching the information obviously reduces the verification efficiency, and the server is also burdened.
发明内容Summary of the invention
本申请实施例提供一种信息存储和校验的方法及装置,用以解决现有技术中校验效率较低、服务器负担较大的问题。The embodiment of the present invention provides a method and a device for storing and verifying information, which are used to solve the problem of low verification efficiency and large server burden in the prior art.
本申请实施例提供的一种信息校验的方法,包括:A method for information verification provided by the embodiment of the present application includes:
接收终端发送的校验信息;Receiving verification information sent by the terminal;
确定所述终端的位置信息;Determining location information of the terminal;
根据预先保存的所述位置信息对应的各标准信息,对所述校验信息进行校验。The verification information is verified according to each standard information corresponding to the position information stored in advance.
本申请实施例提供的一种信息存储的方法,包括:A method for storing information provided by the embodiment of the present application includes:
监控通过账号执行操作的终端所在的位置信息;Monitoring location information of a terminal that performs operations through an account;
记录通过所述账号在每个位置信息执行操作的次数;Recording the number of times the operation is performed on each location information by the account number;
确定记录的次数最多的位置信息,作为指定位置信息;Determining the location information with the most number of records as the specified location information;
将所述账号对应的标准信息存储为所述指定位置信息对应的标准信息。The standard information corresponding to the account is stored as standard information corresponding to the specified location information.
本申请实施例提供的一种信息校验的装置,包括:An apparatus for verifying information provided by the embodiment of the present application includes:
接收模块,用于接收终端发送的校验信息;a receiving module, configured to receive verification information sent by the terminal;
定位模块,用于确定所述终端的位置信息;a positioning module, configured to determine location information of the terminal;
校验模块,用于根据预先保存的所述位置信息对应的各标准信息,对所述校验信息进行校验。And a verification module, configured to perform verification on the verification information according to each standard information corresponding to the location information saved in advance.
本申请实施例提供的一种信息存储的装置,包括:An apparatus for storing information provided by the embodiment of the present application includes:
监控模块,用于监控通过账号执行操作的终端所在的位置信息;a monitoring module, configured to monitor location information of a terminal that performs operations by using an account;
记录模块,用于记录通过所述账号在每个位置信息执行操作的次数;a recording module, configured to record the number of times the operation is performed on each location information by using the account;
确定模块,用于确定记录的次数最多的位置信息,作为指定位置信息;a determining module, configured to determine location information with the highest number of records as the specified location information;
存储模块,用于将所述账号对应的标准信息存储为所述指定位置信息对应的标准信息。And a storage module, configured to store standard information corresponding to the account as the standard information corresponding to the specified location information.
本申请实施例提供一种信息校验和存储的方法及装置,该方法服务器接收 终端发送的校验信息,并确定该终端的位置信息,根据预先保存的该位置信息对应的各标准信息,对该校验信息进行校验。通过上述方法,服务器仅需将接收到的校验信息,与该终端的位置信息对应的各标准信息进行匹配即可,而无需将校验信息与保存的所有标准信息都进行匹配,从而可有效提高校验效率,也减轻了服务器的负担。An embodiment of the present application provides a method and an apparatus for information checksum storage, where the method server receives The verification information sent by the terminal is determined, and the location information of the terminal is determined, and the verification information is verified according to each standard information corresponding to the location information saved in advance. Through the above method, the server only needs to match the received verification information with each standard information corresponding to the location information of the terminal, and does not need to match the verification information with all the stored standard information, thereby effectively Improve verification efficiency and reduce the burden on the server.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1为本申请实施例提供的信息校验的过程;FIG. 1 is a process of information verification provided by an embodiment of the present application;
图2为本申请实施例提供的位置节点树示意图;2 is a schematic diagram of a location node tree according to an embodiment of the present application;
图3为本申请实施例提供的服务器根据预先保存的其他标准信息对该校验信息进行校验的过程;FIG. 3 is a process of verifying the verification information by the server according to other standard information stored in advance according to an embodiment of the present application;
图4为本申请实施例提供的信息校验的装置结构示意图;4 is a schematic structural diagram of an apparatus for verifying information according to an embodiment of the present application;
图5为本申请实施例提供的信息存储的装置结构示意图。FIG. 5 is a schematic structural diagram of an apparatus for storing information according to an embodiment of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application will be clearly and completely described in the following with reference to the specific embodiments of the present application and the corresponding drawings. It is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
图1为本申请实施例提供的信息校验的过程,具体包括以下步骤:FIG. 1 is a process of information verification provided by an embodiment of the present application, which specifically includes the following steps:
S101:接收终端发送的校验信息。S101: Receive verification information sent by the terminal.
在本申请实施例中,用户在登录某个账号时,先要通过终端向服务器发送 校验信息,服务器在对该校验信息校验成功后才允许用户登录该账号。其中,本申请实施例中,所述的校验信息包括生物特征信息,如,指纹、掌纹、虹膜等信息。In the embodiment of the present application, when logging in an account, the user first sends the server to the server through the terminal. Checking the information, the server allows the user to log in to the account after the verification of the verification information is successful. In the embodiment of the present application, the verification information includes biometric information, such as fingerprint, palm print, iris, and the like.
S102:确定该终端的位置信息。S102: Determine location information of the terminal.
终端在向服务器发送校验信息时,通常都会将该终端自身的互联网协议(Internet Protocol,IP)地址也发送给服务器,即,向服务器上报源IP地址,从而,服务器可根据接收到的该位置信息中携带的源IP地址,确定该终端的位置信息。When the terminal sends the verification information to the server, the terminal usually sends the Internet Protocol (IP) address of the terminal to the server, that is, reports the source IP address to the server, so that the server can receive the location according to the received address. The source IP address carried in the information determines the location information of the terminal.
具体的,服务器可预先保存IP地址与位置信息的对应关系,当服务器接收到终端发送的位置信息时,则可根据该位置信息中携带的源IP地址,确定该源IP地址对应的位置信息,作为确定出的该终端的位置信息。Specifically, the server may pre-store the correspondence between the IP address and the location information. When the server receives the location information sent by the terminal, the server may determine the location information corresponding to the source IP address according to the source IP address carried in the location information. As the determined location information of the terminal.
当然,终端也可采用其他方法向服务器上报自身的位置信息,如,在向服务器发送位置信息时,可采用全球定位系统(Global Positioning System,GPS)确定自身的位置信息并上报给服务器。Of course, the terminal can also report its own location information to the server by using other methods. For example, when transmitting the location information to the server, the Global Positioning System (GPS) can be used to determine its location information and report it to the server.
S103:根据预先保存的该位置信息对应的各标准信息,对该校验信息进行校验。S103: Verify the verification information according to each standard information corresponding to the location information saved in advance.
在本申请实施例中,服务器预先存储了各位置信息与标准信息的对应关系,其中,一个标准信息仅对应一个位置信息,一个位置信息可对应多个标准信息。In the embodiment of the present application, the server pre-stores the correspondence between the location information and the standard information, where one standard information only corresponds to one location information, and one location information may correspond to multiple standard information.
例如,假设位置信息为北京和上海,则北京对应的标准信息可以为指纹A和指纹B,上海对应的标准信息可以为指纹C、指纹D和指纹E。For example, if the location information is Beijing and Shanghai, the standard information corresponding to Beijing may be fingerprint A and fingerprint B, and the standard information corresponding to Shanghai may be fingerprint C, fingerprint D, and fingerprint E.
从而,服务器通过步骤S102确定了发送校验信息的终端的位置信息后,则可仅根据保存的该位置信息对应的各标准信息,对该校验信息进行校验,也即,仅将该校验信息与该终端的位置信息对应的各标准信息进行一一匹配即可,而无需将该校验信息与全量的标准信息都进行匹配。Therefore, after the server determines the location information of the terminal that sends the verification information in step S102, the verification information can be verified only according to the stored standard information corresponding to the location information, that is, only the school is The standard information of the verification information corresponding to the location information of the terminal may be matched one by one, without matching the verification information with the full amount of standard information.
继续沿用上例,假设确定的发送校验信息的终端的位置信息为北京,则服 务器可仅将该校验信息与北京对应的指纹A和指纹B进行匹配即可,而无需将该校验信息与指纹A~E都进行匹配,有效的提高了校验效率,也减轻了服务器的负担。Continue to use the above example, assuming that the location information of the terminal that sends the verification information is Beijing, then The server can only match the verification information with the fingerprint A and the fingerprint B corresponding to Beijing, without matching the verification information with the fingerprints A to E, thereby effectively improving the verification efficiency and reducing the efficiency. The burden on the server.
进一步的,服务器建立并存储这种位置信息与标准信息之间的对应关系的方法可以为:服务器针对一个账号,监控通过该账号执行操作的终端所在的位置信息,记录通过该账号在每个位置信息执行操作的次数,并确定记录的次数最多的位置信息,作为指定位置信息,最后将该账号对应的标准信息存储为指定位置信息对应的标准信息。Further, the method for the server to establish and store the correspondence between the location information and the standard information may be: the server monitors, for an account, location information of the terminal that performs operations through the account, and records the location of the account through the account. The number of times the information is performed, and the location information with the highest number of records is determined as the specified location information, and finally the standard information corresponding to the account is stored as the standard information corresponding to the specified location information.
例如,假设某用户的账号的标准信息为该用户的指纹,服务器可监控通过该账号执行操作(如,登录操作、支付操作、查询操作等)的终端所在的位置信息,并记录通过该账号在每个位置执行操作的次数,假设预设的位置信息包括北京、上海、广州,而监控到该账号在北京执行操作的次数为10次,在上海执行操作的次数为7次,在广州执行操作的次数为1次,则服务器可将次数最多的北京作为指定位置信息,并将该用户的指纹存储为北京对应的标准信息。For example, if the standard information of a user's account is the fingerprint of the user, the server may monitor the location information of the terminal that performs operations (eg, login operation, payment operation, query operation, etc.) through the account, and records the account through the account. The number of operations performed at each location, assuming that the preset location information includes Beijing, Shanghai, and Guangzhou, and the number of times the account is operated in Beijing is monitored 10 times, and the number of operations performed in Shanghai is 7 times, and operations are performed in Guangzhou. The number of times is one, the server can use the most frequently used Beijing as the specified location information, and store the fingerprint of the user as the standard information corresponding to Beijing.
从而,当用户注册一个账号,并将其指纹作为标准信息发送给服务器时,由于此时服务器仅监测到通过该账号的一次操作,因此,服务器会将该标准信息存储为用户注册时所在的位置对应的标准信息,而随着用户使用该账号的次数的增长,该标准信息对应的位置信息就可能会发生改变,也即,本申请实施例中,位置信息与标准信息之间的对应关系并不是一成不变的,而是动态变化的。一个账号的标准信息对应的位置信息最终就是该账号的用户的常居地位置信息。Therefore, when the user registers an account and sends the fingerprint as standard information to the server, since the server only detects one operation through the account at this time, the server stores the standard information as the location where the user is registered. Corresponding standard information, and as the number of times the user uses the account increases, the location information corresponding to the standard information may change, that is, in the embodiment of the present application, the correspondence between the location information and the standard information is It is not static, but dynamic. The location information corresponding to the standard information of an account is ultimately the location information of the user of the account.
例如,假设对应一个账号,在某一时刻,服务器监控到该账号在北京执行操作的次数为10次,在上海执行操作的次数为7次,在广州执行操作的次数为1次,则此时该账号的标准信息为北京对应的标准信息。如果在之后的另一时刻,服务器监控到该账号在北京执行操作的次数为12次,在上海执行操作 的次数为15次,在广州执行操作的次数为2次,则该账号的标准信息就会变更为上海对应的标准信息。For example, suppose that for an account, at a certain time, the server monitors that the number of operations performed by the account in Beijing is 10, the number of operations performed in Shanghai is 7 times, and the number of operations performed in Guangzhou is 1 time. The standard information of the account is the standard information corresponding to Beijing. If at another point in time, the server monitors that the account has been operated in Beijing 12 times, performing operations in Shanghai. The number of times is 15 times, and the number of operations performed in Guangzhou is 2 times, the standard information of the account will be changed to the standard information corresponding to Shanghai.
更进一步的,服务器可针对预设的每个位置信息,为该位置信息配置唯一的一个信息库,用于存储该位置信息对应的各标准信息。而考虑到在实际应用场景中,地理区域一般按从大到小分为多个等级,因此,在本申请实施例中,服务器还可预设一个位置节点树,并将各标准信息保存在该位置节点树中最下层的每个叶子节点中。该位置节点树具体可如图2所示。Further, the server may configure a unique information base for the location information for each location information that is preset for storing the standard information corresponding to the location information. In the embodiment of the present application, the server may further preset a location node tree and save each standard information in the actual application scenario, in which the geographical area is generally divided into multiple levels. In the lowest node of each node in the location node tree. The location node tree can be specifically as shown in FIG. 2.
图2为本申请实施例提供的位置节点树示意图,该位置节点树共分为四层,分别为全量、国内/外、省、市,各层节点从上到下的地理区域范围递减,则服务器可针对该位置节点树中最下层的每个叶子节点(市),为该叶子节点配置一个唯一的信息库,用来存储该叶子节点对应的标准信息。FIG. 2 is a schematic diagram of a location node tree according to an embodiment of the present disclosure. The node tree is divided into four layers, namely, full quantity, domestic/external, provincial, and municipal, and the geographic area of each layer node is decreased from top to bottom. The server may configure, for each leaf node (city) of the lowest layer in the node tree of the location, a unique information base for storing the standard information corresponding to the leaf node.
考虑到在实际应用场景中,服务器确定出的终端的位置信息并不一定可以精确到该节点树的某一个最下层的叶子节点上,因此,采用该位置节点树保存标准信息时,在图1所示的步骤S103中,服务器可根据预先保存的位置节点树,确定该终端的位置信息对应的位置节点,并确定该位置节点下的所有子节点对应的信息库,根据确定的各信息库中保存的标准信息,对该校验信息进行校验。Considering that in the actual application scenario, the location information of the terminal determined by the server may not be accurate to a certain lowermost leaf node of the node tree, therefore, when the location node tree is used to save the standard information, in FIG. 1 In the step S103, the server may determine a location node corresponding to the location information of the terminal according to the pre-stored location node tree, and determine a information base corresponding to all the child nodes under the location node, according to the determined information bases. The saved standard information is verified by the saved information.
例如,基于如图2所示的位置节点树,服务器确定的终端的位置信息可能为浙江省,该位置信息对应的位置节点并不是节点树最下层的市级叶子节点,因此,服务器可确定该位置节点下的所有子节点对应的信息库,并根据该位置节点下的所有子节点对应的信息库中保存的标准信息,对该校验信息进行校验。For example, based on the location node tree as shown in FIG. 2, the location information of the terminal determined by the server may be Zhejiang Province, and the location node corresponding to the location information is not the lowest-level city leaf node of the node tree, therefore, the server may determine the The information base corresponding to all the child nodes under the location node, and the verification information is verified according to the standard information stored in the information base corresponding to all the child nodes under the location node.
考虑到在实际应用场景中,用户可能会到其他位置出差并使用自己的账号执行操作,假设服务器中保存的该账号的标准信息为北京对应标准信息,则用户在北京使用该账号时,服务器可根据北京对应的各标准信息,对用户使用该账号时提交的校验信息校验成功,但是,如果用户出差到上海,在上海使用该 账号,则步骤S102中服务器确定出的该终端的位置信息就为上海,从而步骤S103中根据保存的上海对应的各标准信息对该校验信息进行校验时,必然会导致校验失败。Considering that in the actual application scenario, the user may go to another location to travel and use his own account to perform operations. If the standard information of the account saved in the server is the corresponding standard information in Beijing, the server may use the account in Beijing. According to the corresponding standard information of Beijing, the verification information submitted by the user when using the account is verified successfully, but if the user travels to Shanghai, the use of the verification information in Shanghai In the case of the account, the location information of the terminal determined by the server in step S102 is Shanghai. Therefore, when the verification information is verified according to the stored standard information corresponding to Shanghai in step S103, the verification fails.
从而,在本申请实施例中,服务器在根据预先保存的该终端的位置信息对应的各标准信息,对该校验信息校验失败时,可根据预先保存的其他标准信息,对该校验信息进行校验。Therefore, in the embodiment of the present application, when the server fails to verify the verification information according to the standard information corresponding to the location information of the terminal saved in advance, the server may perform the verification information according to other standard information stored in advance. Check it out.
具体的,考虑到用户从其常居地出差时,一般是以该常居地为起点由近到远的行动路线,因此,在本申请实施例中,基于如图2所示的位置节点树,当服务器在根据预先保存的该终端的位置信息对应的各标准信息,对该校验信息校验失败时,根据预先保存的其他标准信息对该校验信息进行校验的方法具体可以如图3所示。Specifically, in consideration of the user traveling from his or her usual place of residence, the action route is generally from the near-far location starting from the permanent place. Therefore, in the embodiment of the present application, based on the location node tree as shown in FIG. When the server fails to verify the verification information according to the standard information corresponding to the location information of the terminal saved in advance, the method for verifying the verification information according to other standard information stored in advance may be specifically as shown in the figure. 3 is shown.
图3为本申请实施例提供的服务器根据预先保存的其他标准信息对该校验信息进行校验的过程,具体包括以下步骤:FIG. 3 is a process of verifying the verification information by the server according to other standard information saved in advance according to an embodiment of the present disclosure, and specifically includes the following steps:
S301:确定该终端的位置信息对应的位置节点的父节点,作为当前节点。S301: Determine a parent node of the location node corresponding to the location information of the terminal, as the current node.
S302:根据该当前节点下的所有子节点对应的信息库中保存的标准信息,再次对所述校验信息进行校验。S302: Verify the verification information again according to the standard information stored in the information base corresponding to all the child nodes under the current node.
S303:判断是否校验通过,若是,则执行步骤S304,否则,执行步骤S305。S303: Determine whether the verification is passed, and if yes, execute step S304, otherwise, execute step S305.
S304:校验结束,校验结果为成功。S304: The verification is completed, and the verification result is successful.
S305:判断当前节点是否存在父节点,若是,则执行步骤S306,否则,执行步骤S307。S305: Determine whether the current node has a parent node, and if yes, execute step S306; otherwise, execute step S307.
S306:将当前节点的父节点重新确定为当前节点,返回步骤S302。S306: Re-determine the parent node of the current node as the current node, and return to step S302.
S307:校验结束,校验结果为失败。S307: The verification ends, and the verification result is a failure.
也即,若再次校验失败,则将当前节点的父节点重新确定为当前节点,并根据重新确定的当前节点下所有子节点对应的信息库中保存的标准信息,再次对该校验信息进行校验,直至校验成功或者当前节点不存在父节点为止。如果当前节点已经不存在父节点但仍未校验成功,则说明服务器已经将该校验信息 与保存的所有标准信息都进行过匹配,但均未匹配成功,因此此时可确定校验失败。That is, if the verification fails again, the parent node of the current node is re-determined as the current node, and the verification information is again performed according to the standard information stored in the re-determined information base corresponding to all the child nodes of the current node. Check until the check succeeds or the parent node does not exist on the current node. If the current node does not have a parent node but the verification has not been successful, the server has already verified the information. All the standard information saved has been matched, but none of them match successfully, so the verification failure can be determined at this time.
例如,假设基于如图2所示的位置节点树,用户由其常居地市A1出差到了市A2,则由于服务器中保存的该用户的账号的标准信息是位置节点市A1对应的位置信息,而用户在市A2使用账号时,向服务器发送校验信息后,服务器确定的终端的位置信息为市A2,因此会根据市A2对应的标准信息对该校验信息进行校验,从而校验失败。此时,服务器将该位置节点市A1的父节点省A作为当前节点,并根据省A下的所有子节点(市A1、市A2等)对应的信息库中保存的标准信息,再次对该校验信息进行校验,由于再次校验时,所基于的标准信息中包括了市A1对应的标准信息,因此此次校验即可成功。For example, suppose that based on the location node tree shown in FIG. 2, the user travels from the resident city A1 to the city A2, because the standard information of the account of the user saved in the server is the location information corresponding to the location node city A1. When the user uses the account in the city A2 to send the verification information to the server, the location information of the terminal determined by the server is the city A2, so the verification information is verified according to the standard information corresponding to the city A2, and the verification fails. . At this time, the server uses the parent node A of the location node city A1 as the current node, and again according to the standard information stored in the information base corresponding to all the child nodes (city A1, city A2, etc.) in the province A. The verification information is verified. Since the standard information based on the recalibration includes the standard information corresponding to the city A1, the verification can be successful.
当然,上例中再次校验时,所基于的标准信息中也包括市A2对应的标准信息,也就是说再次校验时,又要重复的根据市A2对应的标准信息再对该校验信息进行校验一次,因此,为了避免重复校验,进一步提高校验效率,在本申请实施例中,服务器还可标记已经使用过的标准信息或信息库,并在再次对该校验信息进行校验时,根据除标记以外的标准信息或信息库对该校验信息进行校验。其中,如果在对校验信息进行校验时,是根据一个标准信息进行校验的,则该标准信息即为已经使用过的标准信息;如果在对校验信息进行校验时,是根据一个信息库中的所有标准信息进行校验的,则该信息库即为已经使用过的信息库。Of course, in the above example, when the calibration is performed again, the standard information based on the city A2 also includes the standard information corresponding to the city A2, that is, when the verification is performed again, the verification information according to the standard information corresponding to the city A2 is repeated. In the embodiment of the present application, the server may also mark the standard information or the information base that has been used, and perform the verification again. At the time of verification, the verification information is verified according to standard information or a database other than the mark. Wherein, if the verification information is verified according to a standard information, the standard information is the standard information that has been used; if the verification information is verified, it is based on a If all the standard information in the information base is verified, the information base is the used information base.
以上为本申请实施例提供的信息校验和存储的方法,基于同样的思路,本申请实施例还提供了一种信息校验的装置和信息存储的装置,如图4和5所示。The above is the information verification and storage method provided by the embodiment of the present application. Based on the same idea, the embodiment of the present application further provides an information verification device and an information storage device, as shown in FIGS. 4 and 5.
图4为本申请实施例提供的信息校验的装置结构示意图,具体包括:FIG. 4 is a schematic structural diagram of an apparatus for verifying information according to an embodiment of the present disclosure, which specifically includes:
接收模块401,用于接收终端发送的校验信息;The receiving module 401 is configured to receive verification information sent by the terminal.
定位模块402,用于确定所述终端的位置信息;a positioning module 402, configured to determine location information of the terminal;
校验模块403,用于根据预先保存的所述位置信息对应的各标准信息,对所述校验信息进行校验。 The verification module 403 is configured to verify the verification information according to each standard information corresponding to the location information saved in advance.
所述定位模块402具体用于,根据所述校验信息中携带的源互联网协议IP地址,确定所述终端的位置信息。The positioning module 402 is specifically configured to determine location information of the terminal according to the source Internet Protocol IP address carried in the verification information.
所述校验模块403具体用于,根据预先保存的位置节点树,确定所述位置信息对应的位置节点,确定所述位置节点下的所有子节点对应的信息库,根据确定的各信息库中保存的标准信息,对所述校验信息进行校验。The verification module 403 is specifically configured to: determine, according to a pre-stored location node tree, a location node corresponding to the location information, and determine an information base corresponding to all the sub-nodes under the location node, according to the determined information bases. The saved standard information is verified by the verification information.
所述校验模块403还用于,在根据预先保存的所述位置信息对应的各标准信息,对所述校验信息校验失败时,根据预先保存的其他标准信息,对所述校验信息进行校验。The verification module 403 is further configured to: when the verification information fails to be verified according to each standard information corresponding to the location information saved in advance, the verification information is compared according to other standard information stored in advance. Check it out.
所述校验模块403具体用于,确定所述位置节点的父节点,作为当前节点,根据所述当前节点下的所有子节点对应的信息库中保存的标准信息,再次对所述校验信息进行校验,若再次校验失败,则将所述当前节点的父节点重新确定为当前节点,并根据重新确定的当前节点下所有子节点对应的信息库中保存的标准信息,再次对所述校验信息进行校验,直至校验成功或者当前节点不存在父节点为止。The verification module 403 is specifically configured to: determine a parent node of the location node, as a current node, and perform the verification information again according to standard information stored in an information base corresponding to all the child nodes under the current node. Performing a check, if the verification fails again, the parent node of the current node is re-determined as the current node, and according to the re-determined standard information stored in the information base corresponding to all the child nodes of the current node, the The verification information is verified until the verification is successful or the current node does not have a parent node.
所述校验信息和所述标准信息具体包括:生物特征信息。The verification information and the standard information specifically include: biometric information.
具体的如图4所示的装置可以位于服务器中。A specific device as shown in FIG. 4 can be located in the server.
图5为本申请实施例提供的信息存储的装置结构示意图,具体包括:FIG. 5 is a schematic structural diagram of an apparatus for storing information according to an embodiment of the present disclosure, which specifically includes:
监控模块501,用于监控通过账号执行操作的终端所在的位置信息;The monitoring module 501 is configured to monitor location information of a terminal that performs operations by using an account.
记录模块502,用于记录通过所述账号在每个位置信息执行操作的次数;The recording module 502 is configured to record the number of times the operation is performed on each location information by using the account;
确定模块503,用于确定记录的次数最多的位置信息,作为指定位置信息;a determining module 503, configured to determine position information with the most times of recording as the specified location information;
存储模块504,用于将所述账号对应的标准信息存储为所述指定位置信息对应的标准信息。The storage module 504 is configured to store standard information corresponding to the account as the standard information corresponding to the specified location information.
具体的如图5所示的装置可以位于服务器中。A specific device as shown in FIG. 5 can be located in the server.
本申请实施例提供一种信息校验和存储的方法及装置,该方法服务器接收终端发送的校验信息,并确定该终端的位置信息,根据预先保存的该位置信息对应的各标准信息,对该校验信息进行校验。通过上述方法,服务器仅需将接 收到的校验信息,与该终端的位置信息对应的各标准信息进行匹配即可,而无需将校验信息与保存的所有标准信息都进行匹配,从而可有效提高校验效率,也减轻了服务器的负担。An embodiment of the present application provides a method and an apparatus for information verification and storage, where the server receives the verification information sent by the terminal, and determines the location information of the terminal, according to the standard information corresponding to the location information saved in advance, This verification information is verified. Through the above method, the server only needs to be connected. The received verification information can be matched with each standard information corresponding to the location information of the terminal, and the verification information is not required to be matched with all the stored standard information, thereby effectively improving the verification efficiency and reducing the verification efficiency. The burden on the server.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can 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.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(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-persistent memory in a computer readable medium, random access memory Forms such as (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, 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 disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware. Moreover, the application can 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.) including computer usable program code.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。 The above description is only an embodiment of the present application and is not intended to limit the application. Various changes and modifications can be made to the present application by those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present application are intended to be included within the scope of the appended claims.

Claims (14)

  1. 一种信息校验的方法,其特征在于,包括:A method for information verification, comprising:
    接收终端发送的校验信息;Receiving verification information sent by the terminal;
    确定所述终端的位置信息;Determining location information of the terminal;
    根据预先保存的所述位置信息对应的各标准信息,对所述校验信息进行校验。The verification information is verified according to each standard information corresponding to the position information stored in advance.
  2. 如权利要求1所述的方法,其特征在于,确定所述终端的位置信息,具体包括:The method of claim 1, wherein determining the location information of the terminal comprises:
    根据所述校验信息中携带的源互联网协议IP地址,确定所述终端的位置信息。Determining location information of the terminal according to the source Internet Protocol IP address carried in the verification information.
  3. 如权利要求1所述的方法,其特征在于,根据预先保存的所述位置信息对应的各标准信息,对所述校验信息进行校验,具体包括:The method according to claim 1, wherein the verification information is verified according to each standard information corresponding to the location information saved in advance, and specifically includes:
    根据预先保存的位置节点树,确定所述位置信息对应的位置节点;Determining, according to the pre-stored location node tree, a location node corresponding to the location information;
    确定所述位置节点下的所有子节点对应的信息库;Determining a database corresponding to all the child nodes under the location node;
    根据确定的各信息库中保存的标准信息,对所述校验信息进行校验。The verification information is verified according to the determined standard information stored in each information base.
  4. 如权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    在根据预先保存的所述位置信息对应的各标准信息,对所述校验信息校验失败时,根据预先保存的其他标准信息,对所述校验信息进行校验。When the verification information fails to be verified according to each standard information corresponding to the position information stored in advance, the verification information is verified based on other standard information stored in advance.
  5. 如权利要求4所述的方法,其特征在于,根据预先保存的其他标准信息,对所述校验信息进行校验,具体包括:The method of claim 4, wherein the verifying the verification information according to other standard information saved in advance comprises:
    确定所述位置节点的父节点,作为当前节点;Determining a parent node of the location node as a current node;
    根据所述当前节点下的所有子节点对应的信息库中保存的标准信息,再次对所述校验信息进行校验;And verifying the verification information again according to the standard information saved in the information base corresponding to all the child nodes under the current node;
    若再次校验失败,则将所述当前节点的父节点重新确定为当前节点,并根据重新确定的当前节点下所有子节点对应的信息库中保存的标准信息,再次对所述校验信息进行校验,直至校验成功或者当前节点不存在父节点为止。 If the verification fails again, the parent node of the current node is re-determined as the current node, and the verification information is again performed according to the standard information stored in the re-determined information base corresponding to all the child nodes of the current node. Check until the check succeeds or the parent node does not exist on the current node.
  6. 如权利要求1~5任一所述的方法,其特征在于,所述校验信息和所述标准信息具体包括:生物特征信息。The method according to any one of claims 1 to 5, wherein the verification information and the standard information specifically comprise biometric information.
  7. 一种信息存储的方法,其特征在于,包括:A method for storing information, characterized in that it comprises:
    监控通过账号执行操作的终端所在的位置信息;Monitoring location information of a terminal that performs operations through an account;
    记录通过所述账号在每个位置信息执行操作的次数;Recording the number of times the operation is performed on each location information by the account number;
    确定记录的次数最多的位置信息,作为指定位置信息;Determining the location information with the most number of records as the specified location information;
    将所述账号对应的标准信息存储为所述指定位置信息对应的标准信息。The standard information corresponding to the account is stored as standard information corresponding to the specified location information.
  8. 一种信息校验的装置,其特征在于,包括:An apparatus for information verification, comprising:
    接收模块,用于接收终端发送的校验信息;a receiving module, configured to receive verification information sent by the terminal;
    定位模块,用于确定所述终端的位置信息;a positioning module, configured to determine location information of the terminal;
    校验模块,用于根据预先保存的所述位置信息对应的各标准信息,对所述校验信息进行校验。And a verification module, configured to perform verification on the verification information according to each standard information corresponding to the location information saved in advance.
  9. 如权利要求8所述的装置,其特征在于,所述定位模块具体用于,根据所述校验信息中携带的源互联网协议IP地址,确定所述终端的位置信息。The device according to claim 8, wherein the positioning module is specifically configured to determine location information of the terminal according to a source Internet Protocol IP address carried in the verification information.
  10. 如权利要求8所述的装置,其特征在于,所述校验模块具体用于,根据预先保存的位置节点树,确定所述位置信息对应的位置节点,确定所述位置节点下的所有子节点对应的信息库,根据确定的各信息库中保存的标准信息,对所述校验信息进行校验。The apparatus according to claim 8, wherein the verification module is configured to determine a location node corresponding to the location information according to a pre-stored location node tree, and determine all child nodes under the location node. The corresponding information base verifies the verification information according to the determined standard information stored in each information base.
  11. 如权利要求10所述的装置,其特征在于,所述校验模块还用于,在根据预先保存的所述位置信息对应的各标准信息,对所述校验信息校验失败时,根据预先保存的其他标准信息,对所述校验信息进行校验。The device according to claim 10, wherein the verification module is further configured to: when the verification information fails to be verified according to each standard information corresponding to the location information saved in advance, according to the foregoing The other standard information is saved, and the verification information is verified.
  12. 如权利要求11所述的装置,其特征在于,所述校验模块具体用于,确定所述位置节点的父节点,作为当前节点,根据所述当前节点下的所有子节点对应的信息库中保存的标准信息,再次对所述校验信息进行校验,若再次校验失败,则将所述当前节点的父节点重新确定为当前节点,并根据重新确定的当前节点下所有子节点对应的信息库中保存的标准信息,再次对所述校验信息 进行校验,直至校验成功或者当前节点不存在父节点为止。The device according to claim 11, wherein the verification module is specifically configured to: determine a parent node of the location node as a current node, according to an information base corresponding to all child nodes under the current node The saved standard information is verified again by the verification information. If the verification fails again, the parent node of the current node is re-determined as the current node, and according to the re-determined corresponding sub-nodes of the current node. The standard information saved in the information base, and the verification information is again Verify until the check is successful or the parent node does not exist on the current node.
  13. 如权利要求8~12任一所述的装置,其特征在于,所述校验信息和所述标准信息具体包括:生物特征信息。The apparatus according to any one of claims 8 to 12, wherein the verification information and the standard information specifically comprise biometric information.
  14. 一种信息存储的装置,其特征在于,包括:An apparatus for storing information, comprising:
    监控模块,用于监控通过账号执行操作的终端所在的位置信息;a monitoring module, configured to monitor location information of a terminal that performs operations by using an account;
    记录模块,用于记录通过所述账号在每个位置信息执行操作的次数;a recording module, configured to record the number of times the operation is performed on each location information by using the account;
    确定模块,用于确定记录的次数最多的位置信息,作为指定位置信息;a determining module, configured to determine location information with the highest number of records as the specified location information;
    存储模块,用于将所述账号对应的标准信息存储为所述指定位置信息对应的标准信息。 And a storage module, configured to store standard information corresponding to the account as the standard information corresponding to the specified location information.
PCT/CN2015/094311 2014-11-18 2015-11-11 Method and device for storing and checking information WO2016078526A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410659764.1A CN105678155B (en) 2014-11-18 2014-11-18 A kind of method and device of information storage and verification
CN201410659764.1 2014-11-18

Publications (1)

Publication Number Publication Date
WO2016078526A1 true WO2016078526A1 (en) 2016-05-26

Family

ID=56013275

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/094311 WO2016078526A1 (en) 2014-11-18 2015-11-11 Method and device for storing and checking information

Country Status (2)

Country Link
CN (1) CN105678155B (en)
WO (1) WO2016078526A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947610A (en) * 2019-03-19 2019-06-28 浪潮商用机器有限公司 Configuration method of calibration, device, system and the storage medium of server hardware system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659019B (en) * 2019-09-26 2023-07-25 北京金山云网络技术有限公司 Parameter verification method, device and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336800A (en) * 2013-06-19 2013-10-02 武汉世纪金桥安全技术有限公司 Fingerprint storage and comparison method based on behavior analysis
CN103345616A (en) * 2013-06-19 2013-10-09 武汉世纪金桥安全技术有限公司 Fingerprint storage comparison system based on behavioral analysis
CN103581108A (en) * 2012-07-19 2014-02-12 阿里巴巴集团控股有限公司 Login authentication method, login authentication client, login authentication server and login authentication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101853812B1 (en) * 2011-03-15 2018-05-02 삼성전자주식회사 Method for generating electronic appliance identifier and managing information by using the electronic appliance identifier

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581108A (en) * 2012-07-19 2014-02-12 阿里巴巴集团控股有限公司 Login authentication method, login authentication client, login authentication server and login authentication system
CN103336800A (en) * 2013-06-19 2013-10-02 武汉世纪金桥安全技术有限公司 Fingerprint storage and comparison method based on behavior analysis
CN103345616A (en) * 2013-06-19 2013-10-09 武汉世纪金桥安全技术有限公司 Fingerprint storage comparison system based on behavioral analysis

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947610A (en) * 2019-03-19 2019-06-28 浪潮商用机器有限公司 Configuration method of calibration, device, system and the storage medium of server hardware system

Also Published As

Publication number Publication date
CN105678155A (en) 2016-06-15
CN105678155B (en) 2018-09-18

Similar Documents

Publication Publication Date Title
US10887313B2 (en) Systems and methods for controlling sign-on to web applications
CN110495132B (en) System and method for generating, uploading and executing code blocks within distributed network nodes
US8898764B2 (en) Authenticating user through web extension using token based authentication scheme
KR102204733B1 (en) Method, device, and server for account login
US20190363885A1 (en) Privacy-preserving Identity Verification
WO2017162112A1 (en) Identity registration method and device
TWI679550B (en) Account login method and device
JP6435398B2 (en) Method and system for facilitating terminal identifiers
US9923906B2 (en) System, method and computer program product for access authentication
US20210011905A1 (en) Method for providing relational decentralized identifier service and blockchain node using the same
US10135810B2 (en) Selective authentication system
US8566914B2 (en) Triple authentication: mobile hardware, mobile user, and user account
US20130104219A1 (en) Centralized authentication for multiple applications
TWI646479B (en) Business authentication method, system and server
US20130291121A1 (en) Cloud Abstraction
US8763098B2 (en) Mechanism for facilitating dynamic and continuous testing of security assertion markup language credentials in an on-demand services environment
US20230385396A1 (en) Methods and systems for verifying applications
US10853359B1 (en) Data log stream processing using probabilistic data structures
US10860703B1 (en) Online authentication and security management using device-based identification
US20180107812A1 (en) Security model for network information service
US20220360575A1 (en) Security for diverse computing systems
US20240296449A1 (en) Mobile authentification method via peer mobiles
CN104574101B (en) Method, equipment and system for verifying electronic ticket
US20240346149A1 (en) Methods and systems for verifying applications
US11275825B1 (en) Updating a password for a credential

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15862100

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15862100

Country of ref document: EP

Kind code of ref document: A1