CN109981673A - Data based on block chain deposit card method, apparatus, equipment and storage medium - Google Patents

Data based on block chain deposit card method, apparatus, equipment and storage medium Download PDF

Info

Publication number
CN109981673A
CN109981673A CN201910271629.2A CN201910271629A CN109981673A CN 109981673 A CN109981673 A CN 109981673A CN 201910271629 A CN201910271629 A CN 201910271629A CN 109981673 A CN109981673 A CN 109981673A
Authority
CN
China
Prior art keywords
data
information
time
checked
recorded
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.)
Granted
Application number
CN201910271629.2A
Other languages
Chinese (zh)
Other versions
CN109981673B (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.)
Shanghai Sidewalk Network Information Technology Co Ltd
Original Assignee
Shanghai Sidewalk Network Information 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 Shanghai Sidewalk Network Information Technology Co Ltd filed Critical Shanghai Sidewalk Network Information Technology Co Ltd
Priority to CN201910271629.2A priority Critical patent/CN109981673B/en
Publication of CN109981673A publication Critical patent/CN109981673A/en
Application granted granted Critical
Publication of CN109981673B publication Critical patent/CN109981673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of data based on block chain to deposit card method, apparatus, equipment and storage medium.This method is applied to the block chain network of credible public chain, comprising: receives the association in time transactions requests that data providing is sent;Association in time transactions requests include the related information of data to be recorded;Association in time transactions requests are handled, obtained Transaction Information is stored into block;The timestamp information of the corresponding Transaction Information mark of association in time transactions requests and block is fed back into data providing, with associated with data to be recorded.The embodiment of the present invention passes through timestamp information relevant time interval of the data record time map into credible public chain by data to be recorded when network world stores, so that the record time of data to be recorded has something to base on, the confidence level of the record time of data to be recorded is improved, and then improves the confidence level of network data.

Description

Data based on block chain deposit card method, apparatus, equipment and storage medium
Technical field
The present embodiments relate to block chain technical field more particularly to a kind of data based on block chain deposit card method, Device, equipment and storage medium.
Background technique
With the high speed development of internet, people increasingly pay attention to the safety of network data.Network data record or When editor, corresponding timestamp is required to construct being associated with for recorded data and network time.
However, since record network data or the electronic equipment for carrying out edit operation to network data are different, electronic equipment Deployment region is different and each electronic equipment when recording timestamp also without being directed to the unified common recognition mechanism of time stamp setting, So that the authenticity of timestamp corresponding to network data has no way of investigating.Since the network data of storage can not be proved at its own The corresponding timing node of the timestamp of offer exists, and thereby reduces the confidence level of network data.
Summary of the invention
The present invention provides a kind of data based on block chain and deposits card method, apparatus, equipment and storage medium, to improve network The confidence level of data.
In a first aspect, the embodiment of the invention provides a kind of data based on block chain to deposit card method, it is applied to credible public affairs The block chain node of chain, comprising:
Receive the association in time transactions requests that data providing is sent;Wherein, the association in time transactions requests include to Record the related information of data;
The association in time transactions requests are handled, obtained Transaction Information is stored into block;
By the timestamp information of the association in time transactions requests corresponding Transaction Information mark and the block, feed back to The data providing, with associated with the data to be recorded.
Second aspect, the embodiment of the invention also provides a kind of data based on block chain to deposit card device, is configured at credible The block chain node of public chain, comprising:
Association request receiving module, the association in time transactions requests that provider sends for receiving data;Wherein, when described Between association affairs request include data to be recorded related information;
Association request processing module stores obtained Transaction Information for handling the association in time transactions requests Into block;
Card information feedback module is deposited, for identifying and the area the corresponding Transaction Information of the association in time transactions requests The timestamp information of block feeds back to the data providing, with associated with the data to be recorded.
The third aspect, the embodiment of the invention also provides a kind of electronic equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes that a kind of data based on block chain as provided by first aspect embodiment deposit card method.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes that a kind of data based on block chain as provided by first aspect embodiment deposit card when the program is executed by processor Method.
The embodiment of the present invention is closed by receiving the time for the related information including data to be recorded that data providing is sent Join transactions requests;Association in time transactions requests are handled, obtained Transaction Information is stored into block;By association in time affairs The timestamp information for requesting corresponding Transaction Information mark and block, feeds back to data providing, with related to data to be recorded Connection.By adopting the above technical scheme by establishing the Transaction Information mark of institute's memory block and area in data to be recorded and credible public chain The incidence relation of the timestamp information of block, by data record time map of the data to be recorded when network world is stored to credible The relevant time interval of timestamp information in public chain improves so that the record time of data to be recorded has something to base on wait remember The confidence level of the record time of data is recorded, and then improves the confidence level of network data.
Detailed description of the invention
Fig. 1 is the flow chart that data of one of the embodiment of the present invention one based on block chain deposit card method;
Fig. 2 is the flow chart that one of embodiment of the present invention two deposits card method based on the data of block chain;
Fig. 3 is the flow chart that one of embodiment of the present invention three deposits card method based on the data of block chain;
Fig. 4 is the flow chart that one of embodiment of the present invention four deposits card method based on the data of block chain;
Fig. 5 is the flow chart that one of embodiment of the present invention five deposits card method based on the data of block chain;
Fig. 6 is the structure chart that one of embodiment of the present invention six deposits card device based on the data of block chain;
Fig. 7 is the structural schematic diagram of one of the embodiment of the present invention seven electronic equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart that data of one of the embodiment of the present invention one based on block chain deposit card method.The present invention is real When applying example suitable for storing to the data to be recorded network world, by block chain network to the time of data to be recorded Stamp carries out the case where depositing card.This method is executed by depositing card device based on the data of block chain, and the device is by software and/or firmly Part is realized, and concrete configuration is in the electronic equipment for carrying block chain network node.
Wherein, the block chain network that block chain network node is participated in is credible public chain, this is credible area that public chain included The scale of block chain network node reaches a certain level, and is safeguarded by block chain network node, weakens or eliminate Executive Team Centralized management, and have certain public credibility and influence power.Preferably, credible public chain using proof of work mechanism as Generate the common recognition mechanism of block.
Wherein, block chain network node, which can be, has certain data operation, storage and the full node for verifying ability, also It can be the light node of storage section block data.
A kind of data based on block chain as shown in Figure 1 deposit card method, comprising:
S110, the association in time transactions requests that data providing is sent are received;Wherein, the association in time transaction request Include the related information of data to be recorded.
Wherein, data providing can be the data owning side of data to be recorded, be also possible to carry out data storage or friendship Easy data platform.Wherein, data to be recorded can be understood as the network data stored in network world, such as can be copyright Data, account data etc..
Wherein, the related information of the data to be recorded includes the essential information of the data to be recorded.Correspondingly, wait remember The essential information of record data can be data to be recorded itself, or can also be the data for capableing of unique identification data to be recorded Identification information, such as digital finger-print.
Optionally, data providing can be from block chain network node that itself is disposed to block chain network sending time Association affairs request;Correspondingly, the block in block chain network, which generates node, receives and processes the association in time transactions requests.Or Person is optional, can be by between agent node when data providing itself does not have the participation qualification for participating in block chain network The sending time association affairs into block chain network are connect to request.
S120, the processing association in time transactions requests, obtained Transaction Information is stored into block.
Specifically, the essential information of the data to be recorded in the request of acquisition time association affairs;And to data to be recorded Essential information is handled, and obtains Transaction Information corresponding with association in time transactions requests, and obtained Transaction Information is deposited Storage is into the block body of block.Meanwhile the Transaction Information for obtaining association in time transactions requests through Hash calculation identifies, in block Each Transaction Information two-by-two obtain block-identified of Hash calculation and out block when timestamp information, be recorded in block together Block head in.
Optionally, it if the essential information of data to be recorded includes the data identification information of data to be recorded, directly treats The data identification information of record data is handled, and Transaction Information corresponding with association in time transactions requests is obtained.
Or it is optional, if the essential information of data to be recorded includes data to be recorded, acquisition time association affairs are asked Data to be recorded in asking, and data identification information is generated according to data to be recorded;To the data identification information of data to be recorded It is handled, obtains Transaction Information corresponding with association in time transactions requests.
Illustratively, data identification information is generated according to data to be recorded, can be number to be recorded using special algorithm According to be converted into have setting length character string.For example, data to be recorded are calculated using one-way Hash function Digital finger-print, the data identification information of data as to be recorded.
S130, by the timestamp information of the association in time transactions requests corresponding Transaction Information mark and the block, The data providing is fed back to, with associated with the data to be recorded.
Illustratively, by the timestamp information of association in time transactions requests corresponding Transaction Information mark and block, feedback To data providing network, convenient between data providing building Transaction Information mark and timestamp information and data to be recorded Incidence relation.Optionally, data providing can be in the associated storage equipment or cloud of local, the used equipment of used equipment End stores the incidence relation between data to be recorded, Transaction Information mark and timestamp information;And/or storage number to be recorded According to data identification information, Transaction Information mark and timestamp information between related information.Pass through above-mentioned incidence relation Building, enables data identification information of the data providing based on data to be recorded and/or data to be recorded, carries out number of transactions According to the inquiry and acquisition of mark and/or timestamp information.
It is understood that since data providing or data owning side are when recording data to be recorded, it can be according to storage Timing node when equipment is stored adds the data record time for the data to be recorded, the note to labeled data Record the time.Meanwhile data providing is when data providing itself or data owning side record data to be recorded, also construct to Record the incidence relation of the Transaction Information mark and timestamp information in data and block chain network, and then by data to be recorded The data record time, be mapped to trusted time corresponding to the timestamp information in block chain network and its time zone before Between.Therefore, Transaction Information mark and timestamp information can be used as auxiliary data, to prove the data record of data to be recorded The data record time of time, the data to be recorded that data providing is presented are more credible, and then enhance number to be recorded According to confidence level.
Timestamp information is searched in block chain network for the ease of data verification side, so as to the data to data to be recorded The record time is verified, and can also store by obtained Transaction Information to block, by the block-identified feedback of block To data providing, so that data providing constructs the incidence relation of data block-identified and to be recorded.
The embodiment of the present invention is closed by receiving the time for the related information including data to be recorded that data providing is sent Join transactions requests;Association in time transactions requests are handled, obtained Transaction Information is stored into block;By association in time affairs The timestamp information for requesting corresponding Transaction Information mark and block, feeds back to data providing, with related to data to be recorded Connection.By adopting the above technical scheme by establishing the Transaction Information mark of institute's memory block and area in data to be recorded and credible public chain The incidence relation of the timestamp information of block, by data record time map of the data to be recorded when network world is stored to credible The relevant time interval of timestamp information in public chain improves so that the record time of data to be recorded has something to base on wait remember The confidence level of the record time of data is recorded, and then improves the confidence level of network data.
On the basis of the technical solution of the various embodiments described above, in order to which the data record time for reducing data to be recorded reflects The time interval being mapped in block chain, receive data providing sending time association affairs request before, can also add with Lower step: the initial time information of data to be recorded is obtained, and using the initial time information as the association of data to be recorded Information.Wherein, the initial time information of data to be recorded can be understood as being remembered for identifying data to be recorded in network world Time before record is referring to information;Wherein, the time can be temporal information (for example, timestamp information) referring to information, either The related information (for example, block elevation information of block) of temporal information can be obtained by setting operation.
Illustratively, the initial time information for obtaining data to be recorded may is that and receive the time that data providing is sent Stab acquisition request;The timestamp acquisition request is handled, to obtain the timestamp information and/or institute that at least one has generated block State at least one block height for having generated block;Using the timestamp information and/or corresponding block height as it is initial when Between information, feed back to the data providing.Wherein, at least one has generated block, can be current newest setting quantity At least one of block.Wherein, setting quantity can be set as needed or based on experience value by technical staff.
It is understood that the time interval of the data record time for further accurate data to be recorded, preferably Obtain newest block current in block chain;Correspondingly, obtaining at least one timestamp information for having generated block, it can be and obtain Take the timestamp information of current newest block;At least one block height for having generated block is obtained, it is current most to can be acquisition The block height of new block.
It should be noted that when further including initial time information in the related information of data to be recorded, in the processing time When association affairs are requested, the essential information and initial time information of the data to be recorded of meeting acquisition time association affairs request, And the essential information and initial time information of data to be recorded are handled, it obtains corresponding with association in time transactions requests Transaction Information, and obtained Transaction Information is stored into the block body of block.
Optionally, if the related information of data to be recorded includes the data identification information and initial time letter of data to be recorded Breath, then handle the essential information and initial time information of data to be recorded, may is that the data according to data to be recorded Identification information and initial time information are carried out the character string that setting length is calculated using special algorithm, and are tied using calculating Fruit replaces the data identification information of the data to be recorded;The data identification information of data to be recorded is handled, obtain with The corresponding Transaction Information of association in time transactions requests.
Or it is optional, if the related information of data to be recorded includes data to be recorded and initial time information, treat The essential information and initial time information for recording data are handled, and may is that according to the data to be recorded and initial time Information is calculated using special algorithm, generates data identification information;Alternatively, specific using first according to the data to be recorded Algorithm carries out that data identification information is calculated, and uses the second special algorithm according to initial time information and data identification information It is calculated, and uses calculated result replacement data identification information;The data identification information of data to be recorded is handled, is obtained To Transaction Information corresponding with association in time transactions requests.Wherein, special algorithm, the first special algorithm and/or second are specific Algorithm can be the same or different.Illustratively, list can be used in special algorithm, the first special algorithm and the second special algorithm To hash function.
The technical solution of the embodiment of the present invention constructs data to be recorded in network world quilt by introducing initial time information The incidence relation between temporal information and data to be recorded before record, by the data record time of data to be recorded, mapping To trusted time corresponding to the timestamp information in the corresponding timing node of initial time information and aforementioned block chain network Between time interval, make initial time of the data to be recorded before network world is recorded have mark that can follow, reduce simultaneously The data record time map of data to be recorded makes the time entrained by data to be recorded to the time interval in block chain Information is more accurate.
Embodiment two
Fig. 2 is the flow chart that one of embodiment of the present invention two deposits card method based on the data of block chain, and the present invention is real Example is applied on the basis of the technical solution of the various embodiments described above, improvement is optimized.
Further, " association in time transactions requests " be refined as to " the association in time transactions requests include transferring accounts affairs Request;The transactions requests of transferring accounts include the side's of producing account address and setting transfer amounts ";Correspondingly, will operate " described in processing Association in time transactions requests " are refined as " being determined according to the related information of the data to be recorded in the transactions requests of transferring accounts Data identification information, and derivative account address is generated according to the data identification information;In transactions requests of transferring accounts described in acquisition The side of producing account address and setting transfer amounts, and the setting transfer amounts are produced to the derivative from the side of producing account address Account address " is readable field transactions requests (such as UTXO to improve the transactions requests type handled by block chain network The trade transactions request of (Unspent Transaction Output, do not spend transaction export)) when data deposit card mechanism.
A kind of data based on block chain as shown in Figure 2 deposit card method, comprising:
S210, the association in time transactions requests that data providing is sent are received.
Wherein, the association in time transactions requests carry the related information of data to be recorded;The association in time affairs are asked It asks including transactions requests of transferring accounts;The transactions requests of transferring accounts carry the side's of producing account address and setting transfer amounts.
Wherein, account address in the side's of producing is what data providing provided, and money transfer transactions can be carried out in block chain network At least one account address.It is understood that in order to reduce subsequent processing transfer accounts transactions requests when data providing held The risk of load is preferably used as the side's of being transferred to account using the believable account address of data providing.Wherein, setting transfer amounts can To be preset fixed value, it can also be the variable value set at random, specifically set according to demand by data providing It is fixed.
The related information of the data to be recorded in S221, transactions requests of transferring accounts according to determines that Data Identification is believed Breath, and derivative account address is generated according to the data identification information.
Wherein, the related information of data to be recorded includes the essential information of data to be recorded.Wherein, the base of data to be recorded This information includes the data identification information of data to be recorded and/or data to be recorded.Specifically, according to the basic of data to be recorded Information and/or initial time information determine data identification information, and the account generation logic followed according to block chain network, Using data identification information as seed, the accessible account address of block chain network is derived, as derivative account address, is used for As the side of the being transferred to account address in transactions requests of transferring accounts.
Optionally, it according to the essential information of data to be recorded, determines data identification information, can be and obtain data to be recorded The essential information data to be recorded that are included itself, converted data to be recorded to using special algorithm and have setting length Character string obtains data identification information.
Or it is optional, it according to the essential information of data to be recorded, determines data identification information, it is to be recorded to can be acquisition The data identification information for the data to be recorded that the essential information of data is included, directly by the data identification information of data to be recorded As data identification information.
Wherein, the related information of data to be recorded can also include initial time information.Wherein, initial time information is used for Time of the data to be recorded before network world is recorded is identified referring to information.
Or it is optional, it according to the related information of data to be recorded, determines data identification information, it is to be recorded to can be acquisition The data to be recorded itself and initial time information that the essential information of data is included, using special algorithm by data to be recorded and Initial time information is converted into the character string for having setting length, obtains data identification information.
Or it is optional, it according to the related information of data to be recorded, determines data identification information, it is to be recorded to can be acquisition The data identification information for the data to be recorded that the essential information of data is included, using special algorithm by the data of data to be recorded Identification information and initial time information are converted into the character string for having setting length, according to obtained character string more New Data Flag Information.
Or it is optional, it according to the related information of data to be recorded, determines data identification information, it is to be recorded to can be acquisition The data to be recorded that the essential information of data is included, and converted data to be recorded to using the first special algorithm and have setting The character string of length;It is converted obtained character string and initial time information to using the second special algorithm and has equal length Character string is as data identification information.
It is understood that since data identification information is based on initial time information generation, then in data identification information The timing node of generation also constructs the incidence relation between data to be recorded and initial time information accordingly, makes to be recorded Initial time of the data before network world is recorded has mark that can follow.
The side of producing account address in transactions requests of transferring accounts described in S222, acquisition and setting transfer amounts, and from the side of producing The setting transfer amounts are produced to the derivative account address in account address.
Specifically, obtaining the side of the producing account address in transactions requests of transferring accounts and setting transfer amounts;Handle affairs of transferring accounts Request, to produce the elements of setting transfer amounts from the side of producing account address to derivative account address.
It is understood that setting transfer amounts can be at least one;Correspondingly, transfer operation can be at least one It is a.The operation at least once from the side of producing account address to derivative account address can be executed in this way, and remaining transfer operation may be used also When having the element of certain amount of money in derivative account address, it is transferred to by derivative account address to the side of producing account address, and/ Or it is transferred to by the side of producing account address to derivative account address.
S223, obtained Transaction Information is stored into block.
It is understood that due to including derivative account that related information based on data to be recorded generates in Transaction Information Address, therefore the storage by derivative account address within a block, by the block of data to be recorded and store transaction data when Between stamp information it is associated, and then by data to be recorded network world data record time map into block chain network.
S230, by the timestamp information of the association in time transactions requests corresponding Transaction Information mark and the block, The data providing is fed back to, with associated with the data to be recorded.
The embodiment of the present invention is by the way that the request of association in time things to be refined as including that the side of producing account address and setting are transferred accounts The things request of transferring accounts of the amount of money, and the operation that will handle association in time transactions requests, are specifically refined as according to transactions requests of transferring accounts In the related informations of data to be recorded determine data identification information, and derivative account address is generated according to data identification information; The side of the producing account address in transactions requests of transferring accounts and setting transfer amounts are obtained, and produces setting from the side of producing account address and turns The account amount of money is to derivative account address, so that will include that the Transaction Information of derivative account address is stored in block in block chain In, and then data to be recorded and derivative account address are associated with the timestamp information of block, further perfect processing can The data read in the block chain network of field transactions requests type deposit card mechanism.
Embodiment three
Fig. 3 is the flow chart that one of embodiment of the present invention three deposits card method based on the data of block chain, and the present invention is real Example is applied on the basis of the technical solution of the various embodiments described above, improvement is optimized.
Further, " association in time transactions requests " be refined as to " the association in time transactions requests include auxiliary data Generate transactions requests ";Correspondingly, operation " handling the association in time transactions requests " is refined as " being generated according to auxiliary data The related information of the data to be recorded in transactions requests runs the nonproductive poll intelligence contract in block chain network, and will Obtained operation result is as auxiliary data ", it is executable generation to improve the transactions requests type handled by block chain network Code section transactions requests (such as intelligence performed by ether mill virtual machine (Ethereum Virtual Machine, EVM) conjunction Data when about) deposit card mechanism.
A kind of data based on block chain as shown in Figure 3 deposit card method, comprising:
S310, the association in time transactions requests that data providing is sent are received.
Wherein, the association in time transactions requests carry the related information of data to be recorded;The association in time affairs are asked It asks and generates transactions requests including auxiliary data.
Wherein, auxiliary data generates transactions requests for generating auxiliary data, for by auxiliary data within a block Storage is established the association in time in data to be recorded and block chain network, and then is realized data to be recorded in network world Time map of the data record time in block chain network.
S320, the related information that the data to be recorded in transactions requests are generated according to auxiliary data, run block chain Nonproductive poll intelligence contract in network, and using obtained operation result as auxiliary data, it will include the thing of auxiliary data Business data are stored into block.
Wherein, nonproductive poll intelligence contract is the intelligent contract for presetting the related information for handling data to be recorded, is used By the way that the related information of data to be recorded as input, by the operation of nonproductive poll intelligence contract, is obtained number to be recorded According to corresponding operation result.Wherein, the operation result of nonproductive poll intelligence contract is the auxiliary data generated.Wherein, wait remember The related information of record data includes the essential information of data to be recorded;The essential information of data to be recorded includes data to be recorded And/or the data identification information of data to be recorded.Alternatively, the related information of data to be recorded further includes the initial of data to be recorded Temporal information.
When in order to simplify the code length of nonproductive poll intelligence contract, and handle consumed by nonproductive poll intelligence contract Between and memory source, optionally, auxiliary data generate transactions requests can be data store transaction request;Correspondingly, auxiliary is looked into Asking intelligent contract can be the intelligent contract of data storage, and the related information of data to be recorded is stored into block;Correspondingly, The operation result that nonproductive poll intelligence contract obtains is the storage result of the related information of data to be recorded.
It is understood that due to including auxiliary data that related information based on data to be recorded generates in Transaction Information (namely operation result of nonproductive poll intelligence contract), therefore by the storage of auxiliary data within a block, by data to be recorded It is associated with the timestamp information of the block of store transaction data, and then by data to be recorded in the data record of network world Between map in block chain network.
S330, by the timestamp information of the association in time transactions requests corresponding Transaction Information mark and the block, The data providing is fed back to, with associated with the data to be recorded.
The embodiment of the present invention generates things request by the way that the request of association in time things is refined as auxiliary data, and will processing The operation of association in time transactions requests is specifically refined as generating the data to be recorded in transactions requests according to auxiliary data Related information runs the nonproductive poll intelligence contract in block chain network, and using obtained operation result as auxiliary data, makes In block chain by include nonproductive poll intelligence contract operation result Transaction Information storage within a block, and then will be to It is associated with the timestamp information of block to record data and the operation result of nonproductive poll intelligence contract, it is further perfect to handle Data in the block chain network of the transactions requests of executable code segment type deposit card mechanism.
Example IV
Fig. 4 is the flow chart that one of embodiment of the present invention four deposits card method based on the data of block chain.The present invention is real Example is applied on the basis of the technical solution of the various embodiments described above, improvement is optimized.
Further, in operation " by the corresponding Transaction Information mark of the association in time transactions requests and the block Timestamp information feeds back to the data providing " after, it is additional " to receive the time verifying affairs that data verification side is sent to ask It asks;Wherein, the time verifying transactions requests include related information, auxiliary data to be verified and the thing to be checked of data to be checked Business Data Identification;The time verifying transactions requests are handled, it is to be checked to be generated according to the related information of the data to be checked Auxiliary data;If the auxiliary data to be checked is identical as the auxiliary data to be verified, according to the number of transactions to be checked According to mark, the target block where the auxiliary data to be verified is searched in block chain;Obtain the time of the target block Stamp information feeds back to the data verification side as object time stamp information ", to improve data verification side to data to be recorded Authentication mechanism.
A kind of data based on block chain as shown in Figure 4 deposit card method, comprising:
S410, the association in time transactions requests that data providing is sent are received;Wherein, the association in time transaction request Include the related information of data to be recorded.
S420, the processing association in time transactions requests, and obtained Transaction Information is stored into block.
S430, by the timestamp information of the association in time transactions requests corresponding Transaction Information mark and the block, The data providing is fed back to, with associated with the data to be recorded.
S440, the time verifying transactions requests that data verification side is sent are received;Wherein, the time verifying transaction request Include related information, auxiliary data to be verified and the Transaction Information to be checked mark of data to be checked.
Wherein, data to be checked are corresponding with data to be recorded;Auxiliary data to be verified is used as with data to be checked wait remember When recording the related information of data, the intermediate data obtained after block chain network is processed is corresponding;Transaction Information mark to be checked When knowing with data to be checked as data to be recorded, the Transaction Information mark obtained after processed in block chain network is opposite It answers.Wherein, the related information of data to be checked includes the essential information of data to be checked;The essential information of data to be checked includes The data identification information of data to be checked itself or data to be checked.Optionally, the related information of data to be checked further include to Inquire the initial time information of data.
Wherein, when data verification side has the acquisition demand of network data, it will based on the network data for needing to obtain Related information generates time verifying transactions requests, and the time verifying transactions requests of generation are sent in block chain network, with Whether the data record time for the network data that verifying needs to obtain is credible.It is understood that data verification side can be from number Related information, auxiliary data to be verified and the Transaction Information to be checked mark that data to be checked are obtained according to provider, for treating The temporal information of inquiry data is verified.
Optionally, when data providing is by the related information of data to be checked, auxiliary data to be verified, and/or to be checked Transaction Information mark is stored at associated storage equipment or the cloud of local, the used equipment of the used equipment of data providing, Corresponding data can be directly acquired from data providing using line under type.Or it is optional, when data providing will be to be checked Related information, auxiliary data to be verified, and/or the Transaction Information to be checked mark for asking data, store in the block of application chain, Data verification side can be by participating in the identical block chain network node using chain network, by sending data acquisition affairs The mode of request or processing data transfer transaction request by way of, obtained on the chain of related data, will be related Data are sent to data verification side.
S450, the processing time verifying transactions requests, it is to be checked to be generated according to the related information of the data to be checked Ask auxiliary data.
If S460, the auxiliary data to be checked are identical as the auxiliary data to be verified, according to the thing to be checked Business Data Identification, searches the target block where the auxiliary data to be verified in block chain.
Optionally, the related information of data to be checked includes the Data Identification letter of data to be checked and/or data to be checked Breath;The auxiliary data to be verified includes account address to be verified.
Correspondingly, generating auxiliary data to be checked according to the related information of the data to be checked, comprising: according to it is described to The related information of inquiry data determines data identification information, and with generating derivative account to be checked according to the data identification information Location.Wherein, the concrete operations that data identification information is determined according to the related information of data to be checked, and according to data to be recorded Related information determines that the mode of operation of data identification information is identical, and details are not described herein.
Correspondingly, if the auxiliary data to be checked is identical as the auxiliary data to be verified, according to described to be checked Transaction Information mark, searches the target block where the auxiliary data to be verified, comprising: if derivative to be checked in block chain Account address is identical as account address to be verified, then is identified according to Transaction Information to be checked, account to be verified is searched in block chain Target block where the address of family.
Illustratively, logic is generated according to the account that block chain network is followed, the Data Identification of data to be checked is believed Breath is used as seed, the accessible account address of block chain network is derived, as derivative account address to be checked.
Derivative account address to be checked is compared with account address to be verified, when verifying account address to be checked with to It is identical to verify account address, then it is processed in block chain network in a like fashion to show that data to be checked were once adopted, it is believed that Data to be checked itself are credible, thus can the confidence level of further data record time to data to be checked verify;When Verifying account address to be checked is different from account address to be verified, then shows the insincere of data to be checked, and there is no need to right again The confidence level of the data record time of data to be checked is verified.It is verified in the data record time to data to be checked When, it will be identified according to Transaction Information to be checked, and the target block where account address to be verified be searched in block chain, and then obtain The timestamp information for taking target block stabs information as the object time, to stab information to data to be checked according to the object time The confidence level of data record time is verified.
Or it is optional, the related information of the data to be checked includes the number of data to be checked or the data to be checked According to identification information;The auxiliary data to be verified includes the data identification information of data to be checked.
Correspondingly, generating auxiliary data to be checked according to the related information of the data to be checked, comprising: according to it is described to Inquire data related information, run block chain network in nonproductive poll intelligence contract, and using obtained operation result as Auxiliary data to be checked.
Illustratively, it using the related information of data to be checked as input, by the operation of nonproductive poll intelligence contract, obtains To the corresponding operation result of data to be checked, and using obtained operation result as auxiliary data to be checked.Wherein, nonproductive poll Intelligent contract is identical as the nonproductive poll intelligence contract used when processing association in time transactions requests.
Auxiliary data to be checked is compared with auxiliary data to be verified, when auxiliary data to be checked and auxiliary to be verified When data are identical or the Data Identification of auxiliary data to be checked is identical as auxiliary data to be verified, then show data to be checked Once it adopted processed in block chain network in a like fashion, it is believed that data to be checked itself are credible, therefore can be further right The confidence level of the data record time of data to be checked is verified;When verifying account address to be checked and account address to be verified Difference then shows the insincere of data to be checked, there is no need to the confidence level of the data record time again to data to be checked into Row verifying.When verifying the data record time to data to be checked, will be identified according to Transaction Information to be checked, in block The target block where auxiliary data to be verified is searched in chain, and then obtains the timestamp information of target block, when as target Between stab information, with according to the object time stab information the confidence level of the data record time of data to be checked is verified.
Wherein, the Data Identification of auxiliary data to be checked can convert tool for auxiliary data to be checked using special algorithm The character string of standby setting length, obtains the data identification information of auxiliary data to be checked;Wherein, special algorithm with according to determine to It is identical to record algorithm used by data generation data identification information.For example, using one-way Hash function to supplementary number to be checked According to carrying out that data fingerprint is calculated, and using obtained data fingerprint as the data identification information of auxiliary data to be checked.
S470, the timestamp information for obtaining the target block feed back to the data verification as object time stamp information Side.
After data verification side receives object time stamp information, i.e., it is believed that the data record time of data to be checked can Letter;Or compare under line by the data record time of object time stamp information and data to be checked, when the data record time It is identical as object time stamp information, i.e., it is believed that the data record time of data to be checked is credible.
The corresponding Transaction Information of association in time transactions requests by being identified the timestamp with block by the embodiment of the present invention Information is fed back to after data providing, the additional verification operation to data to be checked, by receiving and processing data verification The time verifying transactions requests just sent generate the corresponding auxiliary data to be checked of data to be checked, and according to auxiliary to be checked The acquisition of the timestamp information of target block where the comparison and auxiliary data to be verified of data and auxiliary data to be verified, Achieve the purpose that data verification side verifies data to be checked, perfect verification machine of the data verification side to data to be recorded System.
On the basis of the technical solution of the various embodiments described above, for the ease of in the lookup of target block, in time verifying Can also include in transactions requests it is to be checked block-identified, by searched in block chain with it is described to be checked block-identified opposite The current block answered, and include the Transaction Information mark to be checked and the auxiliary data to be verified in the current block When, determine that the current block is the target block.
On the basis of the technical solution of the various embodiments described above, in order to further enhance the verification result of data to be checked Accuracy, the related information of data to be checked further include the initial time information of data to be checked.Correspondingly, data verification side is also The initial time information of data to be checked can be obtained from data providing;Wherein the initial time information of data to be checked can be with When being interpreted as identifying data to be checked as data to be recorded, the time before network world is recorded is referring to information; Wherein, the time can be temporal information (for example, timestamp information) referring to information, or when can be obtained by setting operation Between information related information (for example, block elevation information of block).
Correspondingly, can be when generating auxiliary data to be checked according to the related information of data to be checked according to be checked The essential information and initial time information for asking data, generate auxiliary data to be checked.
Illustratively, if initial time information is initial time stamp information, according to the essential information of data to be checked and Initial time stamp information, determines the data identification information of data to be checked, and according to the Data Identification of data to be checked generate to Inquire auxiliary data;If initial time information is the high area of block, the corresponding reference block of block height is searched in block chain; The timestamp information of reference block is obtained as initial time stamp information;According to the essential information and initial time of data to be checked Information is stabbed, determines the data identification information of data to be checked, and auxiliary to be checked is generated according to the Data Identification of data to be checked Data.
Optionally, if the essential information of data to be checked includes the data identification information of data to be checked, according to be checked The essential information and initial time stamp information for asking data, determine the data identification information of data to be checked, may is that according to be checked The data identification information and initial time information for asking data carry out the character string that setting length is calculated using special algorithm, And the data identification information of the data to be checked is replaced using calculated result.Wherein, the essential information of data to be checked with to The essential information for recording data is corresponding, and used special algorithm is consistent with the special algorithm for handling data to be recorded.
Or it is optional, if the related information of data to be checked includes data to be checked and initial time information, treat The essential information and initial time information for inquiring data are handled, and may is that according to the data to be checked and initial time Information is calculated using special algorithm, generates data identification information;Alternatively, specific using first according to the data to be checked Algorithm carries out that data identification information is calculated, and uses the second special algorithm according to initial time information and data identification information It is calculated, and uses calculated result replacement data identification information.Wherein, special algorithm, the first special algorithm and/or second are special Determining algorithm can be the same or different.Illustratively, special algorithm, the first special algorithm and the second special algorithm can be used One-way Hash function.Wherein, the essential information of data to be checked is corresponding with the essential information of data to be recorded, used each Special algorithm is consistent with each special algorithm for handling data to be recorded.
It should be noted that since data identification information is based on initial time information generation, then in data identification information The timing node of generation also constructs the incidence relation between data to be recorded and initial time information accordingly, makes to be checked Data have mark that can follow as initial time of the data to be recorded before network world is recorded.
Again due to initial time information or the data identification information of carrying initial time information, for as to be checked auxiliary The generation basis of data is helped, so when auxiliary data to be checked to be compared with auxiliary data to be verified, if to be checked auxiliary It helps data identical as auxiliary data to be verified, can directly show that the initial time information of data to be checked and generation are to be verified auxiliary Help initial time information when data identical;Or shows the data identification information of data to be checked and generate supplementary number to be verified According to when data identification information it is identical, show indirectly data to be checked initial time information and generate auxiliary data to be verified when Initial time it is identical.It is operated, is can be realized to be checked using the comparison of auxiliary data to be checked and auxiliary data to be verified The verifying of timing node of the data as data to be recorded before network world is recorded.
Embodiment five
Fig. 5 is the flow chart that one of embodiment of the present invention five deposits card method based on the data of block chain, and the present invention is real On the basis of applying example each technical solution provided by example IV, improvement is optimized.
Further, " time verifying transactions requests " be refined as to " the time verifying transactions requests include number to be checked According to related information, auxiliary data to be verified, Transaction Information to be checked mark and timestamp information to be verified ";Correspondingly, will " timestamp information for obtaining the target block feeds back to the data verification side as object time stamp information " replaces with and " obtains Take the timestamp information of the target block to stab information as the object time, and will obtain object time stamp information and it is described to Verification time stamp information is compared, and feeds back comparison result to the data verification side ", note is treated to improve data verification side The authentication mechanism for recording data, realizes the visual feedback of verification result.
A kind of data based on block chain as shown in Figure 5 deposit card method, comprising:
S510, the association in time transactions requests that data providing is sent are received;Wherein, the association in time transaction request Include the related information of data to be recorded.
S520, the processing association in time transactions requests, and obtained Transaction Information is stored into block.
S530, by the timestamp information of the association in time transactions requests corresponding Transaction Information mark and the block, The data providing is fed back to, with associated with the data to be recorded.
S540, the time verifying transactions requests that data verification side is sent are received.
Wherein, the time verifying transactions requests include the related informations of data to be checked, it is auxiliary data to be verified, to be checked Ask Transaction Information mark and timestamp information to be verified.
Optionally, timestamp information to be verified includes termination timestamp to be verified, the termination timestamp to be verified with it is to be checked The corresponding data record time is corresponding when asking data as data to be recorded.
S550, the processing time verifying transactions requests, it is to be checked to be generated according to the related information of the data to be checked Ask auxiliary data.
If S560, the auxiliary data to be checked are identical as the auxiliary data to be verified, according to the thing to be checked Business Data Identification, searches the target block where the auxiliary data to be verified in block chain.
S570, the timestamp information of the target block is obtained as object time stamp information, and by the object time Stamp information is compared with the timestamp information to be verified, and feeds back comparison result to the data verification side.
Obtain target block timestamp information as the object time stamp information, and will stab the object time information with it is to be verified Timestamp is terminated to be compared;When object time stamp information is identical as termination timestamp to be verified, then to data verification side's feedback Comparison result, to inform that the data record time verifying of data verification side's data to be checked passes through;Otherwise data verification side is informed The data record time verifying of data to be checked does not pass through.
It is understood that in order to further enhance the accuracy of the verification result of data to be checked, it preferably will be to be checked When asking data as data to be recorded, after the association in time request for handling the related information of data to be recorded, by generated area The timestamp information of block is as the data record time.Correspondingly, using the data record time of data to be checked as end to be verified Only timestamp.Correspondingly, when the object time stamp information of the target block of acquisition is identical as termination timestamp to be verified, to number According to authentication feedback ratio pair as a result, to inform that the data record time verifying of data verification side's data to be checked passes through;Otherwise it accuses The data record time verifying of primary data authentication data to be checked does not pass through.
Embodiment six
Fig. 6 is the structure chart that one of embodiment of the present invention six deposits card device based on the data of block chain.The present invention is real When applying example suitable for storing to the data to be recorded network world, by block chain network to the time of data to be recorded Stamp carries out the case where depositing card.The device is by software and or hardware realization, and concrete configuration is in carrying block chain network node Electronic equipment in.Wherein, the block chain network that block chain network node is participated in is credible public chain, this is credible, and public chain is included The scale of block chain network node reache a certain level, safeguarded by block chain network node, weaken or eliminate management The centralized management of team, and have certain public credibility and influence power.Preferably, credible public chain is with proof of work mechanism work For the common recognition mechanism for generating block.
A kind of data based on block chain as shown in FIG. 6 deposit card device, comprising: association request receiving module 610, association Request processing module 620 and deposit card information feedback module 630.
Wherein, association request receiving module 610, the association in time transactions requests that provider sends for receiving data;Its In, the association in time transactions requests include the related information of data to be recorded;
Association request processing module 620 deposits obtained Transaction Information for handling the association in time transactions requests Storage is into block;
Card information feedback module 630 is deposited, is used for the corresponding Transaction Information mark of the association in time transactions requests and institute The timestamp information for stating block feeds back to the data providing, with associated with the data to be recorded.
The embodiment of the present invention includes data to be recorded by the reception data providing transmission of association request receiving module The association in time transactions requests of related information;Association in time transactions requests are handled by association request processing module, will be obtained Transaction Information store into block;By depositing card information feedback module for the corresponding Transaction Information mark of association in time transactions requests Know the timestamp information with block, data providing is fed back to, with associated with data to be recorded.Lead to by adopting the above technical scheme It crosses and establishes being associated with for data to be recorded and the timestamp information of the Transaction Information mark of institute's memory block in credible public chain and block Relationship, by timestamp information phase of data record time map of the data to be recorded when network world is stored into credible public chain The time interval of pass, so that the record time of data to be recorded has something to base on, improve the record time of data to be recorded can Reliability, and then improve the confidence level of network data.
Further, the related information of the data to be recorded include the essential information to be recorded and/or it is described to Record the initial time information of data.
Further, the association in time transactions requests include transactions requests of transferring accounts;The transactions requests of transferring accounts include turning Square account address and setting transfer amounts out;
Correspondingly, association request processing module 620, comprising:
Derivative account generation unit, the related information for the data to be recorded in transactions requests of transferring accounts according to It determines data identification information, and derivative account address is generated according to the data identification information;
It transfers accounts processing unit, for obtaining the side of producing account address in the transactions requests of transferring accounts and setting is transferred accounts gold Volume, and the setting transfer amounts are produced to the derivative account address from the side of producing account address.
Further, the association in time transactions requests include that auxiliary data generates transactions requests;
Correspondingly, association request processing module 620, comprising:
Intelligent contract running unit, for generating the association of the data to be recorded in transactions requests according to auxiliary data Information runs the nonproductive poll intelligence contract in block chain network, and using obtained operation result as auxiliary data.
Further, card information feedback module 630 is deposited, is also used to:
After storing obtained Transaction Information into block, block-identified by the block feeds back to the data Provider.
Further, which further includes that initial time stamp obtains module, is used for:
Before receiving the request of data providing sending time association affairs, receives the timestamp that data providing is sent and obtain Take request;
The timestamp acquisition request is handled, to obtain timestamp information that at least one has generated block and/or described At least one has generated the block height of block;
Using the timestamp information and/or corresponding block height as initial time information, feeds back to the data and mention Supplier.
Further, initial time stamp obtains module, and executing acquisition, at least one has generated the timestamp information of block When, it is specifically used for:
Obtain the timestamp information of current newest block.
Further, the device further include:
Checking request receiving module, for by the association in time transactions requests corresponding Transaction Information mark and described The timestamp information of block is fed back to after the data providing, is received the time verifying affairs that data verification side is sent and is asked It asks;Wherein, the time verifying transactions requests include related information, auxiliary data to be verified and the thing to be checked of data to be checked Business Data Identification;
Auxiliary data generation module to be checked, for handling the time verifying transactions requests, according to described to be checked The related information of data generates auxiliary data to be checked;
Target block searching module, for when the auxiliary data to be checked is identical as the auxiliary data to be verified, It is identified according to the Transaction Information to be checked, the target block where the auxiliary data to be verified is searched in block chain;
Object time stabs feedback module, and the timestamp information for obtaining the target block stabs information as the object time Feed back to the data verification side.
Further, time verifying transactions requests further include timestamp information to be verified;
Correspondingly, the device further includes, comparison result feedback module is used for:
After searching the target block where the auxiliary data to be verified in block chain, the target block is obtained Timestamp information stabs information as the object time, and object time stamp information and the timestamp information to be verified are carried out It compares, and feeds back comparison result to the data verification side.
Further, the related information of the data to be checked includes essential information and/or the institute of the data to be checked State the initial time information of data to be checked.
Further, the auxiliary data to be verified includes account address to be verified;
Correspondingly, auxiliary data generation module to be checked, comprising:
Derivative account generation unit to be checked, for determining that Data Identification is believed according to the related information of the data to be checked Breath, and derivative account address to be checked is generated according to the data identification information.
Further, the auxiliary data to be verified includes the data identification information of data to be checked;
Correspondingly, auxiliary data generation module to be checked, comprising:
Auxiliary data generation unit to be checked runs block link network for the related information according to the data to be checked Nonproductive poll intelligence contract in network, and using obtained operation result as auxiliary data to be checked.
It further, further include to be checked block-identified in the time verifying transactions requests;
Correspondingly, target block searching module, comprising:
Target block determination unit, for lookup and the block-identified corresponding current block to be checked, and in institute It states in current block when including the Transaction Information to be checked mark and the auxiliary data to be verified, determines the current block For the target block.
The above-mentioned data based on block chain deposit card device can be performed it is provided by any embodiment of the invention based on block chain Data deposit card method, have execute the data based on block chain deposit the corresponding functional module of card method and beneficial effect.
Embodiment seven
Fig. 7 is the structural schematic diagram of one of the embodiment of the present invention seven electronic equipment, which specifically carries Block chain network node, the block chain network which is participated in are credible public chain, this is credible, and public chain is included The scale of block chain network node reache a certain level, safeguarded by block chain network node, weaken or eliminate management The centralized management of team, and have certain public credibility and influence power.Preferably, credible public chain is with proof of work mechanism As the common recognition mechanism for generating block.
Electronic equipment as shown in Figure 7, comprising: input unit 710, output device 720, processor 730 and storage dress Set 740.
Wherein, input unit 710, the association in time transactions requests that provider sends for receiving data;
Output device 720, for identifying and the block the corresponding Transaction Information of the association in time transactions requests Timestamp information feeds back to the data providing;
One or more processors 730;
Storage device 740, for storing one or more programs.
In Fig. 7 by taking a processor 730 as an example, input unit 710 in the medical imaging equipment can by bus or Other modes are connected with output device 720, processor 730 and storage device 740, and processor 730 and storage device 740 It is connected by bus or other modes, in Fig. 7 for being connected by bus.
In the present embodiment, the processor 730 in electronic equipment can control input unit 710 and receive data providing hair The association in time transactions requests sent;The association in time affairs that the reception data providing of input unit 710 is sent can also be handled to ask It asks;Obtained Transaction Information can also be stored into the block of storage device 740;Output device 730 can also be controlled by institute The timestamp information for stating association in time transactions requests corresponding Transaction Information mark and the block, feeds back to the data and provides Side, with associated with the data to be recorded.
Storage device 740 in the electronic equipment is used as a kind of computer readable storage medium, can be used for storing one or Multiple programs, described program can be software program, computer executable program and module, as being based in the embodiment of the present invention The data of block chain deposit data of the card based on block chain and deposit the corresponding program instruction/module of card method (for example, attached shown in fig. 6 Association request receiving module 610, association request processing module 620 and deposit card information feedback module 630).Processor 730 passes through Software program, instruction and the module being stored in storage device 740 are run, thereby executing the various function application of electronic equipment And data processing, the i.e. data based on block chain in realization above method embodiment deposit card method.
Storage device 740 may include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;It storage data area can the (association in time in such as above-described embodiment such as storing data Transactions requests, the related information of data to be recorded, the Transaction Information mark of association in time transactions requests and the timestamp of block Information etc.).In addition, storage device 740 may include high-speed random access memory, it can also include nonvolatile memory, A for example, at least disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, it deposits Storage device 740 can further comprise the memory remotely located relative to processor 730, these remote memories can pass through net Network is connected to server.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication And combinations thereof.
Embodiment eight
The embodiment of the present invention eight also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey Sequence deposits the data based on block chain for realizing that the present invention implements to provide when card device executes by the data based on block chain and deposits card side Method is asked applied to the block chain node of credible public chain this method comprises: receiving the association in time affairs that data providing is sent It asks;Wherein, the association in time transactions requests include the related information of data to be recorded;The association in time affairs are handled to ask It asks, obtained Transaction Information is stored into block;By the association in time transactions requests corresponding Transaction Information mark and The timestamp information of the block feeds back to the data providing, with associated with the data to be recorded.Note that above-mentioned Only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that the present invention is not limited to here The specific embodiment, be able to carry out for a person skilled in the art it is various it is apparent variation, readjust and substitution and Without departing from the scope of protection of the present invention.Therefore, although the present invention has been described in more detail through the above examples, But the present invention is not limited to the above embodiments only, without departing from the inventive concept, can also include it is more other Equivalent embodiment, and the scope of the invention is determined by the scope of the appended claims.

Claims (12)

1. a kind of data based on block chain deposit card method, which is characterized in that applied to the block chain node of credible public chain, packet It includes: receiving the association in time transactions requests that data providing is sent;Wherein, the association in time transactions requests include number to be recorded According to related information;
The association in time transactions requests are handled, obtained Transaction Information is stored into block;
By the timestamp information of the association in time transactions requests corresponding Transaction Information mark and the block, feed back to described Data providing, with associated with the data to be recorded.
2. the method according to claim 1, wherein the related information of the data to be recorded includes described wait remember Record the essential information of data and/or the initial time information of the data to be recorded.
3. according to the method described in claim 2, it is characterized in that, the association in time transactions requests are asked including affairs of transferring accounts It asks;The transactions requests of transferring accounts include the side's of producing account address and setting transfer amounts;
Correspondingly, handling the association in time transactions requests, comprising:
Data identification information is determined according to the related information of the data to be recorded in the transactions requests of transferring accounts, and according to institute It states data identification information and generates derivative account address;
The side of producing account address and setting transfer amounts in transactions requests of transferring accounts described in acquisition, and turn from the side of producing account address The setting transfer amounts are to the derivative account address out.
4. according to the method described in claim 2, it is characterized in that, the association in time transactions requests include that auxiliary data generates Transactions requests;
Correspondingly, handling the association in time transactions requests, comprising:
The related information of the data to be recorded in transactions requests is generated according to auxiliary data, is run auxiliary in block chain network The intelligent contract of inquiry is helped, and using obtained operation result as auxiliary data.
5. according to the method described in claim 2, it is characterized in that, receiving the request of data providing sending time association affairs Before, further includes:
Receive the timestamp acquisition request that data providing is sent;
Handle the timestamp acquisition request, with obtain timestamp information that at least one has generated block and/or it is described at least One has generated the block height of block;
Using the timestamp information and/or corresponding block height as initial time information, the data providing is fed back to.
6. method according to claim 1-5, which is characterized in that the association in time transactions requests are corresponding Transaction Information mark and the block timestamp information, feed back to after the data providing, further includes:
Receive the time verifying transactions requests that data verification side is sent;Wherein, the time verifying transactions requests include to be checked The related information of data, auxiliary data to be verified and Transaction Information to be checked mark;
The time verifying transactions requests are handled, to generate supplementary number to be checked according to the related information of the data to be checked According to;
If the auxiliary data to be checked is identical as the auxiliary data to be verified, according to the Transaction Information mark to be checked Know, the target block where the auxiliary data to be verified is searched in block chain;
The timestamp information for obtaining the target block feeds back to the data verification side as object time stamp information;Alternatively,
When the time verifying transactions requests further include timestamp information to be verified, the timestamp letter of the target block is obtained Breath stabs information as the object time, and object time stamp information is compared with the timestamp information to be verified, and Comparison result is fed back to the data verification side.
7. according to the method described in claim 6, it is characterized in that, the related information of the data to be checked includes described to be checked Ask the essential information of data and/or the initial time information of the data to be checked.
8. the method according to the description of claim 7 is characterized in that the auxiliary data to be verified includes account to be verified Location;
Correspondingly, generating auxiliary data to be checked according to the related information of the data to be checked, comprising:
Determine data identification information according to the related information of the data to be checked, and according to the data identification information generate to Inquire derivative account address.
9. the method according to the description of claim 7 is characterized in that the auxiliary data to be verified includes the number of data to be checked According to identification information;
Correspondingly, generating auxiliary data to be checked according to the related information of the data to be checked, comprising:
According to the related information of the data to be checked, the nonproductive poll intelligence contract in block chain network is run, and will be obtained Operation result as auxiliary data to be checked.
10. a kind of data based on block chain deposit card device, which is characterized in that be configured at the block chain node of credible public chain, packet It includes:
Association request receiving module, the association in time transactions requests that provider sends for receiving data;Wherein, the time closes Connection transactions requests include the related information of data to be recorded;
Association request processing module stores obtained Transaction Information to area for handling the association in time transactions requests In block;
Card information feedback module is deposited, for identifying and the block the corresponding Transaction Information of the association in time transactions requests Timestamp information feeds back to the data providing, with associated with the data to be recorded.
11. a kind of electronic equipment characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now a kind of data based on block chain deposit card method as claimed in any one of claims 1-9 wherein.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Realize that a kind of data based on block chain deposit card method as claimed in any one of claims 1-9 wherein when execution.
CN201910271629.2A 2019-04-04 2019-04-04 Block chain-based data evidence storage method, device, equipment and storage medium Active CN109981673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910271629.2A CN109981673B (en) 2019-04-04 2019-04-04 Block chain-based data evidence storage method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910271629.2A CN109981673B (en) 2019-04-04 2019-04-04 Block chain-based data evidence storage method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109981673A true CN109981673A (en) 2019-07-05
CN109981673B CN109981673B (en) 2021-10-08

Family

ID=67082963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910271629.2A Active CN109981673B (en) 2019-04-04 2019-04-04 Block chain-based data evidence storage method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109981673B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110363687A (en) * 2019-07-12 2019-10-22 百度在线网络技术(北京)有限公司 Recording method, device, electronic equipment, terminal and the medium of travel information
CN110413762A (en) * 2019-08-07 2019-11-05 北京艾摩瑞策科技有限公司 The cochain method and device thereof of knowledge question associated data
CN110457396A (en) * 2019-08-15 2019-11-15 北京北科融智云计算科技有限公司 One kind being based on block chain scientific data processing method, device, equipment and storage medium
CN110601849A (en) * 2019-08-21 2019-12-20 腾讯科技(深圳)有限公司 Trusted timestamp adding method and device and storage medium
CN110598477A (en) * 2019-09-19 2019-12-20 腾讯科技(深圳)有限公司 Block chain based information processing method and device, storage medium and equipment
CN111126883A (en) * 2020-03-23 2020-05-08 中国计量大学 Method and device for managing research and development project information based on block chain and electronic equipment
CN111226249A (en) * 2019-08-12 2020-06-02 阿里巴巴集团控股有限公司 Trusted platform based on block chain
CN111406398A (en) * 2019-11-13 2020-07-10 支付宝(杭州)信息技术有限公司 Managing trust points in an account book system
CN111459932A (en) * 2020-03-05 2020-07-28 深圳市元征科技股份有限公司 Block chain-based data evidence storage method and device and storage medium
CN111708538A (en) * 2020-05-29 2020-09-25 平安医疗健康管理股份有限公司 Transaction circulation method, device, computer equipment and computer readable storage medium
CN111966731A (en) * 2020-10-23 2020-11-20 支付宝(杭州)信息技术有限公司 Method and device for querying data in block chain system
CN112597192A (en) * 2020-12-09 2021-04-02 杭州趣链科技有限公司 Data query method, device, server and medium
CN112866282A (en) * 2021-02-10 2021-05-28 中国人民银行数字货币研究所 Method and device for verifying time information in block chain
CN113612741A (en) * 2020-12-01 2021-11-05 支付宝(杭州)信息技术有限公司 Method, device, equipment and storage medium for storing article circulation records

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017157926A (en) * 2016-02-29 2017-09-07 富士ゼロックス株式会社 Information processing unit and program
CN107480990A (en) * 2017-08-01 2017-12-15 中国联合网络通信集团有限公司 Block chain bookkeeping methods and device
CN107770182A (en) * 2017-10-30 2018-03-06 中国联合网络通信集团有限公司 The date storage method and home gateway of home gateway
CN108346060A (en) * 2018-02-06 2018-07-31 蔡汉宏 One kind discerning put on record method and its system based on the block chain art work
CN108595607A (en) * 2018-04-20 2018-09-28 百度在线网络技术(北京)有限公司 Processing method, device, equipment, system and the storage medium of register information
CN108711212A (en) * 2018-05-21 2018-10-26 中国联合网络通信集团有限公司 Card method, apparatus and system are deposited in ballot
CN108961052A (en) * 2018-06-25 2018-12-07 百度在线网络技术(北京)有限公司 Verification method, storage method, device, equipment and the medium of block chain data
CN109447809A (en) * 2018-11-14 2019-03-08 成都皓图智能科技有限责任公司 A kind of video active identification method of combination block chain
CN109462483A (en) * 2018-11-27 2019-03-12 平安科技(深圳)有限公司 Mail based on block chain deposits card method, apparatus, equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017157926A (en) * 2016-02-29 2017-09-07 富士ゼロックス株式会社 Information processing unit and program
CN107480990A (en) * 2017-08-01 2017-12-15 中国联合网络通信集团有限公司 Block chain bookkeeping methods and device
CN107770182A (en) * 2017-10-30 2018-03-06 中国联合网络通信集团有限公司 The date storage method and home gateway of home gateway
CN108346060A (en) * 2018-02-06 2018-07-31 蔡汉宏 One kind discerning put on record method and its system based on the block chain art work
CN108595607A (en) * 2018-04-20 2018-09-28 百度在线网络技术(北京)有限公司 Processing method, device, equipment, system and the storage medium of register information
CN108711212A (en) * 2018-05-21 2018-10-26 中国联合网络通信集团有限公司 Card method, apparatus and system are deposited in ballot
CN108961052A (en) * 2018-06-25 2018-12-07 百度在线网络技术(北京)有限公司 Verification method, storage method, device, equipment and the medium of block chain data
CN109447809A (en) * 2018-11-14 2019-03-08 成都皓图智能科技有限责任公司 A kind of video active identification method of combination block chain
CN109462483A (en) * 2018-11-27 2019-03-12 平安科技(深圳)有限公司 Mail based on block chain deposits card method, apparatus, equipment and storage medium

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110363687A (en) * 2019-07-12 2019-10-22 百度在线网络技术(北京)有限公司 Recording method, device, electronic equipment, terminal and the medium of travel information
CN110413762A (en) * 2019-08-07 2019-11-05 北京艾摩瑞策科技有限公司 The cochain method and device thereof of knowledge question associated data
CN111226249A (en) * 2019-08-12 2020-06-02 阿里巴巴集团控股有限公司 Trusted platform based on block chain
CN111226249B (en) * 2019-08-12 2023-11-28 创新先进技术有限公司 Trusted platform based on blockchain
CN110457396A (en) * 2019-08-15 2019-11-15 北京北科融智云计算科技有限公司 One kind being based on block chain scientific data processing method, device, equipment and storage medium
CN110601849A (en) * 2019-08-21 2019-12-20 腾讯科技(深圳)有限公司 Trusted timestamp adding method and device and storage medium
CN110598477A (en) * 2019-09-19 2019-12-20 腾讯科技(深圳)有限公司 Block chain based information processing method and device, storage medium and equipment
US11314731B2 (en) 2019-11-13 2022-04-26 Alipay (Hangzhou) Information Technology Co., Ltd. Managing trust points in ledger systems
CN111406398A (en) * 2019-11-13 2020-07-10 支付宝(杭州)信息技术有限公司 Managing trust points in an account book system
CN111406398B (en) * 2019-11-13 2022-08-26 支付宝(杭州)信息技术有限公司 Managing trust points in an account book system
CN111459932A (en) * 2020-03-05 2020-07-28 深圳市元征科技股份有限公司 Block chain-based data evidence storage method and device and storage medium
CN111126883A (en) * 2020-03-23 2020-05-08 中国计量大学 Method and device for managing research and development project information based on block chain and electronic equipment
CN111126883B (en) * 2020-03-23 2024-01-26 中国计量大学 Block chain-based research and development project information management method and device and electronic equipment
CN111708538B (en) * 2020-05-29 2022-03-22 平安医疗健康管理股份有限公司 Transaction circulation method, device, computer equipment and computer readable storage medium
CN111708538A (en) * 2020-05-29 2020-09-25 平安医疗健康管理股份有限公司 Transaction circulation method, device, computer equipment and computer readable storage medium
CN111966731A (en) * 2020-10-23 2020-11-20 支付宝(杭州)信息技术有限公司 Method and device for querying data in block chain system
CN113612741A (en) * 2020-12-01 2021-11-05 支付宝(杭州)信息技术有限公司 Method, device, equipment and storage medium for storing article circulation records
CN113612741B (en) * 2020-12-01 2023-08-08 支付宝(杭州)信息技术有限公司 Method, device, equipment and storage medium for storing certificate of article circulation record
CN112597192A (en) * 2020-12-09 2021-04-02 杭州趣链科技有限公司 Data query method, device, server and medium
CN112866282A (en) * 2021-02-10 2021-05-28 中国人民银行数字货币研究所 Method and device for verifying time information in block chain
CN112866282B (en) * 2021-02-10 2022-12-27 中国人民银行数字货币研究所 Method and device for verifying time information in block chain

Also Published As

Publication number Publication date
CN109981673B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN109981673A (en) Data based on block chain deposit card method, apparatus, equipment and storage medium
US11962577B2 (en) Resource transfer setup and verification
CN107948203B (en) A kind of container login method, application server, system and storage medium
KR20200108231A (en) Service process system, service data processing method and device
CN109002487A (en) A kind of post-processing approach based on copyright registration information, device, equipment and medium
CN108306877A (en) Verification method, device and the storage medium of subscriber identity information based on NODE JS
US8745088B2 (en) System and method of performing risk analysis using a portal
CN108924130A (en) A kind of verification method of block data, device, equipment and storage medium
CN109145201B (en) Information management method, device, equipment and storage medium based on block chain
CN103942616B (en) Car insurance calculation quotation service system based on mobile internet
CN109002349A (en) Application program exchange method, implementation method, device, equipment and medium
US20220284072A1 (en) Methods and systems for providing authenticated one-click access to a customized user interaction-specific web page
CN110955724A (en) Data processing method and device based on block chain, node equipment and storage medium
CN104184836B (en) Multi-service single-node login system and method based on remote service business
CN110910110A (en) Data processing method and device and computer storage medium
KR100716507B1 (en) Appraising method of real estate for auction using internet and appraising system thereof
CN104469770B (en) Towards WLAN authentication methods, platform and the system of third-party application
Georgakopoulos et al. SenShaMart: A trusted loT marketplace for sensor sharing
CN110310118B (en) User information verification method, device, equipment and medium based on block chain
CN108846952A (en) Automatic vending machine long-range control method, device, storage medium and system
CN114793244A (en) Resource processing method, device, equipment and medium for block chain
CN109005034A (en) A kind of multi-tenant quantum key Supply Method and device
US11902266B1 (en) Systems and methods for generating and using secure sharded onboarding user interfaces
CN114615084B (en) Single sign-on logout method, system, electronic equipment and storage medium applied to front-end and back-end separation scene
US11818117B2 (en) Multi-party exchange platform

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