[go: up one dir, main page]

CN117235813A - An electronic signature data quality detection method and system - Google Patents

An electronic signature data quality detection method and system Download PDF

Info

Publication number
CN117235813A
CN117235813A CN202311525072.3A CN202311525072A CN117235813A CN 117235813 A CN117235813 A CN 117235813A CN 202311525072 A CN202311525072 A CN 202311525072A CN 117235813 A CN117235813 A CN 117235813A
Authority
CN
China
Prior art keywords
electronic signature
grayscale
signature data
pixel block
threshold
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
CN202311525072.3A
Other languages
Chinese (zh)
Other versions
CN117235813B (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 National Institute of Standardization
Original Assignee
China National Institute of Standardization
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 National Institute of Standardization filed Critical China National Institute of Standardization
Priority to CN202311525072.3A priority Critical patent/CN117235813B/en
Publication of CN117235813A publication Critical patent/CN117235813A/en
Application granted granted Critical
Publication of CN117235813B publication Critical patent/CN117235813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

本发明提出了一种电子签名数据质量检测方法和系统。所述电子签名数据质量检测方法包括:采集用户的三次预电子签名数据;根据所述电子签名数据设置电子签名灰度值阈值;实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示;提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整。所述系统包括与所述方法步骤对应的模块。通过分析电子签名数据的像素块信息和计算灰度阈值调节因子,可以检测并纠正签名数据中可能存在的质量问题。

The invention proposes an electronic signature data quality detection method and system. The electronic signature data quality detection method includes: collecting the user's three pre-electronic signature data; setting the electronic signature grayscale value threshold according to the electronic signature data; collecting the electronic signature data uploaded by subsequent users in real time, and using the electronic signature grayscale The value threshold performs quality inspection on the electronic signature data, and provides a re-signing prompt for electronic signature data that fails the quality inspection; extracts the user's electronic signature status, and adjusts the electronic signature grayscale value threshold based on the electronic signature status. The system includes modules corresponding to the method steps. By analyzing the pixel block information of the electronic signature data and calculating the grayscale threshold adjustment factor, possible quality problems in the signature data can be detected and corrected.

Description

一种电子签名数据质量检测方法和系统An electronic signature data quality detection method and system

技术领域Technical field

本发明涉数据质量检测技术领域,特别涉及一种电子签名数据质量检测方法和系统。The present invention relates to the technical field of data quality detection, and in particular to an electronic signature data quality detection method and system.

背景技术Background technique

在现有的技术中,电子签名数据的质量检测大多依赖于人工审核或者一些特定的软件工具。然而,人工审核不仅会耗费大量的人力资源,而且可能会因为各种因素(如疲劳,疏忽等)而出现误判。软件工具虽然可以自动化一部分工作,但它们通常无法根据变化的用户行为进行自我调整,因此可能在面对复杂的电子签名数据时无法准确地进行质量检测。In the existing technology, the quality inspection of electronic signature data mostly relies on manual review or some specific software tools. However, manual review not only consumes a lot of human resources, but also may cause misjudgments due to various factors (such as fatigue, negligence, etc.). Although software tools can automate some tasks, they often cannot adjust themselves to changing user behavior and therefore may not be able to accurately perform quality inspections when faced with complex electronic signature data.

电子签名数据的质量检测对于签名的真实性和合法性非常重要。一个有效的电子签名数据应当是用户在公平、公正、公开的环境中自愿签署的,而不应当受到任何形式的篡改或破坏。因此,发展一种可以有效检测电子签名数据质量的方法是当前技术发展的一个重要方向。Quality testing of electronic signature data is very important for the authenticity and legality of signatures. A valid electronic signature data should be signed voluntarily by the user in a fair, just and open environment and should not be subject to any form of tampering or destruction. Therefore, developing a method that can effectively detect the quality of electronic signature data is an important direction for current technology development.

发明内容Contents of the invention

本发明提供了一种电子签名数据质量检测方法和系统,用以解决现有技术中在进行电子签名时,可能会受到环境、设备、人为等多种因素的影响,导致签名数据出现噪声、失真、变形等问题,从而降低签名数据的准确性和可靠性,影响电子签名的有效性和合法性的问题:The present invention provides an electronic signature data quality detection method and system to solve the problem that in the prior art, electronic signatures may be affected by various factors such as environment, equipment, and human factors, resulting in noise and distortion in the signature data. , deformation and other issues, thereby reducing the accuracy and reliability of signature data, and affecting the validity and legality of electronic signatures:

本发明提出的一种电子签名数据质量检测方法,所述电子签名数据质量检测方法包括:The present invention proposes an electronic signature data quality detection method. The electronic signature data quality detection method includes:

S1:采集用户的三次预电子签名数据;S1: Collect the user’s three pre-electronic signature data;

S2:根据所述电子签名数据设置电子签名灰度值阈值;S2: Set the electronic signature gray value threshold according to the electronic signature data;

S3:实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示;S3: Collect electronic signature data uploaded by subsequent users in real time, use the electronic signature gray value threshold to perform quality inspection on the electronic signature data, and provide re-signing prompts for electronic signature data that fails the quality inspection;

S4:提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整。S4: Extract the user's electronic signature, and adjust the electronic signature gray value threshold according to the electronic signature.

进一步的,采集用户的三次电子签名数据,包括:Further, collect the user's three electronic signature data, including:

S11:为用户提供预签字界面;S11: Provide users with a pre-signature interface;

S12:将三次预签名提示通过预签字界面进行展示;S12: Display the three pre-signature prompts through the pre-signature interface;

S13:采集用户的三次预电子签名数据。S13: Collect the user's three pre-electronic signature data.

进一步的,根据所述电子签名数据设置电子签名灰度值阈值,包括:Further, setting the electronic signature gray value threshold according to the electronic signature data includes:

S21:提取第一次电子签名数据中电子签名部分对应像素块,生成第一像素块灰度值集合;S21: Extract the pixel block corresponding to the electronic signature part in the first electronic signature data, and generate a gray value set of the first pixel block;

S22:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第一像素块灰度值集合中的像素块灰度值获取第一灰度阈值调节因子;S22: Traverse the pixel block gray values in the first pixel block gray value set, and obtain the first gray threshold adjustment factor using the pixel block gray values in the first pixel block gray value set;

S23:提取第二次电子签名数据中电子签名部分对应像素块,生成第二像素块灰度值集合;S23: Extract the pixel block corresponding to the electronic signature part in the second electronic signature data, and generate the gray value set of the second pixel block;

S24:遍历所述第二像素块灰度值集合中的像素块灰度值,利用所述第二像素块灰度值集合中的像素块灰度值获取第二灰度阈值调节因子;S24: Traverse the pixel block gray values in the second pixel block gray value set, and obtain the second gray threshold adjustment factor using the pixel block gray values in the second pixel block gray value set;

S25:提取第三次电子签名数据中电子签名部分对应像素块,生成第三像素块灰度值集合;S25: Extract the pixel block corresponding to the electronic signature part in the third electronic signature data, and generate a gray value set of the third pixel block;

S26:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第三像素块灰度值集合中的像素块灰度值获取第三灰度阈值调节因子;S26: Traverse the pixel block gray values in the first pixel block gray value set, and obtain the third gray threshold adjustment factor using the pixel block gray values in the third pixel block gray value set;

S27:利用所述第一灰度阈值调节因子、第二灰度阈值调节因子和第三灰度阈值调节因子整合生成电子签名灰度值阈值。S27: Use the first grayscale threshold adjustment factor, the second grayscale threshold adjustment factor and the third grayscale threshold adjustment factor to integrate and generate an electronic signature grayscale value threshold.

进一步的,实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示,包括:Further, electronic signature data uploaded by subsequent users are collected in real time, the electronic signature gray value threshold is used to perform quality inspection on the electronic signature data, and re-signing prompts are provided for electronic signature data that fails the quality inspection, including:

S31:实时采集后续用户上传的电子签名数据;S31: Collect electronic signature data uploaded by subsequent users in real time;

S32:提取所述电子签名数据中电子签名部分的像素块的对应灰度值;S32: Extract the corresponding grayscale value of the pixel block of the electronic signature part in the electronic signature data;

S33:将所述灰度值与所述电子签名灰度值阈值进行比较,对灰度值低于所述电子签名灰度值阈值的像素块进行计数;S33: Compare the gray value with the electronic signature gray value threshold, and count the pixel blocks whose gray value is lower than the electronic signature gray value threshold;

S34:当灰度值低于所述电子签名灰度值阈值的像素块的数量超过预设的数量阈值时,则判定当前电子签名数据为不合格;S34: When the number of pixel blocks whose gray value is lower than the electronic signature gray value threshold exceeds the preset quantity threshold, it is determined that the current electronic signature data is unqualified;

S35:当当前用户的电子签名数据被判定为不合格时,则进行重新签名提示。S35: When the current user's electronic signature data is judged to be unqualified, a re-signing prompt will be issued.

进一步的,提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整,包括:Further, extract the user's electronic signature, and adjust the electronic signature gray value threshold according to the electronic signature, including:

S41:在重新签名提示之后,采集用户的重新签名提示之后的第一次合格的电子签名数据;S41: After the re-signing prompt, collect the user's first qualified electronic signature data after the re-signing prompt;

S42:提取所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值;S42: Extract the grayscale values of all pixel blocks whose grayscale values are not lower than the electronic signature grayscale value threshold in the first qualified electronic signature data after the re-signing prompt;

S43:利用所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值设置灰度阈值调节补偿参数;S43: Set the grayscale threshold adjustment compensation parameter using the grayscale values of all pixel blocks whose grayscale values are not lower than the electronic signature grayscale value threshold in the first qualified electronic signature data after the re-signing prompt;

S44:利用所述灰度阈值调节补偿参数对电子签名灰度值阈值进行调整,获得调整后的电子签名灰度值阈值。S44: Use the gray threshold adjustment compensation parameter to adjust the electronic signature gray value threshold to obtain the adjusted electronic signature gray value threshold.

本发明提出的一种电子签名数据质量检测系统,其特征在于,所述电子签名数据质量检测系统包括:The present invention proposes an electronic signature data quality detection system, which is characterized in that the electronic signature data quality detection system includes:

数据采集模块:采集用户的三次预电子签名数据;Data collection module: collects the user’s three pre-electronic signature data;

阈值设置模块:根据所述电子签名数据设置电子签名灰度值阈值;Threshold setting module: sets the electronic signature gray value threshold according to the electronic signature data;

质量检测模块:实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示;Quality detection module: Collect electronic signature data uploaded by subsequent users in real time, use the electronic signature gray value threshold to perform quality detection on the electronic signature data, and provide re-signing prompts for electronic signature data that fails the quality detection;

阈值调整模块:提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整。Threshold adjustment module: extracts the user's electronic signature and adjusts the electronic signature gray value threshold according to the electronic signature.

进一步的,所述数据采集模块,包括:Further, the data collection module includes:

界面提供模块:为用户提供预签字界面;Interface providing module: provides users with a pre-signature interface;

界面展示模块:将三次预签名提示通过预签字界面进行展示;Interface display module: Display three pre-signature prompts through the pre-signature interface;

签名数据采集模块:采集用户的三次预电子签名数据。Signature data collection module: collects the user's three pre-electronic signature data.

进一步的,所述阈值设置模块,包括:Further, the threshold setting module includes:

第一灰度值生成模块:提取第一次电子签名数据中电子签名部分对应像素块,生成第一像素块灰度值集合;The first gray value generation module: extracts the pixel block corresponding to the electronic signature part in the first electronic signature data and generates the first pixel block gray value set;

第一灰度值遍历模块:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第一像素块灰度值集合中的像素块灰度值获取第一灰度阈值调节因子;The first grayscale value traversal module: traverses the grayscale values of the pixel block in the first pixel block grayscale value set, and obtains the first grayscale using the pixel block grayscale values in the first pixel block grayscale value set. threshold adjustment factor;

第二灰度值生成模块:提取第二次电子签名数据中电子签名部分对应像素块,生成第二像素块灰度值集合;The second gray value generation module: extracts the pixel block corresponding to the electronic signature part in the second electronic signature data, and generates the second pixel block gray value set;

第二灰度值遍历模块:遍历所述第二像素块灰度值集合中的像素块灰度值,利用所述第二像素块灰度值集合中的像素块灰度值获取第二灰度阈值调节因子;The second grayscale value traversal module: traverses the grayscale values of the pixel block in the second pixel block grayscale value set, and obtains the second grayscale using the pixel block grayscale value in the second pixel block grayscale value set. threshold adjustment factor;

第三灰度值生成模块:提取第三次电子签名数据中电子签名部分对应像素块,生成第三像素块灰度值集合;The third gray value generation module: extracts the pixel block corresponding to the electronic signature part in the third electronic signature data and generates the gray value set of the third pixel block;

第三灰度值遍历模块:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第三像素块灰度值集合中的像素块灰度值获取第三灰度阈值调节因子;The third grayscale value traversal module: traverses the pixel block grayscale values in the first pixel block grayscale value set, and obtains the third grayscale using the pixel block grayscale values in the third pixel block grayscale value set. threshold adjustment factor;

整合模块:利用所述第一灰度阈值调节因子、第二灰度阈值调节因子和第三灰度阈值调节因子整合生成电子签名灰度值阈值。Integration module: using the first grayscale threshold adjustment factor, the second grayscale threshold adjustment factor and the third grayscale threshold adjustment factor to integrate and generate the electronic signature grayscale value threshold.

进一步的,所述质量检测模块,包括:Further, the quality detection module includes:

数据采集更新模块:实时采集后续用户上传的电子签名数据;Data collection and update module: collects electronic signature data uploaded by subsequent users in real time;

灰度值提取模块:提取所述电子签名数据中电子签名部分的像素块的对应灰度值;Gray value extraction module: extract the corresponding gray value of the pixel block of the electronic signature part in the electronic signature data;

像素块计数模块:将所述灰度值与所述电子签名灰度值阈值进行比较,对灰度值低于所述电子签名灰度值阈值的像素块进行计数;Pixel block counting module: compares the grayscale value with the electronic signature grayscale value threshold, and counts pixel blocks whose grayscale value is lower than the electronic signature grayscale value threshold;

数据合规性判断模块:当灰度值低于所述电子签名灰度值阈值的像素块的数量超过预设的数量阈值时,则判定当前电子签名数据为不合格;Data compliance judgment module: when the number of pixel blocks with a grayscale value lower than the electronic signature grayscale value threshold exceeds the preset quantity threshold, it is determined that the current electronic signature data is unqualified;

签名提示模块:当当前用户的电子签名数据被判定为不合格时,则进行重新签名提示。Signature prompt module: When the current user's electronic signature data is judged to be unqualified, a re-signature prompt will be issued.

进一步的,所述阈值调整模块,包括:Further, the threshold adjustment module includes:

合格数据采集模块:在重新签名提示之后,采集用户的重新签名提示之后的第一次合格的电子签名数据;Qualified data collection module: After the re-signing prompt, collect the user's first qualified electronic signature data after the re-signing prompt;

灰度值判断模块:提取所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值;Gray value judgment module: extract the gray value of all pixel blocks whose gray value is not lower than the electronic signature gray value threshold in the first qualified electronic signature data after the re-signing prompt;

调节补充模块:利用所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值设置灰度阈值调节补偿参数;Adjustment supplement module: Set the grayscale threshold adjustment compensation parameter by using the grayscale values of all pixel blocks whose grayscale values are not lower than the electronic signature grayscale value threshold in the first qualified electronic signature data after the re-signature prompt;

灰度值阈值调整模块:利用所述灰度阈值调节补偿参数对电子签名灰度值阈值进行调整,获得调整后的电子签名灰度值阈值。Gray value threshold adjustment module: uses the gray value threshold adjustment compensation parameter to adjust the electronic signature gray value threshold to obtain the adjusted electronic signature gray value threshold.

本发明有益效果:通过分析电子签名数据的像素块信息和计算灰度阈值调节因子,可以检测并纠正签名数据中可能存在的质量问题,如噪声、失真、变形等。这将提高签名数据的准确性,使其更符合用户的真实签名;通过对电子签名数据进行质量检测,可以发现和排除潜在的问题,提高签名数据的可靠性。这有助于防止签名数据被篡改或伪造,增加签名的防伪能力,从而保证数据的完整性和可信度;根据不同用户的签名风格和设备环境,自动调整灰度阈值调节因子,以适应不同的签名情况。这使得系统具有较强的适应性和灵活性,能够适应各种签名场景,提高检测的准确性和效果;通过对签名数据质量的检测和纠正,可以有效提高电子签名的安全性。识别和排除质量问题可以防止签名数据被恶意利用或伪造,从而增强签名的防护能力,确保签名数据的合法性和可信性。Beneficial effects of the present invention: By analyzing the pixel block information of the electronic signature data and calculating the grayscale threshold adjustment factor, possible quality problems in the signature data, such as noise, distortion, deformation, etc., can be detected and corrected. This will improve the accuracy of the signature data and make it more consistent with the user's real signature; through quality inspection of the electronic signature data, potential problems can be discovered and eliminated, and the reliability of the signature data can be improved. This helps to prevent signature data from being tampered with or forged, and increases the anti-counterfeiting capabilities of the signature, thus ensuring the integrity and credibility of the data; according to different users' signature styles and device environments, the grayscale threshold adjustment factor is automatically adjusted to suit different needs. signature status. This makes the system highly adaptable and flexible, able to adapt to various signature scenarios and improve the accuracy and effect of detection; by detecting and correcting the quality of signature data, the security of electronic signatures can be effectively improved. Identifying and eliminating quality problems can prevent signature data from being maliciously used or forged, thereby enhancing the signature's protective capabilities and ensuring the legitimacy and credibility of the signature data.

附图说明Description of drawings

图1为本发明所述一种电子签名数据质量检测方法步骤图;Figure 1 is a step diagram of an electronic signature data quality detection method according to the present invention;

图2为本发明所述一种电子签名数据质量检测系统交互图。Figure 2 is an interaction diagram of an electronic signature data quality detection system according to the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

实施例1Example 1

本实施例,本发明提出的一种电子签名数据质量检测方法,所述电子签名数据质量检测方法包括:In this embodiment, the present invention proposes an electronic signature data quality detection method. The electronic signature data quality detection method includes:

S1:采集用户的三次预电子签名数据;S1: Collect the user’s three pre-electronic signature data;

S2:根据所述电子签名数据设置电子签名灰度值阈值;S2: Set the electronic signature gray value threshold according to the electronic signature data;

S3:实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示;S3: Collect electronic signature data uploaded by subsequent users in real time, use the electronic signature gray value threshold to perform quality inspection on the electronic signature data, and provide re-signing prompts for electronic signature data that fails the quality inspection;

S4:提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整。S4: Extract the user's electronic signature, and adjust the electronic signature gray value threshold according to the electronic signature.

上述技术方案的工作原理为:在开始使用电子签名系统之前,用户需要进行三次预电子签名数据的采集。这些采集到的数据将作为基准用于后续的质量检测和调整阈值的依据;根据采集到的预电子签名数据,系统会自动计算出一个灰度值阈值,该阈值可以作为判断电子签名数据质量的标准。灰度值是指签名中像素颜色的明暗程度,通过设置合适的阈值可以判断签名的清晰度和质量;当用户上传新的电子签名数据时,系统将实时采集这些数据并与灰度值阈值进行比较。如果电子签名数据的灰度值低于阈值,即质量不合格,系统将发出重新签名的提示,要求用户重新进行签名操作;系统会提取用户的电子签名情况,包括质量合格和不合格的次数等。根据这些签名情况和经验规则,系统可以自动对灰度值阈值进行调整,以适应不同用户签名习惯和要求。The working principle of the above technical solution is: before starting to use the electronic signature system, the user needs to collect pre-electronic signature data three times. These collected data will be used as the basis for subsequent quality detection and threshold adjustment; based on the collected pre-electronic signature data, the system will automatically calculate a gray value threshold, which can be used as a basis for judging the quality of electronic signature data. standard. The gray value refers to the lightness and darkness of the pixel color in the signature. The clarity and quality of the signature can be judged by setting an appropriate threshold; when the user uploads new electronic signature data, the system will collect the data in real time and compare it with the gray value threshold. Compare. If the grayscale value of the electronic signature data is lower than the threshold, that is, the quality is unqualified, the system will issue a re-signing prompt and require the user to perform the signature operation again; the system will extract the user's electronic signature status, including the number of times the quality is qualified and unqualified, etc. . Based on these signature conditions and empirical rules, the system can automatically adjust the gray value threshold to adapt to different user signature habits and requirements.

上述技术方案的效果为:通过采集用户的预电子签名数据并根据其设置灰度值阈值,可以提高电子签名的质量。只有符合预定标准的电子签名数据才会被认可和使用,从而避免了因签名质量问题导致的误判或纠纷;通过实时采集用户上传的电子签名数据,并利用设定的灰度值阈值对其进行质量检测。当检测到质量不合格的电子签名数据时,系统将及时发出重新签名的提示,引导用户进行修正,确保签名数据的准确性和可靠性;根据用户的电子签名情况,系统可以提取相关指标并进行统计分析。基于这些数据,系统可以自动对灰度值阈值进行调整。这样能够更好地适应不同用户签名习惯和要求,提高系统的智能化和适应性;该方案能够确保电子签名数据的质量达到一定的标准,满足法律和安全要求。有效的电子签名数据质量检测可以提高电子合同的法律效力和保密性,保护用户的权益和信息安全。The effect of the above technical solution is that by collecting the user's pre-electronic signature data and setting the gray value threshold according to it, the quality of the electronic signature can be improved. Only electronic signature data that meets predetermined standards will be recognized and used, thus avoiding misjudgments or disputes caused by signature quality issues; by collecting electronic signature data uploaded by users in real time, and using the set gray value threshold to Conduct quality inspections. When electronic signature data with unqualified quality is detected, the system will promptly issue a prompt to re-sign and guide the user to make corrections to ensure the accuracy and reliability of the signature data; based on the user's electronic signature, the system can extract relevant indicators and conduct Statistical Analysis. Based on these data, the system can automatically adjust the gray value threshold. This can better adapt to different users' signature habits and requirements, and improve the intelligence and adaptability of the system; this solution can ensure that the quality of electronic signature data reaches certain standards and meets legal and security requirements. Effective electronic signature data quality testing can improve the legal validity and confidentiality of electronic contracts, and protect users' rights and information security.

实施例2Example 2

本实施例,采集用户的三次电子签名数据,包括:In this embodiment, the user's three electronic signature data are collected, including:

S11:为用户提供预签字界面;S11: Provide users with a pre-signature interface;

S12:将三次预签名提示通过预签字界面进行展示;S12: Display the three pre-signature prompts through the pre-signature interface;

S13:采集用户的三次预电子签名数据。S13: Collect the user's three pre-electronic signature data.

上述技术方案的工作原理为:系统为用户提供一个预签字界面,该界面可以展示预签名的提示信息;在预签字界面上,系统会显示三次预签名的提示信息。这些提示信息可以是与签名质量相关的指导,比如保持稳定的手势、使用适当的笔迹等;用户在预签字界面上进行三次预签名操作。系统会实时采集这些预签名数据,并将其保存下来。The working principle of the above technical solution is: the system provides the user with a pre-signing interface, which can display the pre-signing prompt information; on the pre-signing interface, the system will display the pre-signing prompt information three times. These prompt messages can be guidance related to signature quality, such as maintaining stable gestures, using appropriate handwriting, etc.; the user performs three pre-signing operations on the pre-signing interface. The system will collect these pre-signed data in real time and save it.

上述技术方案的效果为:通过给用户提供预签字界面和展示预签名提示,用户可以在签名之前得到指导和提示。这有助于用户注意签名的准确性和质量,从而提高签名的质量水平;通过采集用户的三次预电子签名数据,系统可以对比和分析这些数据,识别出潜在的错误或不规范的签名行为。这样可以帮助用户及时发现和纠正错误,从而降低签名错误的发生率;通过向用户提供预签字界面和展示预签名提示,用户能够更加全面地理解签名要求和标准。这有助于用户对自己的签名进行调整和改进,提高满意度和信心;采集用户的预电子签名数据可以作为后续电子签名数据质量检测和调整阈值的参考依据。系统可以根据这些数据进行分析和比对,为后续的签名过程提供更准确的判断和指导。The effect of the above technical solution is: by providing users with a pre-signing interface and displaying pre-signing prompts, users can receive guidance and prompts before signing. This helps users pay attention to the accuracy and quality of signatures, thereby improving the quality level of signatures; by collecting the user's three pre-electronic signature data, the system can compare and analyze these data to identify potential errors or irregular signature behavior. This can help users discover and correct errors in a timely manner, thereby reducing the incidence of signature errors; by providing users with a pre-signature interface and displaying pre-signature prompts, users can more fully understand signature requirements and standards. This helps users adjust and improve their signatures and improve satisfaction and confidence; collecting users' pre-electronic signature data can be used as a reference for subsequent electronic signature data quality testing and threshold adjustment. The system can analyze and compare based on these data to provide more accurate judgment and guidance for the subsequent signature process.

实施例3Example 3

本实施例,根据所述电子签名数据设置电子签名灰度值阈值,包括:In this embodiment, setting the electronic signature gray value threshold according to the electronic signature data includes:

S21:提取第一次电子签名数据中电子签名部分对应像素块,生成第一像素块灰度值集合;S21: Extract the pixel block corresponding to the electronic signature part in the first electronic signature data, and generate a gray value set of the first pixel block;

S22:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第一像素块灰度值集合中的像素块灰度值获取第一灰度阈值调节因子;S22: Traverse the pixel block gray values in the first pixel block gray value set, and obtain the first gray threshold adjustment factor using the pixel block gray values in the first pixel block gray value set;

S23:提取第二次电子签名数据中电子签名部分对应像素块,生成第二像素块灰度值集合;S23: Extract the pixel block corresponding to the electronic signature part in the second electronic signature data, and generate the gray value set of the second pixel block;

S24:遍历所述第二像素块灰度值集合中的像素块灰度值,利用所述第二像素块灰度值集合中的像素块灰度值获取第二灰度阈值调节因子;S24: Traverse the pixel block gray values in the second pixel block gray value set, and obtain the second gray threshold adjustment factor using the pixel block gray values in the second pixel block gray value set;

S25:提取第三次电子签名数据中电子签名部分对应像素块,生成第三像素块灰度值集合;S25: Extract the pixel block corresponding to the electronic signature part in the third electronic signature data, and generate a gray value set of the third pixel block;

S26:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第三像素块灰度值集合中的像素块灰度值获取第三灰度阈值调节因子;S26: Traverse the pixel block gray values in the first pixel block gray value set, and obtain the third gray threshold adjustment factor using the pixel block gray values in the third pixel block gray value set;

S27:利用所述第一灰度阈值调节因子、第二灰度阈值调节因子和第三灰度阈值调节因子整合生成电子签名灰度值阈值。S27: Use the first grayscale threshold adjustment factor, the second grayscale threshold adjustment factor and the third grayscale threshold adjustment factor to integrate and generate an electronic signature grayscale value threshold.

其中,所述第一灰度阈值调节因子、第二灰度阈值调节因子和第三灰度阈值调节因子通过如下公式获取:Wherein, the first grayscale threshold adjustment factor, the second grayscale threshold adjustment factor and the third grayscale threshold adjustment factor are obtained by the following formula:

其中,Y 01表示第一灰度阈值调节因子;T min1T max1表示第一次电子签名数据中电子签名部分对应像素块中的灰度最小值和灰度最大值;T b 表示电子签名的背景界面的像素块的灰度值;m 1表示第一次电子签名数据中电子签名部分对应像素块的总数;n表示用于进行电子签名的界面所包含的所有像素块的总个数;sqrt表示开根号运算;λ 1表示第一参考因数;Among them, Y 01 represents the first gray threshold adjustment factor; T min 1 and T max 1 represent the minimum gray value and maximum gray value in the pixel block corresponding to the electronic signature part in the first electronic signature data; T b represents the electronic The gray value of the pixel blocks in the background interface of the signature; m 1 represents the total number of pixel blocks corresponding to the electronic signature part in the first electronic signature data; n represents the total number of all pixel blocks included in the interface used for electronic signatures ; sqrt represents the root operation; λ 1 represents the first reference factor;

其中,Y 02表示第二灰度阈值调节因子;T min2T max2表示第二次电子签名数据中电子签名部分对应像素块中的灰度最小值和灰度最大值;T b 表示电子签名的背景界面的像素块的灰度值;m 2表示第二次电子签名数据中电子签名部分对应像素块的总数;n表示用于进行电子签名的界面所包含的所有像素块的总个数;sqrt表示开根号运算;λ 2表示第二参考因数;X 01表示第一相对因数;Among them, Y 02 represents the second gray threshold adjustment factor; T min 2 and T max 2 represent the minimum gray value and maximum gray value in the corresponding pixel block of the electronic signature part in the second electronic signature data; T b represents the electronic The gray value of the pixel blocks in the background interface of the signature; m 2 represents the total number of pixel blocks corresponding to the electronic signature part in the second electronic signature data; n represents the total number of all pixel blocks included in the interface used for electronic signatures ; sqrt represents the root operation; λ 2 represents the second reference factor; X 01 represents the first relative factor;

其中,Y 03表示第三灰度阈值调节因子;T min3T max3表示第三次电子签名数据中电子签名部分对应像素块中的灰度最小值和灰度最大值;T b 表示电子签名的背景界面的像素块的灰度值;m 3表示第三次电子签名数据中电子签名部分对应像素块的总数;n表示用于进行电子签名的界面所包含的所有像素块的总个数;sqrt表示开根号运算;λ 3表示第三参考因数;X 02表示第二相对因数;X 03表示第三相对因数;Among them, Y 03 represents the third gray threshold adjustment factor; T min 3 and T max 3 represent the minimum gray value and maximum gray value in the corresponding pixel block of the electronic signature part in the third electronic signature data; T b represents the electronic The gray value of the pixel blocks in the background interface of the signature; m 3 represents the total number of pixel blocks corresponding to the electronic signature part in the third electronic signature data; n represents the total number of all pixel blocks included in the interface used for electronic signatures ; sqrt represents the root operation; λ 3 represents the third reference factor; X 02 represents the second relative factor; X 03 represents the third relative factor;

同时,所述电子签名灰度值阈值通过如下公式获取:At the same time, the electronic signature gray value threshold is obtained through the following formula:

其中,T u 表示电子签名灰度值阈值;σ B 2T)表示在阈值T下的类内方差;argmax T 表示找到使函数达到最大值的 T 值;argmax T σ B 2T)表示要找到阈值T的值,使类内方差的函数σ B 2T)达到最大值;Among them, T u represents the electronic signature gray value threshold; σ B 2 ( T ) represents the intra-class variance under the threshold T; argmax T represents finding the T value that makes the function reach the maximum value; argmax T σ B 2 ( T ) represents To find the value of the threshold T such that the function of intra-class variance σ B 2 ( T ) reaches the maximum value;

上述技术方案的工作原理为:提取第一次电子签名数据中电子签名部分对应像素块,生成第一像素块灰度值集合;遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第一像素块灰度值集合中的像素块灰度值获取第一灰度阈值调节因子;提取第二次电子签名数据中电子签名部分对应像素块,生成第二像素块灰度值集合;遍历所述第二像素块灰度值集合中的像素块灰度值,利用所述第二像素块灰度值集合中的像素块灰度值获取第二灰度阈值调节因子;提取第三次电子签名数据中电子签名部分对应像素块,生成第三像素块灰度值集合;遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第三像素块灰度值集合中的像素块灰度值获取第三灰度阈值调节因子;利用所述第一灰度阈值调节因子、第二灰度阈值调节因子和第三灰度阈值调节因子整合生成电子签名灰度值阈值。The working principle of the above technical solution is: extract the pixel block corresponding to the electronic signature part in the first electronic signature data, generate a first pixel block gray value set; traverse the pixel block gray values in the first pixel block gray value set value, use the pixel block gray value in the first pixel block gray value set to obtain the first gray threshold adjustment factor; extract the pixel block corresponding to the electronic signature part in the second electronic signature data, and generate the second pixel block gray value Set of grayscale values; traverse the grayscale values of the pixel block in the second grayscale value set of the second pixel block, and obtain the second grayscale threshold adjustment factor using the grayscale values of the pixel block in the second grayscale value set of the second pixel block; Extract the pixel block corresponding to the electronic signature part in the third electronic signature data to generate a third pixel block gray value set; traverse the pixel block gray value in the first pixel block gray value set, and use the third pixel The pixel block gray value in the block gray value set obtains a third gray scale threshold adjustment factor; the first gray scale threshold adjustment factor, the second gray scale threshold adjustment factor and the third gray scale threshold adjustment factor are used to integrate and generate electronic Signature gray value threshold.

上述技术方案的效果为:通过提取多次电子签名数据的像素块灰度值集合,并根据每组像素块灰度值集合计算相应的灰度阈值调节因子,可以灵活地适应不同用户的签名风格和设备环境。这将有助于提高签名数据的准确性和可靠性;通过遍历像素块灰度值集合并利用相应的灰度阈值调节因子,可以更准确地确定电子签名的灰度值阈值。这将有助于减少误差和噪声,提高电子签名的准确性和一致性;通过整合不同灰度阈值调节因子生成电子签名灰度值阈值,可以增强电子签名的安全性。这将使签名数据更难以被篡改或伪造,提高签名的防伪能力。The effect of the above technical solution is: by extracting the gray value set of pixel blocks of multiple electronic signature data, and calculating the corresponding gray threshold adjustment factor based on the gray value set of each group of pixel blocks, it can flexibly adapt to the signature styles of different users. and device environment. This will help improve the accuracy and reliability of signature data; by traversing the gray value set of pixel blocks and utilizing the corresponding gray threshold adjustment factors, the gray value threshold of the electronic signature can be determined more accurately. This will help reduce errors and noise, and improve the accuracy and consistency of electronic signatures; by integrating different grayscale threshold adjustment factors to generate electronic signature grayscale value thresholds, the security of electronic signatures can be enhanced. This will make the signature data more difficult to be tampered with or forged, improving the anti-counterfeiting capabilities of the signature.

同时,由于用户每次签名的签名字体大小和力度不同,导致每次签名像素块的灰度值差异存在偏差,因此,通过三次签名设置具有关联偏差性质的三个灰度阈值调节因子,并利用所述三个灰度阈值调节因子获取电子签名灰度值阈值,能够有效提高电子签名灰度值阈值设置的合理性和与用户签名习惯之间的匹配性,进而防止统一一致的电子签名灰度值阈值导致电子签名灰度值阈值设置不合理使后续签名质量检测要求过高,导致用户反复签名进行验证的问题发生,同时,防止签名质量检测要求过低导致签名安全性较低的问题发生。另一方面,通过上述公式获取的三个灰度阈值调节因子,能够有效提高灰度阈值调节因子获取的准确性以及电子签名灰度值阈值设置的准确性。At the same time, since the signature font size and strength of the user's signature are different each time, there is a deviation in the gray value difference of the pixel block of each signature. Therefore, three gray scale threshold adjustment factors with associated deviation properties are set through three signatures, and use The three grayscale threshold adjustment factors obtain the electronic signature grayscale value threshold, which can effectively improve the rationality of the electronic signature grayscale value threshold setting and the matching with the user's signature habits, thereby preventing uniform electronic signature grayscale The value threshold causes the electronic signature gray value threshold to be unreasonably set, making the subsequent signature quality detection requirements too high, causing the user to repeatedly sign for verification. At the same time, it prevents the signature quality detection requirements from being too low, resulting in low signature security. On the other hand, the three gray threshold adjustment factors obtained through the above formula can effectively improve the accuracy of obtaining the gray threshold adjustment factors and the accuracy of electronic signature gray value threshold setting.

实施例4Example 4

本实施例,实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示,包括:In this embodiment, electronic signature data uploaded by subsequent users are collected in real time, the electronic signature gray value threshold is used to perform quality inspection on the electronic signature data, and re-signing prompts are provided for electronic signature data that fails the quality inspection, including:

S31:实时采集后续用户上传的电子签名数据;S31: Collect electronic signature data uploaded by subsequent users in real time;

S32:提取所述电子签名数据中电子签名部分的像素块的对应灰度值;S32: Extract the corresponding grayscale value of the pixel block of the electronic signature part in the electronic signature data;

S33:将所述灰度值与所述电子签名灰度值阈值进行比较,对灰度值低于所述电子签名灰度值阈值的像素块进行计数;S33: Compare the gray value with the electronic signature gray value threshold, and count the pixel blocks whose gray value is lower than the electronic signature gray value threshold;

S34:当灰度值低于所述电子签名灰度值阈值的像素块的数量超过预设的数量阈值时,则判定当前电子签名数据为不合格;S34: When the number of pixel blocks whose gray value is lower than the electronic signature gray value threshold exceeds the preset quantity threshold, it is determined that the current electronic signature data is unqualified;

S35:当当前用户的电子签名数据被判定为不合格时,则进行重新签名提示。S35: When the current user's electronic signature data is judged to be unqualified, a re-signing prompt will be issued.

上述技术方案的工作原理为:实时采集后续用户上传的电子签名数据;提取所述电子签名数据中电子签名部分的像素块的对应灰度值;将所述灰度值与所述电子签名灰度值阈值进行比较,对灰度值低于所述电子签名灰度值阈值的像素块进行计数;当灰度值低于所述电子签名灰度值阈值的像素块的数量超过预设的数量阈值时,则判定当前电子签名数据为不合格;当当前用户的电子签名数据被判定为不合格时,则进行重新签名提示。The working principle of the above technical solution is to: collect electronic signature data uploaded by subsequent users in real time; extract the corresponding grayscale value of the pixel block of the electronic signature part in the electronic signature data; compare the grayscale value with the grayscale of the electronic signature Compare the value threshold and count the pixel blocks whose gray value is lower than the electronic signature gray value threshold; when the number of pixel blocks whose gray value is lower than the electronic signature gray value threshold exceeds the preset quantity threshold When, the current electronic signature data is judged to be unqualified; when the current user's electronic signature data is judged to be unqualified, a re-signing prompt is issued.

上述技术方案的效果为:通过实时采集和灰度值的比较,可以对电子签名数据进行质量检测。这有助于排除低质量的签名数据,确保只有高质量的签名数据被使用和存档;质量检测能够排除模糊、不清晰或过于浅淡的签名数据,这些数据可能是无效或伪造的。通过对签名数据进行重新签名提示,用户将得到机会进行修正和改进,以获得更准确和有力的签名结果;质量检测和重新签名提示的过程可以减少签名数据中存在的错误和缺陷。这有助于避免因签名数据质量问题而引发的纠纷、争议或法律问题,降低关联的风险;通过重新签名提示,用户可以及时了解到签名数据的不合格情况,并有机会进行修改和完善。这种反馈机制有助于提升用户体验,增加用户对签名系统和服务的满意度。The effect of the above technical solution is that through real-time collection and comparison of grayscale values, the quality of electronic signature data can be detected. This helps exclude low-quality signature data and ensures that only high-quality signature data is used and archived; quality inspection can exclude fuzzy, unclear or too shallow signature data, which may be invalid or forged. By re-signing prompts on signed data, users will be given the opportunity to make corrections and improvements to obtain more accurate and powerful signature results; the process of quality inspection and re-signing prompts can reduce errors and defects in signed data. This helps avoid disputes, controversies or legal issues caused by signature data quality issues and reduce associated risks; through re-signing prompts, users can learn about the unqualified signature data in a timely manner and have the opportunity to modify and improve it. This feedback mechanism helps improve user experience and increase user satisfaction with signature systems and services.

实施例5Example 5

本实施例,提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整,包括:In this embodiment, the user's electronic signature is extracted, and the electronic signature gray value threshold is adjusted according to the electronic signature, including:

S41:在重新签名提示之后,采集用户的重新签名提示之后的第一次合格的电子签名数据;S41: After the re-signing prompt, collect the user's first qualified electronic signature data after the re-signing prompt;

S42:提取所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值;S42: Extract the grayscale values of all pixel blocks whose grayscale values are not lower than the electronic signature grayscale value threshold in the first qualified electronic signature data after the re-signing prompt;

S43:利用所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值设置灰度阈值调节补偿参数;S43: Set the grayscale threshold adjustment compensation parameter using the grayscale values of all pixel blocks whose grayscale values are not lower than the electronic signature grayscale value threshold in the first qualified electronic signature data after the re-signing prompt;

S44:利用所述灰度阈值调节补偿参数对电子签名灰度值阈值进行调整,获得调整后的电子签名灰度值阈值。S44: Use the gray threshold adjustment compensation parameter to adjust the electronic signature gray value threshold to obtain the adjusted electronic signature gray value threshold.

其中,所述灰度阈值调节补偿参数通过如下公式获取:Wherein, the gray threshold adjustment compensation parameter is obtained through the following formula:

其中,T c 表示灰度阈值调节补偿参数;k表示所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的数量;T xi 表示所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块中,第i个像素块的灰度值;t表示所述重新签名提示之后的第一次合格的电子签名数据之前经历的签名不合格的次数;C i 表示第i次签名不合格的灰度值低于电子签名灰度值阈值的像素块的数量;C 0表示预设的数量阈值;C表示所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值低于电子签名灰度值阈值的像素块的数量;T max 表示签名不合格过程中的电子签名范围内的像素块的最大灰度值;Where, Tc represents the grayscale threshold adjustment compensation parameter; k represents the number of pixel blocks in which all grayscale values of the first qualified electronic signature data after the re-signature prompt are not lower than the electronic signature grayscale value threshold; T xi represents the gray value of the i - th pixel block among all pixel blocks whose gray value is not lower than the electronic signature gray value threshold in the first qualified electronic signature data after the re-signing prompt; t represents the The number of failed signatures experienced by the first qualified electronic signature data after the re-signing prompt; C i represents the number of pixel blocks whose gray value is lower than the electronic signature gray value threshold for the i -th signature failure; C 0 represents a preset quantity threshold; C represents the number of pixel blocks in which all grayscale values of the first qualified electronic signature data after the re-signature prompt are lower than the electronic signature grayscale value threshold; T max represents an unqualified signature. The maximum gray value of the pixel block within the range of the electronic signature in the process;

同时,调整后的电子签名灰度值阈值通过如下公式获取:At the same time, the adjusted electronic signature gray value threshold is obtained through the following formula:

其中,T ut 表示调整后的电子签名灰度值阈值;σ B 2T)表示在阈值T下的类内方差;argmax T 表示找到使函数达到最大值的 T 值;argmax T σ B 2T)表示要找到阈值T的值,使类内方差的函数σ B 2T)达到最大值;T c 表示灰度阈值调节补偿参数;Among them, T ut represents the adjusted electronic signature gray value threshold; σ B 2 ( T ) represents the intra-class variance under the threshold T; argmax T represents finding the T value that makes the function reach the maximum value; argmax T σ B 2 ( T ) indicates that the value of the threshold T is to be found so that the function of intra-class variance σ B 2 ( T ) reaches the maximum value; T c indicates the gray threshold adjustment compensation parameter;

上述技术方案的工作原理为:在重新签名提示之后,系统会实时采集用户第一次合格的电子签名数据,确保获取到最新的签名信息;从重新签名提示后的第一次合格的电子签名数据中,提取所有灰度值不低于电子签名灰度值阈值的像素块的灰度值。这些像素块的灰度值是具有足够高质量的签名数据;利用提取的高质量签名数据的灰度值,设置灰度阈值调节补偿参数。该参数将用于根据实际签名情况对电子签名灰度值阈值进行调整;根据灰度阈值调节补偿参数,对电子签名灰度值阈值进行调整。调整后的电子签名灰度值阈值将更加适应用户的签名习惯和设备特性;系统可以根据用户的实际签名情况自动调整电子签名灰度值阈值,以适应不同用户的签名习惯和设备特性。这有助于提高签名数据的准确性和可信度,并进一步优化电子签名系统的用户体验和应用效果。The working principle of the above technical solution is: after the re-signing prompt, the system will collect the user's first qualified electronic signature data in real time to ensure that the latest signature information is obtained; from the first qualified electronic signature data after the re-signing prompt , extract the gray value of all pixel blocks whose gray value is not lower than the electronic signature gray value threshold. The grayscale values of these pixel blocks are signature data with sufficient high quality; using the extracted grayscale values of high-quality signature data, set the grayscale threshold to adjust the compensation parameters. This parameter will be used to adjust the grayscale value threshold of the electronic signature based on the actual signature situation; adjust the compensation parameter based on the grayscale threshold to adjust the grayscale value threshold of the electronic signature. The adjusted electronic signature gray value threshold will be more adaptable to the user's signature habits and device characteristics; the system can automatically adjust the electronic signature gray value threshold according to the user's actual signature to adapt to the signature habits and device characteristics of different users. This helps improve the accuracy and credibility of signature data and further optimizes the user experience and application effects of the electronic signature system.

上述技术方案的效果为:过采集用户重新签名后的第一次合格的电子签名数据,并提取其中高质量的像素块灰度值,系统可以根据用户个体的签名特征和习惯来进行电子签名灰度值阈值的调整。这样可以更好地适应不同用户的签名风格和设备环境;通过调整电子签名灰度值阈值,系统能够过滤掉低质量的像素块灰度值,保留高质量的签名数据。这有助于提高签名数据的准确性和可信度,减少噪声和干扰对签名结果的影响;通过自动调整电子签名灰度值阈值,系统可以更好地适应不同用户的签名习惯和设备特性。这样可以提高用户在使用电子签名系统时的便利性和效率,同时增强签名结果的一致性和可读性;调整电子签名灰度值阈值可以有效抑制恶意篡改和伪造签名的风险。通过提取高质量的签名数据,系统可以增强对伪造签名的检测和防范能力,提高签名的安全性。同时,通过上述进行灰度阈值调整能够有效提高阈值调整的准确性及其与用户签名习惯变化的跟随性。The effect of the above technical solution is: by collecting the first qualified electronic signature data after the user re-signs, and extracting the high-quality pixel block gray value, the system can perform electronic signature grayscale according to the user's individual signature characteristics and habits. Adjustment of degree threshold. This can better adapt to different users' signature styles and device environments; by adjusting the electronic signature grayscale value threshold, the system can filter out low-quality pixel block grayscale values and retain high-quality signature data. This helps to improve the accuracy and credibility of signature data and reduce the impact of noise and interference on signature results; by automatically adjusting the electronic signature gray value threshold, the system can better adapt to the signature habits and device characteristics of different users. This can improve the convenience and efficiency of users when using the electronic signature system, while enhancing the consistency and readability of the signature results; adjusting the gray value threshold of the electronic signature can effectively suppress the risk of malicious tampering and forged signatures. By extracting high-quality signature data, the system can enhance the detection and prevention capabilities of forged signatures and improve signature security. At the same time, the grayscale threshold adjustment as described above can effectively improve the accuracy of the threshold adjustment and its ability to follow changes in the user's signature habits.

实施例6Example 6

本实施例,一种电子签名数据质量检测系统,所述电子签名数据质量检测系统包括:This embodiment provides an electronic signature data quality detection system. The electronic signature data quality detection system includes:

数据采集模块:采集用户的三次预电子签名数据;Data collection module: collects the user’s three pre-electronic signature data;

阈值设置模块:根据所述电子签名数据设置电子签名灰度值阈值;Threshold setting module: sets the electronic signature gray value threshold according to the electronic signature data;

质量检测模块:实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示;Quality detection module: Collect electronic signature data uploaded by subsequent users in real time, use the electronic signature gray value threshold to perform quality detection on the electronic signature data, and provide re-signing prompts for electronic signature data that fails the quality detection;

阈值调整模块:提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整。Threshold adjustment module: extracts the user's electronic signature and adjusts the electronic signature gray value threshold according to the electronic signature.

上述技术方案的工作原理为:在开始使用电子签名系统之前,用户需要进行三次预电子签名数据的采集。这些采集到的数据将作为基准用于后续的质量检测和调整阈值的依据;根据采集到的预电子签名数据,系统会自动计算出一个灰度值阈值,该阈值可以作为判断电子签名数据质量的标准。灰度值是指签名中像素颜色的明暗程度,通过设置合适的阈值可以判断签名的清晰度和质量;当用户上传新的电子签名数据时,系统将实时采集这些数据并与灰度值阈值进行比较。如果电子签名数据的灰度值低于阈值,即质量不合格,系统将发出重新签名的提示,要求用户重新进行签名操作;系统会提取用户的电子签名情况,包括质量合格和不合格的次数等。根据这些签名情况和经验规则,系统可以自动对灰度值阈值进行调整,以适应不同用户签名习惯和要求。The working principle of the above technical solution is: before starting to use the electronic signature system, the user needs to collect pre-electronic signature data three times. These collected data will be used as the basis for subsequent quality detection and threshold adjustment; based on the collected pre-electronic signature data, the system will automatically calculate a gray value threshold, which can be used as a basis for judging the quality of electronic signature data. standard. The gray value refers to the lightness and darkness of the pixel color in the signature. The clarity and quality of the signature can be judged by setting an appropriate threshold; when the user uploads new electronic signature data, the system will collect the data in real time and compare it with the gray value threshold. Compare. If the grayscale value of the electronic signature data is lower than the threshold, that is, the quality is unqualified, the system will issue a re-signing prompt and require the user to perform the signature operation again; the system will extract the user's electronic signature status, including the number of times the quality is qualified and unqualified, etc. . Based on these signature conditions and empirical rules, the system can automatically adjust the gray value threshold to adapt to different user signature habits and requirements.

上述技术方案的效果为:通过采集用户的预电子签名数据并根据其设置灰度值阈值,可以提高电子签名的质量。只有符合预定标准的电子签名数据才会被认可和使用,从而避免了因签名质量问题导致的误判或纠纷;通过实时采集用户上传的电子签名数据,并利用设定的灰度值阈值对其进行质量检测。当检测到质量不合格的电子签名数据时,系统将及时发出重新签名的提示,引导用户进行修正,确保签名数据的准确性和可靠性;根据用户的电子签名情况,系统可以提取相关指标并进行统计分析。基于这些数据,系统可以自动对灰度值阈值进行调整。这样能够更好地适应不同用户签名习惯和要求,提高系统的智能化和适应性;该方案能够确保电子签名数据的质量达到一定的标准,满足法律和安全要求。有效的电子签名数据质量检测可以提高电子合同的法律效力和保密性,保护用户的权益和信息安全。The effect of the above technical solution is that by collecting the user's pre-electronic signature data and setting the gray value threshold according to it, the quality of the electronic signature can be improved. Only electronic signature data that meets predetermined standards will be recognized and used, thus avoiding misjudgments or disputes caused by signature quality issues; by collecting electronic signature data uploaded by users in real time, and using the set gray value threshold to Conduct quality inspections. When electronic signature data with unqualified quality is detected, the system will promptly issue a prompt to re-sign and guide the user to make corrections to ensure the accuracy and reliability of the signature data; based on the user's electronic signature, the system can extract relevant indicators and conduct Statistical Analysis. Based on these data, the system can automatically adjust the gray value threshold. This can better adapt to different users' signature habits and requirements, and improve the intelligence and adaptability of the system; this solution can ensure that the quality of electronic signature data reaches certain standards and meets legal and security requirements. Effective electronic signature data quality testing can improve the legal validity and confidentiality of electronic contracts, and protect users' rights and information security.

实施例7Example 7

本实施例,所述数据采集模块,包括:In this embodiment, the data collection module includes:

界面提供模块:为用户提供预签字界面;Interface providing module: provides users with a pre-signature interface;

界面展示模块:将三次预签名提示通过预签字界面进行展示;Interface display module: Display three pre-signature prompts through the pre-signature interface;

签名数据采集模块:采集用户的三次预电子签名数据。Signature data collection module: collects the user's three pre-electronic signature data.

上述技术方案的工作原理为:系统为用户提供一个预签字界面,该界面可以展示预签名的提示信息;在预签字界面上,系统会显示三次预签名的提示信息。这些提示信息可以是与签名质量相关的指导,比如保持稳定的手势、使用适当的笔迹等;用户在预签字界面上进行三次预签名操作。系统会实时采集这些预签名数据,并将其保存下来。The working principle of the above technical solution is: the system provides the user with a pre-signing interface, which can display the pre-signing prompt information; on the pre-signing interface, the system will display the pre-signing prompt information three times. These prompt messages can be guidance related to signature quality, such as maintaining stable gestures, using appropriate handwriting, etc.; the user performs three pre-signing operations on the pre-signing interface. The system will collect these pre-signed data in real time and save it.

上述技术方案的效果为:通过给用户提供预签字界面和展示预签名提示,用户可以在签名之前得到指导和提示。这有助于用户注意签名的准确性和质量,从而提高签名的质量水平;通过采集用户的三次预电子签名数据,系统可以对比和分析这些数据,识别出潜在的错误或不规范的签名行为。这样可以帮助用户及时发现和纠正错误,从而降低签名错误的发生率;通过向用户提供预签字界面和展示预签名提示,用户能够更加全面地理解签名要求和标准。这有助于用户对自己的签名进行调整和改进,提高满意度和信心;采集用户的预电子签名数据可以作为后续电子签名数据质量检测和调整阈值的参考依据。系统可以根据这些数据进行分析和比对,为后续的签名过程提供更准确的判断和指导。The effect of the above technical solution is: by providing users with a pre-signing interface and displaying pre-signing prompts, users can receive guidance and prompts before signing. This helps users pay attention to the accuracy and quality of signatures, thereby improving the quality level of signatures; by collecting the user's three pre-electronic signature data, the system can compare and analyze these data to identify potential errors or irregular signature behavior. This can help users discover and correct errors in a timely manner, thereby reducing the incidence of signature errors; by providing users with a pre-signature interface and displaying pre-signature prompts, users can more fully understand signature requirements and standards. This helps users adjust and improve their signatures and improve satisfaction and confidence; collecting users' pre-electronic signature data can be used as a reference for subsequent electronic signature data quality testing and threshold adjustment. The system can analyze and compare based on these data to provide more accurate judgment and guidance for the subsequent signature process.

实施例8Example 8

本实施例,所述阈值设置模块,包括:In this embodiment, the threshold setting module includes:

第一灰度值生成模块:提取第一次电子签名数据中电子签名部分对应像素块,生成第一像素块灰度值集合;The first gray value generation module: extracts the pixel block corresponding to the electronic signature part in the first electronic signature data and generates the first pixel block gray value set;

第一灰度值遍历模块:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第一像素块灰度值集合中的像素块灰度值获取第一灰度阈值调节因子;The first grayscale value traversal module: traverses the grayscale values of the pixel block in the first pixel block grayscale value set, and obtains the first grayscale using the pixel block grayscale values in the first pixel block grayscale value set. threshold adjustment factor;

第二灰度值生成模块:提取第二次电子签名数据中电子签名部分对应像素块,生成第二像素块灰度值集合;The second gray value generation module: extracts the pixel block corresponding to the electronic signature part in the second electronic signature data, and generates the second pixel block gray value set;

第二灰度值遍历模块:遍历所述第二像素块灰度值集合中的像素块灰度值,利用所述第二像素块灰度值集合中的像素块灰度值获取第二灰度阈值调节因子;The second grayscale value traversal module: traverses the grayscale values of the pixel block in the second pixel block grayscale value set, and obtains the second grayscale using the pixel block grayscale value in the second pixel block grayscale value set. threshold adjustment factor;

第三灰度值生成模块:提取第三次电子签名数据中电子签名部分对应像素块,生成第三像素块灰度值集合;The third gray value generation module: extracts the pixel block corresponding to the electronic signature part in the third electronic signature data and generates the gray value set of the third pixel block;

第三灰度值遍历模块:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第三像素块灰度值集合中的像素块灰度值获取第三灰度阈值调节因子;The third grayscale value traversal module: traverses the pixel block grayscale values in the first pixel block grayscale value set, and obtains the third grayscale using the pixel block grayscale values in the third pixel block grayscale value set. threshold adjustment factor;

整合模块:利用所述第一灰度阈值调节因子、第二灰度阈值调节因子和第三灰度阈值调节因子整合生成电子签名灰度值阈值。Integration module: using the first grayscale threshold adjustment factor, the second grayscale threshold adjustment factor and the third grayscale threshold adjustment factor to integrate and generate the electronic signature grayscale value threshold.

上述技术方案的工作原理为:提取第一次电子签名数据中电子签名部分对应像素块,生成第一像素块灰度值集合;遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第一像素块灰度值集合中的像素块灰度值获取第一灰度阈值调节因子;提取第二次电子签名数据中电子签名部分对应像素块,生成第二像素块灰度值集合;遍历所述第二像素块灰度值集合中的像素块灰度值,利用所述第二像素块灰度值集合中的像素块灰度值获取第二灰度阈值调节因子;提取第三次电子签名数据中电子签名部分对应像素块,生成第三像素块灰度值集合;遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第三像素块灰度值集合中的像素块灰度值获取第三灰度阈值调节因子;利用所述第一灰度阈值调节因子、第二灰度阈值调节因子和第三灰度阈值调节因子整合生成电子签名灰度值阈值。The working principle of the above technical solution is: extract the pixel block corresponding to the electronic signature part in the first electronic signature data, generate a first pixel block gray value set; traverse the pixel block gray values in the first pixel block gray value set value, use the pixel block gray value in the first pixel block gray value set to obtain the first gray threshold adjustment factor; extract the pixel block corresponding to the electronic signature part in the second electronic signature data, and generate the second pixel block gray value Set of grayscale values; traverse the grayscale values of the pixel block in the second grayscale value set of the second pixel block, and obtain the second grayscale threshold adjustment factor using the grayscale values of the pixel block in the second grayscale value set of the second pixel block; Extract the pixel block corresponding to the electronic signature part in the third electronic signature data to generate a third pixel block gray value set; traverse the pixel block gray value in the first pixel block gray value set, and use the third pixel The pixel block gray value in the block gray value set obtains a third gray scale threshold adjustment factor; the first gray scale threshold adjustment factor, the second gray scale threshold adjustment factor and the third gray scale threshold adjustment factor are used to integrate and generate electronic Signature gray value threshold.

上述技术方案的效果为:通过提取多次电子签名数据的像素块灰度值集合,并根据每组像素块灰度值集合计算相应的灰度阈值调节因子,可以灵活地适应不同用户的签名风格和设备环境。这将有助于提高签名数据的准确性和可靠性;通过遍历像素块灰度值集合并利用相应的灰度阈值调节因子,可以更准确地确定电子签名的灰度值阈值。这将有助于减少误差和噪声,提高电子签名的准确性和一致性;通过整合不同灰度阈值调节因子生成电子签名灰度值阈值,可以增强电子签名的安全性。这将使签名数据更难以被篡改或伪造,提高签名的防伪能力。The effect of the above technical solution is: by extracting the gray value set of pixel blocks of multiple electronic signature data, and calculating the corresponding gray threshold adjustment factor based on the gray value set of each group of pixel blocks, it can flexibly adapt to the signature styles of different users. and device environment. This will help improve the accuracy and reliability of signature data; by traversing the gray value set of pixel blocks and utilizing the corresponding gray threshold adjustment factors, the gray value threshold of the electronic signature can be determined more accurately. This will help reduce errors and noise, and improve the accuracy and consistency of electronic signatures; by integrating different grayscale threshold adjustment factors to generate electronic signature grayscale value thresholds, the security of electronic signatures can be enhanced. This will make the signature data more difficult to be tampered with or forged, improving the anti-counterfeiting capabilities of the signature.

实施例9Example 9

本实施例,所述质量检测模块,包括:In this embodiment, the quality detection module includes:

数据采集更新模块:实时采集后续用户上传的电子签名数据;Data collection and update module: collects electronic signature data uploaded by subsequent users in real time;

灰度值提取模块:提取所述电子签名数据中电子签名部分的像素块的对应灰度值;Gray value extraction module: extract the corresponding gray value of the pixel block of the electronic signature part in the electronic signature data;

像素块计数模块:将所述灰度值与所述电子签名灰度值阈值进行比较,对灰度值低于所述电子签名灰度值阈值的像素块进行计数;Pixel block counting module: compares the grayscale value with the electronic signature grayscale value threshold, and counts pixel blocks whose grayscale value is lower than the electronic signature grayscale value threshold;

数据合规性判断模块:当灰度值低于所述电子签名灰度值阈值的像素块的数量超过预设的数量阈值时,则判定当前电子签名数据为不合格;Data compliance judgment module: when the number of pixel blocks with a grayscale value lower than the electronic signature grayscale value threshold exceeds the preset quantity threshold, it is determined that the current electronic signature data is unqualified;

签名提示模块:当当前用户的电子签名数据被判定为不合格时,则进行重新签名提示。Signature prompt module: When the current user's electronic signature data is judged to be unqualified, a re-signature prompt will be issued.

上述技术方案的工作原理为:实时采集后续用户上传的电子签名数据;提取所述电子签名数据中电子签名部分的像素块的对应灰度值;将所述灰度值与所述电子签名灰度值阈值进行比较,对灰度值低于所述电子签名灰度值阈值的像素块进行计数;当灰度值低于所述电子签名灰度值阈值的像素块的数量超过预设的数量阈值时,则判定当前电子签名数据为不合格;当当前用户的电子签名数据被判定为不合格时,则进行重新签名提示。The working principle of the above technical solution is to: collect electronic signature data uploaded by subsequent users in real time; extract the corresponding grayscale value of the pixel block of the electronic signature part in the electronic signature data; compare the grayscale value with the grayscale of the electronic signature Compare the value threshold and count the pixel blocks whose gray value is lower than the electronic signature gray value threshold; when the number of pixel blocks whose gray value is lower than the electronic signature gray value threshold exceeds the preset quantity threshold When, the current electronic signature data is judged to be unqualified; when the current user's electronic signature data is judged to be unqualified, a re-signing prompt is performed.

上述技术方案的效果为:通过实时采集和灰度值的比较,可以对电子签名数据进行质量检测。这有助于排除低质量的签名数据,确保只有高质量的签名数据被使用和存档;质量检测能够排除模糊、不清晰或过于浅淡的签名数据,这些数据可能是无效或伪造的。通过对签名数据进行重新签名提示,用户将得到机会进行修正和改进,以获得更准确和有力的签名结果;质量检测和重新签名提示的过程可以减少签名数据中存在的错误和缺陷。这有助于避免因签名数据质量问题而引发的纠纷、争议或法律问题,降低关联的风险;通过重新签名提示,用户可以及时了解到签名数据的不合格情况,并有机会进行修改和完善。这种反馈机制有助于提升用户体验,增加用户对签名系统和服务的满意度。The effect of the above technical solution is that through real-time collection and comparison of grayscale values, the quality of electronic signature data can be detected. This helps exclude low-quality signature data and ensures that only high-quality signature data is used and archived; quality inspection can exclude fuzzy, unclear or too shallow signature data, which may be invalid or forged. By re-signing prompts on signed data, users will be given the opportunity to make corrections and improvements to obtain more accurate and powerful signature results; the process of quality inspection and re-signing prompts can reduce errors and defects in signed data. This helps avoid disputes, controversies or legal issues caused by signature data quality issues and reduce associated risks; through re-signing prompts, users can learn about the unqualified signature data in a timely manner and have the opportunity to modify and improve it. This feedback mechanism helps improve user experience and increase user satisfaction with signature systems and services.

实施例10Example 10

本实施例,所述阈值调整模块,包括:In this embodiment, the threshold adjustment module includes:

合格数据采集模块:在重新签名提示之后,采集用户的重新签名提示之后的第一次合格的电子签名数据;Qualified data collection module: After the re-signing prompt, collect the user's first qualified electronic signature data after the re-signing prompt;

灰度值判断模块:提取所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值;Gray value judgment module: extract the gray value of all pixel blocks whose gray value is not lower than the electronic signature gray value threshold in the first qualified electronic signature data after the re-signing prompt;

调节补充模块:利用所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值设置灰度阈值调节补偿参数;Adjustment supplement module: Set the grayscale threshold adjustment compensation parameter by using the grayscale values of all pixel blocks whose grayscale values are not lower than the electronic signature grayscale value threshold in the first qualified electronic signature data after the re-signature prompt;

灰度值阈值调整模块:利用所述灰度阈值调节补偿参数对电子签名灰度值阈值进行调整,获得调整后的电子签名灰度值阈值。Gray value threshold adjustment module: uses the gray value threshold adjustment compensation parameter to adjust the electronic signature gray value threshold to obtain the adjusted electronic signature gray value threshold.

上述技术方案的工作原理为:在重新签名提示之后,系统会实时采集用户第一次合格的电子签名数据,确保获取到最新的签名信息;从重新签名提示后的第一次合格的电子签名数据中,提取所有灰度值不低于电子签名灰度值阈值的像素块的灰度值。这些像素块的灰度值是具有足够高质量的签名数据;利用提取的高质量签名数据的灰度值,设置灰度阈值调节补偿参数。该参数将用于根据实际签名情况对电子签名灰度值阈值进行调整;根据灰度阈值调节补偿参数,对电子签名灰度值阈值进行调整。调整后的电子签名灰度值阈值将更加适应用户的签名习惯和设备特性;系统可以根据用户的实际签名情况自动调整电子签名灰度值阈值,以适应不同用户的签名习惯和设备特性。这有助于提高签名数据的准确性和可信度,并进一步优化电子签名系统的用户体验和应用效果。The working principle of the above technical solution is: after the re-signing prompt, the system will collect the user's first qualified electronic signature data in real time to ensure that the latest signature information is obtained; from the first qualified electronic signature data after the re-signing prompt , extract the gray value of all pixel blocks whose gray value is not lower than the electronic signature gray value threshold. The grayscale values of these pixel blocks are signature data with sufficient high quality; using the extracted grayscale values of high-quality signature data, set the grayscale threshold to adjust the compensation parameters. This parameter will be used to adjust the grayscale value threshold of the electronic signature based on the actual signature situation; adjust the compensation parameter based on the grayscale threshold to adjust the grayscale value threshold of the electronic signature. The adjusted electronic signature gray value threshold will be more adaptable to the user's signature habits and device characteristics; the system can automatically adjust the electronic signature gray value threshold according to the user's actual signature to adapt to the signature habits and device characteristics of different users. This helps improve the accuracy and credibility of signature data and further optimizes the user experience and application effects of the electronic signature system.

上述技术方案的效果为:过采集用户重新签名后的第一次合格的电子签名数据,并提取其中高质量的像素块灰度值,系统可以根据用户个体的签名特征和习惯来进行电子签名灰度值阈值的调整。这样可以更好地适应不同用户的签名风格和设备环境;通过调整电子签名灰度值阈值,系统能够过滤掉低质量的像素块灰度值,保留高质量的签名数据。这有助于提高签名数据的准确性和可信度,减少噪声和干扰对签名结果的影响;通过自动调整电子签名灰度值阈值,系统可以更好地适应不同用户的签名习惯和设备特性。这样可以提高用户在使用电子签名系统时的便利性和效率,同时增强签名结果的一致性和可读性;调整电子签名灰度值阈值可以有效抑制恶意篡改和伪造签名的风险。通过提取高质量的签名数据,系统可以增强对伪造签名的检测和防范能力,提高签名的安全性。The effect of the above technical solution is: by collecting the first qualified electronic signature data after the user re-signs, and extracting the high-quality pixel block gray value, the system can perform electronic signature grayscale according to the user's individual signature characteristics and habits. Adjustment of degree threshold. This can better adapt to different users' signature styles and device environments; by adjusting the electronic signature grayscale value threshold, the system can filter out low-quality pixel block grayscale values and retain high-quality signature data. This helps to improve the accuracy and credibility of signature data and reduce the impact of noise and interference on signature results; by automatically adjusting the electronic signature gray value threshold, the system can better adapt to the signature habits and device characteristics of different users. This can improve the convenience and efficiency of users when using the electronic signature system, while enhancing the consistency and readability of the signature results; adjusting the gray value threshold of the electronic signature can effectively suppress the risk of malicious tampering and forged signatures. By extracting high-quality signature data, the system can enhance the detection and prevention capabilities of forged signatures and improve signature security.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the invention. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention is also intended to include these modifications and variations.

Claims (10)

1.一种电子签名数据质量检测方法,其特征在于,所述电子签名数据质量检测方法包括:1. An electronic signature data quality detection method, characterized in that the electronic signature data quality detection method includes: 采集用户的三次预电子签名数据;Collect the user’s three pre-electronic signature data; 根据所述电子签名数据设置电子签名灰度值阈值;Set an electronic signature gray value threshold according to the electronic signature data; 实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示;Collect electronic signature data uploaded by subsequent users in real time, use the electronic signature gray value threshold to perform quality inspection on the electronic signature data, and provide re-signing prompts for electronic signature data that fails the quality inspection; 提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整。Extract the user's electronic signature, and adjust the electronic signature gray value threshold according to the electronic signature. 2.根据权利要求1所述电子签名数据质量检测方法,其特征在于,采集用户的三次电子签名数据,包括:2. The electronic signature data quality detection method according to claim 1, characterized in that collecting the user's three electronic signature data includes: 为用户提供预签字界面;Provide users with a pre-signature interface; 将三次预签名提示通过预签字界面进行展示;Display three pre-signature prompts through the pre-signature interface; 采集用户的三次预电子签名数据。Collect the user's three pre-electronic signature data. 3.根据权利要求1所述电子签名数据质量检测方法,其特征在于,根据所述电子签名数据设置电子签名灰度值阈值,包括:3. The electronic signature data quality detection method according to claim 1, characterized in that setting the electronic signature gray value threshold according to the electronic signature data includes: 提取第一次电子签名数据中电子签名部分对应像素块,生成第一像素块灰度值集合;Extract the pixel block corresponding to the electronic signature part in the first electronic signature data, and generate a gray value set of the first pixel block; 遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第一像素块灰度值集合中的像素块灰度值获取第一灰度阈值调节因子;Traverse the pixel block grayscale values in the first pixel block grayscale value set, and obtain the first grayscale threshold adjustment factor using the pixel block grayscale values in the first pixel block grayscale value set; 提取第二次电子签名数据中电子签名部分对应像素块,生成第二像素块灰度值集合;Extract the pixel block corresponding to the electronic signature part in the second electronic signature data, and generate the gray value set of the second pixel block; 遍历所述第二像素块灰度值集合中的像素块灰度值,利用所述第二像素块灰度值集合中的像素块灰度值获取第二灰度阈值调节因子;Traverse the pixel block grayscale values in the second pixel block grayscale value set, and obtain the second grayscale threshold adjustment factor using the pixel block grayscale values in the second pixel block grayscale value set; 提取第三次电子签名数据中电子签名部分对应像素块,生成第三像素块灰度值集合;Extract the pixel block corresponding to the electronic signature part in the third electronic signature data, and generate the gray value set of the third pixel block; 遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第三像素块灰度值集合中的像素块灰度值获取第三灰度阈值调节因子;Traverse the pixel block grayscale values in the first pixel block grayscale value set, and obtain the third grayscale threshold adjustment factor using the pixel block grayscale values in the third pixel block grayscale value set; 利用所述第一灰度阈值调节因子、第二灰度阈值调节因子和第三灰度阈值调节因子整合生成电子签名灰度值阈值。The electronic signature gray value threshold is generated by integrating the first gray scale threshold adjustment factor, the second gray scale threshold adjustment factor and the third gray scale threshold adjustment factor. 4.根据权利要求1所述电子签名数据质量检测方法,其特征在于,实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示,包括:4. The electronic signature data quality detection method according to claim 1, characterized in that the electronic signature data uploaded by subsequent users is collected in real time, and the electronic signature gray value threshold is used to perform quality detection on the electronic signature data. Qualified electronic signature data for re-signing prompts include: 实时采集后续用户上传的电子签名数据;Collect electronic signature data uploaded by subsequent users in real time; 提取所述电子签名数据中电子签名部分的像素块的对应灰度值;Extract the corresponding grayscale value of the pixel block of the electronic signature part in the electronic signature data; 将所述灰度值与所述电子签名灰度值阈值进行比较,对灰度值低于所述电子签名灰度值阈值的像素块进行计数;Compare the grayscale value with the electronic signature grayscale value threshold, and count the pixel blocks whose grayscale value is lower than the electronic signature grayscale value threshold; 当灰度值低于所述电子签名灰度值阈值的像素块的数量超过预设的数量阈值时,则判定当前电子签名数据为不合格;When the number of pixel blocks whose grayscale value is lower than the electronic signature grayscale value threshold exceeds the preset quantity threshold, it is determined that the current electronic signature data is unqualified; 当当前用户的电子签名数据被判定为不合格时,则进行重新签名提示。When the current user's electronic signature data is judged to be unqualified, a re-signing prompt will be issued. 5.根据权利要求1所述电子签名数据质量检测方法,其特征在于,提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整,包括:5. The electronic signature data quality detection method according to claim 1, characterized by extracting the user's electronic signature and adjusting the electronic signature gray value threshold according to the electronic signature, including: 在重新签名提示之后,采集用户的重新签名提示之后的第一次合格的电子签名数据;After the re-signing prompt, collect the user's first qualified electronic signature data after the re-signing prompt; 提取所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值;Extract the grayscale values of all pixel blocks whose grayscale values are not lower than the electronic signature grayscale value threshold in the first qualified electronic signature data after the re-signature prompt; 利用所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值设置灰度阈值调节补偿参数;Setting the grayscale threshold adjustment compensation parameter using the grayscale values of all pixel blocks whose grayscale values are not lower than the electronic signature grayscale value threshold in the first qualified electronic signature data after the re-signature prompt; 利用所述灰度阈值调节补偿参数对电子签名灰度值阈值进行调整,获得调整后的电子签名灰度值阈值。The grayscale value threshold of the electronic signature is adjusted using the grayscale threshold adjustment compensation parameter to obtain the adjusted grayscale value threshold of the electronic signature. 6.一种电子签名数据质量检测系统,其特征在于,所述电子签名数据质量检测系统包括:6. An electronic signature data quality detection system, characterized in that the electronic signature data quality detection system includes: 数据采集模块:采集用户的三次预电子签名数据;Data collection module: collects the user’s three pre-electronic signature data; 阈值设置模块:根据所述电子签名数据设置电子签名灰度值阈值;Threshold setting module: sets the electronic signature gray value threshold according to the electronic signature data; 质量检测模块:实时采集后续用户上传的电子签名数据,利用所述电子签名灰度值阈值对电子签名数据进行质量检测,针对质量检测不合格的电子签名数据进行重新签名提示;Quality detection module: Collect electronic signature data uploaded by subsequent users in real time, use the electronic signature gray value threshold to perform quality detection on the electronic signature data, and provide re-signing prompts for electronic signature data that fails the quality detection; 阈值调整模块:提取用户的电子签名情况,根据所述电子签名情况对电子签名灰度值阈值进行调整。Threshold adjustment module: extracts the user's electronic signature and adjusts the electronic signature gray value threshold according to the electronic signature. 7.根据权利要求6所述电子签名数据质量检测系统,其特征在于,所述数据采集模块,包括:7. The electronic signature data quality detection system according to claim 6, characterized in that the data collection module includes: 界面提供模块:为用户提供预签字界面;Interface providing module: provides users with a pre-signature interface; 界面展示模块:将三次预签名提示通过预签字界面进行展示;Interface display module: Display three pre-signature prompts through the pre-signature interface; 签名数据采集模块:采集用户的三次预电子签名数据。Signature data collection module: collects the user's three pre-electronic signature data. 8.根据权利要求6所述电子签名数据质量检测系统,其特征在于,所述阈值设置模块,包括:8. The electronic signature data quality detection system according to claim 6, characterized in that the threshold setting module includes: 第一灰度值生成模块:提取第一次电子签名数据中电子签名部分对应像素块,生成第一像素块灰度值集合;The first gray value generation module: extracts the pixel block corresponding to the electronic signature part in the first electronic signature data and generates the first pixel block gray value set; 第一灰度值遍历模块:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第一像素块灰度值集合中的像素块灰度值获取第一灰度阈值调节因子;The first grayscale value traversal module: traverses the grayscale values of the pixel block in the first pixel block grayscale value set, and obtains the first grayscale using the pixel block grayscale values in the first pixel block grayscale value set. threshold adjustment factor; 第二灰度值生成模块:提取第二次电子签名数据中电子签名部分对应像素块,生成第二像素块灰度值集合;The second gray value generation module: extracts the pixel block corresponding to the electronic signature part in the second electronic signature data, and generates the second pixel block gray value set; 第二灰度值遍历模块:遍历所述第二像素块灰度值集合中的像素块灰度值,利用所述第二像素块灰度值集合中的像素块灰度值获取第二灰度阈值调节因子;The second grayscale value traversal module: traverses the grayscale values of the pixel block in the second pixel block grayscale value set, and obtains the second grayscale using the pixel block grayscale value in the second pixel block grayscale value set. threshold adjustment factor; 第三灰度值生成模块:提取第三次电子签名数据中电子签名部分对应像素块,生成第三像素块灰度值集合;The third gray value generation module: extracts the pixel block corresponding to the electronic signature part in the third electronic signature data and generates the gray value set of the third pixel block; 第三灰度值遍历模块:遍历所述第一像素块灰度值集合中的像素块灰度值,利用所述第三像素块灰度值集合中的像素块灰度值获取第三灰度阈值调节因子;The third grayscale value traversal module: traverses the pixel block grayscale values in the first pixel block grayscale value set, and obtains the third grayscale using the pixel block grayscale values in the third pixel block grayscale value set. threshold adjustment factor; 整合模块:利用所述第一灰度阈值调节因子、第二灰度阈值调节因子和第三灰度阈值调节因子整合生成电子签名灰度值阈值。Integration module: using the first grayscale threshold adjustment factor, the second grayscale threshold adjustment factor and the third grayscale threshold adjustment factor to integrate and generate the electronic signature grayscale value threshold. 9.根据权利要求6所述电子签名数据质量检测系统,其特征在于,所述质量检测模块,包括:9. The electronic signature data quality detection system according to claim 6, characterized in that the quality detection module includes: 数据采集更新模块:实时采集后续用户上传的电子签名数据;Data collection and update module: collects electronic signature data uploaded by subsequent users in real time; 灰度值提取模块:提取所述电子签名数据中电子签名部分的像素块的对应灰度值;Gray value extraction module: extract the corresponding gray value of the pixel block of the electronic signature part in the electronic signature data; 像素块计数模块:将所述灰度值与所述电子签名灰度值阈值进行比较,对灰度值低于所述电子签名灰度值阈值的像素块进行计数;Pixel block counting module: compares the grayscale value with the electronic signature grayscale value threshold, and counts pixel blocks whose grayscale value is lower than the electronic signature grayscale value threshold; 数据合规性判断模块:当灰度值低于所述电子签名灰度值阈值的像素块的数量超过预设的数量阈值时,则判定当前电子签名数据为不合格;Data compliance judgment module: when the number of pixel blocks with a grayscale value lower than the electronic signature grayscale value threshold exceeds the preset quantity threshold, it is determined that the current electronic signature data is unqualified; 签名提示模块:当当前用户的电子签名数据被判定为不合格时,则进行重新签名提示。Signature prompt module: When the current user's electronic signature data is judged to be unqualified, a re-signature prompt will be issued. 10.根据权利要求6所述电子签名数据质量检测系统,其特征在于,所述阈值调整模块,包括:10. The electronic signature data quality detection system according to claim 6, characterized in that the threshold adjustment module includes: 合格数据采集模块:在重新签名提示之后,采集用户的重新签名提示之后的第一次合格的电子签名数据;Qualified data collection module: After the re-signing prompt, collect the user's first qualified electronic signature data after the re-signing prompt; 灰度值判断模块:提取所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值;Gray value judgment module: extract the gray value of all pixel blocks whose gray value is not lower than the electronic signature gray value threshold in the first qualified electronic signature data after the re-signing prompt; 调节补充模块:利用所述重新签名提示之后的第一次合格的电子签名数据的所有灰度值不低于电子签名灰度值阈值的像素块的灰度值设置灰度阈值调节补偿参数;Adjustment supplement module: Set the grayscale threshold adjustment compensation parameter by using the grayscale values of all pixel blocks whose grayscale values are not lower than the electronic signature grayscale value threshold in the first qualified electronic signature data after the re-signature prompt; 灰度值阈值调整模块:利用所述灰度阈值调节补偿参数对电子签名灰度值阈值进行调整,获得调整后的电子签名灰度值阈值。Gray value threshold adjustment module: uses the gray value threshold adjustment compensation parameter to adjust the electronic signature gray value threshold to obtain the adjusted electronic signature gray value threshold.
CN202311525072.3A 2023-11-16 2023-11-16 Electronic signature data quality detection method and system Active CN117235813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311525072.3A CN117235813B (en) 2023-11-16 2023-11-16 Electronic signature data quality detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311525072.3A CN117235813B (en) 2023-11-16 2023-11-16 Electronic signature data quality detection method and system

Publications (2)

Publication Number Publication Date
CN117235813A true CN117235813A (en) 2023-12-15
CN117235813B CN117235813B (en) 2024-01-23

Family

ID=89095333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311525072.3A Active CN117235813B (en) 2023-11-16 2023-11-16 Electronic signature data quality detection method and system

Country Status (1)

Country Link
CN (1) CN117235813B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119420486A (en) * 2024-11-28 2025-02-11 广西壮族自治区数字证书认证中心有限公司 Mobile medical electronic signature system based on electronic authentication

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011091517A (en) * 2009-10-21 2011-05-06 Hitachi Ltd Signcryption system and signcryption generation method
CN102387142A (en) * 2011-10-20 2012-03-21 北京天地融科技有限公司 Tool, authentication method and system for electronic signature
CN104679788A (en) * 2013-12-02 2015-06-03 中国移动通信集团广东有限公司 Image processing method and device as well as terminal equipment
WO2018145127A1 (en) * 2017-02-06 2018-08-09 ShoCard, Inc. Electronic identification verification methods and systems with storage of certification records to a side chain
CN108667622A (en) * 2018-05-21 2018-10-16 平安科技(深圳)有限公司 Electron underwriting authentication method, system, computer equipment and storage medium
EP3511856A1 (en) * 2018-01-16 2019-07-17 Nokia Solutions and Networks Oy Method, apparatus and computer readable medium to detect at least one change in continuous data
CN112926099A (en) * 2021-04-02 2021-06-08 珠海市鸿瑞信息技术股份有限公司 Management system based on remote control identity authentication
CN113158887A (en) * 2021-04-19 2021-07-23 福建捷宇电脑科技有限公司 Electronic signature authentication method and equipment for improving identification accuracy of electronic signature
CN114944016A (en) * 2022-05-31 2022-08-26 南方电网深圳数字电网研究院有限公司 Method and device for acquiring electronic signature
CN115270711A (en) * 2022-08-04 2022-11-01 中国平安人寿保险股份有限公司 Electronic signature method, electronic signature device, electronic apparatus, and storage medium
CN116612538A (en) * 2023-05-22 2023-08-18 河南大学 Online confirmation method of electronic contract content

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011091517A (en) * 2009-10-21 2011-05-06 Hitachi Ltd Signcryption system and signcryption generation method
CN102387142A (en) * 2011-10-20 2012-03-21 北京天地融科技有限公司 Tool, authentication method and system for electronic signature
CN104679788A (en) * 2013-12-02 2015-06-03 中国移动通信集团广东有限公司 Image processing method and device as well as terminal equipment
WO2018145127A1 (en) * 2017-02-06 2018-08-09 ShoCard, Inc. Electronic identification verification methods and systems with storage of certification records to a side chain
EP3511856A1 (en) * 2018-01-16 2019-07-17 Nokia Solutions and Networks Oy Method, apparatus and computer readable medium to detect at least one change in continuous data
CN108667622A (en) * 2018-05-21 2018-10-16 平安科技(深圳)有限公司 Electron underwriting authentication method, system, computer equipment and storage medium
CN112926099A (en) * 2021-04-02 2021-06-08 珠海市鸿瑞信息技术股份有限公司 Management system based on remote control identity authentication
CN113158887A (en) * 2021-04-19 2021-07-23 福建捷宇电脑科技有限公司 Electronic signature authentication method and equipment for improving identification accuracy of electronic signature
CN114944016A (en) * 2022-05-31 2022-08-26 南方电网深圳数字电网研究院有限公司 Method and device for acquiring electronic signature
CN115270711A (en) * 2022-08-04 2022-11-01 中国平安人寿保险股份有限公司 Electronic signature method, electronic signature device, electronic apparatus, and storage medium
CN116612538A (en) * 2023-05-22 2023-08-18 河南大学 Online confirmation method of electronic contract content

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘峪含: "基于二次签字验证的高准确性手写签名认证系统研究", 自动化应用 *
毕翔等: "基于影像识别技术的电子签名认证研究", 计算机与数字工程 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119420486A (en) * 2024-11-28 2025-02-11 广西壮族自治区数字证书认证中心有限公司 Mobile medical electronic signature system based on electronic authentication
CN119420486B (en) * 2024-11-28 2025-09-09 广西壮族自治区数字证书认证中心有限公司 Mobile medical electronic signature system based on electronic authentication

Also Published As

Publication number Publication date
CN117235813B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
CN118470005B (en) A defect detection system based on visual recognition technology
CN117235813B (en) Electronic signature data quality detection method and system
CN110458662A (en) Anti-fraud risk control method and device
CN117710118B (en) Intelligent claim settlement analysis method and system
CN106203024A (en) Method and system are signed in a kind of long-distance video face
WO2021217944A1 (en) Method and apparatus for verifying electronic signature, and computer device and storage medium
CN109948613A (en) A kind of Infrared image recognition and device of arrester
CN107607205A (en) Wire harness color sequences detecting system and method
WO2025124272A1 (en) Active and trace back based trust management method for crowd sensing
WO2023207557A1 (en) Method and apparatus for evaluating robustness of service prediction model, and computing device
CN114202768B (en) Method and device for evaluating risk of insurance policy claim settlement, electronic equipment and storage medium
CN118898518A (en) System and method for sharing transaction metadata information of financial assets based on blockchain
CN113094244B (en) An intelligent detection system for computer room operation in data centers
CN118586779A (en) Aerial work vehicle production defect recognition and analysis system based on image recognition
CN117972687A (en) Block chain-based intelligent power monitoring system
CN116668039B (en) Computer remote login recognition system and method based on artificial intelligence
CN120410463B (en) Automatic invoice auditing and intelligent settlement system for automobile road rescue
CN108125686A (en) A kind of anti-fraud method and system
CN113239339A (en) Certificate shooting method and device, computer equipment and storage medium
CN115811487A (en) Abnormal detection method, device, medium and electronic equipment for system flow data
CN119887246A (en) Engineering quality inspection detection anti-fake method and system based on cloud platform
CN117094021B (en) Electronic signature encryption protection system and method based on Internet
CN120318840A (en) A real estate information verification method and system based on image technology
CN115439103B (en) A work ticket verification management method based on signature specification verification
CN118072083A (en) Lithium battery pole piece defect detection system and method

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