Electronic signature online signing system and method based on blockchain
Through the blockchain-based electronic signature online signing system, it provides seam signature and query signature modes, which solves the problems of single electronic signature technology and difficulty in adjustment, achieves the optimization of signing effect and data reliability, and avoids the need for signatures. Overlap and incompleteness phenomena.
Patent Information
- Application Number
- CN202110941023.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-17
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-08-17
AI Technical Summary
The existing electronic signature technology is relatively single in terms of signing rules and cannot be effectively adjusted, resulting in unsatisfactory signing results, especially in special circumstances where overlap or incompleteness is prone to occur.
Adopt a blockchain-based electronic signature online signing system, including an electronic signature mode selection module, a signature location determination module and a signature information statistics module. The signature information is stored through the blockchain, and it provides a seam signature mode and a query signature mode. Ensure the accuracy of the signature location and the reliability of the information.
It realizes the flexible selection and adjustment of electronic signature mode, avoids overlapping and incomplete signatures, and ensures the optimization of the signing effect. At the same time, it utilizes the non-tampering and anti-loss properties of the blockchain to ensure the authenticity of the data. and credibility.
Smart Images

Figure CN113609818B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a blockchain-based electronic signature online signing system and method. Background Art
[0002] With the rapid development of computer technology, computer technology has gradually been applied to people's lives, bringing great convenience to people. In terms of document signing, compared with traditional paper information, the use of electronic signatures not only reduces paper waste for people, but also reduces environmental pollution. However, the existing electronic signature technology is not perfect enough, the signing rules are relatively simple, and it is impossible to adjust the electronic signatures in special environments (multiple electronic signatures overlap), which makes the signing effect unsatisfactory.
[0003] In response to the above situation, we need a blockchain-based electronic signature online signing system and method that can select the electronic signature mode and adjust the electronic signature according to special situations that arise in different electronic signature modes, so as to avoid overlapping and incomplete electronic signatures and ensure the signing effect of the electronic signature. Summary of the invention
[0004] The purpose of the present invention is to provide a blockchain-based electronic signature online signing system and method to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: an electronic signature online signing system based on blockchain, comprising:
[0006] An electronic signature mode selection module, which is used to select an electronic signature mode, wherein the electronic signature mode includes a saddle signature mode and a query signature mode;
[0007] An electronic signature signing position determination module, which first establishes an electronic signature signing model, and in the established electronic signature signing model, confirms the signature position for different electronic signature modes in the electronic signature mode selection module, and after the signing positions of all electronic signatures are determined, signs each electronic signature according to the position of the electronic signature in the electronic signature signing model;
[0008] An electronic signature signing information statistics module is used to count the electronic signature modes and corresponding positions and numbers in the corresponding files, and also count the signatories of each electronic signature and the corresponding signing information;
[0009] An electronic signature information query module, which is used to collect statistics on the information in the electronic signature information statistics module;
[0010] The contents counted by the electronic signature information statistics module and the query information of the electronic signature information query module will be stored on the blockchain. When the blockchain saves the data, it will automatically obtain the current time and store the current time in the form of a timestamp together with the data to be saved.
[0011] When the content counted by the electronic signature information statistics module and the query information of the electronic signature information query module have been saved in the blockchain, when the content counted by the electronic signature information statistics module or the query information of the electronic signature information query module changes, the blockchain will re-save the data in the module corresponding to the changed data for each change.
[0012] The present invention realizes online signing of electronic signatures through the cooperation of various modules, determines the signature position under different electronic signature modes, ensures the signing effect of electronic signatures, and counts and queries the electronic signature information at the same time, so as to quickly understand the electronic signature information, save the user's search time, and bring great convenience to the user. The present invention saves the statistical content of the electronic signature signing information statistics module and the query information of the electronic signature signing information query module in the form of blockchain, because blockchain has the functions of information immutability and anti-loss. After the data of the electronic signature signing information statistics module and the electronic signature signing information query module are saved in the form of blockchain, the user will not be able to tamper with the data, ensuring the authenticity and credibility of the data. At the same time, when the user deletes the data by mistake, it can be restored through other blockchain data backups to prevent data loss.
[0013] Furthermore, the electronic signature position determination module includes a saddle signature mode position determination module and a query signature mode position determination module.
[0014] The saddle signature mode position determination module determines the position of the electronic signature in the saddle signature mode;
[0015] The query signature mode position determination module determines the position of the electronic signature in the query signature mode;
[0016] The electronic signature is imported from an external signature hardware device or is called from an electronic signature on a designated server in an online state.
[0017] After the user selects the electronic signature mode and imports or calls the electronic signature, the electronic signature module will directly save the selection time of the electronic signature mode, the content of the selected electronic signature mode, the source of the electronic signature, and the time of importing or calling the electronic signature in the form of blockchain.
[0018] After the saving is completed, the electronic signature module will update the data every second unit time and save it to the blockchain again. The location where the updated data is saved in the blockchain will be adjacent to the location where the original data is saved.
[0019] The source of the electronic signature is to determine whether the electronic signature is imported from an external signature hardware device or whether the electronic signature on a designated server is called in an online state.
[0020] The electronic signature position determination module of the present invention includes two modules, namely, a saddle signature mode position determination module and a query signature mode position determination module, which respectively determine the position of the electronic signature in the saddle signature mode and the query signature mode, and different electronic signature modes correspond to different electronic signature position determination methods. The diversity of electronic signature acquisition methods ensures the diversity of electronic signatures.
[0021] Furthermore, after obtaining the electronic signature and before determining the electronic signature position, the electronic signature signing position determination module first identifies the size and content of the obtained electronic signature. The specific method for identifying the size and content of the electronic signature is as follows:
[0022] S1.1. Obtain the intersection of the upper edge of the electronic signature and the horizontal line as the tangent point a1, and obtain the intersection of the left edge of the electronic signature and the vertical line as the tangent point a2;
[0023] S1.2. Draw a perpendicular line b1 through the tangent point a1 and a perpendicular line b2 through the tangent point a2. The intersection of b1 and b2 is denoted as a3. Calculate the line segment l a1a3 With line segment l a2a3 The average value of , the size of the electronic signature is recorded as the radius The circle with center a3;
[0024] S1.3, obtain the midpoint a4 of the space occupied by each font in the electronic signature, connect a3 and a4, and determine whether a4 is on the ray L. a3a1 The relative position of the ray L a3a1 With ray L a3a4 The angle β between
[0025] When a4 is on ray L a3a1 On the right side, we determine that ray La3a1 With ray L a3a4 The angle between is positive.
[0026] When a4 is on ray L a3a1 On the left side, we determine that ray L a3a1 With ray L a3a4 The angle between them is negative;
[0027] S1.4, correct the font angle, rotate the font counterclockwise by β along the midpoint a4;
[0028] S1.5, matching the font corrected by angle in step S1.4 with the font comparison library,
[0029] When all fonts are matched successfully, the electronic signature is deemed qualified and can be used.
[0030] When the font matching fails, the electronic signature is deemed unqualified and cannot be used.
[0031] After obtaining the electronic signature and before determining the electronic signature position, the electronic signature position determination module of the present invention first identifies the size and content of the obtained electronic signature in order to detect the electronic signature and avoid the situation where the electronic signature is unclear and the content of the electronic signature cannot be identified after the signing is completed. a3a1 With ray L a3a4 The angle between the two is set to be positive or negative so that the font angle can be unified when correcting. When the angle is negative, the font is rotated counterclockwise by β along the midpoint a4, that is, the font is rotated counterclockwise by -|β| along the midpoint a4, that is, the font is rotated clockwise by |β| along the midpoint a4.
[0032] Furthermore, the query signature mode position determination module first obtains the keyword that needs to be electronically signed in the query signature mode, and then determines the keyword position by searching, calculates the length d of the keyword, divides the length of the keyword by 2 to obtain the midpoint c corresponding to the keyword, and overlaps the center a3 of the electronic signature with the midpoint c corresponding to the keyword to obtain the electronic signature position corresponding to the keyword in the query signature mode.
[0033] After obtaining the electronic signature position corresponding to the keyword, the query signature mode position determination module will directly save the electronic signature position and the keyword in the form of a blockchain. While saving the electronic signature position, the blockchain will automatically obtain the current time and record the data storage time in the form of a timestamp.
[0034] The signature mode query position determination module of the present invention determines the center position of the electronic signature by determining the midpoint position of the keyword, and further determines the position of the electronic signature by the center position of the electronic signature.
[0035] Furthermore, when the query signature mode position determination module determines the keyword position by searching, if a certain keyword retrieved is close to the edge of the page so that the corresponding electronic signature range exceeds the page, the electronic signature needs to be translated or abbreviated.
[0036] First, the electronic signature is adjusted to make the edge of the electronic signature tangent to the edge of the page, and then the content of the electronic signature is identified to determine the feasibility of the electronic signature.
[0037] When electronic signature is feasible, the adjustment method will be confirmed.
[0038] When electronic signature is not feasible, it is necessary to adjust the electronic signature to the limit of abbreviated value, which not only meets the feasibility of electronic signature but also minimizes its size, and then perform translation adjustment, that is, the electronic signature after the adjustment of the limit of abbreviated value is translated up, down, left, and right according to the different edges of the adjacent pages, so that the edge of the electronic signature is tangent to the edge of the page, and the electronic signature has an overlapping part with the keyword.
[0039] When the electronic signature after the thumbnail limit adjustment is close to the left edge of the page, the electronic signature after the thumbnail limit adjustment is shifted right accordingly.
[0040] When the electronic signature after the abbreviated limit adjustment is close to the right edge of the page, the electronic signature after the abbreviated limit adjustment is shifted to the left accordingly.
[0041] When the electronic signature after the abbreviation limit adjustment is close to the upper edge of the page, the electronic signature after the abbreviation limit adjustment is shifted downward accordingly.
[0042] When the electronic signature after the adjustment of the abbreviation limit is close to the lower edge of the page, the electronic signature after the adjustment of the abbreviation limit is translated upward accordingly;
[0043] The methods for judging the feasibility of electronic signature are as follows:
[0044] S2.1, identify the size and content of the electronic signature after abbreviated adjustment, determine whether the abbreviated electronic signature is qualified, and record the identified signature content m;
[0045] S2.2. When the electronic signature after abbreviated adjustment fails to meet the standards, the electronic signature after abbreviated adjustment is deemed infeasible;
[0046] S2.3. When the electronic signature after the thumbnail adjustment is qualified, the recognized signature content m is compared with the recognized signature content of the electronic signature before the adjustment. The signature content is the result of matching the angle-corrected font in the electronic signature with the font comparison library.
[0047] If m is the same as the signature content recognized by the electronic signature before adjustment, then the electronic signature after abbreviated adjustment is deemed feasible.
[0048] If m is different from the signature content recognized by the electronic signature before adjustment, the electronic signature after abbreviated adjustment is determined to be infeasible;
[0049] The method for adjusting the abbreviation limit of an electronic signature is as follows:
[0050] S3.1. When the abbreviated and adjusted electronic signature is not feasible, the size of the abbreviated and adjusted electronic signature is increased by the first unit length, and the feasibility of the adjusted electronic signature is determined again;
[0051] S3.2, repeat the operation of step S3.1 until the adjusted electronic signature is feasible, and obtain the size of the adjusted electronic signature at this time;
[0052] The method for determining whether the edge of the electronic signature is tangent to the edge of the page is as follows:
[0053] S4.1, obtaining a screen image, and performing grayscale processing on the screen image;
[0054] S4.2, calculating the difference between the grayscale values of adjacent pixels in the processed image, and when the obtained difference is greater than a first threshold, marking the pixel with a smaller grayscale value corresponding to the difference;
[0055] S4.3, determining the positions of the marked pixels, when the marked pixels are adjacent and in a chain structure, and the number of the marked pixels in the chain structure is greater than or equal to a second threshold, determining the marked pixels as the edge of the page;
[0056] S4.4. Determine the number of pixels where the red pixels in the electronic signature overlap with the edge of the page. When the number of pixels where the red pixels in the electronic signature overlap with the edge of the page is equal to 1, it is determined that the edge of the electronic signature is tangent to the edge of the page.
[0057] In the query signature mode position determination module, when determining the keyword position by searching, if a certain keyword retrieved is not in the same line, the lengths d1 and d2 of the keyword on two lines are obtained respectively, and the ratios of d1 and d2 to the keyword length d are calculated respectively. , , get , The larger value between the two ,
[0058] Will The midpoint of the corresponding part of the keyword is overlapped with the center a3 of the electronic signature to obtain the electronic signature position corresponding to the keyword in this case.
[0059] If the electronic signature range corresponding to the keyword in this case exceeds the page, the electronic signature needs to be moved or abbreviated.
[0060] After the electronic signature is translated or abbreviated, the query signature mode position determination module will count the positions of the electronic signature after the translation and abbreviated adjustment, and save the statistical results in the form of blockchain.
[0061] In the query signature mode position determination module of the present invention, when determining the keyword position by retrieval, if a certain keyword retrieved is close to the edge of the page so that the corresponding electronic signature range exceeds the page, the electronic signature needs to be translated or abbreviated to ensure the integrity of the electronic signature. However, when performing the abbreviated adjustment, the electronic signature becomes smaller, which may cause the electronic signature to become unclear and the content of the electronic signature to be unrecognizable. Therefore, it is necessary to judge the feasibility of the electronic signature after abbreviating; when performing the translation operation, the edge of the electronic signature is tangent to the edge of the page, and the electronic signature and the keyword have an overlapping part, in order to minimize the translation distance and ensure the correctness of the electronic signature signing position, and avoid the phenomenon of the electronic signature being separated from the keyword. When a certain keyword retrieved is not in the same line, it is necessary to first determine which line the electronic signature is signed in by the length of part of the keyword, and then adjust the electronic signature.
[0062] Further, when the saddle signature mode position determination module determines the position of the electronic signature in the saddle signature mode, it is necessary to obtain the number of file pages n corresponding to the saddle signature and the size of the electronic signature. The size of the electronic signature is the radius of The electronic signature is divided into n parts according to the diameter. The width of each electronic signature is , sign each electronic signature in the same position on the edge of different pages in sequence, and make the edge of each electronic signature tangent to the edge of the page,
[0063] The electronic signatures signed in the saddle-seal mode are sorted according to the size of the document pages, and each corresponding electronic signature in each document page can be reassembled into a complete electronic signature.
[0064] The specific position of the same position on the edges of different pages is adjusted up and down by the signatory using the mouse.
[0065] When the saddle-seal mode position determination module of the present invention determines the position of the electronic signature in the saddle-seal mode, it needs to allocate it according to the number of pages of the file so that each page has the content information of the electronic signature, while ensuring that the partial electronic signatures in all file pages can be pieced together into a complete electronic signature, so it is necessary to make the center lines of the partial electronic signatures on each page of the file at the same height. Therefore, the signatory only needs to adjust the mouse up and down to select a position to determine the position of the corresponding partial electronic signatures on different page files.
[0066] Furthermore, when the position of the electronic signature in the saddle signature mode overlaps with the position of the electronic signature in the query signature mode, the electronic signature position determination module will automatically determine whether the electronic signatures in the two modes are signed by the same signatory.
[0067] If the same signatory signs, the signatory will be reminded to adjust the position of the electronic signature in the saddle signature mode.
[0068] If it is not signed by the same signatory, the order of signing of the electronic signatures in these two modes will be further determined.
[0069] If the electronic signature in the saddle signature mode is signed later than the electronic signature in the query signature mode, the signatory is reminded to adjust the position of the electronic signature in the saddle signature mode.
[0070] If the signing time of the electronic signature in the saddle signature mode is earlier than that of the electronic signature in the query signature mode, determine whether the electronic signature in the query signature mode can be translated or adjusted so that the position of the electronic signature in the saddle signature mode does not overlap with the position of the electronic signature in the query signature mode.
[0071] When the result of the judgment is that the electronic signature in the query signature mode can be translated or thumbnailed, the electronic signature in the query signature mode is translated or thumbnailed.
[0072] When the judgment result is that the electronic signature in the query signature mode cannot be translated or abbreviated, it is further judged whether the keywords corresponding to the electronic signature in the query signature mode are in the same line.
[0073] If the keywords corresponding to the electronic signature in the query signature mode are in the same line, the electronic signature will not be processed.
[0074] If the keywords corresponding to the electronic signature in the query signature mode are not in the same line, then get , The smaller value between the two ,Will The midpoint of the corresponding part of the keyword is overlapped with the center a3 of the electronic signature to obtain the electronic signature position corresponding to the keyword in this case, and at the same time, it is determined whether the electronic signature range corresponding to the keyword in this case exceeds the page.
[0075] If the electronic signature range corresponding to the keyword in this case is found to exceed the page, the electronic signature needs to be translated or abbreviated.
[0076] When the position of the electronic signature in the saddle signature mode overlaps with the position of the electronic signature in the query signature mode, the electronic signature signing position determination module will obtain the final adjustment result of the electronic signature, and save the electronic signature position before adjustment, the electronic signature position after adjustment, the adjusted electronic signature signer and the signing time in the form of blockchain.
[0077] When the position of the electronic signature in the saddle signature mode overlaps with the position of the electronic signature in the query signature mode, the present invention analyzes the signatories and signing times of the two electronic signatures and makes corresponding adjustment plans based on different analysis results. The midpoint of the corresponding part of the keywords coincides with the center point a3 of the electronic signature because the electronic signature in the saddle-stamping mode was signed earlier and the signatory was unaware of it. If any changes are made, the authenticity of the electronic signature will be affected. Only the electronic signature in the query mode can be changed. However, since the keywords are not in the same line, the keywords are divided into two parts, and the electronic signature in the query mode is signed on another part of the keywords. This not only ensures the accuracy of the electronic signature signing position, but also avoids the overlap of the electronic signature signing position in the query mode and the electronic signature position in the saddle-stamping mode.
[0078] Furthermore, the electronic signature signing information statistics module counts the electronic signature modes used in the signed documents and the information of different electronic signatures corresponding to different signatories under each electronic signature mode. The statistical electronic signature information includes the number of the same electronic signature, the electronic signature content, the signatory, the signing time, and the signing location.
[0079] Furthermore, the electronic signature signing information query module obtains the statistical results of the electronic signature signing information statistics module, and can automatically jump to the corresponding position in the signed document according to the statistical electronic signature signing position, and generate corresponding query information. The query information includes the query time, the queryer, the queried electronic signature position and the electronic signature information of the same electronic signature corresponding to the electronic signature position.
[0080] A blockchain-based online electronic signature method, the specific method includes the following steps:
[0081] S1. Selecting an electronic signature mode through an electronic signature mode selection module, wherein the electronic signature mode includes a saddle signature mode and a query signature mode;
[0082] S2. Confirming the signature position according to different electronic signature modes in the electronic signature mode selection module through the electronic signature signing position determination module;
[0083] S3, using the electronic signature information statistics module to count the electronic signature modes and corresponding positions and numbers in the corresponding files, and also to count the signatories of each electronic signature and the corresponding signature information;
[0084] S4. Querying the information in the electronic signature information statistics module through the electronic signature information query module;
[0085] S5. The contents counted by the electronic signature information statistics module and the query information of the electronic signature information query module are both saved in the form of blockchain.
[0086] Compared with the prior art, the beneficial effect achieved by the present invention is that the present invention can select the electronic signature mode, and adjust the electronic signature according to the special situations arising in different electronic signature modes, so as to avoid the overlapping and incompleteness of the electronic signature as much as possible, and ensure the signing effect of the electronic signature. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0088] Figure 1 It is a structural diagram of the electronic signature online signing system based on blockchain of the present invention;
[0089] Figure 2 It is a flowchart of a method for identifying the size and content of an electronic signature by an electronic signature position determination module in an electronic signature online signing system based on blockchain of the present invention;
[0090] Figure 3 It is a flow chart of a method for querying a signature mode position determination module to determine the feasibility of an electronic signature in an electronic signature online signing system based on blockchain of the present invention;
[0091] Figure 4 It is a flowchart of the electronic signature signing position determination module processing in the blockchain-based electronic signature online signing system of the present invention when the position of the electronic signature in the saddle signature mode overlaps with the position of the electronic signature in the query signature mode. DETAILED DESCRIPTION
[0092] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0093] See also Figure 1-4 The present invention provides a technical solution: an electronic signature online signing system based on blockchain, comprising:
[0094] An electronic signature mode selection module, which is used to select an electronic signature mode, wherein the electronic signature mode includes a saddle signature mode and a query signature mode;
[0095] An electronic signature signing position determination module, which first establishes an electronic signature signing model, and in the established electronic signature signing model, confirms the signature position for different electronic signature modes in the electronic signature mode selection module, and after the signing positions of all electronic signatures are determined, signs each electronic signature according to the position of the electronic signature in the electronic signature signing model;
[0096] An electronic signature signing information statistics module is used to count the electronic signature modes and corresponding positions and numbers in the corresponding files, and also count the signatories of each electronic signature and the corresponding signing information;
[0097] An electronic signature information query module, which is used to collect statistics on the information in the electronic signature information statistics module;
[0098] The contents counted by the electronic signature information statistics module and the query information of the electronic signature information query module will be stored on the blockchain. When the blockchain saves the data, it will automatically obtain the current time and store the current time in the form of a timestamp together with the data to be saved.
[0099] When the content counted by the electronic signature information statistics module and the query information of the electronic signature information query module have been saved in the blockchain, when the content counted by the electronic signature information statistics module or the query information of the electronic signature information query module changes, the blockchain will re-save the data in the module corresponding to the changed data for each change.
[0100] The present invention realizes online signing of electronic signatures through the cooperation of various modules, determines the signature position under different electronic signature modes, ensures the signing effect of electronic signatures, and counts and queries the electronic signature information at the same time, so as to quickly understand the electronic signature information, save the user's search time, and bring great convenience to the user. The present invention saves the statistical content of the electronic signature signing information statistics module and the query information of the electronic signature signing information query module in the form of blockchain, because blockchain has the functions of information immutability and anti-loss. After the data of the electronic signature signing information statistics module and the electronic signature signing information query module are saved in the form of blockchain, the user will not be able to tamper with the data, ensuring the authenticity and credibility of the data. At the same time, when the user deletes the data by mistake, it can be restored through other blockchain data backups to prevent data loss.
[0101] The electronic signature position determination module includes a saddle signature mode position determination module and a query signature mode position determination module.
[0102] The saddle signature mode position determination module determines the position of the electronic signature in the saddle signature mode;
[0103] The query signature mode position determination module determines the position of the electronic signature in the query signature mode;
[0104] The electronic signature is imported from an external signature hardware device or is called from an electronic signature on a designated server in an online state.
[0105] After the user selects the electronic signature mode and imports or calls the electronic signature, the electronic signature module will directly save the selection time of the electronic signature mode, the content of the selected electronic signature mode, the source of the electronic signature, and the time of importing or calling the electronic signature in the form of blockchain.
[0106] After the saving is completed, the electronic signature module will update the data every second unit time and save it to the blockchain again. The location where the updated data is saved in the blockchain will be adjacent to the location where the original data is saved.
[0107] The source of the electronic signature is to determine whether the electronic signature is imported from an external signature hardware device or whether the electronic signature on a designated server is called in an online state.
[0108] The electronic signature position determination module of the present invention includes two modules, namely, a saddle signature mode position determination module and a query signature mode position determination module, which respectively determine the position of the electronic signature in the saddle signature mode and the query signature mode, and different electronic signature modes correspond to different electronic signature position determination methods. The diversity of electronic signature acquisition methods ensures the diversity of electronic signatures.
[0109] After obtaining the electronic signature and before determining the electronic signature position, the electronic signature signing position determination module first identifies the size and content of the obtained electronic signature. The specific method for identifying the size and content of the electronic signature is as follows:
[0110] S1.1. Obtain the intersection of the upper edge of the electronic signature and the horizontal line as the tangent point a1, and obtain the intersection of the left edge of the electronic signature and the vertical line as the tangent point a2;
[0111] S1.2. Draw a perpendicular line b1 through the tangent point a1 and a perpendicular line b2 through the tangent point a2. The intersection of b1 and b2 is denoted as a3. Calculate the line segment l a1a3 With line segment l a2a3 The average value of , the size of the electronic signature is recorded as the radius The circle with center a3;
[0112] S1.3, obtain the midpoint a4 of the space occupied by each font in the electronic signature, connect a3 and a4, and determine whether a4 is on the ray L. a3a1 The relative position of the ray L a3a1 With ray L a3a4 The angle β between
[0113] When a4 is on ray L a3a1 On the right side, we determine that ray L a3a1 With ray L a3a4 The angle between is positive.
[0114] When a4 is on ray L a3a1 On the left side, we determine that ray L a3a1 With ray L a3a4 The angle between them is negative;
[0115] S1.4, correct the font angle, rotate the font counterclockwise by β along the midpoint a4;
[0116] S1.5, matching the font corrected by angle in step S1.4 with the font comparison library,
[0117] When all fonts are matched successfully, the electronic signature is deemed qualified and can be used.
[0118] When the font matching fails, the electronic signature is deemed unqualified and cannot be used.
[0119] After obtaining the electronic signature and before determining the electronic signature position, the electronic signature position determination module of the present invention first identifies the size and content of the obtained electronic signature in order to detect the electronic signature and avoid the situation where the electronic signature is unclear and the content of the electronic signature cannot be identified after the signing is completed. a3a1 With ray L a3a4 The angle between the two is set to be positive or negative so that the font angle can be unified when correcting. When the angle is negative, the font is rotated counterclockwise by β along the midpoint a4, that is, the font is rotated counterclockwise by -|β| along the midpoint a4, that is, the font is rotated clockwise by |β| along the midpoint a4.
[0120] The query signature mode position determination module first obtains the keyword that needs to be electronically signed in the query signature mode, and then determines the keyword position by searching, calculates the length d of the keyword, divides the length of the keyword by 2 to obtain the midpoint c corresponding to the keyword, and overlaps the center a3 of the electronic signature with the midpoint c corresponding to the keyword to obtain the electronic signature position corresponding to the keyword in the query signature mode.
[0121] After obtaining the electronic signature position corresponding to the keyword, the query signature mode position determination module will directly save the electronic signature position and the keyword in the form of a blockchain. While saving the electronic signature position, the blockchain will automatically obtain the current time and record the data storage time in the form of a timestamp.
[0122] The signature mode query position determination module of the present invention determines the center position of the electronic signature by determining the midpoint position of the keyword, and further determines the position of the electronic signature by the center position of the electronic signature.
[0123] In this embodiment, the keyword that needs to be electronically signed in the query signature mode is "standard test template". The query signature mode position determination module calculates that the length of the keyword "standard test template" is 110 pixels × 30 pixels, and the size of the electronic signature is 200 pixels × 200 pixels.
[0124] Because 110 / 2=55, 30 / 2=15, the midpoint corresponding to the keyword is the pixel corresponding to the 55th pixel from left to right and the 15th pixel from top to bottom.
[0125] The midpoint of the keyword is overlapped with the center of the electronic signature. The position of the electronic signature at this time is the signing position of the electronic signature corresponding to the keyword "standard test template" in the query signature mode.
[0126] When the query signature mode position determination module determines the keyword position by searching, if a certain keyword retrieved is close to the edge of the page so that the corresponding electronic signature range exceeds the page, the electronic signature needs to be translated or abbreviated.
[0127] First, the electronic signature is adjusted to make the edge of the electronic signature tangent to the edge of the page, and then the content of the electronic signature is identified to determine the feasibility of the electronic signature.
[0128] When electronic signature is feasible, the adjustment method will be confirmed.
[0129] When electronic signature is not feasible, it is necessary to adjust the electronic signature to the limit of abbreviated value, which not only meets the feasibility of electronic signature but also minimizes its size, and then perform translation adjustment, that is, the electronic signature after the adjustment of the limit of abbreviated value is translated up, down, left, and right according to the different edges of the adjacent pages, so that the edge of the electronic signature is tangent to the edge of the page, and the electronic signature has an overlapping part with the keyword.
[0130] When the electronic signature after the thumbnail limit adjustment is close to the left edge of the page, the electronic signature after the thumbnail limit adjustment is shifted right accordingly.
[0131] When the electronic signature after the abbreviated limit adjustment is close to the right edge of the page, the electronic signature after the abbreviated limit adjustment is shifted to the left accordingly.
[0132] When the electronic signature after the abbreviation limit adjustment is close to the upper edge of the page, the electronic signature after the abbreviation limit adjustment is shifted downward accordingly.
[0133] When the electronic signature after the adjustment of the abbreviation limit is close to the lower edge of the page, the electronic signature after the adjustment of the abbreviation limit is translated upward accordingly;
[0134] The methods for judging the feasibility of electronic signature are as follows:
[0135] S2.1, identify the size and content of the electronic signature after abbreviated adjustment, determine whether the abbreviated electronic signature is qualified, and record the identified signature content m;
[0136] S2.2. When the electronic signature after abbreviated adjustment fails to meet the standards, the electronic signature after abbreviated adjustment is deemed infeasible;
[0137] S2.3. When the electronic signature after the thumbnail adjustment is qualified, the recognized signature content m is compared with the recognized signature content of the electronic signature before the adjustment. The signature content is the result of matching the angle-corrected font in the electronic signature with the font comparison library.
[0138] If m is the same as the signature content recognized by the electronic signature before adjustment, then the electronic signature after abbreviated adjustment is deemed feasible.
[0139] If m is different from the signature content recognized by the electronic signature before adjustment, the electronic signature after abbreviated adjustment is determined to be infeasible;
[0140] The method for adjusting the abbreviation limit of an electronic signature is as follows:
[0141] S3.1. When the abbreviated and adjusted electronic signature is not feasible, the size of the abbreviated and adjusted electronic signature is increased by the first unit length, and the feasibility of the adjusted electronic signature is determined again;
[0142] S3.2, repeat the operation of step S3.1 until the adjusted electronic signature is feasible, and obtain the size of the adjusted electronic signature at this time;
[0143] The method for determining whether the edge of the electronic signature is tangent to the edge of the page is as follows:
[0144] S4.1, obtaining a screen image, and performing grayscale processing on the screen image;
[0145] S4.2, calculating the difference between the grayscale values of adjacent pixels in the processed image, and when the obtained difference is greater than a first threshold, marking the pixel with a smaller grayscale value corresponding to the difference;
[0146] S4.3, determining the positions of the marked pixels, when the marked pixels are adjacent and in a chain structure, and the number of the marked pixels in the chain structure is greater than or equal to a second threshold, determining the marked pixels as the edge of the page;
[0147] S4.4. Determine the number of pixels where the red pixels in the electronic signature overlap with the edge of the page. When the number of pixels where the red pixels in the electronic signature overlap with the edge of the page is equal to 1, it is determined that the edge of the electronic signature is tangent to the edge of the page.
[0148] In the query signature mode position determination module, when determining the keyword position by searching, if a certain keyword retrieved is not in the same line, the lengths d1 and d2 of the keyword on two lines are obtained respectively, and the ratios of d1 and d2 to the keyword length d are calculated respectively. , , get , The larger value between the two ,
[0149] Will The midpoint of the corresponding part of the keyword is overlapped with the center a3 of the electronic signature to obtain the electronic signature position corresponding to the keyword in this case.
[0150] If the electronic signature range corresponding to the keyword in this case exceeds the page, the electronic signature needs to be moved or abbreviated.
[0151] After the electronic signature is translated or abbreviated, the query signature mode position determination module will count the positions of the electronic signature after the translation and abbreviated adjustment, and save the statistical results in the form of blockchain.
[0152] In the query signature mode position determination module of the present invention, when determining the keyword position by retrieval, if a certain keyword retrieved is close to the edge of the page so that the corresponding electronic signature range exceeds the page, the electronic signature needs to be translated or abbreviated to ensure the integrity of the electronic signature. However, when performing the abbreviated adjustment, the electronic signature becomes smaller, which may cause the electronic signature to become unclear and the content of the electronic signature to be unrecognizable. Therefore, it is necessary to judge the feasibility of the electronic signature after abbreviating; when performing the translation operation, the edge of the electronic signature is tangent to the edge of the page, and the electronic signature and the keyword have an overlapping part, in order to minimize the translation distance and ensure the correctness of the electronic signature signing position, and avoid the phenomenon of the electronic signature being separated from the keyword. When a certain keyword retrieved is not in the same line, it is necessary to first determine which line the electronic signature is signed in by the length of part of the keyword, and then adjust the electronic signature.
[0153] When the saddle-seal mode position determination module determines the position of the electronic signature in the saddle-seal mode, it is necessary to obtain the number of file pages n corresponding to the saddle-seal and the size of the electronic signature. The size of the electronic signature is the radius of The electronic signature is divided into n parts according to the diameter. The width of each electronic signature is , sign each electronic signature in the same position on the edge of different pages in sequence, and make the edge of each electronic signature tangent to the edge of the page,
[0154] The electronic signatures signed in the saddle-seal mode are sorted according to the size of the document pages, and each corresponding electronic signature in each document page can be reassembled into a complete electronic signature.
[0155] The specific position of the same position on the edges of different pages is adjusted up and down by the signatory using the mouse.
[0156] When the saddle-seal mode position determination module of the present invention determines the position of the electronic signature in the saddle-seal mode, it needs to allocate it according to the number of pages of the file so that each page has the content information of the electronic signature, while ensuring that the partial electronic signatures in all file pages can be pieced together into a complete electronic signature, so it is necessary to make the center lines of the partial electronic signatures on each page of the file at the same height. Therefore, the signatory only needs to adjust the mouse up and down to select a position to determine the position of the corresponding partial electronic signatures on different page files.
[0157] When the position of the electronic signature in the saddle signature mode overlaps with the position of the electronic signature in the query signature mode, the electronic signature position determination module will automatically determine whether the electronic signatures in the two modes are signed by the same signatory.
[0158] If the same signatory signs, the signatory will be reminded to adjust the position of the electronic signature in the saddle signature mode.
[0159] If it is not signed by the same signatory, the order of signing of the electronic signatures in these two modes will be further determined.
[0160] If the electronic signature in the saddle signature mode is signed later than the electronic signature in the query signature mode, the signatory is reminded to adjust the position of the electronic signature in the saddle signature mode.
[0161] If the signing time of the electronic signature in the saddle signature mode is earlier than that of the electronic signature in the query signature mode, determine whether the electronic signature in the query signature mode can be translated or adjusted so that the position of the electronic signature in the saddle signature mode does not overlap with the position of the electronic signature in the query signature mode.
[0162] When the result of the judgment is that the electronic signature in the query signature mode can be translated or thumbnailed, the electronic signature in the query signature mode is translated or thumbnailed.
[0163] When the judgment result is that the electronic signature in the query signature mode cannot be translated or abbreviated, it is further judged whether the keywords corresponding to the electronic signature in the query signature mode are in the same line.
[0164] If the keywords corresponding to the electronic signature in the query signature mode are in the same line, the electronic signature will not be processed.
[0165] If the keywords corresponding to the electronic signature in the query signature mode are not in the same line, then get , The smaller value between the two ,Will The midpoint of the corresponding part of the keyword is overlapped with the center a3 of the electronic signature to obtain the electronic signature position corresponding to the keyword in this case, and at the same time, it is determined whether the electronic signature range corresponding to the keyword in this case exceeds the page.
[0166] If the electronic signature range corresponding to the keyword in this case is found to exceed the page, the electronic signature needs to be translated or abbreviated.
[0167] When the position of the electronic signature in the saddle signature mode overlaps with the position of the electronic signature in the query signature mode, the electronic signature signing position determination module will obtain the final adjustment result of the electronic signature, and save the electronic signature position before adjustment, the electronic signature position after adjustment, the adjusted electronic signature signer and the signing time in the form of blockchain.
[0168] When the position of the electronic signature in the saddle signature mode overlaps with the position of the electronic signature in the query signature mode, the present invention analyzes the signatories and signing times of the two electronic signatures and makes corresponding adjustment plans based on different analysis results. The midpoint of the corresponding part of the keywords coincides with the center point a3 of the electronic signature because the electronic signature in the saddle-stamping mode was signed earlier and the signatory was unaware of it. If any changes are made, the authenticity of the electronic signature will be affected. Only the electronic signature in the query mode can be changed. However, since the keywords are not in the same line, the keywords are divided into two parts, and the electronic signature in the query mode is signed on another part of the keywords. This not only ensures the accuracy of the electronic signature signing position, but also avoids the overlap of the electronic signature signing position in the query mode and the electronic signature position in the saddle-stamping mode.
[0169] The electronic signature signing information statistics module counts the electronic signature modes used in the signed documents and the information of different electronic signatures corresponding to different signatories under each electronic signature mode. The statistical electronic signature information includes the number of the same electronic signature, the electronic signature content, the signatory, the signing time, and the signing location.
[0170] The electronic signature signing information query module obtains the statistical results of the electronic signature signing information statistics module, and can automatically jump to the corresponding position in the signed document according to the statistical electronic signature signing position, and generate corresponding query information. The query information includes the query time, the query person, the queried electronic signature position and the electronic signature information of the same electronic signature corresponding to the electronic signature position.
[0171] A blockchain-based online electronic signature method, the specific method includes the following steps:
[0172] S1. Selecting an electronic signature mode through an electronic signature mode selection module, wherein the electronic signature mode includes a saddle signature mode and a query signature mode;
[0173] S2. Confirming the signature position according to different electronic signature modes in the electronic signature mode selection module through the electronic signature signing position determination module;
[0174] S3, using the electronic signature information statistics module to count the electronic signature modes and corresponding positions and numbers in the corresponding files, and also to count the signatories of each electronic signature and the corresponding signature information;
[0175] S4. Querying the information in the electronic signature information statistics module through the electronic signature information query module;
[0176] S5. The contents counted by the electronic signature information statistics module and the query information of the electronic signature information query module are both saved in the form of blockchain.
[0177] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0178] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An electronic signature online signing system based on blockchain, characterized in that: include: An electronic signature mode selection module, which is used to select an electronic signature mode, wherein the electronic signature mode includes a saddle signature mode and a query signature mode; An electronic signature signing position determination module, which first establishes an electronic signature signing model, and in the established electronic signature signing model, confirms the signature position for different electronic signature modes in the electronic signature mode selection module, and after the signing positions of all electronic signatures are determined, signs each electronic signature according to the position of the electronic signature in the electronic signature signing model; An electronic signature signing information statistics module is used to count the electronic signature modes and corresponding positions and numbers in the corresponding files, and also count the signatories of each electronic signature and the corresponding signing information; An electronic signature information query module, which is used to collect statistics on the information in the electronic signature information statistics module; The contents counted by the electronic signature information statistics module and the query information of the electronic signature information query module will be stored on the blockchain. When the blockchain saves the data, it will automatically obtain the current time and store the current time in the form of a timestamp together with the data to be saved. In the case where the contents counted by the electronic signature information statistics module and the query information of the electronic signature information query module have been saved in the blockchain, when the contents counted by the electronic signature information statistics module or the query information of the electronic signature information query module change, the blockchain will re-save the data in the module corresponding to the changed data for each change; The electronic signature position determination module includes a saddle signature mode position determination module and a query signature mode position determination module. The saddle signature mode position determination module determines the position of the electronic signature in the saddle signature mode; The query signature mode position determination module determines the position of the electronic signature in the query signature mode; The electronic signature is imported from an external signature hardware device or is called from an electronic signature on a designated server in an online state. After the user selects the electronic signature mode and imports or calls the electronic signature, the electronic signature module will directly save the selection time of the electronic signature mode, the content of the selected electronic signature mode, the source of the electronic signature, and the time of importing or calling the electronic signature in the form of blockchain. After the saving is completed, the electronic signature module will update the data every second unit time and save it to the blockchain again. The location where the updated data is saved in the blockchain will be adjacent to the location where the original data is saved. The source of the electronic signature is to determine whether the electronic signature is imported from an external signature hardware device or is called from an electronic signature on a designated server in an online state; After obtaining the electronic signature and before determining the electronic signature position, the electronic signature signing position determination module first identifies the size and content of the obtained electronic signature. The specific method for identifying the size and content of the electronic signature is as follows: S1.
1. Obtain the intersection of the upper edge of the electronic signature and the horizontal line as the tangent point a1, and obtain the intersection of the left edge of the electronic signature and the vertical line as the tangent point a2; S1.
2. Draw a perpendicular line b1 through the tangent point a1 and a perpendicular line b2 through the tangent point a2. The intersection of b1 and b2 is denoted as a3. Calculate the line segment l a1a3 With line segment l a2a3 The average value of , the size of the electronic signature is recorded as the radius The circle with center a3; S1.3, obtain the midpoint a4 of the space occupied by each font in the electronic signature, connect a3 and a4, and determine whether a4 is on the ray L. a3a1 The relative position of the ray L a3a1 With ray L a3a4 The angle β between When a4 is on ray L a3a1 On the right side, we determine that ray L a3a1 With ray L a3a4 The angle between is positive. When a4 is on ray L a3a1 On the left side, we determine that ray L a3a1 With ray L a3a4 The angle between them is negative; S1.4, correct the font angle, rotate the font counterclockwise by β along the midpoint a4; S1.5, matching the font corrected by angle in step S1.4 with the font comparison library, When all fonts are matched successfully, the electronic signature is deemed qualified and can be used. If the font matching fails, the electronic signature is deemed unqualified and cannot be used. The query signature mode position determination module first obtains the keyword that needs to be electronically signed in the query signature mode, and then determines the keyword position by searching, calculates the length d of the keyword, divides the length of the keyword by 2 to obtain the midpoint c corresponding to the keyword, and overlaps the center a3 of the electronic signature with the midpoint c corresponding to the keyword to obtain the electronic signature position corresponding to the keyword in the query signature mode. After obtaining the electronic signature position corresponding to the keyword, the query signature mode position determination module will directly save the electronic signature position and the keyword in the form of a blockchain. While saving the electronic signature position, the blockchain will automatically obtain the current time and record the time when the data is saved in the form of a timestamp; When the query signature mode position determination module determines the keyword position by searching, if a certain keyword retrieved is close to the edge of the page so that the corresponding electronic signature range exceeds the page, the electronic signature needs to be translated or abbreviated. First, the electronic signature is adjusted to make the edge of the electronic signature tangent to the edge of the page, and then the content of the electronic signature is identified to determine the feasibility of the electronic signature. When electronic signature is feasible, the adjustment method will be confirmed. When electronic signature is not feasible, it is necessary to adjust the electronic signature to the limit of abbreviated value, which not only meets the feasibility of electronic signature but also minimizes its size, and then perform translation adjustment, that is, the electronic signature after the adjustment of the limit of abbreviated value is translated up, down, left, and right according to the different edges of the adjacent pages, so that the edge of the electronic signature is tangent to the edge of the page, and the electronic signature has an overlapping part with the keyword. When the electronic signature after the thumbnail limit adjustment is close to the left edge of the page, the electronic signature after the thumbnail limit adjustment is shifted right accordingly. When the electronic signature after the abbreviated limit adjustment is close to the right edge of the page, the electronic signature after the abbreviated limit adjustment is shifted to the left accordingly. When the electronic signature after the abbreviation limit adjustment is close to the upper edge of the page, the electronic signature after the abbreviation limit adjustment is shifted downward accordingly. When the electronic signature after the adjustment of the abbreviation limit is close to the lower edge of the page, the electronic signature after the adjustment of the abbreviation limit is translated upward accordingly; The methods for judging the feasibility of electronic signature are as follows: S2.
1. Identify the size and content of the abbreviated electronic signature, determine whether the abbreviated electronic signature is qualified, and record the identified signature content m; S2.
2. When the electronic signature after abbreviated adjustment fails to meet the standards, the electronic signature after abbreviated adjustment is deemed infeasible; S2.
3. When the electronic signature after the thumbnail adjustment is qualified, the recognized signature content m is compared with the recognized signature content of the electronic signature before the adjustment. The signature content is the result of matching the angle-corrected font in the electronic signature with the font comparison library. If m is the same as the signature content recognized by the electronic signature before adjustment, then the electronic signature after abbreviated adjustment is deemed feasible. If m is different from the signature content recognized by the electronic signature before adjustment, the electronic signature after abbreviated adjustment is determined to be infeasible; The method for adjusting the abbreviation limit of an electronic signature is as follows: S3.
1. When the abbreviated and adjusted electronic signature is not feasible, the size of the abbreviated and adjusted electronic signature is increased by the first unit length, and the feasibility of the adjusted electronic signature is determined again; S3.2, repeat the operation of step S3.1 until the adjusted electronic signature is feasible, and obtain the size of the adjusted electronic signature at this time; The method for determining whether the edge of the electronic signature is tangent to the edge of the page is as follows: S4.1, obtaining a screen image, and performing grayscale processing on the screen image; S4.2, calculating the difference between the grayscale values of adjacent pixels in the processed image, and when the obtained difference is greater than a first threshold, marking the pixel with a smaller grayscale value corresponding to the difference; S4.3, determining the positions of the marked pixels, when the marked pixels are adjacent and in a chain structure, and the number of the marked pixels in the chain structure is greater than or equal to a second threshold, determining the marked pixels as the edge of the page; S4.
4. Determine the number of pixels where the red pixels in the electronic signature overlap with the edge of the page. When the number of pixels where the red pixels in the electronic signature overlap with the edge of the page is equal to 1, it is determined that the edge of the electronic signature is tangent to the edge of the page. In the query signature mode position determination module, when determining the keyword position by searching, if a certain keyword retrieved is not in the same line, the lengths d1 and d2 of the keyword on two lines are obtained respectively, and the ratios of d1 and d2 to the keyword length d are calculated respectively. , , get , The larger value between the two , Will The midpoint of the corresponding part of the keyword is overlapped with the center a3 of the electronic signature to obtain the electronic signature position corresponding to the keyword in this case. If the electronic signature range corresponding to the keyword in this case exceeds the page, the electronic signature needs to be moved or abbreviated. After the electronic signature is translated or abbreviated, the query signature mode position determination module will count the electronic signature positions after the translation and abbreviated adjustment, and save the statistical results in the form of blockchain; When the saddle-seal mode position determination module determines the position of the electronic signature in the saddle-seal mode, it is necessary to obtain the number of file pages n corresponding to the saddle-seal and the size of the electronic signature. The size of the electronic signature is the radius of The electronic signature is divided into n parts according to the diameter. The width of each electronic signature is , sign each electronic signature in the same position on the edge of different pages in sequence, and make the edge of each electronic signature tangent to the edge of the page, The electronic signatures signed in the saddle-seal mode are sorted according to the size of the document pages, and each corresponding electronic signature in each document page can be reassembled into a complete electronic signature. The specific position of the same position on the edges of different pages is adjusted up and down by the signatory using the mouse.
2. According to the blockchain-based online electronic signature system of claim 1, it is characterized by: When the position of the electronic signature in the saddle signature mode overlaps with the position of the electronic signature in the query signature mode, the electronic signature position determination module will automatically determine whether the electronic signatures in the two modes are signed by the same signatory. If the same signatory signs, the signatory will be reminded to adjust the position of the electronic signature in the saddle signature mode. If it is not signed by the same signatory, the order of signing of the electronic signatures in these two modes will be further determined. If the electronic signature in the saddle signature mode is signed later than the electronic signature in the query signature mode, the signatory is reminded to adjust the position of the electronic signature in the saddle signature mode. If the signing time of the electronic signature in the saddle signature mode is earlier than that of the electronic signature in the query signature mode, determine whether the electronic signature in the query signature mode can be translated or adjusted so that the position of the electronic signature in the saddle signature mode does not overlap with the position of the electronic signature in the query signature mode. When the result of the judgment is that the electronic signature in the query signature mode can be translated or thumbnailed, the electronic signature in the query signature mode is translated or thumbnailed. When the judgment result is that the electronic signature in the query signature mode cannot be translated or abbreviated, it is further judged whether the keywords corresponding to the electronic signature in the query signature mode are in the same line. If the keywords corresponding to the electronic signature in the query signature mode are in the same line, the electronic signature will not be processed. If the keywords corresponding to the electronic signature in the query signature mode are not in the same line, then get , The smaller value between the two ,Will The midpoint of the corresponding part of the keyword is overlapped with the center a3 of the electronic signature to obtain the electronic signature position corresponding to the keyword in this case, and at the same time, it is determined whether the electronic signature range corresponding to the keyword in this case exceeds the page. If the electronic signature range corresponding to the keyword in this case is found to exceed the page, the electronic signature needs to be translated or abbreviated. When the position of the electronic signature in the saddle signature mode overlaps with the position of the electronic signature in the query signature mode, the electronic signature signing position determination module will obtain the final adjustment result of the electronic signature, and save the electronic signature position before adjustment, the electronic signature position after adjustment, the adjusted electronic signature signer and the signing time in the form of blockchain.
3. A blockchain-based electronic signature online signing method for executing a blockchain-based electronic signature online signing system according to claim 1 or 2, characterized in that: The specific method includes the following steps: S1. Selecting an electronic signature mode through an electronic signature mode selection module, wherein the electronic signature mode includes a saddle signature mode and a query signature mode; S2. Confirming the signature position according to different electronic signature modes in the electronic signature mode selection module through the electronic signature signing position determination module; S3, using the electronic signature information statistics module to count the electronic signature modes and corresponding positions and numbers in the corresponding files, and also to count the signatories of each electronic signature and the corresponding signature information; S4. Querying the information in the electronic signature information statistics module through the electronic signature information query module; S5. The contents counted by the electronic signature information statistics module and the query information of the electronic signature information query module are both saved in the form of blockchain.
