A method and system for generating electronic seals based on blockchain-related enterprise services

In the electronic seal generation method of blockchain enterprise-related services, it is determined whether the user-specified seal location is in a risk area, and the approval process is initiated when the conditions are met, and the signature location is re-specified, which solves the problem of improper generation of electronic seal locations. The security issues of the seal improve the safety of the seal and the effectiveness of the approval process.

CN118822471BActive Publication Date: 2024-12-13NANJING 3001 INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411297953.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-12-13
Estimated Expiration
2044-09-18

AI Technical Summary

Technical Problem

In the prior art, the location of electronic seals is improperly generated, which is easy for criminals to use image processing technology to steal relevant information, causing adverse effects on the company.

Method used

By obtaining the user's seal request instructions and identity verification information, determine the standard signature position, establish a rectangular coordinate system, determine whether the signature position is in a risk area, if the preset risk conditions are met, the approval process will be initiated, and the signature position will be re-specified. Sign and print in a safe location after approval is approved.

Benefits of technology

It improves the security of electronic seals, prevents criminals from stealing seal information, and enhances the accuracy of risk judgment of the location of the seal and the effectiveness of the approval process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118822471B_ABST
    Figure CN118822471B_ABST
Patent Text Reader

Abstract

The embodiment of the present application relates to the field of computer application technology, and discloses an electronic seal generation method and system based on blockchain-related enterprise services. The electronic seal generation method of the embodiment of the present application first determines whether the signature position specified by the user meets the risk conditions set by the system. When it meets the set risk conditions, it means that there is a certain risk in the user's position designation. At this time, the user is restricted from using the seal and the seal application is subject to a seal use process approval. Finally, an electronic seal is generated at the signature position specified for approval. In this way, the security of the electronic seal can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application technology, and in particular to a method and system for generating an electronic seal based on blockchain-related enterprise services. Background Art

[0002] Blockchain electronic seal technology is an electronic seal solution based on blockchain technology. It combines the decentralized and tamper-proof characteristics of blockchain with electronic seals, and ensures the authenticity, integrity and credibility of electronic seals through blockchain evidence storage technology. However, after extracting the electronic seal from the blockchain, where the electronic seal is generated in the file is also crucial to the security of the electronic seal. If the electronic seal is generated in an improper position (such as generating the electronic seal in a blank area of ​​the file), criminals can easily use image processing technology (such as PS cutout technology) to obtain electronic seal related information losslessly, causing adverse effects on related companies. Summary of the invention

[0003] The main purpose of the present invention is to provide a method and system for generating an electronic seal based on blockchain-related enterprise services, aiming to solve the technical problem in the prior art that improper generation of electronic seal positions has a negative impact on related enterprises.

[0004] To achieve the above objectives, in a first aspect, an electronic seal generation method based on blockchain-related enterprise services is provided in an embodiment of the present application, the method comprising:

[0005] Obtaining a seal request instruction from a first user, wherein the seal request instruction carries first signature location information and identity verification information specified by the first user;

[0006] In the case where it is determined based on the identity authentication information that the first user's identity authentication is passed, determining a second signature position according to the content of the document to be signed, wherein the second signature position is a standard signature position;

[0007] Establishing a rectangular coordinate system based on the second signature position, wherein the origin of the rectangular coordinate system is the center of the second signature position;

[0008] Obtaining a vector of the first signature position in the rectangular coordinate system, wherein the starting point of the vector is the origin of the rectangular coordinate system and the end point is the center of the first signature position;

[0009] If the vector meets the preset risk condition, restrict the electronic seal request of the first user and start the enterprise service seal approval process based on the seal request instruction of the first user;

[0010] In response to a third signature position specified by the second user in the approval process, an electronic seal pre-stored in the blockchain is extracted and signed at the third signature position.

[0011] Furthermore, the method further comprises:

[0012] When the vector does not meet the preset risk condition, an electronic seal pre-stored in the blockchain is extracted and signed at the first signature position or the second signature position.

[0013] Furthermore, when the vector does not meet the preset risk condition, extracting an electronic seal pre-stored in the blockchain to sign at the first signature position or the second signature position includes:

[0014] Determine whether at least part of the content of the document to be signed can be covered when signing with the center of the first signature position as the signature center;

[0015] When it is determined that at least part of the content of the document to be signed can be covered when the center of the first signature position is used as the signature center, extracting the electronic seal pre-stored in the blockchain to sign at the first signature position;

[0016] When it is determined that at least part of the content of the document to be signed cannot be covered when signing with the center of the first signature position as the signature center, an electronic seal pre-stored in the blockchain is extracted and signed at the second signature position.

[0017] Further, after obtaining the vector of the first signature position in the rectangular coordinate system, the method further includes:

[0018] It is determined whether the vector satisfies a preset risk condition, wherein the preset risk condition includes a risk that the signature position specified by the first user is in a target blank area.

[0019] Further, the determining whether the vector satisfies a preset risk condition includes:

[0020] Acquire a first target blank area based on the second signature position and the content of the document to be signed;

[0021] Determine a target reference detection vector according to the first target blank area and the rectangular coordinate system, wherein a starting point of the target reference detection vector is an origin of the rectangular coordinate system and an end point is a center of the first target blank area;

[0022] The vector vector C1 of the first signature position in the rectangular coordinate system and the target reference detection vector C2 are input into the orientation similarity estimation model to obtain the orientation similarity representation value. = (C1*C2) / |C1|*|C2|, where |C1| and |C2| are the lengths of the corresponding vectors respectively;

[0023] Determining the orientation similarity between the vector vector C1 and the target reference detection vector C2 based on the orientation similarity characterization value;

[0024] When the orientation similarity is within a preset threshold range and the length difference between the two vectors is within a preset threshold range, it is determined that the vectors satisfy a preset risk condition.

[0025] Further, the determining the orientation similarity value between the vector C1 and the target reference detection vector C2 based on the orientation similarity characterization value includes:

[0026] Obtaining a mapping relationship table between similarity representation values ​​and orientation similarity;

[0027] The orientation similarity value between the vector C1 and the target reference detection vector C2 is obtained by querying the mapping relationship table, wherein the closer the similarity representation value is to 1, the higher the orientation similarity value is.

[0028] Furthermore, it also includes:

[0029] When the orientation similarity is not within a preset threshold range, reacquiring the target blank area to obtain a second target blank area;

[0030] determining again whether the vector meets a preset risk condition according to the second target blank area, wherein the second target blank area has a different azimuth from the first target blank area;

[0031] When the vector vector satisfies a preset condition, it is determined that the vector vector satisfies a preset risk condition.

[0032] Furthermore, the step of obtaining a target blank area based on the second signature position and the content of the document to be signed includes:

[0033] Based on the second signature position, a blank area closest to the second signature position is selected as the target blank area, wherein the area of ​​the target blank area is greater than or equal to the area of ​​the electronic seal.

[0034] Furthermore, the initiation of the enterprise service seal approval process based on the seal request instruction of the first user includes:

[0035] The signature position key approval prompt information is triggered in the approval process, wherein the signature position key approval prompt information is used to prompt the second user to focus on approving the first signature position information carried in the seal request instruction of the first user, and to re-designate the third signature position when the first signature position does not meet the requirements set by the enterprise.

[0036] In a second aspect, an embodiment of the present application further provides a system, comprising a memory and a processor, wherein the memory is used to store program code, and the processor is used to call the program code to execute the method described in the first aspect.

[0037] Different from the prior art, the electronic seal generation method based on blockchain-related enterprise services provided in the embodiment of the present application first obtains the seal request instruction of the first user, the seal request instruction carries the first signature position information and identity verification information specified by the first user, and then, when it is determined based on the identity verification information that the identity authentication of the first user has passed, the second signature position is determined according to the content of the document to be signed, and the second signature position is the standard signature position; then a rectangular coordinate system is established based on the second signature position, wherein the origin of the rectangular coordinate system is the center of the second signature position; then a vector of the first signature position in the rectangular coordinate system is obtained, wherein the starting point of the vector is the origin of the rectangular coordinate system, and the end point is the center of the first signature position;

[0038] Then, when the vector meets the preset risk conditions, the electronic seal request of the first user is restricted and the business service seal approval process is started based on the seal request instruction of the first user; finally, in response to the third signature position specified by the second user in the approval process, the electronic seal pre-stored in the blockchain is extracted and signed at the third signature position; that is, the system determines whether the signature position specified by the user meets the risk conditions set by the system. When it meets the set risk conditions, it means that there is a certain risk in the user's position designation. At this time, the user is restricted from using the seal and the seal application is approved. Finally, an electronic seal is generated at the signature position specified for approval. In this way, the security of the electronic seal can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0040] Figure 1This is a flowchart of a method for generating an electronic seal based on blockchain-related enterprise services in some embodiments of the present application;

[0041] Figure 2 A schematic diagram of the position of generating an electronic seal in some embodiments of the present application;

[0042] Figure 3 This is a schematic diagram of the hardware structure of the electronic seal generation system in some embodiments of the present application.

[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] 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.

[0045] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0046] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, "and / or" in the full text includes three solutions. Taking A and / or B as an example, it includes technical solution A, technical solution B, and technical solution that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0047] Blockchain electronic seal technology is an electronic seal solution based on blockchain technology. It combines the decentralized and tamper-proof characteristics of blockchain with electronic seals, and ensures the authenticity, integrity and credibility of electronic seals through blockchain evidence storage technology. However, after extracting the electronic seal from the blockchain, where the electronic seal is generated in the file is also crucial to the security of the electronic seal. If the electronic seal is generated in an improper position (generating the electronic seal in a blank area of ​​the file), criminals can easily use image processing technology (such as cutout technology) to obtain information related to the electronic seal without loss, causing adverse effects on related companies.

[0048] It is understandable that electronic seals generated in blank areas are more easily exploited by criminals than those generated in text areas (i.e., the electronic seal covers part of the text). In other words, criminals can more easily obtain lossless seal information by processing electronic seals in blank areas, thereby facilitating false and untrue circulation, bringing negative impacts to related companies.

[0049] In response to the above problems, this application proposes a method for generating electronic seals based on blockchain-related enterprise services, such as Figure 1-2 As shown, the following will mainly describe the specific steps of the method for generating an electronic seal based on blockchain-related enterprise services. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described here can be performed in a different order. Please refer to the attached Figure 1 , the method comprises the following steps:

[0050] S100, obtaining a seal request instruction of a first user, wherein the seal request instruction carries first signature location information and identity verification information specified by the first user;

[0051] Specifically, when a user requests to use a seal, he needs to perform identity authentication. After passing the identity authentication, he needs to select the signature location on the document to be signed, such as drawing a seal frame at the location where the seal is to be stamped, so that the electronic seal system can stamp at that location. However, some corporate employees steal the company's seal information for different purposes. When selecting the signature location, they deliberately select the blank area to obtain the seal information without loss later.

[0052] S200: When it is determined based on the identity authentication information that the first user has passed identity authentication, determine a second signature position according to the content of the document to be signed, where the second signature position is a standard signature position;

[0053] Specifically, there are many ways to determine the position of the second signature according to the content of the document to be signed. In one embodiment, the standard signature position can be determined by image recognition technology. For example, if the relevant content "Party A (client): XXXX Company" is obtained by image recognition technology, the second signature position can be determined as the area covering the text "Party A (client): XXXX Company", such as Figure 2 S2 position shown.

[0054] In other embodiments, the seal position can also be determined through position recognition and positioning technology. For example, in a corporate standard contract (the signature position is in the lower left corner of the document page), the second signature position (standard signature position) can be directly located in the lower left corner.

[0055] S300: Establishing a rectangular coordinate system based on the second signature position, wherein the origin of the rectangular coordinate system is the center of the second signature position;

[0056] In order to represent the orientation, distance, position, etc. of the first signature position to evaluate whether the first signature position specified by the user meets the requirements, the embodiment of the present application establishes a rectangular coordinate system based on the second signature position, and the origin of the rectangular coordinate system is the center of the second signature position, thereby accurately expressing the relative position of the first signature position relative to the standard signature position (including orientation, distance, etc.).

[0057] S400: Obtain a vector of the first signature position in the rectangular coordinate system, wherein the starting point of the vector is the origin of the rectangular coordinate system and the end point is the center of the first signature position;

[0058] After establishing a rectangular coordinate system, the embodiment of the present application determines the vector of the first signature position in the rectangular coordinate system according to the coordinate system, such as Figure 2 As shown in the vector C1, the starting point of the vector is the origin of the rectangular coordinate system, and the end point is the center of the first signature position. It can be seen that the first signature position is mathematically expressed by the vector C1 to facilitate the risk judgment of subsequent signature positions.

[0059] S500: If the vector meets the preset risk condition, restrict the electronic seal request of the first user and start the enterprise service seal approval process based on the seal request instruction of the first user;

[0060] After obtaining the vector of the first signature position in the rectangular coordinate system, it is necessary to determine whether the vector satisfies a preset risk condition. The preset risk condition includes the risk that the signature position specified by the first user is in the target blank area. That is, when the signature position specified by the first user is in the target blank area, it means that there is a certain risk in the designation of the signature position. If an electronic seal is generated directly in the blank area, it will make it easier for criminals to steal lossless seal information (losslessly obtained through cutout technology), which will have an adverse impact on the enterprise.

[0061] Therefore, after identifying the preset risk, the embodiment of the present application restricts the electronic seal request of the first user, for example, the user is blacklisted to prohibit the user from applying for a seal on the electronic seal system or to increase the difficulty of identity verification, and at the same time, the enterprise-related service seal approval process is initiated for this seal request instruction to complete the seal use through process approval.

[0062] To determine whether the designated signature position is in the target blank area, the vector direction and vector length formed by the two areas may be compared and determined. In one embodiment, determining whether the vector meets the preset risk condition includes:

[0063] Acquire a first target blank area based on the second signature position and the content of the document to be signed;

[0064] Determine a target reference detection vector according to the first target blank area and the rectangular coordinate system, wherein a starting point of the target reference detection vector is an origin of the rectangular coordinate system and an end point is a center of the first target blank area;

[0065] The vector vector C1 of the first signature position in the rectangular coordinate system and the target reference detection vector C2 are input into the orientation similarity estimation model to obtain the orientation similarity representation value. = (C1*C2) / |C1|*|C2|, where |C1| and |C2| are the lengths of the corresponding vectors respectively;

[0066] Determining the orientation similarity between the vector vector C1 and the target reference detection vector C2 based on the orientation similarity characterization value;

[0067] When the orientation similarity is within a preset threshold range and the length difference between the two vectors is within a preset threshold range, it is determined that the vectors satisfy a preset risk condition.

[0068] Specifically, firstly, the first target blank area is obtained according to the standard signature position (second signature position) and the surrounding blank situation of the standard signature position (identified by the content of the signature document), that is, the target blank area is first predicted and obtained according to the standard signature position and the content of the document to be signed; it can be understood that the first target blank area is the signature position most likely selected by the user to obtain lossless seal information (from the perspective of the electronic seal system, this position is a risky position), and in order to reduce the risk of seal system approval, the user will select the blank area closest to the second signature position as the target blank area, for example Figure 2 As shown in S3, generally speaking, the area of ​​the target blank area is greater than or equal to the area of ​​the electronic seal.

[0069] It can be further understood that when it is judged that the overlap between the first target blank area and the first signature position is high, it means that the user really wants to steal seal information or has a high probability of stealing seal information; that is, the first target blank area is the risky signature area obtained by the system based on the second signature position and the content of the document to be signed.

[0070] Then, the target reference detection vector is determined according to the first target blank area and the rectangular coordinate system, such as Figure 2 As shown in C2, the starting point of the target reference detection vector is the origin of the rectangular coordinate system, and the end point is the center of the first target blank area; then the vector vector C1 of the first signature position in the rectangular coordinate system and the target reference detection vector C2 are input into the orientation similarity estimation model to obtain the orientation similarity representation value .

[0071] In one embodiment, after obtaining the orientation similarity representation value Afterwards, a mapping relationship table between the similarity representation value and the orientation similarity can be obtained; then, based on the mapping relationship table, the orientation similarity value between the vector C1 and the target reference detection vector C2 is obtained by querying, wherein the closer the similarity representation value is to 1, the higher the orientation similarity value.

[0072] Finally, when it is determined that the orientation similarity is within the preset threshold range and the length difference between vector C1 and vector C2 is within the preset threshold range, it means that the first target blank area and the first signature position have a high degree of overlap, further indicating that the vector vector meets the preset risk condition. That is to say, when the orientation angle and length of vector vector C1 and the target reference detection vector C2 are close, the signature position specified by the user is within the first target blank area, indicating that the signature position specified by the user is a risk position predicted by the system.

[0073] In another embodiment, when the orientation similarity between the target blank area and the first signature position obtained by the first risk position acquisition is not within the preset threshold range, the target blank area is acquired again to obtain a second target blank area; and then the vector vector is judged again based on the second target blank area whether it meets the preset risk condition (orientation and length difference comparison), wherein the second target blank area has a different azimuth from the first target blank area, for example, the first target blank area is the upper area of ​​the second signature position, and the second target blank area is the lower or left or right area of ​​the second signature position; when the vector vector meets the preset condition (orientation and length difference), it is determined that the vector vector meets the preset risk condition. In this way, in the embodiment of the present application, by acquiring risk positions multiple times in succession, it is determined whether the signature position specified by the user is at risk, so that the accuracy of risk judgment of the user's signature specified position can be improved, thereby further improving the security of the electronic seal.

[0074] S600: In response to a third signature position specified by the second user in the approval process, extract an electronic seal pre-stored in the blockchain and sign at the third signature position.

[0075] In one embodiment, the key approval prompt information of the signature position can be triggered in the approval process, wherein the key approval prompt information of the signature position is used to prompt the second user to conduct key approval on the first signature position information carried in the seal request instruction of the first user, and to re-designate the third signature position when the first signature position does not meet the requirements set by the enterprise. That is, when the approver finds that the first signature position is incorrect or there is a risk during the approval process, the approver can re-designate the signature position (third signature position) for electronic seal. When the approver approves and designates the third signature position, the electronic seal system extracts the electronic seal pre-stored in the blockchain and signs and prints at the third signature position, thereby further improving the security of the electronic seal.

[0076] In another embodiment, when the vector does not meet the preset risk condition, that is, when the signature position specified by the user is not in the risk area predicted by the system, the electronic seal system extracts the electronic seal pre-stored in the blockchain and signs at the first signature position or the second signature position.

[0077] Wherein, when the vector does not meet the preset risk condition, extracting the electronic seal pre-stored in the blockchain to sign at the first signature position or the second signature position includes:

[0078] Determine whether at least part of the content of the document to be signed can be covered when signing with the center of the first signature position as the signature center;

[0079] When it is determined that at least part of the content of the document to be signed can be covered when the center of the first signature position is used as the signature center, extracting the electronic seal pre-stored in the blockchain to sign at the first signature position;

[0080] When it is determined that at least part of the content of the document to be signed cannot be covered when signing with the center of the first signature position as the signature center, an electronic seal pre-stored in the blockchain is extracted and signed at the second signature position.

[0081] Specifically, when the signature position specified by the user is not in the risk area predicted by the system, it is determined whether the text content of the document to be signed can be covered when signing with the center of the first signature position as the signature center. When the text content of the document to be signed can be covered, the electronic seal system extracts the electronic seal pre-stored in the blockchain and signs at the first signature position. When the text content of the document to be signed cannot be covered, the electronic signature system extracts the electronic seal pre-stored in the blockchain and signs at the second signature position (standard signature position). In this way, it can not only ensure that the electronic seal can cover the text under any circumstances, but also meet the user's diverse needs for the signature position, which can increase the difficulty for criminals to steal electronic seal information, thereby further improving the security of the electronic seal.

[0082] The present application also provides an electronic seal generation system. Figure 3 , Figure 3 A schematic diagram of the hardware structure of an electronic seal generation system provided for some embodiments of the present application; the electronic seal generation system includes a memory 110 and a processor 120, the memory 110 is used to store program codes, and the processor 120 is used to call the program codes to execute the method described above.

[0083] Based on this, the electronic seal generation method of this application is combined with blockchain evidence storage technology to extract the privacy of the electronic seal, ensure the authenticity, integrity and credibility of the electronic seal, and judge whether the signature position specified by the user meets the risk conditions set by the system. When it meets the set risk conditions, it means that there is a certain risk in the user's location designation. At this time, the user is restricted from using the seal and the seal application process is approved. Finally, an electronic seal is generated at the signature position specified for approval. In this way, the security of the electronic seal can be improved.

[0084] Among them, the processor 120 is used to provide computing and control capabilities to control the electronic seal generation system to perform corresponding tasks, for example, to control the electronic seal generation system to perform the electronic seal generation method based on blockchain-related enterprise services in any of the above method embodiments, the method comprising: obtaining a seal request instruction from a first user, the seal request instruction carrying first signature position information and identity authentication information specified by the first user; when it is determined based on the identity authentication information that the identity authentication of the first user has passed, determining a second signature position according to the content of the document to be signed, the second signature position being a standard signature position; establishing a rectangular coordinate system based on the second signature position, wherein the origin of the rectangular coordinate system is the center of the second signature position; obtaining a vector of the first signature position in the rectangular coordinate system, wherein the starting point of the vector is the origin of the rectangular coordinate system and the end point is the center of the first signature position; when the vector meets a preset risk condition, starting an enterprise-related service seal approval process based on the seal request instruction of the first user; in response to a third signature position specified by the second user in the approval process, extracting an electronic seal pre-stored in the blockchain and signing at the third signature position.

[0085] The processor 120 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0086] The memory 110, as a non-transient computer-readable storage medium, can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the electronic seal generation method based on blockchain-related enterprise services in the embodiments of the present application. The processor 120 can implement the electronic seal generation method based on blockchain-related enterprise services in any of the above method embodiments by running the non-transient software programs, instructions and modules stored in the memory 110.

[0087] Specifically, the memory 110 may include a volatile memory (VM), such as a random access memory (RAM); the memory 110 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD) or other non-transitory solid-state storage device; the memory 110 may also include a combination of the above types of memory.

[0088] To sum up, the electronic seal generation system of the present application adopts the technical solution of any one of the above-mentioned electronic seal generation method embodiments based on blockchain-related enterprise services. Therefore, it has at least the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be elaborated one by one here.

[0089] The embodiment of the present application also provides a computer-readable storage medium, such as a memory including a program code, and the program code can be executed by a processor to complete the electronic seal generation method based on blockchain-related enterprise services in the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CDROM), a magnetic tape, a floppy disk, and an optical data storage device.

[0090] The present application also provides a computer program product, which includes one or more program codes, which are stored in a computer-readable storage medium. The processor of the electronic device reads the program code from the computer-readable storage medium, and the processor executes the program code to complete the steps of the electronic seal generation method based on blockchain-related enterprise services provided in the above embodiment.

[0091] A person skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be accomplished by hardware or by hardware associated with a program code, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0092] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0093] Through the description of the above embodiments, it can be clearly understood by those skilled in the art that each embodiment can be implemented by means of software plus a general hardware platform, or by hardware. It can be understood by those skilled in the art that all or part of the processes in the above embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0094] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. A method for generating electronic seals based on blockchain-related enterprise services. It is characterized in that The method comprises: Obtaining a seal request instruction from a first user, wherein the seal request instruction carries first signature location information and identity verification information specified by the first user; In the case where it is determined based on the identity authentication information that the identity authentication of the first user has passed, determining a second signature position according to the content of the document to be signed, wherein the second signature position is a standard signature position; Establishing a rectangular coordinate system based on the second signature position, wherein the origin of the rectangular coordinate system is the center of the second signature position; Obtaining a vector of the first signature position in the rectangular coordinate system, wherein the starting point of the vector is the origin of the rectangular coordinate system and the end point is the center of the first signature position; If the vector meets the preset risk condition, restrict the electronic seal request of the first user and start the enterprise service seal approval process based on the seal request instruction of the first user; In response to a third signature position specified by the second user in the approval process, extracting an electronic seal pre-stored in the blockchain and signing at the third signature position; After obtaining the vector of the first signature position in the rectangular coordinate system, the method further includes: Determining whether the vector meets a preset risk condition, wherein the preset risk condition includes a risk that the signature position specified by the first user is in a target blank area; The determining whether the vector satisfies a preset risk condition includes: Acquire a first target blank area based on the second signature position and the content of the document to be signed; Determine a target reference detection vector according to the first target blank area and the rectangular coordinate system, wherein a starting point of the target reference detection vector is an origin of the rectangular coordinate system and an end point is a center of the first target blank area; The vector vector C1 of the first signature position in the rectangular coordinate system and the target reference detection vector C2 are input into the orientation similarity estimation model to obtain the orientation similarity representation value. = (C1*C2) / |C1|*|C2|, where |C1| and |C2| are the lengths of the corresponding vectors respectively; Determining the orientation similarity between the vector vector C1 and the target reference detection vector C2 based on the orientation similarity characterization value; When the orientation similarity is within a preset threshold range and the length difference between the two vectors is within a preset threshold range, it is determined that the vectors satisfy a preset risk condition.

2. The electronic seal generation method based on blockchain-related enterprise services as claimed in claim 1, It is characterized in that The method further comprises: When the vector does not meet the preset risk condition, an electronic seal pre-stored in the blockchain is extracted and signed at the first signature position or the second signature position.

3. The electronic seal generation method based on blockchain-related enterprise services as claimed in claim 2, It is characterized in that When the vector does not meet the preset risk condition, extracting the electronic seal pre-stored in the blockchain and signing at the first signature position or the second signature position includes: Determine whether at least part of the content of the document to be signed can be covered when signing with the center of the first signature position as the signature center; When it is determined that at least part of the content of the document to be signed can be covered when the center of the first signature position is used as the signature center, extracting the electronic seal pre-stored in the blockchain to sign at the first signature position; When it is determined that at least part of the content of the document to be signed cannot be covered when signing with the center of the first signature position as the signature center, an electronic seal pre-stored in the blockchain is extracted and signed at the second signature position.

4. The electronic seal generation method based on blockchain-related enterprise services as claimed in claim 3, It is characterized in that The determining of the orientation similarity value between the vector C1 and the target reference detection vector C2 based on the orientation similarity characterization value includes: Obtaining a mapping relationship table between similarity representation values ​​and orientation similarity; The orientation similarity value between the vector C1 and the target reference detection vector C2 is obtained by querying the mapping relationship table, wherein the closer the similarity representation value is to 1, the higher the orientation similarity value is.

5. The electronic seal generation method based on blockchain-related enterprise services as claimed in claim 4, It is characterized in that Also includes: When the orientation similarity is not within a preset threshold range, reacquiring the target blank area to obtain a second target blank area; determining again whether the vector meets a preset risk condition according to the second target blank area, wherein the second target blank area has a different azimuth from the first target blank area; When the vector vector satisfies a preset condition, it is determined that the vector vector satisfies a preset risk condition.

6. The electronic seal generation method based on blockchain-related enterprise services as claimed in claim 1, It is characterized in that The step of obtaining a target blank area based on the second signature position and the content of the file to be signed includes: Based on the second signature position, a blank area closest to the second signature position is selected as the target blank area, wherein the area of ​​the target blank area is greater than or equal to the area of ​​the electronic seal.

7. The electronic seal generation method based on blockchain-related enterprise services as claimed in claim 1, It is characterized in that The initiating the enterprise service seal approval process based on the seal request instruction of the first user includes: The signature position key approval prompt information is triggered in the approval process, wherein the signature position key approval prompt information is used to prompt the second user to focus on approving the first signature position information carried in the seal request instruction of the first user, and to re-designate the third signature position when the first signature position does not meet the requirements set by the enterprise.

8. A system, It is characterized in that The method comprises a memory and a processor, wherein the memory is used to store program codes, and the processor is used to call the program codes to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Electronic seal using method and device, equipment, medium and product

    CN114662065A

  • Seal detection method and device and electronic equipment

    CN115965951A

  • Intelligent seal detection method, device and equipment and storage medium

    CN116469122A

  • File processing method based on vector signature

    CN118133320A

  • Impressing device and impressing information management system

    JP2010224784A