CN108197505A - Block chain business data processing method, device and electronic equipment - Google Patents

Block chain business data processing method, device and electronic equipment Download PDF

Info

Publication number
CN108197505A
CN108197505A CN201711483455.3A CN201711483455A CN108197505A CN 108197505 A CN108197505 A CN 108197505A CN 201711483455 A CN201711483455 A CN 201711483455A CN 108197505 A CN108197505 A CN 108197505A
Authority
CN
China
Prior art keywords
major key
business datum
block chain
stored
original
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
CN201711483455.3A
Other languages
Chinese (zh)
Other versions
CN108197505B (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.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group 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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201711483455.3A priority Critical patent/CN108197505B/en
Publication of CN108197505A publication Critical patent/CN108197505A/en
Application granted granted Critical
Publication of CN108197505B publication Critical patent/CN108197505B/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
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention proposes a kind of block chain business data processing method, device and electronic equipment, wherein, this method includes:Obtain business datum to be stored and corresponding original major key;According to default rule, the original major key is encrypted, generation encryption major key;The business datum to be stored is stored using the encryption major key as index.The risk that business datum exposes in block chain is reduced as a result, is improved the safety of business datum, is improved user experience.

Description

Block chain business data processing method, device and electronic equipment
Technical field
The present invention relates to a kind of information technology field more particularly to block chain business data processing method, device and electronics Equipment.
Background technology
With the development of network, due to various reasons caused loss of data, reveal or the serious problems such as be tampered and compare All it is that the storage safety of data also increasingly becomes the focus that people are of interest and pay attention to, and the storage for ensureing data is one safely It cuts using data to handle the precondition of practical problem.
Block chain network, also referred to as distributed account book network, verifies and stores using chain type block chain structure is encrypted Data know together algorithm to generate and update the data using distributed node, ensure that data can not distort by way of cryptography And forgery, and block chain can integrated intelligent contract realize the control of transparence data access, due to its it is safe and reliable the characteristics of, into For current popular research field.
However, existing block chain business datum storage mode still has security risk.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the present invention proposes a kind of block chain business data processing method, by being corresponded to business datum to be stored Original major key be encrypted after, then by business datum to be stored using encrypt major key as index store, reduce The risk that business datum exposes in block chain, improves the safety of business datum, improves user experience.
The present invention also proposes a kind of block chain service data processing apparatus.
The present invention also proposes a kind of electronic equipment.
The present invention also proposes a kind of computer readable storage medium.
First aspect present invention embodiment proposes a kind of block chain business data processing method, including:It obtains to be stored Business datum and corresponding original major key;According to default rule, the original major key is encrypted, generation encryption Major key;The business datum to be stored is stored using the encryption major key as index.
The block chain business data processing method of the embodiment of the present invention is obtaining business datum to be stored and corresponding original After beginning major key, original major key can be encrypted according to default rule, generation encryption major key, and then will be to be stored Business datum using encrypt major key as index stored.The risk that business datum exposes in block chain is reduced as a result, is improved The safety of business datum, improves user experience.
Second aspect of the present invention embodiment proposes a kind of block chain service data processing apparatus, including:First obtains mould Block, for obtaining business datum to be stored and corresponding original major key;Processing module, for according to default rule, to institute It states original major key to be encrypted, generation encryption major key;Memory module, for by the business datum to be stored with described Encryption major key is stored for index.
The block chain service data processing apparatus of the embodiment of the present invention is obtaining business datum to be stored and corresponding original After beginning major key, original major key can be encrypted according to default rule, generation encryption major key, and then will be to be stored Business datum using encrypt major key as index stored.The risk that business datum exposes in block chain is reduced as a result, is improved The safety of business datum, improves user experience.
Third aspect present invention embodiment proposes a kind of electronic equipment, including:
Memory, processor and the computer program that can be run on the memory and on the processor is stored in, It is characterized in that, the processor realizes block chain business data processing side as described in relation to the first aspect when performing described program Method.
Fourth aspect present invention embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey Sequence realizes block chain business data processing method as described in relation to the first aspect when said program is executed by a processor.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Significantly and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of the block chain business data processing method of one embodiment of the invention;
Fig. 2 is the flow chart of the block chain business data processing method of another embodiment of the present invention;
Fig. 3 is the structure diagram of the block chain service data processing apparatus of one embodiment of the invention;
Fig. 4 is the structure diagram of the block chain service data processing apparatus of another embodiment of the present invention;
Fig. 5 is the structure diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
It is understood that more transactions can be distributed to after block is formed by common recognition mechanism processing in block chain Node in each block chain is stored, and all blocks are attached to form block chain by being similar to the mechanism of chained list. Each block has its corresponding unique encodings mark, when needing to obtain designated blocks in block chain or merchandising, by unique Code identification inquiry can obtain result.
In addition, due to storing the corresponding business datum of various transaction in block chain, in order to classify to business datum, It can be that every business datum sets a major key, business datum can be inquired and be counted by major key.And major key leads to It is often related to specific business, for example, business datum be information of vehicles when, can be using vehicle sequence as major key.It is this with it is specific The relevant major key of business can clearly show business, but also bring security risk simultaneously.Since the generation of major key has one Set pattern then, once therefore major key reveal, the business on entire block chain can be obtained easily according to the create-rule of major key Data even carry out malicious operation.
What the business datum caused by order to avoid being revealed because of major key on entire block chain was leaked happens, the present invention Embodiment proposes a kind of block chain business data processing method, is obtaining business datum to be stored and corresponding original major key Afterwards, original major key can be encrypted according to default rule, generation encryption major key, and then by business to be stored Data are stored using encrypting major key as index.The risk that business datum exposes in block chain is reduced as a result, improves business The safety of data, improves user experience.
Below in conjunction with the accompanying drawings, block chain business data processing method provided in an embodiment of the present invention is illustrated.
Fig. 1 is the flow chart of the block chain business data processing method of one embodiment of the invention.
As shown in Figure 1, the block chain business data processing method includes:
Step 101, business datum to be stored and corresponding original major key are obtained.
Specifically, the executive agent of block chain business data processing method provided in an embodiment of the present invention, real for the present invention The block chain service data processing apparatus of example offer is applied, which can be configured in any electronic equipment, with to block chain Business datum is handled.
It is understood that in block chain network, for target service, participating in the block chain node of target service is Service node, the block chain node for being responsible for carrying out common recognition verification is common recognition node.For certain business, this business is participated in Service node can be into block chain each this business of common recognition node broadcasts service request, each node of knowing together is to service request After common recognition is verified, business datum can be stored into block chain, service node can also be notified to store business datum Into block chain.That is, block chain business data processing method provided in an embodiment of the present invention, can be that common recognition node performs, It can also be that service node performs, not be restricted herein.
It should be noted that service node, can participate in verifying the common recognition of target service as common recognition node simultaneously Node or cannot participate in common recognition verification, be only capable of as service node participate in target service block chain node.Common recognition Node can participate in the block chain node of target service as service node simultaneously or be merely responsible for common recognition verification, no The block chain node of target service can be participated in as service node, is not restricted herein.
Wherein, business datum to be stored refers to by after verification of knowing together, needing to store the business datum in block chain.
Correspondingly, before business datum is stored, it is also necessary to carry out common recognition certification to the business datum of acquisition.
Specifically, if the executive agent of the block chain business data processing method in the present embodiment is common recognition node, then This method further includes before above-mentioned steps 101:
Common recognition certification is carried out to the business datum.
Specifically, the business datum can be that the common recognition node is directly obtained from application system or by this Other service nodes in block chain are sent to the common recognition node, and the present embodiment does not limit this.The common recognition node is obtaining After getting the business datum, you can common recognition certification is carried out to the business datum, it, can be by the business number of acquisition if certification passes through According to being determined as business datum to be stored, and obtain the corresponding original major key of business datum.
Alternatively, if the executive agent of the block chain business data processing method in the present embodiment is service node, then should Method further includes before above-mentioned steps 101:
The business datum is sent at least one common recognition node and carries out common recognition certification, and obtain described at least one common Know the certification that node returns and pass through message.
Specifically, service node is after business datum is got, you can is sent to business datum other at least one Common recognition node carries out common recognition certification by other at least one common recognition nodes, if other at least one common recognition entity authentications lead to It crosses, then it can be to the service node return authentication by message, so as to which the service node can determine the business datum of acquisition For business datum to be stored, and obtain the corresponding original major key of business datum.
Specifically, original major key, can be the rope for inquiring with service data statistics with one business datum of unique mark Draw, can be generated by specific rule.I.e. before step 101, can also include:
According to the major key coding rule of block chain, the corresponding original major key of business datum to be stored is determined.
Wherein, major key coding rule, refer to for provide original major key generation strategy rule.
Specifically, it can determine the corresponding original major key of business datum to be stored by a variety of major key coding rules.
For example, business datum to be stored can be identified, determine that the corresponding data of business datum to be stored are plucked Will, and data summarization is determined as original major key.
Wherein, in block chain technical field, data summarization is a string of the characters generated according to business datum, and data summarization can Using " data fingerprint " as business datum, the data summarization of business datum and business datum always strict conformance.Namely Say, according to data summarization can not backstepping go out the business datum of plaintext, and business datum is even have a variation, after variation The data summarization of business datum generation can also change.The data summarization of business datum can be according to one-way hash function (such as MD5, SHA-1 etc.) generation, it can also be generated according to hash algorithm or other functions, as long as passing through data summarization in short, can realize Can not backstepping go out the purpose of business datum.
Alternatively, business datum to be stored can be identified, the target type belonging to business datum, Ran Hougen are determined According to each original major key mark included under target type and target type, the original major key of business datum to be stored is determined.
As an example it is assumed that by the way that business datum to be stored is identified, it is vehicle to determine business datum to be stored Class data, and each original major key mark that the data of vehicle class have included is respectively car0, car1, car2, then it can basis The rule of each original major key mark included under vehicle class data, the original major key for determining business datum to be stored are car3。
Alternatively, can also determine the corresponding original major key of business datum to be stored by other major key coding rules, this Place is not restricted.
Step 102, according to default rule, original major key is encrypted, generation encryption major key.
Step 103, business datum to be stored is stored using encrypting major key as index.
Wherein, default rule, refer to for provide original major key encryption method rule.
During specific implementation, original major key can be encrypted according to multiple rule.For example, it can utilize for numerical value The encryption method (Order Preserving Encryption Scheme, abbreviation OPES) of type data preservation sequence is replaced The methods of changing or replacing is encrypted original major key, is not restricted herein.
Specifically, after original major key is encrypted, you can generation encryption major key, so as to by industry to be stored Business data are to encrypt major key as in index storage to block chain.
It is understood that encrypt major key be index storage to after in block chain by business datum to be stored, due to Encrypt major key be generate by encryption, with business it is unrelated, without specific rule, therefore even if encryption lead Key is revealed, and the business datum in entire block chain will not be caused to reveal, and so as to reduce the risk of business datum exposure, is improved The safety of business datum.
The block chain business data processing method of the embodiment of the present invention is obtaining business datum to be stored and corresponding original After beginning major key, original major key can be encrypted according to default rule, generation encryption major key, and then will be to be stored Business datum using encrypt major key as index stored.The risk that business datum exposes in block chain is reduced as a result, is improved The safety of business datum, improves user experience.
It, can be according to pre- by above-mentioned analysis it is found that after business datum to be stored and corresponding original major key is obtained If rule, original major key is encrypted, generation encryption major key, and then by business datum to be stored to encrypt major key It is stored for index.In a kind of possible way of realization, can also to block chain corresponding account book title, intelligent contract name Claim and original major key is encrypted, generation encryption major key, with reference to Fig. 2, to block chain business provided in an embodiment of the present invention Data processing method is further described.
Fig. 2 is the flow chart of the block chain business data processing method of another embodiment of the present invention.
As shown in Fig. 2, this method includes:
Step 201, business datum to be stored and corresponding original major key are obtained.
Wherein, the specific implementation process and principle of above-mentioned steps 201 is referred to the detailed description of above-described embodiment, this Place repeats no more.
Step 202, the corresponding account book title of block chain and the corresponding intelligent contract title of block chain are determined.
Step 203, according to default rule, by the corresponding account book title of block chain, the corresponding intelligent contract name of block chain Claim and original major key is encrypted, generation encryption major key.
Step 204, business datum to be stored is stored using encrypting major key as index.
It is understood that block chain is similar to a kind of distributed account book in itself, and the business number stored in block chain It is stored automatically according to by intelligent contract, it in embodiments of the present invention, can be corresponding to business datum to be stored The corresponding account book title of original major key, block chain and intelligent contract title are encrypted, so as to make the encryption major key of generation It is more complicated compared to the encryption major key generated merely with original major key, it is stronger with the independence of business datum.
It, can be according to the methods of OPES methods or replacement or displacement, to business datum pair to be stored during with realizing The corresponding account book title of original major key, block chain and intelligent contract title answered are encrypted, and are not restricted herein.
Specifically, the corresponding original major key of business datum to be stored, the corresponding account book title of block chain and intelligence are closed After about title is encrypted, you can generation encryption major key, so as to by business datum to be stored using encrypt major key as In index storage to block chain.
It is understood that encrypt major key being index storage to after in block chain by business datum to be stored, use The application system that block chain carries out business datum storage can be when needing to obtain business datum, using major key is encrypted, from block Corresponding business datum is obtained in chain.
Correspondingly, encryption major key can also be sent to application system by block chain service data processing apparatus, so that using System obtains business datum using major key is encrypted.I.e. after step 203, can also include:
Encryption major key is back to the application system that business datum storage is carried out using block chain.
Further, it when application system needs query traffic data, can be sent out to block chain service data processing apparatus Business datum inquiry request is sent, service request includes the corresponding target encryption major key of business datum that needs are inquired, so as to area After block chain service data processing apparatus gets business datum inquiry request, it can be encrypted and led according to the target in service request Key obtains target service data corresponding with target encryption major key from block chain, and target service data is sent to application System.That is, in block chain business data processing method provided in an embodiment of the present invention, can also include:
The business datum inquiry request that application system is sent is received, inquiry request includes target encryption major key;
Major key is encrypted according to target, target service data are obtained from block chain;
Target service data are sent to application system.
Wherein, target encryption major key is block chain service data processing apparatus to original major key or the corresponding account of block chain After this title, intelligent contract title and original major key are encrypted, to the encryption major key of application system transmission.
It, can be with it is understood that encrypt major key be index storage to after in block chain by business datum to be stored The application system of business datum storage is carried out using block chain, according to encryption major key, corresponding business is obtained from block chain Data.And since encryption major key is generated by encryption, with business it is unrelated, without specific rule, because Even if this encryption major key leakage, will not cause the business datum in entire block chain to be revealed, sudden and violent so as to reduce business datum The risk of dew improves the safety of business datum.
The block chain business data processing method of the embodiment of the present invention obtains business datum to be stored and corresponding original After major key and the corresponding account book title of block chain and the corresponding intelligent contract title of block chain, by business number to be stored It is encrypted according to corresponding original major key, the corresponding account book title of block chain and the corresponding intelligent contract title of block chain Afterwards, then by business datum to be stored to encrypt major key it is stored as index, reduces what business datum in block chain exposed Risk improves the safety of business datum, improves user experience.
Fig. 3 is the structure diagram of the block chain service data processing apparatus of one embodiment of the invention.
As shown in figure 3, the block chain service data processing apparatus includes:
First acquisition module 31, for obtaining business datum to be stored and corresponding original major key;
Processing module 32, for according to default rule, original major key being encrypted, generation encryption major key;
Memory module 33, for business datum to be stored to be stored using encrypting major key as index.
Specifically, block chain service data processing apparatus provided in an embodiment of the present invention, can perform the embodiment of the present invention The block chain business data processing method of offer, the device can be configured in any electronic equipment, with to block chain business Data are handled.
It should be noted that the aforementioned explanation to block chain business data processing method embodiment is also applied for the reality The block chain service data processing apparatus of example is applied, details are not described herein again.
The block chain service data processing apparatus of the embodiment of the present invention is obtaining business datum to be stored and corresponding original After beginning major key, original major key can be encrypted according to default rule, generation encryption major key, and then will be to be stored Business datum using encrypt major key as index stored.The risk that business datum exposes in block chain is reduced as a result, is improved The safety of business datum, improves user experience.
Fig. 4 is the structure diagram of the block chain service data processing apparatus of another embodiment of the present invention.
As shown in figure 4, on the basis of Fig. 3, which further includes:
First determining module 41 for the major key coding rule according to block chain, determines that business datum to be stored corresponds to Original major key.
Second determining module 42, for determining the corresponding account book title of block chain and the corresponding intelligent contract name of block chain Claim.
First sending module 43 is back to using the progress business datum storage of block chain for that will encrypt major key using system System.
Receiving module 44, for receiving the business datum inquiry request of application system transmission, inquiry request includes target Encrypt major key;
Second acquisition module 45 for encrypting major key according to target, obtains target service data from block chain;
Second sending module 46, for target service data to be sent to application system.
Correspondingly, above-mentioned processing module 32, is specifically used for:
Place is encrypted in the corresponding account book title of block chain, the corresponding intelligent contract title of block chain and original major key Reason.
It should be noted that the aforementioned explanation to block chain business data processing method embodiment is also applied for the reality The block chain service data processing apparatus of example is applied, details are not described herein again.
The block chain service data processing apparatus of the embodiment of the present invention is obtaining business datum to be stored and corresponding original After beginning major key, original major key can be encrypted according to default rule, generation encryption major key, and then will be to be stored Business datum using encrypt major key as index stored.The risk that business datum exposes in block chain is reduced as a result, is improved The safety of business datum, improves user experience.
Fig. 5 is the structure diagram of a kind of electronic equipment provided in an embodiment of the present invention.
As shown in figure 5, the electronic equipment includes:
Memory 51, processor 52 and it is stored in the computer program that can be run on memory 51 and on the processor 52.
Processor 52 realizes the block chain business data processing method provided in above-described embodiment when performing described program.
Wherein, electronic equipment can be computer, mobile phone, wearable device etc..
Further, electronic equipment further includes:
Communication interface 53, for the communication between memory 51 and processor 52.
Memory 51, for storing the computer program that can be run on the processor 52.
Memory 51 may include high-speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile Memory), a for example, at least magnetic disk storage.
Processor 52, for performing described program when, realize the block chain business data processing side described in above-described embodiment Method.
If memory 51, processor 52 and the independent realization of communication interface 53, communication interface 53, memory 51 and processing Device 52 can be connected with each other by bus and complete mutual communication.The bus can be industry standard architecture (Industry Standard Architecture, abbreviation ISA) bus, external equipment interconnection (Peripheral Component Interconnect, abbreviation PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The bus can be divided into address bus, data/address bus, control Bus etc..It for ease of representing, is only represented in Fig. 5 with a thick line, it is not intended that an only bus or a type of total Line.
Optionally, in specific implementation, if memory 51, processor 52 and communication interface 53, are integrated in chip piece Upper realization, then memory 51, processor 52 and communication interface 53 can complete mutual communication by internal interface.
Processor 52 can be a central processing unit (Central Processing Unit, abbreviation CPU), either Specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC) is arranged to Implement one or more integrated circuits of the embodiment of the present invention.
Fourth aspect present invention embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey Sequence is realized when the program is executed by processor such as the block chain business data processing method in previous embodiment.
Fifth aspect present invention embodiment proposes a kind of computer program product, when in the computer program product When instruction is performed by processor, perform such as the block chain business data processing method in previous embodiment.
In the description of this specification, reference term " one embodiment ", " example ", " is specifically shown " some embodiments " The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It is combined in an appropriate manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field Art personnel can tie the different embodiments or examples described in this specification and the feature of different embodiments or examples It closes and combines.
In addition, term " first ", " second " are only used for description purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, " multiple " are meant that at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include Module, segment or the portion of the code of the executable instruction of one or more the step of being used to implement custom logic function or process Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, to perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) it uses or combines these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment It puts.The more specific example (non-exhaustive list) of computer-readable medium is including following:Electricity with one or more wiring Connecting portion (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, with hardware come realize in another embodiment, can be under well known in the art Any one of row technology or their combination are realized:With for the logic gates to data-signal realization logic function Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, the program when being executed, one or a combination set of the step of including embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also That each unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and is independent product sale or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although it has been shown and retouches above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, those of ordinary skill in the art can be changed above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (10)

1. a kind of block chain business data processing method, which is characterized in that including:
Obtain business datum to be stored and corresponding original major key;
According to default rule, the original major key is encrypted, generation encryption major key;
The business datum to be stored is stored using the encryption major key as index.
2. the method as described in claim 1, which is characterized in that before the original major key of acquisition, further include:
According to the major key coding rule of block chain, the corresponding original major key of the business datum to be stored is determined.
3. method as claimed in claim 2, which is characterized in that the major key coding rule according to block chain determines described The corresponding original major key of business datum to be stored, including:
The business datum to be stored is identified, determines the corresponding data summarization of the business datum to be stored, and The data summarization is determined as original major key;
Alternatively,
The business datum to be stored is identified, determines the target type belonging to the business datum to be stored;
According to each original major key mark included under the target type and the target type, the industry to be stored is determined The original major key for data of being engaged in.
4. the method as described in claim 1, which is characterized in that it is described the original major key is encrypted before, also Including:
Determine the corresponding account book title of the block chain and the corresponding intelligent contract title of the block chain;
It is described that the original major key is encrypted, including:
The corresponding account book title of the block chain, the corresponding intelligent contract title of the block chain and the original major key are carried out Encryption.
5. the method as described in claim 1-4 is any, which is characterized in that described that it is encrypted to the original major key Afterwards, it further includes:
The encryption major key is back to the application system that business datum storage is carried out using the block chain.
6. method as claimed in claim 5, which is characterized in that further include:
The business datum inquiry request that application system is sent is received, the inquiry request includes target encryption major key;
Major key is encrypted according to the target, target service data are obtained from block chain;
The target service data are sent to the application system.
7. method as claimed in claim 5, which is characterized in that acquisition business datum to be stored and corresponding original master Before key, further include:
Common recognition certification is carried out to the business datum;
Alternatively,
The business datum is sent at least one common recognition node and carries out common recognition certification, and obtains at least one common recognition section The certification that point returns passes through message.
8. a kind of block chain service data processing apparatus, which is characterized in that including:
First acquisition module, for obtaining business datum to be stored and corresponding original major key;
Processing module, for according to default rule, the original major key being encrypted, generation encryption major key;
Memory module, for the business datum to be stored to be stored using the encryption major key as index.
9. a kind of electronic equipment, including:
Memory, processor and the computer program that can be run on the memory and on the processor is stored in, it is special Sign is that the processor is realized when performing described program at the block chain business datum as described in any in claim 1-7 Reason method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is handled The block chain business data processing method as described in any in claim 1-7 is realized when device performs.
CN201711483455.3A 2017-12-29 2017-12-29 Block chain service data processing method and device and electronic equipment Active CN108197505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711483455.3A CN108197505B (en) 2017-12-29 2017-12-29 Block chain service data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711483455.3A CN108197505B (en) 2017-12-29 2017-12-29 Block chain service data processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108197505A true CN108197505A (en) 2018-06-22
CN108197505B CN108197505B (en) 2020-07-17

Family

ID=62587064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711483455.3A Active CN108197505B (en) 2017-12-29 2017-12-29 Block chain service data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108197505B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109063097A (en) * 2018-07-27 2018-12-21 广州友谱网络科技有限公司 Data comparison and common recognition method based on block chain
CN109299188A (en) * 2018-08-21 2019-02-01 平安科技(深圳)有限公司 Utilize block chain date storage method, device and electronic equipment
CN109525671A (en) * 2018-11-26 2019-03-26 远光软件股份有限公司 Date storage method, electronic equipment and storage medium based on block chain
CN110347674A (en) * 2019-06-03 2019-10-18 阿里巴巴集团控股有限公司 A kind of index creation method, device and equipment based on service identification
CN110458626A (en) * 2019-08-16 2019-11-15 京东数字科技控股有限公司 A kind of information data treating method and apparatus
CN110474893A (en) * 2019-07-30 2019-11-19 同济大学 A kind of isomery is across the close state data safety sharing method of trust domain and system
CN110930253A (en) * 2019-11-18 2020-03-27 深圳前海环融联易信息科技服务有限公司 Intelligent contract internal main key generation method and device, computer equipment and storage medium
CN110968879A (en) * 2018-09-30 2020-04-07 中思博安科技(北京)有限公司 Data processing method and device based on block chain
US20200201833A1 (en) 2019-07-29 2020-06-25 Alibaba Group Holding Limited Creating index in blockchain-type ledger
CN111464496A (en) * 2020-03-05 2020-07-28 奇安信科技集团股份有限公司 Data transmission method, device, system, storage medium and electronic device
CN111835808A (en) * 2019-08-01 2020-10-27 北京骑胜科技有限公司 Data storage method and device, data reading method and device, and storage medium
WO2021017422A1 (en) * 2019-07-29 2021-02-04 创新先进技术有限公司 Index creation method in block chain type account book, device and apparatus
US10963453B2 (en) 2019-06-03 2021-03-30 Advanced New Technologies Co., Ltd. Service identifier-based data indexing
EP3975474A1 (en) * 2020-09-23 2022-03-30 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for chaining service data
CN114640543A (en) * 2022-04-22 2022-06-17 浙江数新网络有限公司 Method for cross-domain data encryption transmission and data matching in encryption state

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991165A (en) * 2017-03-31 2017-07-28 北京京东金融科技控股有限公司 Method, device and the electronic equipment of processing financial data based on block chain
CN107294709A (en) * 2017-06-27 2017-10-24 阿里巴巴集团控股有限公司 A kind of block chain data processing method, apparatus and system
US20170310653A1 (en) * 2016-04-22 2017-10-26 Sony Corporation Client, server, method and identity verification system
CN107426170A (en) * 2017-05-24 2017-12-01 阿里巴巴集团控股有限公司 A kind of data processing method and equipment based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170310653A1 (en) * 2016-04-22 2017-10-26 Sony Corporation Client, server, method and identity verification system
CN106991165A (en) * 2017-03-31 2017-07-28 北京京东金融科技控股有限公司 Method, device and the electronic equipment of processing financial data based on block chain
CN107426170A (en) * 2017-05-24 2017-12-01 阿里巴巴集团控股有限公司 A kind of data processing method and equipment based on block chain
CN107294709A (en) * 2017-06-27 2017-10-24 阿里巴巴集团控股有限公司 A kind of block chain data processing method, apparatus and system

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109063097A (en) * 2018-07-27 2018-12-21 广州友谱网络科技有限公司 Data comparison and common recognition method based on block chain
CN109063097B (en) * 2018-07-27 2020-06-23 广州天高软件科技有限公司 Data comparison and consensus method based on block chain
CN109299188A (en) * 2018-08-21 2019-02-01 平安科技(深圳)有限公司 Utilize block chain date storage method, device and electronic equipment
CN110968879A (en) * 2018-09-30 2020-04-07 中思博安科技(北京)有限公司 Data processing method and device based on block chain
CN109525671A (en) * 2018-11-26 2019-03-26 远光软件股份有限公司 Date storage method, electronic equipment and storage medium based on block chain
CN109525671B (en) * 2018-11-26 2021-05-14 远光软件股份有限公司 Block chain-based data storage method, electronic device and storage medium
US10963453B2 (en) 2019-06-03 2021-03-30 Advanced New Technologies Co., Ltd. Service identifier-based data indexing
US11106660B2 (en) 2019-06-03 2021-08-31 Advanced New Technologies Co., Ltd. Service identifier-based data indexing
US11816099B2 (en) 2019-06-03 2023-11-14 Advanced New Technologies Co., Ltd. Service identifier-based data indexing
CN110347674A (en) * 2019-06-03 2019-10-18 阿里巴巴集团控股有限公司 A kind of index creation method, device and equipment based on service identification
US20200201833A1 (en) 2019-07-29 2020-06-25 Alibaba Group Holding Limited Creating index in blockchain-type ledger
US10795874B2 (en) 2019-07-29 2020-10-06 Alibaba Group Holding Limited Creating index in blockchain-type ledger
US11573944B2 (en) 2019-07-29 2023-02-07 Advanced New Technologies Co., Ltd. Creating index in blockchain-type ledger
WO2021017422A1 (en) * 2019-07-29 2021-02-04 创新先进技术有限公司 Index creation method in block chain type account book, device and apparatus
US11068457B2 (en) 2019-07-29 2021-07-20 Advanced New Technologies Co., Ltd. Creating index in blockchain-type ledger
CN110474893A (en) * 2019-07-30 2019-11-19 同济大学 A kind of isomery is across the close state data safety sharing method of trust domain and system
CN110474893B (en) * 2019-07-30 2021-10-08 同济大学 Heterogeneous cross-trust domain secret data secure sharing method and system
CN111835808A (en) * 2019-08-01 2020-10-27 北京骑胜科技有限公司 Data storage method and device, data reading method and device, and storage medium
CN111835808B (en) * 2019-08-01 2023-11-14 北京骑胜科技有限公司 Data storage method and device, data reading method and device, and storage medium
CN110458626A (en) * 2019-08-16 2019-11-15 京东数字科技控股有限公司 A kind of information data treating method and apparatus
CN110930253A (en) * 2019-11-18 2020-03-27 深圳前海环融联易信息科技服务有限公司 Intelligent contract internal main key generation method and device, computer equipment and storage medium
CN110930253B (en) * 2019-11-18 2023-05-23 深圳前海环融联易信息科技服务有限公司 Method and device for generating main key inside intelligent contract, computer equipment and storage medium
CN111464496B (en) * 2020-03-05 2022-07-05 奇安信科技集团股份有限公司 Data transmission method, device, system, storage medium and electronic device
CN111464496A (en) * 2020-03-05 2020-07-28 奇安信科技集团股份有限公司 Data transmission method, device, system, storage medium and electronic device
EP3975474A1 (en) * 2020-09-23 2022-03-30 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for chaining service data
US11366925B2 (en) 2020-09-23 2022-06-21 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for chaining service data
CN114640543A (en) * 2022-04-22 2022-06-17 浙江数新网络有限公司 Method for cross-domain data encryption transmission and data matching in encryption state
CN114640543B (en) * 2022-04-22 2024-02-13 浙江数新网络有限公司 Method for matching data between cross-network domain data encryption transmission and encryption state

Also Published As

Publication number Publication date
CN108197505B (en) 2020-07-17

Similar Documents

Publication Publication Date Title
CN108197505A (en) Block chain business data processing method, device and electronic equipment
Poelstra et al. Confidential assets
US10891384B2 (en) Blockchain transaction device and method
US11128607B2 (en) Operating system for blockchain IoT devices
US20170250796A1 (en) Trans Vernam Cryptography: Round One
JP3791131B2 (en) Electronic ticket system
CN108256858A (en) The establishment of the mandate of the decentralization of the object of connection and the system and method for management
CN110289947A (en) Data transmit consistency desired result method, apparatus, computer equipment and storage medium
CN109257374A (en) Method of controlling security, device and computer equipment
CN113994357A (en) Method for directly transmitting electronic coin data records between a terminal and a payment system
CN113924588A (en) Device and payment system for sending electronic money data records directly to another device
US8667025B2 (en) Variable substitution data processing method
EP4111348B1 (en) Method for directly transmitting electronic coin datasets between terminals, payment system, protection system, and monitoring unit
US10164945B2 (en) Method, apparatus, and computer-readable medium for masking data
CN108696518A (en) User's communication encrypting method, device, terminal device and storage medium on block chain
CN109446259A (en) Data processing method and device, processor and storage medium
CN109104287A (en) The method and apparatus communicated in block chain
CN107800716A (en) A kind of data processing method and device
CN110210591A (en) A kind of wiring method, computer installation and the computer readable storage medium of intellective IC card personal data
CN111291122B (en) Bidding method and device based on block chain
CN110311884A (en) Equipment, method and program product for the secure communication in uncertainty network
KR102272928B1 (en) Operating method for machine learning model using encrypted data and apparatus based on machine learning model
CN115567540A (en) Online learning evaluation method and system based on block chain technology
CN107278357A (en) Cryptographic system and method
US20230084651A1 (en) Method, terminal, monitoring entity, and payment system for managing electronic coin datasets

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