CN114077641A - Block chain-based stamping processing method and device - Google Patents

Block chain-based stamping processing method and device Download PDF

Info

Publication number
CN114077641A
CN114077641A CN202110330297.8A CN202110330297A CN114077641A CN 114077641 A CN114077641 A CN 114077641A CN 202110330297 A CN202110330297 A CN 202110330297A CN 114077641 A CN114077641 A CN 114077641A
Authority
CN
China
Prior art keywords
stamping
identification information
verified
behavior
personnel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110330297.8A
Other languages
Chinese (zh)
Inventor
贺三元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202110330297.8A priority Critical patent/CN114077641A/en
Publication of CN114077641A publication Critical patent/CN114077641A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud

Abstract

One embodiment of the present specification provides a method and an apparatus for processing a seal based on a block chain, where the method is applied to a block chain node, and includes: firstly, a stamping request of the intelligent stamping equipment is obtained. The seal surface of the intelligent seal device is provided with user-defined seal content. And then, returning stamping behavior identification information generated for the stamping behavior at this time to the intelligent stamping equipment according to the stamping request. The stamping behavior identification information generated for each stamping behavior is different. The stamping behavior identification information is used for setting the intelligent stamp equipment on the surface of the stamp. And secondly, acquiring image data of the stamped file sent by the intelligent stamping equipment after the stamping action is finished. The stamped file is a file stamped with stamping behavior identification information and user-defined stamping content. And finally, performing associated storage on the stamping behavior identification information and the image data of the stamped file in the block chain so as to verify the authenticity of the stamping behavior to be verified.

Description

Block chain-based stamping processing method and device
The application is a divisional application with the name of [ block chain-based stamping processing method and device ] of Chinese patent application No. 202010816540.2 filed on 8, month and 14 days in 2020.
Technical Field
The present disclosure relates to the field of block chain technologies, and in particular, to a method and an apparatus for processing a seal based on a block chain.
Background
At present, the sealing is needed in many occasions, for example, an enterprise side needs to seal a public seal on a contract when signing the contract. However, since the content of the common stamp is fixed and invariable, such as a personal name or a company name, the common stamp is relatively easy to forge, and a similar stamp is easily obtained by engraving after the stamp content is obtained. Moreover, it is difficult to identify the authenticity of the stamping action performed by a forged stamp in the prior art. Therefore, it is necessary to provide a technical solution to improve the difficulty of forging the seal and to perform authenticity identification on the stamping action performed by the seal.
Disclosure of Invention
An object of one embodiment of the present specification is to provide a stamping processing method and apparatus based on a block chain, so as to improve the forging difficulty of a stamp and perform authenticity identification on a stamping behavior executed by the stamp.
To solve the above technical problem, one embodiment of the present specification is implemented as follows:
one embodiment of the present specification provides a seal processing method based on a block chain, which is applied to a block chain node, and includes: and acquiring a stamping request sent by the intelligent stamping equipment. The seal surface of the intelligent seal device is preset with user-defined seal content. And calling a first intelligent contract in the block chain, and generating stamping behavior identification information for the stamping behavior according to the stamping request. The stamping behavior identification information generated for each stamping behavior is different. The stamping behavior identification information is used for the intelligent stamp device to be arranged on the surface of the stamp. And returning the stamping behavior identification information to the intelligent stamping equipment. And acquiring the image data of the stamped file sent by the intelligent stamping equipment after the stamping action is finished. And the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content. And storing the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner so as to verify the authenticity of the stamping behavior to be verified.
One embodiment of the present specification provides a stamping processing method based on a block chain, which is applied to an intelligent stamp device, and includes: and sending a stamping request to the block chain node. The seal surface of the intelligent seal device is preset with user-defined seal content. And receiving the stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the stamping behavior of the time. The stamping behavior identification information generated for each stamping behavior is different. And setting the stamping behavior identification information on the surface of the stamp. And after the stamping action is finished, acquiring the image data of the stamped file. And the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content. And sending the image data of the stamped file to the block chain nodes so that the block chain nodes can store the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner, and verify the authenticity of the stamping behavior to be verified.
One embodiment of the present specification provides a processing apparatus for stamping based on a block chain, which is applied to a block chain node, and includes: the first acquisition module acquires a stamping request sent by the intelligent stamping equipment. The seal surface of the intelligent seal device is preset with user-defined seal content. And the information generation module is used for calling a first intelligent contract in the block chain and generating stamping behavior identification information for the stamping behavior according to the stamping request. The stamping behavior identification information generated for each stamping behavior is different. The stamping behavior identification information is used for the intelligent stamp device to be arranged on the surface of the stamp. And the first sending module returns the stamping behavior identification information to the intelligent stamping equipment. And the second acquisition module is used for acquiring the image data of the stamped file sent by the intelligent stamping equipment after the stamping action is finished. And the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content. And the data storage module is used for performing associated storage on the stamping behavior identification information and the image data of the stamped file in a block chain so as to verify the authenticity of the stamping behavior to be verified.
One embodiment of the present specification provides a stamp processing apparatus based on a block chain, which is applied to an intelligent stamp device, and includes: and the second sending module is used for sending a stamping request to the block chain link points. The seal surface of the intelligent seal device is preset with user-defined seal content. And the information receiving module is used for receiving the stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the current stamping behavior. The stamping behavior identification information generated for each stamping behavior is different. And the identification setting module is used for setting the stamping behavior identification information on the surface of the stamp. And the file acquisition module acquires the image data of the stamped file after the stamping action is finished. And the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content. And the third sending module is used for sending the image data of the stamped file to the block chain nodes so as to enable the block chain nodes to store the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner and verify the authenticity of the stamping behavior to be verified.
One embodiment of the present specification provides an electronic device including: a processor; and a memory arranged to store computer executable instructions which, when executed, cause the processor to implement the steps of the stamping processing method applied to a blockchain node or an intelligent stamping device as described above.
One embodiment of the present specification provides a storage medium for storing computer-executable instructions, which when executed implement the steps of the stamping processing method applied to a block chain node or an intelligent stamping device.
Drawings
In order to more clearly illustrate the technical solutions in one or more embodiments of the present disclosure, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and for those skilled in the art, other drawings can be obtained according to these drawings without any creative effort.
Fig. 1 is a schematic structural diagram of an intelligent stamping device provided in an embodiment of the present specification;
fig. 2 is a schematic diagram of a seal image obtained by stamping a document by using the intelligent seal device provided in an embodiment of the present specification;
fig. 3 is a schematic view of an image obtained by shooting a document stamped with a stamp by a camera in the intelligent stamp device according to an embodiment of the present specification;
fig. 4 is a schematic view of an application scenario of a seal processing method based on a block chain according to an embodiment of the present specification;
fig. 5 is a block chain-based stamping processing method provided in an embodiment of the present specification;
fig. 6 is a flowchart illustrating a seal processing method based on a block chain according to another embodiment of the present disclosure;
fig. 7 is a flowchart illustrating a seal processing method based on a block chain according to another embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a seal processing apparatus based on a block chain according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a seal processing apparatus based on a block chain according to another embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
An object of one embodiment of the present specification is to provide a stamping processing method and apparatus based on a block chain, so as to improve the forging difficulty of a stamp and perform authenticity identification on a stamping behavior executed by the stamp.
For convenience of describing the stamping processing method in the embodiment of the present specification, the related intelligent stamping device will be described first. Fig. 1 is a schematic structural diagram of an intelligent stamp device provided in an embodiment of the present specification, and as shown in fig. 1, an intelligent stamp device 100 includes a controller 101, a camera 102, a communication module 103, a driving module 104, and a movable contact 105. The controller 101 is respectively connected with the camera 102, the communication module 103 and the driving module 104, and the driving module 104 is in driving connection with the movable contact 105. The controller 101, the camera 102, the communication module 103 and the driving module 104 are disposed inside the intelligent stamp device 100, the movable contact 105 is disposed on a stamp surface of the intelligent stamp device 100, and the stamp surface is a surface for stamping, which is in contact with a stamped file, on the intelligent stamp device 100.
The controller 101 is used for controlling the camera 102, the communication module 103 and the driving module 104 to work. When the intelligent stamp device 100 works, the intelligent stamp device can communicate with the block chain nodes through the communication module 103, and send information to the block chain nodes and receive information returned by the block chain nodes.
In intelligent stamp device 100, drive module 104 may include motors, gears, etc. that provide the driving function. Movable contact 105 may include a plurality of independently movable sub-contacts disposed on the stamp surface of intelligent stamp device 100, and vertically moved in a direction perpendicular to the stamp surface or horizontally moved in a direction parallel to the stamp surface by driving module 104. In practical application, the driving module 104 may receive information of the barcode image transmitted by the block link point through the communication module 103, and drive the sub-contacts to move according to the information of the barcode image, so that the moved sub-contacts cover the document to obtain an image which is the same as the barcode image corresponding to the received information of the barcode image. The barcode image may be a two-dimensional code image. The information of the barcode image may be a code value of the barcode image or image data. The scanned bar code image may have corresponding content as the generation time information of the bar code image. For example, after a user scans an image obtained by covering a file with a sub-contact on the intelligent stamp device through a mobile phone, a string of time information can be obtained, and the time information represents the generation time of the corresponding barcode image.
In this embodiment, besides the movable contact 105, the seal surface of the intelligent seal device 100 is also preset with seal identification information and user-defined stamping content, where the seal identification information may be a seal ID, and the seal identification information of each intelligent seal device 100 is different from each other. The user-defined stamping content may be a user name or a company name.
Fig. 2 is a schematic diagram of a seal image obtained by stamping a document by using the intelligent seal device according to an embodiment of the present disclosure. As shown in fig. 2, the seal image obtained by stamping on the document by the intelligent seal device includes user-defined stamping content "AAA company", seal identification information "1001", and a two-dimensional code image formed by the movement of the movable contact 105.
In the intelligent seal device 100, the camera 102 has a photographing function, and in an actual stamping scene, after a user places the intelligent seal device 100 on a file to complete stamping, the intelligent seal device 100 can photograph the file stamped with a seal through the camera 102.
Fig. 3 is a schematic view of an image obtained by shooting a document stamped with a stamp by a camera in the intelligent stamp device according to an embodiment of the present specification. Considering that the greater the image, the lower the resolution, as shown in fig. 3, the image may include an image of a stamp portion obtained by the intelligent stamp device stamping on the document, and an image of the document around the stamp portion. The image obtained by photographing the document with the stamp in fig. 3 may also be referred to as a stamped document image.
Based on the intelligent stamp device introduced in fig. 1 to 3, an embodiment of the present specification provides a stamping processing method based on a block chain, and fig. 4 is an application scenario schematic diagram of the stamping processing method based on the block chain provided in the embodiment of the present specification, and as shown in fig. 4, the scenario includes the intelligent stamp device 100, a block link point 200, and a user terminal 300 bound with the intelligent stamp device 100 in advance. The stamping processing method based on the block chain can be applied to the scene shown in fig. 4, so that the forging difficulty of the seal is improved, and the authenticity of the stamping behavior executed by the seal is identified. The user terminal 300 includes, but is not limited to, a computer, a mobile phone, a tablet computer, and other user devices.
In the scenario shown in fig. 4, the process of binding the intelligent stamp device 100 and the user terminal 300 is as follows: the user inputs stamp identification information of the intelligent stamp device 100 to be bound in the user terminal 300 and inputs administrator information set for the intelligent stamp device 100, the user terminal 300 sends the stamp identification information, the administrator information and the terminal identification of the user terminal 300 to the block chain node 200, and the block chain node 200 stores the received stamp identification information, the administrator information and the terminal identification of the user terminal 300 in a correlation manner, so that the effect of binding the intelligent stamp device 100 and the user terminal 300 is achieved. Wherein the administrator has the authority to set legal persons who can stamp using the intelligent stamp device 100 through the user terminal 300.
Fig. 5 is a block chain based sealing processing method provided in an embodiment of the present specification, and the method is applied to a block chain node, such as the block chain node 200 described above, and as shown in fig. 5, the method includes the following steps:
step S502, a stamping request sent by the intelligent stamping equipment is obtained; the intelligent seal device comprises a seal device, a seal control module and a control module, wherein the seal surface of the intelligent seal device is preset with user-defined seal content;
step S504, a first intelligent contract in the block chain is called, and stamping behavior identification information is generated for the stamping behavior according to the stamping request; the stamping behavior identification information generated for each stamping behavior is different; the stamping behavior identification information is used for arranging the intelligent stamp equipment on the surface of the stamp;
step S506, returning stamping behavior identification information to the intelligent stamping equipment;
step S508, acquiring image data of the stamped file sent by the intelligent stamping equipment after the stamping action is finished; the stamped file is a file stamped with stamping behavior identification information and user-defined stamping content;
step S510, in the block chain, the stamping behavior identification information and the image data of the stamped file are stored in association, so as to verify the authenticity of the stamping behavior to be verified.
In the embodiment of the description, the block link points may send stamping behavior identification information generated for the current stamping behavior to the intelligent stamp device according to a stamping request of the intelligent stamp device, and the stamping behavior identification information is used for the intelligent stamp device to be arranged on the surface of the stamp, so that the intelligent stamp device stamps on a file during stamping. Because the stamping behavior identification information generated for each stamping behavior is different, the images stamped by the same intelligent stamp device in each stamping process are different, and the forging difficulty of the stamp is improved. And the block chain link point can also acquire the image data of the stamped file sent by the intelligent stamping equipment after the stamping action is finished, and the image data of the stamped file and the stamping action identification information generated for the stamping action are stored in a block chain in a correlation mode, so that the advantage that the data in the block chain cannot be falsified is achieved, and the effect of verifying the authenticity of the stamping action to be verified is achieved.
In step S502, the block link point receives a stamping request sent by the intelligent stamping device. In one embodiment, the intelligent stamp device may be provided with a switch, the switch is pressed to request to start the intelligent stamp device before stamping by a user each time, and the intelligent stamp device sends a stamping request to the block link point after detecting that the user presses the switch. The stamping request can carry the stamp identification information of the intelligent stamp device.
As described above, the user-defined stamping content is preset in the stamp surface of the intelligent stamp device. For example, before purchasing the intelligent stamp device, the user can inform the producer of the intelligent stamp device, and the user-defined stamping content is engraved on the stamp surface of the intelligent stamp device in advance. The user-defined stamping content may be a user name or a company name. Similarly, the stamp identification information of the intelligent stamp device can be carved on the stamp surface of the intelligent stamp device in advance by the production party of the intelligent stamp device.
In step S504, the block link point calls a first intelligent contract in the block chain, and generates the stamping behavior identification information for the current stamping behavior according to the stamping request. In step S506, the block link node further returns the stamping behavior identification information generated for the current stamping behavior to the intelligent stamping device.
In this embodiment, a first intelligent contract is pre-deployed in the block chain node, and the stamping behavior identification information may be generated by the first intelligent contract. As can be seen from the structure of the intelligent stamp device described in fig. 1, in an embodiment, a communication module in the intelligent stamp device may send a stamping request to a block chain node, and receive stamping behavior identification information returned by the block chain node through the communication module.
In one embodiment, the block link point calls a first intelligent contract in the block chain, and generates the stamping behavior identification information for the current stamping behavior according to the stamping request, specifically:
(a1) the block chain node calls a first intelligent contract in the block chain, extracts the personnel information of the stamping personnel of the stamping action at this time from the stamping request, and searches prestored personnel information of legal personnel allowed to stamp corresponding to the intelligent stamping equipment in the block chain;
(a2) and if the personnel information of the stamping personnel is matched with the found personnel information of the legal personnel, determining that the stamping action is allowed, and generating stamping action identification information for the stamping action.
The stamping request can carry the personnel information of the stamping personnel of the stamping action. The person information may be a face image of the person. As mentioned above, the intelligent seal device may be provided with a switch, and before the user stamps, the switch request is pressed to start the intelligent seal device, and after the intelligent seal device detects the operation that the user presses the switch, the face image of the stamping person may be acquired through the camera therein, and the face image of the stamping person is carried in the stamping request and sent to the block chain node. The stamping request can also carry the stamp identification information of the intelligent stamp device.
The block chain node also stores the personnel information of legal personnel corresponding to the intelligent seal device in advance, and the personnel information of the legal personnel can be acquired from the user terminal bound with the intelligent seal device. Therefore, in one embodiment, before the blockchain link point searches the prestored personnel information of the legal personnel allowed to stamp corresponding to the intelligent stamp device in the blockchain, the method can further comprise the following steps: and acquiring the personnel information of legal personnel allowed to be stamped, which corresponds to the intelligent stamp device and is sent by the user terminal bound with the intelligent stamp device, and storing the personnel information in the block chain. For example, an administrator of the intelligent seal device sets the personnel information of the legal personnel who can use the intelligent seal device 100 to seal through the user terminal, the user terminal sends the personnel information of the legal personnel and the seal identification information of the intelligent seal device to the blockchain nodes, and the blockchain nodes store the personnel information of the legal personnel and the seal identification information of the intelligent seal device in an associated manner. The person information of the legitimate person may be a face image of the person.
And calling a first intelligent contract by the block chain node, extracting the personnel information of the stamping personnel of the stamping behavior and the seal identification information of the intelligent seal equipment from the stamping request, and searching prestored personnel information of legal personnel corresponding to the intelligent seal equipment according to the seal identification information of the intelligent seal equipment in the block chain. If the extracted personnel information of the stamping personnel is the same as the found personnel information of the legal personnel, determining to allow the stamping action, generating stamping action identification information for the stamping action, and if the extracted personnel information of the stamping personnel is different from the found personnel information of the legal personnel, determining not to allow the stamping action, and returning a notification message of refusing stamping to the intelligent stamping equipment. The extracted personnel information of the stamping personnel is the same as the personnel information of the found legal personnel, and the comparison between the facial image of the stamping personnel and the facial image of the found legal personnel can be consistent.
The block chain node can generate stamping behavior identification information for the stamping behavior at this time through a first intelligent contract and returns the stamping behavior identification information to the intelligent stamping equipment. The block link points 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 information of a bar code image, the bar code image can be a two-dimensional code image, and the information of the bar code image can be code values or image data of the bar code image. The stamping behavior identification information is used for setting the intelligent stamp equipment on the surface of the stamp. The block chain nodes can generate different stamping behavior identification information for each stamping behavior through the first intelligent contract in a mode of randomly generating information, for example, the block chain nodes can generate different two-dimensional code images for each stamping behavior through the first intelligent contract in a mode of randomly generating two-dimensional codes.
As can be seen from the structure of the intelligent stamp device described in fig. 1, in an embodiment, after the intelligent stamp 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 stamp surface. For example, the driving module 104 may drive the movable contact 105 to move vertically along a direction perpendicular to the surface of the stamp or move horizontally along a direction parallel to the surface of the stamp according to the stamping behavior identification information, so that an image obtained by stamping the moved movable contact 105 on a document is the same as a barcode image corresponding to the received stamping behavior identification information.
After the intelligent seal equipment sets the stamping behavior identification information on the seal surface, a user can stamp a file through the intelligent seal equipment. After the stamping is finished, the intelligent stamping equipment sends the image data of the stamped file corresponding to the stamping behavior to the block chain link points. The stamped file is a file stamped with stamping behavior identification information and user-defined stamping content. The image data of the stamped file can be as shown in the image shown in fig. 3, and includes image data of a stamp portion obtained by stamping the file by the intelligent stamp device, and image data of the file around the stamp portion. As can be seen from the structure of the intelligent stamp device introduced in fig. 1, in an embodiment, a camera in the intelligent stamp device can capture image data of a stamped file after the stamping action is completed, and the communication module can send the image data of the stamped file to the block link points. In other embodiments, the intelligent stamp device further comprises a scanning module, the scanning module can scan the image data of the stamped file after the stamping action is completed, and the communication module can send the image data of the stamped file to the block link points.
Therefore, in step S508, the block link point receives the image data of the stamped file sent by the intelligent stamping device after the stamping operation is completed. The stamped file is a file stamped with stamping behavior identification information and user-defined stamping content.
In the step S510, the block link point stores, in the block chain, 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 an associated manner, so as to verify the authenticity of the stamping behavior to be verified.
As can be known from the foregoing description, the stamping request may carry the personnel information of the stamping personnel of the current stamping behavior, and therefore, in an embodiment, in step S510, in the blockchain node, the storing, in the blockchain, 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 an association manner includes: and if the personnel information of the stamping personnel of the stamping behavior at this time is matched with the personnel information of the found legal personnel, the block chain link points carry out related storage on the personnel information of the stamping personnel of the stamping behavior at this time, the stamping behavior identification information of the stamping behavior at this time and the image data of the stamped file of the stamping behavior at this time in a block chain.
If the personnel information of the stamping personnel of the stamping behavior at this time is matched with the personnel information of the found legal personnel, the stamping personnel is indicated to be legal personnel, and therefore the personnel information of the stamping personnel of the stamping behavior at this time, the stamping behavior identification information of the stamping behavior at this time and the image data of the stamped file of the stamping behavior at this time are stored in a block chain in a correlation mode by the block chain node, and a stamping event record is formed.
In an embodiment, if the staff information of the seal worker of the current sealing behavior matches the found staff information of the legal staff, before the staff information of the seal worker, the identification information of the sealing behavior, and the image data of the sealed file are stored in the block chain in a correlated manner, the block link point may further: acquiring stamp identification information which is allocated to intelligent stamp equipment in advance; the seal identification information is preset on the seal surface of the intelligent seal device. As shown in fig. 2 and 3, the stamped file is further stamped with stamp identification information. The block chain nodes can acquire seal identification information sent by a user terminal bound with the intelligent seal equipment, and the seal identification information can be carried in a seal request.
Correspondingly, if the staff information of the stamping staff of the stamping behavior at this time is matched with the found staff information of the legal staff, the block link point stores the staff information of the stamping staff of the stamping behavior at this time, the stamping behavior identification information of the stamping behavior at this time and the image data of the stamped file of the stamping behavior at this time in a block chain in a correlation manner, and the method comprises the following steps: and if the personnel information of the stamping personnel of the stamping behavior is matched with the found personnel information of the legal personnel, the seal identification information, the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file are stored in a block chain in a correlation manner.
If the personnel information of the stamping personnel of the stamping behavior at this time is matched with the personnel information of the found legal personnel, the stamping personnel is indicated to be legal personnel, and therefore the block chain nodes store the stamp identification information, the personnel information of the stamping personnel of the stamping behavior at this time, the stamping behavior identification information of the stamping behavior at this time and the image data of the stamped file of the stamping behavior at this time in a block chain in a correlation mode, and a stamping event record is formed.
As can be seen from the foregoing description, the block link point stores the stamping behavior identification information and the image data of the stamped file in the block chain in an associated manner, and there are three cases:
(1) the stamping behavior identification information of the stamping behavior at this time and the image data of the stamped file of the stamping behavior at this time are stored in an associated manner;
(2) when the stamping personnel is legal personnel, carrying out association storage on the personnel information of the stamping personnel of the stamping behavior, the stamping behavior identification information of the stamping behavior and the image data of the stamped file of the stamping behavior;
(3) and when the stamping personnel is legal personnel, carrying out associated storage on the stamp identification information, the personnel information of the stamping personnel of the stamping behavior at this time, the stamping behavior identification information of the stamping behavior at this time and the image data of the stamped file of the stamping behavior at this time.
In an embodiment, for the above case (1), when the blockchain node stores, in the blockchain, the stamping behavior identification information of the current stamping behavior and the image data of the stamped file of the current stamping behavior in an associated manner, the method in this embodiment includes:
acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of the stamped file to be verified corresponding to the stamping behavior to be verified;
and calling a second intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
And a second intelligent contract is pre-deployed in the block chain, and the second intelligent contract can verify the authenticity of the stamping behavior to be verified according to the verification request. The method for verifying the authenticity of the stamping behavior to be verified according to the verification request comprises the following steps:
(b1) calling a second intelligent contract in the block chain, extracting stamping behavior identification information to be verified corresponding to stamping behaviors to be verified from the image data of the stamped file to be verified, and searching the image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain;
(b2) and if the found image data of the stamped file is matched with the image data of the stamped file to be verified, determining that the stamping behavior to be verified is a real stamping behavior, and otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Firstly, a verification request for verifying the authenticity of a stamping behavior to be verified, which is sent by a user terminal bound with intelligent stamping equipment, is obtained. The verification request carries the image data of the to-be-verified stamped file corresponding to the to-be-verified stamping behavior. The user can shoot the image data of the stamped file to be verified by using the user terminal, upload the image data of the stamped file to be verified in the user terminal, and click a verification button in the user terminal, so that a verification request for verifying the authenticity of the stamping behavior to be verified is sent to the block chain link point through the user terminal.
As can be seen from the description of fig. 2, the image data of the stamped file includes stamping behavior identification information. Therefore, in this embodiment, after receiving the image data of the stamped file to be verified, the block link point extracts, from the image data of the stamped file to be verified, stamping behavior identification information to be verified, which corresponds to the stamping behavior to be verified, through the second intelligent contract, where the identification information may be information of a barcode such as a two-dimensional code, and the information of the two-dimensional code may be a code value of the two-dimensional code or image data.
The block chain is pre-associated with and stores the image data of the stamped file corresponding to the stamping behavior identification information of each stamping behavior, so that the block node can search the image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain through the second intelligent contract. If the found image data of the stamped file is the same as the image data of the stamped file to be verified, it is indicated that the image data of the stamped file to be verified uploaded by the user is real data, so that the stamping behavior to be verified is determined to be a real stamping behavior, and if the image data of the corresponding stamped file cannot be found, or if the found image data of the stamped file is different from the image data of the stamped file to be verified, the stamping behavior to be verified is determined to be a forged stamping behavior.
In this embodiment, each stamping behavior corresponds to a unique stamping behavior identification information, so that the image data of the corresponding stamped file is searched according to the stamping behavior identification information, the advantage of fast data search is achieved, and the effect of quickly verifying whether the stamping behavior to be verified is a real stamping behavior can be achieved.
In an embodiment, for the above case (2), when the seal worker is a legal one, the blockchain node stores, in the blockchain, the worker information of the seal worker in the current sealing behavior, the seal behavior identification information of the current sealing behavior, and the image data of the sealed file in the current sealing behavior in an associated manner, where the method in this embodiment includes:
acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of the stamped file to be verified corresponding to the stamping behavior to be verified and personnel information of stamping personnel to be verified corresponding to the stamping behavior to be verified;
and calling a third intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
And a third intelligent contract is pre-deployed in the block chain, and the third intelligent contract can verify the authenticity of the stamping behavior to be verified according to the verification request. The method for verifying the authenticity of the stamping behavior to be verified according to the verification request comprises the following steps:
(c1) calling a third intelligent contract in the block chain, extracting stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped file to be verified, searching the image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain, and searching the staff information of the stamping staff corresponding to the stamping behavior identification information to be verified in the block chain;
(c2) and if the image data of the searched stamped file is matched with the image data of the stamped file to be verified, and the personnel information of the searched stamping personnel is matched with the personnel information of the stamping personnel to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Firstly, a verification request for verifying the authenticity of a stamping behavior to be verified, which is sent by a user terminal bound with intelligent stamping equipment, is obtained. The verification request carries image data of the stamped file to be verified corresponding to the stamping behavior to be verified and personnel information of a stamping personnel to be verified corresponding to the stamping behavior to be verified, and the personnel information can be face images of the personnel. The user can shoot the image data of the stamped file to be verified and the facial image of the stamping person to be verified by using the user terminal, upload the image data of the stamped file to be verified and the facial image of the stamping person to be verified in the user terminal, and click a verification button in the user terminal, so that a verification request for verifying the authenticity of the stamping behavior to be verified is sent to the block chain link point through the user terminal.
As can be seen from the description of fig. 2, the image data of the stamped file includes stamping behavior identification information. Therefore, in this embodiment, after receiving the image data of the stamped file to be verified, the block link point invokes a third intelligent contract in the block chain, and extracts the stamping behavior identification information to be verified, which corresponds to the stamping behavior to be verified, from the image data of the stamped file to be verified, where the identification information may be information of a barcode such as a two-dimensional code, and the information of the two-dimensional code may be a code value of the two-dimensional code or image data.
The block chain is pre-associated with and stores the image data of the stamped file and the personnel information of the legal stamping personnel corresponding to the stamping behavior identification information of each stamping behavior, so that the block chain node can call a third intelligent contract in the block chain, and the image data of the stamped file and the personnel information of the stamping personnel corresponding to the stamping behavior identification information to be verified are searched in the block chain.
If the image data of the searched stamped file is the same as the image data of the stamped file to be verified, and the personnel information of the searched stamping personnel is the same as the personnel information of the stamping personnel to be verified, the image data of the stamped file to be verified uploaded by the user is indicated to be real data, the stamping personnel to be verified is also legal personnel allowed to stamp, and therefore the stamping behavior to be verified is determined to be real stamping behavior.
If the identification information of the stamping behavior to be verified cannot be found, or the image data of the stamped file cannot be found, or the personnel information of the stamping personnel cannot be found, the stamping behavior to be verified is determined to be a forged stamping behavior.
And if the found image data of the stamped file is different from the image data of the stamped file to be verified, or the found personnel information of the stamping personnel is different from the personnel information of the stamping personnel to be verified, determining that the stamping behavior to be verified is a forged stamping behavior.
In this embodiment, each stamping behavior corresponds to a unique stamping behavior identification information, so that the image data of the corresponding stamped file and the personnel information of the stamping personnel are searched according to the stamping behavior identification information, the advantage of fast data search is achieved, and the effect of quickly verifying whether the stamping behavior to be verified is a real stamping behavior can be achieved.
Moreover, for the behaviors of forging and stamping the seal by people except the legal person who allows stamping, because the personnel information of the legal person who allows stamping is stored in the block chain, whether the stamping personnel is the legal person who allows stamping can be identified through the embodiment, and therefore the effect of quickly verifying whether the stamping behavior to be verified is the real stamping behavior is achieved.
In an embodiment, for the above situation (3), when the stamping worker is a legal worker, the blockchain node stores, in the blockchain, the seal identification information, the worker information of the stamping worker in the current stamping behavior, the stamping behavior identification information of the current stamping behavior, and the image data of the stamped file in the current stamping behavior in an associated manner, where the method in this embodiment further includes:
acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of the stamped file to be verified corresponding to the stamping behavior to be verified and personnel information of stamping personnel to be verified corresponding to the stamping behavior to be verified;
and calling a fourth intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
And a fourth intelligent contract is pre-deployed in the block chain, and the fourth intelligent contract can verify the authenticity of the stamping behavior to be verified according to the verification request. The method for verifying the authenticity of the stamping behavior to be verified according to the verification request comprises the following steps:
(d1) calling a fourth intelligent contract in the block chain, extracting stamping behavior identification information to be verified corresponding to stamping behaviors to be verified from image data of the stamped file to be verified, and extracting stamp identification information to be verified corresponding to the stamping behaviors to be verified;
(d2) calling a fourth intelligent contract in the block chain, searching image data of a stamped file corresponding to stamping behavior identification information to be verified in the block chain, searching personnel information of stamping personnel corresponding to the stamping behavior identification information to be verified in the block chain, and searching seal identification information corresponding to the stamping behavior identification information to be verified in the block chain;
(d3) and if the searched image data of the stamped file is matched with the image data of the stamped file to be verified, the searched personnel information of the stamping personnel is matched with the personnel information of the stamping personnel to be verified, and the searched seal identification information is matched with the seal identification information to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Firstly, a verification request for verifying the authenticity of a stamping behavior to be verified, which is sent by a user terminal bound with intelligent stamping equipment, is obtained. The verification request carries image data of the stamped file to be verified corresponding to the stamping behavior to be verified and personnel information of a stamping personnel to be verified corresponding to the stamping behavior to be verified, and the personnel information can be face images of the personnel. The user can shoot the image data of the stamped file to be verified and the facial image of the stamping person to be verified by using the user terminal, upload the image data of the stamped file to be verified and the facial image of the stamping person to be verified in the user terminal, and click a verification button in the user terminal, so that a verification request for verifying the authenticity of the stamping behavior to be verified is sent to the block chain link point through the user terminal.
As can be seen from the description of fig. 2, the image data of the stamped file includes stamping behavior identification information and stamp identification information. Therefore, in this embodiment, after receiving the image data of the stamped file to be verified, the block link point invokes a fourth intelligent contract in the block chain, and extracts the stamping behavior identification information to be verified, which corresponds to the stamping behavior to be verified, from the image data of the stamped file to be verified, where the identification information may be information of a barcode such as a two-dimensional code, and the information of the two-dimensional code may be a code value of the two-dimensional code or image data. And extracting the seal identification information to be verified corresponding to the seal behavior to be verified.
The block chain is pre-associated with and stores seal identification information corresponding to the stamping behavior identification information of each stamping behavior, image data of a stamped file and legal personnel information of stamping personnel, so that the block chain node can call a fourth intelligent contract in the block chain, and the seal identification information corresponding to the stamping behavior identification information to be verified, the image data of the stamped file and the personnel information of the stamping personnel are searched in the block chain.
If the image data of the searched stamped file is the same as the image data of the stamped file to be verified, the personnel information of the searched stamping personnel is the same as the personnel information of the stamping personnel to be verified, and the searched stamp identification information is the same as the stamp identification information to be verified, the image data of the stamped file to be verified uploaded by the user is indicated to be real data, and therefore the stamping behavior to be verified is determined to be real stamping behavior.
If the stamping behavior identification information to be verified cannot be searched, or the image data of the stamped file cannot be searched, or the personnel information of stamping personnel cannot be searched, or the stamp identification information cannot be searched, determining that the stamping behavior to be verified is a forged stamping behavior.
And if the image data of the stamped file which is searched out is different from the image data of the stamped file to be verified, or the personnel information of the stamping personnel which is searched out is different from the personnel information of the stamping personnel which is to be verified, or the seal identification information which is searched out is different from the seal identification information which is to be verified, determining that the stamping behavior to be verified is a forged stamping behavior.
In this embodiment, each stamping behavior corresponds to a unique stamping behavior identification information, so that the corresponding stamping identification information, the image data of the stamped file and the personnel information of the stamping personnel are searched according to the stamping behavior identification information, the advantage of fast data search is achieved, and the effect of quickly verifying whether the stamping behavior to be verified is a real stamping behavior can be achieved.
Moreover, for the behaviors of forging and stamping the seal by people except the legal person who allows stamping, because the personnel information of the legal person who allows stamping is stored in the block chain, whether the stamping personnel is the legal person who allows stamping can be identified through the embodiment, and therefore the effect of quickly verifying whether the stamping behavior to be verified is the real stamping behavior is achieved.
In one embodiment, the block link point acquiring a verification request for verifying the authenticity of the stamping behavior to be verified includes: and the block chain link point acquires a verification request which is sent by a user terminal bound with the intelligent seal equipment and used for verifying the authenticity of the stamping behavior to be verified.
The verification request is submitted through the user terminal bound with the intelligent seal equipment, so that the method has the advantage of convenience for user operation, and the contents such as the image data of the sealed file and the personnel information of the sealed personnel to be verified can be submitted by fully utilizing the shooting function of the user terminal.
In one embodiment, the blockchain may further store a stamping time of each stamping action, where the stamping time may be a time when the intelligent stamping device uploads image data of a stamped file. The user can also send a stamping time query request to the block chain link points through the user terminal, wherein the request carries the image data of the stamped file to be queried, and the block chain returns the corresponding stamping time to the user terminal according to the image data of the stamped file.
In one embodiment, the user terminal may further send an intelligent seal loss reporting request to the block link point under the operation of the user, where the request carries seal identification information of the reported intelligent seal device, so that the block link point reports loss of the seal device according to the seal identification information, and the reported intelligent seal device cannot be used for stamping.
In summary, the stamping processing method in this embodiment has at least the following technical effects:
(1) by comparing whether the personnel information of the stamping personnel is the same as the personnel information of the legal personnel allowed to stamp or not, the effect that only the legal personnel can stamp can be achieved, and the intelligent stamping equipment is prevented from being used by illegal personnel;
(2) when the authenticity of the stamping behavior is verified after an illegal person uses the intelligent stamping device, the effect of identifying the illegal person using the intelligent stamping device can be achieved by comparing whether the personnel information of the stamping personnel is the same as the personnel information of the legal person who allows stamping;
(3) various ways are provided to identify the authenticity of the stamping behavior in the case of storing different data in the blockchain.
It should be noted that, in the above embodiment, the block link point performing the above steps S502 to S510 may be a first block chain node, a second intelligent contract, a third intelligent contract or a fourth intelligent contract in the block chain is called, and the block link point verifying the authenticity of the stamping behavior to be verified may be a second block chain node. The first and second block link points may be the same block link point, or may be different block link nodes.
The above embodiments provide three cases of blockchain storage data, and illustrate the process of verifying the authenticity of the stamping behavior to be verified in each case. It can be understood that when data is stored in the block chain, in addition to the above three cases, image data of a stamped file can be stored in the block chain, when a verification request submitted by a user for verifying authenticity of a stamping behavior to be verified includes the image data of the stamped file to be verified, an intelligent contract in the block chain is called, the image data of the stamped file to be verified is searched in the block chain, if the image data is searched, 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.
In addition, the stamping behavior identification information, the stamp identification information and the image data of the stamped file can be stored in a block chain in a correlation mode. When the verification request submitted by the user for verifying the authenticity of the stamping behavior to be verified comprises the image data of the stamped file to be verified, verifying in the following way:
(e1) calling an intelligent contract in a block chain, extracting stamping behavior identification information to be verified corresponding to stamping behaviors to be verified from image data of a stamped file to be verified, and extracting stamp identification information to be verified corresponding to the stamping behaviors to be verified from the image data of the stamped file to be verified;
(e2) searching image data of a stamped file corresponding to stamping behavior identification information to be verified in a block chain, and searching stamp identification information corresponding to stamping behavior identification information to be verified in the block chain;
(e3) and if the image data of the stamped file which is searched out is matched with the image data of the stamped file to be verified, and the searched stamp identification information is matched with the stamp identification information to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Corresponding to the stamping processing method applied to the block chain node side, an embodiment of the present specification further provides a stamping processing method applied to the intelligent stamp device side and executed by the intelligent stamp device. Fig. 6 is a schematic flowchart of a seal processing method based on a block chain according to another embodiment of the present disclosure, and as shown in fig. 6, the flowchart includes:
step S602, a stamping request is sent to the block chain nodes; the intelligent seal device comprises a seal device, a seal control module and a control module, wherein the seal surface of the intelligent seal device is preset with user-defined seal content;
step S604, receiving the stamping behavior identification information which is returned by the block link points according to the stamping request and is generated for the current stamping behavior; the stamping behavior identification information generated for each stamping behavior is different;
step S606, arranging the stamping behavior identification information on the surface of the stamp;
step S608, after the current stamping action is finished, acquiring image data of the stamped file; the stamped file is a file stamped with stamping behavior identification information and user-defined stamping content;
step S610, sending the image data of the stamped file to the block chain nodes, so that the block chain nodes can store the stamping behavior identification information and the image data of the stamped file in a correlation mode in the block chain, and verify the authenticity of the stamping behavior to be verified.
In an embodiment of the specification, the intelligent seal device may send a sealing request to the block chain node, and receive sealing behavior identification information returned by the block chain node and generated for a current sealing behavior, where the sealing behavior identification information is used for the intelligent seal device to be arranged on a seal surface, so as to seal a file during sealing. Because the stamping behavior identification information generated for each stamping behavior is different, the images stamped by the same intelligent stamp device in each stamping process are different, and the forging difficulty of the stamp is improved. And the intelligent seal equipment can also shoot the image data of the stamped file and send the image data to the blockchain node after the stamping action is completed, so that the blockchain node can store the stamping action identification information and the image data of the stamped file in a blockchain in a correlation mode, the advantage that the data in the blockchain cannot be falsified is achieved, and the effect of verifying the authenticity of the stamping action to be verified is achieved.
In one embodiment, the intelligent stamp device includes a drive module and a movable contact. The movable contact is arranged on the surface of the stamp. The setting of behavior identification information that will stamp on the seal surface includes: the movable contact is driven to move by the driving module according to the stamping behavior identification information so as to set the stamping behavior identification information on the surface of the stamp, and the stamping behavior identification information comprises information of the bar code image. The barcode image may be a two-dimensional code image. The information of the barcode image may be a code value of the barcode image or image data. The specific structure of the intelligent stamping device and the process can refer to the description of fig. 1 to 5, and will not be repeated here.
In one embodiment, the intelligent stamp device includes a camera. After the current stamping action is completed, acquiring the image data of the stamped file, wherein the image data comprises the following steps: and after the stamping action is finished, shooting the image data of the stamped file through the camera. The specific structure of the intelligent stamping device and the process can refer to the description of fig. 1 to 5, and will not be repeated here.
In one embodiment, the stamping request carries the personnel information of the stamping personnel of the stamping action at this time. The personnel information of the stamping personnel comprises face images of the stamping personnel shot by a camera in the intelligent stamping equipment. And generating and returning the stamping behavior identification information to the intelligent stamping equipment for the stamping behavior after determining that the personnel information of the stamping personnel is matched with the personnel information of the legal personnel allowed to stamp corresponding to the intelligent stamping equipment by the block chain link points. This process may be referred to the previous description with respect to fig. 1-5 and will not be repeated here.
In one embodiment, the intelligent stamp device includes a communication module. Sending a stamping request to a block link point, comprising: and sending a stamping request to the block chain link point through the communication module. Receiving the stamping behavior identification information which is returned by the block link point according to the stamping request and is generated for the current stamping behavior, wherein the stamping behavior identification information comprises the following steps: and receiving the stamping behavior identification information which is returned by the block link point according to the stamping request and is generated for the stamping behavior at this time through the communication module. Sending the image data of the stamped file to the block link points, comprising: and sending the image data of the stamped file to the block link points through the communication module. This process may be referred to the previous description with respect to fig. 1-5 and will not be repeated here.
Fig. 7 is a schematic flowchart of a processing method for stamping based on a blockchain according to another embodiment of the present disclosure, where the process can be implemented by a blockchain node, an intelligent stamp device, and a user terminal bound to the intelligent stamp device, as shown in fig. 7, the process includes:
step S702, the user terminal sends a binding request for binding the intelligent stamp device to the block chain nodes.
The binding request carries user terminal identification information, seal identification information of the intelligent seal device and administrator information set for the intelligent seal device by the user in the user terminal.
Step S704, the block link node sends a binding success notification message to the ue.
And the block chain node records the user terminal identification information, the seal identification information of the intelligent seal device and the administrator information of the intelligent seal device in the block chain, so as to complete the binding and send a successful binding notification message to the user terminal.
Step S706, the intelligent seal equipment sends a seal request to the block link points.
The stamping request carries the stamp identification information of the intelligent stamp device and the face image of the stamping personnel.
In step S708, the block link node returns the stamping behavior identification information generated for the current stamping behavior to the intelligent stamping device.
In the step, after the block chain link points determine that the face image of the stamping person is consistent with the face image of the legal person allowed to stamp, stamping behavior identification information generated for the stamping behavior at this time is returned to the intelligent stamping equipment.
If the block link points determine that the comparison between the face image of the stamping personnel and the face image of the legal personnel allowed to stamp is inconsistent, a notification message of rejecting stamping can be returned to the intelligent stamping equipment, and the process of the method is ended.
Step S710, the intelligent seal device sets seal behavior identification information on the seal surface.
And step S712, after the stamping is finished, the intelligent stamping equipment sends the image data of the stamped file to the block chain link points.
In step S714, the block link point stores the stamp identification information, the face image of the stamping worker, the stamping behavior identification information, and the image data of the stamped file in an associated manner.
In this step, the block link point also stores the time of receiving the image data of the stamped file as the stamping time. For example, the block link points store stamp identification information, face images of stamping personnel, stamping behavior identification information, image data of stamped files and stamping time in an associated manner.
In step S716, the user terminal sends a verification request for verifying the authenticity of the stamping behavior to be verified to the block link point.
The verification request carries image data of the to-be-verified stamped file corresponding to the to-be-verified stamping behavior and personnel information of the to-be-verified stamping personnel corresponding to the to-be-verified stamping behavior.
In step S718, the block link points verify the authenticity of the stamping behavior to be verified based on the stored data.
This step may be referred to the previous description for the third verification scenario in fig. 5 and will not be repeated here.
Step S720, the block chain node points return the verification result to the user terminal.
The verification result comprises a stamping behavior that the stamping behavior to be verified is real, or the stamping behavior to be verified is a forged stamping behavior. When the stamping behavior to be verified is a real stamping behavior, the block link point can also return stamping time to the user terminal.
In the embodiment shown in fig. 7, a factory that produces the intelligent stamp device may request allocation of stamp identification information to the block link points in advance, and the block link points allocate stamp identification information to the intelligent stamp device based on the request sent by the factory, so that the intelligent stamp device can be engraved with the stamp identification information in work.
In one embodiment, after the block link point receives the image data of the stamped file, whether the image is qualified or not can be judged according to the definition of the image, if the image is qualified, the image is stored in the block chain, and if the image is not qualified, the intelligent stamping device is informed to resend the image data of the stamped file.
Through the embodiment, because the stamping behavior identification information generated for each stamping behavior is different, the images stamped by the same intelligent stamp device in each stamping process are different, and the stamp forging difficulty is improved. And the intelligent seal equipment can also shoot the image data of the stamped file and send the image data to the blockchain node after the stamping action is completed, so that the blockchain node can store the stamping action identification information and the image data of the stamped file in a blockchain in a correlation mode, the advantage that the data in the blockchain cannot be falsified is achieved, and the effect of verifying the authenticity of the stamping action to be verified is achieved.
Fig. 8 is a schematic structural diagram of a seal processing apparatus based on a block chain according to an embodiment of the present disclosure, and as shown in fig. 8, the apparatus is applied to a block chain node, and includes:
the first obtaining module 81 is used for obtaining a stamping request sent by the intelligent stamping equipment; the intelligent seal device comprises a seal body, a seal cover and a seal cover, wherein the seal surface of the intelligent seal device is preset with user-defined seal contents;
the information generation module 82 is used for calling a first intelligent contract in the block chain and generating stamping behavior identification information for the stamping behavior according to the stamping request; the stamping behavior identification information generated for each stamping behavior is different; the stamping behavior identification information is used for arranging the intelligent stamp equipment on the stamp surface;
the first sending module 83 returns the stamping behavior identification information to the intelligent stamping device;
a second obtaining module 84, configured to obtain image data of a stamped file sent by the intelligent stamping device after the stamping operation is completed; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;
and the data storage module 85 is used for storing the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner so as to verify the authenticity of the stamping behavior to be verified.
Optionally, the information generating module 82: calling a first intelligent contract in a block chain, extracting the personnel information of the stamping personnel of the stamping behavior from the stamping request, and searching prestored personnel information of legal personnel allowed to stamp corresponding to the intelligent stamping equipment in the block chain; and if the personnel information of the stamping personnel is matched with the found personnel information of the legal personnel, determining that the stamping action is allowed, and generating stamping action identification information for the stamping action.
Optionally, the data storage module 85: and if the personnel information of the stamping personnel is matched with the found personnel information of the legal personnel, the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file are stored in a block chain in a correlation mode.
Optionally, the method further comprises: and the third acquisition module is used for acquiring the personnel information of the legal personnel allowed to be stamped, which is sent by the user terminal bound with the intelligent seal device, corresponding to the intelligent seal device before searching the prestored personnel information of the legal personnel allowed to be stamped, which corresponds to the intelligent seal device, in the block chain, and storing the personnel information in the block chain.
Optionally, the method further comprises: the fourth acquisition module is used for acquiring seal identification information which is allocated to the intelligent seal equipment in advance before the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file are stored in a block chain in a correlation mode; the seal identification information is preset on the seal surface of the intelligent seal device; the stamped file is also stamped with the stamp identification information; accordingly, the data storage module 85: and storing the seal identification information, the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner.
Optionally, the system further comprises a first verification module for obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of the stamped file to be verified corresponding to the stamping behavior to be verified; and calling a second intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
Optionally, the first verification module invokes a second intelligent contract in the block chain, extracts the to-be-verified stamping behavior identification information corresponding to the to-be-verified stamping behavior from the image data of the to-be-verified stamped file, and searches the image data of the to-be-verified stamped file corresponding to the to-be-verified stamping behavior identification information in the block chain; and if the found image data of the stamped file is matched with the image data of the stamped file to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Optionally, the system further comprises a second verification module for obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of a to-be-verified stamped file corresponding to the to-be-verified stamping behavior and personnel information of a to-be-verified stamping personnel corresponding to the to-be-verified stamping behavior; and calling a third intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
Optionally, the second verification module invokes a third intelligent contract in the block chain, extracts the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped file to be verified, searches the image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain, and searches the staff information of the stamping staff corresponding to the stamping behavior identification information to be verified in the block chain; and if the searched image data of the stamped file is matched with the image data of the stamped file to be verified, and the searched personnel information of the stamping personnel is matched with the personnel information of the stamping personnel to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Optionally, the system further comprises a third verification module for obtaining a verification request for verifying the authenticity of the stamping behavior to be verified; the verification request carries image data of a to-be-verified stamped file corresponding to the to-be-verified stamping behavior and personnel information of a to-be-verified stamping personnel corresponding to the to-be-verified stamping behavior; and calling a fourth intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
Optionally, the third verification module invokes a fourth intelligent contract in the block chain, extracts the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped file to be verified, and extracts the stamp identification information to be verified corresponding to the stamping behavior to be verified; calling a fourth intelligent contract in the block chain, searching image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain, searching personnel information of stamping personnel corresponding to the stamping behavior identification information to be verified in the block chain, and searching the stamp identification information corresponding to the stamping behavior identification information to be verified in the block chain; and if the searched image data of the stamped file is matched with the image data of the stamped file to be verified, the searched personnel information of the stamping personnel is matched with the personnel information of the stamping personnel to be verified, and the searched seal identification information is matched with the seal identification information to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Optionally, the first authentication module: and acquiring a verification request for verifying the authenticity of the stamping behavior to be verified, which is sent by the user terminal bound with the intelligent stamping equipment.
Optionally, the intelligent stamp device includes a camera, a communication module, a driving module, and a movable contact; the movable contact is arranged on the surface of the seal; the communication module is used for sending a stamping request to the block link points and receiving the stamping behavior identification information; the driving module is used for driving the movable contact to move according to the stamping behavior identification information so as to set the stamping behavior identification information on the surface of the stamp; the stamping behavior identification information comprises information of a bar code image; the camera is used for shooting the image data of the stamped file after the stamping action is finished; the communication module is also used for sending the image data of the stamped file to the block chain nodes.
In the embodiment of the description, the block link points may send stamping behavior identification information generated for the current stamping behavior to the intelligent stamp device according to a stamping request of the intelligent stamp device, and the stamping behavior identification information is used for the intelligent stamp device to be arranged on the surface of the stamp, so that the intelligent stamp device stamps on a file during stamping. Because the stamping behavior identification information generated for each stamping behavior is different, the images stamped by the same intelligent stamp device in each stamping process are different, and the forging difficulty of the stamp is improved. And the block chain link point can also acquire the image data of the stamped file sent by the intelligent stamping equipment after the stamping action is finished, and the image data of the stamped file and the stamping action identification information generated for the stamping action are stored in a block chain in a correlation mode, so that the advantage that the data in the block chain cannot be falsified is achieved, and the effect of verifying the authenticity of the stamping action to be verified is achieved.
The stamping processing device in this embodiment can implement the above-described processes of the stamping processing method applied to the block chain node, and achieve the same effects and functions, which are not repeated here.
Fig. 9 is a schematic structural diagram of a seal processing apparatus based on a block chain according to another embodiment of the present disclosure, and as shown in fig. 9, the apparatus is applied to an intelligent seal device, and includes:
the second sending module 91 sends a stamping request to the block link points; the intelligent seal device comprises a seal body, a seal cover and a seal cover, wherein the seal surface of the intelligent seal device is preset with user-defined seal contents;
the information receiving module 92 is used for receiving the stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the current stamping behavior; the stamping behavior identification information generated for each stamping behavior is different;
the mark setting module 93 is used for setting the stamping behavior mark information on the surface of the stamp;
the file acquisition module 94 is used for acquiring the image data of the stamped file after the stamping action is finished; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;
the third sending module 95 sends the image data of the stamped file to the block chain nodes, so that the block chain nodes perform associated storage on the stamping behavior identification information and the image data of the stamped file in the block chain, and verify the authenticity of the stamping behavior to be verified.
Optionally, the intelligent stamp device includes a driving module and a movable contact; the movable contact is arranged on the surface of the seal; the identifier setting module 93: driving the movable contact to move through the driving module according to the stamping behavior identification information so as to set the stamping behavior identification information on the surface of the stamp; the stamping behavior identification information comprises information of a bar code image.
Optionally, the intelligent stamp device comprises a camera; the file acquisition module 94: and shooting the image data of the stamped file after the stamping action is finished through the camera.
Optionally, the stamping request carries the personnel information of the stamping personnel of the stamping action at this time; the staff information of the stamping staff comprises face images of the stamping staff shot by the camera; and generating and returning the stamping behavior identification information to the intelligent stamping equipment for the stamping behavior after determining that the personnel information of the stamping personnel is matched with the personnel information of the legal personnel allowed to stamp corresponding to the intelligent stamping equipment through block chain link points.
Optionally, the intelligent stamp device includes a communication module; the second sending module 91: sending a sealing request to a block chain node through the communication module; the information receiving module 92: receiving stamping behavior identification information which is returned by the block link points according to the stamping request and is generated for the current stamping behavior through the communication module; the third sending module 95: and sending the image data of the stamped file to the block chain nodes through the communication module.
In an embodiment of the specification, the intelligent seal device may send a sealing request to the block chain node, and receive sealing behavior identification information returned by the block chain node and generated for a current sealing behavior, where the sealing behavior identification information is used for the intelligent seal device to be arranged on a seal surface, so as to seal a file during sealing. Because the stamping behavior identification information generated for each stamping behavior is different, the images stamped by the same intelligent stamp device in each stamping process are different, and the forging difficulty of the stamp is improved. And the intelligent seal equipment can also shoot the image data of the stamped file and send the image data to the blockchain node after the stamping action is completed, so that the blockchain node can store the stamping action identification information and the image data of the stamped file in a blockchain in a correlation mode, the advantage that the data in the blockchain cannot be falsified is achieved, and the effect of verifying the authenticity of the stamping action to be verified is achieved.
The stamping processing device in the embodiment can realize each process of the stamping processing method applied to the intelligent stamp equipment, and achieve the same effect and function, and the processes are not repeated.
Further, another embodiment of the present specification further provides an electronic device, fig. 10 is a schematic structural diagram of the electronic device provided in an embodiment of the present specification, and as shown in fig. 10, the electronic device may generate a relatively large difference due to different configurations or performances, and may include one or more processors 1001 and a storage 1002, and the storage 1002 may store one or more stored applications or data. Memory 1002 may be, among other things, transient storage or persistent storage. The application programs stored in memory 1002 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic device. Still further, the processor 1001 may be configured to communicate with the memory 1002 to 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-output interfaces 1005, one or more keyboards 1006, etc.
In a specific embodiment, the electronic device is a server, which may be the above-mentioned blockchain node, the electronic device including 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 configured to be executed by the one or more processors include computer-executable instructions for:
acquiring a stamping request sent by intelligent stamping equipment; the intelligent seal device comprises a seal body, a seal cover and a seal cover, wherein the seal surface of the intelligent seal device is preset with user-defined seal contents;
calling a first intelligent contract in a block chain, and generating stamping behavior identification information for the stamping behavior according to the stamping request; the stamping behavior identification information generated for each stamping behavior is different; the stamping behavior identification information is used for arranging the intelligent stamp equipment on the stamp surface;
returning the stamping behavior identification information to the intelligent stamping equipment;
acquiring image data of a stamped file sent by the intelligent stamping equipment after the stamping action is finished; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;
and storing the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner so as to verify the authenticity of the stamping behavior to be verified.
Optionally, when executed, the computer executable instruction invokes a first intelligent contract in the block chain, and generates the stamping behavior identification information for the current stamping behavior according to the stamping request, where the generating includes: calling a first intelligent contract in a block chain, extracting the personnel information of the stamping personnel of the stamping behavior from the stamping request, and searching prestored personnel information of legal personnel allowed to stamp corresponding to the intelligent stamping equipment in the block chain; and if the personnel information of the stamping personnel is matched with the found personnel information of the legal personnel, determining that the stamping action is allowed, and generating stamping action identification information for the stamping action.
Optionally, when executed, the computer-executable instructions store the stamping behavior identification information and the image data of the stamped file in a block chain in an associated manner, including: and if the personnel information of the stamping personnel is matched with the found personnel information of the legal personnel, the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file are stored in a block chain in a correlation mode.
Optionally, before searching the prestored staff information of the legal staff allowed to stamp corresponding to the intelligent stamp device in the blockchain when the computer-executable instructions are executed, the method further includes: and acquiring the personnel information of legal personnel allowed to be stamped, which is sent by the user terminal bound with the intelligent stamp device and corresponds to the intelligent stamp device, and storing the personnel information in a block chain.
Optionally, before the associating and storing the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in a blockchain when the computer-executable instructions are executed, the method further includes: acquiring stamp identification information which is allocated to the intelligent stamp equipment in advance; the seal identification information is preset on the seal surface of the intelligent seal device; the stamped file is also stamped with the stamp identification information; correspondingly, the associating and storing the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in a block chain comprises the following steps: and storing the seal identification information, the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner.
Optionally, the computer executable instructions, when executed, further comprise: acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of the stamped file to be verified corresponding to the stamping behavior to be verified; and calling a second intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
Optionally, when executed, the computer-executable instructions invoke a second intelligent contract in the blockchain, and verify the authenticity of the to-be-verified stamping behavior according to the verification request, including: calling a second intelligent contract in the block chain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped file to be verified, and searching the image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain; and if the found image data of the stamped file is matched with the image data of the stamped file to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Optionally, the computer executable instructions, when executed, further comprise: acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of a to-be-verified stamped file corresponding to the to-be-verified stamping behavior and personnel information of a to-be-verified stamping personnel corresponding to the to-be-verified stamping behavior; and calling a third intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
Optionally, when executed, the computer-executable instructions invoke a third intelligent contract in the blockchain, and verify the authenticity of the to-be-verified stamping behavior according to the verification request, including: calling a third intelligent contract in a block chain, extracting to-be-verified stamping behavior identification information corresponding to-be-verified stamping behaviors from the image data of the to-be-verified stamped file, searching the image data of the stamped file corresponding to the to-be-verified stamping behavior identification information in the block chain, and searching the personnel information of the stamping personnel corresponding to the to-be-verified stamping behavior identification information in the block chain; and if the searched image data of the stamped file is matched with the image data of the stamped file to be verified, and the searched personnel information of the stamping personnel is matched with the personnel information of the stamping personnel to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Optionally, the computer executable instructions, when executed, further comprise: acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of a to-be-verified stamped file corresponding to the to-be-verified stamping behavior and personnel information of a to-be-verified stamping personnel corresponding to the to-be-verified stamping behavior; and calling a fourth intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
Optionally, when executed, the computer-executable instructions invoke a fourth intelligent contract in the blockchain, and verify the authenticity of the to-be-verified stamping behavior according to the verification request, including: calling a fourth intelligent contract in the block chain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped file to be verified, and extracting the stamp identification information to be verified corresponding to the stamping behavior to be verified; calling a fourth intelligent contract in the block chain, searching image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain, searching personnel information of stamping personnel corresponding to the stamping behavior identification information to be verified in the block chain, and searching the stamp identification information corresponding to the stamping behavior identification information to be verified in the block chain; and if the searched image data of the stamped file is matched with the image data of the stamped file to be verified, the searched personnel information of the stamping personnel is matched with the personnel information of the stamping personnel to be verified, and the searched seal identification information is matched with the seal identification information to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Optionally, the computer executable instructions, when executed, obtain a verification request for verifying authenticity of a to-be-verified stamping behavior, including: and acquiring a verification request for verifying the authenticity of the stamping behavior to be verified, which is sent by the user terminal bound with the intelligent stamping equipment.
Optionally, when the computer executable instructions are executed, the intelligent stamp device includes a camera, a communication module, a driving module, and a movable contact; the movable contact is arranged on the surface of the seal; the communication module is used for sending a stamping request to the block link points and receiving the stamping behavior identification information; the driving module is used for driving the movable contact to move according to the stamping behavior identification information so as to set the stamping behavior identification information on the surface of the stamp; the stamping behavior identification information comprises information of a bar code image; the camera is used for shooting the image data of the stamped file after the stamping action is finished; the communication module is also used for sending the image data of the stamped file to the block chain nodes.
In the embodiment of the present specification, the block link point may be implemented in the manner of the electronic device described above. The block chain node can send stamping behavior identification information generated for the stamping behavior according to a stamping request of the intelligent stamp device to the intelligent stamp device, and the stamping behavior identification information is used for the intelligent stamp device to be arranged on the surface of a stamp so as to stamp a file when stamping. Because the stamping behavior identification information generated for each stamping behavior is different, the images stamped by the same intelligent stamp device in each stamping process are different, and the forging difficulty of the stamp is improved. And the block chain link point can also acquire the image data of the stamped file sent by the intelligent stamping equipment after the stamping action is finished, and the image data of the stamped file and the stamping action identification information generated for the stamping action are stored in a block chain in a correlation mode, so that the advantage that the data in the block chain cannot be falsified is achieved, and the effect of verifying the authenticity of the stamping action to be verified is achieved.
The electronic device in this embodiment can implement the above-described processes of the stamping processing method applied to the block chain node, and achieve the same effects and functions, which are not repeated here.
In another particular embodiment, an 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 configured for execution by the one or more processors include computer-executable instructions for:
sending a stamping request to a block chain link point; the intelligent seal device comprises a seal body, a seal cover and a seal cover, wherein the seal surface of the intelligent seal device is preset with user-defined seal contents;
receiving stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the current stamping behavior; the stamping behavior identification information generated for each stamping behavior is different;
setting the stamping behavior identification information on the surface of the stamp;
after the stamping action is finished, acquiring image data of the stamped file; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;
and sending the image data of the stamped file to the block chain nodes so that the block chain nodes can store the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner, and verify the authenticity of the stamping behavior to be verified.
Optionally, when the computer executable instructions are executed, the intelligent stamp device includes a driving module and a movable contact; the movable contact is arranged on the surface of the seal; setting the stamping behavior identification information on the surface of the stamp, including: driving the movable contact to move through the driving module according to the stamping behavior identification information so as to set the stamping behavior identification information on the surface of the stamp; the stamping behavior identification information comprises information of a bar code image.
Optionally, when the computer executable instructions are executed, the intelligent stamp device includes a camera; after the current stamping action is completed, acquiring the image data of the stamped file, wherein the image data comprises the following steps: and shooting the image data of the stamped file after the stamping action is finished through the camera.
Optionally, when the computer executable instruction is executed, the stamping request carries the personnel information of the stamping personnel of the current stamping behavior; the staff information of the stamping staff comprises face images of the stamping staff shot by the camera; and generating and returning the stamping behavior identification information to the intelligent stamping equipment for the stamping behavior after determining that the personnel information of the stamping personnel is matched with the personnel information of the legal personnel allowed to stamp corresponding to the intelligent stamping equipment through block chain link points.
Optionally, when the computer executable instructions are executed, the intelligent stamp device includes a communication module; sending a stamping request to a block link point, comprising: sending a sealing request to a block chain node through the communication module; receiving the stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the stamping behavior of the time, wherein the stamping behavior identification information comprises the following information: receiving stamping behavior identification information which is returned by the block link points according to the stamping request and is generated for the current stamping behavior through the communication module; sending the image data of the stamped file to the block link points, comprising: and sending the image data of the stamped file to the block chain nodes through the communication module.
In an embodiment of the present specification, the electronic device may be an intelligent stamp device. The intelligent seal equipment can send a sealing request to the block chain link points and receive sealing behavior identification information returned by the block chain link points and generated by the current sealing behavior, and the sealing behavior identification information is used for the intelligent seal equipment to be arranged on the surface of a seal, so that a file is sealed when the seal is sealed. Because the stamping behavior identification information generated for each stamping behavior is different, the images stamped by the same intelligent stamp device in each stamping process are different, and the forging difficulty of the stamp is improved. And the intelligent seal equipment can also shoot the image data of the stamped file and send the image data to the blockchain node after the stamping action is completed, so that the blockchain node can store the stamping action identification information and the image data of the stamped file in a blockchain in a correlation mode, the advantage that the data in the blockchain cannot be falsified is achieved, and the effect of verifying the authenticity of the stamping action to be verified is achieved.
The electronic device in this embodiment can implement the above-described processes of the stamping processing method applied to the intelligent stamp device, and achieve the same effects and functions, which are not repeated here.
Further, another embodiment of the present specification further provides a storage medium for storing computer-executable instructions, and in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and the storage medium stores computer-executable instructions that, when executed by a processor, implement the following processes:
acquiring a stamping request sent by intelligent stamping equipment; the intelligent seal device comprises a seal body, a seal cover and a seal cover, wherein the seal surface of the intelligent seal device is preset with user-defined seal contents;
calling a first intelligent contract in a block chain, and generating stamping behavior identification information for the stamping behavior according to the stamping request; the stamping behavior identification information generated for each stamping behavior is different; the stamping behavior identification information is used for arranging the intelligent stamp equipment on the stamp surface;
returning the stamping behavior identification information to the intelligent stamping equipment;
acquiring image data of a stamped file sent by the intelligent stamping equipment after the stamping action is finished; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;
and storing the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner so as to verify the authenticity of the stamping behavior to be verified.
Optionally, when executed by the processor, the computer-executable instructions stored in the storage medium invoke a first smart contract in the block chain, and generate, according to the sealing request, sealing behavior identification information for the current sealing behavior, where the generating includes: calling a first intelligent contract in a block chain, extracting the personnel information of the stamping personnel of the stamping behavior from the stamping request, and searching prestored personnel information of legal personnel allowed to stamp corresponding to the intelligent stamping equipment in the block chain; and if the personnel information of the stamping personnel is matched with the found personnel information of the legal personnel, determining that the stamping action is allowed, and generating stamping action identification information for the stamping action.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, store the stamping behavior identification information and the image data of the stamped file in association in a blockchain, including: and if the personnel information of the stamping personnel is matched with the found personnel information of the legal personnel, the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file are stored in a block chain in a correlation mode.
Optionally, before the computer-executable instructions stored in the storage medium, when executed by the processor, look up the pre-stored person information of the legal person allowed to stamp corresponding to the intelligent stamp device in the blockchain, the method further includes: and acquiring the personnel information of legal personnel allowed to be stamped, which is sent by the user terminal bound with the intelligent stamp device and corresponds to the intelligent stamp device, and storing the personnel information in a block chain.
Optionally, before the computer-executable instructions stored in the storage medium are executed by the processor and the associated storage of the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file is performed in a blockchain, the method further includes: acquiring stamp identification information which is allocated to the intelligent stamp equipment in advance; the seal identification information is preset on the seal surface of the intelligent seal device; the stamped file is also stamped with the stamp identification information; correspondingly, the associating and storing the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in a block chain comprises the following steps: and storing the seal identification information, the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise: acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of the stamped file to be verified corresponding to the stamping behavior to be verified; and calling a second intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
Optionally, the computer-executable instructions stored in the storage medium, when executed by the processor, invoke a second intelligent contract in the block chain, and verify the authenticity of the stamping behavior to be verified according to the verification request, including: calling a second intelligent contract in the block chain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped file to be verified, and searching the image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain; and if the found image data of the stamped file is matched with the image data of the stamped file to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise: acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of a to-be-verified stamped file corresponding to the to-be-verified stamping behavior and personnel information of a to-be-verified stamping personnel corresponding to the to-be-verified stamping behavior; and calling a third intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
Optionally, when executed by the processor, the computer-executable instructions stored in the storage medium invoke a third intelligent contract in the block chain, and verify the authenticity of the stamping behavior to be verified according to the verification request, including: calling a third intelligent contract in a block chain, extracting to-be-verified stamping behavior identification information corresponding to-be-verified stamping behaviors from the image data of the to-be-verified stamped file, searching the image data of the stamped file corresponding to the to-be-verified stamping behavior identification information in the block chain, and searching the personnel information of the stamping personnel corresponding to the to-be-verified stamping behavior identification information in the block chain; and if the searched image data of the stamped file is matched with the image data of the stamped file to be verified, and the searched personnel information of the stamping personnel is matched with the personnel information of the stamping personnel to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise: acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of a to-be-verified stamped file corresponding to the to-be-verified stamping behavior and personnel information of a to-be-verified stamping personnel corresponding to the to-be-verified stamping behavior; and calling a fourth intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
Optionally, when executed by the processor, the computer-executable instructions stored in the storage medium invoke a fourth intelligent contract in the block chain, and verify the authenticity of the stamping behavior to be verified according to the verification request, where the verifying includes: calling a fourth intelligent contract in the block chain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped file to be verified, and extracting the stamp identification information to be verified corresponding to the stamping behavior to be verified; calling a fourth intelligent contract in the block chain, searching image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain, searching personnel information of stamping personnel corresponding to the stamping behavior identification information to be verified in the block chain, and searching the stamp identification information corresponding to the stamping behavior identification information to be verified in the block chain; and if the searched image data of the stamped file is matched with the image data of the stamped file to be verified, the searched personnel information of the stamping personnel is matched with the personnel information of the stamping personnel to be verified, and the searched seal identification information is matched with the seal identification information to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, obtain a verification request for verifying authenticity of a to-be-verified stamping behavior, including: and acquiring a verification request for verifying the authenticity of the stamping behavior to be verified, which is sent by the user terminal bound with the intelligent stamping equipment.
Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the intelligent stamp device includes a camera, a communication module, a driving module and a movable contact; the movable contact is arranged on the surface of the seal; the communication module is used for sending a stamping request to the block link points and receiving the stamping behavior identification information; the driving module is used for driving the movable contact to move according to the stamping behavior identification information so as to set the stamping behavior identification information on the surface of the stamp; the stamping behavior identification information comprises information of a bar code image; the camera is used for shooting the image data of the stamped file after the stamping action is finished; the communication module is also used for sending the image data of the stamped file to the block chain nodes.
In embodiments of the present description, the storage medium may be located within a blockchain node. The block chain node can send stamping behavior identification information generated for the stamping behavior according to a stamping request of the intelligent stamp device to the intelligent stamp device, and the stamping behavior identification information is used for the intelligent stamp device to be arranged on the surface of a stamp so as to stamp a file when stamping. Because the stamping behavior identification information generated for each stamping behavior is different, the images stamped by the same intelligent stamp device in each stamping process are different, and the forging difficulty of the stamp is improved. And the block chain link point can also acquire the image data of the stamped file sent by the intelligent stamping equipment after the stamping action is finished, and the image data of the stamped file and the stamping action identification information generated for the stamping action are stored in a block chain in a correlation mode, so that the advantage that the data in the block chain cannot be falsified is achieved, and the effect of verifying the authenticity of the stamping action to be verified is achieved.
The storage medium in this embodiment can implement the above-described processes of the seal processing method applied to the blockchain node, and achieve the same effects and functions, which are not repeated here.
Further, another embodiment of the present specification further provides a storage medium for storing computer-executable instructions, and in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and the storage medium stores computer-executable instructions that, when executed by a processor, implement the following processes:
sending a stamping request to a block chain link point; the intelligent seal device comprises a seal body, a seal cover and a seal cover, wherein the seal surface of the intelligent seal device is preset with user-defined seal contents;
receiving stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the current stamping behavior; the stamping behavior identification information generated for each stamping behavior is different;
setting the stamping behavior identification information on the surface of the stamp;
after the stamping action is finished, acquiring image data of the stamped file; the stamped file is a file stamped with the stamping behavior identification information and the user-defined stamping content;
and sending the image data of the stamped file to the block chain nodes so that the block chain nodes can store the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner, and verify the authenticity of the stamping behavior to be verified.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the intelligent stamp device includes a drive module and a movable contact; the movable contact is arranged on the surface of the seal; setting the stamping behavior identification information on the surface of the stamp, including: driving the movable contact to move through the driving module according to the stamping behavior identification information so as to set the stamping behavior identification information on the surface of the stamp; the stamping behavior identification information comprises information of a bar code image.
Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the intelligent stamp device comprises a camera; after the current stamping action is completed, acquiring the image data of the stamped file, wherein the image data comprises the following steps: and shooting the image data of the stamped file after the stamping action is finished through the camera.
Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the seal request carries the personnel information of the seal personnel of the seal behavior at this time; the staff information of the stamping staff comprises face images of the stamping staff shot by the camera; and generating and returning the stamping behavior identification information to the intelligent stamping equipment for the stamping behavior after determining that the personnel information of the stamping personnel is matched with the personnel information of the legal personnel allowed to stamp corresponding to the intelligent stamping equipment through block chain link points.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the intelligent stamping device includes a communication module; sending a stamping request to a block link point, comprising: sending a sealing request to a block chain node through the communication module; receiving the stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the stamping behavior of the time, wherein the stamping behavior identification information comprises the following information: receiving stamping behavior identification information which is returned by the block link points according to the stamping request and is generated for the current stamping behavior through the communication module; sending the image data of the stamped file to the block link points, comprising: and sending the image data of the stamped file to the block chain nodes through the communication module.
In an embodiment of the present specification, the storage medium may be located in the intelligent stamp device. The intelligent seal equipment can send a sealing request to the block chain link points and receive sealing behavior identification information returned by the block chain link points and generated by the current sealing behavior, and the sealing behavior identification information is used for the intelligent seal equipment to be arranged on the surface of a seal, so that a file is sealed when the seal is sealed. Because the stamping behavior identification information generated for each stamping behavior is different, the images stamped by the same intelligent stamp device in each stamping process are different, and the forging difficulty of the stamp is improved. And the intelligent seal equipment can also shoot the image data of the stamped file and send the image data to the blockchain node after the stamping action is completed, so that the blockchain node can store the stamping action identification information and the image data of the stamped file in a blockchain in a correlation mode, the advantage that the data in the blockchain cannot be falsified is achieved, and the effect of verifying the authenticity of the stamping action to be verified is achieved.
The storage medium in this embodiment can implement each process of the stamping processing method applied to the intelligent stamp device, and achieve the same effect and function, which are not repeated here.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, 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.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
Embodiments of the present description are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification and is not intended to limit the present document. Various modifications and changes may occur to the embodiments described herein, as will be apparent to those skilled in the art. Any modifications, equivalents, improvements, etc. which come within the spirit and principle of the disclosure are intended to be included within the scope of the claims of this document.

Claims (25)

1. A seal processing method based on a block chain is applied to a block chain node and comprises the following steps:
acquiring a stamping request sent by intelligent stamping equipment;
generating stamping behavior identification information for the stamping behavior according to the stamping request;
returning the stamping behavior identification information to the intelligent stamping equipment, wherein the stamping behavior identification information is used for stamping a file to be stamped through the intelligent stamping equipment; the intelligent seal device comprises a driving module and a movable contact arranged on the surface of a seal, the surface of the seal is a surface which is used for sealing and contacted with a file to be sealed, and the movable contact is used for setting the seal surface with the sealing behavior identification information under the driving of the driving module.
2. The method according to claim 1, further comprising, after returning the stamping behavior identification information to the intelligent stamping device:
acquiring image data of a stamped file sent by the intelligent stamping equipment after the stamping action is finished; the stamped file is a file stamped with the stamping behavior identification information;
the stamping behavior identification information and the image data of the stamped file are stored in a block chain in a correlation mode so as to verify the authenticity of the stamping behavior to be verified; the stamping behavior identification information generated for each stamping behavior is different; the stamping behavior identification information is used for the intelligent stamp device to be arranged on the surface of the stamp.
3. The method of claim 2, wherein generating stamping behavior identification information for the current stamping behavior according to the stamping request comprises:
calling a first intelligent contract in a block chain, and judging whether the stamping behavior is allowed or not based on the personnel information of the stamping personnel carried in the stamping request;
if the judgment result is yes, generating stamping behavior identification information for the stamping behavior of this time;
if the judgment result is negative, a notification message of refusing stamping is returned to the intelligent stamping equipment.
4. The method of claim 3, wherein calling a first intelligent contract in a block chain, and judging whether to allow the current sealing behavior based on the personnel information of the sealing personnel carried in the sealing request comprises:
calling a first intelligent contract in a block chain, extracting the personnel information of the stamping personnel of the stamping behavior from the stamping request, and searching prestored personnel information of legal personnel allowed to stamp corresponding to the intelligent stamping equipment in the block chain;
and if the personnel information of the stamping personnel is matched with the found personnel information of the legal personnel, determining that the stamping action is allowed.
5. The method of claim 4, wherein the associating and storing the stamping behavior identification information and the image data of the stamped file in a blockchain comprises:
and if the personnel information of the stamping personnel is matched with the found personnel information of the legal personnel, the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file are stored in a block chain in a correlation mode.
6. The method according to claim 4 or 5, before searching the prestored personnel information of the legal personnel allowed to be stamped corresponding to the intelligent stamping device in the blockchain, further comprising:
and acquiring the personnel information of legal personnel allowed to be stamped, which is sent by the user terminal bound with the intelligent stamp device and corresponds to the intelligent stamp device, and storing the personnel information in a block chain.
7. The method of claim 5, before storing the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in association in a blockchain, further comprising:
acquiring stamp identification information which is allocated to the intelligent stamp equipment in advance; the seal identification information is preset on the seal surface of the intelligent seal device; the stamped file is also stamped with the stamp identification information;
correspondingly, the associating and storing the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in a block chain comprises the following steps:
and storing the seal identification information, the personnel information of the stamping personnel, the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner.
8. The method of claim 2, further comprising:
acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of the stamped file to be verified corresponding to the stamping behavior to be verified;
and calling a second intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
9. The method of claim 8, wherein invoking a second intelligent contract in a blockchain, verifying the authenticity of a to-be-verified stamping behavior according to the verification request comprises:
calling a second intelligent contract in the block chain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped file to be verified, and searching the image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain;
and if the found image data of the stamped file is matched with the image data of the stamped file to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
10. The method of claim 5, further comprising:
acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of a to-be-verified stamped file corresponding to the to-be-verified stamping behavior and personnel information of a to-be-verified stamping personnel corresponding to the to-be-verified stamping behavior;
and calling a third intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
11. The method of claim 10, invoking a third intelligent contract in a blockchain, verifying authenticity of a to-be-verified stamping behavior according to the verification request, comprising:
calling a third intelligent contract in a block chain, extracting to-be-verified stamping behavior identification information corresponding to-be-verified stamping behaviors from the image data of the to-be-verified stamped file, searching the image data of the stamped file corresponding to the to-be-verified stamping behavior identification information in the block chain, and searching the personnel information of the stamping personnel corresponding to the to-be-verified stamping behavior identification information in the block chain;
and if the searched image data of the stamped file is matched with the image data of the stamped file to be verified, and the searched personnel information of the stamping personnel is matched with the personnel information of the stamping personnel to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
12. The method of claim 7, further comprising:
acquiring a verification request for verifying the authenticity of a stamping behavior to be verified; the verification request carries image data of a to-be-verified stamped file corresponding to the to-be-verified stamping behavior and personnel information of a to-be-verified stamping personnel corresponding to the to-be-verified stamping behavior;
and calling a fourth intelligent contract in the block chain, and verifying the authenticity of the stamping behavior to be verified according to the verification request.
13. The method of claim 12, wherein invoking a fourth intelligent contract in a blockchain, verifying the authenticity of a to-be-verified stamping behavior according to the verification request comprises:
calling a fourth intelligent contract in the block chain, extracting the stamping behavior identification information to be verified corresponding to the stamping behavior to be verified from the image data of the stamped file to be verified, and extracting the stamp identification information to be verified corresponding to the stamping behavior to be verified;
calling a fourth intelligent contract in the block chain, searching image data of the stamped file corresponding to the stamping behavior identification information to be verified in the block chain, searching personnel information of stamping personnel corresponding to the stamping behavior identification information to be verified in the block chain, and searching the stamp identification information corresponding to the stamping behavior identification information to be verified in the block chain;
and if the searched image data of the stamped file is matched with the image data of the stamped file to be verified, the searched personnel information of the stamping personnel is matched with the personnel information of the stamping personnel to be verified, and the searched seal identification information is matched with the seal identification information to be verified, determining that the stamping behavior to be verified is a real stamping behavior, otherwise, determining that the stamping behavior to be verified is a forged stamping behavior.
14. The method according to claim 1, said intelligent stamp device further comprising a camera, a communication module;
the communication module is used for sending a stamping request to the block link points and receiving the stamping behavior identification information;
the driving module is used for driving the movable contact to move according to the stamping behavior identification information so as to set the stamping behavior identification information on the surface of the stamp; the stamping behavior identification information comprises information of a bar code image;
the camera is used for shooting the image data of the stamped file after the stamping action is finished;
the communication module is also used for sending the image data of the stamped file to the block chain nodes.
15. A stamping processing method based on a block chain is applied to intelligent stamping equipment and comprises the following steps:
sending a stamping request to a block chain link point;
receiving stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the current stamping behavior;
setting the stamping behavior identification information on the surface of a stamp of the intelligent stamp equipment, and stamping the stamping behavior identification information on a file to be stamped; the intelligent seal device comprises a driving module and a movable contact arranged on the surface of the seal, the surface of the seal is a surface which is used for stamping and contacted with a file to be stamped, and the movable contact is used for setting stamping behavior identification information on the surface of the seal under the driving of the driving module.
16. The method of claim 15, further comprising, after the stamping behavior identification information is stamped on the document to be stamped:
after the stamping action is finished, acquiring image data of the stamped file; the stamped file is a file stamped with the stamping behavior identification information;
sending the image data of the stamped file to a block chain node so as to enable the block chain node to store the stamping behavior identification information and the image data of the stamped file in a block chain in a correlation manner and verify the authenticity of the stamping behavior to be verified; the stamping behavior identification information generated for each stamping behavior is different; the stamping behavior identification information is used for the intelligent stamp device to be arranged on the surface of the stamp.
17. The method according to claim 15, wherein the disposing the stamping behavior identification information on a stamp surface of the intelligent stamping 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 surface of the seal of the intelligent seal equipment; the stamping behavior identification information comprises information of a bar code image.
18. The method of claim 17, the movable contact comprising a multi-word independently moving sub-contact;
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 surface of the seal of the intelligent seal device, and the method comprises the following steps:
and driving the plurality of sub-contacts to vertically move along the direction vertical to the surface of the seal or horizontally move along the direction parallel to the surface of the seal by the driving module according to the information of the bar code image, so that the image obtained by covering the moved sub-contacts on the file to be stamped is the same as the bar code image corresponding to the information of the bar code image.
19. The method according to claim 16, said intelligent stamp device further comprising a camera;
after the current stamping action is completed, acquiring the image data of the stamped file, wherein the image data comprises the following steps:
and shooting the image data of the stamped file after the stamping action is finished through the camera.
20. The method as claimed in claim 19, wherein the sealing request carries the personnel information of the sealing personnel of the current sealing action; the staff information of the stamping staff comprises face images of the stamping staff shot by the camera;
and generating and returning the stamping behavior identification information to the intelligent stamping equipment for the stamping behavior after determining that the personnel information of the stamping personnel is matched with the personnel information of the legal personnel allowed to stamp corresponding to the intelligent stamping equipment through block chain link points.
21. The method according to claim 16, said intelligent stamp device further comprising a communication module;
sending a stamping request to a block link point, comprising: sending a sealing request to a block chain node through the communication module;
receiving the stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the stamping behavior of the time, wherein the stamping behavior identification information comprises the following information: receiving stamping behavior identification information which is returned by the block link points according to the stamping request and is generated for the current stamping behavior through the communication module;
sending the image data of the stamped file to the block link points, comprising: and sending the image data of the stamped file to the block chain nodes through the communication module.
22. A processing apparatus that stamps based on block chain is applied to block chain node, includes:
the first acquisition module is used for acquiring a stamping request sent by the intelligent stamping equipment;
the information generation module generates stamping behavior identification information for the stamping behavior according to the stamping request;
the first sending module returns the stamping behavior identification information to the intelligent stamping equipment, and the stamping behavior identification information is used for stamping a file to be stamped through the intelligent stamping equipment; the intelligent seal device comprises a driving module and a movable contact arranged on the surface of a seal, the surface of the seal is a surface which is used for sealing and contacted with a file to be sealed, and the movable contact is used for setting the seal surface with the sealing behavior identification information under the driving of the driving module.
23. The utility model provides a processing apparatus that stamps based on block chain is applied to intelligent seal equipment, includes:
the second sending module is used for sending a stamping request to the block chain link points;
the information receiving module is used for receiving the stamping behavior identification information which is returned by the block chain node according to the stamping request and is generated for the current stamping behavior;
the identification setting module is used for setting the stamping behavior identification information on the surface of a stamp of the intelligent stamp equipment and stamping the stamping behavior identification information on a file to be stamped; the intelligent seal device comprises a driving module and a movable contact arranged on the surface of the seal, the surface of the seal is a surface which is used for stamping and contacted with a file to be stamped, and the movable contact is used for setting stamping behavior identification information on the surface of the seal under the driving of the driving module.
24. An electronic device, comprising: a processor; and a memory arranged to store computer executable instructions which, when executed, cause the processor to carry out the steps of the method of any preceding claim 1 to 14 or claim 15 to 21.
25. A storage medium storing computer-executable instructions which, when executed, implement the steps of the method of any one of claims 1 to 14 or claims 15 to 21.
CN202110330297.8A 2020-08-14 2020-08-14 Block chain-based stamping processing method and device Pending CN114077641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110330297.8A CN114077641A (en) 2020-08-14 2020-08-14 Block chain-based stamping processing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010816540.2A CN111738748B (en) 2020-08-14 2020-08-14 Block chain-based stamping processing method and device
CN202110330297.8A CN114077641A (en) 2020-08-14 2020-08-14 Block chain-based stamping processing method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010816540.2A Division CN111738748B (en) 2020-08-14 2020-08-14 Block chain-based stamping processing method and device

Publications (1)

Publication Number Publication Date
CN114077641A true CN114077641A (en) 2022-02-22

Family

ID=72658477

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010816540.2A Active CN111738748B (en) 2020-08-14 2020-08-14 Block chain-based stamping processing method and device
CN202110330297.8A Pending CN114077641A (en) 2020-08-14 2020-08-14 Block chain-based stamping processing method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202010816540.2A Active CN111738748B (en) 2020-08-14 2020-08-14 Block chain-based stamping processing method and device

Country Status (1)

Country Link
CN (2) CN111738748B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200569A (en) * 2020-10-09 2021-01-08 支付宝(杭州)信息技术有限公司 Block chain-based digital seal using method and device and electronic equipment
CN112866205A (en) * 2020-12-31 2021-05-28 杭州甘道智能科技有限公司 Intelligent seal credible verification platform and method based on block chain
CN112995225B (en) * 2021-05-12 2021-08-03 杭州甘道智能科技有限公司 Intelligent stamp credible verification system based on block chain
CN113268778A (en) * 2021-05-31 2021-08-17 杭州趣链科技有限公司 Electronic file processing method, system, device, medium and intelligent seal
CN113469657A (en) * 2021-07-12 2021-10-01 支付宝(杭州)信息技术有限公司 Block chain-based physical seal using method and device and electronic equipment
CN113743360B (en) * 2021-09-16 2024-03-05 京东科技信息技术有限公司 Intelligent seal analysis method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106203937A (en) * 2016-06-24 2016-12-07 包永祥 Seal requesting method and system
CN106364189A (en) * 2015-07-20 2017-02-01 山东北斗睿星信息科技有限公司 In-parallel multi-head stamping machine capable of automatic recognition of document thickness
CN107392618A (en) * 2017-07-28 2017-11-24 中链科技有限公司 It is implanted into the method and apparatus of intelligent contract
CN107538927A (en) * 2017-10-26 2018-01-05 周绍华 Anti-counterfeit method for stamp and Intelligent anti-counterfeit seal
CN108985364A (en) * 2018-07-05 2018-12-11 招银云创(深圳)信息技术有限公司 Verification method, device, computer equipment and the storage medium of sealed files
CN110990805A (en) * 2019-11-04 2020-04-10 珠海优特物联科技有限公司 Seal control method and device, seal and computer readable storage medium
CN111431916A (en) * 2020-03-30 2020-07-17 朱丽珍 Seal verification method based on asymmetric encryption, seal and computer storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186846A (en) * 2011-12-30 2013-07-03 张殿礼 Intelligent electronic seal system and authorization control method thereof
CN104320252B (en) * 2014-09-26 2017-07-11 大连声鹭科技有限公司 A kind of mobile online tracking verification electronic intelligence seal, electronic signature management system and verification method
CN105415901B (en) * 2015-12-23 2018-10-30 童迎伟 Cloud intelligent seal based on Internet of things and implementation method thereof
US10513077B2 (en) * 2017-03-09 2019-12-24 Walmart Apollo, Llc System and methods for three dimensional printing with blockchain controls
CN108573140B (en) * 2018-05-02 2020-06-30 大连声鹭科技有限公司 Intelligent seal and intelligent seal service system established on cloud server and based on blockchain technology
CN109492983B (en) * 2018-09-26 2023-04-07 深圳壹账通智能科技有限公司 Electronic seal signing method, device, equipment and medium based on block chain intelligent contract
CN109829269A (en) * 2018-12-26 2019-05-31 平安科技(深圳)有限公司 Method, apparatus and system based on E-seal authenticating electronic documents
CN110210832A (en) * 2019-05-31 2019-09-06 深圳市元征科技股份有限公司 One kind is affixed one's seal method, apparatus, medium and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106364189A (en) * 2015-07-20 2017-02-01 山东北斗睿星信息科技有限公司 In-parallel multi-head stamping machine capable of automatic recognition of document thickness
CN106203937A (en) * 2016-06-24 2016-12-07 包永祥 Seal requesting method and system
CN107392618A (en) * 2017-07-28 2017-11-24 中链科技有限公司 It is implanted into the method and apparatus of intelligent contract
CN107538927A (en) * 2017-10-26 2018-01-05 周绍华 Anti-counterfeit method for stamp and Intelligent anti-counterfeit seal
CN108985364A (en) * 2018-07-05 2018-12-11 招银云创(深圳)信息技术有限公司 Verification method, device, computer equipment and the storage medium of sealed files
CN110990805A (en) * 2019-11-04 2020-04-10 珠海优特物联科技有限公司 Seal control method and device, seal and computer readable storage medium
CN111431916A (en) * 2020-03-30 2020-07-17 朱丽珍 Seal verification method based on asymmetric encryption, seal and computer storage medium

Also Published As

Publication number Publication date
CN111738748A (en) 2020-10-02
CN111738748B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN111738748B (en) Block chain-based stamping processing method and device
CN109614823B (en) Data processing method, device and equipment
CN111859470B (en) Business data chaining method and device
CN112149187B (en) Method and device for processing traceability information based on blockchain
CN111241569B (en) Information processing method, device and equipment
CN111538980B (en) Account binding method, device and system for application program
CN111461623B (en) Block chain-based warehouse bill creating method, device and equipment
CN113794569B (en) Material inventory data providing method, device and system based on block chain
CN112052733A (en) Database construction method, face recognition device and electronic equipment
CN115001817A (en) Offline identity recognition method, device and equipment
CN113343295A (en) Image processing method, device, equipment and storage medium based on privacy protection
CN109657440B (en) Block chain-based biological characteristic information processing method and device and terminal equipment
CN116361755A (en) Application program login verification method, device, equipment and storage medium
CN112039971B (en) Data recording method and device, and data storage method and device
CN113626524A (en) Data processing method and device and data checking system
CN113673374B (en) Face recognition method, device and equipment
CN113946260A (en) Data processing method, device and equipment
CN114463006A (en) Geographical indication processing method and device based on alliance chain
CN111882321A (en) Identity verification processing method, device and system
CN116860757A (en) Attendance checking processing method and device
CN117078962B (en) Data chaining method and device based on texture acquisition
CN113159800B (en) Identity authentication processing method and device
CN114637438A (en) AR-based vehicle accident handling method and device
CN116017395A (en) Resource transfer processing method and device
CN117555997A (en) Method and device for determining session information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination