CN110222116B - Control method and device for transaction data storage and storage medium - Google Patents

Control method and device for transaction data storage and storage medium Download PDF

Info

Publication number
CN110222116B
CN110222116B CN201910376404.3A CN201910376404A CN110222116B CN 110222116 B CN110222116 B CN 110222116B CN 201910376404 A CN201910376404 A CN 201910376404A CN 110222116 B CN110222116 B CN 110222116B
Authority
CN
China
Prior art keywords
transaction
result
user request
data space
cache data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910376404.3A
Other languages
Chinese (zh)
Other versions
CN110222116A (en
Inventor
杨天
王涛
吕晶
琴琴
杨龙飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910376404.3A priority Critical patent/CN110222116B/en
Publication of CN110222116A publication Critical patent/CN110222116A/en
Application granted granted Critical
Publication of CN110222116B publication Critical patent/CN110222116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention provides a control method, a device and a storage medium for transaction data storage, wherein the method comprises the following steps: forwarding the received user request to a block chain, and acquiring transaction acceptance information returned by the block chain; returning the transaction acceptance information to the initiator of the user request; receiving a transaction result which is sent by the blockchain and corresponds to the user request, and storing the transaction result into a cache data space; and under the condition of receiving a result returning instruction sent by the initiator, returning a transaction result corresponding to the result returning instruction to the initiator from the cache data space. The invention can quickly respond to the user request through the transaction acceptance information, thereby effectively improving the transaction response rate of the block chain technology; and according to the management of the transaction information in the cache data space, the transaction information is prevented from being directly managed by the block chain, and the processing response speed of the block chain is improved.

Description

Control method and device for transaction data storage and storage medium
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a control method and device for transaction data storage and a storage medium.
Background
The block link technology is a decentralized distributed book technology recorded according to time sequence, and common recognition can be achieved in a whole link (or a channel) by utilizing the non-tamper property and the transparent openness of the block link technology, so that the transaction reliability is ensured. Blockchain techniques are widely used in scenarios such as digital currency, digital asset attestation, asset transactions, supply chain traceability, cross-border settlement, commonweal credit, etc.
In the prior art, there is usually a large delay in the consensus of a certain blockchain transaction (each node confirms the result of the blockchain transaction) on the reach chain, which affects the operation experience of the user. Wherein, the time of the block leaving of the ether workshop is kept at 15 seconds on average for a long time, the EOS (Chinese: Enterprise operating System; English: Enterprise Operation System) adopts DPOS (Chinese: Proof of delegation of equity) algorithm by improving the common recognition mechanism, the block leaving delay is still kept at 0.5 seconds, and the response rate is still lower.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus and a storage medium for controlling transaction data storage, which provide an effective computing mechanism to solve or at least partially solve the problem of low transaction response rate in the prior art.
According to a first aspect of the present invention, there is provided a control method for storing transaction data, which is applied to a server including a cache data space, where the server communicates with a blockchain for storing transaction data, and the method includes:
forwarding the received user request to the blockchain;
acquiring transaction acceptance information returned by the blockchain, wherein the transaction acceptance information is generated by the blockchain according to the user request;
returning the transaction acceptance information to the initiator of the user request;
when the transaction corresponding to the user request is completed, receiving a transaction result corresponding to the user request and sent by the block chain, and storing the transaction result to the cache data space;
and under the condition of receiving a result returning instruction sent by the initiator, acquiring a transaction result of the transaction corresponding to the result returning instruction from the cache data space, and sending the transaction result to the initiator.
According to a second aspect of the present invention, there is provided a control apparatus for transactional data storage,
the device is applied to a server side comprising a cache data space, wherein the server side is communicated with a blockchain used for storing transaction data, and the device comprises:
the information receiving module is used for forwarding the received user request to the block chain;
the information acquisition module is used for acquiring the transaction acceptance information returned by the blockchain, and the transaction acceptance information is generated by the blockchain according to the user request;
the information return module is used for returning the transaction acceptance information to the initiator of the user request;
the result receiving module is used for receiving the transaction result which is sent by the block chain and corresponds to the user request when the transaction corresponding to the user request is completed, and storing the transaction result into the cache data space;
and the result returning module is used for acquiring the transaction result of the transaction corresponding to the result returning instruction from the cache data space under the condition of receiving the result returning instruction sent by the initiator and sending the transaction result to the initiator.
According to a third aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of controlling transaction data storage according to the first aspect.
Aiming at the prior art, the invention has the following advantages:
the invention comprises the following steps: forwarding the received user request to a block chain; acquiring transaction acceptance information returned by the blockchain, wherein the transaction acceptance information is generated by the blockchain according to a user request; returning the transaction acceptance information to the initiator of the user request; when the transaction corresponding to the user request is completed, receiving a transaction result corresponding to the user request and sent by the block chain, and storing the transaction result into a cache data space; and under the condition of receiving a result returning instruction sent by the initiator, acquiring a transaction result of the transaction corresponding to the result returning instruction from the cache data space, and sending the transaction result to the initiator. Therefore, the invention can firstly quickly respond to the user request through the transaction acceptance information fed back by the block chain, and promote the transaction response speed of the block chain.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating the steps of a method for controlling transaction data storage according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a control method for implementing transaction data storage according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a method for controlling transaction data storage according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of a method for controlling transaction data storage according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating steps of a method for controlling transaction data storage according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating steps of a method for controlling transaction data storage according to an embodiment of the present invention;
fig. 7 is a block diagram of a control device for transaction data storage according to an embodiment of the present invention;
fig. 8 is a block diagram of a control device for transaction data storage according to an embodiment of the present invention;
fig. 9 is a block diagram of an information receiving module according to an embodiment of the present invention;
FIG. 10 is a block diagram of a result receiving module provided by embodiments of the present invention;
fig. 11 is a block diagram of a cache management module according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart of steps of a method for controlling transaction data storage according to an embodiment of the present invention, as shown in fig. 1, and is applied to a server including a cache data space, where the server communicates with a blockchain for storing transaction data, and the method may include:
step 101, forwarding the received user request to the block chain.
In a specific application, after receiving a user request, a server sends the user request to a corresponding blockchain, and the blockchain generates transaction acceptance information corresponding to the user request according to the user request to indicate that the user request is already put into a transaction pool of a blockchain system to be used as a transaction to be executed.
And 102, acquiring the transaction acceptance information returned by the blockchain, wherein the transaction acceptance information is generated by the blockchain according to the user request.
In the prior art, it is usually the case that a user request is responded only after a transaction to be executed is completed, that is, when a transaction message is blocked (a block on a blockchain), that is, the blocking time of the transaction message is the response time of the user request, which results in a long response time, and the user needs to wait for a long time before knowing the execution result of the user request. According to the technical solution provided by the present invention, as shown in fig. 2, after the user request is put into the transaction pool of the blockchain, a transaction acceptance information is fed back to the user (the initiator of the user request) to indicate that the transaction request has been accepted by the blockchain and is in a state to be executed. For example, the fed back transaction acceptance information may be a transaction hash value, and the transaction hash value may be obtained by converting the user identifier corresponding to the user request and the transaction identifier corresponding to the transaction request into hash values and splicing the two hash values.
It should be noted that the blockchain referred to in the present invention refers to one or more blockchain networks, and supports automatic or manual flexible expansion of the blockchain network, and supports automatic or manual flexible expansion or contraction of nodes inside the blockchain network, for example, a federation chain or a private chain of a house, an EOS, or a super book, and may also perform standard operations supported by blockchain technologies such as user creation, account transaction, intelligent contract invocation, transaction query operations, and the like.
Step 103, returning the transaction acceptance information to the initiator of the user request.
By returning the transaction information to the initiator, the initiator is enabled to quickly learn that its user request has been accepted, for example.
And 104, when the transaction corresponding to the user request is completed, receiving a transaction result corresponding to the user request and sent by the block chain, and storing the transaction result in the cache data space.
For example, after receiving the user request, the server determines a transaction operation corresponding to the user request, and determines transaction information corresponding to the transaction operation, for example, the transaction information may include: the identification of the transaction order, the transaction content information, etc., and then forward the transaction information corresponding to the user request and the transaction operation to the blockchain, the blockchain may put the transaction operation corresponding to the user request into the transaction pool after returning the transaction acceptance information for the user request according to step 102, specifically, one or more transaction operations may be stored in the transaction pool of the blockchain, and the transaction operation may be regarded as a transaction operation to be executed (i.e., a received but unexecuted transaction), the blockchain may be able to pass through a preset execution period, so that the transaction operation in the transaction pool is executed within the execution period, and after the execution is completed, the generated transaction result is fed back to the server, so that after the server receives the transaction result, the transaction result is stored in the cache data space, and the information in the cache data space is updated, then, the following step 105 is utilized to confirm the execution result of the uplink operation of the user request according to the transaction result, when the transaction result is successful, the successful uplink is indicated, and the successful uplink of the user request is confirmed; otherwise, when the uplink is not successfully performed, the uplink operation needs to be repeatedly performed to finally ensure that the uplink is successful.
And 105, under the condition that a result returning instruction sent by the initiator is received, obtaining a transaction result of the transaction corresponding to the result returning instruction from the cache data space, and sending the transaction result to the initiator.
In a specific application, as shown in fig. 2, after the transaction result corresponding to the user request is stored in the cache data space, the server may obtain the transaction result of the transaction corresponding to the result return instruction from the cache data space under the condition that the result return instruction is received, and send the transaction result to the initiator, so as to inform the user (initiator) that the user request has been executed and that the execution result is successful or unsuccessful.
It should be noted that, preferably, the transaction service includes a large amount of transaction information with high usability and low security sensitivity, for example, transaction information such as user score classification and voting, and the technical solution proposed by the present invention can be used to store and manage the transaction through the off-link (server), so as to reduce the transaction delay, improve the user experience, and reduce the service pressure of the blockchain system. For example, the above type of transaction is marked in advance, and when the transaction with the mark is identified, the technical scheme provided by the invention is adopted to perform corresponding operation.
In summary, the control method for transaction data storage provided by the present invention forwards the received user request to the block chain; acquiring transaction acceptance information returned by the blockchain, wherein the transaction acceptance information is generated by the blockchain according to a user request; returning the transaction acceptance information to the initiator of the user request; when the transaction corresponding to the user request is completed, receiving a transaction result corresponding to the user request and sent by the block chain, and storing the transaction result into a cache data space; and under the condition of receiving a result returning instruction sent by the initiator, acquiring a transaction result of the transaction corresponding to the result returning instruction from the cache data space, and sending the transaction result to the initiator. Therefore, the invention can firstly quickly respond to the user request through the transaction acceptance information fed back by the block chain, and promote the transaction response speed of the block chain.
Optionally, fig. 3 is a flowchart illustrating specific steps of a method for controlling transaction data storage according to an embodiment of the present invention, as shown in fig. 3:
step 201, forwarding the received user request to the block chain.
In an implementation manner of the embodiment of the present invention, fig. 4 is a flowchart illustrating specific steps of a control method for storing transaction data according to the embodiment of the present invention, and as shown in fig. 4, step 201 may specifically include steps 2011 to 2013:
step 2011, a user request is obtained.
The user request comprises the trading order information corresponding to the user request.
Illustratively, the trade order information is used for uniquely identifying the trade information in the user request, according to which the trade content can be corresponded.
In addition, the server may set an access gateway, configured to parse the obtained user request based on a predetermined rule, verify the user request, and determine whether the user request is legal, that is, perform the operation in step 2012. In addition, the access gateway can also support the functions of authority management, flow control management and control and safety.
Step 2012, determine whether the user request satisfies a verification condition.
In a specific application, whether the user request meets the verification condition is judged, which can be specifically realized by the following modes:
the method comprises the steps that whether a user request meets an authentication condition or not can be determined by judging whether trade order information included in the user request is legal or not, and if the trade order information is legal, the user request is considered to meet the authentication condition; and if the trade order information is illegal, the user request is considered not to meet the verification condition. Specifically, firstly, the trade order information in the user request can be extracted, the trade order information is matched with a legal trade order template stored in the server, if the trade order information is matched with the legal trade order template, the trade order information is determined to be legal, and the user request is considered to meet the verification condition; and if not, determining that the transaction order information is illegal, and considering that the user request meets the verification condition.
The second mode is that the user request can be verified according to the account information in the transaction order information to determine whether the account information is abnormal or not, so as to determine whether the user request meets the verification condition or not, and if the account information is not abnormal, the user request is considered to meet the verification condition; and if the account information is abnormal, the user request is considered not to meet the verification condition. Specifically, the account state of the account information in the transaction order information may be monitored, and if an abnormal state tag (e.g., a state tag such as a word forbidden, a seal number, etc.) exists in the account due to illegal operation by a user or reporting by another user, it is determined that the account information is abnormal, and the user request is considered not to satisfy the verification condition; and if the account does not have the abnormal state label, confirming that the account information is not abnormal, and considering that the user request meets the verification condition.
And thirdly, whether the user corresponding to the account information is an authorized user can be confirmed through a preset authorization list, so that whether the user request meets the verification condition is determined. If the user corresponding to the account information is an authorized user, the user request is considered to meet the verification condition; and if the user corresponding to the account information is not an authorized user, the user request is considered not to meet the verification condition. Specifically, an authorized user list may be preset, an account user is determined through account information in the transaction order information, if the account user is on the authorized user list, the user corresponding to the account information is determined to be an authorized user, and the user request is considered to meet the verification condition; and if the account user is not on the authorized user list, confirming that the user corresponding to the account information is not an authorized user, and considering that the user request does not meet the verification condition.
And fourthly, whether the account corresponding to the account information has enough money or not can be confirmed through a preset money threshold value, so that whether the user request meets the verification condition or not is determined. If the total amount of remaining money in the account is greater than or equal to a preset money threshold, the user request is considered to meet the verification condition; and if the total amount of remaining money in the account is smaller than a preset money threshold value, the user request is considered not to meet the verification condition.
Step 2013, if the user request meets the verification condition, sending the user request to the blockchain, so that the blockchain responds to the user request and returns the transaction acceptance information.
Illustratively, the user request meeting the verification condition is sent to the blockchain, so that the blockchain puts the user request into the transaction pool to be executed.
Step 202, obtaining the transaction acceptance information returned by the blockchain, wherein the transaction acceptance information is generated by the blockchain according to the user request.
In a specific application, after the user request is put into the transaction pool, the blockchain generates transaction information corresponding to the user request, encrypts the correspondingly generated transaction information and sends the encrypted transaction information to the server, so that the server sends the encrypted transaction information as transaction acceptance information to the initiator, for example, converts the transaction information into a hash value and returns the hash value to the server, so that the server responds to the initiator (user) of the transaction request, for example, feeds the hash value of the transaction information as transaction acceptance information back to the initiator as a transaction execution certificate, which indicates that the user request has been accepted and is in a to-be-executed state.
Step 203, returning the transaction acceptance information to the initiator of the user request.
This step may specifically refer to step 103, which is not described herein again.
Optionally, the user request includes trade order information of a trade corresponding to the user request; after the step 203, the method may further include:
step 204, establishing a first corresponding relationship between the transaction order information and the transaction acceptance information, and storing the first corresponding relationship into the cache data space.
For example, the first correspondence between the transaction order information and the transaction acceptance information is stored in the cache data space, so that the information corresponding to the user request is conveniently recorded and traced, and since the transaction acceptance information only indicates that the user request is accepted, there is a high probability that the user request will be successfully executed, but since the actual transaction execution result is not yet obtained, storing the transaction acceptance information in the cache data space enables the user request to be corresponded to after the final actual transaction execution result, i.e., the transaction result, is obtained in step 104, and thus the correct transaction result can be fed back to the initiator of the user request.
Step 205, when the transaction corresponding to the user request is completed, receiving the transaction result corresponding to the user request sent by the block chain, and storing the transaction result in the cache data space.
Optionally, fig. 5 is a flowchart illustrating specific steps of a control method for storing transaction data according to an embodiment of the present invention, as shown in fig. 5, step 205 may specifically include:
step 2051, when the transaction is completed, receiving a transaction result sent by the block chain.
Wherein the transaction result comprises success or failure.
Step 2052, establishing a second corresponding relationship between the transaction result and the transaction acceptance information, and storing the second corresponding relationship into the cache data space.
For example, after the blockchain execution completes the transaction corresponding to the user request, the transaction result is sent to the server, which indicates whether the user request is successful or not. The server stores the second corresponding relation between the transaction result corresponding to the user request and the transaction acceptance information, ensures the data correspondence and validity, is convenient to feed back to the initiator of the user request in batches, and informs the initiator of the specific user request of the initiator.
And step 206, under the condition that a result returning instruction sent by the initiator is received, obtaining a transaction result of the transaction corresponding to the result returning instruction from the cache data space, and sending the transaction result to the initiator.
In addition, transaction results requested by a plurality of users are stored in the cache data space, batch processing can be performed on the transaction results through a preset scanning period, and corresponding operations are executed corresponding to different transaction results. When the transaction result is successful, the transaction result can be directly fed back to the initiator requested by the user; on the contrary, when the transaction result indicates that the user request is not successful, the compensation operation needs to be performed: and the user request is automatically and repeatedly executed, and the repeated execution time threshold value is set for the user request, so that the efficiency of repeated execution operation is ensured.
Optionally, if the transaction result includes transaction success information, step 206 may be specifically implemented by, under the condition that a result return instruction sent by the initiator is received, obtaining, according to the first corresponding relationship and the second corresponding relationship, a transaction result and transaction order information of a transaction corresponding to the result return instruction from the cache data space, and sending the transaction result and the transaction order information to the initiator.
In the embodiment of the present invention, the corresponding relationship between the transaction-transaction acceptance information-transaction order information-transaction result can be established according to the first corresponding relationship provided in step 204 and the second corresponding relationship provided in step 2052. Under the condition that the transaction result comprises the transaction success information, the transaction corresponding to the transaction can be returned according to the result, the transaction result and the transaction order information corresponding to the transaction are determined, and the transaction result and the transaction order information are sent to the initiator so as to inform the user that the transaction operation corresponding to the transaction order is successfully processed.
Optionally, if the transaction result includes transaction failure information, after step 206, the method may further include:
step 207, if the transaction result includes transaction failure information, sending a repeat request for repeatedly executing the transaction to the blockchain, so that the blockchain repeatedly executes the transaction until the number of times of the repeat request reaches a preset threshold.
In this step, since the second request transaction is not successfully executed, the server automatically performs a transaction compensation operation thereon.
Specifically, the (periodic) compensation operation is realized through the cache data space, so that the request transaction can be repeatedly executed under the condition that the transaction result is unsuccessful, the success rate of the request transaction is improved, the server side directly performs the compensation operation, and the user operation can be simplified.
Exemplarily, the trade order information and the corresponding trade result are fed back to the initiator together to inform the initiator that the user requests the completion of the execution of the corresponding trade operation, and if the trade result is successful, the user requests the successful execution of the corresponding trade operation; otherwise, the transaction operation is not successfully executed repeatedly, for example, an alarm is turned on, the number of times of repeated execution exceeds a threshold value, a verification operation for the user request is triggered, for example, the user request is inquired and verified through historical data, the reason why the user request is not successfully executed is found, for example, problems such as abnormal account or abnormal network may occur, the server automatically eliminates the abnormal problems, then the user request is retried, after whether the transaction operation can be successfully executed is confirmed, if the transaction operation is not successfully executed, whether manual intervention is needed can be confirmed again, and error information is manually eliminated.
And step 208, acquiring a new transaction result for the repeated request sent by the blockchain, and updating the transaction result corresponding to the transaction in the cache data space according to the new transaction result.
In this step, the blockchain may generate a new transaction result for the transaction corresponding to the repeated request, and the new transaction result may replace the old transaction result corresponding to the cached data space, so as to ensure timeliness of the data in the cached data space.
Optionally, after step 206, the method may further include:
step 209, when the free capacity of the cache data space is less than or equal to a preset threshold, performing data management operation on the cache data space, so that the free capacity of the cache data space is greater than the preset threshold.
In the embodiment of the invention, compared with the stability of data stored in the memory, only a part of data with higher timeliness in the memory is stored in the cache, so that the data in the cache can be conveniently and quickly called by the processor, and the response rate is improved.
It should be noted that the data management operation includes, but is not limited to, a deletion or replacement operation on data in the cache data space.
Optionally, in a specific implementation manner of the embodiment of the present invention, step 209 may be specifically implemented by deleting the transaction result in the cache data space after sending the transaction result to the initiator.
In the implementation manner, after the transaction result in the cache data space is sent to the initiator, the transaction result can be considered to be processed, lose invalidity value and be deleted, so that the spare capacity of the cache data space is larger than a preset threshold value according to the processed transaction result which is continuously deleted, the cache data space has enough spare capacity to receive new data, and the timeliness of the data in the cache data space is improved.
Optionally, in another specific implementation manner of the embodiment of the present invention, the transaction result includes a timestamp added when the transaction result is generated; fig. 6 is a flowchart illustrating specific steps of a control method for storing transaction data according to an embodiment of the present invention, and as shown in fig. 6, step 209 may specifically include:
step 2091, sorting the transaction results in the cache data space according to the time stamps to obtain a transaction result sequence.
In the embodiment of the present invention, the timestamp is a tag added according to the generation time when the transaction result is generated, and is used to indicate the generation time of the transaction result, and when a plurality of different transaction results exist in the cache data space, the transaction results may be sorted according to the timestamps of the transaction results, so as to obtain a transaction result sequence.
For example, there are three transaction results A, B and C in the cache data space, where the timestamp of transaction result a is 2011, 1 month, 1 day; the timestamp of the transaction result B is 2011, 1 month and 2 days; the time stamp of transaction result C is 2011, 1, 3. The transaction results are sorted in the order of the timestamps from morning to evening to obtain a sequence of transaction results a, B, C.
Step 2092, starting from the end with the earliest timestamp in the transaction result sequence, deletes the transaction result that has been sent to the initiator until the free capacity of the cache data space is greater than the preset threshold.
In this step, referring to the example provided in step 2091 above, for the transaction result sequence [ a, B, C ], assuming that the transaction result a and the transaction result C have already been sent to the initiator and the transaction result B has not yet been sent to the initiator, the transaction result a and then the transaction result C may be deleted in the cache data space, and after the transaction result B is sent to the initiator, the transaction result a may be deleted until the free capacity of the cache data space is greater than the preset threshold, so that the cache data space has a large enough free capacity to receive new data, thereby improving the timeliness of the data in the cache data space.
In summary, the control method for transaction data storage provided by the present invention forwards the received user request to the block chain; acquiring transaction acceptance information returned by the blockchain, wherein the transaction acceptance information is generated by the blockchain according to a user request; returning the transaction acceptance information to the initiator of the user request; when the transaction corresponding to the user request is completed, receiving a transaction result corresponding to the user request and sent by the block chain, and storing the transaction result into a cache data space; and under the condition of receiving a result returning instruction sent by the initiator, acquiring a transaction result of the transaction corresponding to the result returning instruction from the cache data space, and sending the transaction result to the initiator. Therefore, the invention can firstly quickly respond to the user request through the transaction acceptance information fed back by the block chain, and promote the transaction response speed of the block chain. And aiming at the requirement of higher timeliness of the data in the cache data space, the data management operation can be carried out on the data in the cache data space, so that the free capacity of the cache data space is ensured to be larger than a preset threshold value, the cache data space has enough free capacity to receive new data, and the timeliness of the data in the cache data space is improved.
Fig. 7 is a block diagram of a control apparatus for storing transaction data according to an embodiment of the present invention, which is applied to a server including a cache data space, where the server communicates with a blockchain for storing transaction data, and the apparatus includes:
an information receiving module 701, configured to forward the received user request to the block chain;
an information obtaining module 702, configured to obtain transaction acceptance information returned by the blockchain, where the transaction acceptance information is generated by the blockchain according to the user request;
an information returning module 703, configured to return the transaction acceptance information to the initiator of the user request;
a result receiving module 704, configured to receive, when a transaction corresponding to the user request is completed, a transaction result corresponding to the user request sent by the block chain, and store the transaction result in the cache data space;
a result returning module 705, configured to, when a result returning instruction sent by the initiator is received, obtain a transaction result of a transaction corresponding to the result returning instruction from the cache data space, and send the transaction result to the initiator.
Optionally, if the transaction result includes the transaction success information, the result returning module 705 is further configured to, when a result returning instruction sent by the initiator is received, obtain, according to the first corresponding relationship and the second corresponding relationship, a transaction result and transaction order information of a transaction corresponding to the result returning instruction from the cache data space, and send the transaction result and the transaction order information to the initiator.
Optionally, referring to fig. 8, the user request includes trade order information of a trade corresponding to the user request; the device further comprises:
an information storage module 706, configured to establish a first corresponding relationship between the transaction order information and the transaction acceptance information, and store the first corresponding relationship in the cache data space.
Optionally, if the transaction result includes transaction failure information, the apparatus further includes:
a repeat request module 707, configured to send a repeat request for repeatedly executing the transaction to the blockchain, so that the blockchain repeatedly executes the transaction until the number of times of the repeat request reaches a preset threshold;
an updating module 708, configured to obtain a new transaction result sent by the blockchain for the repeat request, and update the transaction result corresponding to the transaction in the cache data space according to the new transaction result.
Optionally, the apparatus further comprises:
the cache management module 709 is configured to perform a data management operation on the cache data space when the free capacity of the cache data space is less than or equal to a preset threshold, so that the free capacity of the cache data space is greater than the preset threshold.
Optionally, referring to fig. 9, the information receiving module 701 includes:
a request obtaining sub-module 7011, configured to receive the user request;
a condition judgment submodule 7012, configured to judge whether the user request meets a verification condition;
the request sending submodule 7013 is configured to send the user request to the blockchain if the user request meets the verification condition, so that the blockchain responds to the user request and returns the transaction acceptance information.
Optionally, referring to fig. 10, the result receiving module 704 includes:
a result receiving submodule 7041, configured to receive a transaction result sent by the blockchain when the transaction is completed;
the result storing submodule 7042 is configured to establish a second correspondence between the transaction result and the transaction acceptance information, and store the second correspondence in the cache data space.
Optionally, referring to fig. 11, the cache management module 709 includes:
a first deleting submodule 7091, configured to delete the transaction result in the cache data space after the transaction result is sent to the initiator.
Optionally, the transaction result includes a timestamp added when the transaction result is generated; the cache management module comprises:
the sorting submodule 7092 is configured to sort the transaction results in the cache data space according to the timestamps, so as to obtain a transaction result sequence;
a second deleting submodule 7093, configured to delete the transaction result that has been sent to the initiator from an end of the transaction result sequence at which the timestamp is earliest, until the free capacity of the cache data space is greater than the preset threshold.
In summary, the transaction data storage provided by the present invention is controlled until the received user request is forwarded to the blockchain; acquiring transaction acceptance information returned by the blockchain, wherein the transaction acceptance information is generated by the blockchain according to a user request; returning the transaction acceptance information to the initiator of the user request; when the transaction corresponding to the user request is completed, receiving a transaction result corresponding to the user request and sent by the block chain, and storing the transaction result into a cache data space; and under the condition of receiving a result returning instruction sent by the initiator, acquiring a transaction result of the transaction corresponding to the result returning instruction from the cache data space, and sending the transaction result to the initiator. Therefore, the invention can firstly quickly respond to the user request through the transaction acceptance information fed back by the block chain, and promote the transaction response speed of the block chain. And aiming at the requirement of higher timeliness of the data in the cache data space, the data management operation can be carried out on the data in the cache data space, so that the free capacity of the cache data space is ensured to be larger than a preset threshold value, the cache data space has enough free capacity to receive new data, and the timeliness of the data in the cache data space is improved.
In addition, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned control method for storing transaction data, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned control method for storing transaction data, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
For the above device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The control methods of transactional data storage provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the method of the invention should not be construed to reflect the intent: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor may be used in practice to implement some or all of the functions of some or all of the components of the control method of transaction data storage according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (13)

1. A control method for transaction data storage is applied to a server side comprising a cache data space, wherein the server side is communicated with a blockchain for storing transaction data, and the method comprises the following steps:
forwarding the received user request to the blockchain;
acquiring transaction acceptance information returned by the blockchain, wherein the transaction acceptance information is generated by the blockchain according to the user request;
returning the transaction acceptance information to the initiator of the user request;
when the transaction corresponding to the user request is completed, receiving a transaction result corresponding to the user request and sent by the blockchain, and storing the transaction result to the cache data space, wherein the transaction result comprises a timestamp added when the transaction result is generated;
under the condition that a result returning instruction sent by the initiator is received, acquiring a transaction result of a transaction corresponding to the result returning instruction from the cache data space, and sending the transaction result to the initiator;
when the free capacity of the cache data space is smaller than or equal to a preset threshold value, sequencing the transaction results in the cache data space according to the timestamps to obtain a transaction result sequence;
and deleting the transaction result which is sent to the initiator from the end with the earliest timestamp in the transaction result sequence until the free capacity of the cache data space is greater than the preset threshold.
2. The method of claim 1, wherein forwarding the received user request to the blockchain comprises:
receiving the user request;
judging whether the user request meets a verification condition;
and if the user request meets the verification condition, sending the user request to the block chain so as to facilitate the block chain to respond to the user request and return the transaction acceptance information.
3. The method of claim 1, wherein the user request includes trade order information for a trade corresponding to the user request;
after returning the transaction acceptance information to the originator of the user request, the method further comprises:
and establishing a first corresponding relation between the transaction order information and the transaction acceptance information, and storing the first corresponding relation into the cache data space.
4. The method according to claim 3, wherein when the transaction operation corresponding to the user request is completed, receiving a transaction result corresponding to the user request sent by the blockchain, and saving the transaction result to the cache data space, wherein the transaction result includes a timestamp added when the transaction result is generated, and the method includes:
when the transaction is completed, receiving a transaction result sent by the blockchain;
and establishing a second corresponding relation between the transaction result and the transaction acceptance information, and storing the second corresponding relation into the cache data space.
5. The method according to claim 4, wherein if the transaction result includes transaction success information, acquiring, from the cache data space, a transaction result of the transaction corresponding to the result return instruction and sending the transaction result to the initiator in the case of receiving the result return instruction sent by the initiator, includes:
and under the condition of receiving a result returning instruction sent by the initiator, acquiring a transaction result and transaction order information of a transaction corresponding to the result returning instruction from the cache data space according to the first corresponding relationship and the second corresponding relationship, and sending the transaction result and the transaction order information to the initiator.
6. The method according to claim 1, wherein if the transaction result includes transaction failure information, after the obtaining a transaction result of a transaction corresponding to the result return instruction from the cache data space and sending the transaction result to the initiator, if the result return instruction sent by the initiator is received, the method further comprises:
sending a repeat request for repeatedly executing the transaction to the blockchain, so that the blockchain repeatedly executes the transaction until the number of times of the repeat request reaches a preset threshold value;
and acquiring a new transaction result aiming at the repeated request sent by the blockchain, and updating the transaction result corresponding to the transaction in the cache data space according to the new transaction result.
7. A transaction data storage control apparatus, for use in a server including a buffer data space, the server communicating with a blockchain for storing transaction data, the apparatus comprising:
the information receiving module is used for forwarding the received user request to the block chain;
the information acquisition module is used for acquiring the transaction acceptance information returned by the blockchain, and the transaction acceptance information is generated by the blockchain according to the user request;
the information return module is used for returning the transaction acceptance information to the initiator of the user request;
a result receiving module, configured to receive, when a transaction corresponding to the user request is completed, a transaction result corresponding to the user request sent by the block chain, and store the transaction result in the cache data space, where the transaction result includes a timestamp added when the transaction result is generated;
the result returning module is used for acquiring a transaction result of the transaction corresponding to the result returning instruction from the cache data space under the condition of receiving the result returning instruction sent by the initiator and sending the transaction result to the initiator;
the sorting module is used for sorting the transaction results in the cache data space according to the timestamps to obtain a transaction result sequence when the free capacity of the cache data space is less than or equal to a preset threshold value;
and the deleting module is used for deleting the transaction result which is sent to the initiator from the end with the earliest timestamp in the transaction result sequence until the idle capacity of the cache data space is greater than the preset threshold value.
8. The apparatus of claim 7, wherein the information receiving module comprises:
the request acquisition submodule is used for receiving the user request;
the condition judgment submodule is used for judging whether the user request meets the verification condition;
and the request sending submodule is used for sending the user request to the block chain if the user request meets the verification condition so as to facilitate the block chain to respond to the user request and return the transaction acceptance information.
9. The apparatus of claim 7, wherein the user request includes trade order information for a trade corresponding to the user request;
the device further comprises:
and the information storage module is used for establishing a first corresponding relationship between the transaction order information and the transaction acceptance information and storing the first corresponding relationship into the cache data space.
10. The apparatus of claim 9, wherein the result receiving module comprises:
the result receiving submodule is used for receiving the transaction result sent by the blockchain when the transaction is completed;
and the result storage submodule is used for establishing a second corresponding relationship between the transaction result and the transaction acceptance information and storing the second corresponding relationship into the cache data space.
11. The apparatus according to claim 10, wherein if the transaction result includes transaction success information, the result returning module is further configured to, when receiving a result returning instruction sent by the initiator, obtain, according to the first corresponding relationship and the second corresponding relationship, a transaction result and transaction order information of a transaction corresponding to the result returning instruction from the cache data space, and send the transaction result and the transaction order information to the initiator.
12. The apparatus of claim 7, wherein if the transaction result includes transaction failure information, the apparatus further comprises:
the repeated request module is used for sending a repeated request for repeatedly executing the transaction to the blockchain, so that the blockchain repeatedly executes the transaction until the number of times of the repeated request reaches a preset threshold value;
and the updating module is used for acquiring a new transaction result aiming at the repeated request and sent by the blockchain, and updating the transaction result corresponding to the transaction in the cache data space according to the new transaction result.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of controlling a transaction data storage according to any one of claims 1 to 6.
CN201910376404.3A 2019-05-07 2019-05-07 Control method and device for transaction data storage and storage medium Active CN110222116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910376404.3A CN110222116B (en) 2019-05-07 2019-05-07 Control method and device for transaction data storage and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910376404.3A CN110222116B (en) 2019-05-07 2019-05-07 Control method and device for transaction data storage and storage medium

Publications (2)

Publication Number Publication Date
CN110222116A CN110222116A (en) 2019-09-10
CN110222116B true CN110222116B (en) 2022-02-01

Family

ID=67820605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910376404.3A Active CN110222116B (en) 2019-05-07 2019-05-07 Control method and device for transaction data storage and storage medium

Country Status (1)

Country Link
CN (1) CN110222116B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110648234B (en) * 2019-09-12 2022-08-19 广州蚁比特区块链科技有限公司 Block generation method and device
CN110830581B (en) * 2019-11-12 2022-11-22 金蝶软件(中国)有限公司 Method for improving block chain response speed, block chain application system and related equipment
CN111046061B (en) * 2019-12-13 2023-08-25 医渡云(北京)技术有限公司 Data query method, device, system, equipment and storage medium
CN111241061B (en) * 2020-01-09 2023-04-07 平安科技(深圳)有限公司 Writing method of state database, data processing device and storage medium
CN111523862B (en) * 2020-04-27 2024-02-23 广东电网有限责任公司培训与评价中心 Method and related equipment for acquiring talent data
CN112597546A (en) * 2020-12-28 2021-04-02 山东观海数据技术有限公司 Violation management method based on block chain, device monitoring terminal and storage medium
CN114647668B (en) * 2022-05-18 2022-09-23 南京金宁汇科技有限公司 Transaction receipt query method and system applied to alliance chain

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257538A (en) * 2008-03-25 2008-09-03 华为技术有限公司 Method and apparatus for processing request in browsers
CN106452785A (en) * 2016-09-29 2017-02-22 财付通支付科技有限公司 Block chain network, branch node and block chain network application method
CN107767135A (en) * 2017-10-10 2018-03-06 厦门益协作网络科技有限公司 A kind of intelligence engineering transaction credit investigation system based on internet
CN108376106A (en) * 2018-02-01 2018-08-07 中国工商银行股份有限公司 A kind of block chain message feedback method and system
CN108764906A (en) * 2018-05-30 2018-11-06 深圳市元征科技股份有限公司 A kind of server and its block chain transaction confirmation method, device, storage medium
CN108985772A (en) * 2018-07-02 2018-12-11 上海达家迎信息科技有限公司 A kind of verification method, device, equipment and the storage medium of block chain
CN109087116A (en) * 2017-06-14 2018-12-25 中兴通讯股份有限公司 Accumulated point exchanging method, integral transaction system and computer readable storage medium
CN109102299A (en) * 2018-08-01 2018-12-28 腾讯科技(深圳)有限公司 Resource transfers data managing method, device and storage medium
CN109146483A (en) * 2018-08-31 2019-01-04 刘涵 Credit record method and system based on block chain network
CN109376122A (en) * 2018-09-25 2019-02-22 深圳市元征科技股份有限公司 A kind of file management method, system and block chain node device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150363770A1 (en) * 2014-06-16 2015-12-17 Bank Of America Corporation Cryptocurrency Transaction Payment System
CN106209877A (en) * 2016-07-19 2016-12-07 井创(北京)科技有限公司 A kind of be certification core with block chain backstage false-proof authentication system
US20180091316A1 (en) * 2016-09-26 2018-03-29 Shapeshift Ag System and method of providing a multi-validator oracle
US10452776B2 (en) * 2017-07-28 2019-10-22 International Business Machines Corporation Cognitive mediator for generating blockchain smart contracts
US20190114707A1 (en) * 2017-10-16 2019-04-18 Shinestack LLC Distribution of Blockchain Tokens

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257538A (en) * 2008-03-25 2008-09-03 华为技术有限公司 Method and apparatus for processing request in browsers
CN106452785A (en) * 2016-09-29 2017-02-22 财付通支付科技有限公司 Block chain network, branch node and block chain network application method
CN109087116A (en) * 2017-06-14 2018-12-25 中兴通讯股份有限公司 Accumulated point exchanging method, integral transaction system and computer readable storage medium
CN107767135A (en) * 2017-10-10 2018-03-06 厦门益协作网络科技有限公司 A kind of intelligence engineering transaction credit investigation system based on internet
CN108376106A (en) * 2018-02-01 2018-08-07 中国工商银行股份有限公司 A kind of block chain message feedback method and system
CN108764906A (en) * 2018-05-30 2018-11-06 深圳市元征科技股份有限公司 A kind of server and its block chain transaction confirmation method, device, storage medium
CN108985772A (en) * 2018-07-02 2018-12-11 上海达家迎信息科技有限公司 A kind of verification method, device, equipment and the storage medium of block chain
CN109102299A (en) * 2018-08-01 2018-12-28 腾讯科技(深圳)有限公司 Resource transfers data managing method, device and storage medium
CN109146483A (en) * 2018-08-31 2019-01-04 刘涵 Credit record method and system based on block chain network
CN109376122A (en) * 2018-09-25 2019-02-22 深圳市元征科技股份有限公司 A kind of file management method, system and block chain node device and storage medium

Also Published As

Publication number Publication date
CN110222116A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN110222116B (en) Control method and device for transaction data storage and storage medium
CN108681965B (en) Block chain network transaction processing method and device for offline node
CN101217571B (en) Write/read document operation method applied in multi-copy data grid system
CN111291000B (en) File acquisition method, equipment and storage medium based on block chain
CN110602239A (en) Block chain information storage method and related equipment
CN110264348B (en) Processing method, device and storage medium for transaction uplink
CN104219235A (en) Distributed transaction requesting method and device
CN105893395B (en) The message of distributed transaction returns checking method and its system
CN109542894B (en) User data centralized storage method, device, medium and computer equipment
CN111340354A (en) Work order management and control method, system, computer equipment and storage medium
CN102957594A (en) Message queue-based message processing method, related device and system
CN112532704A (en) Data transmission method and device, electronic equipment and storage medium
CN114239060A (en) Data acquisition method and device, electronic equipment and storage medium
CN111489156A (en) Transaction method based on block chain, electronic device and readable storage medium
CN112651044B (en) Business transaction method, system and storage medium based on block chain technology
CN107277188A (en) A kind of method, client, server and operation system for determining IP address attaching information
CN112000943B (en) Information verification method based on edge computing and cloud edge fusion and central cloud platform
CN111260421B (en) Electronic invoice management and control method and device based on block chain
CN114244629A (en) Cross-chain access control method and device
CN106875184B (en) Abnormal scene simulation method, device and equipment
CN109063461B (en) Third-party password-free login method and system
CN115168485A (en) Book management system based on block chain
CN105912477B (en) A kind of method, apparatus and system that catalogue is read
CN107563942B (en) Logistics data batch processing method, logistics processing system and processing device
CN112367302A (en) Identity authentication method and system suitable for chrome browser

Legal Events

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