CN108932621A - security verification method and device - Google Patents

security verification method and device Download PDF

Info

Publication number
CN108932621A
CN108932621A CN201710395315.4A CN201710395315A CN108932621A CN 108932621 A CN108932621 A CN 108932621A CN 201710395315 A CN201710395315 A CN 201710395315A CN 108932621 A CN108932621 A CN 108932621A
Authority
CN
China
Prior art keywords
terminal
shooting
shooting result
matching
geographical location
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.)
Granted
Application number
CN201710395315.4A
Other languages
Chinese (zh)
Other versions
CN108932621B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710395315.4A priority Critical patent/CN108932621B/en
Publication of CN108932621A publication Critical patent/CN108932621A/en
Application granted granted Critical
Publication of CN108932621B publication Critical patent/CN108932621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Alarm Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

This application discloses security verification method and device, this method includes:In response to receiving the security verification request of terminal transmission, the geographical location information that terminal periodic is sent is received;Execute following shooting step:Receive the shooting request of current geographic position information that terminal is sent, including terminal;To with current geographic position information indicated by a distance from geographical location shortest default filming apparatus send the shooting instruction to the user for holding terminal, and receive the shooting result that default filming apparatus is returned according to shooting instruction;If shooting result matches with default shooting result, shooting result is included into matching shooting result set;In response to determining that the number of matching shooting result reaches preset threshold, the movement routine of terminal is generated, and be based on preset path and movement routine, determine whether terminal passes through safety verification, to improve the safety of payment.

Description

Security verification method and device
Technical field
This application involves field of computer technology, and in particular to Internet technical field more particularly to security verification side Method and device.
Background technique
With the rapid development of e-commerce, more and more users are paid using network payment platform to businessman.
On network payment platform there are two types of the existing means of payment:Scan the two-dimensional code payment and near-field communication payment.But If user is paid using mobile phone, after mobile phone loss, any one can also be through the above way using the people of mobile phone It is paid.So the above two means of payment cannot be guaranteed the safety of payment.
Summary of the invention
The purpose of the application is to propose a kind of security verification method and device, mentions to solve background section above To the technical issues of.
In a first aspect, the embodiment of the present application provides a kind of security verification method, this method includes:In response to receiving The security verification request that terminal is sent, receives the geographical location information that terminal periodic is sent;Execute following shooting step:It connects Receive the shooting request of current geographic position information that terminal is sent, including terminal;To with indicated by current geographic position information The shortest default filming apparatus of the distance in geographical location sends the shooting instruction to the user for holding terminal, and receives default shooting The shooting result that device is returned according to shooting instruction;If shooting result matches with default shooting result, shooting result is returned Enter to match shooting result set and determines whether the number of matching shooting result included by matching shooting result set reaches Preset threshold;In response to determining that the number of matching shooting result reaches preset threshold, then the geography sent based on terminal periodic Location information generates the movement routine of terminal, and is based on preset path and movement routine, determines whether terminal passes through safety and test Card;If the number of matching shooting result is not up to preset threshold, shooting step is continued to execute.
In some embodiments, in response to determining that the number of matching shooting result reaches preset threshold, then based on default road Diameter and movement routine, determine whether terminal passes through safety verification, including:Movement routine and preset path are mapped to same flat On face, movement routine figure and preset path figure are obtained;Determine that movement routine figure and preset path figure are formed by each closure figure Whether the sum of area of shape is below preset area threshold;If the sum of area is below area threshold, it is determined that terminal passes through Safety verification.
In some embodiments, after receiving the security verification request that terminal is sent, this method further includes:To terminal Geographical location information request is sent, geographical location of the geographical location information request for requesting terminal periodicity sending terminal is believed Breath.
In some embodiments, after receiving the shooting result that default filming apparatus is returned according to shooting instruction, method Further include:The image of the user presented in shooting result is identified;According to the recognition result that identification obtains, shooting knot is determined Whether fruit matches with default shooting result.
In some embodiments, the image of the user presented in shooting result is identified, including:To in shooting result The image of the user of presentation carries out recognition of face or gesture recognition.
Second aspect, this application provides a kind of security verification device, which includes:Receiving unit is configured to In response to receiving the security verification request of terminal transmission, the geographical location information that terminal periodic is sent is received;Execute list Member is configured to carry out following shooting step:The shooting for receiving current geographic position information that terminal is sent, including terminal is asked It asks;To with current geographic position information indicated by a distance from geographical location shortest default filming apparatus send to holding terminal The shooting instruction of user, and receive the shooting result that default filming apparatus is returned according to shooting instruction;If shooting result and default Shooting result matches, then shooting result is included into matching shooting result set and determined included by matching shooting result set The number of matching shooting result whether reach preset threshold;In response to determining that the number of matching shooting result reaches default threshold Value, the then geographical location information sent based on terminal periodic are generated the movement routine of terminal, and are based on preset path and movement Path, determines whether terminal passes through safety verification;Unit is continued to execute, if the number for being configured to matching shooting result is not up to Preset threshold then continues to execute shooting step.
In some embodiments, execution unit, including:Mapping block is configured to reflect movement routine and preset path It is mapped in approximately the same plane, obtains movement routine figure and preset path figure;Determining module, be configured to determine movement routine figure and Preset path figure is formed by the sum of area of each closed figures whether below preset area threshold;Authentication module is matched If setting for the sum of area below area threshold, it is determined that terminal passes through safety verification.
In some embodiments, which is further configured to:Geographical location information request, geographical position are sent to terminal Set geographical location information of the information request for requesting terminal periodicity sending terminal.
In some embodiments, execution unit further includes:Identification module is configured to the user presented in shooting result Image identified;Matching module is configured to the recognition result obtained according to identification, determines shooting result and default shooting As a result whether match.
In some embodiments, identification module is further configured to:To the image of the user presented in shooting result into Row recognition of face or gesture recognition.
Security verification method provided by the embodiments of the present application and device pass through the safety in response to receiving terminal transmission Property checking request, receive the geographical location information that terminal periodic is sent, execute following shooting step later:Terminal is received to send , the shooting request of current geographic position information including terminal, then to geography position indicated by current geographic position information The shortest default filming apparatus of the distance set sends the shooting instruction to the user for holding terminal, and receives default filming apparatus root Shooting result is included into matching if shooting result matches with default shooting result according to the shooting result that shooting instruction returns Whether the number of matching shooting result included by shooting result set and determining matching shooting result set reaches default threshold Value;In response to determining that the number of matching shooting result reaches preset threshold, then believed based on the geographical location that terminal periodic is sent Breath generates the movement routine of terminal, and is based on preset path and movement routine, determines whether terminal passes through safety verification, finally If the number of matching shooting result is not up to preset threshold, shooting step is continued to execute, to improve the safety of payment.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the security verification method of the application;
Fig. 3 is the flow chart according to another embodiment of the security verification method of the application;
Fig. 4 is the schematic diagram according to an application scenarios of the security verification method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the security verification device of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the server of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the example of the embodiment of the security verification method or security verification device of the application Property system architecture 100.
As shown in Figure 1, system architecture 100 may include terminal device 101, filming apparatus 102,103, network 104 are preset With server 105.Network 104 is between terminal device 101 and server 105 and default filming apparatus 102,103 and The medium of communication link is provided between server 105.Network 104 may include various connection types, such as wired, wireless communication Link or fiber optic cables etc..
User can be used terminal device 101 and be interacted by network 104 with server 105, to receive or send message etc., Server 105 is interacted by network 104 with default filming apparatus 102,103, to receive or send message etc..Terminal device 101 On various communicating terminal applications can be installed, such as the application of payment class, the application of shopping class, searching class application, instant messaging work Tool, mailbox terminal, social platform software etc..
Terminal device 101 can be with the various of global position system GPS (Global Positioning System) Electronic equipment, including but not limited to smart phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, knee Mo(u)ld top half portable computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as to the security verification function on terminal device 101 The backstage security verification server supported can be provided.Backstage security verification server can know the data received Not, the processing such as analysis, and processing result is fed back into terminal device.
It should be noted that security verification method provided by the embodiment of the present application is generally executed by server 105, phase Ying Di, security verification device are generally positioned in server 105.
It should be understood that the terminal device, the number of default filming apparatus, network and server in Fig. 1 are only schematic 's.According to needs are realized, any number of terminal device, default filming apparatus, network and server can have.It below will be whole End equipment is referred to as terminal.
With continued reference to Fig. 2, the process 200 of one embodiment of the security verification method according to the application is shown.It should Security verification method includes the following steps:
Step 201, it is requested in response to receiving the security verification of terminal transmission, receives the geography that terminal periodic is sent Location information.
In the present embodiment, the electronic equipment (such as server shown in FIG. 1) of security verification method operation thereon In response to receiving the request about security verification of terminal transmission, then the geographical location information of terminal transmission, geography are received Location information is that terminal periodic is sent, in order to which above-mentioned electronic equipment monitors which geographical location is the terminal be located at.
When security authentication request is that user needs to carry out safety verification at the terminal, sent out by terminal to above-mentioned electronic equipment The request for the starting safety verification process sent.Geographical location information is the information for indicating terminal seat reason position, usually can be with It is indicated with longitude and latitude numerical value.
Geographical location where terminal may be to change in real time, and above-mentioned electronic equipment can be by receiving terminal periodic The GPS signal of transmission to obtain the geographical location information of terminal in real time.
What above-mentioned electronic equipment received here is the geographical location information that terminal periodic is sent, i.e., terminal is every one The geographical location information that period will send to above-mentioned electronic equipment.The comparison that the time interval of periodicity sending can be arranged It is small, in order to which above-mentioned electronic equipment obtains the specific movement routine of terminal.
Step 202, following shooting step is executed:Receive current geographic position information that terminal is sent, including terminal Shooting request;To with current geographic position information indicated by a distance from geographical location shortest default filming apparatus send to holding The shooting instruction of the user of terminal, and receive the shooting result that default filming apparatus is returned according to shooting instruction;If shooting result Match with default shooting result, then shooting result is included into matching shooting result set and determines matching shooting result set Whether the number of included matching shooting result reaches preset threshold;In response to determining that the number of matching shooting result reaches pre- If threshold value, then based on the geographical location information being periodically received, the movement routine of terminal is generated, and be based on preset path and shifting Dynamic path, determines whether terminal passes through safety verification.
In the present embodiment, step 202 is resolved into 4 following sub-steps, i.e. step 2021, step 2022, step 2023 and step 2024.
Step 2021, the shooting request of current geographic position information that terminal is sent, including terminal is received.
In the present embodiment, above-mentioned electronic equipment receives the shooting request that terminal is sent, and carries the terminal in the request Current geographic position information.Above-mentioned electronic equipment can determine terminal at this time by the current geographic position information of the terminal Which geographical location be in.
Shooting request is request that user is sent to above-mentioned electronic equipment by terminal, for request above-mentioned electronic equipment to Filming apparatus sends instruction, shoots filming apparatus to the user for holding the terminal.
Step 2022, to current geographic position information indicated by a distance from geographical location shortest default filming apparatus send out The shooting instruction to the user for holding terminal is sent, and receives the shooting result that default filming apparatus is returned according to shooting instruction.
In the present embodiment, by the current geographic position information of the terminal received, determine that the current geographic position is believed The indicated geographical location of breath.In multiple default filming apparatus, search shortest one at a distance from indicated geographical location A default filming apparatus, and the default filming apparatus found to this sends shooting instruction, makes default filming apparatus according to shooting Instruction shoots the user for holding the terminal.Above-mentioned electronic equipment receives the shooting knot that default filming apparatus returns later Fruit.
The user mentioned in this programme is to hold terminal, and using terminal carries out the user of security verification.It is default to clap Taking the photograph device is preset filming apparatus, can be used for shooting user, to obtain the image of user.Shooting instruction is The instruction that above-mentioned electronic equipment is sent to default filming apparatus is used to indicate default filming apparatus and shoots to user, thus Obtain shooting result.Here shooting result can be the image about user that default filming apparatus is shot.
Step 2023, if shooting result matches with default shooting result, shooting result is included into matching shooting result Gather and determines whether the number of matching shooting result included by matching shooting result set reaches preset threshold.
In the present embodiment, however, it is determined that obtain shooting result and default shooting result matches, above-mentioned electronic equipment Determine the shooting result then to match shooting result, and the shooting result is included into matching shooting result set.Then determining Whether the number with the number for matching shooting result included by shooting result set, and determining matching shooting result reaches default Threshold value.
Default shooting result is the image of pre-set user.Matching shooting result is matched into default shooting result The shooting result of function.The set that matching shooting result set is then made of matching shooting result.Matching can be shot in advance As a result number sets a threshold value, obtains preset threshold, passes through matching shooting result quantity needed for safety verification with regulation.
Above-mentioned electronic equipment can compare shooting result with default shooting result pair, if shooting result and default shooting As a result similarity is greater than or equal to the threshold value of similarity, then can determine that shooting result matches with default shooting result.Than Such as, above-mentioned electronic equipment collects the face image of user in advance, using face image as default shooting result.Pacify in user During full property verifying, above-mentioned electronic equipment receives the shooting result that default filming apparatus is shot, which is tied For fruit compared with default shooting result pair, the similarity both obtained is 95%.The similarity is greater than the threshold value 85% of similarity, really Shooting result is determined for matching shooting result.And if similarity is 75%, it is determined that shooting result is not matching shooting result.
In some optional implementations of the present embodiment, preset threshold be 2 or more integer.
The preset threshold can be set and be at least 2, thereby guarantee that the matching shooting result quantity being collected into is at least 2.Into And avoid verifying accuracy caused by only obtaining primary matching shooting result lower and the problem of stability difference.
Step 2024, it in response to determining that the number of matching shooting result reaches preset threshold, is then sent out based on terminal periodic The geographical location information sent generates the movement routine of terminal, and is based on preset path and movement routine, determines whether terminal passes through Safety verification.
In the present embodiment, since receiving the security verification request that terminal is sent, above-mentioned electronic equipment is received eventually The geographical location information for holding periodicity sending, it is above-mentioned until the number until determining matching shooting result is equal with preset threshold Electronic equipment generates movement routine based on the geographical location information received in the above-mentioned period.And by preset path and life At movement routine be compared, determine that terminal passes through safety verification or not over safety verification by comparison result.
Movement routine be user hold terminal carry out it is mobile caused by path.Preset path be it is pre-set, to user Carry out the mobile path with reference of security verification.For example, above-mentioned electronic equipment has selected tri- cameras of A, B and C for safety Verifying default photographic device, then above-mentioned electronic equipment can in the application according to from A to B again to the sequence of C, to A, B and C institute Position carry out line, obtain preset path.User can then hold terminal and, again to the sequence of C, successively go to according to from A to B Near these three cameras, and then generate movement routine.
Step 203, if the number of matching shooting result is not up to preset threshold, shooting step is continued to execute.
In the present embodiment, if the number of the matching shooting result in matching shooting set is less than preset threshold, safety Verifying process is not finished, and above-mentioned electronic equipment continues to execute shooting step.
In an application scenarios of the present embodiment, server receives user and is asked by the security verification that terminal is sent It asks, and receives the geographical location information of terminal periodic transmission;Server executes following shooting step later:Server, which receives, to be used The shooting of current geographic position information that family is sent by terminal, including terminal is requested;Then believe to current geographic position Shooting instruction of the shortest default filming apparatus transmission of distance in indicated geographical location to the user for holding terminal is ceased, and is received The shooting result that default filming apparatus is returned according to shooting instruction;If shooting result matches with default shooting result, will clap Result is taken the photograph to be included into matching shooting result set and determine the number for matching shooting result included by matching shooting result set Whether preset threshold is reached;In response to determining that the number of matching shooting result reaches preset threshold, then sent out based on terminal periodic The geographical location information sent generates the movement routine of terminal, and is based on preset path and movement routine, determines whether terminal passes through Safety verification;If server determines that the number of matching shooting result is not up to preset threshold, shooting step is continued to execute.
The method provided by the above embodiment of the application can be improved the safety of payment.And by being shot As a result, being traced with retaining the image for the user for carrying out safety verification convenient for subsequent problem.
With further reference to Fig. 3, it illustrates the processes 300 of another embodiment of security verification method.The safety The process 300 of verification method, includes the following steps:
Step 301, the security verification request of terminal transmission is received.
In the present embodiment, the security authentication request that server receiving terminal is sent carries out safety to the terminal with starting The process of verifying.
Step 302, geographical location information request is sent to terminal, geographical location information request is periodical for requesting terminal Send the geographical location information of terminal.
In the present embodiment, the geographical location information that server can be sent by receiving terminal periodic, to realize prison Which geographical location control terminal is located at.And server is if it is desired to achieve the purpose that receive the geographical location information that terminal is sent, need Geographical location information request is sent to terminal, so that terminal is obtained geographical location information by GPS positioning and be sent to server.
Step 303, the shooting request of current geographic position information that terminal is sent, including terminal is received.
In the present embodiment, the shooting request that server receiving terminal is sent, carries the current of the terminal in the request Geographical location information.Server can determine which ground is terminal be at this time by the current geographic position information of the terminal Manage position.
Step 304, to current geographic position information indicated by a distance from geographical location shortest default filming apparatus send out The shooting instruction to the user for holding terminal is sent, and receives the shooting result that default filming apparatus is returned according to shooting instruction.
In the present embodiment, by the current geographic position information of the terminal received, determine that the current geographic position is believed The indicated geographical location of breath.In multiple default filming apparatus, search shortest one at a distance from indicated geographical location A default filming apparatus, and the default filming apparatus found to this sends shooting instruction, makes default filming apparatus according to shooting Instruction shoots the user for holding the terminal.Server receives the shooting result that default filming apparatus returns later.
Step 305, the image of the user presented in shooting result is identified.
In the present embodiment, shooting result can be the image of user, show the image of user in the picture.Server Feature in image is identified, determines the similarity for the feature and default feature that shooting obtains.If the similarity is greater than Preset similarity threshold, then recognition result is that hold the user of terminal be pre-set user, then server can determine that the user is logical It crosses and this time identifies.
In some optional implementations of the present embodiment, the image of the user presented in shooting result is known Not, including:
Recognition of face or gesture recognition are carried out to the image of the user presented in shooting result.
The identification that server carries out can be any one in recognition of face or gesture recognition.Carrying out recognition of face can To obtain face characteristic, then default feature can be preset face characteristic, then face characteristic and preset people can be determined The similarity of face feature.And carry out the available posture feature of gesture recognition, so that it may determine posture feature and preset posture The similarity of feature.
Step 306, the recognition result obtained according to identification, determines whether shooting result matches with default shooting result.
In the present embodiment, if recognition result is that hold the user of terminal be pre-set user, server can determine this User is identified by this, is also assured that shooting result matches with default shooting result.And if recognition result is to hold The user of terminal is not pre-set user, then server can determine that the user does not pass through and this time identify, can then determine shooting As a result it is not matched that with default shooting result.
Step 307, if shooting result matches with default shooting result, shooting result is included into matching shooting result collection Merge and determines whether the number of matching shooting result included by matching shooting result set reaches preset threshold.
In the present embodiment, however, it is determined that obtain shooting result and default shooting result matches, server then determines The shooting result is matching shooting result, and the shooting result is included into matching shooting result set.Then matching shooting is determined The number of shooting result is matched included by results set, and determines whether the number of matching shooting result reaches preset threshold.
Step 308, movement routine and preset path are mapped in approximately the same plane, obtain movement routine figure and default road Diameter figure.
In the present embodiment, movement routine and preset path are mapped to approximately the same plane according to same scaling On.Specifically, during mapping, coordinate system can be established in the plane, and the latitude and longitude value in geographical location information turns The coordinate value being changed in coordinate system.
Step 309, determine whether movement routine figure and preset path figure are formed by the sum of area of each closed figures Below preset area threshold.
In the present embodiment, server determines that movement routine figure and preset path figure are formed by each closed figures, so The area of each closed figures is calculated afterwards.The area of each closed figures is added later, obtains the sum of area.And then it determines and is somebody's turn to do Whether the sum of area is below area threshold.
As shown in figure 4, Fig. 4 is the schematic diagram of an application scenarios of the security verification method of the application.If default Photographic device has 4, and tetra- points of A, B, C and D, which can be used, indicates the position of four default photographic devices, between A, B, C and D Line indicates preset path figure, and the movement routine figure of user is formd close to the irregular path of tetra- points of A, B, C and D.User Movement routine figure not through tetra- points of A, B, C and D, expansion process can be carried out to each point in this four points to obtain Closed figures.Namely using a point as the center of circle, circle is drawn, round boundary is made to pass through point nearest from the center of circle on movement routine figure, Connect the point and the center of circle, the figure being closed.
The area of closed figures is calculated, it can be to draw a plurality of line parallel with X in the plane where coordinate system with equidistant Section and a plurality of line segment parallel with Y-axis.The area of each grid be it is determining, pass through calculate closed figures occupied by grid Number can determine the area of closed figures.When calculating, if there is the centre of grid is passed through in the limit of closed figures, it is not Entire grid is taken, and only occupies a part of some grid, following area computation method can be used:If closed Closing the area that figure occupies at a grid is more than half, it is determined that take a grid, and if at a grid The area occupied is not above half, then the area in the grid is ignored.Specifically, the diagonal of grid can be drawn Grid is divided into 4 triangular lattices by line, if wherein at least two triangular lattice is all closed figure and takes, Then determine that the area that closed figures occupy in grid is more than half.
Step 310, if the sum of area is below area threshold, it is determined that terminal passes through safety verification.
In the present embodiment, if after determining area, the sum of obtained area is in preset area threshold hereinafter, just It is known that movement routine and preset path deviation are not far, and then it can determine that the terminal for carrying out security verification has passed through and test Card.
The application can accurately discern whether it is that user is carrying out safe test by recognition of face or gesture recognition Card.Also, it is analyzed by the closed figures to movement routine and preset path formation, can determine that user is carrying out safety Scope of activities when verifying improves the normalization of safety check.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of security verifications One embodiment of device, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to In various electronic equipments.
As shown in figure 5, the security verification device 500 of the present embodiment includes:Receiving unit 501, execution unit 502 and after Continuous execution unit 503.Wherein, receiving unit 501 is configured to connect in response to the security verification request for receiving terminal transmission Receive the geographical location information that terminal periodic is sent;Execution unit 502 is configured to carry out following shooting step:Receive terminal hair The shooting of current geographic position information sending, including terminal is requested;To with geographical location indicated by current geographic position information The shortest default filming apparatus of distance send the shooting instruction to the user for holding terminal, and receive default filming apparatus according to The shooting result that shooting instruction returns;If shooting result matches with default shooting result, shooting result is included into matching and is clapped It takes the photograph results set and determines whether the number of matching shooting result included by matching shooting result set reaches preset threshold; In response to determining that the number of matching shooting result reaches preset threshold, then the geographical location information sent based on terminal periodic, The movement routine of terminal is generated, and is based on preset path and movement routine, determines whether terminal passes through safety verification;And continue to hold If the number that row unit 503 is configured to matching shooting result is not up to preset threshold, shooting step is continued to execute.
In the present embodiment, the receiving unit 501 of security verification device 500 in response to receive terminal transmission about The request of security verification then receives the geographical location information of terminal transmission, and geographical location information is that terminal periodic is sent, In order to which receiving unit 501 monitors which geographical location is the terminal be located at.
In the present embodiment, execution unit 502 receives the shooting request that terminal is sent, and carries the terminal in the request Current geographic position information.Execution unit 502 can determine that terminal is just being located at this time by the current geographic position information of the terminal In which geographical location.Current geographic position information by the terminal received determines current geographic position information meaning The geographical location shown.In multiple default filming apparatus, lookup is preset for shortest one at a distance from indicated geographical location Filming apparatus, and the default filming apparatus found to this sends shooting instruction, makes default filming apparatus according to shooting instruction pair The user for holding the terminal shoots.Execution unit 502 receives the shooting result that default filming apparatus returns later.If it is determined that It obtains shooting result and default shooting result matches, above-mentioned electronic equipment then determines the shooting result for matching shooting knot Fruit, and the shooting result is included into matching shooting result set.Then determine that matching included by matching shooting result set is clapped The number of result is taken the photograph, and determines whether the number of matching shooting result reaches preset threshold.From the safety for receiving terminal transmission Property checking request start, above-mentioned electronic equipment receives the geographical location information that terminal periodic is sent, until determining matching shooting As a result until number is equal with preset threshold, execution unit 502 based on the geographical location information received in the above-mentioned period, Generate movement routine.And preset path and the movement routine of generation are compared, determine that terminal passes through by comparison result Safety verification or not over safety verification.
In the present embodiment, if the number of the matching shooting result in matching shooting set is less than preset threshold, safety Verifying process is not finished, and is continued to execute unit 503 and is continued to execute shooting step.
In some optional implementations of the present embodiment, execution unit 502, including:Mapping block (not shown), matches It sets for movement routine and preset path to be mapped to approximately the same plane, obtains movement routine figure and preset path figure;It determines Module (not shown) is configured to determine the sum of the area that movement routine figure and preset path figure are formed by each closed figures Whether below preset area threshold;Authentication module (not shown), be configured to if the sum of area in area threshold hereinafter, if Determine that terminal passes through safety verification.
In some optional implementations of the present embodiment, security verification device 500 is further configured to:To end End sends geographical location information request, and geographical location of the geographical location information request for requesting terminal periodicity sending terminal is believed Breath.
In some optional implementations of the present embodiment, execution unit 502 further includes:Identification module (not shown), It is configured to identify the image of the user presented in shooting result;Matching module (not shown), is configured to according to knowledge The recognition result not obtained, determines whether shooting result matches with default shooting result.
In some optional implementations of the present embodiment, identification module is further configured to:To in shooting result The image of the user of presentation carries out recognition of face or gesture recognition.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the server for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Server shown in Fig. 6 is only an example, should not function and use scope band to the embodiment of the present application Carry out any restrictions.
Fig. 6 shows the structural schematic diagram for being suitable for the computer system for the server for being used to realize the embodiment of the present application.Such as Shown in Fig. 6, computer system 600 includes central processing unit (CPU) 601, can be according to being stored in read-only memory (ROM) Program in 602 executes various suitable from the program that storage section 608 is loaded into random access storage device (RAM) 603 When movement and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.CPU 601, ROM 602 and RAM 603 is connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to bus 604.
I/O interface 605 is connected to lower component:Importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, according to an embodiment of the present application, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiments herein includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.It should be noted that the computer-readable medium of the application can be computer-readable signal media or calculating Machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to:It is electrical connection with one or more conducting wires, portable Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as:A kind of processor packet It includes receiving unit, execution unit and continues to execute unit.Wherein, the title of these units is not constituted to this under certain conditions The restriction of unit itself, for example, receiving unit is also described as " receiving the list of the security verification request of terminal transmission Member ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device:In response to receiving the security verification request of terminal transmission, the geographical location information that terminal periodic is sent is received;It holds The following shooting step of row:Receive the shooting request of current geographic position information that terminal is sent, including terminal;To with current position The shortest default filming apparatus transmission of the distance in geographical location indicated by reason location information refers to the shooting for the user for holding terminal It enables, and receives the shooting result that default filming apparatus is returned according to shooting instruction;If shooting result and default shooting result phase Match, then shooting result is included into matching shooting result set and determines matching shooting knot included by matching shooting result set Whether the number of fruit reaches preset threshold;In response to determining that the number of matching shooting result reaches preset threshold, then terminal is based on The geographical location information of periodicity sending generates the movement routine of terminal, and is based on preset path and movement routine, determines terminal Whether safety verification is passed through;If the number of matching shooting result is not up to preset threshold, shooting step is continued to execute.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (12)

1. a kind of security verification method, which is characterized in that the method includes:
In response to receiving the security verification request of terminal transmission, the geographical location information that terminal periodic is sent is received;
Execute following shooting step:Receive the shooting of current geographic position information that the terminal is sent, including the terminal Request;To with the current geographic position information indicated by a distance from geographical location shortest default filming apparatus send to holding The shooting instruction of the user of the terminal, and receive the shooting knot that the default filming apparatus is returned according to the shooting instruction Fruit;If the shooting result matches with default shooting result, the shooting result is included into matching shooting result collection and is merged And determine whether the number of matching shooting result included by the matching shooting result set reaches preset threshold;In response to true Surely the number for matching shooting result reaches preset threshold, then the geographical location information sent based on the terminal periodic is generated The movement routine of the terminal, and it is based on preset path and the movement routine, determine whether the terminal passes through safety verification;
If the number of matching shooting result is not up to preset threshold, the shooting step is continued to execute.
2. security verification method according to claim 1, which is characterized in that described to match shooting result in response to determining Number reach preset threshold, then be based on preset path and the movement routine, determine whether the terminal passes through safety verification, Including:
The movement routine and the preset path are mapped in approximately the same plane, movement routine figure and preset path are obtained Figure;
Determine that whether the movement routine figure and the preset path figure are formed by the sum of area of each closed figures pre- If area threshold below;
If the sum of described area is below the area threshold, it is determined that the terminal passes through safety verification.
3. security verification method according to claim 1, which is characterized in that in the safety that the reception terminal is sent After checking request, the method also includes:
Geographical location information request is sent to the terminal, the geographical location information request is for requesting the terminal periodic Send the geographical location information of the terminal.
4. security verification method according to claim 1, which is characterized in that receive the default filming apparatus described After the shooting result returned according to the shooting instruction, the method also includes:
The image of the user presented in the shooting result is identified;
According to the recognition result that identification obtains, determine whether the shooting result matches with default shooting result.
5. security verification method according to claim 4, which is characterized in that described to presenting in the shooting result The image of the user identifies, including:
Recognition of face or gesture recognition are carried out to the image of the user presented in the shooting result.
6. a kind of security verification device, which is characterized in that described device includes:
Receiving unit is configured to receive the terminal periodic in response to the security verification request for receiving terminal transmission The geographical location information of transmission;
Execution unit is configured to carry out following shooting step:Receive current position that the terminal is sent, including the terminal Manage the shooting request of location information;To with the current geographic position information indicated by shortest default bat at a distance from geographical location Shooting instruction of the device transmission to the user for holding the terminal is taken the photograph, and receives the default filming apparatus and is referred to according to the shooting Enable the shooting result returned;If the shooting result matches with default shooting result, the shooting result is included into matching Whether the number of matching shooting result included by shooting result set and the determining matching shooting result set reaches pre- If threshold value;In response to determining that the number of matching shooting result reaches preset threshold, then the ground sent based on the terminal periodic Location information is managed, the movement routine of the terminal is generated, and be based on preset path and the movement routine, determines that the terminal is It is no to pass through safety verification;
Unit is continued to execute, if the number for being configured to matching shooting result is not up to preset threshold, continues to execute the bat Take the photograph step.
7. security verification device according to claim 6, which is characterized in that the execution unit, including:
Mapping block is configured to for the movement routine and the preset path being mapped in approximately the same plane, be moved Path profile and preset path figure;
Determining module is configured to determine that the movement routine figure and the preset path figure are formed by each closed figures Whether the sum of area is below preset area threshold;
Authentication module, if being configured to the sum of described area below the area threshold, it is determined that the terminal passes through safety Verifying.
8. security verification device according to claim 6, which is characterized in that described device is further configured to:
Geographical location information request is sent to the terminal, the geographical location information request is for requesting the terminal periodic Send the geographical location information of the terminal.
9. security verification device according to claim 6, which is characterized in that the execution unit further includes:
Identification module is configured to identify the image of the user presented in the shooting result;
Matching module is configured to the recognition result obtained according to identification, determines that the shooting result is with default shooting result It is no to match.
10. security verification device according to claim 9, which is characterized in that the identification module further configures use In:
Recognition of face or gesture recognition are carried out to the image of the user presented in the shooting result.
11. a kind of server, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as method as claimed in any one of claims 1 to 5 is realized when execution.
CN201710395315.4A 2017-05-26 2017-05-26 Security verification method and device Active CN108932621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710395315.4A CN108932621B (en) 2017-05-26 2017-05-26 Security verification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710395315.4A CN108932621B (en) 2017-05-26 2017-05-26 Security verification method and device

Publications (2)

Publication Number Publication Date
CN108932621A true CN108932621A (en) 2018-12-04
CN108932621B CN108932621B (en) 2022-01-28

Family

ID=64448736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710395315.4A Active CN108932621B (en) 2017-05-26 2017-05-26 Security verification method and device

Country Status (1)

Country Link
CN (1) CN108932621B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006276960A (en) * 2005-03-28 2006-10-12 Oki Electric Ind Co Ltd Automatic transaction device
CN102214334A (en) * 2010-04-01 2011-10-12 阿里巴巴集团控股有限公司 Online payment method, device and system
CN203242055U (en) * 2013-04-14 2013-10-16 浙江大学 Starting system based on dynamic human body characteristic identification
KR20130141242A (en) * 2012-06-15 2013-12-26 에스케이플래닛 주식회사 System for payment of off-line, method for payment off-line and apparatus in the system
CN105100096A (en) * 2015-07-17 2015-11-25 小米科技有限责任公司 Verification method and apparatus
CN105389491A (en) * 2014-08-28 2016-03-09 凯文·艾伦·杜西 Facial recognition authentication system including path parameters
US20160086158A1 (en) * 2014-09-24 2016-03-24 Alibaba Group Holding Limited Payment verification method, apparatus and system
CN105590043A (en) * 2014-10-22 2016-05-18 腾讯科技(深圳)有限公司 Authentication method, device and system
CN105761065A (en) * 2015-01-02 2016-07-13 Sk普兰尼特有限公司 Payment service method and apparatus thereof
CN106600855A (en) * 2016-12-22 2017-04-26 河南牧业经济学院 Payment device and method based on face recognition
CN106651380A (en) * 2016-12-06 2017-05-10 深圳市金立通信设备有限公司 Safety monitoring method and terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006276960A (en) * 2005-03-28 2006-10-12 Oki Electric Ind Co Ltd Automatic transaction device
CN102214334A (en) * 2010-04-01 2011-10-12 阿里巴巴集团控股有限公司 Online payment method, device and system
KR20130141242A (en) * 2012-06-15 2013-12-26 에스케이플래닛 주식회사 System for payment of off-line, method for payment off-line and apparatus in the system
CN203242055U (en) * 2013-04-14 2013-10-16 浙江大学 Starting system based on dynamic human body characteristic identification
CN105389491A (en) * 2014-08-28 2016-03-09 凯文·艾伦·杜西 Facial recognition authentication system including path parameters
US20160086158A1 (en) * 2014-09-24 2016-03-24 Alibaba Group Holding Limited Payment verification method, apparatus and system
CN105590043A (en) * 2014-10-22 2016-05-18 腾讯科技(深圳)有限公司 Authentication method, device and system
CN105761065A (en) * 2015-01-02 2016-07-13 Sk普兰尼特有限公司 Payment service method and apparatus thereof
CN105100096A (en) * 2015-07-17 2015-11-25 小米科技有限责任公司 Verification method and apparatus
CN106651380A (en) * 2016-12-06 2017-05-10 深圳市金立通信设备有限公司 Safety monitoring method and terminal
CN106600855A (en) * 2016-12-22 2017-04-26 河南牧业经济学院 Payment device and method based on face recognition

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
季白杨等: "电子支付多模式综合安全平台的设计", 《中国金融电脑》 *
王君: "电子商务网络支付安全体系研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN108932621B (en) 2022-01-28

Similar Documents

Publication Publication Date Title
CN109858445A (en) Method and apparatus for generating model
CN106911697B (en) Access rights setting method, device, server and storage medium
CN108830235A (en) Method and apparatus for generating information
CN108898185A (en) Method and apparatus for generating image recognition model
CN108985208A (en) The method and apparatus for generating image detection model
CN108446651A (en) Face identification method and device
CN108595628A (en) Method and apparatus for pushed information
CN108171211A (en) Biopsy method and device
CN109308469A (en) Method and apparatus for generating information
CN109086719A (en) Method and apparatus for output data
CN109976997A (en) Test method and device
CN109215121A (en) Method and apparatus for generating information
CN109359170A (en) Method and apparatus for generating information
CN109086780A (en) Method and apparatus for detecting electrode piece burr
CN110222775A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN111539903B (en) Method and device for training face image synthesis model
CN109977839A (en) Information processing method and device
CN109272050B (en) Image processing method and device
CN108415653A (en) Screen locking method and device for terminal device
CN110414208A (en) Login validation method, calculates equipment and medium at device
CN108521516A (en) Control method and device for terminal device
CN109460652A (en) For marking the method, equipment and computer-readable medium of image pattern
CN110084317A (en) The method and apparatus of image for identification
CN114881711B (en) Method for carrying out exception analysis based on request behaviors and electronic equipment
CN109271929A (en) Detection method and device

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