[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114328731A - Information processing method, device, electronic equipment and storage medium - Google Patents

Information processing method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114328731A
CN114328731A CN202111628937.XA CN202111628937A CN114328731A CN 114328731 A CN114328731 A CN 114328731A CN 202111628937 A CN202111628937 A CN 202111628937A CN 114328731 A CN114328731 A CN 114328731A
Authority
CN
China
Prior art keywords
transaction
information
transaction information
request
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111628937.XA
Other languages
Chinese (zh)
Inventor
万春辉
魏志民
金彤
代栩楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111628937.XA priority Critical patent/CN114328731A/en
Publication of CN114328731A publication Critical patent/CN114328731A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本公开提供了一种信息处理方法、装置、电子设备和存储介质,涉及区块链技术领域,具体涉及云计算技术领域和云服务技术领域。信息处理方法的具体实现方式为:响应于接收到第一交易信息,将包括第一交易信息的第一交易请求添加至缓存队列;响应于区块链网络处于空闲状态,从缓存队列中获取未处理的第二交易请求;以及将第二交易请求发送至区块链网络,以将第二交易请求包括的第二交易信息存储至区块链。

Figure 202111628937

The present disclosure provides an information processing method, an apparatus, an electronic device and a storage medium, and relates to the technical field of blockchain, and in particular to the technical field of cloud computing and cloud service technology. The specific implementation of the information processing method is as follows: in response to receiving the first transaction information, adding the first transaction request including the first transaction information to the cache queue; in response to the blockchain network being in an idle state, obtaining unidentified information from the cache queue. processing the second transaction request; and sending the second transaction request to the blockchain network to store the second transaction information included in the second transaction request to the blockchain.

Figure 202111628937

Description

信息处理方法、装置、电子设备和存储介质Information processing method, apparatus, electronic device and storage medium

技术领域technical field

本公开涉及区块链技术领域,具体涉及云计算和云服务技术领域,尤其涉及一种信息处理方法、装置、电子设备和存储介质。The present disclosure relates to the technical field of blockchain, in particular to the technical field of cloud computing and cloud services, and in particular to an information processing method, apparatus, electronic device and storage medium.

背景技术Background technique

随着互联网和计算机技术的加速发展,数字经济的发展逐渐加快、辐射范围逐渐加大、影响程度逐渐加深,这也为信息的可靠传递提出了更高的要求。传统的互联网主要采用复制的形式来做信息传输,该方式不适于数字经济中数字资产的转移。With the accelerated development of the Internet and computer technology, the development of the digital economy has gradually accelerated, the scope of radiation has gradually increased, and the degree of influence has gradually deepened, which also puts forward higher requirements for the reliable transmission of information. The traditional Internet mainly uses the form of copying for information transmission, which is not suitable for the transfer of digital assets in the digital economy.

发明内容SUMMARY OF THE INVENTION

基于此,本公开提供了一种提高用户体验的信息处理方法、装置、电子设备和存储介质。Based on this, the present disclosure provides an information processing method, apparatus, electronic device and storage medium for improving user experience.

根据本公开的一个方面,提供了一种信息处理方法,包括:响应于接收到第一交易信息,将包括第一交易信息的第一交易请求添加至缓存队列;响应于区块链网络处于空闲状态,从缓存队列中获取未处理的第二交易请求;以及将第二交易请求发送至区块链网络,以将第二交易请求包括的第二交易信息存储至区块链。According to one aspect of the present disclosure, there is provided an information processing method, comprising: in response to receiving the first transaction information, adding a first transaction request including the first transaction information to a cache queue; in response to the blockchain network being idle state, obtain the unprocessed second transaction request from the cache queue; and send the second transaction request to the blockchain network, so as to store the second transaction information included in the second transaction request to the blockchain.

根据本公开的另一个方面,提供了一种信息处理装置,包括:请求添加模块,用于响应于接收到第一交易信息,将包括第一交易信息的第一交易请求添加至缓存队列;请求获取模块,用于响应于区块链网络处于空闲状态,从缓存队列中获取未处理的第二交易请求;以及请求发送模块,用于将第二交易请求发送至区块链网络,以将第二交易请求包括的第二交易信息存储至区块链。According to another aspect of the present disclosure, there is provided an information processing apparatus, comprising: a request adding module for, in response to receiving the first transaction information, adding a first transaction request including the first transaction information to a cache queue; requesting The obtaining module is used for obtaining the unprocessed second transaction request from the cache queue in response to the block chain network being in an idle state; and the request sending module is used for sending the second transaction request to the block chain network, so as to send the first transaction request to the block chain network. The second transaction information included in the second transaction request is stored in the blockchain.

根据本公开的另一个方面,提供了一种电子设备,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行本公开提供的信息处理方法。According to another aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor. The at least one processor executes so that the at least one processor can execute the information processing method provided by the present disclosure.

根据本公开的另一个方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,计算机指令用于使计算机执行本公开提供的信息处理方法。According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the information processing method provided by the present disclosure.

根据本公开的另一个方面,提供了一种计算机程序产品,包括计算机程序/指令,所述计算机程序/指令在被处理器执行时实现本公开提供的信息处理方法的步骤。According to another aspect of the present disclosure, a computer program product is provided, comprising computer programs/instructions, the computer program/instructions, when executed by a processor, implement the steps of the information processing method provided by the present disclosure.

应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or critical features of embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.

附图说明Description of drawings

附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used for better understanding of the present solution, and do not constitute a limitation to the present disclosure. in:

图1是根据本公开实施例的信息处理方法和装置的应用场景示意图;1 is a schematic diagram of an application scenario of an information processing method and apparatus according to an embodiment of the present disclosure;

图2是根据本公开实施例的信息处理方法的流程示意图;2 is a schematic flowchart of an information processing method according to an embodiment of the present disclosure;

图3是根据本公开实施例的信息处理方法的原理示意图;3 is a schematic diagram of the principle of an information processing method according to an embodiment of the present disclosure;

图4是根据本公开另一实施例的信息处理方法的原理示意图;FIG. 4 is a schematic diagram of the principle of an information processing method according to another embodiment of the present disclosure;

图5是根据本公开实施例的实施信息处理方法的服务端的结构框图;5 is a structural block diagram of a server implementing an information processing method according to an embodiment of the present disclosure;

图6是根据本公开实施例的信息处理装置的结构框图;以及6 is a structural block diagram of an information processing apparatus according to an embodiment of the present disclosure; and

图7是用来实施本公开实施例的信息处理方法的电子设备的框图。FIG. 7 is a block diagram of an electronic device used to implement the information processing method of an embodiment of the present disclosure.

具体实施方式Detailed ways

以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

本公开提供了一种信息处理方法,包括请求添加阶段、请求获取阶段和请求发送阶段。在请求添加阶段中,响应于接收到第一交易信息,将包括第一交易信息的第一交易请求添加至缓存队列。在请求获取阶段中,响应于区块链网络处于空闲状态,从缓存队列中获取未处理的第二交易请求。在请求发送阶段中,将第二交易请求发送至区块链网络,以将第二交易请求包括的第二交易信息存储至区块链。The present disclosure provides an information processing method, including a request adding stage, a request obtaining stage and a request sending stage. In the request adding phase, in response to receiving the first transaction information, a first transaction request including the first transaction information is added to the cache queue. In the request acquisition phase, in response to the blockchain network being in an idle state, an unprocessed second transaction request is acquired from the cache queue. In the request sending stage, the second transaction request is sent to the blockchain network, so as to store the second transaction information included in the second transaction request to the blockchain.

以下将结合图1对本公开提供的方法和装置的应用场景进行描述。The application scenarios of the method and apparatus provided by the present disclosure will be described below with reference to FIG. 1 .

图1是根据本公开实施例的信息处理方法和装置的应用场景示意图。FIG. 1 is a schematic diagram of an application scenario of an information processing method and apparatus according to an embodiment of the present disclosure.

如图1所示,该实施例的应用场景100中可以包括终端设备110、服务器120、区块链网络130和服务端140。As shown in FIG. 1 , the application scenario 100 of this embodiment may include a terminal device 110 , a server 120 , a blockchain network 130 and a server 140 .

终端设备110可以通过网络与服务器120通信连接,服务器120可以通过网络与区块链网络130中的区块链节点通信连接。或者服务器120可以通过网络与服务端140通信连接,以经由服务端140实现与区块链网络130的通信。区块链网络130中可以包括多个区块链节点,该多个区块链节点彼此之间通过网络通信连接。其中,网络可以包括有线或无线通信链路。The terminal device 110 may communicate with the server 120 through the network, and the server 120 may communicate with the blockchain nodes in the blockchain network 130 through the network. Alternatively, the server 120 may be communicatively connected to the server 140 through a network, so as to implement communication with the blockchain network 130 via the server 140 . The blockchain network 130 may include multiple blockchain nodes, and the multiple blockchain nodes are connected to each other through network communication. Among other things, the network may include wired or wireless communication links.

终端设备110可以为智能手机、平板电脑、膝上型便捷计算机或台式计算机等。该终端设备110上可以安装有游戏类应用、购物类应用、影音播放类应用等。用户例如可以采用终端设备110使用各种类型的应用,用户例如还可以在至少一个应用中持有数字资产。该数字资产可以为游戏道具、电子艺术品、出售房屋对应的非同质化通证等。The terminal device 110 may be a smart phone, a tablet computer, a laptop convenient computer, or a desktop computer, or the like. The terminal device 110 may be installed with game applications, shopping applications, audio and video playback applications, and the like. For example, the user can use the terminal device 110 to use various types of applications, and the user can also hold digital assets in at least one application, for example. The digital assets can be game props, electronic artworks, non-homogeneous tokens corresponding to the sale of houses, etc.

服务器120例如可以为支持终端设备110中应用运行的后台管理服务器。用户例如可以通过终端设备110发起数字资产的交易请求,以使得区块链网络的其他用户可以查看其数字资产,并进行数字资产的转移交易。例如,终端设备110可以响应于用户操作,经由后台管理服务器120向服务端140发送交易信息,服务端140可以将该交易信息转发给区块链网络130,以使得区块链网络130根据数字资产的交易信息生成区块,并添加至区块链,实现数字资产的去中心化的登记和转移。The server 120 may be, for example, a background management server that supports the running of applications in the terminal device 110 . For example, a user can initiate a digital asset transaction request through the terminal device 110, so that other users of the blockchain network can view their digital assets and conduct digital asset transfer transactions. For example, the terminal device 110 can send transaction information to the server 140 via the background management server 120 in response to a user operation, and the server 140 can forward the transaction information to the blockchain network 130, so that the blockchain network 130 can use the digital assets The transaction information is generated into blocks and added to the blockchain to realize the decentralized registration and transfer of digital assets.

服务端140例如可以为软件即服务(Software as a Service,SaaS)平台、后端即服务(Backend as a Service,BaaS)平台等。该服务端140例如可以提供基于区块链技术的企业级平台服务,以为数字资产的交易提供可靠性服务。The server 140 may be, for example, a Software as a Service (Software as a Service, SaaS) platform, a Backend as a Service (Backend as a Service, BaaS) platform, or the like. The server 140 may, for example, provide enterprise-level platform services based on blockchain technology, so as to provide reliability services for digital asset transactions.

在一实施例中,服务端140例如可以维护终端设备中至少两个应用的账户,为该至少两个应用提供区块链账户。终端设备例如可以经由该区块链账户来发起交易请求。服务端140还可以接入资产监管机构等,以核实请求交易的各数字资产的合法性,仅允许对合法的数字资产发起交易请求。如此,通过服务端140的设置,可以利于数字经济的健康发展。In one embodiment, the server 140 may, for example, maintain accounts of at least two applications in the terminal device, and provide blockchain accounts for the at least two applications. The terminal device may, for example, initiate a transaction request via the blockchain account. The server 140 may also be connected to an asset supervision agency, etc., to verify the legitimacy of each digital asset requested to be traded, and only allow a transaction request to be initiated for legal digital assets. In this way, through the setting of the server 140, the healthy development of the digital economy can be facilitated.

区块链网络130例如可以通过分布式账本和拜占庭容错共识,结合密码学和点对点通信等技术,来实现对数字资产的去中心化管理。For example, the blockchain network 130 can realize decentralized management of digital assets through distributed ledgers and Byzantine fault-tolerant consensus, combined with technologies such as cryptography and peer-to-peer communication.

根据本公开的实施例,终端设备110还可以响应于用户操作发送查询请求,以从区块链网络130维护的区块链中查询历史交易信息。According to an embodiment of the present disclosure, the terminal device 110 may also send a query request in response to a user operation to query historical transaction information from the blockchain maintained by the blockchain network 130 .

根据本公开的实施例,在服务器120直接与区块链网络130通信连接的情况下,服务器120还可以直接将用户通过终端设备110发起的数字资产的交易请求发送给区块链网络130。为了解决交易信息上链的不确定性,服务器120可以在等待预定数量个出块时间后,确定交易信息存储成功,随后再向区块链网络130发送新的交易请求。According to an embodiment of the present disclosure, when the server 120 is directly connected to the blockchain network 130 in communication, the server 120 may also directly send the digital asset transaction request initiated by the user through the terminal device 110 to the blockchain network 130 . In order to solve the uncertainty of the transaction information on the chain, the server 120 may wait for a predetermined number of block generation times, determine that the transaction information is stored successfully, and then send a new transaction request to the blockchain network 130 .

需要说明的是,本公开所提供的一种信息处理方法一般可以由服务端140执行。相应地,本公开所提供的一种信息处理装置可以设置在服务端140中。It should be noted that an information processing method provided by the present disclosure may generally be executed by the server 140 . Correspondingly, an information processing apparatus provided by the present disclosure may be provided in the server 140 .

应该理解,图1中的终端设备、服务器、服务端和区块链网络的数目和类型仅仅是示意性的。根据实现需要,可以具有任意数目和类型的终端设备、服务器、服务端和区块链网络。It should be understood that the numbers and types of terminal devices, servers, servers and blockchain networks in FIG. 1 are merely illustrative. Depending on the implementation needs, there can be any number and type of terminal devices, servers, servers, and blockchain networks.

以下将结合图1,通过图2~图5对本公开提供的信息处理方法进行详细描述。The information processing method provided by the present disclosure will be described in detail below with reference to FIG. 1 and FIG. 2 to FIG. 5 .

图2是根据本公开实施例的信息处理方法的流程示意图。FIG. 2 is a schematic flowchart of an information processing method according to an embodiment of the present disclosure.

如图2所示,该实施例的信息处理方法200可以包括操作S210~操作S230。该信息处理方法200可以由服务端执行,具体可以由各种类型的云平台执行,本公开对此不做限定。As shown in FIG. 2 , the information processing method 200 of this embodiment may include operations S210 to S230. The information processing method 200 may be executed by a server, and specifically may be executed by various types of cloud platforms, which are not limited in the present disclosure.

在操作S210,响应于接收到第一交易信息,将包括第一交易信息的第一交易请求添加至缓存队列。In operation S210, in response to receiving the first transaction information, a first transaction request including the first transaction information is added to the cache queue.

根据本公开的实施例,第一交易信息可以是用户使用区块链账户经由终端设备发送的。该第一交易信息例如可以包括需要发布至区块链的数字资产的信息,或者可以包括需要转移的数字资产的信息。数字资产的信息例如可以包括资产持有者账户、资产描述信息、资产类别、资产交易类型等信息。可以理解的是,需要发布至区块链的信息除了数字资产外,还可以为任意的可交易对象,本公开对此不做限定。According to an embodiment of the present disclosure, the first transaction information may be sent by a user via a terminal device using a blockchain account. The first transaction information may include, for example, information about digital assets that need to be published on the blockchain, or may include information about digital assets that need to be transferred. The information of digital assets may include, for example, asset holder account, asset description information, asset class, asset transaction type and other information. It can be understood that the information that needs to be published to the blockchain can be any tradable object in addition to digital assets, which is not limited in this disclosure.

该实施例可以将第一交易信息作为第一交易请求,并将第一交易请求添加至缓存队列中。例如,服务端可以设置有缓存空间,用于缓存所有交易请求或者未处理的交易请求。未处理的交易请求包括未发送给区块链网络的交易请求,以及所包括的交易信息未成功存储至区块链的交易请求。In this embodiment, the first transaction information may be used as the first transaction request, and the first transaction request may be added to the cache queue. For example, the server may be provided with a cache space for caching all transaction requests or unprocessed transaction requests. Unprocessed transaction requests include transaction requests that are not sent to the blockchain network, and transaction requests that include transaction information that is not successfully stored in the blockchain.

在操作S220,响应于区块链网络处于空闲状态,从缓存队列中获取未处理的第二交易请求。In operation S220, in response to the blockchain network being in an idle state, the unprocessed second transaction request is obtained from the cache queue.

根据本公开的实施例,服务端可以在向区块链网络发送交易请求后的预定时长后,确定区块链网络处于空闲状态。或者,服务端可以在接收到区块链网络针对最新发送的交易请求中的交易信息而反馈的溯源码后,确定区块链网络处于空闲状态。其中,预定时长可以为n个区块时间,n为大于1的整数,n的取值可以根据实际需求来设定,区块时间可以根据区块链网络中区块链节点的平均算力等来确定。According to the embodiment of the present disclosure, the server may determine that the blockchain network is in an idle state after a predetermined period of time after sending the transaction request to the blockchain network. Alternatively, the server may determine that the blockchain network is in an idle state after receiving the traceability source code fed back by the blockchain network for the transaction information in the newly sent transaction request. Among them, the predetermined duration can be n block times, n is an integer greater than 1, the value of n can be set according to actual needs, and the block time can be based on the average computing power of the blockchain nodes in the blockchain network, etc. to make sure.

根据本公开的实施例,缓存队列中的交易请求可以根据接收顺序自前至后依次排列,且该缓存队列中可以仅存储有未处理的交易请求。则该实施例可以从缓存队列中获取排在最靠前位置的交易请求作为第二交易请求。或者,可以根据缓存队列中状态为未处理状态的交易请求的时间戳,获取接收时间最早的交易请求作为第二交易请求。According to the embodiment of the present disclosure, the transaction requests in the cache queue may be arranged from front to back according to the receiving order, and only unprocessed transaction requests may be stored in the cache queue. Then, in this embodiment, the transaction request in the highest position may be obtained from the cache queue as the second transaction request. Alternatively, the transaction request with the earliest reception time may be acquired as the second transaction request according to the timestamp of the transaction request in the unprocessed state in the cache queue.

例如,服务端可以在确定发送的交易请求包括的交易信息被成功存储至区块链后,将该发送的交易请求从缓存队列中移除。或者,服务端可以为交易请求分配状态信息。例如,在将包括新接收的交易信息的交易请求添加至缓存队列后,未该新添加的交易请求分配表示未处理的状态信息,即确定该新添加的交易请求的状态为未处理状态。在确定发送的交易请求中的交易信息存储至区块链后,为该发送的交易请求分配表示已处理的状态信息,即将该发送的交易请求的状态由未处理状态更改为已处理状态。其中,服务端可以在接收到区块链网络针对该发送的交易请求中的交易信息而反馈的溯源码后,确定发送的交易请求中的交易信息存储至区块链。或者可以在发送该交易请求后的m个区块时间内未收到存储失败信息,则确定发送的交易请求中的交易信息存储至区块链。For example, the server may remove the sent transaction request from the cache queue after determining that the transaction information included in the sent transaction request has been successfully stored in the blockchain. Alternatively, the server can assign status information to the transaction request. For example, after a transaction request including the newly received transaction information is added to the cache queue, the newly added transaction request is not assigned state information indicating unprocessed, that is, the state of the newly added transaction request is determined to be an unprocessed state. After it is determined that the transaction information in the sent transaction request is stored in the blockchain, the sent transaction request is assigned state information indicating that it has been processed, that is, the state of the sent transaction request is changed from the unprocessed state to the processed state. The server can determine that the transaction information in the sent transaction request is stored in the blockchain after receiving the traceability source code fed back by the blockchain network for the transaction information in the sent transaction request. Alternatively, if no storage failure information is received within m blocks after the transaction request is sent, it is determined that the transaction information in the sent transaction request is stored in the blockchain.

在操作S230,将第二交易请求发送至区块链网络,以将第二交易请求包括的第二交易信息存储至区块链。In operation S230, the second transaction request is sent to the blockchain network to store the second transaction information included in the second transaction request to the blockchain.

根据本公开的实施例,区块链网络可以在采用智能合约对第二交易请求进行校验后,将第二交易请求中的第二交易信息以区块形式添加至区块链。智能合约例如可以用于校验交易信息的完整性和真实性。该实施例可以结合共识机制来确定第二交易请求是否通过校验,共识机制例如可以为拜占庭共识等,本公开对此不做限定。According to the embodiment of the present disclosure, the blockchain network may add the second transaction information in the second transaction request to the blockchain in the form of blocks after verifying the second transaction request by using the smart contract. Smart contracts can be used, for example, to verify the integrity and authenticity of transaction information. In this embodiment, a consensus mechanism may be used to determine whether the second transaction request passes the verification. The consensus mechanism may be, for example, Byzantine consensus, which is not limited in the present disclosure.

例如,区块链网络中的区块链节点可以先对交易信息、时间信息和区块链中最新区块的加密数据进行加密,根据加密得到的数据作为新的区块添加至区块链的末端,从而完成交易信息的存储。For example, a blockchain node in a blockchain network can first encrypt transaction information, time information, and encrypted data of the latest block in the blockchain, and add the encrypted data as a new block to the blockchain. end, thereby completing the storage of transaction information.

其中,将第二交易信息以区块形式添加至区块链的区块链节点可以为以下节点:与交易请求账户所属应用关联的区块链节点或区块链网络中经由选举确定的作为共识节点的任一区块链节点。例如,区块链网络中的每个区块链节点可以关联终端设备中的至少一个应用,具体可以与该至少一个应用提供的区块链账户关联。Wherein, the blockchain node that adds the second transaction information to the blockchain in the form of blocks may be the following nodes: the blockchain node associated with the application to which the transaction request account belongs or the consensus determined through election in the blockchain network Any blockchain node of the node. For example, each blockchain node in the blockchain network may be associated with at least one application in the terminal device, and specifically may be associated with a blockchain account provided by the at least one application.

本公开实施例的信息处理方法,通过在发送交易信息的终端设备与存储交易信息的区块链网络设置服务端,并为交易请求设置缓存队列,可以使得用户无需等待最新提交的交易信息上链后再提交新的交易信息。从而可以降低因上链操作异步和不确定而给业务带来的复杂性,降低交易信息上链的成本,提高用户体验。In the information processing method of the embodiment of the present disclosure, by setting a server in a terminal device that sends transaction information and a blockchain network that stores transaction information, and setting a cache queue for transaction requests, users do not need to wait for the latest submitted transaction information to be uploaded to the chain. Then submit new transaction information. In this way, the complexity of the business caused by the asynchronous and uncertainty of the on-chain operation can be reduced, the cost of the transaction information on the chain can be reduced, and the user experience can be improved.

根据本公开的实施例,前述的任一交易请求可以为将数字资产发布至区块链的第一请求,还可以为将数字资产从第一区块链账户转移到第二区块链账户的第二请求。即,交易请求可以包括用于发布新的数字资产的请求,也可以包括用于授予或转移数字资产的请求。其中,交易请求中的交易信息可以由终端设备响应于用户操作而发送。According to an embodiment of the present disclosure, any of the aforementioned transaction requests may be a first request to publish digital assets to the blockchain, or may be a request to transfer digital assets from a first blockchain account to a second blockchain account Second request. That is, a transaction request can include a request to issue a new digital asset or a request to grant or transfer a digital asset. The transaction information in the transaction request may be sent by the terminal device in response to the user operation.

例如,数字资产可以为虚拟资产,也可以为实物资产对应的通证。数字资产可以为同质化通证,也可以为非同质化通证(Non-Fungible Token,NFT)。For example, digital assets can be virtual assets or tokens corresponding to physical assets. Digital assets can be either homogenized tokens or non-fungible tokens ( Non- Fungible Tokens, NFTs).

在一实施例中,前述接收的第一交易信息和任一交易请求包括的交易信息可以包括交易请求账户的签名和交易请求账户的公钥。以此避免该交易信息在服务端被篡改,保证交易信息转发的安全性。相应地,前述区块链节点在对交易请求进行校验时,可以调用智能合约,根据该交易请求中交易信息包括的签名和公钥来对交易信息进行校验。例如可以采用公钥对签名进行解密,若能够解密成功,则确定交易信息通过校验。In one embodiment, the aforementioned first transaction information received and the transaction information included in any transaction request may include the signature of the transaction request account and the public key of the transaction request account. In this way, the transaction information is prevented from being tampered with on the server side, and the security of the transaction information forwarding is ensured. Correspondingly, when verifying the transaction request, the aforementioned blockchain node can call the smart contract to verify the transaction information according to the signature and the public key included in the transaction information in the transaction request. For example, the public key can be used to decrypt the signature, and if the decryption is successful, it is determined that the transaction information has passed the verification.

以交易请求为将数字资产发布至区块链的第一请求为例,本公开可以对各种类型的待发布的数字资产进行标准化表示,以便于区块链网络能够根据终端设备发送的交易信息进行不同类型数字资产之间的交易流通。例如,标准化表示中,可以包括数字资产的编号、数字资产的份数、数字资产的描述信息、用于签名去重的唯一随机数、发布数字资产的区块链账户、发布数字资产的区块链账户的公钥、发布数字资产的区块链账户的签名等。可以理解的是,该标准化表示中包括的信息可以根据实际需求进行设定,本公开对此不做限定。例如,终端设备发送的交易信息包括该数字资产的标准化表示。Taking the transaction request as the first request to publish the digital asset to the blockchain as an example, the present disclosure can standardize the representation of various types of digital assets to be published, so that the blockchain network can be based on the transaction information sent by the terminal device. Carry out transactions and circulation between different types of digital assets. For example, the standardized representation can include the serial number of the digital asset, the number of copies of the digital asset, the description information of the digital asset, the unique random number used for signature deduplication, the blockchain account for publishing the digital asset, and the block for publishing the digital asset. The public key of the chain account, the signature of the blockchain account that publishes digital assets, etc. It can be understood that the information included in the standardized representation can be set according to actual requirements, which is not limited in the present disclosure. For example, the transaction information sent by the terminal device includes a standardized representation of the digital asset.

其中,数字资产的编号和唯一随机数例如可以由区块链账户所属应用分配。数字资产的编号例如可以包括有应用的标识,以此保证编号的全局唯一性。签名例如可以通过采用区块链账户的私钥来对采用数字摘要技术而得到的交易信息的字符串和唯一随机数加密而得到。其中,可以采用椭圆曲线加密算法来进行加密,本公开对此不做限定。数字资产的描述信息可以包括数字资产的标题、数字资产的类别、数字资产的获取地址、数字资产的图片信息和/或数字资产的文本信息等。该数字资产的描述信息可以根据实际需求来选择,本公开对此不做限定。需要说明的是,在数字资产为非同质化通证时,标准化表示例如还可以包括数字资产中每一份子资产的编号。Among them, the serial number and unique random number of the digital asset can be allocated by the application to which the blockchain account belongs, for example. The serial number of the digital asset may include, for example, the identifier of the application, so as to ensure the global uniqueness of the serial number. The signature can be obtained, for example, by encrypting a string and a unique random number of transaction information obtained by using the digital digest technique using the private key of the blockchain account. Wherein, an elliptic curve encryption algorithm may be used for encryption, which is not limited in the present disclosure. The description information of the digital asset may include the title of the digital asset, the category of the digital asset, the acquisition address of the digital asset, the picture information of the digital asset, and/or the text information of the digital asset, etc. The description information of the digital asset can be selected according to actual needs, which is not limited in this disclosure. It should be noted that when the digital asset is a non-fungible token, the standardized representation may also include, for example, the serial number of each sub-asset in the digital asset.

图3是根据本公开实施例的信息处理方法的原理示意图。FIG. 3 is a schematic diagram of the principle of an information processing method according to an embodiment of the present disclosure.

根据本公开的实施例,服务端例如还可以同步地存储区块链中存储的数据,并响应于区块链账户的查询请求,为区块链账户提供交易信息查询服务。如此,在区块链账户需要查询信息时,无需与区块链网络通信,可以降低数据读取的复杂性,并提高数据读取效率。同时可以避免因通信延迟而导致的无法读取到最新上链的交易数据的情况。According to the embodiment of the present disclosure, the server may also store data stored in the blockchain synchronously, for example, and provide transaction information query services for the blockchain account in response to a query request of the blockchain account. In this way, when the blockchain account needs to query information, there is no need to communicate with the blockchain network, which can reduce the complexity of data reading and improve the efficiency of data reading. At the same time, it can avoid the situation that the latest transaction data on the chain cannot be read due to communication delay.

如图3所示,该实施例300中,服务端320可以从区块链网络330处订阅事件,以使得区块链网络330在区块链添加了新的区块后向执行操作S331,向服务端320发送更新通知。如此,服务端320可以在接收到更新通知后,确定区块链被更新。As shown in FIG. 3 , in this embodiment 300, the server 320 may subscribe to events from the blockchain network 330, so that the blockchain network 330 performs operation S331 after adding a new block to the blockchain, and sends a new block to the blockchain network 330. The server 320 sends an update notification. In this way, the server 320 may determine that the blockchain is updated after receiving the update notification.

随后该服务端可以响应于区块链被更新,执行操作S321,获取更新后的区块链存储的交易信息。具体地,该服务端320可以先确定最近发送的交易请求中交易信息包括的数字资产编号,随后将包括该数字资产编号的查询请求发送给区块链网络330。区块链网络330响应于该查询请求,可以确定区块链中与查询请求匹配的最新区块,并执行操作S332,以将新增区块的信息发送给服务端320。如此,服务端320即可获取到更新后的区块链存储的交易信息,该交易信息为最新区块包括的交易信息。或者,服务端320可以向区块链网络330发送区块链同步请求,区块链网络330响应于该同步请求,将区块链发送给服务端320。如此,服务端320即可获取到更新后的区块链存储的交易信息,该交易信息为区块链中所有区块包括的交易信息。Then, in response to the blockchain being updated, the server may perform operation S321 to obtain transaction information stored in the updated blockchain. Specifically, the server 320 may first determine the digital asset number included in the transaction information in the recently sent transaction request, and then send the query request including the digital asset number to the blockchain network 330 . In response to the query request, the blockchain network 330 may determine the latest block in the blockchain that matches the query request, and perform operation S332 to send the information of the newly added block to the server 320 . In this way, the server 320 can obtain the transaction information stored in the updated blockchain, and the transaction information is the transaction information included in the latest block. Alternatively, the server 320 may send a blockchain synchronization request to the blockchain network 330, and the blockchain network 330 sends the blockchain to the server 320 in response to the synchronization request. In this way, the server 320 can obtain the updated transaction information stored in the blockchain, where the transaction information is transaction information included in all blocks in the blockchain.

在获取到交易信息后,服务端320可以存储获取的交易信息,以供区块链账户310查询。例如,服务端320可以采用获取的交易信息执行操作S322,以更新服务端320本地存储的交易信息。例如,服务端320可以将获取的交易信息中未存储至本地的交易信息存储至本地。可以理解的是,此处服务端获取的交易信息实质上为区块链中的区块,为前述交易请求中的交易信息加密后的信息。After acquiring the transaction information, the server 320 may store the acquired transaction information for the blockchain account 310 to query. For example, the server 320 may use the acquired transaction information to perform operation S322 to update the transaction information stored locally by the server 320 . For example, the server 320 may store the acquired transaction information, which is not stored locally, locally. It can be understood that the transaction information obtained by the server here is essentially a block in the blockchain, which is the encrypted information of the transaction information in the aforementioned transaction request.

在一实施例中,服务端320可以在接收到任一应用的任一区块链账户310通过执行操作S311而发送的信息查询请求后,可以根据该信息查询请求查询本地存储的交易信息,并通过操作S323来确定与信息查询请求匹配的目标信息。在确定目标信息后,通过执行操作S324来将目标信息发送给该任一区块链账户310。In one embodiment, after receiving an information query request sent by any blockchain account 310 of any application by performing operation S311, the server 320 may query the locally stored transaction information according to the information query request, and Target information matching the information query request is determined through operation S323. After the target information is determined, the target information is sent to any blockchain account 310 by performing operation S324.

根据本公开的实施例,区块链账户310发送的信息查询请求中,例如可以包括查询关键信息:区块链账户的账户标识或数字资产的编号等。服务端320例如可以将包括该查询关键信息的多个交易信息中最新获取的交易信息作为与目标信息。如此,区块链账户310在接收到该目标信息后,例如可以采用其私钥对交易信息进行解密,从而获取到交易信息的详细信息。可以理解的是,该确定的目标信息实质上为经区块链网络的记账节点加密后的交易信息。According to an embodiment of the present disclosure, the information query request sent by the blockchain account 310 may include, for example, query key information: the account identifier of the blockchain account or the serial number of the digital asset. For example, the server 320 may use the newly acquired transaction information among the plurality of transaction information including the query key information as the target information. In this way, after receiving the target information, the blockchain account 310 can, for example, use its private key to decrypt the transaction information, so as to obtain detailed information of the transaction information. It can be understood that the determined target information is substantially the transaction information encrypted by the accounting node of the blockchain network.

在一实施例中,服务端320还可以定期统计存储的交易信息,并根据交易信息所涉及的对象对交易信息进行分类,从而得到针对多个对象中每个对象的交易数据。该交易数据可以包括每个对象所对应的数字资产的所有交易信息。其中,多个对象可以包括区块链账户和数字资产。如此,在服务端320确定与信息查询请求匹配的目标信息时,可以直接将信息查询请求中查询关键信息所对应对象的交易数据作为目标信息。例如,若查询关键信息为数字资产A的编号,则确定的目标信息包括区块链上存储的数字资产A的所有交易信息构成的信息列表。如此,可以提高查询效率,提高查询得到的交易信息的全面性,为区块链账户提供更为高级的数据读取功能。In one embodiment, the server 320 may also periodically count the stored transaction information, and classify the transaction information according to the objects involved in the transaction information, so as to obtain transaction data for each of the multiple objects. The transaction data may include all transaction information of the digital assets corresponding to each object. Among them, multiple objects can include blockchain accounts and digital assets. In this way, when the server 320 determines the target information matching the information query request, the transaction data of the object corresponding to the query key information in the information query request can be directly used as the target information. For example, if the query key information is the serial number of digital asset A, the determined target information includes an information list formed by all transaction information of digital asset A stored on the blockchain. In this way, the query efficiency can be improved, the comprehensiveness of the transaction information obtained by the query can be improved, and a more advanced data reading function can be provided for the blockchain account.

例如,前述的数字资产可以包括非同质化通证。如此,服务端320在统计存储的交易信息时,可以确定针对数字资产包括的每个子资产的交易数据。前述查询关键信息还可以包括子资产的编号。For example, the aforementioned digital assets may include non-fungible tokens. In this way, the server 320 can determine the transaction data for each sub-asset included in the digital asset when the stored transaction information is counted. The aforementioned query key information may also include the serial number of the sub-asset.

在一实施例中,在服务端320获取到区块链存储的交易信息后,还可以先对该交易信息进行格式转换。例如可以将获取的交易信息转换为预定格式的交易信息。通常区块链中以键值对格式存储交易信息,该服务端320例如可以将键值对格式的存储交易信息转换为关系型数据库或非关系型数据库支持的格式,例如可以将键值对表示的交易信息转换为MySQL语句表示的交易信息。随后存储转换得到的预定格式的交易信息。通过交易信息的格式的转换,可以提高信息的表达能力,便于对存储的交易信息根据实际需求进行统计和处理,并利于为区块链账户提供多样化、灵活的信息查询功能。In one embodiment, after the server 320 acquires the transaction information stored in the blockchain, the transaction information may be format-converted first. For example, the acquired transaction information can be converted into transaction information in a predetermined format. Usually, the transaction information is stored in the key-value pair format in the blockchain. For example, the server 320 can convert the stored transaction information in the key-value pair format into a format supported by a relational database or a non-relational database, for example, a key-value pair can be represented. The transaction information is converted into the transaction information represented by the MySQL statement. The converted transaction information in a predetermined format is then stored. Through the conversion of the format of transaction information, the ability to express information can be improved, which facilitates the statistics and processing of stored transaction information according to actual needs, and is conducive to providing diversified and flexible information query functions for blockchain accounts.

图4是根据本公开另一实施例的信息处理方法的原理示意图。FIG. 4 is a schematic diagram of the principle of an information processing method according to another embodiment of the present disclosure.

根据本公开的实施例,在服务端接收到区块链账户经由终端设备发送的交易信息后,例如还可以对该交易信息进行完整性校验,以此保证交易的顺利进行,避免计算资源的浪费。According to the embodiments of the present disclosure, after the server receives the transaction information sent by the blockchain account via the terminal device, for example, the integrity check of the transaction information can be performed, so as to ensure the smooth progress of the transaction and avoid the loss of computing resources. waste.

例如,该实施例400的信息处理方法可以响应于接收到第一交易信息410,对该第一交易信息410经由操作S401进行完整性校验。例如对于前述的第一请求中的交易信息,通过完整性校验的标准可以为包括前述的标准化表示中的所有信息。对于前述的第二请求中的交易信息,通过完整性校验的标准可以为包括待转移的数字资产的编号、当前持有数字资产的区块链账户的标识、接收数字资产的区块链账户的标识、当前持有数字资产的区块链账户的公钥、当前持有数字资产的区块链账户的签名等。可以理解的是,上述通过完整性校验的标准仅作为示例以利于理解本公开,本公开对此不做限定。For example, the information processing method of this embodiment 400 may, in response to receiving the first transaction information 410, perform an integrity check on the first transaction information 410 via operation S401. For example, for the transaction information in the aforementioned first request, the criteria for passing the integrity check may include all the information in the aforementioned standardized representation. For the transaction information in the aforementioned second request, the criteria for passing the integrity check may include the serial number of the digital asset to be transferred, the identifier of the blockchain account currently holding the digital asset, and the blockchain account receiving the digital asset. , the public key of the blockchain account currently holding the digital asset, the signature of the blockchain account currently holding the digital asset, etc. It can be understood that, the above-mentioned criteria for passing the integrity check are only used as examples to facilitate understanding of the present disclosure, which is not limited in the present disclosure.

在第一交易信息410通过完整性校验后,将包括该第一交易信息的第一交易请求添加至缓存队列。After the first transaction information 410 passes the integrity check, the first transaction request including the first transaction information is added to the cache queue.

根据本公开的实施例,在服务端接收到区块链账户经由终端设备发送的交易信息后,例如还可以为该交易信息添加激励信息,从而由交易信息和激励信息构成交易请求,并将交易请求添加至缓存队列。以此,便于给予区块链网络中将交易信息存储至区块链的区块链节点激励,以此激励区块链节点参与对区块链网络正常运转的维护。According to the embodiment of the present disclosure, after the server receives the transaction information sent by the blockchain account via the terminal device, for example, incentive information can be added to the transaction information, so that the transaction information and the incentive information constitute a transaction request, and the transaction The request is added to the cache queue. In this way, it is convenient to give incentives to the blockchain nodes in the blockchain network that store transaction information in the blockchain, so as to encourage the blockchain nodes to participate in the maintenance of the normal operation of the blockchain network.

例如,在实施例400中,在对第一交易信息410进行完整性校验且校验通过的情况下,可以确定针对该第一交易信息410的激励信息420。该激励信息例如可以包括数字资源或者积分的数量。其中,数字资源或者积分的数量可以与资产交易类型之间具有映射关系。或者,对于任意类型的交易,该数字资源或者积分的数量可以为预定值。资产交易类型可以包括发布数字资产的类型和转移数字资产的类型等。For example, in the embodiment 400, when the integrity check is performed on the first transaction information 410 and the verification is passed, the incentive information 420 for the first transaction information 410 may be determined. The incentive information may include, for example, the number of digital resources or points. The number of digital resources or points may have a mapping relationship with the asset transaction type. Alternatively, for any type of transaction, the number of digital resources or credits may be a predetermined value. The asset transaction type may include the type of digital assets issued and the type of digital assets transferred.

例如,在校验未通过的情况下,服务端可以经由后台管理服务器向终端设备反馈提示信息或检查页面,以提示交易请求账户对该交易信息进行补充。For example, if the verification fails, the server may feed back prompt information or a check page to the terminal device via the background management server to prompt the transaction requesting account to supplement the transaction information.

在得到激励信息420后,可以将第一交易信息410和激励信息420打包为第一交易请求430,并将该第一交易请求430添加至缓存队列440中。After obtaining the incentive information 420 , the first transaction information 410 and the incentive information 420 may be packaged into a first transaction request 430 , and the first transaction request 430 is added to the cache queue 440 .

以下将结合图5,对实施本公开提供的信息处理方法的服务端的结构进行描述。The structure of the server implementing the information processing method provided by the present disclosure will be described below with reference to FIG. 5 .

图5是根据本公开实施例的实施信息处理方法的服务端的结构框图。FIG. 5 is a structural block diagram of a server for implementing an information processing method according to an embodiment of the present disclosure.

如图5所示,该实施例500中,服务端510可以设置有操作池511和状态机512。As shown in FIG. 5 , in this embodiment 500 , the server 510 may be provided with an operation pool 511 and a state machine 512 .

根据本公开的实施例,操作池511中可以设置有缓存队列,用于缓存根据业务层520发送的交易信息得到的交易请求。该缓存队列中的交易请求例如可以经由上链代理来发送给区块链网络530,以将交易请求中的交易信息存储至区块链中,完成交易信息的交易上链操作,即完成业务层520请求的写入交易信息的操作。其中,业务层520例如可以为至少两个应用的后台管理服务器。According to an embodiment of the present disclosure, a cache queue may be set in the operation pool 511 to cache the transaction request obtained according to the transaction information sent by the business layer 520 . For example, the transaction request in the cache queue can be sent to the blockchain network 530 via the on-chain agent, so as to store the transaction information in the transaction request in the blockchain, and complete the transaction on-chain operation of the transaction information, that is, to complete the business layer 520 The requested operation of writing transaction information. The service layer 520 may be, for example, background management servers of at least two applications.

根据本公开的实施例,状态机512中可以设置有资产库,并存储有交易历史,用于为业务层520的读操作请求提供交易信息。该状态机512例如可以从区块链网络530处订阅事件,以获取区块链网络530中更新后的区块链中的区块,并将更新后的区块链同步至资产库中。该状态机512还可以对获取的区块(该区块可以表示交易信息)进行统计,从而得到前文描述的针对每个对象的交易数据,将该交易数据作为交易历史。According to an embodiment of the present disclosure, an asset library may be set in the state machine 512, and a transaction history may be stored, so as to provide transaction information for a read operation request of the business layer 520. The state machine 512 may, for example, subscribe to events from the blockchain network 530 to obtain blocks in the updated blockchain in the blockchain network 530, and synchronize the updated blockchain to the asset library. The state machine 512 may also perform statistics on the acquired blocks (the blocks may represent transaction information), so as to obtain the transaction data for each object described above, and use the transaction data as a transaction history.

根据本公开的实施例,该服务端510可以提供有以下服务接口:According to an embodiment of the present disclosure, the server 510 may be provided with the following service interfaces:

数字资产发布接口,传入参数可以包括发布数字资产的区块链账户、数字资产的份数、数字资产的编号、用于签名去重的唯一随机数、发布数字资产的区块链账户的公钥、发布数字资产的区块链账户的签名、发布数字资产的区块链账户所属应用的标识等。该传入参数即为前文描述的交易信息中包括的参数。需要说明的是,在发布的数字资产为非同质化通证时,针对数字资产包括的每份子资产,还可以传入该自资产的编号。其中,非同质化通证可以表示房屋等具有唯一性特点的资产。在某个用户具有多个房屋时,可以为房屋类型的资产设置区别于其他类型资产的编号,作为数字资产的编号。同时可以为多个房屋中的每个房屋设置区别于其他房屋的编号,从而得到子资产的编号。Digital asset publishing interface, the incoming parameters can include the blockchain account that publishes the digital asset, the number of copies of the digital asset, the serial number of the digital asset, the unique random number used for signature deduplication, and the public name of the blockchain account that publishes the digital asset. key, the signature of the blockchain account that publishes digital assets, the identity of the application to which the blockchain account that publishes digital assets belongs, etc. The incoming parameter is the parameter included in the transaction information described above. It should be noted that when the issued digital asset is a non-fungible token, for each sub-asset included in the digital asset, the serial number of the self-asset can also be passed in. Among them, non-fungible tokens can represent unique assets such as houses. When a user has multiple houses, a serial number different from other types of assets can be set for the housing type asset as the serial number of the digital asset. At the same time, a serial number that is different from other housing can be set for each house among the multiple houses, so as to obtain the serial number of the sub-asset.

数字资产授予接口:用于为区块链账户授予数字资产的所有权。传入参数可以包括数字资产的编号、为非同质化通证的数字资产包括的子资产的编号、用于签名去重的唯一随机数、发布数字资产的区块链账户的标识、接收数字资产的区块链账户的标识、发布数字资产的区块链账户的公钥、发布数字资产的区块链账户的签名、发布数字资产的区块链账户所属应用的标识等。Digital asset grant interface: used to grant ownership of digital assets to blockchain accounts. The incoming parameters can include the serial number of the digital asset, the serial number of the sub-asset included for the digital asset of the non-fungible token, the unique random number used for signature deduplication, the identity of the blockchain account that issued the digital asset, the receiving digital The identification of the blockchain account of the asset, the public key of the blockchain account that issued the digital asset, the signature of the blockchain account that issued the digital asset, the identification of the application to which the blockchain account that issued the digital asset belongs, etc.

数字资产转移接口:用于提供将数字资产从第一区块链账户转移至第二区块链账户的功能。传入参数包括数字资产的编号、为非同质化通证的数字资产包括的子资产的编号、用于签名去重的唯一随机数、当前持有数字资产的区块链账户的标识、接收数字资产的区块链账户的标识、当前持有数字资产的区块链账户的公钥、当前持有数字资产的区块链账户的签名、当前持有数字资产的区块链账户所属应用的标识等。Digital asset transfer interface: used to provide the function of transferring digital assets from the first blockchain account to the second blockchain account. The incoming parameters include the serial number of the digital asset, the serial number of the sub-asset included in the digital asset for the non-fungible token, the unique random number used for signature deduplication, the identifier of the blockchain account currently holding the digital asset, the receiving The identity of the blockchain account of the digital asset, the public key of the blockchain account currently holding the digital asset, the signature of the blockchain account currently holding the digital asset, the application of the blockchain account currently holding the digital asset identification, etc.

数字资产查询接口:用于查询指定数字资产的交易信息。传入参数可以包括:数字资产的编号、数字资产所属应用的标识等。Digital asset query interface: used to query the transaction information of a specified digital asset. The incoming parameters can include: the serial number of the digital asset, the identifier of the application to which the digital asset belongs, and so on.

子资产查询接口:用于查询指定数字资产中指定子资产的交易信息。传入参数可以包括:数字资产的编号、子资产的编号和数字资产所属应用的标识等。Sub-asset query interface: used to query the transaction information of the specified sub-asset in the specified digital asset. The incoming parameters can include: the serial number of the digital asset, the serial number of the sub-asset, and the identifier of the application to which the digital asset belongs.

账户的数字资产查询接口:用于查询指定区块链账户拥有的数字资产。传入参数可以包括:区块链账户的标识信息、区块链账户所属应用的标识等。Account's digital asset query interface: used to query the digital assets owned by the specified blockchain account. The incoming parameters can include: the identification information of the blockchain account, the identification of the application to which the blockchain account belongs, etc.

基于本公开提供的信息处理方法,本公开还提供了一种信息处理装置。以下将结合图6对该信息处理装置进行详细描述。Based on the information processing method provided by the present disclosure, the present disclosure also provides an information processing apparatus. The information processing apparatus will be described in detail below with reference to FIG. 6 .

图6是根据本公开实施例的信息处理装置的结构框图6 is a structural block diagram of an information processing apparatus according to an embodiment of the present disclosure

如图6所示,该实施例的信息处理装置600可以包括请求添加模块610、请求获取模块620和请求发送模块630。该信息处理装置600可以设置于前文描述的服务端。As shown in FIG. 6 , the information processing apparatus 600 of this embodiment may include a request adding module 610 , a request obtaining module 620 and a request sending module 630 . The information processing apparatus 600 can be set on the server described above.

请求添加模块610用于响应于接收到第一交易信息,将包括第一交易信息的第一交易请求添加至缓存队列。在一实施例中,请求添加模块610可以用于执行前文描述的操作S210,在此不再赘述。The request adding module 610 is configured to add the first transaction request including the first transaction information to the cache queue in response to receiving the first transaction information. In an embodiment, the request adding module 610 may be configured to perform the operation S210 described above, which will not be repeated here.

请求获取模块620用于响应于区块链网络处于空闲状态,从缓存队列中获取未处理的第二交易请求。在一实施例中,请求获取模块620可以用于执行前文描述的操作S220,在此不再赘述。The request obtaining module 620 is configured to obtain the unprocessed second transaction request from the cache queue in response to the blockchain network being in an idle state. In an embodiment, the request obtaining module 620 may be configured to perform the operation S220 described above, which will not be repeated here.

请求发送模块630用于将第二交易请求发送至区块链网络,以将第二交易请求包括的第二交易信息存储至区块链。在一实施例中,请求发送模块630可以用于执行前文描述的操作S230,在此不再赘述。The request sending module 630 is configured to send the second transaction request to the blockchain network, so as to store the second transaction information included in the second transaction request to the blockchain. In an embodiment, the request sending module 630 may be configured to perform the operation S230 described above, which will not be repeated here.

根据本公开的实施例,上述信息处理装置600还可以包括状态确定模块和状态更改模块。状态确定模块用于在将第一交易请求添加至缓存队列后,确定第一交易请求的状态为未处理状态。状态更改模块用于响应于第二交易请求包括的交易信息存储至区块链,将第二交易请求的状态由未处理状态更改为已处理状态。According to an embodiment of the present disclosure, the above-mentioned information processing apparatus 600 may further include a state determination module and a state change module. The state determination module is configured to determine that the state of the first transaction request is an unprocessed state after the first transaction request is added to the cache queue. The state changing module is configured to change the state of the second transaction request from an unprocessed state to a processed state in response to storing the transaction information included in the second transaction request in the blockchain.

根据本公开的实施例,上述信息处理装置600还可以包括信息获取模块、信息确定模块和信息发送模块。信息获取模块用于响应于区块链被更新,获取更新后的区块链存储的交易信息并存储获取的交易信息。信息确定模块用于响应于接收到信息查询请求,确定存储的交易信息中与信息查询请求匹配的目标信息。信息发送模块用于向发送信息查询请求的区块链账户发送目标信息。According to an embodiment of the present disclosure, the above-mentioned information processing apparatus 600 may further include an information acquisition module, an information determination module, and an information transmission module. The information acquisition module is used for acquiring the transaction information stored in the updated blockchain and storing the acquired transaction information in response to the blockchain being updated. The information determining module is configured to, in response to receiving the information query request, determine target information in the stored transaction information that matches the information query request. The information sending module is used to send the target information to the blockchain account that sends the information query request.

根据本公开的实施例,上述信息处理装置600还可以包括信息统计模块,用于统计存储的交易信息,确定针对多个对象中每个对象的交易数据。其中,上述信息确定模块用于确定与信息查询请求中的目标对象匹配的交易数据;多个对象包括:区块链账户、数字资产。According to an embodiment of the present disclosure, the above-mentioned information processing apparatus 600 may further include an information statistics module configured to count the stored transaction information and determine transaction data for each of the multiple objects. Wherein, the above-mentioned information determination module is used to determine the transaction data matching the target object in the information query request; the multiple objects include: blockchain account and digital assets.

根据本公开的实施例,上述数字资产包括非同质化通证,多个对象还包括数字资产包括的子资产。According to an embodiment of the present disclosure, the above-mentioned digital assets include non-fungible tokens, and the multiple objects also include sub-assets included in the digital assets.

根据本公开的实施例,上述信息获取模块可以包括格式转换子模块和存储子模块。格式转换子模块用于将获取的交易信息转换为预定格式的交易信息。存储子模块用于存储转换得到的预定格式的交易信息。According to an embodiment of the present disclosure, the above-mentioned information acquisition module may include a format conversion sub-module and a storage sub-module. The format conversion submodule is used to convert the acquired transaction information into transaction information in a predetermined format. The storage submodule is used for storing the converted transaction information in a predetermined format.

根据本公开的实施例,上述第一交易信息包括交易请求账户的签名和交易请求账户的公钥。According to an embodiment of the present disclosure, the above-mentioned first transaction information includes the signature of the transaction request account and the public key of the transaction request account.

根据本公开的实施例,上述请求添加模块610可以包括校验子模块和第一添加子模块。校验子模块用于响应于接收到第一交易信息,对第一交易信息进行完整性校验。第一添加子模块用于响应于第一交易信息通过完整性校验,将包括第一交易信息的第一交易请求添加至缓存队列。According to an embodiment of the present disclosure, the above-mentioned request adding module 610 may include a check sub-module and a first adding sub-module. The verification sub-module is configured to perform an integrity check on the first transaction information in response to receiving the first transaction information. The first adding submodule is configured to add the first transaction request including the first transaction information to the cache queue in response to the first transaction information passing the integrity check.

根据本公开的实施例,上述请求添加模块610可以包括激励确定子模块和第二添加子模块。激励确定子模块用于响应于接收到第一交易信息,确定针对第一交易信息的激励信息。第二添加子模块用于将包括第一交易信息和激励信息的第一交易请求添加至缓存队列。According to an embodiment of the present disclosure, the above-mentioned request adding module 610 may include an incentive determining sub-module and a second adding sub-module. The incentive determination submodule is configured to determine incentive information for the first transaction information in response to receiving the first transaction information. The second adding submodule is configured to add the first transaction request including the first transaction information and the incentive information to the cache queue.

需要说明的是,本公开的技术方案中,所涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。It should be noted that, in the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of the user's personal information involved are in compliance with relevant laws and regulations, and do not violate public order and good customs.

根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

图7示出了可以用来实施本公开实施例的信息处理方法的示例电子设备700的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG. 7 shows a schematic block diagram of an example electronic device 700 that may be used to implement the information processing methods of embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.

如图7所示,设备700包括计算单元701,其可以根据存储在只读存储器(ROM)702中的计算机程序或者从存储单元708加载到随机访问存储器(RAM)703中的计算机程序,来执行各种适当的动作和处理。在RAM 703中,还可存储设备700操作所需的各种程序和数据。计算单元701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7 , the device 700 includes a computing unit 701 that can be executed according to a computer program stored in a read only memory (ROM) 702 or loaded into a random access memory (RAM) 703 from a storage unit 708 Various appropriate actions and handling. In the RAM 703, various programs and data necessary for the operation of the device 700 can also be stored. The computing unit 701 , the ROM 702 , and the RAM 703 are connected to each other through a bus 704 . An input/output (I/O) interface 705 is also connected to bus 704 .

设备700中的多个部件连接至I/O接口705,包括:输入单元706,例如键盘、鼠标等;输出单元707,例如各种类型的显示器、扬声器等;存储单元708,例如磁盘、光盘等;以及通信单元709,例如网卡、调制解调器、无线通信收发机等。通信单元709允许设备700通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706, such as a keyboard, mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a magnetic disk, an optical disk, etc. ; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 709 allows the device 700 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.

计算单元701可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元701的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元701执行上文所描述的各个方法和处理,例如信息处理方法。例如,在一些实施例中,信息处理方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元708。在一些实施例中,计算机程序的部分或者全部可以经由ROM 702和/或通信单元709而被载入和/或安装到设备700上。当计算机程序加载到RAM 703并由计算单元701执行时,可以执行上文描述的信息处理方法的一个或多个步骤。备选地,在其他实施例中,计算单元701可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行信息处理方法。Computing unit 701 may be various general-purpose and/or special-purpose processing components with processing and computing capabilities. Some examples of computing units 701 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various specialized artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 executes the various methods and processes described above, such as an information processing method. For example, in some embodiments, an information processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 708 . In some embodiments, part or all of the computer program may be loaded and/or installed on device 700 via ROM 702 and/or communication unit 709 . When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the information processing method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the information processing method by any other suitable means (eg, by means of firmware).

本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein above may be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.

用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs the functions/functions specified in the flowcharts and/or block diagrams. Action is implemented. The program code may execute entirely on the machine, partly on the machine, partly on the machine and partly on a remote machine as a stand-alone software package or entirely on the remote machine or server.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。其中,服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务(″Virtual Private Server″,或简称″VPS″)中,存在的管理难度大,业务扩展性弱的缺陷。服务器也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. Among them, the server can be a cloud server, also known as a cloud computing server or a cloud host. "), there are the defects of difficult management and weak business expansion. The server can also be a server of a distributed system, or a server combined with a blockchain.

应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present disclosure can be executed in parallel, sequentially, or in different orders. As long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, there is no limitation herein.

上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure should be included within the protection scope of the present disclosure.

Claims (21)

1. An information processing method comprising:
in response to receiving first transaction information, adding a first transaction request including the first transaction information to a cache queue;
obtaining an unprocessed second transaction request from the cache queue in response to the blockchain network being in an idle state; and
and sending the second transaction request to the blockchain network so as to store second transaction information included in the second transaction request to a blockchain.
2. The method of claim 1, further comprising:
after the first transaction request is added to the cache queue, determining that the state of the first transaction request is an unprocessed state; and
and changing the state of the second transaction request from the unprocessed state to the processed state in response to the transaction information included in the second transaction request being stored in the blockchain.
3. The method of claim 1, further comprising:
in response to the blockchain being updated, obtaining transaction information stored by the updated blockchain and storing the obtained transaction information;
in response to receiving an information query request, determining target information matched with the information query request in the stored transaction information; and
and sending the target information to the blockchain account which sends the information query request.
4. The method of claim 3, further comprising:
counting the stored transaction information, determining transaction data for each of a plurality of objects,
wherein, determining the target information matched with the information query request in the stored transaction information comprises: determining transaction data matched with a target object in the information query request; the plurality of objects includes: blockchain accounts, digital assets.
5. The method of claim 4, wherein the digital asset comprises a non-homogenous certification; the plurality of objects further comprises: the digital assets include sub-assets.
6. The method of claim 3, wherein the obtaining updated blockchain stored transaction information and storing the obtained transaction information in response to the blockchain being updated comprises:
converting the acquired transaction information into transaction information in a predetermined format; and
and storing the transaction information in the predetermined format obtained by conversion.
7. The method of claim 1, wherein the first transaction information includes a signature of a transaction requesting account and a public key of a transaction requesting account.
8. The method of claim 1, wherein the adding, in response to receiving first transaction information, a first transaction request including the first transaction information to a cache queue comprises:
in response to receiving the first transaction information, performing integrity check on the first transaction information; and
in response to the first transaction information passing the integrity check, adding a first transaction request including the first transaction information to the cache queue.
9. The method of claim 1, wherein the adding, in response to receiving first transaction information, a first transaction request including the first transaction information to a cache queue comprises:
in response to receiving the first transaction information, determining incentive information for the first transaction information; and
adding a first transaction request including the first transaction information and the incentive information to the cache queue.
10. An information processing apparatus comprising:
the request adding module is used for responding to the received first transaction information and adding a first transaction request comprising the first transaction information to a cache queue;
the request acquisition module is used for responding to the idle state of the block chain network and acquiring an unprocessed second transaction request from the cache queue; and
and the request sending module is used for sending the second transaction request to the blockchain network so as to store second transaction information included in the second transaction request to a blockchain.
11. The apparatus of claim 10, further comprising:
the state determination module is used for determining that the state of the first transaction request is an unprocessed state after the first transaction request is added to the cache queue; and
and the state changing module is used for responding to the transaction information included by the second transaction request and storing the transaction information into the block chain, and changing the state of the second transaction request from the unprocessed state to the processed state.
12. The apparatus of claim 10, further comprising:
the information acquisition module is used for responding to the updated block chain, acquiring the transaction information stored in the updated block chain and storing the acquired transaction information;
the information determining module is used for responding to the received information query request and determining target information matched with the information query request in the stored transaction information; and
and the information sending module is used for sending the target information to the block chain account which sends the information inquiry request.
13. The apparatus of claim 12, further comprising:
an information statistics module for counting the stored transaction information, determining transaction data for each of a plurality of objects,
wherein the information determination module is to: determining transaction data matched with a target object in the information query request; the plurality of objects includes: blockchain accounts, digital assets.
14. The apparatus of claim 13, wherein the digital asset comprises a non-homogenous certification; the plurality of objects further comprises: the digital assets include sub-assets.
15. The apparatus of claim 12, wherein the information acquisition module comprises:
the format conversion submodule is used for converting the acquired transaction information into transaction information in a preset format; and
and the storage submodule is used for storing the transaction information in the preset format obtained by conversion.
16. The apparatus of claim 10, wherein the first transaction information comprises a signature of a transaction requesting account and a public key of a transaction requesting account.
17. The apparatus of claim 10, wherein the request addition module comprises:
the verification submodule is used for responding to the received first transaction information and carrying out integrity verification on the first transaction information; and
and the first adding submodule is used for adding a first transaction request comprising the first transaction information to the cache queue in response to the first transaction information passing the integrity check.
18. The apparatus of claim 10, wherein the request addition module comprises:
an incentive determining sub-module for determining incentive information for the first transaction information in response to receiving the first transaction information; and
a second adding submodule, configured to add the first transaction request including the first transaction information and the incentive information to the cache queue.
19. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-9.
20. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of claims 1-9.
21. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 9.
CN202111628937.XA 2021-12-28 2021-12-28 Information processing method, device, electronic equipment and storage medium Pending CN114328731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111628937.XA CN114328731A (en) 2021-12-28 2021-12-28 Information processing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111628937.XA CN114328731A (en) 2021-12-28 2021-12-28 Information processing method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114328731A true CN114328731A (en) 2022-04-12

Family

ID=81015130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111628937.XA Pending CN114328731A (en) 2021-12-28 2021-12-28 Information processing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114328731A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117455568A (en) * 2023-08-31 2024-01-26 广州市玄武无线科技股份有限公司 Transaction incentive resource transmitting method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110675153A (en) * 2019-10-10 2020-01-10 北京京东振世信息技术有限公司 Block chain-based data verification method and device, storage medium and electronic equipment
CN110738497A (en) * 2019-12-19 2020-01-31 腾讯科技(深圳)有限公司 data processing method, device, node equipment and storage medium
CN112926981A (en) * 2021-03-18 2021-06-08 腾讯科技(深圳)有限公司 Transaction information processing method, device and medium for block chain and electronic equipment
CN113626850A (en) * 2021-10-13 2021-11-09 北京百度网讯科技有限公司 Request processing method, device, equipment and storage medium based on alliance chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110675153A (en) * 2019-10-10 2020-01-10 北京京东振世信息技术有限公司 Block chain-based data verification method and device, storage medium and electronic equipment
CN110738497A (en) * 2019-12-19 2020-01-31 腾讯科技(深圳)有限公司 data processing method, device, node equipment and storage medium
CN112926981A (en) * 2021-03-18 2021-06-08 腾讯科技(深圳)有限公司 Transaction information processing method, device and medium for block chain and electronic equipment
CN113626850A (en) * 2021-10-13 2021-11-09 北京百度网讯科技有限公司 Request processing method, device, equipment and storage medium based on alliance chain

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117455568A (en) * 2023-08-31 2024-01-26 广州市玄武无线科技股份有限公司 Transaction incentive resource transmitting method, device, computer equipment and storage medium
CN117455568B (en) * 2023-08-31 2024-05-14 广州市玄武无线科技股份有限公司 Transaction incentive resource transmitting method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US10678597B2 (en) Event-driven blockchain workflow processing
KR102738475B1 (en) Extracting data from blockchain networks
JP7059370B2 (en) Computer-readable storage media containing methods, devices, computer programs and computer programs for optimizing mass transaction performance on the blockchain.
WO2021217863A1 (en) Order identifier generation method and apparatus, server, and storage medium
CN110771127B (en) Method and system for consistent distributed memory pool in blockchain network
WO2023045620A1 (en) Transaction data processing method and apparatus, computer device and storage medium
US12105735B2 (en) Asynchronous accounting method and apparatus for blockchain, medium and electronic device
CN113094434A (en) Database synchronization method, system, device, electronic equipment and medium
CN113454597B (en) Blockchain transaction processing system and method
CN113807960A (en) Cross-link processing method, device and system between heterogeneous chains and electronic equipment
US20230134162A1 (en) Method of processing information, electronic device, and storage medium
CN113689296A (en) Contract scheduling method and device for asynchronous trusted computing and electronic equipment
CN114328731A (en) Information processing method, device, electronic equipment and storage medium
CN114723394A (en) Credit granting flow configuration method based on artificial intelligence and related equipment
EP4561027A1 (en) Data processing method and apparatus based on hierarchical chain network, and device and medium
CN113254169A (en) Operation method, device, equipment and storage medium of block chain system
CN113592645B (en) Data verification methods and devices
WO2023207529A1 (en) Data processing method and apparatus, device, medium, and product
CN112968769B (en) Method and device for generating random number in block chain
CN116016561A (en) Data synchronization method and device
CN115643255A (en) A video transmission method, device, equipment and storage medium
CN115167769A (en) Method, device and system for writing data
CN115511633A (en) Method, device, terminal and storage medium for recovering blockchain assets
CN110889040B (en) Method and device for pushing information
CN112925801B (en) Method and system for implementing real-time query service based on SQL query statement

Legal Events

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