Identity information recording method, device, computer equipment and storage medium
By acquiring and identifying the three-dimensional information of handwriting and establishing a correlation with personal information, it solves the problem of low recognition accuracy in traditional methods and achieves more efficient recording and identification of identity information.
Patent Information
- Application Number
- CN202310535938.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-12
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-05-12
AI Technical Summary
The traditional intelligent identity recording method requires users to write a large amount of text on a writing carrier, resulting in low recognition accuracy. It can only recognize flat handwriting and cannot effectively record the user's three-dimensional handwriting characteristics.
By obtaining the three-dimensional information of the user's handwriting, identifying and extracting the three-dimensional feature information of the handwriting, establishing a correlation with personal information, forming identity information, and avoiding relying solely on two-dimensional handwriting features.
It improves the accuracy of user identity information, can more comprehensively record and identify users' handwriting characteristics, and improves the accuracy of identity recognition.
Smart Images

Figure CN116630993B
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to an identity information recording method, apparatus, computer equipment and storage medium. Background Art
[0002] With the development of intelligent handwriting recognition technology, when enterprises need to authenticate handwriting, they often need to identify the writer through eight types of handwriting features, including writing style, layout, writing method, shape, structure, stroke order, pen movement and pen traces. Therefore, how to record the writer's identity based on the writer's handwriting is the current research focus.
[0003] At present, traditional intelligent identity recording requires users to write a large amount of text on a writing medium (such as paper, books, etc.), and extract handwriting features on the plane of the writing medium through extraction strategies, so as to use the handwriting features as the writer's identity information. However, this method requires a writing medium for physical writing, and the extraction program can only recognize the handwriting strokes on the user's plane, resulting in low accuracy of the recorded user identity information. Summary of the invention
[0004] Based on this, it is necessary to provide an identity information recording method, apparatus, computer device, computer readable storage medium and computer program product to address the above technical issues.
[0005] In a first aspect, the present application provides a method for recording identity information. The method comprises:
[0006] Acquire the three-dimensional handwriting information input by the user and the personal information of the user;
[0007] Recognize each piece of text information in the three-dimensional handwriting information, and obtain characteristic strokes in each piece of text information;
[0008] Extracting the three-dimensional feature information of strokes corresponding to the characteristic strokes of each text information in the three-dimensional handwriting information, and determining the three-dimensional feature information of the handwriting of the user based on the three-dimensional feature information of each stroke;
[0009] An association relationship between the handwriting three-dimensional feature information and the user's personal information is established, and the user's personal information, the user's handwriting three-dimensional feature information, and the association relationship between the user's handwriting three-dimensional feature information and the user's personal information are used as the user's identity information.
[0010] Optionally, the step of obtaining the three-dimensional handwriting information input by the user includes:
[0011] In response to a handwriting input operation of a user, detecting three-dimensional hand structure information corresponding to a plurality of time points, and hand position information corresponding to each piece of three-dimensional hand structure information;
[0012] Based on all the three-dimensional structure information of the hand, generate the three-dimensional change information of the handwriting, and obtain the structure change information of the three-dimensional structure information of the hand according to the order of time points;
[0013] The three-dimensional handwriting change information and the structural change information of the three-dimensional hand structural information are used as the three-dimensional handwriting information.
[0014] Optionally, the identifying text information in the three-dimensional handwriting information includes:
[0015] Clustering the three-dimensional handwriting change information according to the hand position information to obtain multiple three-dimensional trajectory areas;
[0016] The text information corresponding to each three-dimensional trajectory area is identified, and the text information corresponding to all three-dimensional trajectory areas is used as each piece of text information in the three-dimensional handwriting information.
[0017] Optionally, the identifying text information corresponding to each three-dimensional trajectory area includes:
[0018] Mapping all hand position information of each three-dimensional trajectory area on a two-dimensional plane to obtain two-dimensional trajectory areas each containing a plurality of two-dimensional hand position information, and identifying text information corresponding to each two-dimensional trajectory area;
[0019] The text information corresponding to each of the two-dimensional trajectory areas is used as the text information corresponding to each of the three-dimensional trajectory areas mapped onto the two-dimensional trajectory area.
[0020] Optionally, the extracting three-dimensional stroke feature information corresponding to the feature strokes of each text information in the three-dimensional handwriting information includes:
[0021] For each piece of text information, in the two-dimensional trajectory area corresponding to the text information, query the stroke area corresponding to each characteristic stroke of the text information;
[0022] For each stroke area, filter target two-dimensional hand position information from the two-dimensional hand position information contained in the stroke area, and use the three-dimensional hand position information corresponding to the target two-dimensional hand position information as the target hand position information;
[0023] All target hand position information corresponding to the stroke area and the three-dimensional hand structure information corresponding to each target hand position information are used as the three-dimensional stroke feature information corresponding to the feature stroke.
[0024] Optionally, determining the three-dimensional feature information of the handwriting of the user based on the three-dimensional feature information of each stroke includes:
[0025] Based on characteristic strokes of different stroke types, three-dimensional stroke feature information corresponding to each characteristic stroke is classified to obtain multiple feature groups;
[0026] For each feature group, the three-dimensional feature information of each stroke in the feature group is subjected to feature fusion processing to obtain the comprehensive three-dimensional feature information of the stroke corresponding to each feature stroke, and the comprehensive three-dimensional feature information of the stroke corresponding to all the feature strokes is used as the three-dimensional feature information of the user's handwriting.
[0027] Optionally, the method further includes:
[0028] Acquire real-time three-dimensional handwriting information input by a user, as well as personal information of the user;
[0029] Identify the real-time three-dimensional handwriting feature information in the real-time three-dimensional handwriting information, and query the database for target identity information corresponding to the real-time three-dimensional handwriting feature information;
[0030] Based on the personal information in the target identity information and the personal information of the user, it is identified whether the user is a target user corresponding to the target identity information.
[0031] In a second aspect, the present application also provides an identity information recording device. The device comprises:
[0032] An acquisition module, used to acquire the three-dimensional handwriting information input by the user and the personal information of the user;
[0033] A recognition module, used for recognizing each piece of text information in the three-dimensional handwriting information, and obtaining characteristic strokes in each piece of text information;
[0034] An extraction module, used for extracting stroke 3D feature information corresponding to characteristic strokes of each text information in the handwriting 3D information, and determining handwriting 3D feature information based on each of the stroke 3D feature information;
[0035] An establishment module is used to establish an association relationship between the handwriting three-dimensional feature information and the user's personal information, and use the user's personal information, the user's handwriting three-dimensional feature information, and the association relationship between the handwriting three-dimensional feature information and the user's personal information as the user's identity information.
[0036] Optionally, the acquisition module is specifically used to:
[0037] In response to a handwriting input operation of a user, detecting three-dimensional hand structure information corresponding to a plurality of time points, and hand position information corresponding to each piece of three-dimensional hand structure information;
[0038] Based on all the three-dimensional structure information of the hand, generate the three-dimensional change information of the handwriting, and obtain the structure change information of the three-dimensional structure information of the hand according to the order of time points;
[0039] The three-dimensional handwriting change information and the structural change information of the three-dimensional hand structural information are used as the three-dimensional handwriting information.
[0040] Optionally, the identification module is specifically used to:
[0041] Clustering the three-dimensional handwriting change information according to the hand position information to obtain multiple three-dimensional trajectory areas;
[0042] The text information corresponding to each three-dimensional trajectory area is identified, and the text information corresponding to all three-dimensional trajectory areas is used as each piece of text information in the three-dimensional handwriting information.
[0043] Optionally, the identification module is specifically used to:
[0044] Mapping all hand position information of each three-dimensional trajectory area on a two-dimensional plane to obtain two-dimensional trajectory areas each containing a plurality of two-dimensional hand position information, and identifying text information corresponding to each two-dimensional trajectory area;
[0045] The text information corresponding to each of the two-dimensional trajectory areas is used as the text information corresponding to each of the three-dimensional trajectory areas mapped onto the two-dimensional trajectory area.
[0046] Optionally, the extraction module is specifically used to:
[0047] For each piece of text information, in the two-dimensional trajectory area corresponding to the text information, query the stroke area corresponding to each characteristic stroke of the text information;
[0048] For each stroke area, filter target two-dimensional hand position information from the two-dimensional hand position information contained in the stroke area, and use the three-dimensional hand position information corresponding to the target two-dimensional hand position information as the target hand position information;
[0049] All target hand position information corresponding to the stroke area and the three-dimensional hand structure information corresponding to each target hand position information are used as the three-dimensional stroke feature information corresponding to the feature stroke.
[0050] Optionally, the extraction module is specifically used to:
[0051] Based on characteristic strokes of different stroke types, three-dimensional stroke feature information corresponding to each characteristic stroke is classified to obtain multiple feature groups;
[0052] For each feature group, the three-dimensional feature information of each stroke in the feature group is subjected to feature fusion processing to obtain the comprehensive three-dimensional feature information of the stroke corresponding to each feature stroke, and the comprehensive three-dimensional feature information of the stroke corresponding to all the feature strokes is used as the three-dimensional feature information of the user's handwriting.
[0053] Optionally, the device further comprises:
[0054] A real-time acquisition module, used to acquire real-time three-dimensional handwriting information input by a user, and personal information of the user;
[0055] An identity recognition module, used for recognizing the real-time three-dimensional handwriting feature information in the real-time three-dimensional handwriting information, and querying the target identity information corresponding to the real-time three-dimensional handwriting feature information in a database;
[0056] The judgment module is used to identify whether the user is a target user corresponding to the target identity information based on the personal information in the target identity information and the personal information of the user.
[0057] In a third aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0058] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0059] In a fifth aspect, the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0060] The above-mentioned identity information recording method, device, computer equipment and storage medium obtain the three-dimensional handwriting information input by the user and the personal information of the user; identify each text information in the three-dimensional handwriting information and obtain the characteristic strokes in each of the text information; extract the three-dimensional stroke feature information corresponding to the characteristic strokes of each text information in the three-dimensional handwriting information, and determine the three-dimensional handwriting feature information based on each of the three-dimensional stroke feature information; establish the association relationship between the three-dimensional handwriting feature information and the personal information of the user, and use the personal information of the user, the three-dimensional handwriting feature information of the user, and the association relationship between the three-dimensional handwriting feature information and the personal information of the user as the identity information of the user. By obtaining the three-dimensional handwriting information input by the user, the three-dimensional stroke feature information corresponding to each characteristic stroke of the user is extracted, and the three-dimensional handwriting feature information is obtained based on all the three-dimensional stroke feature information. Finally, the three-dimensional handwriting feature information containing the personal information of the user is used as the identity information of the user, avoiding the acquisition of only the two-dimensional handwriting features of the user, thereby improving the accuracy of the recorded user identity information. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 is a schematic diagram of a flow chart of a method for recording identity information in one embodiment;
[0062] Figure 2 is a flow chart of a method for recording identity information in another embodiment;
[0063] Figure 3 is a structural block diagram of an identity information recording device in one embodiment;
[0064] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0066] The identity information recording method provided in the embodiment of the present application can be applied to a terminal, a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The terminal may be, but is not limited to, various personal computers, handwriting notebooks, smart phones, tablet computers, etc. The server may be implemented with an independent server or a server cluster composed of multiple servers. The terminal obtains the three-dimensional handwriting information input by the user, thereby extracting the three-dimensional feature information of the strokes corresponding to each characteristic stroke of the user, and obtains the three-dimensional feature information of the handwriting based on all the three-dimensional feature information of the strokes. Finally, the three-dimensional feature information of the handwriting containing the personal information of the user is used as the identity information of the user, avoiding the acquisition of only the two-dimensional handwriting features of the user, thereby improving the accuracy of the recorded user identity information.
[0067] In one embodiment, Figure 1 As shown, a method for recording identity information is provided, which is described by taking the method applied to a terminal as an example, and includes the following steps:
[0068] Step S101, obtaining the three-dimensional handwriting information input by the user and the user's personal information.
[0069] In this embodiment, the terminal obtains the user's authorization information and obtains the user's three-dimensional handwriting information through a handwriting recognition tool. The handwriting recognition tool may be, but is not limited to, a three-dimensional positioning finger sleeve or a three-dimensional positioning glove. The three-dimensional positioning finger sleeve or the three-dimensional positioning glove is used to obtain the three-dimensional trajectory information of the user's hand movement in any environment, and the three-dimensional structural change information of the hand movement, and use the three-dimensional trajectory information and the three-dimensional structural change information as the user's handwriting three-dimensional information. At the same time, the terminal responds to the user's identity input operation to obtain the personal information input by the user. The personal information includes, but is not limited to, name, gender, account (bank account, client account, etc.), identity authentication information (ID card), etc. The three-dimensional handwriting information is the three-dimensional change information of the user's handwriting during the writing process.
[0070] Step S102, identifying each piece of text information in the three-dimensional handwriting information, and obtaining characteristic strokes in each piece of text information.
[0071] In this embodiment, the terminal respectively identifies multiple text information included in the three-dimensional handwriting information, and obtains the characteristic strokes corresponding to each text information through a text database. Among them, the characteristic strokes are preset in the terminal and are the strokes used to represent the text characteristics of the text information. Among them, the text information includes: Chinese characters, Arabic numerals, letters, and symbols, etc. The characteristic strokes of different texts are different, and the characteristic strokes for Arabic numerals, letters, and symbols are the Arabic numerals, letters, and symbols themselves. For example, the text information includes "今", "b", "-", "Ф". Then the characteristic strokes corresponding to each text information can be: the characteristic strokes of "今" are: dot, horizontal fold; the characteristic strokes of "b" are: b; the characteristic strokes of "-" are -; the characteristic strokes of "Ф" are Ф. The specific process of identifying each text information will be described in detail later.
[0072] Step S103: Extract the stroke three-dimensional feature information corresponding to the characteristic strokes of each text information in the three-dimensional handwriting information, and determine the three-dimensional handwriting feature information of the user based on each stroke three-dimensional feature information.
[0073] In this embodiment, the terminal extracts the three-dimensional feature information corresponding to the characteristic strokes of each text information in the three-dimensional handwriting information as the stroke three-dimensional feature information corresponding to each characteristic stroke. The terminal performs fusion processing on the stroke three-dimensional feature information corresponding to the characteristic strokes of the same category to obtain the comprehensive stroke three-dimensional feature information of the characteristic strokes of the same category. The terminal uses the comprehensive stroke three-dimensional feature information of the characteristic strokes of all categories as the three-dimensional handwriting feature information of the user. Among them, the feature fusion processing process will be described in detail later. The categories of the characteristic strokes of different text information are the categories of the characteristic strokes themselves. For example, both the two text information of "今" and "高" include the characteristic stroke of "dot"; then, the terminal regards the characteristic stroke of "dot" in the two text information of "今" and "高" as the characteristic strokes of the same category. The stroke three-dimensional feature information corresponding to the characteristic strokes of the same category is different, and the stroke three-dimensional feature information is related to input factors such as the input speed, strength, and pause when the user inputs the three-dimensional handwriting information corresponding to different text information.
[0074] Step S104: Establish an association relationship between the three-dimensional handwriting feature information and the personal information of the user, and use the personal information of the user, the three-dimensional handwriting feature information of the user, and the association relationship between the three-dimensional handwriting feature information of the user and the personal information of the user as the identity information of the user.
[0075] In this embodiment, the terminal establishes an association relationship between the handwriting three-dimensional feature information and the personal information input by the user, so that when the handwriting three-dimensional feature information to be tested input by the user to be tested is the same as the handwriting three-dimensional feature information, the terminal determines that the user to be tested is the user. The terminal uses the user's personal information, the user's handwriting three-dimensional feature information, and the association relationship between the user's handwriting three-dimensional feature information and the user's personal information as the user's identity information.
[0076] Based on the above scheme, by obtaining the three-dimensional handwriting information input by the user, the three-dimensional stroke feature information corresponding to each characteristic stroke of the user is extracted, and the three-dimensional handwriting feature information is obtained based on all the three-dimensional stroke feature information. Finally, the three-dimensional handwriting feature information containing the user's personal information is used as the user's identity information, avoiding the acquisition of only the two-dimensional handwriting features of the user, and improving the accuracy of the recorded user identity information.
[0077] Optionally, obtaining three-dimensional handwriting information input by the user includes: in response to the user's handwriting input operation, detecting the three-dimensional hand structure information corresponding to multiple time points, and the hand position information corresponding to each piece of hand three-dimensional structure information; generating three-dimensional handwriting change information based on all the three-dimensional hand structure information, and obtaining the structural change information of the three-dimensional hand structure information in chronological order of the time points; and using the three-dimensional handwriting change information and the structural change information of the three-dimensional hand structure information as the three-dimensional handwriting information.
[0078] In this embodiment, the terminal responds to the handwriting input operation of the user, and detects the three-dimensional structure information of the user's hand corresponding to different time points during the handwriting input operation, and the hand position information corresponding to the three-dimensional structure information of the hand at different time points through the handwriting recognition tool. The three-dimensional structure information of the hand is the structure of the three-dimensional position information of different joints of the user's hand in the spatial coordinate system established in the space where the handwriting recognition tool is located, and the hand position information can be the three-dimensional position information corresponding to the connection between the index finger tip and the thumb finger tip of the hand. The terminal connects each hand position information according to the order of the time points of obtaining each hand position information, and obtains the three-dimensional change information of the handwriting corresponding to the user. At the same time, the terminal obtains the structural change information of the three-dimensional structure information of the hand according to the order of the time points of obtaining each hand three-dimensional structure information. The structural change information of the three-dimensional structure information of the hand is the three-dimensional displacement information of the three-dimensional position information of different joints of the hand. Finally, the terminal uses the three-dimensional change information of the handwriting and the structural change information of the three-dimensional structure information of the hand as the three-dimensional handwriting information of the user.
[0079] Based on the above scheme, the three-dimensional handwriting information of the user is determined by obtaining the three-dimensional structure information of the user's hand and the user's hand displacement information, thereby avoiding obtaining the user's handwriting information only through a two-dimensional plane, thereby improving the accuracy and comprehensiveness of the obtained handwriting information.
[0080] Optionally, identifying text information in handwriting three-dimensional information includes: clustering the handwriting three-dimensional change information according to hand position information to obtain multiple three-dimensional trajectory areas; identifying the text information corresponding to each three-dimensional trajectory area, and using the text information corresponding to all three-dimensional trajectory areas as the text information in the handwriting three-dimensional information.
[0081] In this embodiment, the terminal obtains the three-dimensional change information of the handwriting, calculates the interval distance between the hand position information corresponding to each three-dimensional change information of the handwriting, and presets the interval distance threshold in the terminal. The terminal selects the interval distances less than the interval distance threshold from each interval distance, and clusters the hand position information corresponding to the interval distances less than the interval distance threshold to obtain multiple hand position information groups. The terminal uses each hand position information group as each three-dimensional trajectory area to obtain each three-dimensional trajectory area containing multiple hand position information. The terminal maps each three-dimensional trajectory area to a two-dimensional plane, identifies the text information corresponding to each three-dimensional trajectory area, and obtains each text information in the three-dimensional handwriting information.
[0082] Based on the above solution, by dividing the three-dimensional handwriting change information into multiple three-dimensional track areas, the efficiency of identifying each text information in the three-dimensional handwriting information is improved.
[0083] Optionally, identifying text information corresponding to each three-dimensional trajectory area includes: mapping all hand position information of each three-dimensional trajectory area on a two-dimensional plane to obtain two-dimensional trajectory areas each containing multiple two-dimensional hand position information, and identifying text information corresponding to each two-dimensional trajectory area; using the text information corresponding to each two-dimensional trajectory area as the text information corresponding to each three-dimensional trajectory area mapped to the two-dimensional trajectory area.
[0084] In this embodiment, the terminal performs two-dimensional mapping processing on each three-dimensional trajectory area according to a plane perpendicular to the direction of the index finger tip and the thumb finger tip in the three-dimensional structure information of the user's hand, and obtains a two-dimensional trajectory area corresponding to each three-dimensional trajectory area. The terminal identifies the text information corresponding to each violation area through a plane image recognition strategy. Then, the terminal uses the text information corresponding to each two-dimensional trajectory area as the text information corresponding to each three-dimensional trajectory area mapped to the two-dimensional trajectory area.
[0085] Based on the above solution, by mapping each three-dimensional trajectory area according to a plane perpendicular to the direction pointed by the index finger and thumb fingertips of the hand, the similarity between the text information of the two-dimensional trajectory area corresponding to the three-dimensional trajectory area and the text information input by the user is improved.
[0086] Optionally, three-dimensional feature information of strokes corresponding to characteristic strokes of each text information in the three-dimensional handwriting information is extracted, including: for each text information, in the two-dimensional trajectory area corresponding to the text information, searching for the stroke area corresponding to each characteristic stroke of the text information; for each stroke area, filtering the target two-dimensional hand position information from the two-dimensional hand position information contained in the stroke area, and using the three-dimensional hand position information corresponding to the target two-dimensional hand position information as the target hand position information; using all target hand position information corresponding to the stroke area and the three-dimensional hand structure information corresponding to each target hand position information as the three-dimensional feature information of strokes corresponding to the characteristic strokes.
[0087] In this embodiment, the terminal presets the handwriting error tolerance range of each characteristic stroke, and for each text information, in the two-dimensional trajectory area corresponding to the text information, identifies the two-dimensional hand position information contained in the handwriting error tolerance range of each characteristic stroke of the text information through a plane image recognition algorithm, and uses the area corresponding to all the two-dimensional hand position information contained in the characteristic stroke as the stroke area corresponding to the characteristic stroke. Among them, the stroke area is the area of the characteristic stroke in the two-dimensional trajectory area. For each stroke area, the terminal filters the target two-dimensional hand position information from the two-dimensional hand position information contained in the stroke area. Among them, the target two-dimensional hand position information is the hand position information directly corresponding to the handwriting of the characteristic stroke. The terminal uses the three-dimensional hand position information corresponding to the target two-dimensional hand position information as the target hand position information. The terminal uses all the target hand position information corresponding to the stroke area and the three-dimensional hand structure information corresponding to each target hand position information as the three-dimensional stroke feature information corresponding to the characteristic stroke.
[0088] Based on the above solution, the target hand position information is determined by querying the stroke area in the violation area, thereby improving the accuracy of determining the target hand position information.
[0089] Optionally, based on the three-dimensional feature information of each stroke, the three-dimensional feature information of the user's handwriting is determined, including: based on the characteristic strokes of different stroke types, the three-dimensional feature information of the strokes corresponding to each characteristic stroke is classified to obtain multiple feature groups; for each feature group, the three-dimensional feature information of each stroke in the feature group is subjected to feature fusion processing to obtain the comprehensive three-dimensional feature information of the strokes corresponding to each characteristic stroke, and the comprehensive three-dimensional feature information of the strokes corresponding to all the characteristic strokes is used as the three-dimensional feature information of the user's handwriting.
[0090] In this embodiment, the terminal classifies the three-dimensional feature information of the strokes corresponding to each characteristic stroke based on the characteristic strokes of different stroke types to obtain multiple feature groups. The stroke types are dot, horizontal, vertical, left-falling, right-falling, etc. For each feature group, the terminal determines whether the hand position information corresponding to the same handwriting position is the same in each hand position information contained in the three-dimensional feature information of different strokes in the feature group. In the case where the hand position information corresponding to the handwriting position is the same, the terminal uses the same hand position information of the handwriting position information as the first hand position information. In the case where the hand position information corresponding to the handwriting position information is different, the terminal performs position averaging processing on the different hand position information of the handwriting position information to obtain the second hand position information of the handwriting position information. Then, the terminal screens the hand position information at the boundary position among the different hand position information corresponding to the same handwriting position, and determines the straight-line distance between the second hand position information corresponding to the handwriting position and the hand position information at the boundary position, and the terminal uses the above straight-line distance as the deviation value of the second hand position information of the handwriting position. Finally, the terminal uses all the first hand position information and the second hand position information in the feature group as the comprehensive stroke three-dimensional feature information of the feature stroke corresponding to the feature group. Among them, the handwriting position is the position information in the handwriting of each feature stroke preset in each feature stroke. For example, if the feature stroke is a "horizontal fold and hook", the handwriting position corresponding to the feature stroke is the horizontal starting point position, the horizontal ending point position, the turning point position, and the hook connection position. The terminal uses the comprehensive stroke three-dimensional feature information corresponding to all feature strokes as the user's handwriting three-dimensional feature information.
[0091] Based on the above solution, by performing feature fusion processing on the three-dimensional feature information of strokes of the same type, the error tolerance rate of identifying the identity information of the user through the three-dimensional feature information of the user's handwriting is improved.
[0092] Optionally, the method also includes: obtaining real-time handwriting three-dimensional information input by the user, and the user's personal information; identifying real-time handwriting three-dimensional feature information in the real-time handwriting three-dimensional information, and querying the target identity information corresponding to the real-time handwriting three-dimensional feature information in the database; based on the personal information in the target identity information and the user's personal information, identifying whether the user is the target user corresponding to the target identity information.
[0093] In this embodiment, when the identity information is used to identify the identity of the user, the terminal obtains the real-time handwriting three-dimensional information input by the user to be tested, as well as the personal information of the user to be tested. The terminal identifies the real-time handwriting three-dimensional feature information in the real-time handwriting three-dimensional information. The specific identification process is detailed in steps S102-S103. The terminal queries the database for the target identity information corresponding to the real-time handwriting three-dimensional feature information; based on the personal information in the target identity information and the personal information of the user to be tested, the terminal identifies whether the user is the target user corresponding to the target identity information.
[0094] Based on the above solution, the identity of the user is identified by the identity information recorded by the identity recording method, thereby improving the accuracy of identifying the user identity.
[0095] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0096] This application also provides an example of identity information record, such as Figure 2 As shown, the specific processing process includes the following steps:
[0097] Step S201, in response to the handwriting input operation of the user, detecting the three-dimensional structure information of the hand corresponding to multiple time points, and the hand position information corresponding to each piece of the three-dimensional structure information of the hand.
[0098] Step S202, based on all the three-dimensional structure information of the hand, generate the three-dimensional change information of the handwriting, and obtain the structure change information of the three-dimensional structure information of the hand in the order of time points.
[0099] Step S203, taking the three-dimensional change information of the handwriting and the structural change information of the three-dimensional structural information of the hand as the three-dimensional handwriting information.
[0100] Step S204: cluster the three-dimensional handwriting change information according to the hand position information to obtain multiple three-dimensional trajectory areas.
[0101] Step S205 , mapping all the hand position information of each three-dimensional trajectory area on a two-dimensional plane to obtain two-dimensional trajectory areas each containing a plurality of two-dimensional hand position information, and identifying text information corresponding to each two-dimensional trajectory area.
[0102] Step S206 , using the text information corresponding to each two-dimensional trajectory area as the text information corresponding to each three-dimensional trajectory area mapped to the two-dimensional trajectory area.
[0103] Step S207: taking the text information corresponding to all three-dimensional trajectory areas as the text information in the three-dimensional handwriting information.
[0104] Step S208 : for each piece of text information, in the two-dimensional trajectory area corresponding to the text information, searching for the stroke area corresponding to each characteristic stroke of the text information.
[0105] Step S209, for each stroke area, filter the target two-dimensional hand position information from the two-dimensional hand position information contained in the stroke area, and use the three-dimensional hand position information corresponding to the target two-dimensional hand position information as the target hand position information.
[0106] Step S210: taking all target hand position information corresponding to the stroke area and the three-dimensional hand structure information corresponding to each target hand position information as the three-dimensional stroke feature information corresponding to the feature stroke.
[0107] Step S211, based on the characteristic strokes of different stroke types, classify the three-dimensional feature information of strokes corresponding to each characteristic stroke to obtain multiple feature groups.
[0108] Step S212, for each feature group, the three-dimensional feature information of each stroke in the feature group is subjected to feature fusion processing to obtain the comprehensive three-dimensional feature information of the stroke corresponding to each feature stroke, and the comprehensive three-dimensional feature information of the stroke corresponding to all feature strokes is used as the three-dimensional feature information of the user's handwriting.
[0109] Step S213, establishing an association relationship between the handwriting three-dimensional feature information and the user's personal information, and using the user's personal information, the user's handwriting three-dimensional feature information, and the association relationship between the user's handwriting three-dimensional feature information and the user's personal information as the user's identity information.
[0110] Based on the same inventive concept, the embodiment of the present application also provides an identity information recording device for implementing the identity information recording method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more identity information recording device embodiments provided below can refer to the limitations of the identity information recording method above, and will not be repeated here.
[0111] In one embodiment, Figure 3 As shown, an identity information recording device is provided, including: an acquisition module 310, an identification module 320, an extraction module 330 and a creation module 340, wherein:
[0112] The acquisition module 310 is used to acquire the three-dimensional handwriting information input by the user and the personal information of the user;
[0113] The recognition module 320 is used to recognize each piece of text information in the three-dimensional handwriting information and obtain the characteristic strokes in each piece of text information;
[0114] An extraction module 330, configured to extract stroke 3D feature information corresponding to characteristic strokes of each text information in the handwriting 3D information, and determine handwriting 3D feature information based on each stroke 3D feature information;
[0115] Establishing module 340, for establishing the association relationship between the three-dimensional feature information of the handwriting and the personal information of the user, and using the personal information of the user, the three-dimensional feature information of the handwriting of the user, and the association relationship between the three-dimensional feature information of the handwriting and the personal information of the user as the identity information of the user.
[0116] Optionally, the acquisition module 310 is specifically configured to:
[0117] In response to a handwriting input operation of a user, detecting three-dimensional hand structure information corresponding to a plurality of time points, and hand position information corresponding to each piece of three-dimensional hand structure information;
[0118] Based on all the three-dimensional structure information of the hand, generate the three-dimensional change information of the handwriting, and obtain the structure change information of the three-dimensional structure information of the hand according to the order of time points;
[0119] The three-dimensional handwriting change information and the structural change information of the three-dimensional hand structural information are used as the three-dimensional handwriting information.
[0120] Optionally, the identification module 320 is specifically configured to:
[0121] Clustering the three-dimensional handwriting change information according to the hand position information to obtain multiple three-dimensional trajectory areas;
[0122] The text information corresponding to each three-dimensional trajectory area is identified, and the text information corresponding to all three-dimensional trajectory areas is used as each piece of text information in the three-dimensional handwriting information.
[0123] Optionally, the identification module 320 is specifically configured to:
[0124] Mapping all hand position information of each three-dimensional trajectory area on a two-dimensional plane to obtain two-dimensional trajectory areas each containing a plurality of two-dimensional hand position information, and identifying text information corresponding to each two-dimensional trajectory area;
[0125] The text information corresponding to each of the two-dimensional trajectory areas is used as the text information corresponding to each of the three-dimensional trajectory areas mapped onto the two-dimensional trajectory area.
[0126] Optionally, the extraction module 330 is specifically used to:
[0127] For each piece of text information, in the two-dimensional trajectory area corresponding to the text information, query the stroke area corresponding to each characteristic stroke of the text information;
[0128] For each stroke area, filter target two-dimensional hand position information from the two-dimensional hand position information contained in the stroke area, and use the three-dimensional hand position information corresponding to the target two-dimensional hand position information as the target hand position information;
[0129] All target hand position information corresponding to the stroke area and the three-dimensional hand structure information corresponding to each target hand position information are used as the three-dimensional stroke feature information corresponding to the feature stroke.
[0130] Optionally, the extraction module 330 is specifically used to:
[0131] Based on characteristic strokes of different stroke types, three-dimensional stroke feature information corresponding to each characteristic stroke is classified to obtain multiple feature groups;
[0132] For each feature group, the three-dimensional feature information of each handwriting in the feature group is subjected to feature fusion processing to obtain the comprehensive three-dimensional feature information of strokes corresponding to each feature stroke, and the comprehensive three-dimensional feature information of strokes corresponding to all feature strokes is used as the three-dimensional feature information of the user's handwriting.
[0133] Optionally, the device further comprises:
[0134] A real-time acquisition module, used to acquire real-time three-dimensional handwriting information input by a user, and personal information of the user;
[0135] An identity recognition module, used for recognizing the real-time three-dimensional handwriting feature information in the real-time three-dimensional handwriting information, and querying the target identity information corresponding to the real-time three-dimensional handwriting feature information in a database;
[0136] The judgment module is used to identify whether the user is a target user corresponding to the target identity information based on the personal information in the target identity information and the personal information of the user.
[0137] Each module in the above-mentioned identity information recording device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0138] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an identity information recording method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0139] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0140] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0141] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0142] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.
[0143] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0145] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0146] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for recording identity information, characterized in that: The method comprises: In response to the handwriting input operation of the user, the three-dimensional structure information of the hand corresponding to multiple time points and the hand position information corresponding to each three-dimensional structure information of the hand are detected; the three-dimensional structure information of the hand is the structure of the three-dimensional position information of different joints of the hand of the user in the spatial coordinate system established in the space where the handwriting recognition tool is located, and the hand position information is the three-dimensional position information corresponding to the connection between the fingertip of the index finger and the fingertip of the thumb; Based on all the three-dimensional structure information of the hand, generate the three-dimensional change information of the handwriting, and obtain the structure change information of the three-dimensional structure information of the hand according to the order of time points; The three-dimensional handwriting change information and the structural change information of the three-dimensional hand structural information are used as the three-dimensional handwriting information; Obtaining personal information of the user; Recognize each piece of text information in the three-dimensional handwriting information, and obtain characteristic strokes in each piece of text information; For each piece of text information, in the two-dimensional trajectory area corresponding to the text information, searching for a stroke area corresponding to each characteristic stroke of the text information; For each stroke area, filter target two-dimensional hand position information from the two-dimensional hand position information contained in the stroke area, and use the three-dimensional hand position information corresponding to the target two-dimensional hand position information as the target hand position information; Using all target hand position information corresponding to the stroke area and the three-dimensional hand structure information corresponding to each target hand position information as the three-dimensional stroke feature information corresponding to the feature stroke; Determining the three-dimensional feature information of the handwriting of the user based on the three-dimensional feature information of each stroke; An association relationship between the handwriting three-dimensional feature information and the user's personal information is established, and the user's personal information, the user's handwriting three-dimensional feature information, and the association relationship between the user's handwriting three-dimensional feature information and the user's personal information are used as the user's identity information.
2. The method according to claim 1, characterized in that The identifying each piece of text information in the three-dimensional handwriting information includes: Clustering the three-dimensional handwriting change information according to the hand position information to obtain multiple three-dimensional trajectory areas; The text information corresponding to each three-dimensional trajectory area is identified, and the text information corresponding to all three-dimensional trajectory areas is used as each piece of text information in the three-dimensional handwriting information.
3. The method according to claim 2, characterized in that The identifying of text information corresponding to each three-dimensional trajectory area includes: Mapping all hand position information of each three-dimensional trajectory area on a two-dimensional plane to obtain two-dimensional trajectory areas each containing a plurality of two-dimensional hand position information, and identifying text information corresponding to each two-dimensional trajectory area; The text information corresponding to each of the two-dimensional trajectory areas is used as the text information corresponding to each of the three-dimensional trajectory areas mapped onto the two-dimensional trajectory area.
4. The method according to claim 1, characterized in that: The determining the three-dimensional feature information of the handwriting of the user based on the three-dimensional feature information of each stroke includes: Based on characteristic strokes of different stroke types, three-dimensional stroke feature information corresponding to each characteristic stroke is classified to obtain multiple feature groups; For each feature group, the three-dimensional feature information of each stroke in the feature group is subjected to feature fusion processing to obtain the comprehensive three-dimensional feature information of the stroke corresponding to each feature stroke, and the comprehensive three-dimensional feature information of the stroke corresponding to all the feature strokes is used as the three-dimensional feature information of the user's handwriting.
5. The method according to claim 1, characterized in that The method further comprises: Acquire real-time three-dimensional handwriting information input by a user, as well as personal information of the user; Identify the real-time three-dimensional handwriting feature information in the real-time three-dimensional handwriting information, and query the database for target identity information corresponding to the real-time three-dimensional handwriting feature information; Based on the personal information in the target identity information and the personal information of the user, it is identified whether the user is a target user corresponding to the target identity information.
6. An identity information recording device, characterized in that: The device comprises: The acquisition module is used to detect the three-dimensional hand structure information corresponding to multiple time points and the hand position information corresponding to each three-dimensional hand structure information in response to the handwriting input operation of the user; the three-dimensional hand structure information is the structure of the three-dimensional position information of different joints of the hand of the user in the spatial coordinate system established in the space where the handwriting recognition tool is located, and the hand position information is the three-dimensional position information corresponding to the connection between the fingertip of the index finger and the fingertip of the thumb; based on all the three-dimensional hand structure information, generate the three-dimensional handwriting change information, and obtain the structure change information of the three-dimensional hand structure information according to the sequence of time points; use the three-dimensional handwriting change information and the structure change information of the three-dimensional hand structure information as the three-dimensional handwriting information; and obtain the personal information of the user; A recognition module, used for recognizing each piece of text information in the three-dimensional handwriting information, and obtaining characteristic strokes in each piece of text information; The extraction module is used to query, for each piece of text information, the stroke area corresponding to each characteristic stroke of the text information in the two-dimensional trajectory area corresponding to the text information; for each stroke area, filter the target two-dimensional hand position information from the two-dimensional hand position information contained in the stroke area, and use the three-dimensional hand position information corresponding to the target two-dimensional hand position information as the target hand position information; use all the target hand position information corresponding to the stroke area and the three-dimensional hand structure information corresponding to each of the target hand position information as the three-dimensional stroke feature information corresponding to the characteristic stroke; and determine the three-dimensional handwriting feature information based on the three-dimensional feature information of each stroke; An establishment module is used to establish an association relationship between the handwriting three-dimensional feature information and the user's personal information, and use the user's personal information, the user's handwriting three-dimensional feature information, and the association relationship between the handwriting three-dimensional feature information and the user's personal information as the user's identity information.
7. The device according to claim 6, characterized in that The identification module is specifically used for: Clustering the three-dimensional handwriting change information according to the hand position information to obtain multiple three-dimensional trajectory areas; The text information corresponding to each three-dimensional trajectory area is identified, and the text information corresponding to all three-dimensional trajectory areas is used as each piece of text information in the three-dimensional handwriting information.
8. The device according to claim 7, characterized in that The identification module is specifically used for: Mapping all hand position information of each three-dimensional trajectory area on a two-dimensional plane to obtain two-dimensional trajectory areas each containing a plurality of two-dimensional hand position information, and identifying text information corresponding to each two-dimensional trajectory area; The text information corresponding to each of the two-dimensional trajectory areas is used as the text information corresponding to each of the three-dimensional trajectory areas mapped onto the two-dimensional trajectory area.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
