[go: up one dir, main page]

CN115357548B - Block chain-based electronic contract query method, device, equipment and medium - Google Patents

Block chain-based electronic contract query method, device, equipment and medium Download PDF

Info

Publication number
CN115357548B
CN115357548B CN202211282978.2A CN202211282978A CN115357548B CN 115357548 B CN115357548 B CN 115357548B CN 202211282978 A CN202211282978 A CN 202211282978A CN 115357548 B CN115357548 B CN 115357548B
Authority
CN
China
Prior art keywords
contract
hash value
query
file
list
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.)
Active
Application number
CN202211282978.2A
Other languages
Chinese (zh)
Other versions
CN115357548A (en
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.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 China Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN202211282978.2A priority Critical patent/CN115357548B/en
Publication of CN115357548A publication Critical patent/CN115357548A/en
Application granted granted Critical
Publication of CN115357548B publication Critical patent/CN115357548B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • G06F16/137Hash-based
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Library & Information Science (AREA)
  • Health & Medical Sciences (AREA)
  • Technology Law (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the disclosure discloses an electronic contract query method, device, equipment and medium based on a block chain, wherein the method comprises the following steps: and when the contract information identifier does not belong to a preset first query forbidding list, the query client identifier does not belong to a preset second query forbidding list, the contract information identifier belongs to a preset contract information identifier storage list, and the contract information has a contract file hash value identical to the target hash value, acquiring the target contract file from the block chain based on the contract file identifier corresponding to the contract file hash value identical to the target hash value. Therefore, the contract files corresponding to each signing stage in the signing process of the electronic contract can be inquired, whether the contract files can be inquired or not can be determined according to the contract information identification and the inquiry client identification, and the safety of the contract files is effectively improved.

Description

基于区块链的电子合同查询方法、装置、设备和介质Blockchain-based electronic contract query method, device, equipment and medium

技术领域technical field

本公开涉及区块链技术、合同查询技术,尤其是一种基于区块链的电子合同查询方法、装置、设备和介质。The present disclosure relates to blockchain technology and contract query technology, in particular to a blockchain-based electronic contract query method, device, equipment and medium.

背景技术Background technique

随着区块链技术的不断发展,基于区块链技术,链上签署和存储电子合同的技术也被越来越多的应用。现有技术中,往往可以通过电子合同的标识或合同编号等查询到最终版本的电子合同,无法对电子合同签约流程中签约阶段对应的中间电子合同文件进行查询。With the continuous development of blockchain technology, based on blockchain technology, the technology of signing and storing electronic contracts on the chain is also being more and more applied. In the prior art, it is often possible to query the final version of the electronic contract through the identification or contract number of the electronic contract, but it is impossible to query the intermediate electronic contract documents corresponding to the signing stage in the electronic contract signing process.

发明内容Contents of the invention

本公开实施例提供一种基于区块链的电子合同查询方法、装置、设备和介质,以解决现有技术中不能查询电子合同签约流程中签约阶段对应的合同文件的问题。Embodiments of the present disclosure provide a blockchain-based electronic contract query method, device, device, and medium to solve the problem in the prior art that the contract documents corresponding to the signing stage in the electronic contract signing process cannot be queried.

本公开实施例的一个方面,提供了一种基于区块链的电子合同查询方法,包括:查询终端接收查询客户端发送的电子合同查询请求,其中,所述电子合同查询请求包括:查询客户端标识、合同信息标识和目标哈希值;响应于确定所述合同信息标识不属于预设第一禁止查询列表,且所述查询客户端标识不属于预设第二禁止查询列表,确定所述合同信息标识是否属于预设合同信息标识存储列表;响应于所述合同信息标识属于所述预设合同信息标识存储列表,获取所述合同信息标识所标识的合同信息,其中,所述合同信息包括:至少一个合同文件哈希值和与所述至少一个合同文件哈希值中各合同文件哈希值分别对应的合同文件标识;确定所述合同信息中是否存在与所述目标哈希值相同的合同文件哈希值;响应于所述合同信息中存在与所述目标哈希值相同的合同文件哈希值,基于与所述目标哈希值相同的合同文件哈希值对应的合同文件标识,从区块链中获取目标合同文件;将所述目标合同文件反馈所述查询客户端。An aspect of the embodiments of the present disclosure provides a blockchain-based electronic contract query method, including: a query terminal receiving an electronic contract query request sent by a query client, wherein the electronic contract query request includes: a query client ID, contract information ID, and target hash value; in response to determining that the contract information ID does not belong to a preset first prohibited query list, and that the querying client ID does not belong to a preset second prohibited query list, determine that the contract Whether the information identifier belongs to the preset contract information identifier storage list; in response to the contract information identifier belonging to the preset contract information identifier storage list, acquire the contract information identified by the contract information identifier, wherein the contract information includes: At least one contract file hash value and contract file identifiers respectively corresponding to each contract file hash value in the at least one contract file hash value; determine whether there is a contract with the same target hash value in the contract information File hash value; in response to the existence of a contract file hash value identical to the target hash value in the contract information, based on the contract file identifier corresponding to the contract file hash value identical to the target hash value, from Acquiring the target contract file from the block chain; feeding the target contract file back to the query client.

可选地,在本公开上述任一实施例的方法中,所述合同信息还包括:合同状态;所述方法还包括:确定所述合同状态是否为签约完成状态;响应于所述合同状态为签约完成状态,执行所述确定所述合同信息中是否存在与所述目标哈希值相同的合同文件哈希值的操作。Optionally, in the method of any of the above-mentioned embodiments of the present disclosure, the contract information further includes: a contract status; the method further includes: determining whether the contract status is a contract completion status; in response to the contract status being Signing completion state, performing the operation of determining whether there is a contract file hash value identical to the target hash value in the contract information.

可选地,在本公开上述任一实施例的方法中,所述合同信息包括:所述至少一个合同文件哈希值中各合同文件哈希值分别对应的生成时间;所述方法还包括:响应于所述合同信息中不存在与所述目标哈希值相同的合同文件哈希值,将与当前时间最接近的生成时间所对应的合同文件哈希值确定为目标合同文件哈希值;基于与所述目标合同文件哈希值对应的合同文件标识,从所述区块链中获取所述目标合同文件。Optionally, in the method of any one of the above-mentioned embodiments of the present disclosure, the contract information includes: the generation time corresponding to each contract file hash value in the at least one contract file hash value; the method further includes: In response to the fact that there is no contract file hash value identical to the target hash value in the contract information, determine the contract file hash value corresponding to the generation time closest to the current time as the target contract file hash value; Based on the contract file identifier corresponding to the hash value of the target contract file, the target contract file is acquired from the block chain.

可选地,在本公开上述任一实施例的方法中,所述方法还包括:所述查询终端将待加入所述预设第一禁止查询列表的合同信息标识确定为新增合同信息标识;响应于所述预设第一禁止查询列表中不包含所述新增合同信息标识,且所述预设合同信息标识存储列表包含所述新增合同信息标识,将所述新增合同信息标识加入至所述预设第一禁止查询列表。Optionally, in the method of any one of the above-mentioned embodiments of the present disclosure, the method further includes: the query terminal determining the contract information identifier to be added to the preset first prohibited query list as a new contract information identifier; Responding to the fact that the new contract information identifier is not included in the preset first forbidden query list, and the preset contract information identifier storage list includes the new contract information identifier, adding the new contract information identifier to to the preset first prohibited query list.

可选地,在本公开上述任一实施例的方法中,所述方法还包括:Optionally, in the method of any one of the above-mentioned embodiments of the present disclosure, the method further includes:

所述查询终端接收所述查询客户端发送的合同文件列表查询请求,其中,所述合同文件列表查询请求包括:合同文件列表标识;The query terminal receives the contract file list query request sent by the query client, wherein the contract file list query request includes: a contract file list identifier;

确定所述合同文件列表标识是否属于所述预设第一禁止查询列表;Determine whether the contract file list identifier belongs to the preset first prohibited query list;

响应于所述合同文件列表标识不属于所述预设第一禁止查询列表,基于所述合同文件列表标识,从所述区块链中获取所述合同文件列表标识所标识的合同文件列表;Responding to the fact that the contract document list identifier does not belong to the preset first prohibited query list, based on the contract document list identifier, the contract document list identified by the contract document list identifier is obtained from the block chain;

将所述合同文件列表标识所标识的合同文件列表反馈所述查询客户端。The contract file list identified by the contract file list identifier is fed back to the query client.

本公开实施例的一个方面,提供了一种基于区块链的电子合同查询装置,包括:第一接收模块,用于查询终端接收查询客户端发送的电子合同查询请求,其中,所述电子合同查询请求包括:查询客户端标识、合同信息标识和目标哈希值;第一确定模块,用于响应于确定所述合同信息标识不属于预设第一禁止查询列表,且所述查询客户端标识不属于预设第二禁止查询列表,确定所述合同信息标识是否属于预设合同信息标识存储列表;第一获取模块,用于响应于所述合同信息标识属于所述预设合同信息标识存储列表,获取所述合同信息标识所标识的合同信息,其中,所述合同信息包括:至少一个合同文件哈希值和与所述至少一个合同文件哈希值中各合同文件哈希值分别对应的合同文件标识;第二确定模块,用于确定所述合同信息中是否存在与所述目标哈希值相同的合同文件哈希值;第二获取模块,用于响应于所述合同信息中存在与所述目标哈希值相同的合同文件哈希值,基于与所述目标哈希值相同的合同文件哈希值对应的合同文件标识,从区块链中获取目标合同文件;第一反馈模块,用于将所述目标合同文件反馈所述查询客户端。An aspect of the embodiments of the present disclosure provides a block chain-based electronic contract query device, including: a first receiving module, used for the query terminal to receive the electronic contract query request sent by the query client, wherein the electronic contract The query request includes: a query client ID, a contract information ID, and a target hash value; a first determination module, configured to respond to determining that the contract information ID does not belong to a preset first prohibited query list, and the query client ID does not belong to the preset second prohibition query list, and determines whether the contract information identifier belongs to the preset contract information identifier storage list; the first acquisition module is configured to respond to the contract information identifier belonging to the preset contract information identifier storage list , to obtain the contract information identified by the contract information identifier, wherein the contract information includes: at least one hash value of a contract file and contracts respectively corresponding to the hash values of each contract file in the at least one hash value of a contract file File identification; a second determination module, configured to determine whether there is a contract file hash value identical to the target hash value in the contract information; a second acquisition module, configured to respond to the presence of the target hash value in the contract information The hash value of the contract file with the same target hash value, based on the contract file identification corresponding to the contract file hash value with the same target hash value, obtain the target contract file from the block chain; the first feedback module uses Then feed back the target contract file to the query client.

可选地,在本公开上述任一实施例的装置中,所述合同信息还包括:合同状态;所述装置还包括:第三确定模块,用于确定所述合同状态是否为签约完成状态;执行模块,用于响应于所述合同状态为签约完成状态,执行所述确定所述合同信息中是否存在与所述目标哈希值相同的合同文件哈希值的操作。Optionally, in the device in any of the above-mentioned embodiments of the present disclosure, the contract information further includes: a contract status; the device further includes: a third determination module, configured to determine whether the contract status is a contract completion status; An executing module, configured to execute the operation of determining whether there is a contract file hash value identical to the target hash value in the contract information in response to the contract status being the contract completion status.

可选地,在本公开上述任一实施例的装置中,所述合同信息包括:所述至少一个合同文件哈希值中各合同文件哈希值分别对应的生成时间;所述装置还包括:第四确定模块,用于响应于所述合同信息中不存在与所述目标哈希值相同的合同文件哈希值,将与当前时间最接近的生成时间所对应的合同文件哈希值确定为目标合同文件哈希值;第三获取模块,用于基于与所述目标合同文件哈希值对应的合同文件标识,从所述区块链中获取所述目标合同文件。Optionally, in the device of any one of the above-mentioned embodiments of the present disclosure, the contract information includes: the generation time corresponding to each contract file hash value in the at least one contract file hash value; the device further includes: The fourth determination module is configured to determine the contract file hash value corresponding to the generation time closest to the current time as Hash value of the target contract file; a third acquiring module, configured to acquire the target contract file from the block chain based on the contract file identifier corresponding to the hash value of the target contract file.

本公开实施例的一个方面,提供了一种电子设备,包括:存储器,用于存储计算机程序;处理器,用于执行所述存储器中存储的计算机程序,且所述计算机程序被执行时,实现上述所述的方法。An aspect of an embodiment of the present disclosure provides an electronic device, including: a memory for storing a computer program; a processor for executing the computer program stored in the memory, and when the computer program is executed, the method described above.

本公开实施例的一个方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时,实现上述任一所述的方法。An aspect of the embodiments of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned methods is implemented.

本公开实施例提供了一种基于区块链的电子合同查询方法、装置、设备和介质,当合同信息标识不属于预设第一禁止查询列表,查询客户端标识不属于预设第二禁止查询列表,合同信息标识属于预设合同信息标识存储列表,且合同信息中存在与目标哈希值相同的合同文件哈希值时,基于与目标哈希值相同的合同文件哈希值对应的合同文件标识,从区块链中获取目标合同文件。由此,本公开实施例不仅实现了可以对电子合同的签约流程中各签约阶段对应的合同文件进行查询,而且还实现了可以根据合同信息标识以及查询客户端标识,确定是否可以查询合同文件,有效的提高了合同文件的安全性。Embodiments of the present disclosure provide a blockchain-based electronic contract query method, device, device, and medium. When the contract information identifier does not belong to the preset first prohibited query list, the query client ID does not belong to the preset second prohibited query list. list, when the contract information identifier belongs to the preset contract information identifier storage list, and there is a contract file hash value that is the same as the target hash value in the contract information, the contract file corresponding to the contract file hash value that is the same as the target hash value ID, get the target contract file from the blockchain. Thus, the embodiments of the present disclosure not only realize the possibility of querying the contract documents corresponding to each signing stage in the signing process of the electronic contract, but also realize the possibility of determining whether the contract documents can be queried according to the contract information identifier and the query client identifier. Effectively improve the security of contract documents.

下面通过附图和实施例,对本公开的技术方案做进一步的详细描述。The technical solution of the present disclosure will be described in further detail below with reference to the drawings and embodiments.

附图说明Description of drawings

构成说明书的一部分的附图描述了本公开的实施例,并且连同描述一起用于解释本公开的原理。The accompanying drawings, which constitute a part of this specification, illustrate embodiments of the disclosure and, together with the description, serve to explain principles of the disclosure.

参照附图,根据下面的详细描述,可以更加清楚地理解本公开,其中:The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

图1是本公开一示例性实施例提供的基于区块链的电子合同查询方法的流程示意图;FIG. 1 is a schematic flow diagram of a blockchain-based electronic contract query method provided by an exemplary embodiment of the present disclosure;

图2是本公开另一示例性实施例提供的基于区块链的电子合同查询方法的流程示意图;FIG. 2 is a schematic flowchart of a blockchain-based electronic contract query method provided by another exemplary embodiment of the present disclosure;

图3是本公开另一示例性实施例提供的基于区块链的电子合同查询方法的流程示意图;FIG. 3 is a schematic flow diagram of a blockchain-based electronic contract query method provided by another exemplary embodiment of the present disclosure;

图4是本公开另一示例性实施例提供的基于区块链的电子合同查询方法的流程示意图;4 is a schematic flow diagram of a blockchain-based electronic contract query method provided by another exemplary embodiment of the present disclosure;

图5是本公开另一示例性实施例提供的基于区块链的电子合同查询方法的流程示意图;5 is a schematic flow diagram of a blockchain-based electronic contract query method provided by another exemplary embodiment of the present disclosure;

图6是本公开一示例性实施例提供的基于区块链的电子合同查询装置的结构示意图;Fig. 6 is a schematic structural diagram of a blockchain-based electronic contract query device provided by an exemplary embodiment of the present disclosure;

图7是本公开一示例性实施例提供的电子设备的结构图。Fig. 7 is a structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure.

具体实施方式Detailed ways

现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

本领域技术人员可以理解,本公开实施例中的“第一”、“第二”等术语仅用于区别不同步骤、设备或模块等,既不代表任何特定技术含义,也不表示它们之间的必然逻辑顺序。Those skilled in the art can understand that terms such as "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc. necessary logical sequence.

还应理解,在本公开实施例中,“多个”可以指两个或两个以上,“至少一个”可以指一个、两个或两个以上。It should also be understood that in the embodiments of the present disclosure, "plurality" may refer to two or more than two, and "at least one" may refer to one, two or more than two.

还应理解,对于本公开实施例中提及的任一部件、数据或结构,在没有明确限定或者在前后文给出相反启示的情况下,一般可以理解为一个或多个。It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more unless there is a clear limitation or a contrary suggestion is given in the context.

另外,本公开中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本公开中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" in the present disclosure is only an association relationship describing associated objects, indicating that there may be three relationships, for example, A and/or B may indicate: A exists alone, and A and B exist simultaneously , there are three cases of B alone. In addition, the character "/" in the present disclosure generally indicates that the contextual objects are an "or" relationship.

还应理解,本公开对各个实施例的描述着重强调各个实施例之间的不同之处,其相同或相似之处可以相互参考,为了简洁,不再一一赘述。It should also be understood that the description of the various embodiments in the present disclosure emphasizes the differences between the various embodiments, and the same or similar points can be referred to each other, and for the sake of brevity, details are not repeated here.

同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。At the same time, it should be understood that, for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and in no way intended as any limitation of the disclosure, its application or uses.

对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters denote like items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.

本公开实施例可以应用于终端设备、计算机系统、服务器等电子设备,其可与众多其它通用或专用计算系统环境或配置一起操作。适于与终端设备、计算机系统、服务器等电子设备一起使用的众所周知的终端设备、计算系统、环境和/或配置的例子包括但不限于:个人计算机系统、服务器计算机系统、瘦客户机、厚客户机、手持或膝上设备、基于微处理器的系统、机顶盒、可编程消费电子产品、网络个人电脑、小型计算机系统﹑大型计算机系统和包括上述任何系统的分布式云计算技术环境,等等。Embodiments of the present disclosure may be applied to electronic devices such as terminal devices, computer systems, servers, etc., which may operate with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments and/or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick client Computers, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, networked personal computers, minicomputer systems, mainframe computer systems, and distributed cloud computing technology environments including any of the foregoing, etc.

终端设备、计算机系统、服务器等电子设备可以在由计算机系统执行的计算机系统可执行指令(诸如程序模块)的一般语境下描述。通常,程序模块可以包括例程、程序、目标程序、组件、逻辑、数据结构等等,它们执行特定的任务或者实现特定的抽象数据类型。计算机系统/服务器可以在分布式云计算环境中实施,分布式云计算环境中,任务是由通过通信网络链接的远程处理设备执行的。在分布式云计算环境中,程序模块可以位于包括存储设备的本地或远程计算系统存储介质上。Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by the computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server can be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including storage devices.

图1示出本公开实施例中基于区块链的电子合同查询方法的流程示意图。本实施例可应用在电子设备上,如图1所示,本实施例的基于区块链的电子合同查询方法包括如下步骤:Fig. 1 shows a schematic flowchart of a blockchain-based electronic contract query method in an embodiment of the present disclosure. This embodiment can be applied to electronic equipment, as shown in Figure 1, the blockchain-based electronic contract query method of this embodiment includes the following steps:

步骤S110,查询终端接收查询客户端发送的电子合同查询请求。Step S110, the inquiry terminal receives the electronic contract inquiry request sent by the inquiry client.

其中,该电子合同查询请求包括:查询客户端标识、合同信息标识和目标哈希值。Wherein, the electronic contract query request includes: query client identification, contract information identification and target hash value.

查询终端和查询客户端可为服务器、计算机等,查询终端与查询客户端通信连接,用户通过查询客户端在查询终端中的查询合同文件。查询客户端标识用于唯一标识一个查询客户端,查询客户端标识可以为BID(Blockchain-based Identifier,区块链基础标识符)或DID(Decentralized Identifier,分散式标识符)等。The query terminal and the query client can be servers, computers, etc., and the query terminal is connected to the query client through communication, and the user can query the contract documents in the query terminal through the query client. The query client ID is used to uniquely identify a query client. The query client ID can be BID (Blockchain-based Identifier, blockchain-based identifier) or DID (Decentralized Identifier, decentralized identifier), etc.

合同信息标识用于唯一标识一个合同信息,合同信息标识可以为BID或DID等。每一合同信息对应一电子合同,合同信息包括电子合同的所有相关信息和电子合同的签约流程中各签约阶段对应的合同文件的所有信息;例如,合同信息可以包括:各签约阶段对应的合同文件的编号、电子合同的各签约方信息、电子合同的签约日期等。The contract information identifier is used to uniquely identify a contract information, and the contract information identifier can be BID or DID. Each contract information corresponds to an electronic contract, and the contract information includes all relevant information of the electronic contract and all information of the contract documents corresponding to each signing stage in the signing process of the electronic contract; for example, the contract information may include: the contract documents corresponding to each signing stage The serial number of the electronic contract, the information of each signatory to the electronic contract, the signing date of the electronic contract, etc.

在一种实现方式中,查询终端可以预先创建哈希值查询表,该哈希值查询表包括各合同文件哈希值和每一合同文件哈希值对应的签约阶段。用户可以通过查询客户端在签约终端的哈希值查询表中查询其所需要签约阶段对应的合同文件的合同文件哈希值,并将该合同文件哈希值确定为目标哈希值。其中,可以通过对合同文件的摘要进行哈希计算,得到该合同文件的哈希值,将合同文件的哈希值称为该合同文件的合同文件哈希值,合同文件哈希值用于表示合同文件的特征或指纹。In an implementation manner, the query terminal may create a hash value lookup table in advance, and the hash value lookup table includes the hash values of each contract file and the signing stage corresponding to each contract file hash value. The user can query the contract file hash value of the contract file corresponding to the contract stage required by the query client in the hash value query table of the contract terminal, and determine the contract file hash value as the target hash value. Among them, the hash value of the contract file can be obtained by performing hash calculation on the abstract of the contract file, and the hash value of the contract file is called the contract file hash value of the contract file, and the contract file hash value is used to represent A characteristic or fingerprint of a contract document.

步骤S120,响应于确定合同信息标识不属于预设第一禁止查询列表,且查询客户端标识不属于预设第二禁止查询列表,确定合同信息标识是否属于预设合同信息标识存储列表。Step S120, in response to determining that the contract information identifier does not belong to the first preset prohibited query list and the query client identifier does not belong to the preset second prohibited query list, determine whether the contract information identifier belongs to the preset contract information identifier storage list.

其中,在查询终端,预设第一禁止查询列表包括多个合同信息标识,当预设第一禁止查询列表中存在与电子合同查询请求中的合同信息标识相同的合同信息标识时,可以确定电子合同查询请求中的合同信息标识属于预设第一禁止查询列表,否则,可以确定电子合同查询请求中的合同信息标识不属于预设第一禁止查询列表。Wherein, at the query terminal, the preset first prohibition query list includes multiple contract information identifiers, and when there is a contract information identifier identical to the contract information identifier in the electronic contract query request in the preset first prohibition query list, it can be determined that the electronic contract information identifier is the same as that in the electronic contract query request. The contract information identifier in the contract query request belongs to the preset first prohibited query list; otherwise, it can be determined that the contract information identifier in the electronic contract query request does not belong to the preset first prohibited query list.

预设第二禁止查询列表包括多个查询客户端标识,当预设第二禁止查询列表中存在与电子合同查询请求中的查询客户端标识相同的查询客户端标识时,可以确定电子合同查询请求中的查询客户端标识属于预设第二禁止查询列表,否则,可以确定电子合同查询请求中的查询客户端标识不属于预设第二禁止查询列表。The preset second prohibited query list includes a plurality of query client IDs, and when the same query client ID as the query client ID in the electronic contract query request exists in the preset second prohibited query list, the electronic contract query request can be determined The inquiring client identifier in the query request belongs to the preset second prohibited query list; otherwise, it can be determined that the query client identifier in the electronic contract query request does not belong to the preset second prohibited query list.

预设合同信息标识存储列表包括多个合同信息标识,当预设合同信息标识存储列表中存在与电子合同查询请求中的合同信息标识相同的合同信息标识时,可以确定电子合同查询请求中的合同信息标识属于预设合同信息标识存储列表,否则,可以确定电子合同查询请求中的合同信息标识不属于预设合同信息标识存储列表。The preset contract information identifier storage list includes a plurality of contract information identifiers, and when the same contract information identifier as the contract information identifier in the electronic contract query request exists in the preset contract information identifier storage list, the contract in the electronic contract query request can be determined The information identifier belongs to the preset contract information identifier storage list; otherwise, it can be determined that the contract information identifier in the electronic contract query request does not belong to the preset contract information identifier storage list.

在一种实现方式中,响应于确定合同信息标识属于预设第一禁止查询列表,和/或,查询客户端标识属于预设第二禁止查询列表,查询终端结束查询流程并向查询客户端发送查询失败消息。In one implementation, in response to determining that the contract information identifier belongs to the preset first prohibited query list, and/or the query client identifier belongs to the preset second prohibited query list, the query terminal ends the query process and sends a query message to the query client Query failure message.

步骤S130,响应于合同信息标识属于预设合同信息标识存储列表,获取合同信息标识所标识的合同信息。Step S130, in response to the contract information identifier belonging to the preset contract information identifier storage list, acquire the contract information identified by the contract information identifier.

其中,在查询终端,该合同信息包括:至少一个合同文件哈希值和与至少一个合同文件哈希值中各合同文件哈希值分别对应的合同文件标识。合同文件可以为电子合同的签约流程中签约阶段生成的过程合同文件。合同信息标识可以包括合同信息标识所标识的合同信息的存储地址,可以通过合同信息标识中包括的存储地址获取合同信息标识所标识的合同信息。合同文件标识用于唯一标识一个合同文件,合同文件标识可以包括合同文件标识所标识的合同文件的存储地址。合同文件标识可以为BID或DID等。Wherein, at the query terminal, the contract information includes: at least one contract file hash value and contract file identifiers respectively corresponding to each contract file hash value in the at least one contract file hash value. The contract document may be a process contract document generated at the signing stage in the signing process of the electronic contract. The contract information identifier may include a storage address of the contract information identified by the contract information identifier, and the contract information identified by the contract information identifier may be acquired through the storage address included in the contract information identifier. The contract document identifier is used to uniquely identify a contract document, and the contract document identifier may include a storage address of the contract document identified by the contract document identifier. The contract document identifier can be BID or DID, etc.

在一种实现方式中,响应于合同信息标识不属于预设合同信息标识存储列表,查询终端向查询客户端发送查询失败消息。In an implementation manner, in response to the contract information identifier not belonging to the preset storage list of contract information identifiers, the query terminal sends a query failure message to the query client.

示例性的,企业A和企业B进行电子合同签约,电子合同的签约流程可以包括三个签约阶段,分别为:初始阶段、签名阶段、完成阶段;第一签约方(企业A)可以向签约系统(签约系统与查询终端通信连接)上传合同模板,签约系统将企业A和企业B的企业信息添加到合同模板,生成初始合同,初始合同为初始阶段对应的合同文件,当企业A和企业B对初始合同完成签名后,得到待验证合同,待验证合同为签名阶段对应的合同文件,对待验证合同的签名进行验证,当验证通过,则生成电子合同,电子合同为完成阶段对应的合同文件。可以通过对各签约阶段对应的合同文件进行哈希计算,得到各签约阶段对应的合同文件的合同文件哈希值,同时还可以生成各签约阶段的合同文件的合同文件标识,将各签约阶段的合同文件哈希值和合同文件标识记录在合同信息中。Exemplarily, enterprise A and enterprise B sign an electronic contract, and the electronic contract signing process may include three signing stages, namely: the initial stage, the signature stage, and the completion stage; (Communication connection between the signing system and the query terminal) Upload the contract template, the signing system will add the enterprise information of enterprise A and enterprise B to the contract template, generate an initial contract, the initial contract is the contract document corresponding to the initial stage, when enterprise A and enterprise B After the initial contract is signed, the contract to be verified is obtained. The contract to be verified is the contract document corresponding to the signature stage. The signature of the contract to be verified is verified. When the verification is passed, an electronic contract is generated, and the electronic contract is the contract document corresponding to the completion stage. By performing hash calculation on the contract files corresponding to each signing stage, the contract file hash value of the contract file corresponding to each signing stage can be obtained, and at the same time, the contract file identifier of the contract file at each signing stage can be generated, and the contract files of each signing stage The contract file hash value and contract file ID are recorded in the contract information.

步骤S140,确定合同信息中是否存在与目标哈希值相同的合同文件哈希值。Step S140, determining whether there is a contract file hash value identical to the target hash value in the contract information.

其中,查询终端,将合同信息中合同文件哈希值与目标哈希值比较,确定合同信息中是否存在与目标哈希值相同的合同文件哈希值。Wherein, querying the terminal compares the hash value of the contract file in the contract information with the target hash value, and determines whether there is a contract file hash value identical to the target hash value in the contract information.

步骤S150,响应于合同信息中存在与目标哈希值相同的合同文件哈希值,基于与目标哈希值相同的合同文件哈希值对应的合同文件标识,从区块链中获取目标合同文件。Step S150, in response to the existence of a contract file hash value identical to the target hash value in the contract information, the target contract file is obtained from the blockchain based on the contract file identification corresponding to the contract file hash value identical to the target hash value .

其中, 同一合同文件的合同文件哈希值与合同文件标识相互对应。目标合同文件为与目标哈希值相同的合同文件哈希值对应的合同文件标识所标识的合同文件。Wherein, the contract file hash value and the contract file identifier of the same contract file correspond to each other. The target contract file is the contract file identified by the contract file identifier corresponding to the contract file hash value identical to the target hash value.

区块链(Block Chain)是一种按照时间顺序将数据区块以顺序相连的方式组合成的一种链式数据结构,并以密码学方式保证数据不可篡改和不可伪造的分布式账本。可以基于合同文件标识中包括的合同文件的存储地址,在区块链上获取与目标哈希值相同的合同文件哈希值对应的合同文件标识所标识的合同文件,并将该合同文件确定为目标合同文件。Blockchain (Block Chain) is a chained data structure that combines data blocks in a sequential manner in chronological order, and cryptographically ensures that data cannot be tampered with and cannot be forged. Distributed ledgers. Based on the storage address of the contract file included in the contract file identifier, the contract file identified by the contract file identifier corresponding to the contract file hash value that is the same as the target hash value can be obtained on the blockchain, and the contract file is determined as target contract document.

步骤S160,将目标合同文件反馈查询客户端。Step S160, feeding back the target contract file to the query client.

其中,查询终端将目标合同文件发送查询客户端。Wherein, the query terminal sends the target contract file to the query client.

本公开实施例中,当合同信息标识不属于预设第一禁止查询列表,查询客户端标识不属于预设第二禁止查询列表,合同信息标识属于预设合同信息标识存储列表,且合同信息中存在与目标哈希值相同的合同文件哈希值时,基于与目标哈希值相同的合同文件哈希值对应的合同文件标识,从区块链中获取目标合同文件。由此,不仅实现了可以对电子合同的签约流程中各签约阶段对应的合同文件进行查询,而且还实现了可以根据合同信息标识以及查询客户端标识,确定是否可以查询合同文件,有效的提高了合同文件的安全性。In the embodiment of the present disclosure, when the contract information identifier does not belong to the preset first forbidden query list, the query client identifier does not belong to the preset second forbidden query list, the contract information identifier belongs to the preset contract information identifier storage list, and the contract information When there is a contract file hash value identical to the target hash value, the target contract file is obtained from the blockchain based on the contract file identifier corresponding to the contract file hash value identical to the target hash value. As a result, it is not only realized that the contract documents corresponding to each signing stage in the electronic contract signing process can be queried, but also it can be determined whether the contract documents can be queried according to the contract information identification and the query client identification, which effectively improves the Security of Contract Documents.

在一个可选实施例中,本公开实施例的合同信息还包括:合同状态;如图2所示,本公开实施例的基于区块链的电子合同查询方法还包括如下步骤:In an optional embodiment, the contract information in the disclosed embodiment also includes: contract status; as shown in Figure 2, the blockchain-based electronic contract query method in the disclosed embodiment also includes the following steps:

步骤S210,确定合同状态是否为签约完成状态。Step S210, determine whether the contract status is the contract completion status.

其中,在查询终端,合同状态用于电子合同的签约流程是否完成。例如,合同状态可以包括:签约中状态和签约完成状态。签约完成状态用于表示电子合同的签约流程已完成,约中状态用于表示电子合同的签约流程进行中。Among them, at the query terminal, the contract status is used to determine whether the signing process of the electronic contract is completed. For example, the contract status may include: a contracting status and a contracting status. The signing completion state is used to indicate that the signing process of the electronic contract has been completed, and the signing state is used to indicate that the signing process of the electronic contract is in progress.

步骤S220,响应于合同状态为签约完成状态,执行确定合同信息中是否存在与目标哈希值相同的合同文件哈希值的操作。Step S220, in response to the fact that the contract status is the contract completion status, perform an operation of determining whether there is a contract file hash value identical to the target hash value in the contract information.

其中,在查询终端,当合同状态为签约完成状态时,执行步骤S140以及步骤S140之后的的操作。Wherein, at the inquiry terminal, when the contract status is the contract completion status, step S140 and the operations after step S140 are performed.

在一个可选实施例中,本公开实施例的合同信息包括:至少一个合同文件哈希值中各合同文件哈希值分别对应的生成时间;如图3所示,本公开实施例的基于区块链的电子合同查询方法还包括如下步骤:In an optional embodiment, the contract information in the embodiment of the present disclosure includes: the generation time corresponding to each contract file hash value in at least one contract file hash value; as shown in FIG. 3 , the zone-based The electronic contract query method of the block chain also includes the following steps:

步骤S310,响应于合同信息中不存在与目标哈希值相同的合同文件哈希值,将与当前时间最接近的生成时间所对应的合同文件哈希值确定为目标合同文件哈希值。Step S310, in response to there is no contract file hash value identical to the target hash value in the contract information, determine the contract file hash value corresponding to the generation time closest to the current time as the target contract file hash value.

其中,在查询终端,每一合同文件哈希值对应该合同文件哈希值的生成时间。Wherein, at the query terminal, each contract file hash value corresponds to the generation time of the contract file hash value.

在一种实现方式中,可以将与当前时间的时间间隔最小的生成时间确定为与当前时间最接近的生成时间。例如,当前时间可以为2021年7月15日,生成时间A为2021年7月5日,生成时间B为2021年7月6日,则生成时间B为与当前时间最接近的生成时间,将与生成时间B对应的合同文件哈希值确定为目标合同文件哈希值。In an implementation manner, the generation time with the smallest time interval from the current time may be determined as the generation time closest to the current time. For example, the current time can be July 15, 2021, the generation time A is July 5, 2021, and the generation time B is July 6, 2021, then the generation time B is the closest generation time to the current time, and the The hash value of the contract file corresponding to the generation time B is determined as the hash value of the target contract file.

步骤S320,基于与目标合同文件哈希值对应的合同文件标识,从区块链中获取目标合同文件。Step S320, based on the contract file identifier corresponding to the hash value of the target contract file, the target contract file is obtained from the blockchain.

其中,在查询终端,将目标合同文件哈希值对应的合同文件标识所标识的合同文件确定为目标合同文件。Wherein, at the query terminal, the contract file identified by the contract file identifier corresponding to the hash value of the target contract file is determined as the target contract file.

在一种实现方式中,将目标合同文件哈希值对应的合同文件标识确定为目标合同文件标识,基于目标合同文件标识,在区块链上获取目标合同文件标识所标识的合同文件,并将该合同文件确定为目标合同文件。In one implementation, the contract file identifier corresponding to the hash value of the target contract file is determined as the target contract file identifier, based on the target contract file identifier, the contract file identified by the target contract file identifier is obtained on the blockchain, and the The contract document is determined as the target contract document.

本公开实施例中,当合同信息中不存在与目标哈希值相同的合同文件哈希值时,可以将目标合同文件哈希值对应的合同文件标识所标识的合同文件作为目标合同文件,实现了当无法查询所需签约阶段对应的合同文件时,将签约流程中的最新的合同文件发送查询客户端,有效的提高了用户使用体验。In the embodiment of the present disclosure, when there is no contract file hash value identical to the target hash value in the contract information, the contract file identified by the contract file identifier corresponding to the target contract file hash value can be used as the target contract file to realize When the contract documents corresponding to the required signing stage cannot be queried, the latest contract documents in the signing process are sent to the query client, which effectively improves the user experience.

在一个可选实施例中,如图4所示,本公开实施例的基于区块链的电子合同查询方法还包括如下步骤:In an optional embodiment, as shown in FIG. 4, the blockchain-based electronic contract query method of the embodiment of the present disclosure further includes the following steps:

步骤S410,查询终端将待加入预设第一禁止查询列表的合同信息标识确定为新增合同信息标识。Step S410, the query terminal determines the contract information identifier to be added to the preset first prohibited query list as a newly added contract information identifier.

其中,在查询终端,当需要使任意一个合同信息无法被查询客户端查询时,可以将该合同信息的合同信息标识加入预设第一禁止查询列表中。Wherein, at the query terminal, when it is necessary to prevent any piece of contract information from being queried by the query client, the contract information identifier of the contract information can be added to the preset first prohibited query list.

步骤S420,响应于预设第一禁止查询列表中不包含新增合同信息标识,且预设合同信息标识存储列表包含新增合同信息标识,将新增合同信息标识加入至预设第一禁止查询列表。Step S420, in response to the fact that the new contract information identifier is not included in the preset first prohibited query list, and the preset contract information identifier storage list contains the newly added contract information identifier, adding the newly added contract information identifier to the preset first prohibited query list.

其中,当预设第一禁止查询列表中不包含与新增合同信息标识相同的合同信息标识,且预设合同信息标识存储列表包含与新增合同信息标识相同的合同信息标识时,将新增合同信息标识加入至预设第一禁止查询列表。Wherein, when the preset first prohibited query list does not contain the same contract information identifier as the newly added contract information identifier, and the preset contract information identifier storage list contains the same contract information identifier as the newly added contract information identifier, the new contract information identifier will be added The contract information identifier is added to the preset first prohibited query list.

在一个可选实施例中,如图5所示,本公开实施例的基于区块链的电子合同查询方法还包括如下步骤:In an optional embodiment, as shown in Figure 5, the blockchain-based electronic contract query method of the disclosed embodiment further includes the following steps:

步骤S510,查询终端接收查询客户端发送的合同文件列表查询请求。Step S510, the inquiry terminal receives the contract document list inquiry request sent by the inquiry client.

其中,该合同文件列表查询请求包括:合同文件列表标识。合同文件列表包括多个合同文件哈希值。合同文件列表标识可以为BID或DID等。合同文件列表标识可以包括该合同文件列表标识所标识的合同文件列表的存储地址。Wherein, the contract file list query request includes: a contract file list identifier. The contract file list includes a plurality of contract file hash values. The contract file list identifier can be BID or DID, etc. The contract file list identifier may include a storage address of the contract file list identified by the contract file list identifier.

步骤S520,确定合同文件列表标识是否属于预设第一禁止查询列表。In step S520, it is determined whether the contract file list identifier belongs to the preset first prohibited query list.

其中,在查询终端,预设第一禁止查询列表包括多个合同文件列表标识,当预设第一禁止查询列表中存在与合同文件列表查询请求中的合同文件列表标识相同的合同文件列表标识时,可以确定合同文件列表查询请求中的合同文件列表标识属于预设第一禁止查询列表,否则,可以确定合同文件列表查询请求中的合同文件列表标识不属于预设第一禁止查询列表。Wherein, at the inquiry terminal, the preset first prohibited query list includes a plurality of contract file list identifiers, when there is a contract file list identifier identical to the contract file list identifier in the contract file list query request in the preset first prohibited query list , it can be determined that the contract document list identifier in the contract document list query request belongs to the preset first prohibited query list; otherwise, it can be determined that the contract document list identifier in the contract document list query request does not belong to the preset first prohibited query list.

步骤S530,响应于合同文件列表标识不属于预设第一禁止查询列表,基于合同文件列表标识,从区块链中获取合同文件列表标识所标识的合同文件列表。Step S530, in response to the fact that the contract file list identifier does not belong to the preset first prohibited query list, based on the contract file list identifier, the contract file list identified by the contract file list identifier is obtained from the blockchain.

其中,在查询终端,可以根据合同文件列表标识中包括的合同文件列表的存储地址,从区块链中获取合同文件列表标识所标识的合同文件列表。Wherein, at the query terminal, the contract document list identified by the contract document list identifier can be obtained from the block chain according to the storage address of the contract document list included in the contract document list identifier.

步骤S540,将合同文件列表标识所标识的合同文件列表反馈查询客户端。Step S540, feeding back the contract file list identified by the contract file list identifier to the query client.

其中,查询终端将合同文件列表标识所标识的合同文件列表反馈查询客户端。Wherein, the query terminal feeds back the contract file list identified by the contract file list identifier to the query client.

图6示出本公开实施例中基于区块链的电子合同查询装置的框图。如图6所示,该实施例基于区块链的电子合同查询装置包括:Fig. 6 shows a block diagram of a blockchain-based electronic contract query device in an embodiment of the present disclosure. As shown in Figure 6, the electronic contract query device based on block chain in this embodiment includes:

第一接收模块610,用于查询终端接收查询客户端发送的电子合同查询请求,其中,所述电子合同查询请求包括:查询客户端标识、合同信息标识和目标哈希值;The first receiving module 610 is used for the query terminal to receive the electronic contract query request sent by the query client, wherein the electronic contract query request includes: query client identification, contract information identification and target hash value;

第一确定模块620,用于响应于确定所述合同信息标识不属于预设第一禁止查询列表,且所述查询客户端标识不属于预设第二禁止查询列表,确定所述合同信息标识是否属于预设合同信息标识存储列表;The first determination module 620 is configured to determine whether the contract information identifier does not belong to the preset first prohibited query list and the query client identifier does not belong to the preset second prohibited query list in response to determining that the contract information identifier does not belong to the preset second prohibited query list. Belongs to the default contract information identifier storage list;

第一获取模块630,用于响应于所述合同信息标识属于所述预设合同信息标识存储列表,获取所述合同信息标识所标识的合同信息,其中,所述合同信息包括:至少一个合同文件哈希值和与所述至少一个合同文件哈希值中各合同文件哈希值分别对应的合同文件标识;The first acquiring module 630 is configured to acquire the contract information identified by the contract information identifier in response to the contract information identifier belonging to the preset contract information identifier storage list, wherein the contract information includes: at least one contract document a hash value and a contract file identifier respectively corresponding to each contract file hash value in the at least one contract file hash value;

第二确定模块640,用于确定所述合同信息中是否存在与所述目标哈希值相同的合同文件哈希值;The second determining module 640 is configured to determine whether there is a contract file hash value identical to the target hash value in the contract information;

第二获取模块650,用于响应于所述合同信息中存在与所述目标哈希值相同的合同文件哈希值,基于与所述目标哈希值相同的合同文件哈希值对应的合同文件标识,从区块链中获取目标合同文件;The second obtaining module 650 is configured to, in response to the contract file hash value identical to the target hash value existing in the contract information, based on the contract file corresponding to the contract file hash value identical to the target hash value Identify, obtain the target contract file from the blockchain;

第一反馈模块660,用于将所述目标合同文件反馈所述查询客户端。The first feedback module 660 is configured to feed back the target contract file to the query client.

在一种实施方式中,所述合同信息还包括:合同状态;所述装置还包括:In one embodiment, the contract information further includes: contract status; the device further includes:

第三确定模块670(图中未示出),用于确定所述合同状态是否为签约完成状态;The third determination module 670 (not shown in the figure), is used to determine whether the contract status is a contract completion status;

执行模块680(图中未示出),用于响应于所述合同状态为签约完成状态,执行所述确定所述合同信息中是否存在与所述目标哈希值相同的合同文件哈希值的操作。Executing module 680 (not shown in the figure), configured to perform the step of determining whether there is a contract file hash value identical to the target hash value in the contract information in response to the contract status being the contract completion status. operate.

在一种实施方式中,所述合同信息包括:所述至少一个合同文件哈希值中各合同文件哈希值分别对应的生成时间;所述装置还包括:In one embodiment, the contract information includes: the generation time corresponding to each contract file hash value in the at least one contract file hash value; the device further includes:

第四确定模块690(图中未示出),用于响应于所述合同信息中不存在与所述目标哈希值相同的合同文件哈希值,将与当前时间最接近的生成时间所对应的合同文件哈希值确定为目标合同文件哈希值;The fourth determination module 690 (not shown in the figure) is configured to, in response to the fact that there is no contract file hash value identical to the target hash value in the contract information, set the The hash value of the contract file is determined as the hash value of the target contract file;

第三获取模块700(图中未示出),用于基于与所述目标合同文件哈希值对应的合同文件标识,从所述区块链中获取所述目标合同文件。The third obtaining module 700 (not shown in the figure) is configured to obtain the target contract file from the block chain based on the contract file identifier corresponding to the hash value of the target contract file.

在一种实施方式中,本公开实施例中基于区块链的电子合同查询装置还包括:In one embodiment, the block chain-based electronic contract query device in the embodiment of the present disclosure also includes:

第五确定模块710(图中未示出),用于所述查询终端将待加入所述预设第一禁止查询列表的合同信息标识确定为新增合同信息标识;The fifth determining module 710 (not shown in the figure), is used for the query terminal to determine the contract information identifier to be added to the preset first forbidden query list as a newly added contract information identifier;

更新模块720(图中未示出),用于响应于所述预设第一禁止查询列表中不包含所述新增合同信息标识,且所述预设合同信息标识存储列表包含所述新增合同信息标识,将所述新增合同信息标识加入至所述预设第一禁止查询列表。An updating module 720 (not shown in the figure), configured to respond to the fact that the new contract information identifier is not included in the preset first prohibition query list, and the preset contract information identifier storage list includes the newly added contract information identifier. A contract information identifier, adding the newly added contract information identifier to the preset first prohibited query list.

在一种实施方式中,本公开实施例中基于区块链的电子合同查询装置还包括:In one embodiment, the block chain-based electronic contract query device in the embodiment of the present disclosure also includes:

第二接收模块730(图中未示出),用于所述查询终端接收所述查询客户端发送的合同文件列表查询请求,其中,所述合同文件列表查询请求包括:合同文件列表标识;The second receiving module 730 (not shown in the figure), is used for the query terminal to receive the contract file list query request sent by the query client, wherein the contract file list query request includes: contract file list identifier;

第六确定模块740(图中未示出),用于确定所述合同文件列表标识是否属于所述预设第一禁止查询列表;A sixth determining module 740 (not shown in the figure), configured to determine whether the contract file list identifier belongs to the preset first prohibited query list;

第四获取模块750(图中未示出),用于响应于所述合同文件列表标识不属于所述预设第一禁止查询列表,基于所述合同文件列表标识,从所述区块链中获取所述合同文件列表标识所标识的合同文件列表;The fourth obtaining module 750 (not shown in the figure), is configured to respond to that the contract file list identification does not belong to the preset first prohibited query list, based on the contract file list identification, from the block chain Obtain the contract document list identified by the contract document list identifier;

第二反馈模块760(图中未示出),用于将所述合同文件列表标识所标识的合同文件列表反馈所述查询客户端。The second feedback module 760 (not shown in the figure) is configured to feed back the contract file list identified by the contract file list identifier to the query client.

另外,本公开实施例还提供了一种电子设备,包括:存储器,用于存储计算机程序;In addition, an embodiment of the present disclosure also provides an electronic device, including: a memory configured to store a computer program;

处理器,用于执行所述存储器中存储的计算机程序,且所述计算机程序被执行时,实现本公开上述任一实施例所述的基于区块链的电子合同查询方法。The processor is configured to execute the computer program stored in the memory, and when the computer program is executed, implement the blockchain-based electronic contract query method described in any of the above-mentioned embodiments of the present disclosure.

图7为本公开电子设备一个应用实施例的结构示意图。如图7所示,电子设备包括一个或多个处理器和存储器。Fig. 7 is a schematic structural diagram of an application embodiment of the electronic device of the present disclosure. As shown in Figure 7, an electronic device includes one or more processors and memory.

处理器可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制电子设备中的其他组件以执行期望的功能。The processor may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

存储器可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在所述计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器可以运行所述程序指令,以实现上文所述的本公开的各个实施例的基于区块链的电子合同查询方法以及/或者其他期望的功能。The memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and/or a cache memory (cache). The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, and the like. One or more computer program instructions can be stored on the computer-readable storage medium, and the processor can execute the program instructions to realize the blockchain-based electronic contract query of the various embodiments of the present disclosure described above method and/or other desired functionality.

在一个示例中,电子设备还可以包括:输入装置和输出装置,这些组件通过总线系统和/或其他形式的连接机构(未示出)互连。In an example, the electronic device may further include: an input device and an output device, and these components are interconnected through a bus system and/or other forms of connection mechanisms (not shown).

此外,该输入设备还可以包括例如键盘、鼠标等等。In addition, the input device may also include, for example, a keyboard, a mouse, and the like.

该输出装置可以向外部输出各种信息,包括确定出的距离信息、方向信息等。该输出设备可以包括例如显示器、扬声器、打印机、以及通信网络及其所连接的远程输出设备等等。The output device can output various information to the outside, including determined distance information, direction information, and the like. The output devices may include, for example, displays, speakers, printers, and communication networks and their connected remote output devices, among others.

当然,为了简化,图7中仅示出了该电子设备中与本公开有关的组件中的一些,省略了诸如总线、输入/输出接口等等的组件。除此之外,根据具体应用情况,电子设备还可以包括任何其他适当的组件。Of course, for simplicity, only some of the components related to the present disclosure in the electronic device are shown in FIG. 7 , and components such as bus, input/output interface, etc. are omitted. In addition, the electronic device may also include any other suitable components according to specific applications.

除了上述方法和设备以外,本公开的实施例还可以是计算机程序产品,其包括计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行本说明书上述部分中描述的根据本公开各种实施例的基于区块链的电子合同查询方法中的步骤。In addition to the methods and devices described above, embodiments of the present disclosure may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the functions described in the foregoing sections of this specification. Steps in the blockchain-based electronic contract query method of various embodiments of the present disclosure.

所述计算机程序产品可以以一种或多种程序设计语言的任意组合来编写用于执行本公开实施例操作的程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。The computer program product can be written in any combination of one or more programming languages to execute the program codes for performing the operations of the embodiments of the present disclosure, and the programming languages include object-oriented programming languages, such as Java, C++, etc. , also includes conventional procedural programming languages, such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.

此外,本公开的实施例还可以是计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行本说明书上述部分中描述的根据本公开各种实施例的基于区块链的电子合同查询方法中的步骤。In addition, the embodiments of the present disclosure may also be a computer-readable storage medium, on which computer program instructions are stored, and the computer program instructions, when executed by a processor, cause the processor to execute the method according to the present invention described in the above part of this specification. The steps in the blockchain-based electronic contract query method of various embodiments are disclosed.

所述计算机可读存储介质可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, but not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

以上结合具体实施例描述了本公开的基本原理,但是,需要指出的是,在本公开中提及的优点、优势、效果等仅是示例而非限制,不能认为这些优点、优势、效果等是本公开的各个实施例必须具备的。另外,上述公开的具体细节仅是为了示例的作用和便于理解的作用,而非限制,上述细节并不限制本公开为必须采用上述具体的细节来实现。The basic principles of the present disclosure have been described above in conjunction with specific embodiments, but it should be pointed out that the advantages, advantages, effects, etc. mentioned in the present disclosure are only examples rather than limitations, and these advantages, advantages, effects, etc. Various embodiments of the present disclosure must have. In addition, the specific details disclosed above are only for the purpose of illustration and understanding, rather than limitation, and the above details do not limit the present disclosure to be implemented by using the above specific details.

本说明书中各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似的部分相互参见即可。对于系统实施例而言,由于其与方法实施例基本对应,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. As for the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment.

本公开中涉及的器件、装置、设备、系统的方框图仅作为例示性的例子并且不意图要求或暗示必须按照方框图示出的方式进行连接、布置、配置。如本领域技术人员将认识到的,可以按任意方式连接、布置、配置这些器件、装置、设备、系统。诸如“包括”、“包含”、“具有”等等的词语是开放性词汇,指“包括但不限于”,且可与其互换使用。这里所使用的词汇“或”和“和”指词汇“和/或”,且可与其互换使用,除非上下文明确指示不是如此。这里所使用的词汇“诸如”指词组“诸如但不限于”,且可与其互换使用。The block diagrams of devices, devices, devices, and systems involved in the present disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, devices, systems may be connected, arranged, configured in any manner. Words such as "including", "comprising", "having" and the like are open-ended words meaning "including but not limited to" and may be used interchangeably therewith. As used herein, the words "or" and "and" refer to the word "and/or" and are used interchangeably therewith, unless the context clearly dictates otherwise. As used herein, the word "such as" refers to the phrase "such as but not limited to" and can be used interchangeably therewith.

可能以许多方式来实现本公开的方法和装置。例如,可通过软件、硬件、固件或者软件、硬件、固件的任何组合来实现本公开的方法和装置。用于所述方法的步骤的上述顺序仅是为了进行说明,本公开的方法的步骤不限于以上具体描述的顺序,除非以其它方式特别说明。此外,在一些实施例中,还可将本公开实施为记录在记录介质中的程序,这些程序包括用于实现根据本公开的方法的机器可读指令。因而,本公开还覆盖存储用于执行根据本公开的方法的程序的记录介质。The methods and apparatus of the present disclosure may be implemented in many ways. For example, the methods and apparatuses of the present disclosure may be implemented by software, hardware, firmware or any combination of software, hardware, and firmware. The above sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure can also be implemented as programs recorded in recording media, the programs including machine-readable instructions for realizing the method according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

还需要指出的是,在本公开的装置、设备和方法中,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本公开的等效方案。It should also be pointed out that, in the devices, equipment and methods of the present disclosure, each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of the present disclosure.

提供所公开的方面的以上描述以使本领域的任何技术人员能够做出或者使用本公开。对这些方面的各种修改对于本领域技术人员而言是非常显而易见的,并且在此定义的一般原理可以应用于其他方面而不脱离本公开的范围。因此,本公开不意图被限制到在此示出的方面,而是按照与在此公开的原理和新颖的特征一致的最宽范围。The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

为了例示和描述的目的已经给出了以上描述。此外,此描述不意图将本公开的实施例限制到在此公开的形式。尽管以上已经讨论了多个示例方面和实施例,但是本领域技术人员将认识到其某些变型、修改、改变、添加和子组合。The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the disclosed embodiments to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims (10)

1. An electronic contract query method based on a block chain is characterized by comprising the following steps:
the method comprises the following steps that an inquiry terminal receives an electronic contract inquiry request sent by an inquiry client, wherein the electronic contract inquiry request comprises the following steps: inquiring client identification, contract information identification and target hash value;
in response to determining that the contract information identifier does not belong to a preset first prohibited query list and the query client identifier does not belong to a preset second prohibited query list, determining whether the contract information identifier belongs to a preset contract information identifier storage list;
responding to the contract information identification belonging to the preset contract information identification storage list, and acquiring contract information identified by the contract information identification, wherein the contract information comprises: at least one contract file hash value and a contract file identifier corresponding to each contract file hash value in the at least one contract file hash value respectively;
determining whether a contract file hash value identical to the target hash value exists in the contract information;
in response to the contract information having the contract file hash value identical to the target hash value, acquiring a target contract file from a block chain based on a contract file identifier corresponding to the contract file hash value identical to the target hash value;
and feeding the target contract document back to the query client.
2. The method of claim 1, wherein the contract information further comprises: contract status; the method further comprises the following steps:
determining whether the contract state is a contract completion state;
and in response to that the contract state is a contract completion state, executing the operation of determining whether a contract file hash value identical to the target hash value exists in the contract information.
3. The method of claim 1, wherein the contract information comprises: generating time corresponding to each contract file hash value in the at least one contract file hash value respectively; the method further comprises the following steps:
determining a contract file hash value corresponding to generation time closest to the current time as a target contract file hash value in response to the contract information that the contract file hash value same as the target hash value does not exist;
and acquiring the target contract file from the block chain based on the contract file identifier corresponding to the hash value of the target contract file.
4. The method of claim 1, further comprising:
the inquiry terminal determines the contract information identifier to be added into the preset first prohibited inquiry list as a newly added contract information identifier;
and in response to that the preset first query forbidding list does not contain the newly added contract information identification and the preset contract information identification storage list contains the newly added contract information identification, adding the newly added contract information identification into the preset first query forbidding list.
5. The method of any of claims 1-4, further comprising:
the query terminal receives a contract document list query request sent by the query client, wherein the contract document list query request comprises: contract document list identification;
determining whether the contract file list identification belongs to the preset first query forbidding list;
responding to the fact that the contract file list identification does not belong to the preset first query forbidden list, and acquiring a contract file list identified by the contract file list identification from the block chain based on the contract file list identification;
and feeding back the contract document list identified by the contract document list identification to the query client.
6. An electronic contract inquiry apparatus based on a block chain, comprising:
a first receiving module, configured to receive, by a query terminal, an electronic contract query request sent by a query client, where the electronic contract query request includes: inquiring a client identification, a contract information identification and a target hash value;
the first determining module is used for determining whether the contract information identifier belongs to a preset contract information identifier storage list or not in response to the fact that the contract information identifier does not belong to a preset first prohibited query list and the query client identifier does not belong to a preset second prohibited query list;
a first obtaining module, configured to obtain, in response to that the contract information identifier belongs to the preset contract information identifier storage list, contract information identified by the contract information identifier, where the contract information includes: at least one contract file hash value and a contract file identifier corresponding to each contract file hash value in the at least one contract file hash value respectively;
a second determining module, configured to determine whether a contract file hash value identical to the target hash value exists in the contract information;
a second obtaining module, configured to, in response to a contract file hash value that is the same as the target hash value existing in the contract information, obtain a target contract file from a block chain based on a contract file identifier corresponding to the contract file hash value that is the same as the target hash value;
and the first feedback module is used for feeding the target contract file back to the query client.
7. The apparatus of claim 6, wherein the contract information further comprises: contract status; the device further comprises:
a third determining module, configured to determine whether the contract status is a contract completion status;
and the execution module is used for responding to the contract state as a contract completion state and executing the operation of determining whether the contract information has the contract file hash value which is the same as the target hash value.
8. The apparatus of claim 6, wherein the contract information comprises: the generation time corresponding to each contract file hash value in the at least one contract file hash value is respectively; the device further comprises:
a fourth determining module, configured to determine, in response to that there is no contract file hash value that is the same as the target hash value in the contract information, a contract file hash value corresponding to a generation time closest to a current time as a target contract file hash value;
a third obtaining module, configured to obtain the target contract file from the block chain based on a contract file identifier corresponding to the hash value of the target contract file.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing a computer program stored in the memory, and when executed, implementing the method of any of the preceding claims 1-5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of the preceding claims 1 to 5.
CN202211282978.2A 2022-10-20 2022-10-20 Block chain-based electronic contract query method, device, equipment and medium Active CN115357548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211282978.2A CN115357548B (en) 2022-10-20 2022-10-20 Block chain-based electronic contract query method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211282978.2A CN115357548B (en) 2022-10-20 2022-10-20 Block chain-based electronic contract query method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN115357548A CN115357548A (en) 2022-11-18
CN115357548B true CN115357548B (en) 2023-03-03

Family

ID=84008926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211282978.2A Active CN115357548B (en) 2022-10-20 2022-10-20 Block chain-based electronic contract query method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115357548B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110097367A (en) * 2019-05-08 2019-08-06 北京智签科技有限公司 Electronic contract signature method, apparatus, equipment and storage medium based on block chain
CN114564446A (en) * 2022-03-01 2022-05-31 清华大学 File storage method, device, system and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11348098B2 (en) * 2018-08-06 2022-05-31 Inveniam Capital Partners, Inc. Decisional architectures in blockchain environments
US12306970B2 (en) * 2019-11-27 2025-05-20 Green Data Technology Inc. Authenticating data for storage using a data storage system and distributed electronic ledger system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110097367A (en) * 2019-05-08 2019-08-06 北京智签科技有限公司 Electronic contract signature method, apparatus, equipment and storage medium based on block chain
CN114564446A (en) * 2022-03-01 2022-05-31 清华大学 File storage method, device, system and storage medium

Also Published As

Publication number Publication date
CN115357548A (en) 2022-11-18

Similar Documents

Publication Publication Date Title
CN115361233B (en) Block chain-based electronic document signing method, device, equipment and medium
CN116150234A (en) Block chain-based data certification method, device, equipment and medium
CN115982247A (en) Block chain based account information query method and device, equipment and medium
WO2020130864A1 (en) System for automatic management and depositing of documents (images) hash in block-chain technology
CN115357548B (en) Block chain-based electronic contract query method, device, equipment and medium
CN111078764B (en) Data processing method, data processing device, computer readable storage medium and electronic equipment
CN115964733B (en) Block chain-based data sharing method and device, electronic equipment and storage medium
CN114329097B (en) Method and device, electronic device and storage medium for batch registration of product identification
CN117808467A (en) Cross-fragment transaction method, device, equipment and medium based on blockchain network
CN115392801B (en) Block chain-based carbon efficiency evaluation method and device, electronic equipment and storage medium
CN115664861B (en) Identity information verification method and device based on block chain, equipment and medium
CN115345760B (en) Multi-party signing method and device based on block chain, electronic equipment and storage medium
CN115495770A (en) Block chain-based overdue contract processing method and device, equipment and medium
CN115987683B (en) Node access control method, device, device and medium in blockchain network
CN116166736B (en) Blockchain data chaining method, device and medium based on application programming interface
CN115277024B (en) Method and device for updating industrial chain data based on blockchain
CN115150349B (en) Message processing method, device, equipment and storage medium
CN116070252B (en) Batch file processing methods, devices, equipment and media for industrial Internet nodes
CN115545977A (en) Block chain-based electronic contract signing method and device, equipment and medium
CN115659405B (en) Digital object interaction method and device, electronic device and storage medium
CN116112293B (en) Block chain-based data trusted transaction method and device, equipment and medium
CN117648295A (en) Text issuing method and device based on blockchain, electronic equipment and storage medium
CN117812092B (en) Predicate-based block compression transmission method, device, equipment and medium
CN116010997B (en) Data resource hosting method and device based on continuity check of blockchain
CN117640575B (en) Distributed digital identification management method, device, equipment and medium

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
GR01 Patent grant
GR01 Patent grant