[go: up one dir, main page]

CN115168826A - Projection verification method, device, electronic device, and computer-readable storage medium - Google Patents

Projection verification method, device, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN115168826A
CN115168826A CN202210894132.8A CN202210894132A CN115168826A CN 115168826 A CN115168826 A CN 115168826A CN 202210894132 A CN202210894132 A CN 202210894132A CN 115168826 A CN115168826 A CN 115168826A
Authority
CN
China
Prior art keywords
projection
dimensional graph
dimensional
verification
graphics
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
CN202210894132.8A
Other languages
Chinese (zh)
Other versions
CN115168826B (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210894132.8A priority Critical patent/CN115168826B/en
Publication of CN115168826A publication Critical patent/CN115168826A/en
Application granted granted Critical
Publication of CN115168826B publication Critical patent/CN115168826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/506Illumination models
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Architecture (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The disclosure provides a projection verification method, a projection verification device, electronic equipment and a computer-readable storage medium, and belongs to the technical field of network security. The method can construct the projection relation between the three-dimensional graph and the two-dimensional graph based on the virtual illumination points, and performs characteristic extraction and verification on the space transformation operation of an operator based on the projection relation, and the three-dimensional graph, the virtual illumination points and the like are not constrained in shape, position and the like, and the three-dimensional graph recognition difficulty is obviously higher than that of a plane graph, so that the projection verification method provided by the disclosure is different from the traditional two-dimensional plane man-machine verification method, the verification code recognition difficulty is effectively improved, the attack cost is increased, the problem that the verification codes such as text recognition, object classification, mathematical calculation and the like are easy to recognize and break is solved is avoided, and the network environment safety is further fully ensured.

Description

投影验证方法、装置、电子设备及计算机可读存储介质Projection verification method, device, electronic device, and computer-readable storage medium

技术领域technical field

本公开属于网络安全技术领域,具体涉及一种投影验证方法、装置、电子设备及计算机可读存储介质。The present disclosure belongs to the technical field of network security, and in particular relates to a projection verification method, an apparatus, an electronic device, and a computer-readable storage medium.

背景技术Background technique

随着信息网络的不断发展,网络的应用也深入工作、学习和生活等各个领域,同时网络环境也面临着各种挑战。如,可能由于接收到通过机器程序大量重复发送的邮件、短信、请求等,导致服务器负担增加、网络资源耗尽,从而影响网络环境的正常稳定。With the continuous development of the information network, the application of the network has also penetrated into various fields such as work, study and life. At the same time, the network environment is also facing various challenges. For example, it is possible that a large number of repeated emails, short messages, requests, etc. sent through the machine program are received, resulting in increased server load and exhaustion of network resources, thus affecting the normal stability of the network environment.

验证码可以通过输入操作对操作者进行识别,以确定操作者是否为期望的操作对象,从而保证数据请求由正常交互行为产生,保护网络环境安全。传统的验证码可以包括点选式验证码、滑动式验证码、计算式验证码等,在提供文本图片、物体图片、场景图片以及计算式等后接收输入操作,辅助以对象归类、滑动轨迹、滑动加速度、数据逻辑计算等参考因素进行识别,来提高机器破解难度。The verification code can identify the operator through the input operation to determine whether the operator is the desired operation object, thereby ensuring that the data request is generated by normal interactive behavior and protecting the security of the network environment. Traditional verification codes can include point-and-click verification codes, sliding verification codes, calculation verification codes, etc. After providing text pictures, object pictures, scene pictures, and calculation formulas, input operations are received to assist in classifying objects and sliding trajectories. , sliding acceleration, data logic calculation and other reference factors to identify, to improve the difficulty of machine cracking.

但是,随着图像识别技术、深度学习训练等在机器破解中的应用,其破解难度也在不断下降,导致传统验证码的验证有效性降低,难以充分保护网络环境的安全。However, with the application of image recognition technology and deep learning training in machine cracking, the difficulty of cracking is also decreasing, resulting in the reduction of the verification effectiveness of traditional verification codes, and it is difficult to fully protect the security of the network environment.

发明内容SUMMARY OF THE INVENTION

本公开的目的是提供一种投影验证方法、装置、电子设备及计算机可读存储介质,能够提供包括虚拟光照点、三维图形以及三维图形在虚拟光照点下二维投影的验证码,由于三维图形、虚拟光照点的形状位置等不受约束,因此可以有效提高机器破解验证码的难度,提高验证码的验证有效性,进一步充分保护网络环境的安全。The purpose of the present disclosure is to provide a projection verification method, device, electronic device and computer-readable storage medium, which can provide a verification code including a virtual light point, a three-dimensional figure, and a two-dimensional projection of the three-dimensional figure under the virtual light point. , the shape and position of the virtual light point, etc. are not constrained, so it can effectively improve the difficulty of the machine cracking the verification code, improve the verification effectiveness of the verification code, and further fully protect the security of the network environment.

为了解决上述技术问题,本公开是这样实现的:In order to solve the above-mentioned technical problems, the present disclosure is implemented as follows:

第一方面,本公开提供了一种投影验证方法,该方法可以包括:提供投影验证码,投影验证码包括虚拟光照点、投影本体三维图形与投影参考二维图形;接收对投影本体三维图形的第一空间变换操作,获取在虚拟光照点下投影本体三维图形对应的投影目标二维图形;在投影目标二维图形与投影参考二维图形符合一致性条件的情况下,基于第一空间变换操作提取投影操作特征;根据投影操作特征进行投影验证。In a first aspect, the present disclosure provides a projection verification method, the method may include: providing a projection verification code, the projection verification code includes a virtual light point, a projection body three-dimensional figure and a projection reference two-dimensional figure; The first space transformation operation is to obtain the projection target 2D graphics corresponding to the projection body 3D graphics under the virtual illumination point; in the case that the projection target 2D graphics and the projection reference 2D graphics meet the consistency conditions, the first spatial transformation operation is performed based on the first spatial transformation operation. Extract the projection operation features; perform projection verification according to the projection operation features.

可选地,提供投影验证码,包括:从三维图形库中获取投影本体三维图形,三维图形库包括一个以上各不相同的三维图形;生成虚拟光照点,并获取在虚拟光照点下投影本体三维图形对应的投影参考二维图形;构建投影本体三维图形与投影参考二维图形的参考映射序列;对投影本体三维图形进行第二空间变换操作;将虚拟光照点、投影参考二维图形以及第二空间变换操作后的投影本体三维图形渲染到用户界面,提供投影验证码。Optionally, providing the projection verification code includes: acquiring the three-dimensional graphics of the projected ontology from a three-dimensional graphics library, where the three-dimensional graphics library includes one or more different three-dimensional graphics; The projection reference 2D graphics corresponding to the graphics; construct the reference mapping sequence of the projection ontology 3D graphics and the projection reference 2D graphics; perform the second space transformation operation on the projection ontology 3D graphics; The 3D graphics of the projection ontology after the space transformation operation is rendered to the user interface, and the projection verification code is provided.

可选地,构建投影本体三维图形与投影参考二维图形的参考映射序列,包括:获取投影本体三维图形的参考三维坐标,以及投影参考二维图形的参考二维坐标;对参考三维坐标与参考二维坐标进行映射,获得投影本体三维图形与投影参考二维图形的参考映射序列。Optionally, constructing a reference mapping sequence of the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics includes: obtaining the reference three-dimensional coordinates of the projected ontology three-dimensional graphics, and the reference two-dimensional coordinates of the projected reference two-dimensional graphics; The two-dimensional coordinates are mapped to obtain a reference mapping sequence of the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics.

可选地,投影本体三维图形与投影参考二维图形间存在参考映射序列,投影操作特征包括目标映射序列,基于第一空间变换操作提取投影操作特征,包括:构建第一空间变换操作后投影本体三维图形与投影目标二维图形对应的目标映射序列;根据投影操作特征进行投影验证,包括:对目标映射序列、参考映射序列进行误差校验,并根据校验结果进行投影验证。Optionally, a reference mapping sequence exists between the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics, the projection operation feature includes a target mapping sequence, and extracting the projection operation feature based on the first spatial transformation operation includes: constructing the projected ontology after the first spatial transformation operation. The target mapping sequence corresponding to the three-dimensional graphics and the projection target two-dimensional graphics; the projection verification is performed according to the projection operation characteristics, including: performing error checking on the target mapping sequence and the reference mapping sequence, and performing projection verification according to the verification result.

可选地,构建第一空间变换操作后投影本体三维图形与投影目标二维图形对应的目标映射序列,包括:获取第一空间变换操作后投影本体三维图形的目标三维坐标,以及投影目标二维图形的目标二维坐标;对目标三维坐标与目标二维坐标进行映射,获得空间操作后投影本体三维图形与投影目标二维图形的目标映射序列。Optionally, constructing a target mapping sequence corresponding to the projected ontology 3D graphics and the projected target 2D graphics after the first spatial transformation operation includes: acquiring the target 3D coordinates of the projected ontology 3D graphics after the first spatial transformation operation, and the projection target 2D coordinates. The target two-dimensional coordinates of the graphic; the three-dimensional coordinates of the target and the two-dimensional coordinates of the target are mapped to obtain the target mapping sequence of the projected ontology three-dimensional graphic and the projected target two-dimensional graphic after the space operation.

可选地,基于第一空间变换操作提取投影操作特征,包括:采集第一空间变换操作的过程中投影本体三维图形的变换轨迹;根据投影操作特征进行投影验证,包括:对变换轨迹进行行为分析,并根据分析结果进行投影验证。Optionally, extracting the projection operation feature based on the first space transformation operation includes: collecting a transformation trajectory of the three-dimensional graphics of the projected ontology during the first space transformation operation; performing projection verification according to the projection operation feature, including: performing behavior analysis on the transformation trajectory. , and perform projection verification based on the analysis results.

可选地,采集第一空间变换操作的过程中投影本体三维图形的变换轨迹,包括:在第一空间变换操作的过程中,通过传感器采集投影本体三维图形的变换轨迹。Optionally, collecting the transformation trajectory of the projected three-dimensional graphics of the body during the first spatial transformation operation includes: collecting the transformation trajectory of the projected three-dimensional graphics of the ontology through a sensor during the first spatial transformation operation.

第二方面,本公开提供了一种投影验证装置,该装置可以包括:验证码提供模块,用于提供投影验证码,投影验证码包括虚拟光照点、投影本体三维图形与投影参考二维图形;操作接收模块,用于接收对投影本体三维图形的第一空间变换操作,获取在虚拟光照点下投影本体三维图形对应的投影目标二维图形;特征提取模块,用于在投影目标二维图形与投影参考二维图形符合一致性条件的情况下,基于第一空间变换操作提取投影操作特征;特征验证模块,用于根据投影操作特征进行投影验证。In a second aspect, the present disclosure provides a projection verification device, which may include: a verification code providing module for providing a projection verification code, where the projection verification code includes a virtual light point, a projection body three-dimensional figure and a projected reference two-dimensional figure; The operation receiving module is used for receiving the first space transformation operation on the three-dimensional graphics of the projection body, and obtains the two-dimensional graphics of the projection target corresponding to the three-dimensional graphics of the projection body under the virtual illumination point; the feature extraction module is used for the projection target two-dimensional graphics and the projection target two-dimensional graphics. When the projection reference two-dimensional graphics meet the consistency condition, the projection operation feature is extracted based on the first space transformation operation; the feature verification module is used for performing projection verification according to the projection operation feature.

可选地,验证码提供模块,包括:三维图形获取子模块,用于从三维图形库中获取投影本体三维图形,三维图形库包括一个以上各不相同的三维图形;光照点生成子模块,用于生成虚拟光照点,并获取在虚拟光照点下投影本体三维图形对应的投影参考二维图形;图形映射子模块,用于构建投影本体三维图形与投影参考二维图形的参考映射序列;空间变换子模块,用于对投影本体三维图形进行第二空间变换操作;验证码渲染子模块,用于将虚拟光照点、投影参考二维图形以及第二空间变换操作后的投影本体三维图形渲染到用户界面,提供投影验证码。Optionally, the verification code providing module includes: a three-dimensional graphics acquisition sub-module for acquiring the three-dimensional graphics of the projection ontology from a three-dimensional graphics library, and the three-dimensional graphics library includes one or more different three-dimensional graphics; It is used to generate virtual lighting points and obtain the projected reference two-dimensional graphics corresponding to the projected three-dimensional graphics of the body under the virtual lighting points; the graphics mapping sub-module is used to construct the reference mapping sequence of the projected three-dimensional graphics of the ontology and the projected reference two-dimensional graphics; spatial transformation The sub-module is used to perform the second space transformation operation on the projection ontology 3D graphics; the verification code rendering sub-module is used to render the virtual light point, the projection reference 2D graphics and the projection ontology 3D graphics after the second spatial transformation operation to the user interface, providing projection verification code.

可选地,图形映射子模块,包括:坐标获取单元,用于获取投影本体三维图形的参考三维坐标,以及投影参考二维图形的参考二维坐标;坐标映射单元,用于对参考三维坐标与参考二维坐标进行映射,获得投影本体三维图形与投影参考二维图形的参考映射序列。Optionally, the graphics mapping sub-module includes: a coordinate obtaining unit for obtaining the reference three-dimensional coordinates of the projected ontology three-dimensional graphics, and the reference two-dimensional coordinates of the projected reference two-dimensional graphics; a coordinate mapping unit for comparing the reference three-dimensional coordinates with the reference three-dimensional coordinates. Mapping is performed with reference to the two-dimensional coordinates to obtain a reference mapping sequence of the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics.

可选地,投影本体三维图形与投影参考二维图形间存在参考映射序列,投影操作特征包括目标映射序列,特征提取模块,具体用于获取第一空间变换操作后投影本体三维图形与投影目标二维图形对应的目标映射序列;特征验证模块,具体用于对目标映射序列、参考映射序列进行误差校验,并根据校验结果进行投影验证。Optionally, there is a reference mapping sequence between the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics, the projection operation features include a target mapping sequence, and a feature extraction module, which is specifically used to obtain the projected ontology three-dimensional graphics and the projected target two after the first spatial transformation operation. The target mapping sequence corresponding to the dimensional graphics; the feature verification module is specifically used to perform error checking on the target mapping sequence and the reference mapping sequence, and perform projection verification according to the verification result.

可选地,特征提取模块,具体用于获取第一空间变换操作后投影本体三维图形的目标三维坐标,以及投影目标二维图形的目标二维坐标;对目标三维坐标与目标二维坐标进行映射,获得空间操作后投影本体三维图形与投影目标二维图形的目标映射序列。Optionally, the feature extraction module is specifically used to obtain the target 3D coordinates of the projected ontology 3D graphics after the first space transformation operation, and the target 2D coordinates of the projected target 2D graphics; map the target 3D coordinates and the target 2D coordinates. , to obtain the target mapping sequence of the projected ontology 3D graphics and the projected target 2D graphics after the spatial operation.

可选地,特征提取模块,具体用于采集第一空间变换操作的过程中投影本体三维图形的变换轨迹;特征验证模块,具体用于对变换轨迹进行行为分析获得,并根据分析结果进行投影验证。Optionally, the feature extraction module is specifically used to collect the transformation trajectory of the projected ontology 3D graphics in the process of the first space transformation operation; the feature verification module is specifically used to perform behavior analysis on the transformation trajectory to obtain, and perform projection verification according to the analysis result. .

可选地,特征提取模块,具体用于在第一空间变换操作的过程中,通过传感器采集投影本体三维图形的变换轨迹。Optionally, the feature extraction module is specifically configured to collect the transformation trajectory of the three-dimensional figure of the projected body through the sensor during the first space transformation operation.

第三方面,本公开提供了一种电子设备,该电子设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的程序或指令,该程序或指令被该处理器执行时实现如第一方面的投影验证方法的步骤。In a third aspect, the present disclosure provides an electronic device comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, when the program or instruction is executed by the processor The steps of implementing the projection verification method of the first aspect.

第四方面,本公开提供了一种计算机可读存储介质,计算机可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现如第一方面的投影验证方法的步骤。In a fourth aspect, the present disclosure provides a computer-readable storage medium on which a program or instruction is stored, and when the program or instruction is executed by a processor, implements the steps of the projection verification method according to the first aspect.

第五方面,本公开提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,该处理器用于运行程序或指令,实现如第一方面的投影验证方法的步骤。In a fifth aspect, the present disclosure provides a chip including a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the steps of the projection verification method of the first aspect.

第六方面,本公开提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如实现如第一方面的投影验证方法的步骤。In a sixth aspect, the present disclosure provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps as implementing the projection verification method of the first aspect.

在本公开提供的投影验证方法中,提供了包括虚拟光照点、投影本体三维图形与投影参考二维图形的投影验证码,并通过对投影本体三维图形的第一空间操作获取在该虚拟光照点下的投影目标二维图形,在投影目标二维图形与投影参考二维图形符合一致性条件的情况下,可以提取第一空间变换操作的投影操作特征,进而根据投影操作特征对操作方是否为期望对象进行验证;上述方案中,基于虚拟光照点构建了三维图形与二维图形的投影关系,并基于该投影关系对操作者的空间变换操作进行特征提取、验证,由于三维图形、虚拟光照点等形状、位置等不受约束,且三维图形识别难度显著高于平面图形,因此有效提升了验证码识别难度,增加了攻击成本,避免了文本识别、物体归类、数学计算等验证码易被识别破解的问题,更进一步充分保证了网络环境安全。In the projection verification method provided by the present disclosure, a projection verification code including a virtual illumination point, a projected ontology three-dimensional graphic and a projected reference two-dimensional graphic is provided, and the virtual illumination spot is obtained by performing a first spatial operation on the projected ontology three-dimensional graphic. The projection target two-dimensional figure below, in the case that the projection target two-dimensional figure and the projection reference two-dimensional figure meet the consistency condition, the projection operation feature of the first space transformation operation can be extracted, and then according to the projection operation feature, whether the operator is The desired object is verified; in the above scheme, the projection relationship between the three-dimensional graphics and the two-dimensional graphics is constructed based on the virtual light point, and the operator's spatial transformation operation is extracted and verified based on the projection relationship. There are no restrictions on the shape and position of the 3D graphics, and the recognition difficulty of three-dimensional graphics is significantly higher than that of flat graphics, which effectively improves the verification code recognition difficulty, increases the attack cost, and avoids text recognition, object classification, mathematical calculation and other verification codes that are easily detected. Identifying the problem of cracking further fully guarantees the security of the network environment.

附图说明Description of drawings

图1为本公开实施例提供的投影验证方法的步骤流程图之一;FIG. 1 is one of the flowcharts of the steps of the projection verification method provided by the embodiment of the present disclosure;

图2为本公开实施例提供的投影验证方法的步骤流程图之二;FIG. 2 is the second flow chart of the steps of the projection verification method provided by the embodiment of the present disclosure;

图3为本公开实施例提供的一种投影验证码的生成示意图;3 is a schematic diagram of generating a projection verification code according to an embodiment of the present disclosure;

图4为本公开实施例提供的一种投影验证码的渲染示意图;FIG. 4 is a schematic rendering of a projection verification code according to an embodiment of the present disclosure;

图5为本公开实施例提供的第一空间变换操作的示意图之一;FIG. 5 is one of schematic diagrams of a first spatial transformation operation provided by an embodiment of the present disclosure;

图6为本公开实施例提供的第一空间变换操作的示意图之二;FIG. 6 is a second schematic diagram of a first space transformation operation provided by an embodiment of the present disclosure;

图7为本公开实施例提供的投影验证装置的结构示意图;FIG. 7 is a schematic structural diagram of a projection verification apparatus provided by an embodiment of the present disclosure;

图8为本公开实施例提供的一种电子设备的结构示意图;FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;

图9为本公开实施例提供的一种电子设备的硬件示意图。FIG. 9 is a schematic hardware diagram of an electronic device according to an embodiment of the present disclosure.

具体实施方式Detailed ways

下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, but not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.

本公开的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of the present disclosure are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that embodiments of the present disclosure can be practiced in sequences other than those illustrated or described herein, and distinguished by "first," "second," etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

需要说明的是,本公开获取的数据,包括操作数据、三维图形等数据,均在明确告知用户或相关数据所属方对数据的采集内容、数据用途、处理方式等信息后,在用户或相关数据所属方同意、授权的情况下访问、采集、存储并应用于后续分析处理,且可以向用户或相关数据所属方提供访问、更正、删除该数据的途径,以及撤销同意、授权的方法。It should be noted that the data obtained in this disclosure, including operation data, three-dimensional graphics and other data, are not processed before the user or the relevant data owner is clearly informed of the data collection content, data usage, processing method and other information. With the consent and authorization of the owner, it can be accessed, collected, stored and used for subsequent analysis and processing, and the user or the owner of the relevant data can be provided with access, correction, and deletion of the data, as well as the method of withdrawing consent and authorization.

下面结合附图,通过具体的实施例及其应用场景对本公开实施例提供的投影验证进行详细地说明。The projection verification provided by the embodiments of the present disclosure will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.

图1为本公开实施例提供的投影验证方法的步骤流程图之一。如图1所示,该方法可以包括如下步骤101至步骤104。FIG. 1 is one of a flow chart of steps of a projection verification method provided by an embodiment of the present disclosure. As shown in FIG. 1 , the method may include the following steps 101 to 104 .

步骤101、提供投影验证码,投影验证码包括虚拟光照点、投影本体三维图形与投影参考二维图形。Step 101 , providing a projection verification code, where the projection verification code includes a virtual light point, a three-dimensional figure of the projection body, and a projection reference two-dimensional figure.

其中,投影验证码指在虚拟光照点下基于投影本体三维图形与投影参考二维图形的投影映射关系构建的验证码。虚拟光照点可以是理想化、抽象化的质点光源,在虚拟光照点可以向周围空间均匀辐射光线;三维图形是指在空间中通过X轴、Y轴、Z轴三个坐标轴定义的,基于体划分的图形,三维图形可以包括立体几何图形,如球体、柱体、锥体等,也可以是具体事物的三维图像,如苹果、汽车、雨伞等。投影本体三维图形可以包括一个,或两个以上三维图形,不同三维图形间的关系可以是分离、拼接或重叠等。The projection verification code refers to a verification code constructed based on the projection mapping relationship between the projected ontology 3D graphics and the projected reference 2D graphics under the virtual illumination point. The virtual light point can be an idealized and abstract particle light source, and the virtual light point can radiate light evenly to the surrounding space; 3D graphics are defined by the three coordinate axes of X-axis, Y-axis and Z-axis in space. The three-dimensional graphics can include three-dimensional geometric figures, such as spheres, cylinders, cones, etc., or three-dimensional images of specific things, such as apples, cars, umbrellas, etc. The three-dimensional graphics of the projected body may include one or more than two three-dimensional graphics, and the relationship between different three-dimensional graphics may be separation, splicing, or overlapping.

在本公开实施例中,投影参考二维图形可以是在虚拟光照下,位于参考空间位置处的投影本体三维图形在平面上形成的投影二维图形,在投影验证码中投影本体三维图形的显示空间位置与参考空间位置可以不同。In the embodiment of the present disclosure, the projected reference two-dimensional graphic may be a projected two-dimensional graphic formed on a plane by the projected three-dimensional graphic of the ontology located at the reference space position under virtual illumination, and the display of the projected three-dimensional graphic of the ontology in the projected verification code The spatial location can be different from the reference spatial location.

步骤102、接收对投影本体三维图形的第一空间变换操作,获取在虚拟光照点下投影本体三维图形对应的投影目标二维图形。Step 102 : Receive a first spatial transformation operation on the three-dimensional graphics of the projected body, and acquire the two-dimensional graphics of the projection target corresponding to the three-dimensional graphics of the projected body under the virtual illumination point.

其中,第一空间变换操作可以是对投影本体三维图形在空间中的平移、旋转、缩放等操作。在虚拟光照点下,第一空间变换操作的过程中可以获取投影本体三维图形对应的投影目标二维图形,基于投影将三维空间体系与二维平面体系相映射,在验证中添加立体化的参考要素,以提高验证的破解难度,增强对操作者验证的准确性。The first space transformation operation may be operations such as translation, rotation, and scaling of the three-dimensional graphics of the projection body in space. Under the virtual lighting point, the 2D graphics of the projection target corresponding to the 3D graphics of the projection body can be obtained during the first space transformation operation, the 3D space system and the 2D plane system can be mapped based on the projection, and the stereoscopic reference is added in the verification. elements to improve the cracking difficulty of verification and enhance the accuracy of operator verification.

步骤103、在投影目标二维图形与投影参考二维图形符合一致性条件的情况下,基于第一空间变换操作提取投影操作特征。Step 103 , in the case that the projection target two-dimensional graphics and the projection reference two-dimensional graphics meet the consistency condition, extract the projection operation feature based on the first spatial transformation operation.

其中,一致性条件可以是在平面上,投影目标二维图像与投影参考二维图的形状、大小和位置等相差在一致性误差范围内。在一致性条件下投影目标二维图形与投影参考发生或近似发生重合。投影操作特征用于表征在第一空间变换操作过程中投影本体三维图形的状态变化,可以是第一空间变换操作的行为特征,如操作方式、操作方向、操作角度和操作速度等等,也可以是在第一空间变换操作过程中投影本体三维图形的运动特征,如变换方式、变换方向、变换角度和变换速度等等,也可以是第一空间变换操作结束时投影本体三维图形的形状、位置等。The consistency condition may be that on a plane, the difference in shape, size and position of the projection target 2D image and the projection reference 2D image is within the consistency error range. Under the condition of consistency, the two-dimensional graphics of the projection target and the projection reference are coincident or approximately coincident. The projection operation feature is used to represent the state change of the 3D graphics of the projected ontology during the first space transformation operation. It is the motion characteristics of the projected ontology 3D graphics during the first space transformation operation, such as transformation mode, transformation direction, transformation angle and transformation speed, etc. It can also be the shape and position of the projected ontology 3D graphics at the end of the first spatial transformation operation. Wait.

在本公开实施例中,第一空间变换操作结束可以是投影本体三维图形停止空间位置的变换时长超过停止时长;或投影目标二维图形与投影参考二维图形符合一致性条件;或投影目标二维图形与投影参考二维图形符合一致性条件,且投影本体三维图形停止空间位置的变换时长超过停止时长。其中,当投影本体三维图形停止空间位置的变换时长超过停止时长,但投影目标二维图形与投影参考二维图形不符合一致性条件时,可以在用户界面提示验证错误;进一步的,还可以根据当前投影本体三维图形在控制位置中的停止状态,在用户界面提示其对应投影目标二维图形与投影参考二维图形符合一致性条件时的空间变换操作,或者在用户界面提示可以重新生成投影验证码。In the embodiment of the present disclosure, the end of the first space transformation operation may be that the transformation duration of the stop space position of the projection body 3D graphics exceeds the stop duration; or the projection target 2D graphics and the projection reference 2D graphics meet the consistency condition; or the projection target 2 The 2D graphics and the projected reference 2D graphics meet the consistency conditions, and the transformation duration of the stop space position of the projection ontology 3D graphics exceeds the stop duration. Among them, when the transformation duration of the stop space position of the projection body 3D graphics exceeds the stop duration, but the projection target 2D graphics and the projection reference 2D graphics do not meet the consistency conditions, a verification error can be prompted on the user interface; The stop state of the current projection body 3D graphics in the control position, the user interface prompts the space transformation operation when the corresponding projection target 2D graphics and the projection reference 2D graphics meet the consistency conditions, or the user interface prompts that the projection verification can be regenerated code.

步骤104、根据投影操作特征进行投影验证。Step 104: Perform projection verification according to the projection operation feature.

其中,由于三维图形的平面投影可能在不同方向上存在重合的情况,因此基于第一空间变换操作提取的投影操作特征,可以在投影目标二维图形与投影参考二维图形符合一致性条件的基础上,进一步确定投影本体三维图形与投影目标三维图形之间的目标投影关系,是否符合投影本体三维图形与投影参考三维图形之间的参考投影关系;还可以根据投影操作特征确定第一空间变换操作是否为期望对象执行地操作,如可以对第一空间变换操作的行为特征、期望对象的历史空间变换操作的行为特征,或第一空间变换操作中投影本体三维图形的状态变化特征、期望对象的历史空间变换操作中投影本体三维图形的状态变化特征等进行分析、对比和匹配,以确定该第一空间变换操作是否由期望对象执行。Among them, since the plane projections of the 3D graphics may overlap in different directions, the projection operation feature extracted based on the first spatial transformation operation can be used to determine whether the projection target 2D graphics and the projected reference 2D graphics meet the consistency conditions. On the above, it is further determined whether the target projection relationship between the projection body 3D graphics and the projection target 3D graphics conforms to the reference projection relationship between the projection body 3D graphics and the projection reference 3D graphics; the first spatial transformation operation can also be determined according to the projection operation characteristics. Whether the operation is performed for the desired object, such as the behavior characteristics of the first space transformation operation, the behavior characteristics of the historical space transformation operation of the desired object, or the state change characteristics of the projected ontology 3D graphics in the first space transformation operation, the behavior characteristics of the desired object The state change characteristics of the projected ontology three-dimensional graphics in the historical space transformation operation are analyzed, compared and matched to determine whether the first space transformation operation is performed by the desired object.

在本公开提供的投影验证方法中,提供了包括虚拟光照点、投影本体三维图形与投影参考二维图形的投影验证码,并通过对投影本体三维图形的第一空间操作获取在该虚拟光照点下的投影目标二维图形,在投影目标二维图形与投影参考二维图形符合一致性条件的情况下,可以提取第一空间变换操作的投影操作特征,进而根据投影操作特征对操作方是否为期望对象进行验证;上述方案中,基于虚拟光照点构建了三维图形与二维图形的投影关系,并基于该投影关系对操作者的空间变换操作进行特征提取、验证,由于三维图形、虚拟光照点等形状、位置等不受约束,且三维图形识别难度显著高于平面图形,因此有效提升了验证码识别难度,增加了攻击成本,避免了文本识别、物体归类、数学计算等验证码易被识别破解的问题,更进一步充分保证了网络环境安全。In the projection verification method provided by the present disclosure, a projection verification code including a virtual illumination point, a projected ontology three-dimensional graphic and a projected reference two-dimensional graphic is provided, and the virtual illumination spot is obtained by performing a first spatial operation on the projected ontology three-dimensional graphic. The projection target two-dimensional figure below, in the case that the projection target two-dimensional figure and the projection reference two-dimensional figure meet the consistency condition, the projection operation feature of the first space transformation operation can be extracted, and then according to the projection operation feature, whether the operator is The desired object is verified; in the above scheme, the projection relationship between the three-dimensional graphics and the two-dimensional graphics is constructed based on the virtual light point, and the operator's spatial transformation operation is extracted and verified based on the projection relationship. There are no restrictions on the shape and position of the 3D graphics, and the recognition difficulty of three-dimensional graphics is significantly higher than that of flat graphics, which effectively improves the verification code recognition difficulty, increases the attack cost, and avoids text recognition, object classification, mathematical calculation and other verification codes that are easily detected. Identifying the problem of cracking further fully guarantees the security of the network environment.

图2是本公开实施例提供的一种投影验证方法的步骤流程图之二,如图2所示,该方法可以包括如下步骤201至步骤210。FIG. 2 is the second step flow chart of a projection verification method provided by an embodiment of the present disclosure. As shown in FIG. 2 , the method may include the following steps 201 to 210 .

步骤201、从三维图形库中获取投影本体三维图形,三维图形库包括一个以上各不相同的三维图形。Step 201: Acquire the three-dimensional graphics of the projection ontology from a three-dimensional graphics library, where the three-dimensional graphics library includes one or more different three-dimensional graphics.

其中,三维图形库可以是预先建立的,存储有一个以上各不相同三维图形的图形库,三维图形库中各三维图形在形状上不同,投影本体三维图形可以是在三维图形库中随机选取的三维图形,也可以是对三维图形库中随机选取的三维图形进行缩放、拉伸、镜像等转换操作后得到,投影本体三维图形可以包括三维图形库中随机选取的一个三维图形,也可以是对三维图形中随机选取的两个以上三维图形进行拼接或重叠后得到。在三维图形难以识别、操作变换的基础上,可以通过随机选取、随机组合等方式进一提高每次投影验证的随机性,以提高破解难度,保证验证有效性。本公开实施例中,三维图形可对应参照前述步骤101的相关描述,为避免重复,在此不再赘述。Among them, the three-dimensional graphics library may be pre-established, and store more than one graphics library of different three-dimensional graphics. The three-dimensional graphics in the three-dimensional graphics library are different in shape, and the three-dimensional graphics of the projection body may be randomly selected from the three-dimensional graphics library. The 3D graphics can also be obtained by scaling, stretching, mirroring and other conversion operations on the randomly selected 3D graphics in the 3D graphics library. The 3D graphics of the projected ontology can include a randomly selected 3D graphics in the 3D graphics library, or can It is obtained by splicing or overlapping two or more randomly selected three-dimensional graphics from the three-dimensional graphics. On the basis that the three-dimensional graphics are difficult to identify and operate, the randomness of each projection verification can be further improved by random selection, random combination, etc., so as to improve the difficulty of cracking and ensure the validity of the verification. In the embodiment of the present disclosure, for the three-dimensional graphics, reference may be made to the relevant description of the foregoing step 101 , which is not repeated here to avoid repetition.

图3是本公开实施例提供的一种投影验证码的生成示意图,以提供存储有多个三维图形的三维图形库S为例,如图3所示,在三维图形库S中随机抽取投影本体三维图形P。FIG. 3 is a schematic diagram of generating a projection verification code provided by an embodiment of the present disclosure. Taking a three-dimensional graphics library S storing a plurality of three-dimensional graphics as an example, as shown in FIG. 3 , a projection ontology is randomly selected from the three-dimensional graphics library S 3D graphics P.

步骤202、生成虚拟光照点,并获取在虚拟光照点下投影本体三维图形对应的投影参考二维图形。Step 202: Generate a virtual light point, and obtain a projected reference two-dimensional figure corresponding to the projected three-dimensional figure of the body under the virtual light point.

本公开实施例中,虚拟光照点可对应参照前述步骤101的相关描述,为避免重复,在此不再赘述。其中,虚拟光照点的空间位置可以随机设置,通过控制虚拟光照点相对投影本体三维图的距离、方向等,可以生成不同虚拟光照点,从而获取投影本体三维图形对应的不同投影参考二维图形。其中,虚拟光照点的数量可以是一个,也可以是两个以上,以获得投影本体三维图形对应的一个或两个以上投影参考二维图形,本公开实施例对虚拟光照点的数量和空间位置不作具体限制。In this embodiment of the present disclosure, for the virtual light point, reference may be made to the relevant description of the foregoing step 101 , which is not repeated here in order to avoid repetition. The spatial position of the virtual illumination point can be randomly set, and different virtual illumination points can be generated by controlling the distance and direction of the virtual illumination point relative to the 3D image of the projection body, thereby obtaining different projection reference 2D graphics corresponding to the 3D graphics of the projection body. The number of virtual lighting points may be one or more than two, so as to obtain one or more than two projected reference two-dimensional graphics corresponding to the three-dimensional graphics of the projected body. No specific restrictions are imposed.

如图3所示,随机设置虚拟光照点L,其空间坐标为(XL、YL、ZL);进一步的,在虚拟光照点L下,获得投影参考二维图形K。As shown in FIG. 3 , a virtual illumination point L is randomly set, and its spatial coordinates are (X L , Y L , Z L ); further, under the virtual illumination point L, a projection reference two-dimensional figure K is obtained.

步骤203、构建投影本体三维图形与投影参考二维图形的参考映射序列。Step 203 , constructing a reference mapping sequence of the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics.

其中,参考映射序列可以用于表征投影本体三维图形以及投影参考二维图形的空间位置关系,其中投影本体三维图形可以通过顶点坐标、中心轴偏转方向、顶点与底面位置关系等方式表示,投影参考二维图形可以通过顶点坐标、形状大小等方式表示。本公开实施例中,可以对当前空间位置的投影本体三维图形与投影参考二维图形构建参考映射序列,以确定投影本体三维图形与投影参考二维图形之间的参考投影关系。通过参考映射序列可以区分投影本体三维图形与其不同投影参考二维图形的不同参考投影关系,也可以区分投影本体三维图形在不同空间位置与同一投影参考二维图形的不同参考投影关系,如当投影本体三维图形为圆锥体,且虚拟光照点处于圆锥体顶点所在轴上时,其投影形成的投影参考二维图形均为圆形,此时,可以通过构建圆锥体与投影参考二维图形的参考映射序列区分不同参考投影关系。Among them, the reference mapping sequence can be used to represent the spatial positional relationship between the projected ontology 3D graphics and the projected reference 2D graphics, wherein the projected ontology 3D graphics can be represented by vertex coordinates, the deflection direction of the central axis, and the positional relationship between the vertex and the bottom surface. Two-dimensional graphics can be represented by vertex coordinates, shape size, etc. In this embodiment of the present disclosure, a reference mapping sequence may be constructed for the projected ontology 3D graphics and the projected reference 2D graphics at the current spatial position to determine the reference projection relationship between the projected ontology 3D graphics and the projected reference 2D graphics. Through the reference mapping sequence, the different reference projection relationships between the projected ontology 3D graphics and its different projected reference 2D graphics can be distinguished, and the different reference projection relationships between the projected ontology 3D graphics and the same projected reference 2D graphics at different spatial positions can also be distinguished. When the 3D graphics of the ontology is a cone, and the virtual light point is on the axis where the vertices of the cone are located, the projected reference 2D graphics formed by its projection are all circles. The mapping sequence distinguishes between different reference projection relationships.

在本公开的一方法实施例中,步骤203可以包括如下步骤S11至S12。In a method embodiment of the present disclosure, step 203 may include the following steps S11 to S12.

步骤S11、获取投影本体三维图形的参考三维坐标,以及投影参考二维图形的参考二维坐标。Step S11 , acquiring the reference three-dimensional coordinates of the projected three-dimensional graphics of the body, and the reference two-dimensional coordinates of the projected reference two-dimensional graphics.

其中,对投影本体三维图形可以获取其参考三维坐标,对投影参考二维图形可以获取其参考二维坐标。参考三维坐标可以在从三维图形库中随机选取三维图形以获得投影本体三维图形时获取,参考二维坐标可以在获得投影本体三维图形在虚拟光照点下的投影参考二维图形时获取。The reference 3D coordinates of the projected ontology 3D graphics can be obtained, and the reference 2D coordinates of the projected reference 2D graphics can be obtained. The reference 3D coordinates can be obtained when randomly selecting 3D graphics from the 3D graphics library to obtain the projected ontology 3D graphics, and the reference 2D coordinates can be obtained when obtaining the projected reference 2D graphics of the projected ontology 3D graphics under the virtual light point.

如图3所示,在三维图形库S中随机抽取投影本体三维图形P,获取投影本体三维图形P的参考三维坐标为

Figure BDA0003768705830000101
在虚拟关照点L下获得投影本体三维图形P的投影二维图形K,投影二维图形K的参考二维坐标为
Figure BDA0003768705830000102
As shown in Figure 3, the projection body 3D figure P is randomly selected from the 3D figure library S, and the reference 3D coordinates for obtaining the projection body 3D figure P are:
Figure BDA0003768705830000101
The projected two-dimensional figure K of the projected three-dimensional figure P is obtained under the virtual care point L, and the reference two-dimensional coordinates of the projected two-dimensional figure K are:
Figure BDA0003768705830000102

步骤S12、对参考三维坐标与参考二维坐标进行映射,获得投影本体三维图形与投影参考二维图形的参考映射序列。Step S12 , mapping the reference three-dimensional coordinates and the reference two-dimensional coordinates to obtain a reference mapping sequence of the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics.

其中,可以基于虚拟光照点下投影本体三维图形与投影参考二维图形的参考投影关系,构建参考三维坐标与参考二维左边间的映射,以获得参考映射序列,即将投影本体三维图形中的坐标点,映射到其在投影参考二维图形上对应的坐标点。本公开实施例中,通过虚拟光照点建立三维与二维的映射关系,能够有效结合三维空间体系与二维平面提醒,形成(X,Y,Z)三维到二维(X,Y)的参考映射序列,提升了验证码破解的难度。The mapping between the reference 3D coordinates and the left side of the reference 2D can be constructed based on the reference projection relationship between the projected ontology 3D graphics and the projected reference 2D graphics under the virtual light point, so as to obtain a reference mapping sequence, that is, the coordinates in the projected ontology 3D graphics. point, which is mapped to its corresponding coordinate point on the projected reference 2D graphics. In the embodiment of the present disclosure, a three-dimensional and two-dimensional mapping relationship is established through virtual light points, which can effectively combine the three-dimensional space system and the two-dimensional plane reminder to form a reference from (X, Y, Z) three-dimensional to two-dimensional (X, Y) The mapping sequence increases the difficulty of cracking the verification code.

如图3所示,对参考三维坐标与参考二维坐标进行映射,获得参考映射序列

Figure BDA0003768705830000103
As shown in Figure 3, the reference three-dimensional coordinates and the reference two-dimensional coordinates are mapped to obtain the reference mapping sequence
Figure BDA0003768705830000103

步骤204、对投影本体三维图形进行第二空间变换操作。Step 204 , performing a second space transformation operation on the three-dimensional figure of the projected ontology.

其中,第二空间变换操作是对投影本体三维图形随机的空间位置变换,以使其脱离在虚拟光照点下获得投影参考二维图形的位置状态,第二空间变换操作可以对应参照前述步骤102中对第一空间变换操作的描述,为避免重复,在此不再赘述。Wherein, the second space transformation operation is to randomly transform the spatial position of the projected ontology 3D graphics, so that it is separated from the position state of obtaining the projected reference two-dimensional graphics under the virtual light point. The second spatial transformation operation can refer to the aforementioned step 102. The description of the first space transformation operation is not repeated here in order to avoid repetition.

步骤205、将虚拟光照点、投影参考二维图形以及第二空间变换操作后的投影本体三维图形渲染到用户界面,提供投影验证码。Step 205: Render the virtual light point, the projected reference two-dimensional graphic, and the projected ontology three-dimensional graphic after the second space transformation operation to the user interface, and provide the projection verification code.

其中,可以将虚拟光照点、投影参考二维图形以及第二空间变换操作后的投影本体三维图形渲染到用户界面,以使用户可以对第二空间变换操作后的投影本体三维图形进行第一空间变换操作,改变投影本体三维图形的空间位置,实现投影验证。The virtual light point, the projected reference two-dimensional graphics, and the projected ontology three-dimensional graphics after the second space transformation operation can be rendered to the user interface, so that the user can perform the first spatial transformation on the projected ontology three-dimensional graphics after the second spatial transformation operation. The transformation operation changes the spatial position of the 3D graphics of the projection ontology, and realizes the projection verification.

图4是本公开实施例提供的一种投影验证码的渲染示意图,如图4所示,对投影本体三维图形P进行第二空间变换操作后,其空间位置发生改变,在此基础上,将虚拟光照点L、投影参考二维图形K以及第二空间变换操作后的投影本体三维图形P渲染到用户界面。FIG. 4 is a schematic rendering of a projection verification code provided by an embodiment of the present disclosure. As shown in FIG. 4 , after the second spatial transformation operation is performed on the projection body three-dimensional graphic P, its spatial position changes. The virtual light point L, the projected reference two-dimensional graphic K, and the projected ontology three-dimensional graphic P after the second space transformation operation are rendered to the user interface.

步骤206、接收对投影本体三维图形的第一空间变换操作,获取在虚拟光照点下投影本体三维图形对应的投影目标二维图形。Step 206 : Receive a first spatial transformation operation on the projection body's 3D graphics, and acquire a projection target 2D graphics corresponding to the projection body's 3D graphics under the virtual illumination point.

本公开实施例中,步骤206可对应参照前述步骤102的相关描述,为避免重复,在此不再赘述。In this embodiment of the present disclosure, step 206 can be referred to the relevant description of the foregoing step 102, which is not repeated here in order to avoid repetition.

在本公开的一方法实施例中,投影本体三维图形与投影参考二维图形间存在参考映射序列,则步骤206之后,包括:In a method embodiment of the present disclosure, there is a reference mapping sequence between the projected ontology 3D graphics and the projected reference 2D graphics, then after step 206, including:

步骤207、构建第一空间变换操作后投影本体三维图形与投影目标二维图形对应的目标映射序列。Step 207 , constructing a target mapping sequence corresponding to the projected ontology three-dimensional graphic and the projected target two-dimensional graphic after the first spatial transformation operation.

本公开实施例中,目标映射序列可对应参照前述步骤203中参考映射序列的相关描述,为避免重复,在此不再赘述。In this embodiment of the present disclosure, for the target mapping sequence, reference may be made to the relevant description of the reference mapping sequence in the foregoing step 203 , which is not repeated here to avoid repetition.

在本公开的一方法实施例中,步骤207可以包括如下步骤S21至S22。In a method embodiment of the present disclosure, step 207 may include the following steps S21 to S22.

步骤S21、获取第一空间变换操作后投影本体三维图形的目标三维坐标,以及投影目标二维图形的目标二维坐标。Step S21 , acquiring the target 3D coordinates of the projected body 3D graphics after the first space transformation operation, and the target 2D coordinates of the projected target 2D graphics.

步骤S22、对目标三维坐标与目标二维坐标进行映射,获得空间操作后投影本体三维图形与投影目标二维图形的目标映射序列。Step S22 , mapping the three-dimensional coordinates of the target and the two-dimensional coordinates of the target to obtain a target mapping sequence of the projected three-dimensional graphics of the body and the projected two-dimensional graphics of the target after the space operation.

本公开实施例中,目标三维坐标、目标二维坐标的获取,以及目标映射序列的映射,可以对应参照前述步骤S11至S12中参考三维坐标、参考二维坐标的获取,以及参考映射序列的映射,为避免重复,在此不再赘述。In the embodiment of the present disclosure, the acquisition of the three-dimensional coordinates of the target, the two-dimensional coordinates of the target, and the mapping of the target mapping sequence may correspond to the acquisition of the reference three-dimensional coordinates and the reference two-dimensional coordinates in the foregoing steps S11 to S12, and the mapping of the reference mapping sequence. , in order to avoid repetition, it is not repeated here.

如,根据采集到的目标三维坐标、目标二维坐标XP...、Y′P...、Z′P...、X′K...、Y′K...建立目标映射序列

Figure BDA0003768705830000121
For example, the target is established according to the collected three-dimensional coordinates of the target, the two-dimensional coordinates of the target X P ' ... , Y' P... , Z' P... , X' K... , Y' K... map sequence
Figure BDA0003768705830000121

步骤208、对目标映射序列、参考映射序列进行误差校验,并根据校验结果进行投影验证。Step 208: Perform error checking on the target mapping sequence and the reference mapping sequence, and perform projection verification according to the verification result.

其中,对目标映射序列、参考映射序列进行误差校验,确定不同坐标点间映射关系的误差数值,并根据误差数值以及预置的误差范围确定校验结果,可以是误差数值在误差范围内为校验成功,误差数值在误差范围外为校验失败。在此基础上,可以根据校验结果进行投影验证,校验成功则目标映射序列的投影验证通过,校验失败则目标映射序列的投影验证失败。Among them, error checking is performed on the target mapping sequence and the reference mapping sequence, the error value of the mapping relationship between different coordinate points is determined, and the check result is determined according to the error value and the preset error range. The error value within the error range can be If the verification is successful, if the error value is outside the error range, the verification fails. On this basis, projection verification can be performed according to the verification result. If the verification succeeds, the projection verification of the target mapping sequence passes, and if the verification fails, the projection verification of the target mapping sequence fails.

如,对参考映射序列

Figure BDA0003768705830000122
和目标映射序列
Figure BDA0003768705830000123
进行误差分析,在误差范围内获得校验结果R1,根据R1进行投影验证。For example, for reference mapping sequences
Figure BDA0003768705830000122
and target mapping sequence
Figure BDA0003768705830000123
Carry out error analysis, obtain the verification result R 1 within the error range, and perform projection verification according to R 1 .

在本公开的一方法实施例中,步骤206之后还包括:In a method embodiment of the present disclosure, after step 206, the method further includes:

步骤209、采集第一空间变换操作的过程中投影本体三维图形的变换轨迹。Step 209: Collect the transformation trajectory of the three-dimensional graphics of the projection body during the first space transformation operation.

其中,变换轨迹可以通过获取投影本体三维图形在第一空间变换操作的过程中,按时序排列的坐标点变化序列,坐标点可以是顶点、中心点等,通过变换轨迹可以表征第一空间变换操作中投影本体三维图形整体在空间中位置、方向等的变化,也可以表征操作者的操作意图、操作习惯等。The transformation trajectory can be obtained by obtaining the coordinate point change sequence arranged in time sequence in the process of the first spatial transformation operation of the projected ontology 3D graphics, and the coordinate points can be vertices, center points, etc., and the first spatial transformation operation can be represented by the transformation trajectory. The changes in the position, direction, etc. of the overall three-dimensional figure of the mid-projection ontology in space can also represent the operator's operation intention and operation habits.

在本公开的一方法实施例中,步骤209具体包括在第一空间变换操作的过程中,通过传感器采集投影本体三维图形的变换轨迹。In a method embodiment of the present disclosure, step 209 specifically includes, in the process of the first space transformation operation, collecting the transformation trajectory of the three-dimensional figure of the projected body through a sensor.

其中,可以通过外置或设备内置的传感器采集投影本体三维图形的变换轨迹,如在操作者通过屏幕点选投影本体三维图形拖动进行第一空间变换操作时,可以通过压力传感器获取操作者在设备屏幕上的滑动轨迹获取变换轨迹;在操作者通过移动设备的空间位置,以对设备屏幕上展示的投影本体三维图形进行第一空间变换操作时,可以通过位移传感器获取操作者对设备在空间中的移动轨迹获取变换轨迹,本公开实施例对获取变换轨迹的方式不作具体限制。Among them, the transformation trajectory of the three-dimensional graphics of the projection body can be collected by an external or built-in sensor. For example, when the operator clicks and drags the three-dimensional graphics of the projection body on the screen to perform the first space transformation operation, the pressure sensor can be used to obtain the operator's The sliding track on the device screen obtains the transformation track; when the operator moves the spatial position of the device to perform the first spatial transformation operation on the three-dimensional figure of the projection body displayed on the device screen, the operator's position on the device in space can be obtained through the displacement sensor. The movement trajectory in the trajectories obtains the transformation trajectory, and the embodiment of the present disclosure does not specifically limit the manner of obtaining the transformation trajectory.

图5是本公开实施例提供的第一空间变换操作的示意图之一,如图5所示,在图4的基础上,通过用户界面接收操作者对投影本体三维图形P的第一空间操作,包括变换轨迹M以及角度变换N。FIG. 5 is one of the schematic diagrams of the first space transformation operation provided by the embodiment of the present disclosure. As shown in FIG. 5 , on the basis of FIG. It includes transformation trajectory M and angle transformation N.

图6是本公开实施例提供的第一空间变换操作的示意图之二,如图6所示,在图5的基础上,响应于第一空间变换操作,投影本体三维图形P的偏转角度从81°变换为61°,且空间位置沿变换轨迹M移动,此时,在虚拟光照点L下,投影本体三维图形P的投影目标二维图形为K’,与投影参考二维图形K重合。FIG. 6 is the second schematic diagram of the first space transformation operation provided by the embodiment of the present disclosure. As shown in FIG. 6 , on the basis of FIG. ° is transformed to 61°, and the spatial position moves along the transformation trajectory M. At this time, under the virtual illumination point L, the projection target two-dimensional graphic of the projection body three-dimensional graphic P is K', which coincides with the projection reference two-dimensional graphic K.

如,通过传感器采集投影本体三维图形P的变换轨迹M。For example, the transformation track M of the three-dimensional figure P of the projection body is collected by the sensor.

步骤210、对变换轨迹进行行为分析,并根据分析结果进行投影验证。Step 210: Perform behavior analysis on the transformation trajectory, and perform projection verification according to the analysis result.

其中,行为分析可以通过比较变换轨迹以及第二空间变换操作前后投影本体三维图形的空间位置变换轨迹实现;也可以对变换轨迹进行建模分析,通过预先采集历史空间变换操作中投影验证通过与投影验证失败的轨迹样本,或预先采集期望对象操作的变换轨迹与其他对象操作的变换轨迹的轨迹样本,构建变换轨迹分析模型,进而根据构建的变换轨迹分析模型提取本次投影验证中变换轨迹中的坐标特征、时序特征等,以实现对变换轨迹的行为分析,获得分析结果。Among them, the behavior analysis can be realized by comparing the transformation trajectory and the spatial position transformation trajectory of the projected ontology 3D graphics before and after the second space transformation operation; the transformation trajectory can also be modeled and analyzed, by pre-collecting the historical space transformation operation in the projection verification pass and projection The trajectory samples that failed to be verified, or the trajectory samples of the transformation trajectory of the desired object operation and the transformation trajectory of other object operations are collected in advance, and the transformation trajectory analysis model is constructed, and then the transformation trajectory in this projection verification is extracted according to the constructed transformation trajectory analysis model. Coordinate features, time series features, etc., to realize the behavior analysis of the transformation trajectory and obtain the analysis results.

在本公开实施例中,分析结果可以是变换轨迹的归类,如可以在变换轨迹的分析结果为期望对象操作、投影验证通过时,确定变换轨迹的投影验证通过,在变换轨迹的分析结果为其他对象操作、投影验证失败时,确定变换轨迹的投影验证失败。In the embodiment of the present disclosure, the analysis result may be the classification of the transformation trajectory. For example, when the analysis result of the transformation trajectory is the desired object operation and the projection verification passes, it may be determined that the projection verification of the transformation trajectory has passed, and the analysis result of the transformation trajectory is: When other object operations and projection validation fail, the projection validation to determine the transformation trajectory fails.

如,对变形轨迹M进行行为分析,获得分析结果R2,并根据R2进行投影验证。For example, the behavior analysis is performed on the deformation trajectory M, the analysis result R 2 is obtained, and the projection verification is performed according to R 2 .

本公开实施例中,在投影验证失败的情况下,可以进一步在用户界面提示本次投影验证失败,并重新等待接收第一空间变换操作或重新生成投影验证码。In the embodiment of the present disclosure, when the projection verification fails, the user interface may further prompt that the projection verification fails this time, and wait for the first space transformation operation to be received or the projection verification code to be regenerated.

本公开实施例中,也可以结合目标映射序列与变换轨迹,在目标映射序列与参考映射序列的误差校验的校验结果,以及变换轨迹的分析结果均通过验证时,确定本次验证中操作者为期望的操作对象。In the embodiment of the present disclosure, the target mapping sequence and the transformation trajectory can also be combined, and when the verification result of the error check between the target mapping sequence and the reference mapping sequence and the analysis result of the transformation trajectory pass the verification, it is determined that the operation in this verification is performed. is the desired operation object.

如,根据校验结果R1和分析结果R2进行投影验证,并将投影验证的结果输出至用户界面。For example, projection verification is performed according to the verification result R1 and the analysis result R2 , and the projection verification result is output to the user interface.

在本公开提供的投影验证方法中,提供了包括虚拟光照点、投影本体三维图形与投影参考二维图形的投影验证码,并通过对投影本体三维图形的第一空间操作获取在该虚拟光照点下的投影目标二维图形,在投影目标二维图形与投影参考二维图形符合一致性条件的情况下,可以提取第一空间变换操作的投影操作特征,进而根据投影操作特征对操作方是否为期望对象进行验证;上述方案中,基于虚拟光照点构建了三维图形与二维图形的投影关系,并基于该投影关系对操作者的空间变换操作进行特征提取、验证,由于三维图形、虚拟光照点等形状、位置等不受约束,且三维图形识别难度显著高于平面图形,因此有效提升了验证码识别难度,增加了攻击成本,避免了文本识别、物体归类、数学计算等验证码易被识别破解的问题,更进一步充分保证了网络环境安全。In the projection verification method provided by the present disclosure, a projection verification code including a virtual illumination point, a projected ontology three-dimensional graphic and a projected reference two-dimensional graphic is provided, and the virtual illumination spot is obtained by performing a first spatial operation on the projected ontology three-dimensional graphic. The projection target two-dimensional figure below, in the case that the projection target two-dimensional figure and the projection reference two-dimensional figure meet the consistency condition, the projection operation feature of the first space transformation operation can be extracted, and then according to the projection operation feature, whether the operator is The desired object is verified; in the above scheme, the projection relationship between the three-dimensional graphics and the two-dimensional graphics is constructed based on the virtual light point, and the operator's spatial transformation operation is extracted and verified based on the projection relationship. There are no restrictions on the shape and position of the 3D graphics, and the recognition difficulty of three-dimensional graphics is significantly higher than that of flat graphics, which effectively improves the verification code recognition difficulty, increases the attack cost, and avoids text recognition, object classification, mathematical calculation and other verification codes that are easily detected. Identifying the problem of cracking further fully guarantees the security of the network environment.

本公开实施例提供的投影验证,执行主体还可以为投影验证装置,或者该投影验证装置中的用于执行投影验证的控制模块。本公开实施例中以投影验证装置执行投影验证的方法为例,说明本公开实施例提供的投影验证的装置。In the projection verification provided by the embodiments of the present disclosure, the execution body may also be a projection verification apparatus, or a control module in the projection verification apparatus for performing projection verification. In the embodiments of the present disclosure, a method for performing projection verification by a projection verification apparatus is taken as an example to describe the apparatus for projection verification provided by the embodiments of the present disclosure.

图7为本公开实施例提供的投影验证装置700的结构示意图,如图7中所示,投影验证装置700可以包括:验证码提供模块701,用于提供投影验证码,投影验证码包括虚拟光照点、投影本体三维图形与投影参考二维图形;操作接收模块702,用于接收对投影本体三维图形的第一空间变换操作,获取在虚拟光照点下投影本体三维图形对应的投影目标二维图形;特征提取模块703,用于在投影目标二维图形与投影参考二维图形符合一致性条件的情况下,基于第一空间变换操作提取投影操作特征;特征验证模块704,用于根据投影操作特征进行投影验证。FIG. 7 is a schematic structural diagram of a projection verification apparatus 700 provided by an embodiment of the present disclosure. As shown in FIG. 7 , the projection verification apparatus 700 may include: a verification code providing module 701 for providing a projection verification code, and the projection verification code includes virtual lighting point, the projection ontology 3D graphics and the projection reference 2D graphics; the operation receiving module 702 is configured to receive the first spatial transformation operation on the projection ontology 3D graphics, and obtain the projection target 2D graphics corresponding to the projection ontology 3D graphics under the virtual illumination point The feature extraction module 703 is used to extract the projection operation feature based on the first spatial transformation operation under the condition that the projection target two-dimensional graphics and the projection reference two-dimensional graphics meet the consistency conditions; the feature verification module 704 is used to extract the projection operation feature according to the projection operation feature Perform projection verification.

可选地,验证码提供模块701,包括:三维图形获取子模块,用于从三维图形库中获取投影本体三维图形,三维图形库包括一个以上各不相同的三维图形;光照点生成子模块,用于生成虚拟光照点,并获取在虚拟光照点下投影本体三维图形对应的投影参考二维图形;图形映射子模块,用于构建投影本体三维图形与投影参考二维图形的参考映射序列;空间变换子模块,用于对投影本体三维图形进行第二空间变换操作;验证码渲染子模块,用于将虚拟光照点、投影参考二维图形以及第二空间变换操作后的投影本体三维图形渲染到用户界面,提供投影验证码。Optionally, the verification code providing module 701 includes: a three-dimensional graphics acquisition sub-module, used for acquiring the three-dimensional graphics of the projection ontology from a three-dimensional graphics library, and the three-dimensional graphics library includes one or more different three-dimensional graphics; an illumination point generation sub-module, It is used to generate virtual lighting points, and obtain the projected reference two-dimensional graphics corresponding to the projected ontology three-dimensional graphics under the virtual lighting points; the graphics mapping sub-module is used to construct the reference mapping sequence of the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics; space The transformation submodule is used to perform the second space transformation operation on the projection ontology 3D graphics; the verification code rendering submodule is used to render the virtual illumination point, the projection reference 2D graphics and the projection ontology 3D graphics after the second spatial transformation operation to User interface that provides projection verification codes.

可选地,图形映射子模块,包括:坐标获取单元,用于获取投影本体三维图形的参考三维坐标,以及投影参考二维图形的参考二维坐标;坐标映射单元,用于对参考三维坐标与参考二维坐标进行映射,获得投影本体三维图形与投影参考二维图形的参考映射序列。Optionally, the graphics mapping sub-module includes: a coordinate acquisition unit for acquiring the reference three-dimensional coordinates of the projected ontology three-dimensional graphics, and the reference two-dimensional coordinates of the projected reference two-dimensional graphics; a coordinate mapping unit for comparing the reference three-dimensional coordinates with the reference three-dimensional coordinates. Mapping is performed with reference to the two-dimensional coordinates to obtain a reference mapping sequence of the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics.

可选地,投影本体三维图形与投影参考二维图形间存在参考映射序列,投影操作特征包括目标映射序列,特征提取模块703,具体用于获取第一空间变换操作后投影本体三维图形与投影目标二维图形对应的目标映射序列;特征验证模块704,具体用于对目标映射序列、参考映射序列进行误差校验,并根据校验结果进行投影验证。Optionally, a reference mapping sequence exists between the projected ontology 3D graphics and the projected reference 2D graphics, the projection operation feature includes a target mapping sequence, and the feature extraction module 703 is specifically configured to obtain the projected ontology 3D graphics and the projection target after the first spatial transformation operation. The target mapping sequence corresponding to the two-dimensional graphics; the feature verification module 704 is specifically configured to perform error checking on the target mapping sequence and the reference mapping sequence, and perform projection verification according to the verification result.

可选地,特征提取模块703,具体用于获取第一空间变换操作后投影本体三维图形的目标三维坐标,以及投影目标二维图形的目标二维坐标;对目标三维坐标与目标二维坐标进行映射,获得空间操作后投影本体三维图形与投影目标二维图形的目标映射序列。Optionally, the feature extraction module 703 is specifically used to obtain the target three-dimensional coordinates of the projected body three-dimensional graphics after the first space transformation operation, and the target two-dimensional coordinates of the projected target two-dimensional graphics; Mapping, to obtain the target mapping sequence of the projected ontology 3D graphics and the projected target 2D graphics after the spatial operation.

可选地,特征提取模块703,具体用于采集第一空间变换操作的过程中投影本体三维图形的变换轨迹;特征验证模块704,具体用于对变换轨迹进行行为分析,并根据分析结果进行投影验证。Optionally, the feature extraction module 703 is specifically used to collect the transformation trajectory of the projected ontology 3D graphics in the process of the first space transformation operation; the feature verification module 704 is specifically used to analyze the behavior of the transformation trajectory, and perform projection according to the analysis result. verify.

可选地,特征提取模块703,具体用于在第一空间变换操作的过程中,通过传感器采集投影本体三维图形的变换轨迹。Optionally, the feature extraction module 703 is specifically configured to collect the transformation trajectory of the three-dimensional figure of the projected ontology through the sensor during the process of the first space transformation operation.

在本公开提供的投影验证装置中,验证码提供模块提供了包括虚拟光照点、投影本体三维图形与投影参考二维图形的投影验证码,操作接收模块通过对投影本体三维图形的第一空间操作获取在该虚拟光照点下的投影目标二维图形,特征提取模块在投影目标二维图形与投影参考二维图形符合一致性条件的情况下,可以提取第一空间变换操作的投影操作特征,进而特征验证模块根据投影操作特征对操作方是否为期望对象进行验证;上述方案中,基于虚拟光照点构建了三维图形与二维图形的投影关系,并基于该投影关系对操作者的空间变换操作进行特征提取、验证,由于三维图形、虚拟光照点等形状、位置等不受约束,且三维图形识别难度显著高于平面图形,因此有效提升了验证码识别难度,增加了攻击成本,避免了文本识别、物体归类、数学计算等验证码易被识别破解的问题,更进一步充分保证了网络环境安全。In the projection verification device provided by the present disclosure, the verification code providing module provides the projection verification code including the virtual illumination point, the projected ontology three-dimensional graphics and the projected reference two-dimensional graphics, and the operation receiving module operates the first spatial operation on the projected ontology three-dimensional graphics. Obtain the projection target two-dimensional figure under the virtual light point, and the feature extraction module can extract the projection operation feature of the first spatial transformation operation under the condition that the projection target two-dimensional figure and the projection reference two-dimensional figure meet the consistency condition, and then The feature verification module verifies whether the operator is the desired object according to the characteristics of the projection operation; in the above scheme, the projection relationship between the three-dimensional graphics and the two-dimensional graphics is constructed based on the virtual light point, and the operator's spatial transformation operation is performed based on the projection relationship. Feature extraction and verification, because the shape and position of 3D graphics and virtual light points are not constrained, and the difficulty of 3D graphics recognition is significantly higher than that of flat graphics, which effectively improves the difficulty of verification code recognition, increases attack costs, and avoids text recognition. , object classification, mathematical calculation and other verification codes are easy to be identified and cracked, which further fully guarantees the security of the network environment.

本公开实施例提供的投影验证装置能够实现图1至图6方法实施例实现的各个过程,为避免重复,这里不再赘述。The projection verification apparatus provided by the embodiments of the present disclosure can implement the various processes implemented by the method embodiments of FIGS. 1 to 6 , which are not repeated here to avoid repetition.

图8为本公开实施例提供的一种电子设备800的结构示意图,如图8所示,该电子设备800可以包括处理器801,存储器802,存储在存储器802上并可在处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述投影验证实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。FIG. 8 is a schematic structural diagram of an electronic device 800 according to an embodiment of the present disclosure. As shown in FIG. 8 , the electronic device 800 may include a processor 801 and a memory 802 , which are stored in the memory 802 and run on the processor 801 When the program or instruction is executed by the processor 801, each process of the above-mentioned projection verification embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

需要说明的是,图8示出的电子设备800仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。It should be noted that the electronic device 800 shown in FIG. 8 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

图9为本公开实施例提供的一种电子设备900的硬件示意图,如图9所示,电子设备900包括中央处理单元(Central Processing Unit,CPU)901,其可以根据存储在ROM(ReadOnly Memory,只读存储器,)902中的程序或者从存储部分908加载到RAM(Random AccessMemory,随机访问存储器)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有系统操作所需的各种程序和数据。CPU 901、ROM 902以及RAM 903通过总线904彼此相连。I/O(Input/Output,输入/输出)接口905也连接至总线904。FIG. 9 is a schematic hardware diagram of an electronic device 900 provided by an embodiment of the present disclosure. As shown in FIG. 9 , the electronic device 900 includes a central processing unit (Central Processing Unit, CPU) 901, which can be stored in a ROM (ReadOnly Memory, A program in a read-only memory ) 902 or a program loaded from a storage section 908 into a RAM (Random Access Memory) 903 executes various appropriate actions and processes. In the RAM 903, various programs and data necessary for system operation are also stored. The CPU 901 , the ROM 902 , and the RAM 903 are connected to each other through a bus 904 . An I/O (Input/Output) interface 905 is also connected to the bus 904 .

以下部件连接至I/O接口905:包括键盘、鼠标等的输入部分906;包括诸如CRT(Cathode Ray Tube,阴极射线管)、LCD(Liquid Crystal Display,液晶显示器)等以及扬声器等的输出部分907;包括硬盘等的存储部分908;以及包括诸如LAN(Local AreaNetwork,无线网络)卡、调制解调器等的网络接口卡的通信部分909。通信部分909经由诸如因特网的网络执行通信处理。驱动器910也根据需要连接至I/O接口905。可拆卸介质911,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器910上,以便于从其上读出的计算机程序根据需要被安装入存储部分908。The following components are connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display), etc., and a speaker, etc. ; a storage section 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN (Local Area Network, wireless network) card, a modem, and the like. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I/O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 910 as needed so that a computer program read therefrom is installed into the storage section 908 as needed.

特别地,根据本公开的实施例,下文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分909从网络上被下载和安装,和/或从可拆卸介质911被安装。在该计算机程序被中央处理单元(CPU901)执行时,执行本申请的系统中限定的各种功能。In particular, according to embodiments of the present disclosure, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 909, and/or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU 901 ), various functions defined in the system of the present application are executed.

本公开实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述投影验证实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present disclosure further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above-mentioned projection verification embodiment can be realized, and the same technical effect can be achieved. , in order to avoid repetition, it will not be repeated here.

其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如ROM、RAM、磁碟或者光盘等。The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as ROM, RAM, magnetic disk or optical disk.

本公开实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述投影验证实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present disclosure further provides a chip, the chip includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used for running programs or instructions, implementing the various processes of the above-mentioned projection verification embodiments, and can achieve the same technology The effect, in order to avoid repetition, is not repeated here.

应理解,本公开实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present disclosure may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

本公开实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如上述的投影验证的步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present disclosure provide a computer program product including instructions, which, when running on a computer, enables the computer to perform the above-mentioned projection verification steps, and can achieve the same technical effect. To avoid repetition, details are not repeated here. .

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本公开实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it is noted that the scope of the methods and apparatus in the embodiments of the present disclosure is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order, depending on the functions involved To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,电子设备,空调器,或者网络设备等)执行本公开各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present disclosure essentially or the parts that contribute to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, an electronic device, an air conditioner, or a network device, etc.) execute the methods of the various embodiments of the present disclosure.

上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure have been described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present disclosure, without departing from the scope of the present disclosure and the protection scope of the claims, many forms can be made, which all fall within the protection of the present disclosure.

Claims (10)

1. A projection verification method, the method comprising:
providing a projection verification code, wherein the projection verification code comprises a virtual illumination point, a projection body three-dimensional graph and a projection reference two-dimensional graph;
receiving a first space transformation operation on the three-dimensional graph of the projection body, and acquiring a projection target two-dimensional graph corresponding to the three-dimensional graph of the projection body under the virtual illumination point;
under the condition that the projection target two-dimensional graph and the projection reference two-dimensional graph accord with consistency conditions, extracting projection operation features based on the first spatial transformation operation;
and performing projection verification according to the projection operation characteristics.
2. The method of claim 1, wherein providing the projected validation code comprises:
acquiring the three-dimensional graph of the projection body from a three-dimensional graph library, wherein the three-dimensional graph library comprises more than one different three-dimensional graph;
generating the virtual illumination point, and acquiring the projection reference two-dimensional graph corresponding to the projection body three-dimensional graph under the virtual illumination point;
constructing a reference mapping sequence of the projection body three-dimensional graph and the projection reference two-dimensional graph;
performing a second spatial transformation operation on the three-dimensional graph of the projection body;
rendering the virtual illumination point, the projection reference two-dimensional graph and the projection body three-dimensional graph after the second space transformation operation to a user interface, and providing a projection verification code.
3. The method of claim 2, wherein the constructing a reference mapping sequence of the projected ontology three-dimensional graph and the projected reference two-dimensional graph comprises:
acquiring a reference three-dimensional coordinate of the projection body three-dimensional graph and a reference two-dimensional coordinate of the projection reference two-dimensional graph;
and mapping the reference three-dimensional coordinate and the reference two-dimensional coordinate to obtain a reference mapping sequence of the projection body three-dimensional graph and the projection reference two-dimensional graph.
4. The method according to claim 1, wherein a reference mapping sequence exists between the projection ontology three-dimensional graph and the projection reference two-dimensional graph, the projection operation features comprise a target mapping sequence, and the extracting the projection operation features based on the first spatial transformation operation comprises:
constructing a target mapping sequence corresponding to the three-dimensional graph of the projection body and the two-dimensional graph of the projection target after the first space transformation operation;
the projection verification according to the projection operation characteristics comprises:
and carrying out error check on the target mapping sequence and the reference mapping sequence, and carrying out projection verification according to a check result.
5. The method according to claim 4, wherein the constructing of the target mapping sequence in which the three-dimensional graph of the projection ontology corresponds to the two-dimensional graph of the projection target after the first spatial transformation operation comprises:
acquiring a target three-dimensional coordinate of the projection body three-dimensional graph and a target two-dimensional coordinate of the projection target two-dimensional graph after the first space transformation operation;
and mapping the target three-dimensional coordinates and the target two-dimensional coordinates to obtain a target mapping sequence of the projection body three-dimensional graph and the projection target two-dimensional graph after the space operation.
6. The method of claim 4, wherein said extracting projection operation features based on said first spatial transformation operation comprises:
acquiring a transformation track of the three-dimensional graph of the projection body in the first space transformation operation process;
the projection verification according to the projection operation characteristics comprises:
and performing behavior analysis on the transformation track, and performing projection verification according to an analysis result.
7. The method of claim 6, wherein said acquiring a transformation trajectory of the three-dimensional graph of the projected ontology during the first spatial transformation operation comprises:
and acquiring a transformation track of the three-dimensional graph of the projection body through a sensor in the process of the first space transformation operation.
8. A projection verification apparatus, the apparatus comprising:
the verification code providing module is used for providing a projection verification code, and the projection verification code comprises a virtual illumination point, a projection body three-dimensional graph and a projection reference two-dimensional graph;
the operation receiving module is used for receiving a first space transformation operation on the three-dimensional graph of the projection body and acquiring a projection target two-dimensional graph corresponding to the three-dimensional graph of the projection body under the virtual illumination point;
the characteristic extraction module is used for extracting projection operation characteristics based on the first space transformation operation under the condition that the projection target two-dimensional graph and the projection reference two-dimensional graph accord with consistency conditions;
and the characteristic verification module is used for performing projection verification according to the projection operation characteristics.
9. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the projection verification method of any of claims 1-7 via execution of the executable instructions.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the projection verification method according to any one of claims 1 to 7.
CN202210894132.8A 2022-07-27 2022-07-27 Projection verification method, device, electronic device and computer-readable storage medium Active CN115168826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210894132.8A CN115168826B (en) 2022-07-27 2022-07-27 Projection verification method, device, electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210894132.8A CN115168826B (en) 2022-07-27 2022-07-27 Projection verification method, device, electronic device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN115168826A true CN115168826A (en) 2022-10-11
CN115168826B CN115168826B (en) 2024-11-12

Family

ID=83496342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210894132.8A Active CN115168826B (en) 2022-07-27 2022-07-27 Projection verification method, device, electronic device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN115168826B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060039600A1 (en) * 2004-08-19 2006-02-23 Solem Jan E 3D object recognition
JP2007101275A (en) * 2005-09-30 2007-04-19 Topcon Corp Projection apparatus and system for three-dimensional measurement
US20090080766A1 (en) * 2007-09-10 2009-03-26 Herbert Daxauer Method and apparatus for the Three-Dimensional Digitization of objects
US20090109404A1 (en) * 2007-10-31 2009-04-30 Provision Interactive Technologies, Inc Projection system for aerial display of three-dimensional video images
CN104252620A (en) * 2014-09-25 2014-12-31 同程网络科技股份有限公司 Character-touching graph verification code recognition method
CN106355072A (en) * 2016-08-19 2017-01-25 沈建国 Implementation method and device for three-dimensional model verification code
CN110111414A (en) * 2019-04-10 2019-08-09 北京建筑大学 A kind of orthography generation method based on three-dimensional laser point cloud
CN110717157A (en) * 2019-09-06 2020-01-21 平安科技(深圳)有限公司 User authentication method, device, computer equipment and storage medium
CN113506376A (en) * 2021-07-27 2021-10-15 刘秀萍 Ground three-dimensional point cloud multi-scale closure error checking and splicing method
CN113822849A (en) * 2021-06-11 2021-12-21 腾讯科技(深圳)有限公司 Identification code detection method and device, electronic device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060039600A1 (en) * 2004-08-19 2006-02-23 Solem Jan E 3D object recognition
JP2007101275A (en) * 2005-09-30 2007-04-19 Topcon Corp Projection apparatus and system for three-dimensional measurement
US20090080766A1 (en) * 2007-09-10 2009-03-26 Herbert Daxauer Method and apparatus for the Three-Dimensional Digitization of objects
US20090109404A1 (en) * 2007-10-31 2009-04-30 Provision Interactive Technologies, Inc Projection system for aerial display of three-dimensional video images
CN104252620A (en) * 2014-09-25 2014-12-31 同程网络科技股份有限公司 Character-touching graph verification code recognition method
CN106355072A (en) * 2016-08-19 2017-01-25 沈建国 Implementation method and device for three-dimensional model verification code
CN110111414A (en) * 2019-04-10 2019-08-09 北京建筑大学 A kind of orthography generation method based on three-dimensional laser point cloud
CN110717157A (en) * 2019-09-06 2020-01-21 平安科技(深圳)有限公司 User authentication method, device, computer equipment and storage medium
CN113822849A (en) * 2021-06-11 2021-12-21 腾讯科技(深圳)有限公司 Identification code detection method and device, electronic device and storage medium
CN113506376A (en) * 2021-07-27 2021-10-15 刘秀萍 Ground three-dimensional point cloud multi-scale closure error checking and splicing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
崔竞松;张五州;彭洋;梁玉;肖邦;梅婧婷;张达;汪霞;: "一种三层动态验证码的构造方法研究", 武汉理工大学学报, no. 11, 15 June 2010 (2010-06-15), pages 122 - 125 *
牛晓霞;王成儒;顾广华;: "基于单张人脸图像三维形状模型重建", 计算机仿真, no. 04, 15 April 2011 (2011-04-15), pages 230 - 233 *

Also Published As

Publication number Publication date
CN115168826B (en) 2024-11-12

Similar Documents

Publication Publication Date Title
US11887388B2 (en) Object pose obtaining method, and electronic device
CN109214980B (en) Three-dimensional attitude estimation method, three-dimensional attitude estimation device, three-dimensional attitude estimation equipment and computer storage medium
US10235764B2 (en) Method, terminal, and storage medium for detecting collision between colliders in real-time virtual scene
JP6069489B2 (en) Object recognition apparatus, object recognition method, and program
CN106484692B (en) A kind of method for searching three-dimension model
US20220375164A1 (en) Method and apparatus for three dimensional reconstruction, electronic device and storage medium
CN104246793A (en) Three-dimensional face recognition for mobile devices
WO2018032947A1 (en) Method for realizing three-dimensional model authentication code and device thereof
KR20220063127A (en) Method, apparatus for face anti-spoofing, electronic device, storage medium, and computer program
CN105718776A (en) Three-dimensional gesture verification method and system
CN112766027A (en) Image processing method, device, equipment and storage medium
Han et al. Line-based initialization method for mobile augmented reality in aircraft assembly
CN107272899B (en) A VR interaction method, device and electronic device based on dynamic gestures
CN111783561A (en) Method for revising drawing review results, electronic equipment and related products
CN110909713A (en) Method, system and medium for extracting point cloud data track
CN102637116B (en) 3D scene exchange method, device and collision checking method, device
CN116295466A (en) Map generation method, device, electronic device, storage medium, and vehicle
CN115168826A (en) Projection verification method, device, electronic device, and computer-readable storage medium
CN108805121B (en) License plate detection and positioning method, device, equipment and computer readable medium
CN112541175B (en) Parameter setting method and device for industrial control terminal, industrial control terminal and storage medium
CN112488284B (en) Model training method, character image completion method, device and electronic equipment
JP2019070898A (en) Estimation program, estimation device and estimation method
CN116959044B (en) Target object detection method, device, computer-readable medium, and electronic device
CN119785342B (en) Data enhancement method and system for monocular 3D target detection
CN120472094B (en) Three-dimensional reconstruction method and system for virus structure

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