CN110378095A - Validation-cross method, apparatus, medium and calculating equipment based on identifying code - Google Patents

Validation-cross method, apparatus, medium and calculating equipment based on identifying code Download PDF

Info

Publication number
CN110378095A
CN110378095A CN201910648059.4A CN201910648059A CN110378095A CN 110378095 A CN110378095 A CN 110378095A CN 201910648059 A CN201910648059 A CN 201910648059A CN 110378095 A CN110378095 A CN 110378095A
Authority
CN
China
Prior art keywords
dimensional
shape
information
verification code
parameter
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
CN201910648059.4A
Other languages
Chinese (zh)
Other versions
CN110378095B (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.)
Hangzhou Netease Zhiqi Technology Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910648059.4A priority Critical patent/CN110378095B/en
Publication of CN110378095A publication Critical patent/CN110378095A/en
Application granted granted Critical
Publication of CN110378095B publication Critical patent/CN110378095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Embodiments of the present invention provide a kind of validation-cross method based on identifying code, are applied to server, comprising: in response to checking request, obtain identifying code parameter;Based on the identifying code parameter and three-dimensional model generator, at least one three-dimensional verification code element is generated, is obtained wherein the three-dimensional model generator is based on generation confrontation network training;At least one described three-dimensional verification code element is sent to client to be shown;Obtain attribute information relevant to the interactive operation of at least one three-dimensional verification code element for described in;And it is based on the attribute information, determine whether the interactive operation passes through verifying.Embodiments of the present invention additionally provide a kind of validation-cross device based on identifying code, medium and calculate equipment.

Description

Validation-cross method, apparatus, medium and calculating equipment based on identifying code
Technical field
Embodiments of the present invention are related to field of computer technology, more specifically, embodiments of the present invention are related to being based on Validation-cross method, apparatus, medium and the calculating equipment of identifying code.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this section.
With the continuous development of Internet technology, internet all brings great convenience to various industries and user, respectively Industry is provided services to the user by internet, and user is interacted by internet and every profession and trade.Although major part row at present The Internet service of industry opening is deployed with Safeguard tactics, however, with business, the fast development of product, especially It is rapidly increasing for personal operational line, the protecting information safety of every profession and trade is also faced with increasingly stern challenge.For example, mutually The Internet services are interacted by setting login interface with user, to prevent hacker and other criminal's intrusion systems, violence It cracks, verification mode can be added in the internet site of opening, to prevent attacker's illegal invasion, bring unnecessary Loss.
In the prior art, two dimensional image identifying code is mostly used to carry out the verifying of user's authenticity, illustratively, Yong Hu greatly The content on two dimensional image identifying code is inputted while login, if input identifying code is correct, it is determined that current operation Side is real user, if input identifying code mistake, it is determined that current operation side may be machine.However, as computer regards Feel, the rapid development of depth learning technology, such that machine quickly identifies two dimensional image identifying code, it is hidden to bring safety Suffer from.
Summary of the invention
In the present context, embodiments of the present invention are intended to provide a kind of validation-cross method and dress based on identifying code It sets.
In the first aspect of embodiment of the present invention, a kind of validation-cross method based on identifying code is provided, is applied In server, comprising: in response to checking request, obtain identifying code parameter;It is generated based on the identifying code parameter and threedimensional model Device generates at least one three-dimensional verification code element, obtains wherein the three-dimensional model generator is based on generation confrontation network training; At least one described three-dimensional verification code element is sent to client to be shown;It obtains and is tested at least one described three-dimensional Demonstrate,prove the relevant attribute information of interactive operation of data code;And it is based on the attribute information, determine whether the interactive operation leads to Cross verifying.
In one embodiment of the invention, above-mentioned identifying code parameter includes at least one parameter information, each parameter letter Breath includes shape coding, visual angle coding and texture coding.It is above-mentioned to be based on the identifying code parameter and three-dimensional model generator, it generates At least one three-dimensional verification code element includes: that the shape coding of a parameter information in the identifying code parameter is input to institute Three-dimensional model generator is stated, a voxel grid model corresponding with one parameter information is obtained;And it is based on institute The visual angle coding and texture coding for stating a parameter information carry out rendering processing to one voxel grid model, obtain A three-dimensional verification code element corresponding with one parameter information.
In another embodiment of the present invention, the above method further include: in described at least one three-dimensional verification code of generation After element, determine that the displaying information of at least one three-dimensional verification code element, the displaying information include: described at least one The display location of each three-dimensional verification code element in a three-dimensional verification code element and displaying time.It is above-mentioned will it is described at least one Three-dimensional verification code element be sent to client and be shown include: by least one described three-dimensional verification code element and it is described at least The displaying information of one three-dimensional verification code element is sent to the client, so that the client is based on each three-dimensional verification code The display location of element and displaying time, at least one described three-dimensional verification code element is shown.
In another embodiment of the present invention, attribute information include: the interactive operation location information and the interaction The temporal information of operation.It is above-mentioned be based on the attribute information, determine the interactive operation whether pass through verifying include: if it is determined that The temporal information of the interactive operation matches with predetermined time section, and determines the location information of the interactive operation and make a reservation for Position matches, then confirms that the interactive operation passes through verifying.
In one more embodiment of the present invention, the above method further include: from least one described three-dimensional verification code element Determine target verification data code.It is above-mentioned at least one described three-dimensional verification code element be sent to client be shown also wrap It includes: the identifier for indicating the target verification data code is sent to client together, so that client output is directed to institute State the prompt information that target verification data code interacts operation.Above-mentioned predetermined time section includes: above-mentioned target verification symbol The displaying time of element.Above-mentioned predetermined position includes: the displaying position of the target verification data code corresponding with above-mentioned temporal information It sets, alternatively, for the auxiliary operation position of target verification data code setting.
In one more embodiment of the present invention, temporal information and the predetermined time section phase of the above-mentioned determination interactive operation Matching comprises determining that the time point that the temporal information of the interactive operation is characterized falls into the predetermined time section.
In one more embodiment of the present invention, the location information of the above-mentioned determination interactive operation matches with predetermined position Include: the Euclidean distance calculated between the position that the location information of the predetermined position and the interactive operation is characterized, works as institute When stating Euclidean distance less than predetermined threshold, confirm that the location information of the interactive operation matches with predetermined position.
In one more embodiment of the present invention, the above method further include: creation is by a shape generator and a shape The generation that arbiter is constituted fights network;It is generated using the shape coding of the two dimensional image sample of the first quantity as the shape The input of device, the voxel grid model that the shape generator is exported is as the input of the shape discrimination device;It is based on The differentiation result of the shape discrimination device output optimizes the parameter of the shape generator;Based on the true of the second quantity Threedimensional model sample optimizes the parameter of the shape discrimination device;Shape generator described in alternative optimization and the shape are sentenced The parameter of other device, until obtaining optimised shape generator and optimised shape arbiter;And the optimised shape generator is made For the three-dimensional model generator.
In the second aspect of embodiment of the present invention, a kind of validation-cross device based on identifying code is provided, is applied In server, comprising: first obtains module, generation module, output module, the second acquisition module and authentication module.Wherein, first Module is obtained to be used to obtain identifying code parameter in response to checking request.Generation module is used to be based on the identifying code parameter and three Dimension module generator generates at least one three-dimensional verification code element, wherein the three-dimensional model generator is based on generating confrontation net Network training obtains.Output module is shown at least one described three-dimensional verification code element to be sent to client.Second Module is obtained for obtaining attribute information relevant to the interactive operation of at least one three-dimensional verification code element for described in.Verifying Module is used to be based on the attribute information, determines whether the interactive operation passes through verifying.
In one embodiment of the invention, identifying code parameter includes at least one parameter information, each parameter information packet Include shape coding, visual angle coding and texture coding.Generation module includes: input submodule and rendering submodule.Input submodule For the shape coding of a parameter information in the identifying code parameter to be input to the three-dimensional model generator, obtain with The corresponding voxel grid model of one parameter information.Submodule is rendered to be used to be based on one parameter information Visual angle coding and texture coding rendering processing is carried out to one voxel grid model, obtain and one parameter The corresponding three-dimensional verification code element of information.
In another embodiment of the present invention, above-mentioned apparatus further includes showing information determination module, for generating mould After block generates at least one three-dimensional verification code element, the displaying information of at least one three-dimensional verification code element is determined, it is described Show that information includes: the display location and displaying of each three-dimensional verification code element at least one described three-dimensional verification code element Time.Output module includes showing submodule, for will at least one described three-dimensional verification code element and it is described at least one three The displaying information of dimension verifying data code is sent to the client, so that the client is based on each three-dimensional verification code element Display location and displaying time, at least one described three-dimensional verification code element is shown.
In another embodiment of the present invention, attribute information include: the interactive operation location information and the interaction The temporal information of operation.Authentication module is specifically used in the temporal information for determining the interactive operation and predetermined time section phase When matching, and determining that the location information of the interactive operation and predetermined position match, confirm that the interactive operation passes through verifying.
In one more embodiment of the present invention, above-mentioned apparatus further includes target determination module, for from it is described at least one Target verification data code is determined in three-dimensional verification code element.Output module further includes target prompting submodule, for that will indicate institute The identifier for stating target verification data code is sent to client together, so that client output is directed to the target verification code Element interacts the prompt information of operation.The predetermined time section includes: the displaying time of the target verification data code. The predetermined position includes: the display location of the target verification data code corresponding with the temporal information, alternatively, being directed to institute State the auxiliary operation position of target verification data code setting.
In one more embodiment of the present invention, authentication module is used for when the temporal information of the interactive operation is characterized Between point when falling into the predetermined time section, determine that the temporal information of the interactive operation matches with predetermined time section.
In one more embodiment of the present invention, authentication module is also used to calculate the predetermined position and the interactive operation The Euclidean distance between position that location information is characterized confirms the interaction when the Euclidean distance is less than predetermined threshold The location information of operation matches with predetermined position.
In one more embodiment of the present invention, above-mentioned apparatus further includes model training module, for creating by a shape The generation that generator and a shape discrimination device are constituted fights network;Utilize the shape coding of the two dimensional image sample of the first quantity As the input of the shape generator, the voxel grid model that the shape generator exports is sentenced as the shape The input of other device;Differentiation result based on shape discrimination device output optimizes the parameter of the shape generator;Base The parameter of the shape discrimination device is optimized in the true three-dimension model sample of the second quantity;Shape described in alternative optimization is raw The parameter grown up to be a useful person with the shape discrimination device, until obtaining optimised shape generator and optimised shape arbiter;And it will be described Optimised shape generator is as the three-dimensional model generator.
In the third aspect of embodiment of the present invention, a kind of medium is provided, computer executable instructions are stored with, is referred to It enables when being executed by processor for realizing validation-cross method described in any one of above-described embodiment based on identifying code.
In the fourth aspect of embodiment of the present invention, provide a kind of calculating equipment, comprising: memory, processor and Store the executable instruction that can be run on a memory and on a processor, realization when processor executes instruction: above-described embodiment Any one of described in the validation-cross method based on identifying code.
The validation-cross method and apparatus based on identifying code of embodiment according to the present invention, when needs are verified in client When whether the operation side operated is real user, identifying code parameter is obtained, and obtain three based on confrontation network training is generated Dimension module generator.At least one three-dimensional verification code element is generated for visitor based on identifying code parameter and three-dimensional model generator again Family end is shown.Client when showing at least one three-dimensional verification code element, guide current operation policy to this at least One three-dimensional verification code element executes interactive operation.Current operation is determined further according to attribute information relevant to the interactive operation The square identification situation at least one three-dimensional verification code element, and then determine whether current operation side is real user, i.e., Whether verifying is passed through.The process compared with the prior art in the scheme verified using two dimensional image identifying code, based on verifying Code parameter and three-dimensional model generator can accurately and effectively generate low but for machine recognition for real user identification difficulty The high three-dimensional verification code element of difficulty improves the safety that verifying is interacted based on identifying code.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of exemplary embodiment of the invention , feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example rather than limitation of the invention Dry embodiment, in which:
Fig. 1 schematically shows the validation-cross method and device thereof based on identifying code of embodiment according to the present invention Application scenarios;
The process for the validation-cross method based on identifying code that Fig. 2 schematically shows according to an embodiment of the invention Figure;
Fig. 3 A schematically shows the voxel that three-dimensional model generator according to an embodiment of the invention generates The schematic diagram of grid model;
Fig. 3 B schematically shows the schematic diagram of three-dimensional verification code element according to an embodiment of the invention;
Fig. 3 C~3E schematically shows client according to an embodiment of the invention and shows three-dimensional verification code element Schematic diagram;
The frame of Fig. 4 schematically shows the according to an embodiment of the invention validation-cross device based on identifying code Figure;
Fig. 5 schematically shows the frame of the validation-cross device in accordance with another embodiment of the present invention based on identifying code Figure;
Fig. 6 schematically shows the schematic diagram of the computer readable storage medium product of embodiment according to the present invention; And
Fig. 7 schematically shows the block diagram of the calculating equipment of embodiment according to the present invention.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any Mode limits the scope of the invention.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and energy It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method Or computer program product.Therefore, the present disclosure may be embodied in the following forms, it may be assumed that complete hardware, complete software The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
Embodiment according to the present invention, propose it is a kind of by the validation-cross method, apparatus of identifying code, medium and based on Calculate equipment.
Herein, it is to be understood that related term include: three-dimensional verification code element, three-dimensional model generator, Generate confrontation network (Generative Adversarial Network, GAN) etc..Wherein, three-dimensional verification code element is that have The image authentication data code of 3 d pose.Three-dimensional model generator is the shape coding of two dimensional image sample can be mapped as three The generator of dimension module.Confrontation network is generated in structure by the inspiration of the zero-sum two-person game in game theory, is generated by one Device and arbiter are constituted, and are learnt by way of allowing generator and arbiter to carry out game, target be reach receive it is assorted Balanced (Nash Equilibrium).In addition, any number of elements in attached drawing is used to example rather than limitation and any life Name is only used for distinguishing, without any restrictions meaning.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Summary of the invention
For the lower problem of the existing safety for interacting verifying based on identifying code, the embodiment of the invention provides A kind of validation-cross method and apparatus based on identifying code, this method include the first acquisition process, generating process, output process, Second acquisition process and verification process.Identifying code parameter is obtained in response to checking request in the first acquisition process.Then it carries out Generating process, it is raw based on acquired identifying code parameter and the three-dimensional model generator obtained based on generation confrontation network training At at least one three-dimensional verification code element to carry out output process.In output process, by least one three-dimensional verification code element It is sent to client to be shown, guides operation policy to interact at least one three-dimensional verification code element by client The second acquisition process is realized in operation, that is, obtains category relevant to the interactive operation of at least one three-dimensional verification code element is directed to Property information.And then verification process is executed based on the attribute information, whether verifying is passed through with the above-mentioned interactive operation of determination.
After introduced the basic principles of the present invention, lower mask body introduces various non-limiting embodiment party of the invention Formula.
Application scenarios overview
Answering for the validation-cross method and device thereof based on identifying code of the embodiment of the present invention is elaborated referring initially to Fig. 1 Use scene.
Fig. 1 schematically shows the validation-cross method and device thereof based on identifying code of embodiment according to the present invention Application scenarios, may include terminal device 101,102,103, network 104 and server in application scenarios shown in Fig. 1 105。
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Net 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,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various client applications, such as tool-class application, social category can be installed on terminal device 101,102,103 Using, shopping class application, web browser applications, searching class apply etc. (merely illustrative).
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as utilize terminal device 101,102,103 to user The website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to the use received The data such as family request analyze etc. processing, and by processing result (such as according to user's request or the webpage of generation, believe Breath or data etc.) feed back to terminal device.
It should be noted that the validation-cross method based on identifying code provided by the embodiment of the present disclosure generally can be by taking Business device 105 executes.Correspondingly, the validation-cross device based on identifying code provided by the embodiment of the present disclosure generally can be set in In server 105.Validation-cross method based on identifying code provided by the embodiment of the present disclosure can also be by being different from server 105 and the server or server cluster that can be communicated with terminal device 101,102,103 and/or server 105 execute.Accordingly Ground, the validation-cross device based on identifying code provided by the embodiment of the present disclosure also can be set in be different from server 105 and In the server or server cluster that can be communicated with terminal device 101,102,103 and/or server 105.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to practical need It wants, can have any number of terminal device, network and server.
Illustrative methods
Below with reference to the application scenarios of Fig. 1, the base of illustrative embodiments according to the present invention is described with reference to Fig. 2~Fig. 3 E In the validation-cross method of identifying code.It should be noted that above-mentioned application scenarios are merely for convenience of understanding spirit of the invention It is shown with principle, embodiments of the present invention are not limited in this respect.On the contrary, embodiments of the present invention can answer For applicable any scene.
The process for the validation-cross method based on identifying code that Fig. 2 schematically shows according to an embodiment of the invention Figure.
As shown in Fig. 2, this method is applied to server, it may include following operation S201~S205.
S201 is operated, in response to checking request, obtains identifying code parameter.
In this operation S201, checking request is grasped from client, such as client end response in login, registration, access etc. Whether it is real user to verify the operation side currently operated when making, therefore sends checking request to server.Server is rung Identifying code parameter should be obtained from local or third party device, the identifying code parameter is for generating verifying symbol in the checking request Element, so that subsequent client shows the verifying data code, and it is current by determining for the identification situation of the verifying data code It is machine or real user in the operation side that client is operated.
S202 is operated, identifying code parameter and three-dimensional model generator is based on, generates at least one three-dimensional verification code element.
Wherein, three-dimensional model generator is obtained based on generation confrontation network training, generates confrontation network in structure By the inspiration of the zero-sum two-person game in game theory, it is made of a generator and an arbiter.Generator captures true number According to the potential distribution of sample, and generate new data sample.Arbiter differentiates that input is the data sample of truthful data or generation This.It generates confrontation network to be learnt by way of allowing generator and arbiter to carry out game, target is to reach Nash Equilibrium. Three-dimensional model generator in this operation S202 is to obtain via above-mentioned learning process.Three-dimensional verification code element is different from existing There is the two dimensional image identifying code in technology, is the pictorial element with 3 d pose information, the difficulty of machine recognition can be increased.
S203 is operated, at least one above-mentioned three-dimensional verification code element is sent to client and is shown.
S204 is operated, attribute relevant to the interactive operation of at least one above-mentioned three-dimensional verification code element is directed to is obtained and believes Breath.
Wherein, attribute information relevant to the interactive operation of at least one above-mentioned three-dimensional verification code element is directed to is able to reflect Identification situation of the operation policy of interactive operation at least one above-mentioned three-dimensional verification code element out.
S205 is operated, the attribute information is based on, determines the interactive operation for being directed at least one above-mentioned three-dimensional verification code element Whether verifying is passed through.
Wherein, when attribute information relevant to interactive operation shows that the operation side of current authentication can identify above-mentioned at least one When a three-dimensional verification code element, determine that the interactive operation by verifying, confirms that the operation side is real user.Conversely, working as and friendship When the relevant attribute information that interoperates shows that the operation side of current authentication cannot identify at least one above-mentioned three-dimensional verification code element, It determines that the interactive operation is unverified, confirms that the operation side is machine.
It will be understood by those skilled in the art that method shown in Fig. 2 is when the operation for needing verifying to be operated in client When whether side is real user, identifying code parameter is obtained, and obtain three-dimensional model generator based on confrontation network training is generated.Again At least one three-dimensional verification code element is generated based on identifying code parameter and three-dimensional model generator so that client is shown.Visitor When showing at least one three-dimensional verification code element, guidance current operation policy is at least one three-dimensional verification code member at family end Element executes interactive operation.Determined further according to attribute information relevant to the interactive operation current operation side for this at least one The identification situation of three-dimensional verification code element, and then determine whether current operation side is real user, i.e., whether passes through verifying.The mistake Journey compared with the prior art in the scheme verified using two dimensional image identifying code, given birth to based on identifying code parameter and threedimensional model The three-dimensional verification code low but high for machine recognition difficulty for real user identification difficulty can accurately and effectively be generated by growing up to be a useful person Element improves the safety that verifying is interacted based on identifying code.
Illustratively, to obtain the above three-dimensional verification code element for being verified, training in advance is needed to obtain three Dimension module generator.In one embodiment of the present disclosure, according to the validation-cross side based on identifying code of the embodiment of the present disclosure Method further can also include: firstly, the generation confrontation net that creation is made of a shape generator and a shape discrimination device Network.Wherein shape generator is for generating voxel grid, and the voxel grid is for characterizing certain shape, and shape is sentenced Other device is for differentiating that the voxel grid is the image of true picture or generation.Then, the X-Y scheme of the first quantity is utilized Input of the decent shape coding as shape generator, using the voxel grid model of shape generator output as shape The input of shape arbiter, the differentiation result based on the output of shape discrimination device optimizes the parameter of shape generator, and is based on The true three-dimension model sample of second quantity optimizes the parameter of the shape discrimination device.Alternative optimization shape is raw like this The parameter grown up to be a useful person with shape discrimination device obtains optimised shape generator until the loss function for generating confrontation network reaches convergence With optimised shape arbiter.So far, training process terminates.Will the obtained optimised shape generator of training as above generating three Three-dimensional model generator needed for dimension verifying data code.
The Essential Action of above-mentioned three-dimensional model generator be based on collect come two dimensional image sample, three-dimensional mould can be made Type.Above-mentioned training process generates confrontation network for the shape of any one two dimensional image essentially by one shape of study Coding mapping is to a voxel grid model, i.e., study is directed to the 3D shape of certain object from a large amount of shape set Prior Template, these Prior Templates are only related to kind of object, independent with other factors (such as visual angle, the factors such as texture).It is above-mentioned The process for learning a shape generation confrontation network will train a shape generator and a shape discrimination device simultaneously, such as can To be carried out as follows.
A generation model is defined as shape generator Gshape, can be to shape generator GshapeInput an image Coding vector exports as voxel grid model.Also, a classifier is defined as shape discrimination device Dshape, for sentencing Other voxel grid model is genuine (the true 3D model sample in data set) or false (by shape generator GshapeThe voxel grid model of generation).It can be with random initializtion shape generator GshapeWith shape discrimination device DshapeGinseng Number.
Then, prepare the set { v of the 3D model sample v of one group of true 3D object1, v2..., vN}.Regather one group of 2D Image pattern, and be distributed according to 2D image pattern, uniformly generate shape coding zshapeSet { z1, z2..., zN, shape is raw Growing up to be a useful person can be according to each shape coding zshape(being represented by shape coding vector) generates one having a size of W × W × W solid Pixel grid model.
In order to promote the quality and diversity of result, this example illustratively uses the Wasserstein in WGAN-GP model Distance carrys out regulation loss function.Specifically, above-mentioned shape generates the training objective of confrontation network and loss function may include:
Wherein, EvIt indicates to shape discrimination device DshapeIt is averaged for the output valve of true 3D model sample, EzshapeIt indicates To shape discrimination device DshapeFor shape generator GshapeShape coding z based on 2D image patternshapeThe voxel of generation The output valve of grid model is averaged.
Then, fixed shape generator GshapeParameter, by true 3D model sample { v1, v2..., vNGenerated with shape Device GshapeVoxel grid model { the G of generationshape(zshape) as ginseng is entered, it is sent into shape discrimination device Dshape, training shapes Arbiter DshapeTrue 3D model sample { v is differentiated as precisely as possible1, v2..., vNAnd generate voxel grid model {Gshape(zshape), which is in formula (1)Stage.Updating shape discrimination device DshapeParameter after, by shape discrimination device DshapeParameter is fixed, by shape coding zshapeWith true 3D model sample { v1, v2..., vNIt is used as ginseng to be input to shape generator Gshape, training shapes generator GshapeThe voxel net for generating it Gap between lattice model and true 3D model sample minimizes.It is iteratively repeated above-mentioned training process, final goal is so that shape Shape arbiter DshapeIt can not differentiate sample from shape generator GshapeOutput or truthful data until, i.e. final samples This differentiation probability is 0.5, to obtain optimised shape arbiter and optimised shape generator, which is made For three-dimensional model generator.
On the basis of above-mentioned training obtains three-dimensional model generator, the generation of three-dimensional verification code element can be carried out Journey.In one embodiment of the present disclosure, identifying code parameter may include at least one parameter information, and each parameter information can be with Including shape coding, visual angle coding and texture coding.It is above-mentioned to be based on identifying code parameter and three-dimensional model generator, generate at least one The process of a three-dimensional verification code element can be carried out as follows:, will for each parameter information in identifying code parameter The shape coding of the parameter information is input to three-dimensional model generator, obtains a voxel net corresponding with the parameter information Lattice model, the visual angle coding and texture coding for being then based on the parameter information render obtained voxel grid model Processing, obtains a three-dimensional verification code element corresponding with the parameter information.Respectively to each parameter information in identifying code parameter Aforesaid operations are executed, three-dimensional verification code element corresponding with each parameter information in identifying code parameter is respectively obtained.
For example, server receives the checking request that client is sent, identifying code parameter is parsed from the checking request, it should Identifying code parameter includes a parameter information, which includes shape coding Zshape, visual angle encode ZviewAnd texture coding Ztexture.First by shape coding ZshapeIt is sent into trained three-dimensional model generator in advance, is obtained and shape coding Zshape Corresponding voxel grid model.Then, the visual angle based on the parameter information encodes ZviewWith texture coding ZtextureTo obtaining Voxel grid model carry out rendering processing, obtain a three-dimensional verification code element corresponding with the parameter information.It please join See Fig. 3 A~3B, wherein Fig. 3 A schematically shows what three-dimensional model generator according to an embodiment of the invention generated The schematic diagram of voxel grid model, Fig. 3 B schematically show three-dimensional verification code member according to an embodiment of the invention The schematic diagram of element.
As shown in Fig. 3 A~3B, illustratively, shape coding Z in this exampleshapeIt is the shape of the 2D image pattern an of car Shape coding vector, based on three-dimensional model generator output and shape coding ZshapeCorresponding voxel grid model is one The 3D model of car shown in Fig. 3 A.Then, Z is encoded using visual angleviewThe directions such as horizontal, vertical of fixed car 3D model Angle generates the sketch of car, recycles texture coding ZtextureColor, the striped etc. for rendering car, may finally obtain figure The three-dimensional verification code element of the car of various angles, various colors, various materials shown in 3B.Obtained three-dimensional can be verified Data code is back to client and is shown.
After generating three-dimensional verification code element, output process can be carried out.It include that (M is positive whole M in identifying code parameter Number) a parameter information when, M three-dimensional verification code element can be generated.The M three-dimensional verification code element is sent to visitor by server Family end is shown, and client guides current operation policy to execute interactive operation to the M three-dimensional verification code element.It is exemplary Ground, attribute information relevant to the interactive operation of the M three-dimensional verification code element is directed to may include: that the position of interactive operation is believed The temporal information of breath and interactive operation.On this basis, above-mentioned to determine whether the interactive operation passes through based on attribute information and test The process of card may is that if it is determined that the temporal information of interactive operation matches with predetermined time section, and determines interactive operation Location information match with predetermined position, then confirm that the interactive operation passes through verifying.
Further, in one embodiment of the present disclosure, it is tested according to the interaction based on identifying code of the embodiment of the present disclosure Card method can also include: to determine at least one three-dimensional verification code member after generating at least one three-dimensional verification code element The displaying information of element.For example, the displaying information of above-mentioned M three-dimensional verification code element includes: in the M three-dimensional verification code element The display location of each three-dimensional verification code element and show the time, wherein the display location of each three-dimensional verification code element can be with Be it is fixed, be also possible to change over time.It is above-mentioned as a result, M three-dimensional verification code element is sent to client to open up Show to include: that the displaying information of the M three-dimensional verification code element He the M three-dimensional verification code element is sent to client together, So that display location of the client based on each three-dimensional verification code element and show the time, to the M three-dimensional verification code element into Row is shown.
Then illustrate the verification process of three-dimensional verification code element by a specific embodiment.Illustratively, according to this The validation-cross method based on identifying code of open embodiment further can also include: to test from least one three-dimensional generated It demonstrate,proves and determines target verification data code in data code.On this basis, above-mentioned that at least one three-dimensional verification code element is sent to visitor Family end is shown further include: the identifier for indicating target verification data code is sent to client together, so that client is defeated The prompt information of operation is interacted for the target verification data code out, to guide current operation policy to the target verification Data code interacts operation.Then, the second acquisition process obtains attribute information relevant to the interactive operation, the attribute information In include the interactive operation location information and interactive operation temporal information.Then, which is judged based on the attribute information Whether operation passes through verifying, if it is determined that the temporal information of the interactive operation matches with predetermined time section, and determines the friendship The location information of interoperability matches with predetermined position, then confirms that the interactive operation passes through verifying.Wherein, predetermined time section can To be the displaying time of target verification data code, such as the displaying time of target verification data code is the 3rd~5 second, then pre- timing Between section can be the overall time interval for showing the 3rd~5 second in the time.In addition, predetermined position can be and the interactive operation The corresponding target verification data code of temporal information display location, alternatively, predetermined position can be for target verification symbol The auxiliary operation position of element setting.Such as the display location of target verification data code changes over time, interactive operation when Between information be the 3rd second, can using the display location of target verification data code corresponding with the 3rd second as above-mentioned predetermined position, or Person also shows that an auxiliary operation position of the target verification data code when showing target verification data code, such as an auxiliary Icon, can also be using the auxiliary operation position as above-mentioned predetermined position.
Illustratively, it may include: determination that the temporal information of above-mentioned determining interactive operation and predetermined time section, which match, The time point that the temporal information of interactive operation is characterized falls into the predetermined time section.Also, above-mentioned determining interactive operation Location information and to match may include: the position for calculating the location information of predetermined position and interactive operation and being characterized in predetermined position Euclidean distance between setting confirms the location information and predetermined position phase of interactive operation when Euclidean distance is less than predetermined threshold Matching.
For example, generating 3 three-dimensional verification code elements: " N ", " D " and " A " via above-mentioned generating process.This 3 are determined respectively The displaying information of three-dimensional verification code element, and determine that wherein three-dimensional verification code element " D " is target verification data code.By this 3 Three-dimensional verification code element, 3 displaying information for verifying data code and instruction three-dimensional verification code element " D " are target verification code The identifier of element is sent to client together.Client is shown this 3 three-dimensional verification code elements according to displaying information, And show that prompt information guidance current operation policy interacts operation to target verification data code, refer to Fig. 3 C~3E.
Fig. 3 C~3E schematically shows client according to an embodiment of the invention and shows three-dimensional verification code element Schematic diagram.As shown in Fig. 3 C~3E, client shows 3 of the auxiliary operation position as 3 three-dimensional verification code elements respectively A pedestal and a hammer icon.It operation side can be by clicking hammer or 3 pedestals or three-dimensional verification code element sheet Body realizes the tapping operation for any three-dimensional verification code element.Client output instruction operation policy is to target verification symbol The information that plain " D " is tapped.When starting to show, three-dimensional verification code element occurs from corresponding pedestal and shows a timing Between.For example, three-dimensional verification code element " N " occurred on first pedestal, at the 3rd~5 second in the 1st~2 second time interval Time interval in, three-dimensional verification code element " D " occurs on second pedestal, etc..In this example, determine the 3rd~5 second when Between section be predetermined time section, determine the position (second in the 3rd~5 second time interval where target verification data code " D " On a pedestal) it is predetermined position (x0, y0).When operation side carries out clicking operation on the screen of client, obtains and click the time (such as the 3.5th second) and click location (xhit, yhit).Predetermined time section is fallen into (the 3rd~5 second due to clicking time (the 3.5th second) Time interval) in, determine that the temporal information of interactive operation matches with predetermined time section.Then click location is calculated again (xhit, yhit) and predetermined position between Euclidean distance L:
When Euclidean distance L is less than predetermined threshold, determine that the location information of interactive operation matches with predetermined position.When Determine that the temporal information of interactive operation matches and the location information of interactive operation and predetermined position phase with predetermined time section Timing determines that interactive operation passes through verifying, and then determines that executing the operation side of the interactive operation is real user.In other implementations It, can also be using the position of second pedestal corresponding with target verification data code or the position of hammer icon as pre- in example Positioning is set to determine whether matching, and since principle is identical, details are not described herein.
In another embodiment, 3 three-dimensional verification code elements for being generated by above-mentioned generating process: " N ", " D " and " A " shows that the difference of information, client can be by other forms to this 3 three-dimensional verifyings according to determined by server end Data code is shown, and shows that prompt information guidance current operation policy interacts target verification data code (such as " D ") Operation.Illustratively, client show respectively the auxiliary operation position as 3 three-dimensional verification code elements 3 pedestals and One hammer icon.Operation side can realize needle by clicking hammer or 3 pedestals or three-dimensional verification code element itself To the tapping operation of any three-dimensional verification code element.When starting to show, displaying of each three-dimensional verification code element in client Occur above interface and land according to preset track and speed, until falling into corresponding pedestal.For example, at the 1st~2 second In time interval, side and lands according to speed v1 three-dimensional verification code element " N " occurred on the screen, in the 3rd~5 second time zone In, side and according to speed v2 landing, etc. three-dimensional verification code element " D " occurs on the screen.In this example, due to target verification Data code is " D ", determines that the 3rd~5 second time interval is predetermined time section.When operation side carries out clicking operation on the screen When, obtain click time (such as the 3.5th second) and the click location (x of the clicking operationhit, yhit).According to the click time in this example It can determine predetermined position (x0, y0) it is the position of three-dimensional verification code element " D " corresponding with the time is clicked, alternatively, can also incite somebody to action The position of second pedestal corresponding with target verification data code or the position of hammer icon are as predetermined position (x0, y0).When Determine that clicking the time point that the time is characterized falls into predetermined time section, and click location (xhit, yhit) and predetermined position (x0, y0) match (matching judgment mode is having been described above, and details are not described herein) when, be equivalent to realization for three-dimensional verification code member The tapping operation of plain " D " is quickly fallen into second pedestal, table at this point, the decrease speed of three-dimensional verification code element " D " increases Clearly determine interactive operation and passes through verifying.In other embodiments, the displaying information of three-dimensional verification code element can according to need into Row setting, there are many version, the interactive operation for three-dimensional verification code element can be various forms of, example above Son is only used as exemplary illustration, herein with no restrictions.
Exemplary means
After describing the method for exemplary embodiment of the invention, next to exemplary embodiment of the invention Validation-cross device based on identifying code is described in detail.
The frame of Fig. 4 schematically shows the according to an embodiment of the invention validation-cross device based on identifying code Figure.
As shown in figure 4, the validation-cross device 400 based on identifying code is applied to server, it may include: the first acquisition mould Block 410, generation module 420, output module 430, second obtain module 440 and authentication module 450.
First, which obtains module 410, is used to obtain identifying code parameter in response to checking request.
Generation module 420 is used to be based on identifying code parameter and three-dimensional model generator, generates at least one three-dimensional verification code Element.Wherein, three-dimensional model generator is obtained based on confrontation network training is generated.
Output module 430 is shown at least one three-dimensional verification code element to be sent to client.
Second acquisition module 440 is related to for the interactive operation of at least one above-mentioned three-dimensional verification code element for obtaining Attribute information.
Authentication module 450 is used to be based on the attribute information, determines the friendship for being directed at least one above-mentioned three-dimensional verification code element Whether interoperability passes through verifying.
Fig. 5 schematically shows the frame of the validation-cross device in accordance with another embodiment of the present invention based on identifying code Figure.
As shown in figure 5, the validation-cross device 500 based on identifying code is applied to server, it may include: the first acquisition mould Block 510, generation module 520, output module 530, second obtain module 540 and authentication module 550.Wherein, first module is obtained 510, generation module 520, output module 530, second obtain module 540 and authentication module 550 is respectively provided with and obtains mould with first Block 410, generation module 420, output module 430, second obtain module 440 and the corresponding identical function of authentication module 450, repeat Part repeat no more.
In one embodiment of the invention, identifying code parameter includes at least one parameter information, each parameter information packet Include shape coding, visual angle coding and texture coding.On this basis, generation module 520 may include: 521 He of input submodule Render submodule 522.
Input submodule 521 is used to the shape coding of a parameter information in identifying code parameter being input to threedimensional model Generator obtains a voxel grid model corresponding with the parameter information.Submodule 522 is rendered to be used to be based on the parameter The visual angle coding and texture coding of information carry out rendering processing to said one voxel grid model, obtain believing with the parameter Cease a corresponding three-dimensional verification code element.
In another embodiment of the present invention, the above-mentioned validation-cross device 500 based on identifying code further includes showing letter Determining module 560 is ceased, for determining this at least one after generation module 520 generates at least one three-dimensional verification code element The displaying information of three-dimensional verification code element.The displaying information includes: each of at least one described three-dimensional verification code element three The display location of dimension verifying data code and displaying time.Output module 530 include show submodule 531, for by it is above-mentioned at least The displaying information of one three-dimensional verification code element and at least one above-mentioned three-dimensional verification code element is sent to client, so that client Display location and displaying time of the end group in each three-dimensional verification code element, carry out at least one above-mentioned three-dimensional verification code element It shows.
In another embodiment of the present invention, the attribute information of interactive operation may include: the location information of interactive operation With the temporal information of interactive operation.Authentication module 550 is specifically used in the temporal information and predetermined time area for determining interactive operation Between match, and the location information for determining the interactive operation and predetermined position confirm that the interactive operation passes through verifying when matching.
In one more embodiment of the present invention, the above-mentioned validation-cross device 500 based on identifying code further includes that target determines Module 570, for determining target verification data code from least one three-dimensional verification code element.Output module 530 further includes mesh Prompting submodule 532 is marked, for the identifier for indicating the target verification data code to be sent to client together, so that client Output interacts the prompt information of operation for the target verification data code.According to the present embodiment, predetermined time section includes: The displaying time of target verification data code.Predetermined position includes: target verification symbol corresponding with the temporal information of interactive operation The display location of element, alternatively, for the auxiliary operation position of target verification data code setting.
In one more embodiment of the present invention, authentication module 550 is used for when the temporal information of interactive operation is characterized Between point when falling into predetermined time section, determine that the temporal information of interactive operation matches with predetermined time section.
In one more embodiment of the present invention, authentication module 550 is also used to calculate the position of predetermined position and interactive operation The Euclidean distance between position that information is characterized confirms the position of interactive operation when the Euclidean distance is less than predetermined threshold Information matches with predetermined position.
In one more embodiment of the present invention, the above-mentioned validation-cross device 500 based on identifying code further includes model training Module 580 fights network for creating the generation that is made of a shape generator and a shape discrimination device, then utilizes the Input of the shape coding of the two dimensional image sample of one quantity as shape generator, the voxel that shape generator is exported Input of the grid model as shape discrimination device.Then the differentiation result based on the output of shape discrimination device is to the ginseng of shape generator Number optimizes, and is optimized based on parameter of the true three-dimension model sample of the second quantity to the shape discrimination device. The parameter of alternative optimization shape generator and shape discrimination device, until obtaining optimised shape generator and optimised shape arbiter; And using optimised shape generator as three-dimensional model generator.
It should be noted that in device section Example each module/unit/subelement etc. embodiment, the skill of solution Art problem, the function of realization and the technical effect reached respectively with the implementation of corresponding step each in method section Example Mode, the technical issues of solving, the function of realization and the technical effect that reaches are same or like, and details are not described herein.
Exemplary media
After describing the method and apparatus of exemplary embodiment of the invention, next, to the exemplary reality of the present invention Apply mode, be introduced for realizing the medium of the validation-cross method based on identifying code.
The embodiment of the invention provides a kind of media, are stored with computer executable instructions, above-metioned instruction is by processor For realizing the validation-cross method described in any one of above method embodiment based on identifying code when execution.
In some possible embodiments, various aspects of the invention are also implemented as a kind of shape of program product Formula comprising program code, when described program product is run on the computing device, said program code is for making the calculating Equipment executes described in above-mentioned " illustrative methods " part of this specification the base of various illustrative embodiments according to the present invention Operating procedure in the validation-cross method of identifying code.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing (non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Fig. 6 schematically shows the schematic diagram of the computer readable storage medium product of embodiment according to the present invention, As shown in fig. 6, describing the program for realizing the validation-cross method based on identifying code of embodiment according to the present invention Product 60, can be using portable compact disc read only memory (CD-ROM) and including program code, and can set in calculating It is standby, such as run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to --- Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language --- and such as Java, C++ etc. further include routine Procedural programming language --- such as " C ", language or similar programming language.Program code can fully exist It executes in user calculating equipment, partly execute on a user device, executing, as an independent software package partially in user Upper side point is calculated to execute or execute in remote computing device or server completely on a remote computing.It is relating to And in the situation of remote computing device, remote computing device can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN) one is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize internet Service provider is connected by internet).
Exemplary computer device
After method, medium and the device for describing exemplary embodiment of the invention, next, introducing according to this hair The calculating equipment for realizing the validation-cross method based on identifying code of bright another exemplary embodiment.
The embodiment of the invention also provides a kind of calculating equipment, comprising: memory, processor and storage are on a memory simultaneously The executable instruction that can be run on a processor, the processor are realized any in above method embodiment when executing described instruction The validation-cross method based on identifying code described in.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
In some possible embodiments, according to the present invention for realizing the validation-cross method based on identifying code At least one processing unit and at least one storage unit can be included at least by calculating equipment.Wherein, the storage unit is deposited Program code is contained, when said program code is executed by the processing unit, so that the processing unit executes this specification The interaction based on identifying code of various illustrative embodiments is tested according to the present invention described in above-mentioned " illustrative methods " part Operating procedure in card method.
Testing for realizing the interaction based on identifying code for this embodiment according to the present invention is described referring to Fig. 7 The calculating equipment 70 of card method.Calculating equipment 70 as shown in Figure 7 is only an example, should not be to the function of the embodiment of the present invention Any restrictions can be brought with use scope.
It is showed in the form of universal computing device as shown in fig. 7, calculating equipment 70.Calculate equipment 70 component may include But it is not limited to: at least one above-mentioned processing unit 701, at least one above-mentioned storage unit 702, connection different system components (packet Include storage unit 702 and processing unit 701) bus 703.
Bus 703 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.
Storage unit 702 may include the readable medium of form of volatile memory, such as random access memory (RAM) 7021 and/or cache memory 7022, it can further include read-only memory (ROM) 7023.
Storage unit 702 can also include program/utility with one group of (at least one) program module 7024 7025, such program module 7024 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Calculating equipment 70 can also be with one or more external equipment 704 (such as keyboard, sensing equipment, bluetooth equipment etc.) Communication can also be enabled a user to communicate with the equipment that calculating equipment 70 interacts with one or more, and/or be set with to calculate The standby 70 any equipment (such as router, modem etc.) that can be communicated with one or more of the other calculating equipment are led to Letter.This communication can be carried out by input/output (I/O) interface 705.Also, calculating equipment 70 can also be suitable by network Orchestration 706 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as because of spy Net) communication.As shown, network adapter 706 is communicated by bus 703 with the other modules for calculating equipment 70.It should be understood that Although not shown in the drawings, other hardware and/or software module can be used in conjunction with equipment 70 is calculated, including but not limited to: micro- generation Code, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup are deposited Storage system etc..
It should be noted that although being referred to several lists of the validation-cross device based on identifying code in the above detailed description Member/module or subelement/module, but it is this division be only exemplary it is not enforceable.In fact, according to the present invention Embodiment, the feature and function of two or more above-described units/modules can be specific in a units/modules Change.Conversely, the feature and function of an above-described units/modules can with further division be by multiple units/modules Lai It embodies.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and Included various modifications and equivalent arrangements in range.

Claims (11)

1. a kind of validation-cross method based on identifying code is applied to server, comprising:
In response to checking request, identifying code parameter is obtained;
Based on the identifying code parameter and three-dimensional model generator, at least one three-dimensional verification code element is generated, wherein described three Dimension module generator is based on generation confrontation network training and obtains;
At least one described three-dimensional verification code element is sent to client to be shown;
Obtain attribute information relevant to the interactive operation of at least one three-dimensional verification code element for described in;And
Based on the attribute information, determine whether the interactive operation passes through verifying.
2. according to the method described in claim 1, wherein, the identifying code parameter includes at least one parameter information, Mei Gecan Number information includes shape coding, visual angle coding and texture coding;
Described to be based on the identifying code parameter and three-dimensional model generator, generating at least one three-dimensional verification code element includes:
The shape coding of a parameter information in the identifying code parameter is input to the three-dimensional model generator, obtain with The corresponding voxel grid model of one parameter information;And
Visual angle coding and texture coding based on one parameter information carry out wash with watercolours to one voxel grid model Dye processing, obtains a three-dimensional verification code element corresponding with one parameter information.
3. according to the method described in claim 1, further include: after described at least one three-dimensional verification code element of generation, really The displaying information of fixed at least one three-dimensional verification code element, the displaying information include: at least one described three-dimensional verifying The display location of each three-dimensional verification code element in data code and displaying time;And
It is described at least one described three-dimensional verification code element be sent to client be shown include: by it is described at least one three The displaying information of dimension verifying data code and at least one three-dimensional verification code element is sent to the client, so that the visitor Family end group in each three-dimensional verification code element display location and show the time, at least one described three-dimensional verification code element into Row is shown.
4. method according to claim 1 or 3, wherein
The attribute information includes: the location information of the interactive operation and the temporal information of the interactive operation;And
Described to be based on the attribute information, determining whether the interactive operation passes through verifying includes: if it is determined that the interaction behaviour The temporal information of work matches with predetermined time section, and determines the location information and predetermined position phase of the interactive operation Match, then confirms that the interactive operation passes through verifying.
5. according to the method described in claim 4, further include: determine that target is tested from least one described three-dimensional verification code element Demonstrate,prove data code;
It is described at least one described three-dimensional verification code element is sent to client to be shown further include: will to indicate the target Verifying data code identifier be sent to client together so that the client output for the target verification data code into The prompt information of row interactive operation;
The predetermined time section includes: the displaying time of the target verification data code;And
The predetermined position includes: the display location of the target verification data code corresponding with the temporal information, alternatively, needle To the auxiliary operation position of target verification data code setting.
6. according to the method described in claim 4, wherein, the temporal information of the determination interactive operation and predetermined time area Between match and include:
Determine that the time point that the temporal information of the interactive operation is characterized falls into the predetermined time section.
7. according to the method described in claim 4, wherein, the location information and predetermined position phase of the determination interactive operation Matching includes:
The Euclidean distance between the position that the location information of the predetermined position and the interactive operation is characterized is calculated, when described When Euclidean distance is less than predetermined threshold, confirm that the location information of the interactive operation matches with predetermined position.
8. according to the method described in claim 1, further include:
Create the generation confrontation network being made of a shape generator and a shape discrimination device;
It is using the shape coding of the two dimensional image sample of the first quantity as the input of the shape generator, the shape is raw It grows up to be a useful person input of the voxel grid model as the shape discrimination device of output;
Differentiation result based on shape discrimination device output optimizes the parameter of the shape generator;
It is optimized based on parameter of the true three-dimension model sample of the second quantity to the shape discrimination device;
The parameter of shape generator described in alternative optimization and the shape discrimination device, until obtaining optimised shape generator and optimization Shape discrimination device;And
Using the optimised shape generator as the three-dimensional model generator.
9. a kind of validation-cross device based on identifying code is applied to server, comprising:
First obtains module, for obtaining identifying code parameter in response to checking request;
Generation module generates at least one three-dimensional verification code member for being based on the identifying code parameter and three-dimensional model generator Element obtains wherein the three-dimensional model generator is based on generation confrontation network training;
Output module is shown at least one described three-dimensional verification code element to be sent to client;
Second obtains module, for obtaining attribute relevant to the interactive operation of at least one three-dimensional verification code element for described in Information;And
Authentication module determines whether the interactive operation passes through verifying for being based on the attribute information.
10. a kind of medium, be stored with computer executable instructions, described instruction when being executed by processor for realizing:
Such as the validation-cross method described in any item of the claim 1 to 8 based on identifying code.
11. a kind of calculating equipment, comprising: memory, processor and storage on a memory and can run on a processor can It executes instruction, the processor is realized when executing described instruction:
Such as the validation-cross method described in any item of the claim 1 to 8 based on identifying code.
CN201910648059.4A 2019-07-17 2019-07-17 Interactive verification method, device, medium and computing equipment based on verification code Active CN110378095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910648059.4A CN110378095B (en) 2019-07-17 2019-07-17 Interactive verification method, device, medium and computing equipment based on verification code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910648059.4A CN110378095B (en) 2019-07-17 2019-07-17 Interactive verification method, device, medium and computing equipment based on verification code

Publications (2)

Publication Number Publication Date
CN110378095A true CN110378095A (en) 2019-10-25
CN110378095B CN110378095B (en) 2022-02-25

Family

ID=68253788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910648059.4A Active CN110378095B (en) 2019-07-17 2019-07-17 Interactive verification method, device, medium and computing equipment based on verification code

Country Status (1)

Country Link
CN (1) CN110378095B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110766529A (en) * 2019-10-31 2020-02-07 广东美的制冷设备有限公司 Operation verification method and device, air conditioner and storage medium
CN110942463A (en) * 2019-10-30 2020-03-31 杭州电子科技大学 Video target segmentation method based on generation countermeasure network
CN110995706A (en) * 2019-12-03 2020-04-10 广州市百果园信息技术有限公司 Authentication system, method, device and storage medium for communication application
CN112685725A (en) * 2020-12-30 2021-04-20 上海掌门科技有限公司 Security verification method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685078A (en) * 2011-03-17 2012-09-19 中国电信股份有限公司 Method for verifying verification code and server
EP2509019A1 (en) * 2011-04-04 2012-10-10 Sony Ericsson Mobile Communications AB Security arrangement
CN106355072A (en) * 2016-08-19 2017-01-25 沈建国 Implementation method and device for three-dimensional model verification code
CN107154924A (en) * 2016-03-04 2017-09-12 阿里巴巴集团控股有限公司 Authentication processing method and device based on identifying code
CN107846412A (en) * 2017-11-28 2018-03-27 五八有限公司 Identifying code request processing method, device and identifying code processing system
CN108809654A (en) * 2018-06-29 2018-11-13 苏州科达科技股份有限公司 Dynamic authentication code generating method, verification method and device based on dynamic verification code

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685078A (en) * 2011-03-17 2012-09-19 中国电信股份有限公司 Method for verifying verification code and server
EP2509019A1 (en) * 2011-04-04 2012-10-10 Sony Ericsson Mobile Communications AB Security arrangement
CN107154924A (en) * 2016-03-04 2017-09-12 阿里巴巴集团控股有限公司 Authentication processing method and device based on identifying code
CN106355072A (en) * 2016-08-19 2017-01-25 沈建国 Implementation method and device for three-dimensional model verification code
CN107846412A (en) * 2017-11-28 2018-03-27 五八有限公司 Identifying code request processing method, device and identifying code processing system
CN108809654A (en) * 2018-06-29 2018-11-13 苏州科达科技股份有限公司 Dynamic authentication code generating method, verification method and device based on dynamic verification code

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110942463A (en) * 2019-10-30 2020-03-31 杭州电子科技大学 Video target segmentation method based on generation countermeasure network
CN110942463B (en) * 2019-10-30 2021-03-16 杭州电子科技大学 Video target segmentation method based on generation countermeasure network
CN110766529A (en) * 2019-10-31 2020-02-07 广东美的制冷设备有限公司 Operation verification method and device, air conditioner and storage medium
CN110766529B (en) * 2019-10-31 2022-05-03 广东美的制冷设备有限公司 Operation verification method and device, air conditioner and storage medium
CN110995706A (en) * 2019-12-03 2020-04-10 广州市百果园信息技术有限公司 Authentication system, method, device and storage medium for communication application
CN110995706B (en) * 2019-12-03 2021-09-21 广州市百果园信息技术有限公司 Authentication system, method, device and storage medium for communication application
CN112685725A (en) * 2020-12-30 2021-04-20 上海掌门科技有限公司 Security verification method and device
CN112685725B (en) * 2020-12-30 2022-12-06 上海掌门科技有限公司 Security verification method and device

Also Published As

Publication number Publication date
CN110378095B (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN110378095A (en) Validation-cross method, apparatus, medium and calculating equipment based on identifying code
Wang et al. SaliencyGAN: Deep learning semisupervised salient object detection in the fog of IoT
CN109902659B (en) Method and apparatus for processing human body image
CN107545241A (en) Neural network model is trained and biopsy method, device and storage medium
CN108985257A (en) Method and apparatus for generating information
CN108898186A (en) Method and apparatus for extracting image
CN108052577A (en) A kind of generic text content mining method, apparatus, server and storage medium
CN105518708A (en) Method and equipment for verifying living human face, and computer program product
CN108154196A (en) For exporting the method and apparatus of image
CN108763915A (en) Identifying code is established to generate model and generate the method, apparatus of identifying code
CN109523611A (en) Identifying code Picture Generation Method and device
CN107609462A (en) Measurement information generation to be checked and biopsy method, device, equipment and storage medium
CN107038784B (en) Safe verification method and device
CN109034069A (en) Method and apparatus for generating information
CN108171211A (en) Biopsy method and device
CN110427737A (en) Man-machine recognition methods, device and the computer equipment of operation behavior
CN104298910B (en) Portable electronic device and interactive face login method
CN110399712B (en) Interactive verification method, device, medium and computing equipment based on verification code
CN109934191A (en) Information processing method and device
CN108062544A (en) For the method and apparatus of face In vivo detection
CN110162955A (en) Man-machine recognition methods, device, medium and electronic equipment
CN108154111A (en) Biopsy method, system, electronic equipment and computer-readable medium
CN108509916A (en) Method and apparatus for generating image
CN109272543A (en) Method and apparatus for generating model
CN110298164A (en) Identifying code processing method and processing 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
TA01 Transfer of patent application right

Effective date of registration: 20210926

Address after: 310052 Room 408, building 3, No. 399, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Netease Zhiqi Technology Co.,Ltd.

Address before: 310052 Building No. 599, Changhe Street Network Business Road, Binjiang District, Hangzhou City, Zhejiang Province, 4, 7 stories

Applicant before: NETEASE (HANGZHOU) NETWORK Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant