Information processing method and device, electronic equipment and computer readable storage medium

By verifying resource acquisition requests and triggering smart contracts in the blockchain network, the problem of insufficient resource information management on the forum platform is solved, and the security and automation of the resource acquisition process are realized.

CN118677593APending Publication Date: 2024-09-20INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410677251.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

It is difficult for existing forum platforms to effectively manage resource information, resulting in insufficient security and automation levels in the resource acquisition and sharing process.

Method used

By applying preset verification rules in the blockchain network, the object information in the resource acquisition request is verified, and the target smart contract is automatically triggered based on the resource identification to determine the value of the resource to be delivered, ensuring the security and automation of the resource acquisition process.

Benefits of technology

It improves the security and automation level of information processing, ensures the automation, security and accuracy of the resource acquisition process, and overcomes the technical problem of forum platforms that make it difficult to effectively manage resource information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677593A
    Figure CN118677593A
Patent Text Reader

Abstract

The invention provides an information processing method and device, electronic equipment and a computer readable storage medium, which can be applied to the fields of information processing technology, block chain technology and financial science and technology. The method comprises: in response to a received resource acquisition request from a client, according to a preset verification rule, verifying object information in the resource acquisition request to obtain a verification result, the resource acquisition request further comprising a resource identifier, and the object information comprising an object identifier; under the condition that the verification result represents that the object information passes verification, determining a to-be-delivered resource value related to the to-be-acquired resource information based on a target smart contract corresponding to the resource identifier; determining a source block in at least one candidate block included in the block chain network based on the resource identifier in response to the condition that the received delivered resource value and the to-be-delivered resource value from the client meet a predetermined condition; and sending the resource information which is obtained from the source block and corresponds to the resource identifier to the client.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of information processing technology, blockchain technology and financial technology, and more specifically, to an information processing method and device, an electronic device and a computer-readable storage medium. Background Art

[0002] With the development of computer technology, various forum platforms are increasing day by day. After registration, users can publish various resource information on the forum platform.

[0003] Forum platforms usually use centralized servers, that is, they are managed in a centralized manner. When a centralized server fails, the entire forum platform will be affected, so a large amount of data redundancy backup is required. In addition, since resource information sharing based on forum platforms requires the intervention of a third party, the cost of information sharing is relatively high.

[0004] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related art: it is difficult for existing forum platforms to manage resource information more effectively. Summary of the invention

[0005] In view of this, the present disclosure provides an information processing method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product.

[0006] According to one aspect of the present disclosure, there is provided an information processing method, which is applied to a blockchain network, comprising: in response to receiving a resource acquisition request from a client, verifying the object information in the resource acquisition request according to a preset verification rule to obtain a verification result, wherein the resource acquisition request also includes a resource identifier; in a case where the verification result indicates that the object information has passed the verification, determining a to-be-delivered resource value related to the resource information to be acquired based on a target smart contract corresponding to the resource identifier; in response to the delivered resource value received from the client and the to-be-delivered resource value satisfying a predetermined condition, determining a source block in at least one candidate block included in the blockchain network based on the resource identifier; and sending the resource information corresponding to the resource identifier obtained from the source block to the client.

[0007] According to an embodiment of the present disclosure, it also includes, in response to receiving a resource acquisition request from a client, verifying the object information in the resource acquisition request according to a preset verification rule, before obtaining the verification result: in response to receiving an object registration request from the client, creating a candidate block according to the object identifier to be registered in the object registration request, wherein the object registration request also includes benchmark object information, and each of the candidate blocks has a candidate block identifier; writing the benchmark object information into the candidate block; and connecting the candidate block to the blockchain network.

[0008] According to an embodiment of the present disclosure, it also includes: in response to receiving a resource sharing request from the above-mentioned client, determining a block identifier from at least one of the above-mentioned candidate block identifiers according to the object identifier in the above-mentioned resource sharing request, wherein the above-mentioned resource sharing request also includes resource information to be shared, and the above-mentioned resource information to be shared is obtained by encrypting the original resource information based on a preset encryption algorithm corresponding to the above-mentioned object identifier; and, in response to the above-mentioned resource information to be shared passing verification, the above-mentioned resource information to be shared and the resource identifier used to uniquely identify the above-mentioned resource information to be shared are associated and stored in the block corresponding to the above-mentioned block identifier.

[0009] According to an embodiment of the present disclosure, the resource information to be shared is obtained in the following manner: generating a character string to be shared based on the original resource information; and encrypting the character string to be shared based on the preset encryption algorithm to obtain the resource information to be shared.

[0010] According to an embodiment of the present disclosure, the object information includes an object identifier. In response to receiving a resource acquisition request from a client, the object information in the resource acquisition request is verified according to a preset verification rule, and the verification result obtained includes: determining a block identifier in at least one of the candidate block identifiers according to the object identifier; obtaining the reference object information from the target block according to the block identifier; and, based on the reference object information, verifying the object information to obtain the verification result, wherein, in the case where the object information matches the reference object information, the verification result indicates that the object information has passed the verification; in the case where the object information does not match the reference object information, the verification result indicates that the object information has not passed the verification.

[0011] According to an embodiment of the present disclosure, at least one candidate smart contract is stored in the above-mentioned blockchain network, each of the above-mentioned candidate smart contracts has a relevant resource identifier, and each of the above-mentioned smart contracts has a preset processing logic; when the above-mentioned verification result indicates that the above-mentioned object information has passed the verification, based on the target smart contract corresponding to the above-mentioned resource identifier, determining the resource value to be delivered related to the resource information to be acquired includes: based on the above-mentioned resource identifier, determining the above-mentioned target smart contract in the above-mentioned at least one candidate smart contract; and, based on the preset processing logic corresponding to the above-mentioned target smart contract, processing the above-mentioned resource information to be acquired to obtain the above-mentioned resource value to be delivered.

[0012] According to an embodiment of the present disclosure, it also includes, in response to the received delivered resource value from the above-mentioned client and the above-mentioned to-be-delivered resource value satisfying a predetermined condition, based on the above-mentioned resource identifier, before determining a source block in at least one candidate block included in the above-mentioned blockchain network: determining a resource value difference between the above-mentioned delivered resource value and the above-mentioned to-be-delivered resource value; in a case where the above-mentioned resource value difference is less than a predetermined threshold, determining that the above-mentioned delivered resource value and the above-mentioned to-be-delivered resource value do not satisfy the above-mentioned predetermined condition; and, in a case where the above-mentioned resource value difference is greater than or equal to the above-mentioned predetermined threshold, determining that the above-mentioned delivered resource value and the above-mentioned to-be-delivered resource value satisfy the above-mentioned predetermined condition.

[0013] According to an embodiment of the present disclosure, it also includes: in response to receiving an information query request, determining a target block in at least one candidate block according to an object identifier included in the above information query request, wherein the above information query request also includes a client identifier; and sending the object information and transaction information corresponding to the above object identifier obtained from the above target block to the client corresponding to the above client identifier.

[0014] According to one aspect of the present disclosure, there is provided an information processing method, which is applied to a client, and includes: in response to detecting that a resource acquisition button on a front-end interface is triggered, acquiring a resource identifier and object information; generating a resource acquisition request based on the resource identifier and the object information; and sending the resource acquisition request to a blockchain network, so that the blockchain network can acquire resource information corresponding to the resource identifier if the object information is verified.

[0015] According to another aspect of the present disclosure, there is provided an information processing device, which is applied to a blockchain network, and includes: a verification module, which is used to verify the object information in the resource acquisition request in response to receiving a resource acquisition request from a client according to a preset verification rule to obtain a verification result, wherein the resource acquisition request also includes a resource identifier; a first determination module, which is used to determine the to-be-delivered resource value related to the resource information to be acquired based on the target smart contract corresponding to the resource identifier when the verification result indicates that the object information has passed the verification; a second determination module, which is used to determine a source block in at least one candidate block included in the blockchain network based on the resource identifier in response to the delivered resource value received from the client and the to-be-delivered resource value satisfying a predetermined condition; and a first sending module, which is used to send the resource information corresponding to the resource identifier acquired from the source block to the client.

[0016] According to another aspect of the present disclosure, there is provided an information processing device, which is applied to a client, and includes: an acquisition module, which is used to acquire a resource identifier and object information in response to detecting that a resource acquisition button on a front-end interface is triggered; a generation module, which is used to generate a resource acquisition request based on the above resource identifier and the above object information; and a second sending module, which is used to send the above resource acquisition request to a blockchain network, so that the above blockchain network can acquire resource information corresponding to the above resource identifier when the above object information is verified.

[0017] According to another aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; and a memory for storing one or more instructions, wherein when the one or more instructions are executed by the one or more processors, the one or more processors implement the method described in the present disclosure.

[0018] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the processor implements the method described in the present disclosure.

[0019] According to another aspect of the present disclosure, a computer program product is provided. The computer program product includes computer executable instructions. When the computer executable instructions are executed, they are used to implement the method described in the present disclosure.

[0020] According to the embodiments of the present disclosure, by verifying the object information in the resource acquisition request based on the preset verification rules, it can be ensured that only the request with the object information verified can continue the subsequent resource acquisition process. This pre-verification mechanism effectively prevents the passage of malicious requests or invalid requests, thereby enhancing the security of information processing. After the object information passes the verification, by automatically triggering the target smart contract associated with it according to the resource identifier, and determining the resource value to be delivered related to the resource information to be acquired based on the target smart contract, the automation level of information processing can be improved. On this basis, when the delivered resource value and the to-be-delivered resource value meet the predetermined conditions, by determining the source block based on the resource identifier and obtaining the resource information from the source block, the technical problem that the existing forum platform in the relevant technology is difficult to effectively realize the management of resource information is at least partially overcome, thereby realizing the automatic execution of the information processing process and ensuring the automation, security and accuracy of the resource acquisition process. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0022] Figure 1 The system architecture to which the information processing method according to the embodiment of the present disclosure can be applied is schematically shown;

[0023] Figure 2 The flowchart of the information processing method according to an embodiment of the present disclosure is schematically shown;

[0024] Figure 3 An example schematic diagram of an object registration process according to an embodiment of the present disclosure is schematically shown;

[0025] Figure 4 An example schematic diagram schematically shows a resource sharing process according to an embodiment of the present disclosure;

[0026] Figure 5 An example schematic diagram schematically shows an information processing process according to an embodiment of the present disclosure;

[0027] Figure 6 A flowchart schematically shows an information processing method according to another embodiment of the present disclosure;

[0028] Figure 7 An example schematic diagram schematically shows an information processing process according to another embodiment of the present disclosure;

[0029] Figure 8 A block diagram schematically shows an information processing device according to an embodiment of the present disclosure;

[0030] Fig. 9A block diagram schematically shows an information processing device according to another embodiment of the present disclosure; and

[0031] Fig.10 A block diagram of an electronic device suitable for implementing an information processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0032] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0033] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0034] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0035] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0036] In the technical solution of the present invention, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0037] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present invention provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating an individual's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.

[0038] In one example, a blockchain network may be used to manage resource information. The blockchain network may include at least one chain. Each chain in the at least one chain may correspond to at least one block. Each block in the at least one block may be used to store resource information.

[0039] For example, financial institutions can use blockchain networks to store resource information. In this case, users can share their own resource information or obtain other people's resource information in the blockchain network provided by the financial institution.

[0040] In order to at least partially solve the technical problems existing in the related art, the present disclosure provides an information processing method and device, an electronic device and a computer-readable storage medium, which can be applied to the fields of information processing technology, blockchain technology and financial technology. The information processing method includes: in response to receiving a resource acquisition request from a client, according to a preset verification rule, verifying the object information in the resource acquisition request to obtain a verification result, wherein the resource acquisition request also includes a resource identifier; in the case where the verification result indicates that the object information has passed the verification, based on the target smart contract corresponding to the resource identifier, determining the to-be-delivered resource value related to the resource information to be acquired; in response to the delivered resource value and the to-be-delivered resource value received from the client satisfying a predetermined condition, based on the resource identifier, determining a source block in at least one candidate block included in the blockchain network; and sending the resource information corresponding to the resource identifier obtained from the source block to the client.

[0041] It should be noted that the information processing method and device provided by the embodiments of the present disclosure can be used in the field of information processing technology, such as in the field of blockchain technology. The information processing method and device provided by the embodiments of the present disclosure can also be used in any field other than information processing technology and blockchain technology, such as in the field of financial technology. The application field of the information processing method and device provided by the embodiments of the present disclosure is not limited.

[0042] Figure 1 The system architecture to which the information processing method can be applied according to the embodiment of the present disclosure is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0043] like Figure 1 As shown, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a blockchain network 104 and a server 105.

[0044] The user can use at least one of the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the blockchain network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0045] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0046] The blockchain network 104 may include at least one chain. Each chain in the at least one chain may correspond to at least one block. Each block in the at least one block may be used to store information.

[0047] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0048] It should be noted that the information processing method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the information processing device provided in the embodiment of the present disclosure can generally be set in the server 105. The information processing method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the information processing device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0049] Alternatively, the information processing method provided in the embodiment of the present disclosure may also be executed by the first terminal device 101, the second terminal device 102, or the third terminal device 103, or may also be executed by other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103. Accordingly, the information processing apparatus provided in the embodiment of the present disclosure may also be provided in the first terminal device 101, the second terminal device 102, or the third terminal device 103, or may be provided in other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103.

[0050] It should be understood that Figure 1 The number of the first terminal device, the second terminal device, the third terminal device, the blockchain network and the server in the embodiment is only illustrative. According to the implementation requirements, there can be any number of the first terminal device, the second terminal device, the third terminal device, the blockchain network and the server.

[0051] It should be noted that the sequence numbers of the operations in the following method are only used as representations of the operations for the purpose of description, and should not be regarded as representing the execution order of the operations. Unless explicitly stated, the method does not need to be executed completely in the order shown.

[0052] Figure 2 The flowchart of the information processing method according to an embodiment of the present disclosure is schematically shown.

[0053] like Figure 2 As shown, the information processing method 200 includes operations S210 to S240.

[0054] In operation S210, in response to receiving a resource acquisition request from a client, object information in the resource acquisition request is verified according to a preset verification rule to obtain a verification result, wherein the resource acquisition request also includes a resource identifier.

[0055] In operation S220, when the verification result indicates that the object information has passed the verification, a resource value to be delivered related to the resource information to be obtained is determined based on the target smart contract corresponding to the resource identifier.

[0056] In operation S230, in response to the delivered resource value and the to-be-delivered resource value received from the client satisfying a predetermined condition, a source block is determined from at least one candidate block included in the blockchain network based on the resource identifier.

[0057] In operation S240, the resource information corresponding to the resource identifier obtained from the source block is sent to the client.

[0058] According to an embodiment of the present disclosure, the information processing process can be applied to an information processing system, the information processing system can include a blockchain network and multiple clients, and the information processing system can be applied to a forum communication management scenario. Multiple clients can initiate object registration operations, resource sharing operations, and resource acquisition operations. The blockchain network can be used to store object information of different users, different resource information, and provide support for the above-mentioned object registration operations, resource sharing operations, and resource acquisition operations. In one example, the information processing method 200 provided in the present disclosure can be applied to a blockchain network.

[0059] According to an embodiment of the present disclosure, the code for generating a resource acquisition request can be pre-written into a first script. In response to detecting an input operation or a click operation of a user, the client can run the first script to generate a resource acquisition request message according to the resource identifier obtained through the input operation or the click operation, the user's object identifier and the object information. The client can send the resource acquisition request message to the server so that the server can verify the object information in the resource acquisition request message and obtain the resource information corresponding to the resource identifier if the object information passes the verification.

[0060] According to an embodiment of the present disclosure, after receiving a resource acquisition request, the object information can be verified according to a preset verification rule to obtain a verification result. Object information may refer to information related to a user. For example, object information may include identity information and transaction information. Identity information may refer to the association between a user identity and a blockchain address. Transaction information may refer to all transaction records performed by a user on a blockchain. Preset verification rules may refer to rules for verifying object information. The preset verification rules may be configured according to actual business needs and are not limited here. For example, the preset verification rules may include at least one of the following: digital signature verification rules, hash function comparison rules, smart contract rules, consensus mechanisms, and identity authentication rules, etc.

[0061] According to an embodiment of the present disclosure, the verification result can be used to characterize whether the object information has passed the verification. For example, when the verification result characterizes that the object information has not passed the verification, a first prompt message can be sent to the client. The specific content of the first prompt message can be configured according to actual business needs and is not limited here. For example, the first prompt message can be "You have not passed the verification, please verify whether the information is correct." Alternatively, when the verification result characterizes that the object information has passed the verification, the target smart contract corresponding to the resource identifier can be called.

[0062] In one example, the blockchain network may pre-store at least one candidate resource identifier and a candidate smart contract corresponding to each candidate resource identifier. A candidate smart contract may refer to a computer program that can automatically execute and manage digital asset transactions. A candidate smart contract may include at least one of the following: contract terms and rules, data layer, execution environment, contract interface, event handling mechanism, security and authority control, etc. When the verification result indicates that the object information has passed the verification, the resource identifier in the resource acquisition request may be matched with at least one candidate resource identifier to facilitate determining the target smart contract corresponding to the resource identifier in at least one candidate smart contract.

[0063] According to an embodiment of the present disclosure, after determining the target smart contract, the resource value to be delivered related to the resource information to be acquired can be determined based on the processing logic corresponding to the target smart contract. The processing logic may include at least one of the following: conditional judgment, automatic execution, interaction and communication, data recording and status update, security and exception handling, and transaction termination and record on-chain, etc. The resource value to be delivered can be used to represent the exchange item that needs to be provided by the user in order to obtain the resource information corresponding to the resource identifier.

[0064] According to an embodiment of the present disclosure, after receiving the delivered resource value from the client, it can be determined whether the delivered resource value and the to-be-delivered resource value meet a predetermined condition. The delivered resource value can be used to characterize the exchange item that the user has provided. The predetermined condition can be configured according to actual business needs and is not limited here. For example, the predetermined condition can be set to be equal to the delivered resource value and the to-be-delivered resource value.

[0065] For example, when it is determined that the delivered resource value and the to-be-delivered resource value do not meet the predetermined conditions, a second prompt message may be sent to the client. The second prompt message may be configured according to actual business needs and is not limited here. For example, the second prompt message may be "The resource value you delivered is insufficient, please determine whether to continue the delivery." Alternatively, when it is determined that the delivered resource value and the to-be-delivered resource value meet the predetermined conditions, the source block may be determined from at least one candidate block included in the blockchain network based on the resource identifier.

[0066] According to an embodiment of the present disclosure, each candidate block in the blockchain network may store at least one candidate resource identifier and resource information corresponding to each candidate resource identifier. When it is determined that the delivered resource value and the to-be-delivered resource value meet the predetermined conditions, the resource identifier in the resource acquisition request may be matched with at least one candidate resource identifier of each candidate block, so as to determine the target resource identifier that matches the resource identifier in at least one candidate resource identifier. On this basis, the candidate block corresponding to the target resource identifier may be determined as the source block, and the resource information corresponding to the resource identifier may be obtained from the source block.

[0067] According to the embodiments of the present disclosure, by verifying the object information in the resource acquisition request based on the preset verification rules, it can be ensured that only the request with the object information verified can continue the subsequent resource acquisition process. This pre-verification mechanism effectively prevents the passage of malicious requests or invalid requests, thereby enhancing the security of information processing. After the object information passes the verification, by automatically triggering the target smart contract associated with it according to the resource identifier, and determining the resource value to be delivered related to the resource information to be acquired based on the target smart contract, the automation level of information processing can be improved. On this basis, when the delivered resource value and the to-be-delivered resource value meet the predetermined conditions, by determining the source block based on the resource identifier and obtaining the resource information from the source block, the technical problem that the existing forum platform in the relevant technology is difficult to effectively realize the management of resource information is at least partially overcome, thereby realizing the automatic execution of the information processing process and ensuring the automation, security and accuracy of the resource acquisition process.

[0068] Reference below Figure 3 to Figure 5 , the information processing method 200 according to the embodiment of the present invention is further explained.

[0069] According to an embodiment of the present disclosure, the information processing method 200 may further include the following operations.

[0070] In response to receiving an object registration request from a client, a candidate block is created according to an identifier of an object to be registered in the object registration request, wherein the object registration request also includes reference object information, and each candidate block has a candidate block identifier. The reference object information is written into the candidate block. The candidate block is connected to the blockchain network.

[0071] According to an embodiment of the present disclosure, the code for generating an object registration request may be pre-written into a second script. In response to detecting an input operation or a click operation of a user, the client may run the second script to generate an object registration request message according to the identifier of the object to be registered and the reference object information obtained through the input operation or the click operation. The client may send the object registration request message to the server so that the server may register the object according to the identifier of the object to be registered and the reference object information in the object registration request message. The reference object information may refer to the basis for verifying the user's object information.

[0072] According to an embodiment of the present disclosure, the blockchain network may be an Ethereum public blockchain network. After receiving an object registration request, an independent candidate block of the user may be created according to the identifier of the object to be registered in the object registration request. On this basis, the reference object information may be written into the candidate block, and the candidate block may be connected to the blockchain network, so that nodes are connected to each other, facilitating information transmission and data sharing.

[0073] According to an embodiment of the present disclosure, by receiving an object registration request from a client and writing relevant information into a newly created candidate block, the block is finally connected to the blockchain network, thereby being able to dynamically handle new object registration requirements and ensure that each block has a unique identifier, thereby ensuring data integrity and consistency.

[0074] Figure 3 An example schematic diagram of an object registration process according to an embodiment of the present disclosure is schematically shown.

[0075] like Figure 3 As shown, in 300 , in response to receiving an object registration request 301 from a client, the object registration request 301 may include an object identifier 3011 to be registered and reference object information 3012 .

[0076] In one example, a candidate block 3021 may be created according to the to-be-registered object identifier 3011 in the object registration request 301. On this basis, the reference object information 3012 may be written into the candidate block 3021, and the candidate block 3021 may be connected to the blockchain network 302.

[0077] According to an embodiment of the present disclosure, the information processing method 200 may further include the following operations.

[0078] In response to receiving a resource sharing request from a client, a block identifier is determined from at least one candidate block identifier according to an object identifier in the resource sharing request, wherein the resource sharing request also includes resource information to be shared, and the resource information to be shared is obtained by encrypting the original resource information based on a preset encryption algorithm corresponding to the object identifier. In response to the resource information to be shared passing the verification, the resource information to be shared and the resource identifier used to uniquely identify the resource information to be shared are associated and stored in a block corresponding to the block identifier.

[0079] According to an embodiment of the present disclosure, the code for generating a resource sharing request may be pre-written into a third script. In response to detecting an input operation or a click operation by a user, the client may run the third script to generate a resource sharing request message according to the object identifier and the resource information to be shared obtained through the input operation or the click operation. The client may send the resource sharing request message to the server, so that the server may perform resource sharing according to the object identifier and the resource information to be shared in the resource sharing request message.

[0080] According to an embodiment of the present disclosure, the resource information to be shared may include one of the following: resource information, post content, and reply content. After receiving a resource sharing request, a block identifier may be determined from at least one candidate block identifier based on the object identifier in the resource sharing request, so as to automatically store the resource information to be shared in a block corresponding to the user's object identifier, so as to ensure that the data is not tampered with and can be traced. In the case of detecting that a user has modified the data, the blockchain network may automatically remove the block, that is, the forum platform may automatically freeze the user and prohibit resource sharing operations and resource acquisition operations.

[0081] According to the embodiments of the present disclosure, the forum platform based on blockchain can greatly improve the security and credibility of data through distributed storage and cryptography technology. Since the data is stored in multiple nodes in a dispersed manner and encryption technology is used, the data is difficult to be tampered with and stolen. In addition, blockchain technology can also ensure the transparency of data, and all data changes will be recorded on the unalterable blockchain, ensuring the traceability and fairness of data operations. In addition, by using blockchain technology, posts and replies on the forum can be permanently recorded on unalterable blocks and can be traced, which will effectively prevent the spread of false information and malicious attacks, and improve the quality and credibility of forum exchanges.

[0082] According to the embodiments of the present disclosure, by receiving a resource sharing request and storing the verified resource information in a specific block of the blockchain, the security of the resource information during transmission and storage can be ensured. By verifying the shared resource information, it can be ensured that the data stored in the blockchain is complete and has not been tampered with, thereby improving the credibility of the data and enabling the recipient to trust the received resource information.

[0083] According to an embodiment of the present disclosure, the information of resources to be shared may be obtained in the following manner.

[0084] Based on the original resource information, a character string to be shared is generated. Based on a preset encryption algorithm, the character string to be shared is encrypted to obtain the resource information to be shared.

[0085] According to the embodiments of the present disclosure, the preset encryption algorithm can be configured according to actual business needs, which is not limited here. For example, the preset encryption algorithm may include at least one of the following: a symmetric encryption algorithm and an asymmetric encryption algorithm. In one example, the asymmetric encryption algorithm may include, for example: an RSA algorithm, an Elgamal algorithm, a backpack algorithm, a Rabin algorithm, a DH algorithm, an elliptic curve encryption algorithm, etc. Based on the irreversible characteristics of the asymmetric encryption algorithm, the security of the object information and the original resource information can be guaranteed.

[0086] According to an embodiment of the present disclosure, after obtaining the original resource information, the original resource information may be hashed to obtain a string to be shared. On this basis, the string to be shared may be encrypted based on an asymmetric encryption algorithm to obtain resource information to be shared. The asymmetric encryption algorithm may have a private key and a public key.

[0087] According to an embodiment of the present disclosure, a character string to be shared is generated based on original resource information, and the character string is encrypted using a preset encryption algorithm to obtain resource information to be shared, thereby improving security and controllability in the resource sharing process and providing protection for all parties involved in resource sharing.

[0088] Figure 4 An example schematic diagram of a resource sharing process according to an embodiment of the present disclosure is schematically shown.

[0089] like Figure 4 As shown, in 400 , in response to receiving a resource sharing request 401 from a client, the resource sharing request 401 may include an object identifier 4011 and information 4012 about resources to be shared.

[0090] In one example, a block identifier for identifying block 4021 can be determined from at least one candidate block identifier included in blockchain 402 according to object identifier 4011. After obtaining block 4021, resource information 4012 to be shared can be verified, and operation S410 is performed. In operation S410, does resource information 4012 to be shared pass the verification? If so, resource information 4012 to be shared and a resource identifier for uniquely identifying resource information to be shared can be associated and stored in block 4021 corresponding to the block identifier. If not, the process can be terminated.

[0091] According to an embodiment of the present disclosure, operation S210 may include the following operations.

[0092] According to the object identifier, a block identifier is determined from at least one candidate block identifier. According to the block identifier, reference object information is obtained from the target block. Based on the reference object information, the object information is verified to obtain a verification result, wherein if the object information and the reference object information match, the verification result indicates that the object information has passed the verification; if the object information and the reference object information do not match, the verification result indicates that the object information has not passed the verification.

[0093] According to an embodiment of the present disclosure, after the blockchain network detects that a transaction has occurred, that is, after receiving a resource acquisition request, the object information corresponding to the transaction can be verified. If the verification is successful, the information related to the transaction can be added to the block corresponding to the object identifier.

[0094] In one example, after receiving a resource acquisition request, a block identifier can be determined from at least one candidate block identifier based on the object identifier in the resource acquisition request, and the block corresponding to the block identifier is the block related to the user corresponding to the object identifier. After obtaining the block identifier, the pre-stored reference object information can be obtained from the target block corresponding to the block identifier. On this basis, the object information can be verified based on the reference object information to obtain a verification result. For example, the reference object information can include reference identity information. The verification method can be configured according to actual business needs and is not limited here. For example, the verification method can include whether the identity information in the object information matches the reference identity information in the reference object information.

[0095] According to the embodiments of the present disclosure, by determining the block identifier according to the object identifier and obtaining the reference object information from the corresponding block, it is possible to ensure that the verification standard used is accurate and reliable. On this basis, by verifying the object information based on the reference information, it is ensured that the verification result can be automatically obtained and the accuracy of the verification result is improved.

[0096] According to an embodiment of the present disclosure, operation S220 may include the following operations.

[0097] Based on the resource identifier, a target smart contract is determined from at least one candidate smart contract. Based on a preset processing logic corresponding to the target smart contract, the resource information to be obtained is processed to obtain a resource value to be delivered.

[0098] According to an embodiment of the present disclosure, at least one candidate smart contract may be stored in a blockchain network, each candidate smart contract may have a related resource identifier, and each smart contract may have a preset processing logic.

[0099] According to an embodiment of the present disclosure, knowledge payment may refer to the process in which a user obtains specific knowledge content or services by paying. Knowledge payment may be implemented through a smart contract, that is, the knowledge payment settlement is automatically paid through a smart contract, and the smart contract can be automatically triggered when the payment is made. The blockchain network may pre-store at least one candidate resource identifier and a candidate smart contract corresponding to each candidate resource identifier. The resource identifier in the resource acquisition request may be matched with at least one candidate resource identifier to facilitate determining a target smart contract corresponding to the resource identifier in at least one candidate smart contract.

[0100] According to an embodiment of the present disclosure, after determining the target smart contract, the resource value to be delivered related to the resource information to be acquired can be determined based on the preset processing logic corresponding to the target smart contract. The resource value to be delivered can be used to represent the exchange that the user needs to provide in order to obtain the resource information corresponding to the resource identifier.

[0101] According to the embodiments of the present disclosure, by selecting a target smart contract from multiple candidate smart contracts according to a resource identifier, and using the preset processing logic corresponding to the target smart contract to process the resource information to be acquired, the resource value to be delivered is finally obtained, thereby realizing intelligent processing of resource information and ensuring the security and reliability of the processing process of the resource information to be acquired. In addition, the instant execution feature of the smart contract also shortens the processing time and further improves the efficiency of information processing.

[0102] According to an embodiment of the present disclosure, the information processing method 200 may further include the following operations.

[0103] Determine the resource value difference between the delivered resource value and the to-be-delivered resource value. If the resource value difference is less than a predetermined threshold, determine that the delivered resource value and the to-be-delivered resource value do not meet the predetermined condition. If the resource value difference is greater than or equal to the predetermined threshold, determine that the delivered resource value and the to-be-delivered resource value meet the predetermined condition.

[0104] According to an embodiment of the present disclosure, in the event that a user fails to abide by the contract or is suspected of deceiving other users, the blockchain network will automatically terminate the transaction and automatically cancel the transaction, thereby eliminating the need to rely on a central server or a third-party trust agency. The predetermined condition can be configured according to actual business needs and is not limited here. For example, the predetermined condition can be set to whether the difference in resource value between the delivered resource value and the to-be-delivered resource value is greater than or equal to a predetermined threshold. The predetermined threshold can be configured according to actual business needs and is not limited here. For example, the predetermined threshold can be set to 0.

[0105] For example, when the resource value difference is less than 0, it can be determined that the delivered resource value and the to-be-delivered resource value do not meet the predetermined condition. Alternatively, when the resource value difference is greater than or equal to 0, it is determined that the delivered resource value and the to-be-delivered resource value meet the predetermined condition.

[0106] According to the embodiments of the present disclosure, by comparing the resource value difference between the delivered resource value and the to-be-delivered resource value, and judging whether the predetermined conditions are met based on the comparison result of this difference with the predetermined threshold, comprehensive technical support is provided for the resource delivery process, which helps to improve the efficiency and security of resource delivery, reduce potential risks, and provide a strong basis for users' decision-making.

[0107] Figure 5 An example schematic diagram of an information processing process according to an embodiment of the present disclosure is schematically shown.

[0108] like Figure 5 As shown, in 500, a block identifier 503 can be determined from at least one candidate block identifier 502 according to an object identifier 501. According to the block identifier 503, reference object information 504 is obtained from the target block. Based on the reference object information 504, the object information 505 is verified to obtain a verification result 506. After obtaining the verification result 506, operation S510 can be performed.

[0109] In operation S510, does the verification result indicate that the object information has passed the verification? If not, the process can be terminated. If so, the target smart contract 509 can be determined in at least one candidate smart contract 508 based on the resource identifier 507. Based on the preset processing logic 510 corresponding to the target smart contract 509, the resource information 511 to be obtained is processed to obtain the resource value 512 to be delivered. The resource value difference 514 between the delivered resource value 513 and the resource value 512 to be delivered is determined. After obtaining the resource value difference 514, operation S520 can be performed.

[0110] In operation S520, is the resource value difference less than a predetermined threshold? If not, the process can be terminated. If yes, a source block 515 can be determined from at least one candidate block included in the blockchain network based on the resource identifier 507, and resource information 516 can be obtained from the source block 515 according to the resource identifier 507.

[0111] According to an embodiment of the present disclosure, the information processing method 200 may further include the following operations.

[0112] In response to receiving the information query request, a target block is determined from at least one candidate block according to an object identifier included in the information query request, wherein the information query request also includes a client identifier. Object information and transaction information corresponding to the object identifier obtained from the target block are sent to a client corresponding to the client identifier.

[0113] According to an embodiment of the present disclosure, the code for generating an information query request may be pre-written into the fourth script. In response to detecting an input operation or a click operation by a user, the client may run the fourth script to generate an information query request message according to the object identifier and the client identifier obtained through the input operation or the click operation. The client may send the information query request message to the server, so that the server may obtain the object information and transaction information corresponding to the object identifier from the target block related to the object identifier according to the object identifier in the information query request message.

[0114] According to an embodiment of the present disclosure, transaction information may include at least one of the following: browsing content and payment transactions. Each block in the blockchain network has a timestamp and a hash value as a mark, thereby forming a traceable chain structure. Since the blockchain network uses a decentralized distributed database, the data on each block can be distributed through the entire network of nodes, thereby achieving data fairness and transparency.

[0115] According to the embodiments of the present disclosure, by determining the target block in the candidate blocks according to the object identifier, blind search in the entire blockchain network is avoided, thereby improving the efficiency and response speed of information query. By sending the object information and transaction information related to the object identifier to the corresponding client, the client corresponding to the client identifier is transmitted, thereby ensuring the security and privacy of the information during the transmission process.

[0116] The above are only exemplary embodiments, but are not limited thereto and may also include other information processing methods known in the art as long as the automation, security and accuracy of the resource acquisition process can be ensured.

[0117] Figure 6 The flowchart of an information processing method according to another embodiment of the present disclosure is schematically shown.

[0118] like Figure 6 As shown, the information processing method 600 includes operations S610 to S630.

[0119] In operation S610, in response to detecting that a resource acquisition button of the front-end interface is triggered, a resource identifier and object information are acquired.

[0120] In operation S620, a resource acquisition request is generated according to the resource identifier and the object information.

[0121] In operation S630, a resource acquisition request is sent to the blockchain network so that the blockchain network can obtain resource information corresponding to the resource identifier if the object information passes the verification.

[0122] In an embodiment of the present disclosure, before acquiring the object information, the user's consent or authorization may be obtained. For example, before operation S610, a request to acquire the object information may be issued to the user. When the user agrees or authorizes that the object information may be acquired, operation S610 is performed.

[0123] In the embodiments of the present disclosure, a corresponding operation entry may be provided for the user to choose to agree or reject the automated decision result. That is, before generating a resource acquisition request based on the resource identifier and object information, an instruction of the user to agree or reject the processing / decision input through the corresponding operation entry may be obtained. If the user agrees to process / decision, a resource acquisition request is generated based on the resource identifier and object information, and step S620 is executed. If the user refuses to process / decision, the expert decision process is entered.

[0124] According to an embodiment of the present disclosure, the front-end interface can be used to implement data interaction between the user front-end and the blockchain network back-end. The user's object registration, resource sharing, resource acquisition and other related operation data will call the database to be stored in the blockchain network. The front-end interface can provide an object registration button, a resource sharing button and a resource acquisition button. The object registration button can be used for the user to perform an object registration operation and initiate an object registration request. The resource sharing button can be used for the user to perform a resource sharing operation and initiate a resource sharing request. The resource acquisition button can be used for the user to perform a resource acquisition operation and initiate a resource acquisition request.

[0125] According to the embodiments of the present disclosure, through the resource acquisition button on the front-end interface, users can easily trigger the resource acquisition process without in-depth understanding of complex blockchain technology or commands, thereby improving the convenience and friendliness of user operations, and further improving the efficiency and convenience of information processing.

[0126] Figure 7 An example schematic diagram of an information processing process according to another embodiment of the present disclosure is schematically shown.

[0127] like Figure 7 As shown, in 700, the information processing process may include S701 to S712.

[0128] In operation S701, the client may send an object registration request to the blockchain network.

[0129] In operation S702, after receiving the object registration request, the blockchain network may create a candidate block and connect to the blockchain network.

[0130] In operation S703, the client may send a resource sharing request to the blockchain network.

[0131] In operation S704, after receiving the resource sharing request, the blockchain network may determine a block identifier.

[0132] In operation S705, the blockchain network may associate the to-be-shared resource information and the resource identifier and store them in a block corresponding to the block identifier.

[0133] In operation S706, the client may send a resource acquisition request to the blockchain network.

[0134] In operation S707, after receiving the resource acquisition request, the blockchain network can verify the object information according to preset verification rules to obtain a verification result.

[0135] In operation S708, when the verification result indicates that the object information has passed the verification, the blockchain network can determine the resource value to be delivered related to the resource information to be obtained based on the target smart contract corresponding to the resource identifier.

[0136] In operation S709, the client may send the delivered resource value to the blockchain network.

[0137] In operation S710, after receiving the delivered resource value, the blockchain network may determine a source block from at least one candidate block included in the blockchain network based on the resource identifier.

[0138] In operation S711, the blockchain network may obtain resource information corresponding to the resource identifier from the source block.

[0139] In operation S711, the blockchain network may send resource information to the client.

[0140] According to the embodiments of the present disclosure, by combining blockchain technology with a forum communication management platform, blockchain technology is used as the underlying database, and smart contracts are used as the business logic processing layer of the system, and the two are combined to realize a forum communication management platform. The forum communication management platform based on blockchain can manage users. After the user successfully registers, he can post or comment, reply to posts, and pay to learn high-quality content. Data such as user information and post content are stored on the blockchain, and smart contracts are used to automatically execute when paying. It can effectively prevent the spread of false information and malicious attacks, ensure that data is not tampered with and that data is traceable, improve the quality and credibility of forum exchanges, and provide users with a reliable, safe, efficient and harmonious communication platform.

[0141] The above are merely exemplary embodiments, but are not limited thereto, and may also include other information processing methods known in the art, as long as they can improve the efficiency and convenience of information processing.

[0142] Figure 8 The block diagram schematically shows an information processing device according to an embodiment of the present disclosure.

[0143] like Figure 8 As shown, the information processing device 800, applied to a blockchain network, may include a verification module 810, a first determination module 820, a second determination module 830 and a first sending module 840.

[0144] The verification module 810 is used to verify the object information in the resource acquisition request in response to receiving the resource acquisition request from the client according to a preset verification rule to obtain a verification result, wherein the resource acquisition request also includes a resource identifier.

[0145] The first determination module 820 is used to determine the resource value to be delivered related to the resource information to be obtained based on the target smart contract corresponding to the resource identifier when the verification result indicates that the object information has passed the verification.

[0146] The second determination module 830 is used to determine a source block from at least one candidate block included in the blockchain network based on a resource identifier in response to the delivered resource value and the to-be-delivered resource value received from the client satisfying a predetermined condition.

[0147] The first sending module 840 is used to send the resource information corresponding to the resource identifier obtained from the source block to the client.

[0148] According to an embodiment of the present disclosure, the information processing device 800 may further include a creation module, a writing module, and a connection module.

[0149] The creation module is used to create a candidate block in response to receiving an object registration request from a client according to the object identifier to be registered in the object registration request, wherein the object registration request also includes reference object information, and each candidate block has a candidate block identifier.

[0150] The writing module is used to write the reference object information into the candidate block.

[0151] The connection module is used to connect the candidate block to the blockchain network.

[0152] According to an embodiment of the present disclosure, the information processing device 800 may further include a third determination module and an association storage module.

[0153] The third determination module is used to determine a block identifier from at least one candidate block identifier in response to receiving a resource sharing request from a client, according to an object identifier in the resource sharing request, wherein the resource sharing request also includes resource information to be shared, and the resource information to be shared is obtained by encrypting the original resource information based on a preset encryption algorithm corresponding to the object identifier.

[0154] The associated storage module is used for associating and storing the resource information to be shared and a resource identifier for uniquely identifying the resource information to be shared in a block corresponding to the block identifier in response to the resource information to be shared passing verification.

[0155] According to an embodiment of the present disclosure, the resource information to be shared is obtained by: generating a character string to be shared based on original resource information; and encrypting the character string to be shared based on a preset encryption algorithm to obtain the resource information to be shared.

[0156] According to an embodiment of the present disclosure, the object information includes an object identifier. The verification module 810 may include a first determination unit, an acquisition unit, and a verification unit.

[0157] The first determining unit is configured to determine a block identifier from at least one candidate block identifier according to the object identifier.

[0158] The acquisition unit is used to acquire the reference object information from the target block according to the block identifier.

[0159] The verification unit is used to verify the object information based on the reference object information to obtain a verification result, wherein when the object information and the reference object information match, the verification result indicates that the object information has passed the verification; when the object information and the reference object information do not match, the verification result indicates that the object information has not passed the verification.

[0160] According to an embodiment of the present disclosure, at least one candidate smart contract is stored in the blockchain network, each candidate smart contract has a related resource identifier, and each smart contract has a preset processing logic.

[0161] According to an embodiment of the present disclosure, the first determining module 820 may include a second determining unit and a processing unit.

[0162] The second determination unit is used to determine a target smart contract from at least one candidate smart contract based on the resource identifier.

[0163] The processing unit is used to process the resource information to be obtained based on the preset processing logic corresponding to the target smart contract to obtain the resource value to be delivered.

[0164] According to an embodiment of the present disclosure, the information processing device 800 may further include a fourth determination module, a fifth determination module and a sixth determination module.

[0165] The fourth determination module is used to determine the resource value difference between the delivered resource value and the to-be-delivered resource value.

[0166] The fifth determination module is used to determine that the delivered resource value and the to-be-delivered resource value do not meet the predetermined condition when the resource value difference is less than a predetermined threshold.

[0167] The sixth determination module is used to determine whether the delivered resource value and the to-be-delivered resource value meet a predetermined condition when the resource value difference is greater than or equal to a predetermined threshold.

[0168] According to an embodiment of the present disclosure, the information processing device 800 may further include a seventh determining module and a third sending module.

[0169] The seventh determination module is used to determine the target block in at least one candidate block in response to receiving the information query request and according to the object identifier included in the information query request, wherein the information query request also includes a client identifier.

[0170] The third sending module is used to send the object information and transaction information corresponding to the object identifier obtained from the target block to the client corresponding to the client identifier.

[0171] Fig. 9 A block diagram of an information processing device according to another embodiment of the present disclosure is schematically shown.

[0172] like Fig. 9 As shown, the information processing device 900, applied to a client, may include an acquisition module 910, a generation module 920 and a second sending module 930.

[0173] The acquisition module 910 is used to acquire the resource identifier and object information in response to detecting that the resource acquisition button on the front-end interface is triggered.

[0174] The generating module 920 is used to generate a resource acquisition request according to the resource identifier and the object information.

[0175] The second sending module 930 is used to send a resource acquisition request to the blockchain network so that the blockchain network can obtain resource information corresponding to the resource identifier when the object information passes the verification.

[0176] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

[0177] For example, any of the verification module 810, the first determination module 820, the second determination module 830 and the first sending module 840, or the acquisition module 910, the generation module 920 and the second sending module 930 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the verification module 810, the first determination module 820, the second determination module 830 and the first sending module 840, or the acquisition module 910, the generation module 920 and the second sending module 930 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, the verification module 810, the first determination module 820, the second determination module 830 and the first sending module 840, or the acquisition module 910, the generation module 920 and the second sending module 930 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be performed.

[0178] It should be noted that the information processing device part in the embodiments of the present disclosure corresponds to the information processing method part in the embodiments of the present disclosure. The description of the information processing device part specifically refers to the information processing method part, which will not be repeated here.

[0179] Fig.10 A block diagram of an electronic device suitable for implementing an information processing method according to an embodiment of the present disclosure is schematically shown. Fig.10 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0180] like Fig.10As shown, the computer electronic device 1000 according to the embodiment of the present disclosure includes a processor 1001, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage part 1009 to the random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 1001 may also include an onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.

[0181] In RAM 1003, various programs and data required for the operation of electronic device 1000 are stored. Processor 1001, ROM 1002 and RAM 1003 are connected to each other via bus 1004. Processor 1001 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1002 and / or RAM 1003. It should be noted that the program can also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0182] According to an embodiment of the present disclosure, the electronic device 1000 may further include an input / output (I / O) interface 1005, which is also connected to the bus 1004. The electronic device 1000 may further include one or more of the following components connected to the input / output (I / O) interface 1005: an input portion 1006 including a keyboard, a mouse, etc.; an output portion 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1008 including a hard disk, etc.; and a communication portion 1009 including a network interface card such as a LAN card, a modem, etc. The communication portion 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the input / output (I / O) interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage portion 1008 as needed.

[0183] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0184] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0185] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0186] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 1002 and / or the RAM 1003 described above and / or one or more memories other than the ROM 1002 and the RAM 1003 .

[0187] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains a program code for executing the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the information processing method provided by the embodiment of the present disclosure.

[0188] When the computer program is executed by the processor 1001, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0189] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 1009, and / or installed from the removable medium 1011. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0190] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0191] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0192] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. An information processing method, applied to a blockchain network, include: In response to receiving a resource acquisition request from a client, verifying the object information in the resource acquisition request according to a preset verification rule to obtain a verification result, wherein the resource acquisition request also includes a resource identifier; In a case where the verification result indicates that the object information has passed the verification, determining a resource value to be delivered related to the resource information to be acquired based on a target smart contract corresponding to the resource identifier; In response to the received delivered resource value and the to-be-delivered resource value from the client satisfying a predetermined condition, determining a source block from at least one candidate block included in the blockchain network based on the resource identifier; and The resource information corresponding to the resource identifier obtained from the source block is sent to the client.

2. The method according to claim 1 further comprises, in response to receiving the resource acquisition request from the client, verifying the object information in the resource acquisition request according to a preset verification rule, before obtaining the verification result: In response to receiving an object registration request from a client, creating a candidate block according to an identifier of the object to be registered in the object registration request, in, The object registration request further includes reference object information, and each of the candidate blocks has a candidate block identifier; Writing the reference object information into the candidate block; as well as Connecting the candidate block to the blockchain network.

3. The method according to claim 2, further comprising: include: In response to receiving a resource sharing request from the client, determining a block identifier from at least one of the candidate block identifiers according to an object identifier in the resource sharing request, wherein the resource sharing request further includes resource information to be shared, and the resource information to be shared is obtained by encrypting original resource information based on a preset encryption algorithm corresponding to the object identifier; and In response to the resource information to be shared passing verification, the resource information to be shared and a resource identifier for uniquely identifying the resource information to be shared are associated and stored in a block corresponding to the block identifier.

4. The method according to claim 3, It is characterized in that The resource information to be shared is obtained in the following manner: Based on the original resource information, generating a character string to be shared; and Based on the preset encryption algorithm, the character string to be shared is encrypted to obtain the resource information to be shared.

5. The method according to claim 2, It is characterized in that The object information includes an object identifier; In response to receiving a resource acquisition request from a client, the object information in the resource acquisition request is verified according to a preset verification rule, and the verification result obtained includes: Determine a block identifier from at least one of the candidate block identifiers according to the object identifier; According to the block identifier, acquiring the reference object information from the target block; and Based on the reference object information, the object information is verified to obtain the verification result, wherein, when the object information and the reference object information match, the verification result indicates that the object information has passed the verification; when the object information and the reference object information do not match, the verification result indicates that the object information has not passed the verification.

6. The method according to any one of claims 1 to 5, It is characterized in that At least one candidate smart contract is stored in the blockchain network, each of the candidate smart contracts has a related resource identifier, and each of the smart contracts has a preset processing logic; When the verification result indicates that the object information has passed the verification, determining the resource value to be delivered related to the resource information to be acquired based on the target smart contract corresponding to the resource identifier includes: Based on the resource identifier, determining the target smart contract from the at least one candidate smart contract; as well as Based on the preset processing logic corresponding to the target smart contract, the resource information to be acquired is processed to obtain the resource value to be delivered.

7. The method according to any one of claims 1 to 5, further comprising, in response to the received delivered resource value and the to-be-delivered resource value from the client satisfying a predetermined condition, before determining a source block in at least one candidate block included in the blockchain network based on the resource identifier: Determining a resource value difference between the delivered resource value and the to-be-delivered resource value; In the case where the resource value difference is less than a predetermined threshold, determining that the delivered resource value and the to-be-delivered resource value do not satisfy the predetermined condition; and In the case where the resource value difference is greater than or equal to the predetermined threshold, it is determined that the delivered resource value and the to-be-delivered resource value meet the predetermined condition.

8. The method according to claim 1, further comprising: include: In response to receiving an information query request, determining a target block from at least one candidate block according to an object identifier included in the information query request, wherein the information query request also includes a client identifier; and The object information and transaction information corresponding to the object identifier obtained from the target block are sent to the client corresponding to the client identifier.

9. An information processing method, applied to a client, include: In response to detecting that a resource acquisition button on the front-end interface is triggered, acquiring a resource identifier and object information; Generate a resource acquisition request according to the resource identifier and the object information; as well as The resource acquisition request is sent to the blockchain network so that the blockchain network can obtain resource information corresponding to the resource identifier when the object information passes the verification.

10. An information processing device, applied to a blockchain network, include: A verification module, configured to verify the object information in the resource acquisition request in response to receiving the resource acquisition request from the client according to a preset verification rule to obtain a verification result, wherein the resource acquisition request also includes a resource identifier; A first determination module, configured to determine, when the verification result indicates that the object information has passed the verification, a to-be-delivered resource value related to the resource information to be acquired based on a target smart contract corresponding to the resource identifier; A second determination module is configured to determine a source block from at least one candidate block included in the blockchain network based on the resource identifier in response to the delivered resource value and the to-be-delivered resource value received from the client satisfying a predetermined condition; and The first sending module is used to send the resource information corresponding to the resource identifier obtained from the source block to the client.

11. An information processing device, applied to a client, include: An acquisition module, configured to acquire a resource identifier and object information in response to detecting that a resource acquisition button on the front-end interface is triggered; A generating module, used for generating a resource acquisition request according to the resource identifier and the object information; as well as The second sending module is used to send the resource acquisition request to the blockchain network, so that the blockchain network can obtain resource information corresponding to the resource identifier when the object information passes the verification.

12. An electronic device, include: one or more processors; a memory for storing one or more computer programs, The method comprises the step of executing the one or more computer programs to implement the steps of the method according to any one of claims 1 to 8 or claim 9.

13. A computer-readable storage medium having a computer program or instruction stored thereon, It is characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 8 or claim 9 are implemented.

14. A computer program product comprising a computer program or instructions, It is characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 8 or claim 9 are implemented.