Seal processing method and device based on blockchain

Through the collaborative work of smart seal equipment and blockchain nodes, unique stamping behavior identification information is generated and stored, which solves the problems of difficulty in forging seals and difficulty in identifying authenticity, and achieves efficient difficulty in forging and authenticity verification of seals.

CN114077641BActive Publication Date: 2024-09-10ANT BLOCKCHAIN TECHNOLOGY (SHANGHAI) CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202110330297.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-14
Publication Date
2024-09-10
Estimated Expiration
2040-08-14

AI Technical Summary

Technical Problem

It is difficult to increase the difficulty of forging seals with the existing technology, and it is difficult to authenticate the sealing behavior of forged seals.

Method used

Adopting a blockchain-based stamping processing method, through the collaborative work of intelligent sealing equipment and blockchain nodes, unique stamping behavior identification information is generated and stored in association with the image data of the stamped document to achieve stamping. Authenticity verification of chapter behavior.

Benefits of technology

It increases the difficulty of seal forgery and realizes the authenticity verification of sealing behavior through the non-tamperability of the blockchain, ensuring that only legal personnel can seal and preventing illegal personnel from using it.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114077641B
    Figure CN114077641B
Patent Text Reader

Abstract

One embodiment of the present specification provides a seal processing method and device based on blockchain, wherein the method is applied to a blockchain node, including: first, obtaining a seal request from a smart seal device. The seal surface of the smart seal device is provided with user-defined seal content. Then, according to the seal request, the seal behavior identification information generated for this seal behavior is returned to the smart seal device. The seal behavior identification information generated for each seal behavior is different. The seal behavior identification information is used by the smart seal device to be set on the seal surface. Secondly, obtain the image data of the sealed file sent by the smart seal device after the seal behavior is completed. The sealed file is a file with the seal behavior identification information and the user-defined seal content. Finally, the seal behavior identification information and the image data of the sealed file are associated and stored in the blockchain to verify the authenticity of the seal behavior to be verified.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of Chinese invention patent application No. 202010816540.2 filed on August 14, 2020, and the name of the invention is [Seal processing method and device based on blockchain]. Technical Field

[0002] This document relates to the field of blockchain technology, and in particular to a blockchain-based seal processing method and device. Background Art

[0003] At present, stamping is required in many occasions, such as when signing a contract, the enterprise needs to stamp the contract with an official seal. However, since the content of ordinary seals is fixed, such as usually a personal name or a company name, ordinary seals are relatively easy to forge, and it is easy to carve a similar seal after obtaining the content of the seal. Moreover, it is difficult to authenticate the authenticity of the stamping behavior performed by a forged seal in the prior art. Based on this, it is necessary to provide a technical solution to increase the difficulty of forging a seal and authenticate the authenticity of the stamping behavior performed by a seal. Summary of the invention

[0004] The purpose of one embodiment of this specification is to provide a blockchain-based seal processing method and device to increase the difficulty of seal forgery and to authenticate the authenticity of the seal performed by the seal.

[0005] To solve the above technical problems, an embodiment of this specification is implemented as follows:

[0006] An embodiment of the present specification provides a seal processing method based on blockchain, which is applied to a blockchain node, including: obtaining a seal request sent by a smart seal device. The seal surface of the smart seal device is pre-set with user-defined seal content. Calling the first smart contract in the blockchain, and generating seal behavior identification information for this seal behavior according to the seal request. The seal behavior identification information generated for each seal behavior is different. The seal behavior identification information is used by the smart seal device to be set on the seal surface. Return the seal behavior identification information to the smart seal device. Obtain the image data of the sealed file sent by the smart seal device after the current seal behavior is completed. The sealed file is a file with the seal behavior identification information and the user-defined seal content. The seal behavior identification information and the image data of the sealed file are associated and stored in the blockchain to verify the authenticity of the seal behavior to be verified.

[0007] An embodiment of the present specification provides a seal processing method based on blockchain, which is applied to a smart seal device, including: sending a seal request to a blockchain node. The seal surface of the smart seal device is pre-set with user-defined seal content. Receive the seal behavior identification information generated for this seal behavior returned by the blockchain node according to the seal request. The seal behavior identification information generated for each seal behavior is different. Set the seal behavior identification information on the seal surface. After the seal behavior is completed, obtain the image data of the sealed file. The sealed file is a file with the seal behavior identification information and the user-defined seal content. Send the image data of the sealed file to the blockchain node, so that the blockchain node can associate the seal behavior identification information with the image data of the sealed file in the blockchain and verify the authenticity of the seal behavior to be verified.

[0008] An embodiment of the present specification provides a seal processing device based on blockchain, which is applied to a blockchain node and includes: a first acquisition module, which acquires a seal request sent by a smart seal device. The seal surface of the smart seal device is pre-set with user-defined seal content. An information generation module, which calls the first smart contract in the blockchain, and generates seal behavior identification information for this seal behavior according to the seal request. The seal behavior identification information generated for each seal behavior is different. The seal behavior identification information is used by the smart seal device to be set on the seal surface. A first sending module, which returns the seal behavior identification information to the smart seal device. A second acquisition module, which acquires the image data of the sealed file sent by the smart seal device after the seal behavior is completed. The sealed file is a file with the seal behavior identification information and the user-defined seal content. A data storage module, which associates and stores the seal behavior identification information and the image data of the sealed file in the blockchain so as to verify the authenticity of the seal behavior to be verified.

[0009] An embodiment of the present specification provides a seal processing device based on blockchain, which is applied to a smart seal device, including: a second sending module, which sends a seal request to a blockchain node. The seal surface of the smart seal device is pre-set with user-defined seal content. An information receiving module, which receives the seal behavior identification information generated for this seal behavior returned by the blockchain node according to the seal request. The seal behavior identification information generated for each seal behavior is different. An identification setting module, which sets the seal behavior identification information on the seal surface. A file acquisition module, which acquires the image data of the sealed file after the seal behavior is completed. The sealed file is a file with the seal behavior identification information and the user-defined seal content. A third sending module, which sends the image data of the sealed file to the blockchain node, so that the blockchain node can associate the seal behavior identification information with the image data of the sealed file in the blockchain and verify the authenticity of the seal behavior to be verified.

[0010] One embodiment of the present specification provides an electronic device, comprising: a processor; and a memory arranged to store computer-executable instructions, wherein when the computer-executable instructions are executed, the processor implements the steps of the above-mentioned seal processing method applied to a blockchain node or a smart seal device.

[0011] One embodiment of the present specification provides a storage medium for storing computer-executable instructions, which, when executed, implement the steps of the above-mentioned seal processing method applied to a blockchain node or a smart seal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in one or more embodiments of the present specification, 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 recorded in the present specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0013] Figure 1 A schematic diagram of the structure of a smart seal device provided in an embodiment of this specification;

[0014] Figure 2 A schematic diagram of a seal image obtained by stamping a document using a smart seal device provided in an embodiment of this specification;

[0015] Figure 3 A schematic diagram of an image obtained by photographing a document with a seal by a camera in a smart seal device provided in an embodiment of this specification;

[0016] Figure 4 A schematic diagram of an application scenario of a seal processing method based on blockchain provided in an embodiment of this specification;

[0017] Figure 5 A blockchain-based stamping processing method provided in an embodiment of this specification;

[0018] Figure 6 A flowchart of a blockchain-based stamping processing method provided in another embodiment of this specification;

[0019] Figure 7 A flowchart of a blockchain-based stamping processing method provided in another embodiment of this specification;

[0020] Figure 8 A schematic diagram of the structure of a seal processing device based on blockchain provided in an embodiment of this specification;

[0021] Fig. 9 A schematic diagram of the structure of a seal processing device based on blockchain provided in another embodiment of this specification;

[0022] Fig.10 A schematic diagram of the structure of an electronic device provided in one embodiment of this specification. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to clearly and completely describe the technical solutions in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0024] The purpose of one embodiment of this specification is to provide a blockchain-based seal processing method and device to increase the difficulty of seal forgery and to authenticate the authenticity of the seal performed by the seal.

[0025] To facilitate the introduction of the stamping method in the embodiments of this specification, the smart stamp device involved is first described here. Figure 1 This is a schematic diagram of the structure of a smart seal device provided in an embodiment of this specification, such as Figure 1As shown, the smart seal device 100 includes a controller 101, a camera 102, a communication module 103, a drive module 104, and an active contact 105. The controller 101 is connected to the camera 102, the communication module 103, and the drive module 104 respectively, and the drive module 104 is driven and connected to the active contact 105. Among them, the controller 101, the camera 102, the communication module 103, and the drive module 104 are arranged inside the smart seal device 100, and the active contact 105 is arranged on the seal surface of the smart seal device 100, and the seal surface is the surface on the smart seal device 100 that contacts the document to be stamped and is used for stamping.

[0026] The controller 101 is used to control the operation of the camera 102, the communication module 103 and the driving module 104. When the smart seal device 100 is working, it can communicate with the blockchain node through the communication module 103, send information to the blockchain node and receive information returned by the blockchain node.

[0027] In the smart seal device 100, the driving module 104 may include components such as motors and gears that provide driving functions. The active contact 105 may include a plurality of sub-contacts that can move independently, and these sub-contacts are arranged on the seal surface of the smart seal device 100, and move vertically in a direction perpendicular to the seal surface under the drive of the driving module 104, or move horizontally in a direction parallel to the seal surface. In practical applications, the driving module 104 can receive the information of the barcode image transmitted by the blockchain node through the communication module 103, and drive the sub-contact to move according to the information of the barcode image, so that the image obtained by the sub-contact after the movement is covered on the file is the same as the barcode image corresponding to the information of the received barcode image. Among them, the barcode image can be a two-dimensional code image. The information of the barcode image can be the code value or image data of the barcode image. The corresponding content after the barcode image is scanned can be the generation time information of the barcode image. For example, after the user scans the image obtained by the sub-contact on the smart seal device covered on the file through a mobile phone, a string of time information can be obtained, and the time information indicates the generation time of the corresponding barcode image.

[0028] In this embodiment, in addition to the movable contact 105, the seal surface of the smart seal device 100 is also pre-set with seal identification information and user-defined stamping content. The seal identification information may be a seal ID, and the seal identification information of each smart seal device 100 is different. The user-defined stamping content may be a user name or a company name.

[0029] Figure 2 This is a schematic diagram of a seal image obtained by stamping a document using a smart seal device provided in an embodiment of this specification. Figure 2As shown, the seal image obtained by the smart seal device stamping on the document includes the user-defined stamp content "AAA Company", the seal identification information "1001" and the two-dimensional code image formed by the movement of the active contact 105.

[0030] In the smart seal device 100 , the camera 102 has a photo taking function. In an actual stamping scenario, when the user places the smart seal device 100 on a document to stamp, the smart seal device 100 can take a photo of the stamped document through the camera 102 .

[0031] Figure 3 This is a schematic diagram of an image obtained by a camera in a smart seal device provided in an embodiment of this specification photographing a document with a seal. Considering that the larger the image, the lower the clarity. Figure 3 As shown, the image may include an image of a seal portion obtained by stamping a document with a smart seal device, and an image of the document surrounding the seal portion. Figure 3 The image obtained by photographing the document with a seal can also be called the stamped document image.

[0032] Based on the above Figures 1 to 3 The smart seal device introduced in this specification provides a seal processing method based on blockchain. Figure 4 A schematic diagram of an application scenario of a seal processing method based on blockchain provided in an embodiment of this specification, such as Figure 4 As shown, the scenario includes the above-mentioned smart seal device 100, the blockchain node 200 and the user terminal 300 pre-bound with the smart seal device 100. The blockchain-based seal processing method can be applied in Figure 4 In the scenario shown, the difficulty of forging the seal is increased, and the authenticity of the stamping behavior performed by the seal is identified. The user terminal 300 includes but is not limited to user devices such as computers, mobile phones, and tablet computers.

[0033] Figure 4 In the scenario shown, the process of binding the smart seal device 100 with the user terminal 300 is as follows: the user enters the seal identification information of the smart seal device 100 to be bound in the user terminal 300, and enters the administrator information set for the smart seal device 100, the user terminal 300 sends the seal identification information, administrator information and the terminal identification of the user terminal 300 to the blockchain node 200, and the blockchain node 200 associates and saves the received seal identification information, administrator information and the terminal identification of the user terminal 300, thereby achieving the effect of binding the smart seal device 100 with the user terminal 300. Among them, the administrator has the authority to set the legal personnel who can use the smart seal device 100 for stamping through the user terminal 300.

[0034] Figure 5 A method for stamping based on blockchain is provided in an embodiment of this specification. The method is applied to a blockchain node, such as the blockchain node 200 described above. Figure 5 As shown, the method comprises the following steps:

[0035] Step S502, obtaining a stamping request sent by a smart stamp device; wherein the stamp surface of the smart stamp device is pre-set with user-defined stamping content;

[0036] Step S504, calling the first smart contract in the blockchain, and generating stamping behavior identification information for this stamping behavior according to the stamping request; wherein the stamping behavior identification information generated for each stamping behavior is different; and the stamping behavior identification information is used for the smart stamp device to be set on the stamp surface;

[0037] Step S506, returning the stamping behavior identification information to the smart seal device;

[0038] Step S508, obtaining image data of the stamped file sent by the smart seal device after the current stamping behavior is completed; the stamped file is a file stamped with stamping behavior identification information and user-defined stamping content;

[0039] Step S510, the stamping behavior identification information and the image data of the stamped file are associated and stored in the blockchain to verify the authenticity of the stamping behavior to be verified.

[0040] In the embodiments of this specification, the blockchain node can send the stamping behavior identification information generated for this stamping behavior to the smart seal device according to the stamping request of the smart seal device. The stamping behavior identification information is used by the smart seal device to be set on the seal surface, so that it is stamped on the document when stamping. Since the stamping behavior identification information generated for each stamping behavior is different, the image stamped by the same smart seal device each time is also different, thereby increasing the difficulty of forging the seal. In addition, the blockchain node can also obtain the image data of the stamped file sent by the smart seal device after the completion of this stamping behavior, and associate the image data of the stamped file with the stamping behavior identification information generated for this stamping behavior in the blockchain, thereby achieving the advantage of the data in the blockchain being tamper-proof, and verifying the authenticity of the stamping behavior to be verified.

[0041] In the above step S502, the blockchain node receives the stamping request sent by the smart seal device. In one embodiment, a switch may be provided on the smart seal device. Each time before the user stamps, the switch is pressed to request to start the smart seal device. After detecting that the user presses the switch, the smart seal device sends a stamping request to the blockchain node. The stamping request may carry the seal identification information of the smart seal device.

[0042] As mentioned above, the seal surface of the smart seal device is pre-set with user-defined stamping content. For example, before purchasing the smart seal device, the user can inform the manufacturer of the smart seal device to pre-carve the user-defined stamping content on the seal surface of the smart seal device. The user-defined stamping content can be the user name or company name. Similarly, the seal identification information of the smart seal device can also be pre-carved on the seal surface of the smart seal device by the manufacturer of the smart seal device.

[0043] In the above step S504, the blockchain node calls the first smart contract in the blockchain, and generates the stamping behavior identification information for this stamping behavior according to the stamping request. In the above step S506, the blockchain node also returns the stamping behavior identification information generated for this stamping behavior to the smart seal device.

[0044] In this embodiment, a first smart contract is pre-deployed in the blockchain node, and the stamping behavior identification information can be generated through the first smart contract. Figure 1 From the structure of the smart seal device introduced above, it can be seen that in one embodiment, the communication module in the smart seal device can send a seal request to the blockchain node, and receive the seal behavior identification information returned by the blockchain node through the communication module.

[0045] In one embodiment, the blockchain node calls the first smart contract in the blockchain, and generates stamping behavior identification information for this stamping behavior according to the stamping request, specifically:

[0046] (a1) The blockchain node calls the first smart contract in the blockchain, extracts the personnel information of the person who stamps the seal from the stamping request, and searches the blockchain for the personnel information of the legal person who is allowed to stamp and corresponds to the pre-stored smart seal device;

[0047] (a2) If the personal information of the stamping person matches the personal information of the legal person found, it is determined that the stamping behavior is allowed, and stamping behavior identification information is generated for the stamping behavior.

[0048] The stamping request may carry the personal information of the stamping person. The personal information may be a facial image of the person. As mentioned above, a switch may be provided on the smart stamp device. Each time before the user stamps, the switch is pressed to request the start of the smart stamp device. After the smart stamp device detects that the user has pressed the switch, the facial image of the stamping person may be obtained through the camera therein, and the facial image of the stamping person may be carried in the stamping request and sent to the blockchain node. The stamping request may also carry the seal identification information of the smart stamp device.

[0049] The blockchain node also pre-stores the personnel information of the legal person corresponding to the smart seal device, and the personnel information of the legal person can be obtained from the aforementioned user terminal bound to the smart seal device. Therefore, in one embodiment, before the blockchain node searches for the personnel information of the legal person allowed to stamp corresponding to the pre-stored smart seal device in the blockchain, it can also: obtain the personnel information of the legal person allowed to stamp corresponding to the smart seal device sent by the user terminal bound to the smart seal device, and store it in the blockchain. For example, the administrator of the smart seal device sets the personnel information of the legal person who can use the smart seal device 100 for stamping through the user terminal, and the user terminal sends the personnel information of the legal person and the seal identification information of the smart seal device to the blockchain node, and the blockchain node associates and stores the personnel information of the legal person and the seal identification information of the smart seal device. The personnel information of the legal person can be a facial image of the person.

[0050] The blockchain node calls the first smart contract, extracts the personal information of the person who stamps the stamp and the seal identification information of the smart seal device from the stamp request, and searches the pre-stored personal information of the legal person corresponding to the smart seal device in the blockchain according to the seal identification information of the smart seal. If the extracted personal information of the stamping person is the same as the personal information of the legal person found, it is determined that the stamping behavior is allowed, and the stamping behavior identification information is generated for the stamping behavior. If they are different, it is determined that the stamping behavior is not allowed, and a notification message of refusal to stamp is returned to the smart seal device. Among them, the extracted personal information of the stamping person is the same as the personal information of the legal person found, which can be that the facial image of the stamping person is consistent with the facial image of the legal person found.

[0051] The blockchain node can generate stamping behavior identification information for this stamping behavior through the first smart contract and return it to the smart seal device. Among them, the blockchain node can generate corresponding stamping behavior identification information for each stamping behavior, and the stamping behavior identification information generated for each stamping behavior is different. The stamping behavior identification information can be the information of the barcode image, the barcode image can be a two-dimensional code image, and the information of the barcode image can be the code value or image data of the barcode image. The stamping behavior identification information is used for the smart seal device to be set on the seal surface. The blockchain node can generate different stamping behavior identification information for each stamping behavior by randomly generating information through the first smart contract. For example, the blockchain node can generate different two-dimensional code images for each stamping behavior by randomly generating two-dimensional codes through the first smart contract.

[0052] Combination Figure 1 It can be seen from the structure of the smart seal device introduced above that, in one embodiment, after the smart seal device receives the stamping behavior identification information, the driving module 104 can drive the movable contact 105 to move according to the stamping behavior identification information, so as to set the stamping behavior identification information on the seal surface. For example, the driving module 104 can drive the movable contact 105 to move vertically along a direction perpendicular to the seal surface, or to move horizontally along a direction parallel to the seal surface, so that the image obtained by the movable contact 105 after the movement is stamped on the document is the same as the barcode image corresponding to the received stamping behavior identification information.

[0053] After the smart seal device sets the stamping behavior identification information on the seal surface, the user can stamp on the document through the smart seal device. After the stamping is completed, the smart seal device sends the image data of the stamped document corresponding to this stamping behavior to the blockchain node. The stamped document is a document with the stamping behavior identification information and the user-defined stamping content. The image data of the stamped document can be as follows Figure 3 The image shown includes image data of the seal part obtained by the smart seal device stamping on the document, and image data of the document around the seal part. Figure 1 It can be seen from the structure of the smart seal device introduced above that in one embodiment, the camera in the smart seal device can capture the image data of the sealed document after the current sealing behavior is completed, and the communication module can send the image data of the sealed document to the blockchain node. In other embodiments, the smart seal device also has a scanning module, which can scan the image data of the sealed document after the current sealing behavior is completed, and the communication module can send the image data of the sealed document to the blockchain node.

[0054] Therefore, in the above step S508, the blockchain node receives the image data of the stamped file sent by the smart seal device after the current stamping behavior is completed. The stamped file is a file with the stamping behavior identification information and the user-defined stamping content.

[0055] In the above step S510, the blockchain node associates and stores the stamping behavior identification information corresponding to the current stamping behavior and the image data of the stamped file corresponding to the current stamping behavior in the blockchain, so as to verify the authenticity of the stamping behavior to be verified.

[0056] According to the above description, the stamping request may carry the personnel information of the person who stamps the current stamping behavior. Therefore, in one embodiment, in step S510, the blockchain node associates and stores the stamping behavior identification information corresponding to the current stamping behavior and the image data of the stamped file corresponding to the current stamping behavior in the blockchain, including: if the personnel information of the stamping person in the current stamping behavior matches the personnel information of the legal person found, the blockchain node associates and stores the personnel information of the stamping person in the current stamping behavior, the stamping behavior identification information of the current stamping behavior and the image data of the stamped file of the current stamping behavior in the blockchain.

[0057] If the personal information of the person who stamped the document this time matches the personal information of the legal person found, it means that the person who stamped the document is a legal person. Therefore, the blockchain node associates and stores the personal information of the person who stamped the document this time, the stamping identification information of the stamping document this time, and the image data of the document after stamping the document this time in the blockchain, thereby forming a stamping event record.

[0058] In one embodiment, if the personal information of the stamping person matches the personal information of the legal person found, before the personal information of the stamping person, the stamping behavior identification information and the image data of the stamped file are stored in association in the blockchain, the blockchain node can also: obtain the seal identification information pre-assigned to the smart seal device; the seal identification information is pre-set on the seal surface of the smart seal device. Figure 2 and Figure 3 As shown, the document after stamping also has seal identification information. Among them, the blockchain node can obtain the seal identification information sent by the user terminal bound to the smart seal device, and the seal identification information can be carried in the stamping request.

[0059] Correspondingly, if the personnel information of the person who stamps the current stamping behavior matches the personnel information of the legal person found, the blockchain node will associate and store the personnel information of the person who stamps the current stamping behavior, the stamping behavior identification information of the current stamping behavior and the image data of the file after stamping in the current stamping behavior in the blockchain, including: if the personnel information of the person who stamps the current stamping behavior matches the personnel information of the legal person found, the seal identification information, the personnel information of the stamping person, the stamping behavior identification information and the image data of the file after stamping will be associated and stored in the blockchain.

[0060] If the personal information of the person who stamped the document this time matches the personal information of the legal person found, it means that the person who stamped the document is a legal person. Therefore, the blockchain node associates and stores the seal identification information, the personal information of the person who stamped the document this time, the stamping behavior identification information of the stamping behavior this time, and the image data of the document after stamping this time in the blockchain, thereby forming a stamping event record.

[0061] According to the previous description, the blockchain node associates and stores the stamping behavior identification information and the image data of the stamped file in the blockchain. There are three situations:

[0062] (1) storing the stamping behavior identification information of the current stamping behavior and the image data of the stamped document of the current stamping behavior in association;

[0063] (2) When the stamping person is a legitimate person, the stamping person's personal information, the stamping behavior identification information of the stamping behavior, and the image data of the stamped document of the stamping behavior are stored in association;

[0064] (3) When the person who stamps the document is a legal person, the seal identification information, the personal information of the person who stamps the document, the stamping behavior identification information of the stamping behavior, and the image data of the document after the stamping behavior are stored in association.

[0065] In one embodiment, for the above situation (1), when the blockchain node associates and stores the stamping behavior identification information of this stamping behavior and the image data of the stamped file of this stamping behavior in the blockchain, the method in this embodiment includes:

[0066] Obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified;

[0067] The second smart contract in the blockchain is called to verify the authenticity of the stamping behavior according to the verification request.

[0068] A second smart contract is pre-deployed in the blockchain, and the second smart contract can verify the authenticity of the stamping behavior to be verified according to the verification request. The second smart contract in the blockchain is called to verify the authenticity of the stamping behavior to be verified according to the verification request, including:

[0069] (b1) calling a second smart contract in the blockchain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and searching the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified;

[0070] (b2) If the image data of the stamped document found matches the image data of the stamped document to be verified, the stamping behavior to be verified is determined to be a genuine stamping behavior; otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

[0071] First, obtain a verification request for verifying the authenticity of the stamping behavior to be verified, sent by the user terminal bound to the smart seal device. The verification request carries the image data of the stamped document to be verified corresponding to the stamping behavior to be verified. The user can use the user terminal to take the image data of the stamped document to be verified, upload the image data of the stamped document to be verified in the user terminal, and then click the "Verify" button in the user terminal, so as to send a verification request for verifying the authenticity of the stamping behavior to be verified to the blockchain node through the user terminal.

[0072] according to Figure 2 As can be seen from the description, the image data of the sealed document includes the identification information of the sealing behavior. Therefore, in this embodiment, after receiving the image data of the sealed document to be verified, the blockchain node extracts the identification information of the sealing behavior to be verified corresponding to the sealing behavior to be verified from the image data of the sealed document to be verified through the second smart contract. The identification information can be the information of a barcode such as a QR code, and the information of the QR code can be the code value or image data of the QR code.

[0073] Since the image data of the sealed file corresponding to the seal behavior identification information of each seal behavior is pre-associated and stored in the blockchain, the block node can search the blockchain for the image data of the sealed file corresponding to the seal behavior identification information to be verified through the second smart contract. If the image data of the sealed file found is the same as the image data of the sealed file to be verified, it means that the image data of the sealed file to be verified uploaded by the user is real data, so that the seal behavior to be verified is determined to be a real seal behavior. If the image data of the corresponding sealed file cannot be found, or the image data of the sealed file found is different from the image data of the sealed file to be verified, it is determined that the seal behavior to be verified is a forged seal behavior.

[0074] In this embodiment, since each stamping behavior corresponds to a unique stamping behavior identification information, searching for the corresponding image data of the stamped file based on the stamping behavior identification information has the advantage of fast data search and can achieve the effect of quickly verifying whether the stamping behavior to be verified is a real stamping behavior.

[0075] In one embodiment, for the above situation (2), when the stamping person is a legal person, the blockchain node associates and stores the personnel information of the stamping person, the stamping behavior identification information of the stamping behavior, and the image data of the stamped file of the stamping behavior in the blockchain. The method in this embodiment includes:

[0076] Obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified and personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified;

[0077] The third smart contract in the blockchain is called to verify the authenticity of the stamping behavior according to the verification request.

[0078] A third smart contract is pre-deployed in the blockchain, and the third smart contract can verify the authenticity of the stamping behavior to be verified according to the verification request. The third smart contract in the blockchain is called to verify the authenticity of the stamping behavior to be verified according to the verification request, including:

[0079] (c1) calling a third smart contract in the blockchain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and searching the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified, and searching the blockchain for the personnel information of the stamping personnel corresponding to the stamping behavior identification information to be verified;

[0080] (c2) If the image data of the stamped document found matches the image data of the stamped document to be verified, and the personal information of the stamping person found matches the personal information of the stamping person to be verified, then the stamping behavior to be verified is determined to be a genuine stamping behavior; otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

[0081] First, obtain a verification request for verifying the authenticity of the stamping behavior to be verified, which is sent by the user terminal bound to the smart seal device. The verification request carries the image data of the stamped document to be verified corresponding to the stamping behavior to be verified and the personnel information of the stamped person to be verified corresponding to the stamping behavior to be verified, and the personnel information can be the facial image of the person. The user can use the user terminal to take the image data of the stamped document to be verified and the facial image of the stamped person to be verified, and upload the image data of the stamped document to be verified and the facial image of the stamped person to be verified in the user terminal, and then click the "Verify" button in the user terminal, so as to send a verification request for verifying the authenticity of the stamping behavior to be verified to the blockchain node through the user terminal.

[0082] according to Figure 2 As can be seen from the description, the image data of the sealed document includes the identification information of the sealing behavior. Therefore, in this embodiment, after receiving the image data of the sealed document to be verified, the blockchain node calls the third smart contract in the blockchain to extract the identification information of the sealing behavior to be verified corresponding to the sealing behavior to be verified from the image data of the sealed document to be verified. The identification information can be the information of a barcode such as a QR code, and the information of the QR code can be the code value or image data of the QR code.

[0083] Since the blockchain pre-associates and stores the image data of the stamped document and the personnel information of the legal stamping personnel corresponding to the stamping behavior identification information of each stamping behavior, the blockchain node can call the third smart contract in the blockchain to search the blockchain for the image data of the stamped document and the personnel information of the stamping personnel corresponding to the stamping behavior identification information to be verified.

[0084] If the image data of the stamped document found is the same as the image data of the stamped document to be verified, and the personnel information of the person who stamped the document found is the same as the personnel information of the person who stamped the document to be verified, it means that the image data of the stamped document to be verified uploaded by the user is real data, and the person who stamped the document to be verified is also a legal person allowed to stamp, thereby determining that the stamping behavior to be verified is a real stamping behavior.

[0085] If the identification information of the stamping behavior to be verified cannot be found, or the image data of the stamped document cannot be found, or the personal information of the stamping person cannot be found, then the stamping behavior to be verified is determined to be a forged stamping behavior.

[0086] If the image data of the stamped document found is different from the image data of the stamped document to be verified, or the personal information of the stamped person found is different from the personal information of the stamped person to be verified, then the stamping behavior to be verified is determined to be a forged stamping behavior.

[0087] In this embodiment, since each stamping behavior corresponds to a unique stamping behavior identification information, the image data of the corresponding stamped file and the personal information of the stamping person are searched according to the stamping behavior identification information, which has the advantage of fast data search and can achieve the effect of quickly verifying whether the stamping behavior to be verified is a real stamping behavior.

[0088] Furthermore, with regard to the behavior of forging a seal and stamping it by persons other than the legal persons allowed to stamp, since the blockchain stores the personnel information of the legal persons allowed to stamp, this embodiment can identify whether the person stamping is the legal person allowed to stamp, thereby achieving the effect of quickly verifying whether the stamping behavior to be verified is a genuine stamping behavior.

[0089] In one embodiment, for the above situation (3), when the stamping person is a legal person, the blockchain node associates and stores the seal identification information, the personnel information of the stamping person of this stamping behavior, the stamping behavior identification information of this stamping behavior, and the image data of the stamped file of this stamping behavior in the blockchain. The method in this embodiment also includes:

[0090] Obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified and personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified;

[0091] The fourth smart contract in the blockchain is called to verify the authenticity of the stamping behavior according to the verification request.

[0092] A fourth smart contract is pre-deployed in the blockchain, and the fourth smart contract can verify the authenticity of the stamping behavior to be verified according to the verification request. In which, calling the fourth smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request includes:

[0093] (d1) calling a fourth smart contract in the blockchain to extract the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and extracting the seal identification information to be verified corresponding to the stamping behavior to be verified;

[0094] (d2) calling a fourth smart contract in the blockchain, searching the blockchain for image data of the sealed document corresponding to the sealing behavior identification information to be verified, searching the blockchain for personnel information of the sealing personnel corresponding to the sealing behavior identification information to be verified, and searching the blockchain for seal identification information corresponding to the sealing behavior identification information to be verified;

[0095] (d3) If the image data of the stamped document found matches the image data of the stamped document to be verified, and the personal information of the stamping person found matches the personal information of the stamping person to be verified, and the seal identification information found matches the seal identification information to be verified, then the stamping behavior to be verified is determined to be a genuine stamping behavior; otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

[0096] First, obtain a verification request for verifying the authenticity of the stamping behavior to be verified, which is sent by the user terminal bound to the smart seal device. The verification request carries the image data of the stamped document to be verified corresponding to the stamping behavior to be verified and the personnel information of the stamped person to be verified corresponding to the stamping behavior to be verified, and the personnel information can be the facial image of the person. The user can use the user terminal to take the image data of the stamped document to be verified and the facial image of the stamped person to be verified, and upload the image data of the stamped document to be verified and the facial image of the stamped person to be verified in the user terminal, and then click the "Verify" button in the user terminal, so as to send a verification request for verifying the authenticity of the stamping behavior to be verified to the blockchain node through the user terminal.

[0097] according to Figure 2 As can be seen from the description, the image data of the sealed document includes the sealing behavior identification information and the seal identification information. Therefore, in this embodiment, after receiving the image data of the sealed document to be verified, the blockchain node calls the fourth smart contract in the blockchain to extract the sealing behavior identification information corresponding to the sealing behavior to be verified from the image data of the sealed document to be verified. The identification information can be the information of a barcode such as a QR code, and the information of the QR code can be the code value or image data of the QR code. And, the seal identification information to be verified corresponding to the sealing behavior to be verified is extracted.

[0098] Since the blockchain pre-associates and stores the seal identification information corresponding to the seal behavior identification information of each seal behavior, the image data of the document after seal stamping, and the personnel information of the legal seal stamping personnel, the blockchain node can call the fourth smart contract in the blockchain to search the blockchain for the seal identification information corresponding to the seal behavior identification information to be verified, the image data of the document after seal stamping, and the personnel information of the seal stamping personnel.

[0099] If the image data of the stamped document found is the same as the image data of the stamped document to be verified, and the personnel information of the person who stamped the document found is the same as the personnel information of the person who stamped the document to be verified, and the seal identification information found is the same as the seal identification information to be verified, then it means that the image data of the stamped document to be verified uploaded by the user is real data, thereby determining that the stamping behavior to be verified is a real stamping behavior.

[0100] If the identification information of the stamping behavior to be verified cannot be found, or the image data of the stamped document cannot be found, or the personal information of the stamping person cannot be found, or the seal identification information cannot be found, then the stamping behavior to be verified is determined to be a forged stamping behavior.

[0101] If the image data of the stamped document found is different from the image data of the stamped document to be verified, or the personal information of the person who stamped the document found is different from the personal information of the person who stamped the document to be verified, or the seal identification information found is different from the seal identification information to be verified, then the stamping behavior to be verified is determined to be a forged stamping behavior.

[0102] In this embodiment, since each stamping behavior corresponds to a unique stamping behavior identification information, the corresponding seal identification information, the image data of the stamped document and the personal information of the stamping person are searched according to the stamping behavior identification information. This has the advantage of fast data search and can achieve the effect of quickly verifying whether the stamping behavior to be verified is a real stamping behavior.

[0103] Furthermore, with regard to the behavior of forging a seal and stamping it by persons other than the legal persons allowed to stamp, since the blockchain stores the personnel information of the legal persons allowed to stamp, this embodiment can identify whether the person stamping is the legal person allowed to stamp, thereby achieving the effect of quickly verifying whether the stamping behavior to be verified is a genuine stamping behavior.

[0104] In one embodiment, a blockchain node obtains a verification request for verifying the authenticity of a stamping behavior to be verified, including: the blockchain node obtains a verification request for verifying the authenticity of a stamping behavior to be verified, sent by a user terminal bound to a smart seal device.

[0105] Submitting a verification request through a user terminal bound to the smart seal device has the advantage of being convenient for user operation, and can make full use of the shooting function of the user terminal to submit the image data of the stamped document, the personal information of the stamped person to be verified, and other contents.

[0106] In one embodiment, the blockchain can also store the stamping time of each stamping behavior, which can be the time when the smart seal device uploads the image data of the stamped file. The user can also send a stamping time query request to the blockchain node through the above user terminal, and the request carries the image data of the stamped file to be queried, so that the blockchain returns the corresponding stamping time to the user terminal based on the image data of the stamped file.

[0107] In one embodiment, the user terminal can also send a smart seal loss report request to the blockchain node under the user's operation. The request carries the seal identification information of the smart seal device that has been reported lost, so that the blockchain node reports the seal device lost based on the seal identification information. The smart seal device that has been reported lost will not be able to perform stamping operations.

[0108] In summary, the stamping processing method in this embodiment has at least the following technical effects:

[0109] (1) By comparing the personal information of the stamping person with the personal information of the legal person who is allowed to stamp, it can achieve the effect that only legal persons can stamp, thus preventing the smart stamp device from being misappropriated by illegal persons;

[0110] (2) When an illegal person misappropriates the smart seal device, when verifying the authenticity of the stamping behavior, by comparing the personal information of the stamping person with the personal information of the legal person who is allowed to stamp, the illegal person misappropriation of the smart seal device can be identified;

[0111] (3) It provides multiple ways to identify the authenticity of stamping behavior when different data are stored in the blockchain.

[0112] It should be noted that in the above embodiment, the blockchain node that executes the above steps S502 to S510 may be the first blockchain node, and the blockchain node that calls the second smart contract, the third smart contract or the fourth smart contract in the blockchain to verify the authenticity of the stamping behavior may be the second blockchain node. The first blockchain node and the second blockchain node may be the same blockchain node or different blockchain nodes.

[0113] The above embodiments provide three situations in which blockchain stores data, and explain the process of verifying the authenticity of the stamping behavior to be verified in each situation. It can be understood that when storing data in the blockchain, in addition to the above three situations, the image data of the stamped file can also be stored in the blockchain. When the verification request submitted by the user for verifying the authenticity of the stamping behavior to be verified includes the image data of the stamped file to be verified, the smart contract in the blockchain is called to search for the image data of the stamped file to be verified in the blockchain. If the image data is found, the stamping behavior to be verified is determined to be a real stamping behavior, otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

[0114] In addition, the stamping behavior identification information, the seal identification information, and the image data of the stamped document can also be stored in association in the blockchain. When the verification request submitted by the user for verifying the authenticity of the stamping behavior includes the image data of the stamped document to be verified, the verification is performed in the following manner:

[0115] (e1) calling a smart contract in the blockchain to extract the identification information of the stamping behavior to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and extracting the seal identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified;

[0116] (e2) searching the blockchain for image data of the sealed document corresponding to the sealing behavior identification information to be verified, and searching the blockchain for seal identification information corresponding to the sealing behavior identification information to be verified;

[0117] (e3) If the image data of the stamped document found matches the image data of the stamped document to be verified, and the seal identification information found matches the seal identification information to be verified, then the stamping behavior to be verified is determined to be a genuine stamping behavior; otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

[0118] Corresponding to the above-mentioned seal processing method applied to the blockchain node side, an embodiment of this specification also provides a seal processing method applied to the smart seal device side and executed by the smart seal device. Figure 6 A flowchart of a blockchain-based stamping processing method provided in another embodiment of this specification is shown in FIG. Figure 6 As shown, the process includes:

[0119] Step S602, sending a stamping request to a blockchain node; wherein the stamp surface of the smart stamp device is pre-set with user-defined stamping content;

[0120] Step S604, receiving the stamping behavior identification information generated for the current stamping behavior and returned by the blockchain node according to the stamping request; wherein the stamping behavior identification information generated for each stamping behavior is different;

[0121] Step S606, setting the stamping behavior identification information on the stamp surface;

[0122] Step S608, after the current stamping behavior is completed, image data of the stamped file is obtained; the stamped file is a file stamped with stamping behavior identification information and user-defined stamping content;

[0123] Step S610, sending the image data of the sealed document to the blockchain node, so that the blockchain node can associate and store the sealing behavior identification information and the image data of the sealed document in the blockchain, and verify the authenticity of the sealed behavior to be verified.

[0124] In the embodiments of this specification, the smart seal device can send a stamping request to the blockchain node, and receive the stamping behavior identification information generated for this stamping behavior returned by the blockchain node. The stamping behavior identification information is used by the smart seal device to be set on the seal surface, so that it is stamped on the document when stamping. Since the stamping behavior identification information generated for each stamping behavior is different, the image stamped by the same smart seal device each time is also different, thereby increasing the difficulty of forging the seal. In addition, after the stamping behavior is completed, the smart seal device can also take the image data of the stamped document and send it to the blockchain node, so that the blockchain node can associate the stamping behavior identification information with the image data of the stamped document in the blockchain, thereby achieving the advantage of the data in the blockchain being tamper-proof, and verifying the authenticity of the stamping behavior to be verified.

[0125] In one embodiment, the smart seal device includes a driving module and an active contact. The active contact is set on the seal surface. Setting the stamping behavior identification information on the seal surface includes: driving the active contact to move according to the stamping behavior identification information through the driving module to set the stamping behavior identification information on the seal surface, and the stamping behavior identification information includes the information of the barcode image. The barcode image can be a two-dimensional code image. The information of the barcode image can be the code value or image data of the barcode image. The specific structure of the process and the smart seal device can refer to the previous description of the process and the active contact. Figures 1 to 5 The description is not repeated here.

[0126] In one embodiment, the smart seal device includes a camera. After the current stamping behavior is completed, obtaining the image data of the stamped document includes: after the current stamping behavior is completed, taking the image data of the stamped document through the camera. The process and the specific structure of the smart seal device can refer to the above Figures 1 to 5 The description is not repeated here.

[0127] In one embodiment, the stamping request carries the personal information of the stamping person. The personal information of the stamping person includes the facial image of the stamping person captured by the camera in the smart stamp device. The stamping behavior identification information is generated for this stamping behavior and returned to the smart stamp device by the blockchain node after determining that the personal information of the stamping person matches the personal information of the legal person allowed to stamp corresponding to the smart stamp device. This process can be referred to in the previous Figures 1 to 5 The description is not repeated here.

[0128] In one embodiment, the smart seal device includes a communication module. Sending a seal request to a blockchain node includes: sending a seal request to the blockchain node through the communication module. Receiving the seal behavior identification information generated for this seal behavior returned by the blockchain node according to the seal request includes: receiving the seal behavior identification information generated for this seal behavior returned by the blockchain node according to the seal request through the communication module. Sending image data of the sealed file to the blockchain node includes: sending image data of the sealed file to the blockchain node through the communication module. This process can refer to the previous Figures 1 to 5 The description is not repeated here.

[0129] Figure 7 A flowchart of a blockchain-based stamping processing method provided in another embodiment of this specification, which can be implemented by a blockchain node, a smart seal device, and a user terminal bound to the smart seal device, such as Figure 7 As shown, the process includes:

[0130] Step S702: The user terminal sends a binding request for binding the smart seal device to the blockchain node.

[0131] The binding request carries the user terminal identification information, the seal identification information of the smart seal device, and the administrator information set by the user for the smart seal device in the user terminal.

[0132] Step S704: The blockchain node sends a binding success notification message to the user terminal.

[0133] The blockchain node records the user terminal identification information, the seal identification information of the smart seal device and the administrator information of the smart seal device in the blockchain, thereby completing the binding and sending a binding success notification message to the user terminal.

[0134] Step S706: The smart seal device sends a seal request to the blockchain node.

[0135] The stamping request carries the stamp identification information of the smart stamping device and the facial image of the stamping person.

[0136] Step S708: The blockchain node returns the stamping behavior identification information generated for this stamping behavior to the smart seal device.

[0137] In this step, after the blockchain node determines that the facial image of the person stamping the seal is consistent with the facial image of the legal person allowed to stamp the seal, it returns the stamping behavior identification information generated for this stamping behavior to the smart seal device.

[0138] If the blockchain node determines that the facial image of the person stamping the seal is inconsistent with the facial image of the legal person allowed to stamp the seal, a notification message of refusal to stamp the seal can be returned to the smart seal device, and the process of this method ends.

[0139] Step S710: the smart seal device sets stamping behavior identification information on the seal surface.

[0140] Step S712: After stamping is completed, the smart seal device sends the image data of the stamped document to the blockchain node.

[0141] In step S714, the blockchain node associates and stores the seal identification information, the facial image of the person who stamps the seal, the stamping behavior identification information, and the image data of the stamped file.

[0142] In this step, the blockchain node also stores the time when the image data of the stamped document is received as the stamping time. For example, the blockchain node stores the seal identification information, the face image of the stamping person, the stamping behavior identification information, the image data of the stamped document, and the stamping time in association.

[0143] Step S716: The user terminal sends a verification request to the blockchain node to verify the authenticity of the stamping behavior.

[0144] The verification request carries the image data of the stamped document to be verified corresponding to the stamping behavior to be verified and the personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified.

[0145] In step S718, the blockchain node verifies the authenticity of the stamping behavior based on the stored data.

[0146] This step can refer to the previous Figure 5 The description of the third verification situation in will not be repeated here.

[0147] Step S720: The blockchain node returns the verification result to the user terminal.

[0148] The verification result includes whether the stamping behavior to be verified is a real stamping behavior, or whether the stamping behavior to be verified is a forged stamping behavior. When the stamping behavior to be verified is a real stamping behavior, the blockchain node can also return the stamping time to the user terminal.

[0149] Figure 7 In the illustrated embodiment, the factory producing the smart seal device may request in advance from the blockchain node to allocate seal identification information. Based on the request sent by the factory, the blockchain node allocates the seal identification information to the smart seal device to facilitate the engraving of the seal identification information on the smart seal device.

[0150] In one embodiment, after the blockchain node receives the image data of the stamped document, it can also determine whether the image is qualified based on the clarity of the image. If it is qualified, it will be stored in the blockchain. If it is unqualified, the smart seal device will be notified to resend the image data of the stamped document.

[0151] Through the above embodiments, since the stamping behavior identification information generated for each stamping behavior is different, the image stamped by the same smart seal device each time is also different, thereby increasing the difficulty of forging the seal. In addition, after the current stamping behavior is completed, the smart seal device can also take the image data of the stamped file and send it to the blockchain node, so that the blockchain node can associate the stamping behavior identification information with the image data of the stamped file in the blockchain, thereby achieving the advantage of the data in the blockchain being tamper-proof and verifying the authenticity of the stamping behavior to be verified.

[0152] Figure 8 This is a schematic diagram of the structure of a blockchain-based stamp processing device provided in an embodiment of this specification, such as Figure 8 As shown, the device is applied to a blockchain node, including:

[0153] The first acquisition module 81 acquires a stamping request sent by a smart stamp device, wherein the stamp surface of the smart stamp device is pre-set with user-defined stamping content;

[0154] The information generation module 82 calls the first smart contract in the blockchain, and generates stamping behavior identification information for the current stamping behavior according to the stamping request; wherein the stamping behavior identification information generated for each stamping behavior is different; and the stamping behavior identification information is used for the smart stamp device to be set on the stamp surface;

[0155] The first sending module 83 returns the stamping behavior identification information to the smart seal device;

[0156] The second acquisition module 84 acquires the image data of the stamped file sent by the smart seal device after the current stamping behavior is completed; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;

[0157] The data storage module 85 associates and stores the stamping behavior identification information and the image data of the stamped file in the blockchain so as to verify the authenticity of the stamping behavior to be verified.

[0158] Optionally, the information generation module 82: calls the first smart contract in the blockchain, extracts the personnel information of the person who stamps this stamping behavior from the stamping request, and searches the blockchain for the personnel information of the legal person who is allowed to stamp corresponding to the smart seal device pre-stored; if the personnel information of the stamping person matches the personnel information of the legal person found, it is determined that this stamping behavior is allowed, and the stamping behavior identification information is generated for this stamping behavior.

[0159] Optionally, the data storage module 85: if the personnel information of the stamping person matches the personnel information of the legal person found, the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are associated and stored in the blockchain.

[0160] Optionally, it also includes: a third acquisition module, which obtains the personnel information of the legal person allowed to stamp corresponding to the smart seal device sent by the user terminal bound to the smart seal device before searching the blockchain for the personnel information of the legal person allowed to stamp corresponding to the smart seal device pre-stored in the blockchain, and stores it in the blockchain.

[0161] Optionally, it also includes: a fourth acquisition module, which acquires the seal identification information pre-assigned to the smart seal device before the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are stored in association in the blockchain; the seal identification information is pre-set on the seal surface of the smart seal device; the stamped file is also stamped with the seal identification information; accordingly, the data storage module 85: stores the seal identification information, the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file in association in the blockchain.

[0162] Optionally, it also includes a first verification module, which obtains a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified; and calls a second smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request.

[0163] Optionally, the first verification module calls the second smart contract in the blockchain, extracts the sealing behavior identification information to be verified corresponding to the sealing behavior to be verified from the image data of the sealed document to be verified, and searches the blockchain for the image data of the sealed document corresponding to the sealing behavior identification information to be verified; if the image data of the sealed document found matches the image data of the sealed document to be verified, it is determined that the sealing behavior to be verified is a real sealing behavior; otherwise, it is determined that the sealing behavior to be verified is a forged sealing behavior.

[0164] Optionally, it also includes a second verification module, which obtains a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries the image data of the stamped document to be verified corresponding to the stamping behavior to be verified and the personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified; and calls the third smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request.

[0165] Optionally, the second verification module calls the third smart contract in the blockchain, extracts the identification information of the stamping behavior to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and searches the blockchain for the image data of the stamped document corresponding to the identification information of the stamping behavior to be verified, and searches the blockchain for the personnel information of the stamping person corresponding to the identification information of the stamping behavior to be verified; if the image data of the stamped document found matches the image data of the stamped document to be verified, and the personnel information of the stamping person found matches the personnel information of the stamping person to be verified, then the stamping behavior to be verified is determined to be a real stamping behavior, otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

[0166] Optionally, it also includes a third verification module, which obtains a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries the image data of the stamped document to be verified corresponding to the stamping behavior to be verified and the personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified; and calls the fourth smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request.

[0167] Optionally, the third verification module calls the fourth smart contract in the blockchain, extracts the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and extracts the seal identification information to be verified corresponding to the stamping behavior to be verified; calls the fourth smart contract in the blockchain, searches the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified, and searches the blockchain for the personnel information of the stamping person corresponding to the stamping behavior identification information to be verified, and searches the blockchain for the seal identification information corresponding to the stamping behavior identification information to be verified; if the image data of the stamped document found matches the image data of the stamped document to be verified, and the personnel information of the stamping person found matches the personnel information of the stamping person to be verified, and the seal identification information found matches the seal identification information to be verified, then the stamping behavior to be verified is determined to be a real stamping behavior, otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

[0168] Optionally, the first verification module obtains a verification request for verifying the authenticity of the stamping behavior to be verified, which is sent by a user terminal bound to the smart seal device.

[0169] Optionally, the smart seal device includes a camera, a communication module, a driving module and an active contact; the active contact is arranged on the seal surface; the communication module is used to send a seal request to a blockchain node and receive the seal behavior identification information; the driving module is used to drive the active contact to move according to the seal behavior identification information to set the seal behavior identification information on the seal surface; the seal behavior identification information includes information of a barcode image; the camera is used to capture image data of the sealed file after the current seal behavior is completed; the communication module is also used to send image data of the sealed file to the blockchain node.

[0170] In the embodiments of this specification, the blockchain node can send the stamping behavior identification information generated for this stamping behavior to the smart seal device according to the stamping request of the smart seal device. The stamping behavior identification information is used by the smart seal device to be set on the seal surface, so that it is stamped on the document when stamping. Since the stamping behavior identification information generated for each stamping behavior is different, the image stamped by the same smart seal device each time is also different, thereby increasing the difficulty of forging the seal. In addition, the blockchain node can also obtain the image data of the stamped file sent by the smart seal device after the completion of this stamping behavior, and associate the image data of the stamped file with the stamping behavior identification information generated for this stamping behavior in the blockchain, thereby achieving the advantage of the data in the blockchain being tamper-proof, and verifying the authenticity of the stamping behavior to be verified.

[0171] The seal processing device in this embodiment can implement each process of the seal processing method applied to the blockchain node and achieve the same effect and function, which will not be repeated here.

[0172] Fig. 9 A schematic diagram of the structure of a seal processing device based on blockchain provided in another embodiment of this specification is shown in FIG. Fig. 9 As shown, the device is applied to a smart seal device, including:

[0173] The second sending module 91 sends a stamping request to the blockchain node; wherein the stamp surface of the smart stamp device is pre-set with user-defined stamping content;

[0174] The information receiving module 92 receives the stamping behavior identification information generated for the current stamping behavior and returned by the blockchain node according to the stamping request; wherein the stamping behavior identification information generated for each stamping behavior is different;

[0175] The identification setting module 93 sets the stamping behavior identification information on the stamp surface;

[0176] The file acquisition module 94 acquires the image data of the stamped file after the stamping action is completed; the stamped file is a file stamped with the stamping action identification information and the user-defined stamping content;

[0177] The third sending module 95 sends the image data of the sealed document to the blockchain node, so that the blockchain node can associate and store the sealing behavior identification information and the image data of the sealed document in the blockchain, and verify the authenticity of the sealed behavior to be verified.

[0178] Optionally, the smart seal device includes a driving module and an active contact; the active contact is arranged on the seal surface; the identification setting module 93: drives the active contact to move according to the stamping behavior identification information through the driving module to set the stamping behavior identification information on the seal surface; the stamping behavior identification information includes information of a barcode image.

[0179] Optionally, the smart seal device includes a camera; the file acquisition module 94 is configured to capture image data of the stamped file through the camera after the stamping action is completed.

[0180] Optionally, the stamping request carries the personal information of the person who stamps this stamping behavior; the personal information of the person who stamps this stamping behavior includes the facial image of the person who stamps this stamping behavior taken by the camera; the stamping behavior identification information is generated for this stamping behavior and returned to the smart seal device by the blockchain node after determining that the personal information of the person who stamps this stamping behavior matches the personal information of the legal person who is allowed to stamp corresponding to the smart seal device.

[0181] Optionally, the smart seal device includes a communication module; the second sending module 91: sends a seal request to the blockchain node through the communication module; the information receiving module 92: receives the seal behavior identification information generated for this seal behavior and returned by the blockchain node according to the seal request through the communication module; the third sending module 95: sends the image data of the sealed file to the blockchain node through the communication module.

[0182] In the embodiments of this specification, the smart seal device can send a stamping request to the blockchain node, and receive the stamping behavior identification information generated for this stamping behavior returned by the blockchain node. The stamping behavior identification information is used by the smart seal device to be set on the seal surface, so that it is stamped on the document when stamping. Since the stamping behavior identification information generated for each stamping behavior is different, the image stamped by the same smart seal device each time is also different, thereby increasing the difficulty of forging the seal. In addition, after the stamping behavior is completed, the smart seal device can also take the image data of the stamped document and send it to the blockchain node, so that the blockchain node can associate the stamping behavior identification information with the image data of the stamped document in the blockchain, thereby achieving the advantage of the data in the blockchain being tamper-proof, and verifying the authenticity of the stamping behavior to be verified.

[0183] The seal processing device in this embodiment can implement each process of the seal processing method applied to the smart seal device and achieve the same effect and function, which will not be repeated here.

[0184] Furthermore, another embodiment of the present specification provides an electronic device, Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification, such as Fig.10 As shown, the electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors 1001 and storage 1002, and the memory 1002 may store one or more storage applications or data. Among them, the memory 1002 may be a short-term storage or a persistent storage. The application stored in the memory 1002 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 1001 can be configured to communicate with the memory 1002 and execute a series of computer executable instructions in the memory 1002 on the electronic device. The electronic device may also include one or more power supplies 1003, one or more wired or wireless network interfaces 1004, one or more input and output interfaces 1005, one or more keyboards 1006, etc.

[0185] In a specific embodiment, the electronic device is a server, which may be the blockchain node mentioned above. The electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the electronic device, and the one or more programs are configured to be executed by one or more processors, including the following computer executable instructions:

[0186] Obtaining a stamping request sent by a smart stamp device; wherein the stamp surface of the smart stamp device is pre-set with user-defined stamping content;

[0187] Calling the first smart contract in the blockchain, and generating stamping behavior identification information for the current stamping behavior according to the stamping request; wherein the stamping behavior identification information generated for each stamping behavior is different; and the stamping behavior identification information is used for the smart stamp device to be set on the stamp surface;

[0188] Returning the stamping behavior identification information to the smart seal device;

[0189] Acquire image data of a stamped file sent by the smart seal device after the current stamping behavior is completed; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;

[0190] The stamping behavior identification information and the image data of the stamped file are associated and stored in the blockchain so as to verify the authenticity of the stamping behavior to be verified.

[0191] Optionally, when the computer executable instructions are executed, they call the first smart contract in the blockchain, and generate sealing behavior identification information for this sealing behavior according to the sealing request, including: calling the first smart contract in the blockchain, extracting the personnel information of the person who seals this sealing behavior from the sealing request, and searching the blockchain for the personnel information of the legal person allowed to seal corresponding to the smart seal device pre-stored in the blockchain; if the personnel information of the sealing person matches the personnel information of the legal person found, it is determined that this sealing behavior is allowed, and the sealing behavior identification information is generated for this sealing behavior.

[0192] Optionally, when the computer executable instructions are executed, the stamping behavior identification information and the image data of the stamped file are stored in association in the blockchain, including: if the personnel information of the stamping person matches the personnel information of the legal person found, then the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are stored in association in the blockchain.

[0193] Optionally, when the computer executable instructions are executed, before searching the blockchain for the personnel information of the legal person who is allowed to stamp the smart seal device that is pre-stored, it also includes: obtaining the personnel information of the legal person who is allowed to stamp the smart seal device that is sent by the user terminal bound to the smart seal device, and storing it in the blockchain.

[0194] Optionally, when the computer executable instructions are executed, before the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are stored in association in the blockchain, it also includes: obtaining the seal identification information pre-assigned to the smart seal device; the seal identification information is pre-set on the seal surface of the smart seal device; the stamped file is also stamped with the seal identification information; accordingly, the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are stored in association in the blockchain, including: storing the seal identification information, the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file in association in the blockchain.

[0195] Optionally, when the computer executable instructions are executed, they also include: obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified; calling a second smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request.

[0196] Optionally, when the computer executable instructions are executed, the second smart contract in the blockchain is called to verify the authenticity of the stamping behavior to be verified according to the verification request, including: calling the second smart contract in the blockchain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and searching the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified; if the image data of the stamped document found matches the image data of the stamped document to be verified, it is determined that the stamping behavior to be verified is a real stamping behavior; otherwise, it is determined that the stamping behavior to be verified is a forged stamping behavior.

[0197] Optionally, when the computer executable instructions are executed, they also include: obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified and personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified; calling a third smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request.

[0198] Optionally, when the computer executable instructions are executed, the third smart contract in the blockchain is called to verify the authenticity of the stamping behavior to be verified according to the verification request, including: calling the third smart contract in the blockchain to extract the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and searching the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified, and searching the blockchain for the personnel information of the stamping person corresponding to the stamping behavior identification information to be verified; if the image data of the stamped document found matches the image data of the stamped document to be verified, and the personnel information of the stamping person found matches the personnel information of the stamping person to be verified, then the stamping behavior to be verified is determined to be a true stamping behavior; otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

[0199] Optionally, when the computer executable instructions are executed, they also include: obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified and personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified; calling a fourth smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request.

[0200] Optionally, when the computer executable instructions are executed, the fourth smart contract in the blockchain is called to verify the authenticity of the stamping behavior to be verified according to the verification request, including: calling the fourth smart contract in the blockchain to extract the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and extracting the seal identification information to be verified corresponding to the stamping behavior to be verified; calling the fourth smart contract in the blockchain to search for the image data of the stamped document corresponding to the stamping behavior identification information to be verified in the blockchain, and searching in the blockchain Find the personnel information of the stamping person corresponding to the stamping behavior identification information to be verified, and find the seal identification information corresponding to the stamping behavior identification information to be verified in the blockchain; if the image data of the stamped document found matches the image data of the stamped document to be verified, and the personnel information of the stamping person found matches the personnel information of the stamping person to be verified, and the seal identification information found matches the seal identification information to be verified, then it is determined that the stamping behavior to be verified is a real stamping behavior, otherwise, it is determined that the stamping behavior to be verified is a forged stamping behavior.

[0201] Optionally, when the computer executable instructions are executed, obtaining a verification request for verifying the authenticity of the stamping behavior to be verified includes: obtaining a verification request for verifying the authenticity of the stamping behavior to be verified sent by a user terminal bound to the smart seal device.

[0202] Optionally, when the computer executable instructions are executed, the smart seal device includes a camera, a communication module, a driving module and an active contact; the active contact is arranged on the seal surface; the communication module is used to send a seal request to the blockchain node and receive the seal behavior identification information; the driving module is used to drive the active contact to move according to the seal behavior identification information to set the seal behavior identification information on the seal surface; the seal behavior identification information includes information of a barcode image; the camera is used to capture image data of the sealed file after the seal behavior is completed; the communication module is also used to send image data of the sealed file to the blockchain node.

[0203] In the embodiments of this specification, the blockchain node can be implemented in the form of the above-mentioned electronic device. The blockchain node can send the stamping behavior identification information generated for this stamping behavior to the smart seal device according to the stamping request of the smart seal device. The stamping behavior identification information is used by the smart seal device to be set on the seal surface, so that it is stamped on the document when stamping. Since the stamping behavior identification information generated for each stamping behavior is different, the image stamped by the same smart seal device each time is also different, thereby increasing the difficulty of forging the seal. In addition, the blockchain node can also obtain the image data of the stamped file sent by the smart seal device after the completion of this stamping behavior, and associate the image data of the stamped file with the stamping behavior identification information generated for this stamping behavior in the blockchain, thereby achieving the advantage of the data in the blockchain being tamper-proof, and verifying the authenticity of the stamping behavior to be verified.

[0204] The electronic device in this embodiment can implement each process of the above-mentioned stamp processing method applied to the blockchain node and achieve the same effects and functions, which will not be repeated here.

[0205] In another specific embodiment, the electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the electronic device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0206] Sending a stamping request to a blockchain node; wherein the stamp surface of the smart stamp device is pre-set with user-defined stamping content;

[0207] Receiving the stamping behavior identification information generated for the current stamping behavior and returned by the blockchain node according to the stamping request; wherein the stamping behavior identification information generated for each stamping behavior is different;

[0208] Setting the stamping behavior identification information on the surface of the seal;

[0209] After the current stamping behavior is completed, image data of the stamped file is obtained; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;

[0210] The image data of the sealed document is sent to the blockchain node, so that the blockchain node can associate and store the sealing behavior identification information and the image data of the sealed document in the blockchain, and verify the authenticity of the sealed behavior to be verified.

[0211] Optionally, when the computer executable instructions are executed, the smart seal device includes a driving module and an active contact; the active contact is arranged on the seal surface; the stamping behavior identification information is set on the seal surface, including: driving the active contact to move according to the stamping behavior identification information by the driving module to set the stamping behavior identification information on the seal surface; the stamping behavior identification information includes information of a barcode image.

[0212] Optionally, when the computer executable instructions are executed, the smart seal device includes a camera; after the current stamping behavior is completed, image data of the stamped document is obtained, including: after the current stamping behavior is completed, the image data of the stamped document is photographed by the camera.

[0213] Optionally, when the computer executable instructions are executed, the stamping request carries the personal information of the person who stamps this stamping behavior; the personal information of the person who stamps the behavior includes the facial image of the person who stamps the behavior taken by the camera; the stamping behavior identification information is generated for this stamping behavior and returned to the smart seal device by the blockchain node after determining that the personal information of the person who stamps the behavior matches the personal information of the legal person who is allowed to stamp corresponding to the smart seal device.

[0214] Optionally, when the computer executable instructions are executed, the smart seal device includes a communication module; sending a seal request to a blockchain node includes: sending a seal request to the blockchain node through the communication module; receiving the seal behavior identification information generated for this seal behavior and returned by the blockchain node according to the seal request, including: receiving the seal behavior identification information generated for this seal behavior and returned by the blockchain node according to the seal request through the communication module; sending the image data of the sealed file to the blockchain node includes: sending the image data of the sealed file to the blockchain node through the communication module.

[0215] In the embodiments of this specification, the electronic device may be a smart seal device. The smart seal device may send a stamping request to a blockchain node, and receive the stamping behavior identification information generated for this stamping behavior returned by the blockchain node. The stamping behavior identification information is used by the smart seal device to be set on the seal surface, so that it is stamped on the document when stamping. Since the stamping behavior identification information generated for each stamping behavior is different, the image stamped by the same smart seal device each time is also different, thereby increasing the difficulty of forging the seal. In addition, after the stamping behavior is completed, the smart seal device can also take the image data of the stamped document and send it to the blockchain node, so that the blockchain node can associate the stamping behavior identification information with the image data of the stamped document in the blockchain, thereby achieving the advantage of the data in the blockchain being tamper-proof, and verifying the authenticity of the stamping behavior to be verified.

[0216] The electronic device in this embodiment can implement each process of the seal processing method applied to the smart seal device and achieve the same effect and function, which will not be repeated here.

[0217] Furthermore, another embodiment of the present specification also provides a storage medium for storing computer executable instructions. In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:

[0218] Obtaining a stamping request sent by a smart stamp device; wherein the stamp surface of the smart stamp device is pre-set with user-defined stamping content;

[0219] Calling the first smart contract in the blockchain, and generating stamping behavior identification information for the current stamping behavior according to the stamping request; wherein the stamping behavior identification information generated for each stamping behavior is different; and the stamping behavior identification information is used for the smart stamp device to be set on the stamp surface;

[0220] Returning the stamping behavior identification information to the smart seal device;

[0221] Acquire image data of a stamped file sent by the smart seal device after the current stamping behavior is completed; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;

[0222] The stamping behavior identification information and the image data of the stamped file are associated and stored in the blockchain so as to verify the authenticity of the stamping behavior to be verified.

[0223] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the first smart contract in the blockchain is called, and according to the stamping request, stamping behavior identification information is generated for this stamping behavior, including: calling the first smart contract in the blockchain, extracting the personnel information of the stamping person of this stamping behavior from the stamping request, and searching the blockchain for the personnel information of the legal person allowed to stamp corresponding to the smart seal device pre-stored in the blockchain; if the personnel information of the stamping person matches the personnel information of the legal person found, it is determined that this stamping behavior is allowed, and the stamping behavior identification information is generated for this stamping behavior.

[0224] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the stamping behavior identification information and the image data of the stamped file are stored in association in the blockchain, including: if the personnel information of the stamping person matches the personnel information of the legal person found, then the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are stored in association in the blockchain.

[0225] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, before searching the blockchain for the personnel information of the legal person who is allowed to stamp the smart seal device that is pre-stored, it also includes: obtaining the personnel information of the legal person who is allowed to stamp the smart seal device that is sent by the user terminal bound to the smart seal device, and storing it in the blockchain.

[0226] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, before the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are stored in the blockchain in association with each other, it also includes: obtaining the seal identification information pre-assigned to the smart seal device; the seal identification information is pre-set on the seal surface of the smart seal device; the stamped file is also stamped with the seal identification information; accordingly, the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are stored in the blockchain in association with each other, including: storing the seal identification information, the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file in association with each other in the blockchain.

[0227] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, they also include: obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified; calling a second smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request.

[0228] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the second smart contract in the blockchain is called, and the authenticity of the stamping behavior to be verified is verified according to the verification request, including: calling the second smart contract in the blockchain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and searching the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified; if the image data of the stamped document found matches the image data of the stamped document to be verified, it is determined that the stamping behavior to be verified is a real stamping behavior, otherwise, it is determined that the stamping behavior to be verified is a forged stamping behavior.

[0229] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, they also include: obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified and personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified; calling a third smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request.

[0230] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the third smart contract in the blockchain is called, and the authenticity of the stamping behavior to be verified is verified according to the verification request, including: calling the third smart contract in the blockchain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and searching the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified, and searching the blockchain for the personnel information of the stamping person corresponding to the stamping behavior identification information to be verified; if the image data of the stamped document found matches the image data of the stamped document to be verified, and the personnel information of the stamping person found matches the personnel information of the stamping person to be verified, then the stamping behavior to be verified is determined to be a true stamping behavior; otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

[0231] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, they also include: obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped document to be verified corresponding to the stamping behavior to be verified and personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified; calling a fourth smart contract in the blockchain to verify the authenticity of the stamping behavior to be verified according to the verification request.

[0232] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the fourth smart contract in the blockchain is called to verify the authenticity of the stamping behavior to be verified according to the verification request, including: calling the fourth smart contract in the blockchain to extract the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and extracting the seal identification information to be verified corresponding to the stamping behavior to be verified; calling the fourth smart contract in the blockchain to search the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified, and, Search the blockchain for the personnel information of the stamping person corresponding to the stamping behavior identification information to be verified, and search the blockchain for the seal identification information corresponding to the stamping behavior identification information to be verified; if the image data of the stamped document found matches the image data of the stamped document to be verified, and the personnel information of the stamping person found matches the personnel information of the stamping person to be verified, and the seal identification information found matches the seal identification information to be verified, then it is determined that the stamping behavior to be verified is a real stamping behavior, otherwise, it is determined that the stamping behavior to be verified is a forged stamping behavior.

[0233] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, a verification request for verifying the authenticity of the stamping behavior to be verified is obtained, including: obtaining a verification request for verifying the authenticity of the stamping behavior to be verified sent by a user terminal bound to the smart seal device.

[0234] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the smart seal device includes a camera, a communication module, a driving module and an active contact; the active contact is arranged on the seal surface; the communication module is used to send a seal request to the blockchain node and receive the seal behavior identification information; the driving module is used to drive the active contact to move according to the seal behavior identification information to set the seal behavior identification information on the seal surface; the seal behavior identification information includes information of a barcode image; the camera is used to capture image data of the sealed file after the current seal behavior is completed; the communication module is also used to send image data of the sealed file to the blockchain node.

[0235] In the embodiments of this specification, the storage medium may be located in a blockchain node. The blockchain node may send the stamping behavior identification information generated for this stamping behavior to the smart seal device according to the stamping request of the smart seal device. The stamping behavior identification information is used by the smart seal device to be set on the seal surface, so that it is stamped on the document when stamping. Since the stamping behavior identification information generated for each stamping behavior is different, the image stamped by the same smart seal device each time is also different, thereby increasing the difficulty of forging the seal. In addition, the blockchain node can also obtain the image data of the stamped file sent by the smart seal device after the completion of this stamping behavior, and associate the image data of the stamped file with the stamping behavior identification information generated for this stamping behavior in the blockchain, thereby achieving the advantage of the data in the blockchain being tamper-proof, and verifying the authenticity of the stamping behavior to be verified.

[0236] The storage medium in this embodiment can implement each process of the above-mentioned stamp processing method applied to the blockchain node and achieve the same effect and function, which will not be repeated here.

[0237] Furthermore, another embodiment of the present specification also provides a storage medium for storing computer executable instructions. In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:

[0238] Sending a stamping request to a blockchain node; wherein the stamp surface of the smart stamp device is pre-set with user-defined stamping content;

[0239] Receiving the stamping behavior identification information generated for the current stamping behavior and returned by the blockchain node according to the stamping request; wherein the stamping behavior identification information generated for each stamping behavior is different;

[0240] Setting the stamping behavior identification information on the surface of the seal;

[0241] After the current stamping behavior is completed, image data of the stamped file is obtained; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;

[0242] The image data of the sealed document is sent to the blockchain node, so that the blockchain node can associate and store the sealing behavior identification information and the image data of the sealed document in the blockchain, and verify the authenticity of the sealed behavior to be verified.

[0243] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the smart seal device includes a driving module and an active contact; the active contact is arranged on the seal surface; the stamping behavior identification information is set on the seal surface, including: driving the active contact to move according to the stamping behavior identification information by the driving module to set the stamping behavior identification information on the seal surface; the stamping behavior identification information includes information of a barcode image.

[0244] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the smart seal device includes a camera; after the current stamping behavior is completed, image data of the stamped document is obtained, including: after the current stamping behavior is completed, the image data of the stamped document is photographed by the camera.

[0245] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the stamping request carries the personal information of the person who stamps the current stamping behavior; the personal information of the person who stamps the current stamping behavior includes the facial image of the person who stamps the current stamping behavior taken by the camera; the stamping behavior identification information is generated for this stamping behavior and returned to the smart stamp device by the blockchain node after determining that the personal information of the person who stamps the current stamping behavior matches the personal information of the legal person who is allowed to stamp corresponding to the smart stamp device.

[0246] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the smart seal device includes a communication module; sending a seal request to the blockchain node includes: sending a seal request to the blockchain node through the communication module; receiving the seal behavior identification information generated for this seal behavior according to the seal request and returned by the blockchain node, including: receiving the seal behavior identification information generated for this seal behavior according to the seal request and returned by the blockchain node through the communication module; sending the image data of the sealed file to the blockchain node includes: sending the image data of the sealed file to the blockchain node through the communication module.

[0247] In the embodiments of this specification, the storage medium may be located in a smart seal device. The smart seal device may send a stamping request to a blockchain node, and receive the stamping behavior identification information generated for this stamping behavior returned by the blockchain node. The stamping behavior identification information is used by the smart seal device to be set on the seal surface, so that it is stamped on the document when stamping. Since the stamping behavior identification information generated for each stamping behavior is different, the image stamped by the same smart seal device each time is also different, thereby increasing the difficulty of forging the seal. In addition, after the stamping behavior is completed, the smart seal device can also take the image data of the stamped document and send it to the blockchain node, so that the blockchain node can associate the stamping behavior identification information with the image data of the stamped document in the blockchain, thereby achieving the advantage of the data in the blockchain being tamper-proof, and verifying the authenticity of the stamping behavior to be verified.

[0248] The storage medium in this embodiment can implement each process of the seal processing method applied to the smart seal device and achieve the same effect and function, which will not be repeated here.

[0249] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0250] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0251] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0252] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0253] For the convenience of description, the above devices are described in terms of functions and are described separately in various units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0254] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0255] The embodiments of this specification are described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0256] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0257] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0258] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0259] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0260] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0261] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0262] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may take the form of complete hardware embodiments, complete software embodiments or embodiments combining software and hardware. Moreover, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0263] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0264] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0265] The above description is only an embodiment of this specification and is not intended to limit this document. For those skilled in the art, the embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.

Claims

1. A stamping processing method based on blockchain, applied to blockchain nodes, comprising: Acquire a stamp request sent by a smart stamp device, wherein the stamp request carries the stamp identification information of the smart stamp device, the stamp identification information is pre-engraved on the stamp surface of the smart stamp device, and the stamp identification information of each smart stamp device is different; Generate stamping behavior identification information for this stamping behavior according to the stamping request; The stamping behavior identification information is returned to the smart seal device, and the stamping behavior identification information is used to stamp on the document to be stamped through the smart seal device; the smart seal device includes a driving module and an active contact arranged on the seal surface, the seal surface is the surface for stamping that the smart seal device contacts with the document to be stamped, and the active contact is used to set the stamping behavior identification information on the seal surface under the drive of the driving module.

2. The method according to claim 1, after returning the stamping behavior identification information to the smart seal device, further comprises: Obtaining image data of the stamped document sent by the smart seal device after the current stamping behavior is completed; The sealed file is a file with the identification information of the sealing behavior; The stamping behavior identification information and the image data of the stamped file are associated and stored in the blockchain to verify the authenticity of the stamping behavior to be verified; wherein the stamping behavior identification information generated for each stamping behavior is different; the stamping behavior identification information is used for the smart seal device to be set on the seal surface.

3. The method according to claim 2, wherein: According to the stamping request, stamping behavior identification information is generated for this stamping behavior, including: Calling the first smart contract in the blockchain to determine whether the current stamping behavior is allowed based on the stamping personnel information carried in the stamping request; If the judgment result is yes, then the stamping behavior identification information is generated for this stamping behavior; If the judgment result is no, a notification message of rejection of stamping is returned to the smart seal device.

4. The method according to claim 3, calling the first smart contract in the blockchain, and judging whether to allow the current stamping behavior based on the personnel information of the stamping person carried in the stamping request, comprises: Calling the first smart contract in the blockchain, extracting the personnel information of the person who stamps the current stamping behavior from the stamping request, and searching the blockchain for the personnel information of the legal person who is allowed to stamp and corresponding to the smart stamp device pre-stored; If the personnel information of the stamping person matches the personnel information of the legal person found, it is determined that the stamping behavior is allowed.

5. According to the method of claim 4, the stamping behavior identification information and the image data of the stamped file are stored in association in the blockchain, including: If the personnel information of the stamping person matches the personnel information of the legal person found, the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are associated and stored in the blockchain.

6. The method according to claim 4 or 5, before searching the blockchain for the pre-stored personnel information of the legal person allowed to stamp corresponding to the smart seal device, further comprises: The personnel information of the legal person allowed to stamp corresponding to the smart seal device sent by the user terminal bound to the smart seal device is obtained and stored in the blockchain.

7. The method according to claim 5, before associating and storing the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in the blockchain, further comprises: Acquiring seal identification information pre-assigned to the smart seal device; The stamped document also has the stamp identification information; Accordingly, the personnel information of the stamping person, the stamping behavior identification information and the image data of the stamped file are associated and stored in the blockchain, including: The seal identification information, the personal information of the person who stamps the seal, the stamping behavior identification information and the image data of the stamped file are associated and stored in the blockchain.

8. The method according to claim 2, further comprising: Obtain a verification request for verifying the authenticity of the stamping behavior to be verified; The verification request carries the image data of the stamped document to be verified corresponding to the stamping behavior to be verified; The second smart contract in the blockchain is called to verify the authenticity of the stamping behavior to be verified according to the verification request.

9. The method according to claim 8, calling the second smart contract in the blockchain, and verifying the authenticity of the stamping behavior to be verified according to the verification request, including: Calling a second smart contract in the blockchain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and searching the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified; If the image data of the found stamped document matches the image data of the stamped document to be verified, the stamping behavior to be verified is determined to be a genuine stamping behavior; otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

10. The method according to claim 5, further comprising: Obtain a verification request for verifying the authenticity of the stamping behavior to be verified; The verification request carries the image data of the stamped document to be verified corresponding to the stamping behavior to be verified and the personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified; The third smart contract in the blockchain is called to verify the authenticity of the stamping behavior to be verified according to the verification request.

11. The method according to claim 10, calling a third smart contract in the blockchain, and verifying the authenticity of the stamping behavior to be verified according to the verification request, comprising: Calling a third smart contract in the blockchain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and searching the blockchain for the image data of the stamped document corresponding to the stamping behavior identification information to be verified, and searching the blockchain for the personnel information of the stamping person corresponding to the stamping behavior identification information to be verified; If the image data of the stamped document found matches the image data of the stamped document to be verified, and the personnel information of the stamping person found matches the personnel information of the stamping person to be verified, then the stamping behavior to be verified is determined to be a genuine stamping behavior; otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

12. The method according to claim 7, further comprising: Obtain a verification request for verifying the authenticity of the stamping behavior to be verified; The verification request carries the image data of the stamped document to be verified corresponding to the stamping behavior to be verified and the personnel information of the stamping person to be verified corresponding to the stamping behavior to be verified; The fourth smart contract in the blockchain is called to verify the authenticity of the stamping behavior to be verified according to the verification request.

13. The method according to claim 12, calling the fourth smart contract in the blockchain, and verifying the authenticity of the stamping behavior to be verified according to the verification request, comprising: Calling a fourth smart contract in the blockchain to extract the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped document to be verified, and extracting the seal identification information to be verified corresponding to the stamping behavior to be verified; Calling a fourth smart contract in the blockchain, searching the blockchain for image data of the stamped document corresponding to the stamping behavior identification information to be verified, searching the blockchain for personnel information of the stamping personnel corresponding to the stamping behavior identification information to be verified, and searching the blockchain for seal identification information corresponding to the stamping behavior identification information to be verified; If the image data of the stamped document found matches the image data of the stamped document to be verified, and the personnel information of the stamping person found matches the personnel information of the stamping person to be verified, and the seal identification information found matches the seal identification information to be verified, then the stamping behavior to be verified is determined to be a real stamping behavior; otherwise, the stamping behavior to be verified is determined to be a forged stamping behavior.

14. The method according to claim 1, wherein the smart seal device further comprises a camera and a communication module; The communication module is used to send a stamping request to the blockchain node and receive the stamping behavior identification information; The driving module is used to drive the movable contact to move according to the stamping behavior identification information, so as to set the stamping behavior identification information on the stamp surface; the stamping behavior identification information includes information of a barcode image; The camera is used to capture image data of the stamped document after the stamping action is completed; The communication module is also used to send image data of the stamped document to the blockchain node.

15. A seal processing method based on blockchain, applied to a smart seal device, comprising: Sending a stamp request to a blockchain node, wherein the stamp request carries the stamp identification information of the smart stamp device, wherein the stamp identification information is pre-engraved on the stamp surface of the smart stamp device, and the stamp identification information of each smart stamp device is different; Receiving the stamping behavior identification information generated for the current stamping behavior and returned by the blockchain node according to the stamping request; The stamping behavior identification information is set on the seal surface of the smart seal device, and the stamping behavior identification information is stamped on the document to be stamped; the smart seal device includes a driving module and an active contact arranged on the seal surface, the seal surface is the surface for stamping that the smart seal device contacts with the document to be stamped, and the active contact is used to set the stamping behavior identification information on the seal surface under the drive of the driving module.

16. The method according to claim 15, after stamping the stamping behavior identification information on the document to be stamped, further comprises: After the stamping is completed, the image data of the stamped document is obtained; The sealed file is a file with the identification information of the sealing behavior; The image data of the stamped document is sent to a blockchain node, so that the blockchain node can associate and store the stamping behavior identification information and the image data of the stamped document in the blockchain, and verify the authenticity of the stamping behavior to be verified; wherein the stamping behavior identification information generated for each stamping behavior is different; and the stamping behavior identification information is used for the smart seal device to be set on the seal surface.

17. The method according to claim 15, wherein the step of setting the stamping behavior identification information on the stamp surface of the smart stamp device comprises: The driving module drives the movable contact to move according to the stamping behavior identification information, so as to set the stamping behavior identification information on the seal surface of the smart seal device; the stamping behavior identification information includes information of a barcode image.

18. The method according to claim 17, wherein the movable contact comprises a plurality of independently movable sub-contacts; The method of driving the movable contact to move according to the stamping behavior identification information by the driving module to set the stamping behavior identification information on the stamp surface of the smart stamp device includes: The driving module drives the plurality of sub-contacts to move vertically in a direction perpendicular to the seal surface or horizontally in a direction parallel to the seal surface according to the information of the barcode image, so that the image obtained by the sub-contacts after movement being applied to the document to be stamped is the same as the barcode image corresponding to the information of the barcode image.

19. The method according to claim 16, wherein the smart seal device further comprises a camera; After the stamping is completed, the image data of the stamped document is obtained, including: After the stamping action is completed, the camera captures the image data of the stamped document.

20. The method according to claim 19, wherein the stamping request carries the personal information of the stamping person who performs the stamping action; the personal information of the stamping person includes the facial image of the stamping person captured by the camera; The stamping behavior identification information is the identification information generated for this stamping behavior and returned to the smart seal device by the blockchain node after determining that the personnel information of the stamping person matches the personnel information of the legal person allowed to stamp corresponding to the smart seal device.

21. The method according to claim 16, wherein the smart seal device further comprises a communication module; Sending a stamping request to a blockchain node, comprising: sending a stamping request to a blockchain node through the communication module; Receiving the stamping behavior identification information generated for the current stamping behavior and returned by the blockchain node according to the stamping request, including: receiving the stamping behavior identification information generated for the current stamping behavior and returned by the blockchain node according to the stamping request through the communication module; Sending the image data of the sealed document to the blockchain node includes: sending the image data of the sealed document to the blockchain node through the communication module.

22. A seal processing device based on blockchain, applied to a blockchain node, comprising: A first acquisition module acquires a stamping request sent by a smart seal device, wherein the stamping request carries the seal identification information of the smart seal device, the seal identification information is pre-engraved on the seal surface of the smart seal device, and the seal identification information of each smart seal device is different; An information generation module generates stamping behavior identification information for this stamping behavior according to the stamping request; The first sending module returns the stamping behavior identification information to the smart seal device, and the stamping behavior identification information is used to stamp on the document to be stamped through the smart seal device; the smart seal device includes a driving module and an active contact arranged on the seal surface, the seal surface is the surface for stamping that the smart seal device contacts with the document to be stamped, and the active contact is used to set the stamping behavior identification information on the seal surface under the drive of the driving module.

23. A seal processing device based on blockchain, applied to smart seal equipment, comprising: A second sending module sends a stamp request to a blockchain node, wherein the stamp request carries the seal identification information of the smart seal device, and the seal identification information is pre-engraved on the seal surface of the smart seal device, and the seal identification information of each smart seal device is different; An information receiving module receives the stamping behavior identification information generated for the current stamping behavior and returned by the blockchain node according to the stamping request; The identification setting module sets the stamping behavior identification information on the seal surface of the smart seal device and stamps the stamping behavior identification information on the document to be stamped; the smart seal device includes a driving module and an active contact arranged on the seal surface, the seal surface is the surface for stamping that the smart seal device contacts with the document to be stamped, and the active contact is used to set the stamping behavior identification information on the seal surface under the drive of the driving module.

24. An electronic device comprising: processor; and a memory arranged to store computer executable instructions which, when executed, cause the processor to implement the steps of the method of any one of claims 1 to 14 or claims 15 to 21 above.

25. A storage medium for storing computer executable instructions, wherein the computer executable instructions, when executed, implement the steps of the method described in any one of claims 1 to 14 or claims 15 to 21.

Citation Information

Patent Citations

  • Seal request method and system

    CN106203937A

  • In-parallel multi-head stamping machine capable of automatic recognition of document thickness

    CN106364189A

  • Method of implanting intelligent contract and equipment

    CN107392618A

  • Seal anti-counterfeiting method and intelligent anti-counterfeiting seal

    CN107538927A

  • Data storage system, circulating method and tracing method of distributed commodities based on block chain

    CN108805585A