CN111488399A - Block chain system, transaction processing method and device - Google Patents

Block chain system, transaction processing method and device Download PDF

Info

Publication number
CN111488399A
CN111488399A CN202010374536.5A CN202010374536A CN111488399A CN 111488399 A CN111488399 A CN 111488399A CN 202010374536 A CN202010374536 A CN 202010374536A CN 111488399 A CN111488399 A CN 111488399A
Authority
CN
China
Prior art keywords
document
transaction
document template
template
blockchain
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
CN202010374536.5A
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.)
Beijing Liangzuo Technology Co Ltd
Original Assignee
Beijing Liangzuo 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 Beijing Liangzuo Technology Co Ltd filed Critical Beijing Liangzuo Technology Co Ltd
Priority to CN202010374536.5A priority Critical patent/CN111488399A/en
Publication of CN111488399A publication Critical patent/CN111488399A/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
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The embodiment of the application discloses a block chain system, a transaction processing method and a device. Registering a document template containing a data standard and a processing code, authorizing a third-party block chain to use, generating a document by using the document template, forming a transaction by using the document, and processing the document contained in the transaction by using the document template before the transaction is linked, thereby finishing the data standardization work on the block chain; on the other hand, the authorization mechanism ensures the original document template, helps developers to obtain benefits from the work of developing the document template, encourages the development of richer document templates, and is beneficial to the ecological construction of the whole block chain.

Description

Block chain system, transaction processing method and device
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a blockchain system, a transaction processing method, and an apparatus.
Background
With the development of information technology, the block chain technology has become a technology of great interest due to its advantages such as openness, non-tamper property, and decentralization. With the increasing number of blockchains, the demand for cross-chain is more and more strong, but each blockchain redevelops its own intelligent contract and data structure, and both parties of cross-chain transaction cannot efficiently identify the structure and meaning of the data of the other party, so an invention is needed to provide a uniform development platform and standardize the data of the blockchains.
Disclosure of Invention
The embodiment of the application provides a blockchain system, a transaction processing method and a device, so as to provide a uniform development platform and help data standardization of a blockchain.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
an embodiment of the present application provides a block chain system, including:
the system comprises a registration module, a document template and a processing module, wherein the registration module is used for registering a document template and an owner thereof and setting a unique number for the document template, the document template defines a data standard and a processing method of a document in advance, the data standard comprises a format standard and a content standard of the document, and the processing method comprises the steps of coding the document to obtain a binary code, decoding the binary code to obtain the document, reading the document, verifying whether the document meets the data standard or not and generating uplink data according to the document;
an authorization module, configured to authorize a third party blockchain to use the document template by an owner of the document template, where the blockchain system provides authorization information, and the authorization information is an uplink certificate of the authorized transaction;
the plug-in module is used for packaging at least one document template to generate a plug-in to provide for the third-party block chain;
the application module is used for receiving an authorization application for the document template initiated by a third-party block chain;
a delegation module, configured to delegate an owner of the document template to the blockchain system or a third-party account to authorize the blockchain of the third party to use the document template, where the blockchain system provides authorization information, and the authorization information is an uplink certificate of the authorized transaction;
the interpretation module is used for receiving the documents, searching the corresponding document template and providing interpretation by using the document template;
the transfer module is used for transferring the ownership of the document template;
and the query module is used for querying the document template and the authorization information.
The transaction processing method for the blockchain provided by the embodiment of the application, wherein the blockchain system provides the document template, the plug-in and the authorization information, includes:
analyzing the transaction to obtain document information contained in the transaction, wherein the document information comprises the serial number of a document template and a binary code of the document;
confirming that the corresponding document template exists in the block chain according to the document template number contained in the transaction, and rejecting the transaction if at least one document template does not exist;
confirming that the blockchain is authorized to use the corresponding document template according to the document template number contained in the transaction, if at least one document template is not authorized, rejecting the transaction, and the blockchain can only use the document template after being authorized;
and processing all document binary codes contained in the transaction by using the corresponding document template, wherein the processing comprises decoding to obtain the documents, verifying whether the documents meet the data standard, and generating to-be-linked data according to the documents, and if the processing has no error, the transaction is added into a block, and the to-be-linked data is also linked.
Wherein the blockchain provides the document template through a built-in or installation plug-in.
Wherein the transaction contains at least one document, and otherwise the transaction is denied.
The transaction processing apparatus for blockchain provided by the embodiment of the present application, where the blockchain system provides the document template, the plug-in, and the authorization information, includes:
the document template module is used for managing document templates on the block chain;
the transaction module is used for analyzing document information contained in the transaction, wherein the document information contains document template numbers of documents and binary codes of the documents, and is also used for creating the transaction by using at least one item of documents;
the processing module is used for processing the transaction by using the document template when the transaction is added into the block, wherein the processing comprises decoding to obtain the document, verifying whether the document meets the data standard or not and generating to-be-linked data according to the document;
the authorization module is used for using authorization information to start the corresponding document template on the block chain;
and the plug-in module is used for loading the new document template, and the plug-in comprises at least one document template.
Through the block chain system, the transaction processing method and the device provided by the invention, on one hand, the document template defines a data standard, the document generated by using the document template accords with the data standard, the transaction consisting of the documents also refers to the data standard, and the document template is used for processing the document contained in the transaction before the transaction is linked up, so that the data standardization work on the block chain is completed, therefore, when the transaction data constructed based on the document template is used for chain crossing, a target chain can directly and clearly know the meaning of the chain crossing data, the operation is rapid and accurate, manual intervention is not needed, the chain crossing cost is saved, the more the number of the block chains using the document template is, the more the chain crossing is convenient, and the saved cost is exponentially increased; on the other hand, the authorization mechanism ensures the original document template, helps developers to obtain benefits from the work of developing the document template, encourages the development of richer document templates, and is beneficial to the ecological construction of the whole block chain.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic diagram of a blockchain system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a transaction processing method based on a blockchain according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a transaction processing apparatus based on a blockchain according to an embodiment of the present disclosure.
Detailed Description
The embodiment of the application provides a block chain system, a transaction processing method and a device.
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a blockchain system according to an embodiment of the present disclosure.
And the registration module 11 is used for registering the document template and the owner thereof and setting a unique number for the document template.
The document template defines a data standard and a processing method of a document in advance, the data standard comprises a format standard and a content standard of the document, and the processing method comprises the steps of coding the document to obtain a binary code, decoding the binary code to obtain the document, reading the document, verifying whether the document meets the data standard or not, and generating uplink data according to the document.
Preferably, the blockchain provides numbers as the numbers of the document template in a digital incremental mode, so that simplicity and clarity are achieved, and no number conflict occurs.
Preferably, all document templates are inherited from an interface, and functions provided by the interface include returning numbers, obtaining binary codes from document codes, obtaining documents from binary code decoding, interpreting the documents, verifying whether the documents meet the data standard, and generating uplink data according to the documents. In this way, the document template can be installed by means of a plug-in.
Optionally, the document may be interpreted to different degrees, such as providing a text summary, a detailed form, and so on, which may be suitable for different scenarios.
Preferably, the document template should also provide a detailed description of the data criteria, thus helping the new user to start the document template.
Preferably, the document template system includes all document standards in all EDI standards, and the document template directly uses the format standard, the content standard, the encoding and decoding method in the EDI standards, so that data of the EDI standards can be directly used on the block chain, and users using the EDI standards can conveniently migrate data and trade to the block chain. Optionally, more existing standards may be supported, including industry standards, national standards, and the like.
Wherein the encoding and decoding are interrelated, except for the above mentioned case, the encoding and decoding method of the block chain system itself can be directly considered.
Optionally, the registration action may be initiated by an owner of the document template, where the owner is a transaction initiator; or it may be the blockchain system initiation, where the owner is specified in the transaction by the blockchain system.
An authorization module 12, configured to authorize a third party blockchain to use the document template by an owner of the document template, where the blockchain system provides authorization information, and the authorization information is an uplink certificate of the authorized transaction.
Wherein, the third party block chain verifies that the authorization information must be consistent with the code logic inside the authorization module 12, preferably, the authorization module 12 provides the authorization information and also provides the code for verifying the authorization information.
Optionally, the authorized transaction includes a signature of an owner of the document template, a flag of the third party block chain, and a number of the document template, and the authorization information includes the authorized transaction and an uplink certificate of the authorized transaction. Optionally, the uplink certificate of the authorized transaction includes the mercker certificate of the block where the authorized transaction is located, the block head of the block where the authorized transaction is located, and the uplink certificate of the block where the authorized transaction is located, and the mercker certificate of the block where the authorized transaction is located and the block head of the block where the authorized transaction is located are used to prove that the authorized transaction is located in the block, and further, the block head of the block where the authorized transaction is located and the uplink certificate of the block where the authorized transaction is located are used to prove that the authorized transaction is linked. The blockchain system does not limit the consensus mechanism, and if the blockchain system uses the consensus mechanism such as the workload certification mechanism, and the like, a new block may be reset, the third-party blockchain is further required to actively confirm whether the uplink certification of the block where the transaction is located is true and valid, and the third-party blockchain can generally confirm the uplink certification by querying the block header of the blockchain system; if the block chain system uses a common recognition mechanism such as a practical Byzantine mechanism, the new block cannot be reset, so that the uplink of the block where the transaction is located is always proved to be effective, and the third-party block chain is not required to be additionally operated.
And the plug-in module 13 is used for packaging at least one document template to generate a plug-in to be provided for the third-party block chain.
Preferably, the document template in the plug-in supports the number returned by the template, so that different document templates can be distinguished conveniently in the third-party block chain.
Optionally, the plug-in further packages corresponding authorization information, so that when the third-party blockchain loads the plug-in, the authorization information can be directly configured on the blockchain without additional operation authorization, and when the system is restarted, additional configuration authorization is not required. Optionally, if the document template is authorized, the corresponding authorization information is directly covered in the packaged document template, so that the third-party blockchain is not required to additionally store the authorization information.
Optionally, before generating the plug-in, the user may select the document template to be packaged.
And the application module 14 is configured to receive an authorization application for the document template initiated for the third-party block chain.
Wherein the authorization application transaction includes a designation of the third party blockchain, a number of the document template.
And the delegation module 15 is used for delegating the owner of the document template to the blockchain system or a third party account to authorize the third party blockchain to use the document template. The blockchain system provides authorization information, which is an uplink certificate of the authorized transaction.
And the owner of the document template sets a delegated object and the object is trusteely authorized to use the document template by the third-party block chain.
Wherein the transaction is signed by an authorizing node or a chunking node of the blockchain system if the trusted object is the blockchain system, and otherwise by a third party account. When the block chain system authorizes the chain, the signature of the authorized transaction is checked according to the record on the block chain, and the signature is ensured to meet the requirement.
Optionally, the authorized transaction includes a signature of the trusted object, a flag of the third party block chain, and a number of the document template, and the authorization information includes the authorized transaction and an uplink certificate of the authorized transaction. Optionally, the uplink certificate of the authorized transaction includes the mercker certificate of the block where the authorized transaction is located, the block head of the block where the authorized transaction is located, and the uplink certificate of the block where the authorized transaction is located, and the mercker certificate of the block where the authorized transaction is located and the block head of the block where the authorized transaction is located are used to prove that the authorized transaction is located in the block, and further, the block head of the block where the authorized transaction is located and the uplink certificate of the block where the authorized transaction is located are used to prove that the authorized transaction is linked. Wherein, since the blockchain system does not limit the consensus mechanism, if the blockchain system uses the consensus mechanism such as the workload certification mechanism, and the like, and the new blockchain may be reset, the third-party blockchain is further required to actively confirm whether the uplink certification of the block where the transaction is located is true and valid; if the block chain system uses a common recognition mechanism such as a practical Byzantine mechanism, the new block cannot be reset, so that the uplink of the block where the transaction is located is always proved to be effective, and the third-party block chain is not required to be additionally operated.
And the interpretation module 16 is used for receiving the documents, searching the corresponding document template and providing interpretation by using the document template.
Preferably, the solution module provides services in an API manner, so that the third-party block chain or the client can read all documents to the user conveniently.
And the assigning module 17 is used for assigning the ownership of the document template.
Wherein the transaction for transfer is typically initiated by the owner of the documentation template and must be signed by the owner of the documentation template.
And the query module 18 is used for querying the document template and the authorization information.
Preferably, if the blockchain system uses a consensus mechanism such as a workload certification mechanism, the third-party blockchain further needs to confirm that the document template and the authorization information are true and valid on the system through a query module.
The block chain system provided by the embodiment supports registration and downloading of document templates, authorizes a third-party block chain to use the document templates, and supports registration of owners and transfer ownership of the document templates, so that data standardization and data cross-chain work of the block chain are facilitated, and ecological construction of the block chain is facilitated.
Fig. 2 is a schematic diagram of a transaction processing method based on a blockchain according to an embodiment of the present disclosure.
It should be noted that the document template, the plug-in and the authorization information included in the embodiment of the present application all originate from the system described above.
And S101, analyzing the transaction to obtain the document information contained in the transaction.
The document information comprises the serial number of the document template and the binary code of the document.
Wherein the transaction contains at least one document, and otherwise the transaction is denied.
And S102, confirming that the corresponding document template exists in the block chain.
And confirming that the corresponding document template exists in the block chain according to the document template number contained in the transaction, and rejecting the transaction if at least one document template does not exist.
Preferably, the block chain provides document number caching, and the efficiency of the step is improved. Because the transaction contains at least one document, all documents must be guaranteed to have corresponding document template processing, and the transaction cannot be carried out without any document template.
Preferably, when the system is started, all authorized document template numbers on the block chain are inquired and cached, and when the plug-in is loaded, the corresponding document template numbers are updated in the cache, so that the search is convenient.
S103, confirming that the block chain is authorized to use the corresponding document template.
And confirming that the blockchain is authorized to use the corresponding document template according to the document template number contained in the transaction, rejecting the transaction if at least one document template is not authorized, and using the document template only after the blockchain is authorized.
Wherein the blockchain provides the document template through a built-in or installation plug-in.
Wherein the authorization information is provided by the system, and the code for identifying the authenticity of the authorization information should be adapted according to the authorization information in the system and a consensus mechanism used by the system.
Optionally, if the system uses a consensus mechanism such as a workload certification mechanism, it is further required to query whether the authorization information is real and valid in the system.
Preferably, when the system is started, all authorized document templates on the block chain are inquired and cached, and when new authorization is added, the information updates the corresponding document template in the cache, so that the efficiency can be improved.
And S104, processing and trading the uplink by using the corresponding document template.
And processing all document binary codes contained in the transaction by using the corresponding document template, wherein the processing comprises decoding to obtain the documents, verifying whether the documents meet the data standard, and generating to-be-linked data according to the documents, and if the processing has no error, the transaction is added into a block, and the to-be-linked data is also linked.
Optionally, in a scenario of data storage, etc., no uplink data is additionally generated when the document is processed, so that the transaction is only added to the block, and no other uplink data to be linked is to be linked.
Preferably, if the uplink data relates to the status of account amount, etc., then to update the status data of the block chain, the rest is directly written into the block to be linked together with the transaction.
In this embodiment, the document template of the blockchain system is used to process transactions, so as to ensure that the uplink transactions meet the data standard in the corresponding document template, so that the data on the blockchain is standardized, and the target chain can directly know the meaning of the data when the transaction data on the blockchain is cross-linked to other blockchains, without additional processing.
Fig. 3 is a schematic diagram of a transaction processing apparatus based on a blockchain according to an embodiment of the present disclosure.
And the document template module 21 is used for managing document templates on the block chain.
And the transaction module 22 is used for analyzing the document information contained in the transaction, wherein the document information contains the document template number of the document and the binary code of the document, and is also used for creating the transaction by using at least one item of the document.
A processing module 23, configured to process the transaction using the document template when the transaction joins the block, where the processing includes decoding to obtain the document, verifying whether the document meets the data standard, and generating to-be-linked data according to the document.
And the authorization module 24 is configured to enable the corresponding document template on the block chain by using authorization information.
And the plug-in module 25 is used for loading the new document template, and the plug-in comprises at least one document template.
The apparatus provided in this embodiment supports the configuration of a document template, the creation of documents using a document template, the construction of transactions using documents, and the processing of transactions to be linked using a document template, such that the blockchain can process transactions using the document template provided by the system described above.
In fact, any blockchain cannot be an island, and each blockchain creates its own data and depends on data provided by other blockchains. As blockchains become more popular, cross-chain requirements between blockchains increase, and many cross-chain requirements are duplicative or similar jobs that may use the same data standards, as are the various document standards in EDI.
Through the block chain system, the transaction processing method and the device provided by the invention, on one hand, a document template is established according to a data standard, a document generated by using the document template meets the data standard, a transaction consisting of documents also refers to the data standard, and the document template is used for processing the contained document before the transaction is linked, so that the data standardization work on the block chain is completed; on the other hand, the authorization mechanism ensures the original document template, helps developers to obtain benefits from the work of developing the document template, encourages the development of richer document templates, and is beneficial to the ecological construction of the whole block chain.
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.
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 units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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.
In the description of the present application, "a plurality" means two or more unless otherwise specified.
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 application may be provided as a method, system, or computer program product.
Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 the like) having computer-usable program code embodied therein.
The application 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. The application 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 application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (8)

1. A blockchain system, comprising:
the system comprises a registration module, a document template and a processing module, wherein the registration module is used for registering a document template and an owner thereof and setting a unique number for the document template, the document template defines a data standard and a processing method of a document in advance, the data standard comprises a format standard and a content standard of the document, and the processing method comprises the steps of coding the document to obtain a binary code, decoding the binary code to obtain the document, reading the document, verifying whether the document meets the data standard or not and generating uplink data according to the document;
and the authorization module is used for authorizing a third-party block chain to use the document template by an owner of the document template, and the block chain system provides authorization information which is an uplink certificate of the authorized transaction.
2. The blockchain system of claim 1, further comprising:
the plug-in module is used for packaging at least one document template to generate a plug-in to provide for the third-party block chain;
the application module is used for receiving an authorization application for the document template initiated by a third-party block chain;
and the entrusting module is used for entrusting the blockchain system or a third-party account by the owner of the document template to authorize the third-party blockchain to use the document template, the blockchain system provides authorization information, and the authorization information is an uplink certificate of the authorization transaction.
3. The blockchain system of claim 1, further comprising:
the interpretation module is used for receiving the documents, searching the corresponding document template and providing interpretation by using the document template;
the transfer module is used for transferring the ownership of the document template;
and the query module is used for querying the document template and the authorization information.
4. A transaction processing method for a blockchain, comprising:
analyzing a transaction to obtain document information contained in the transaction, wherein the document information comprises a serial number of a document template and a binary code of a document, the document template defines a data standard and a processing method of the document in advance, the data standard comprises a format standard and a content standard of the document, and the processing method comprises the steps of coding the document to obtain the binary code, decoding the binary code to obtain the document, decoding the document, verifying whether the document meets the data standard or not, and generating uplink data according to the document;
confirming that the corresponding document template exists in the block chain according to the document template number contained in the transaction, and rejecting the transaction if at least one document template does not exist;
confirming that the blockchain is authorized to use the corresponding document template according to the document template number contained in the transaction, if at least one document template is not authorized, rejecting the transaction, and the blockchain can only use the document template after being authorized;
and processing all document binary codes contained in the transaction by using the corresponding document template, wherein the processing comprises decoding to obtain the documents, verifying whether the documents meet the data standard, and generating to-be-linked data according to the documents, and if the processing has no error, the transaction is added into a block, and the to-be-linked data is also linked.
5. The transaction processing method for a blockchain according to claim 4, further comprising:
the blockchain provides the document template through a built-in or installed plug-in, and the document template, the plug-in and the authorization information of the blockchain are all derived from the blockchain system according to any one of claims 1 to 3.
6. The transaction processing method for a blockchain according to claim 4, further comprising:
the transaction contains at least one document, otherwise the transaction is denied.
7. A transaction processing device for a blockchain, comprising:
the document template module is used for managing a document template on the block chain, the document template predefines a data standard and a processing method of a document, the data standard comprises a format standard and a content standard of the document, and the processing method comprises the steps of coding the document to obtain a binary code, decoding the binary code to obtain the document, reading the document, verifying whether the document meets the data standard or not, and generating uplink data according to the document;
the transaction module is used for analyzing document information contained in the transaction, wherein the document information contains document template numbers of documents and binary codes of the documents, and is also used for creating the transaction by using at least one item of documents;
the processing module is used for processing the transaction by using the document template when the transaction is added into the block, wherein the processing comprises decoding to obtain the document, verifying whether the document meets the data standard or not and generating to-be-linked data according to the document;
the authorization module is used for using authorization information to start the corresponding document template on the block chain;
and the plug-in module is used for loading the new document template, and the plug-in comprises at least one document template.
8. The transaction processing device for blockchains according to claim 7, wherein the document template, the plug-in and the authorization information are derived from a blockchain system according to any one of claims 1 to 3.
CN202010374536.5A 2020-05-06 2020-05-06 Block chain system, transaction processing method and device Pending CN111488399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010374536.5A CN111488399A (en) 2020-05-06 2020-05-06 Block chain system, transaction processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010374536.5A CN111488399A (en) 2020-05-06 2020-05-06 Block chain system, transaction processing method and device

Publications (1)

Publication Number Publication Date
CN111488399A true CN111488399A (en) 2020-08-04

Family

ID=71798070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010374536.5A Pending CN111488399A (en) 2020-05-06 2020-05-06 Block chain system, transaction processing method and device

Country Status (1)

Country Link
CN (1) CN111488399A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339939A (en) * 2016-08-26 2017-01-18 南京喜玛拉云信息技术有限公司 Tamper-proofing distributed bill system based on safety hardware and transaction processing method
CN107403372A (en) * 2017-07-31 2017-11-28 北京欣欣苹果网络科技有限公司 Internet finance data processing platform
CN108090034A (en) * 2017-12-29 2018-05-29 政采云有限公司 Document code Unified coding generation method and system based on cluster
CN108805507A (en) * 2018-06-14 2018-11-13 柯鸿森 A kind of implementation method and device of electronic bill of lading
WO2018233171A1 (en) * 2017-06-23 2018-12-27 平安科技(深圳)有限公司 Method and apparatus for entering document information, computer device and storage medium
WO2019032113A1 (en) * 2017-08-10 2019-02-14 Visa International Service Association Biometric verification process using certification token
CN109710903A (en) * 2018-08-20 2019-05-03 平安普惠企业管理有限公司 Management method, device, equipment and the storage medium of document
EP3531362A1 (en) * 2018-02-22 2019-08-28 Banco Bilbao Vizcaya Argentaria, S.A. Method for validating a voucher
CN110443701A (en) * 2019-06-19 2019-11-12 远光软件股份有限公司 The logical card management method of one kind, supply chain financial system and electronic equipment
CN110659258A (en) * 2019-09-06 2020-01-07 平安普惠企业管理有限公司 Document generation method, system, computer device and computer readable storage medium
CN110930151A (en) * 2019-11-29 2020-03-27 中国工商银行股份有限公司 Transaction processing method and device based on block chain, computing equipment and medium
CN110942382A (en) * 2019-10-15 2020-03-31 平安科技(深圳)有限公司 Electronic contract generating method and device, computer equipment and storage medium
CN111080435A (en) * 2019-12-02 2020-04-28 湖南大学 Method for performing import approval based on block chain and computer readable storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339939A (en) * 2016-08-26 2017-01-18 南京喜玛拉云信息技术有限公司 Tamper-proofing distributed bill system based on safety hardware and transaction processing method
WO2018233171A1 (en) * 2017-06-23 2018-12-27 平安科技(深圳)有限公司 Method and apparatus for entering document information, computer device and storage medium
CN107403372A (en) * 2017-07-31 2017-11-28 北京欣欣苹果网络科技有限公司 Internet finance data processing platform
WO2019032113A1 (en) * 2017-08-10 2019-02-14 Visa International Service Association Biometric verification process using certification token
CN108090034A (en) * 2017-12-29 2018-05-29 政采云有限公司 Document code Unified coding generation method and system based on cluster
EP3531362A1 (en) * 2018-02-22 2019-08-28 Banco Bilbao Vizcaya Argentaria, S.A. Method for validating a voucher
CN108805507A (en) * 2018-06-14 2018-11-13 柯鸿森 A kind of implementation method and device of electronic bill of lading
CN109710903A (en) * 2018-08-20 2019-05-03 平安普惠企业管理有限公司 Management method, device, equipment and the storage medium of document
CN110443701A (en) * 2019-06-19 2019-11-12 远光软件股份有限公司 The logical card management method of one kind, supply chain financial system and electronic equipment
CN110659258A (en) * 2019-09-06 2020-01-07 平安普惠企业管理有限公司 Document generation method, system, computer device and computer readable storage medium
CN110942382A (en) * 2019-10-15 2020-03-31 平安科技(深圳)有限公司 Electronic contract generating method and device, computer equipment and storage medium
CN110930151A (en) * 2019-11-29 2020-03-27 中国工商银行股份有限公司 Transaction processing method and device based on block chain, computing equipment and medium
CN111080435A (en) * 2019-12-02 2020-04-28 湖南大学 Method for performing import approval based on block chain and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JINAN FIAIDHI等: ""EDI with Blockchain as an Enabler for Extreme Automation"", 《IT PROFESSIONAL》 *
邢虎松等: ""区块链技术在提单电子化领域的应用研究"", 《生产力研究》 *

Similar Documents

Publication Publication Date Title
EP3591510A1 (en) Method and device for writing service data in block chain system
CN110956275B (en) Risk prediction and risk prediction model training method and device and electronic equipment
CN113079200A (en) Data processing method, device and system
CN111340631A (en) Asset transfer method, device, equipment and system
CN110990820B (en) Tax disk authorization method and device, electronic equipment and storage medium
CN108599973B (en) Log association method, device and equipment
CN112529694B (en) Credit granting processing method, device, equipment and system
CN112232795A (en) Transaction processing method, device, equipment and system
CN110781192B (en) Verification method, device and equipment of block chain data
CN113222667B (en) Equity sharing processing method and device
CN110032568B (en) Data structure reading and updating method and device, and electronic equipment
CN110992040A (en) Transaction processing method, device and equipment
CN112560110A (en) Signing method and device of authorization protocol, electronic equipment and storage medium
CN114745133A (en) Method and device for identifying uniqueness of equipment
CN105187399A (en) Resource processing method and device
CN111310137B (en) Block chain associated data evidence storing method and device and electronic equipment
CN110992039B (en) Transaction processing method, device and equipment
CN112286968A (en) Service identification method, equipment, medium and electronic equipment
CN111488399A (en) Block chain system, transaction processing method and device
CN108710658B (en) Data record storage method and device
CN115758141A (en) Method and device for model training and business wind control
CN112434347A (en) Rental business processing method, device, equipment and system
CN111444483A (en) Authentication method, device and equipment
CN110704134A (en) Method and device for performing function expansion on block chain
CN110648123A (en) Digital asset construction method and device and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200804