CN110457318A - The update method of data field, device, medium, electronic equipment in block chain - Google Patents
The update method of data field, device, medium, electronic equipment in block chain Download PDFInfo
- Publication number
- CN110457318A CN110457318A CN201910671356.0A CN201910671356A CN110457318A CN 110457318 A CN110457318 A CN 110457318A CN 201910671356 A CN201910671356 A CN 201910671356A CN 110457318 A CN110457318 A CN 110457318A
- Authority
- CN
- China
- Prior art keywords
- data
- field
- full dose
- updated
- update
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2291—User-Defined Types; Storage management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2379—Updates performed during online database operations; commit processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
Abstract
The present invention relates to electric Digital data processing technical field, update method, device, medium and the electronic equipment of data field in a kind of block chain are disclosed.It include the first Key value and update field data corresponding with the first Key value in the data object this method comprises: obtaining the data object for needing to update in response to the request that user updates about data;According to the first Key value in the data object, full dose data associated with the first Key value are determined in block catenary system;In conjunction with the update field data, the full dose data are read, to determine the field for needing to be updated in full dose data;The field that the needs determined in full dose data are updated is updated to the update field data.Under the method, it is able to solve existing in the prior art because doing to a data and updating operation the technical issues of bring computer resource wastes and reduces data management efficiency due to when needs to be passed to entire full dose data.
Description
Technical field
The present invention relates to electric Digital data processing technical field, in particular to the update side of data field in a kind of block chain
Method, device, medium and electronic equipment.
Background technique
In recent years, with the development of computer and Internet technology, " data " are ceased with our work and life breath
Correlation, and the arriving of big data era is but also our contacting data between is increasingly closer, nowadays, we live in greatly
Most work require to be unfolded around data.A large amount of data need to obtain the management of science, in the mistake of management data
Cheng Zhong, we need to be updated data the upper requirement often because of work, how to optimize data and updates work
Convenience seem particularly significant to improving data management efficiency just.
In the prior art, the storage mode in block catenary system is that (key is keyword to key-value, and value is
Value) format, and also major part value data are encrypting storings.It is operated when doing update to certain fields in a data
When, upper layer application generally requires experience and calls data-query interfaces, then more new data, finally calls the stream of data cochain interface
Journey.
However, data update in the prior art needs upper layer application that the full dose data of entire value are passed to block chain
In system.On the one hand, the full dose data of entire value can only be passed in block catenary system and cannot pay close attention to by the prior art
The field for only needing to update can bring computer resource to waste technical problem in this way.On the other hand, such data-updating method
Also it will increase the data interaction between block chain and upper layer application, complicated data interaction process, for developer and user
For, the ease for use and friendliness of this method are very low, will cause the technical issues of data management efficiency reduces.
Summary of the invention
In electric Digital data processing technical field, in order to solve exist in the related technology because doing to a data in block chain
Update needs to be passed to the full dose data of entire value when operating and bring computer resource wastes and reduces data management efficiency
The technical issues of.The present invention provides update method, device, medium and the electronic equipments of data field in a kind of block chain.
According to the one side of the application, a kind of update method of data field in block chain is provided, which comprises
In response to the request that user updates about data, the data object for needing to update is obtained, is wrapped in the data object
Include the first Key value and update field data corresponding with the first Key value;
According to the first Key value in the data object, determined in block catenary system associated with the first Key value complete
Measure data;
In conjunction with the update field data, the full dose data are read, to determine what needs were updated in full dose data
Field;
The field that the needs determined in full dose data are updated is updated to the update field data.
According to the another aspect of the application, a kind of updating device of data field in block chain, described device packet are provided
It includes:
Module is obtained, for obtaining the data object for needing to update;
Determining module, for determining full dose data associated with the first Key value in block catenary system;
Read module, for reading the full dose data in conjunction with the update field data, to be determined in full dose data
The field for needing to be updated;
Update module, the field for being updated the needs determined in full dose data are updated to the update word
Segment data.
According to the another aspect of the application, a kind of computer-readable program medium is provided, computer program is stored with
Instruction makes computer execute foregoing method when the computer program instructions are computer-executed.
According to the another aspect of the application, a kind of electronic equipment is provided, the electronic equipment includes:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is by the processing
When device executes, foregoing method is realized.
By the above technical solution of the present invention, compared with prior art, technical solution of the present invention is by utilizing block chain
Data in system are the characteristics of storage with Key-value format, and Lai Shixian is clue in block linkwork using the first Key value
Determined in system and need the full dose data (value value) that are updated, and to need to be updated in full dose data one or several
Field is updated.Its significant beneficial effect is: this programme is able to solve existing in the prior art because to a data
It does and updates the full dose data for needing to be passed to entire value when operation and the waste of bring computer resource and reduction data management are imitated
The technical issues of rate.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Can be more fully appreciated from the following description in conjunction with attached drawing present invention teach that the foregoing and other aspects, reality
Apply example and feature.The feature and beneficial effect of other additional aspects such as illustrative embodiments of the invention will be retouched in following
Show in stating, or is learnt in the practice by the specific embodiment instructed according to the present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the application scenarios signal of the update method of data field in block chain shown according to an exemplary embodiment
Figure;
Fig. 2 is the flow chart of the update method of data field in a kind of block chain shown according to an exemplary embodiment;
Fig. 3 is the details flow chart of the step 220 of the embodiment shown in corresponding embodiment according to fig. 2;
Fig. 4 is the details flow chart of the step 230 of the embodiment shown in corresponding embodiment according to fig. 2;
Fig. 5 is the block diagram of the updating device of data field in a kind of block chain shown according to an exemplary embodiment;
Fig. 6 is a kind of electronic equipment example block diagram for realizing the above method shown according to an exemplary embodiment;
Fig. 7 is a kind of computer readable storage medium for realizing the above method shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.
The disclosure provides firstly a kind of update method of data field in block chain.The data field, which refers to, to be recorded in
It can be used to characterize the abstracts such as a certain event object attribute, the text of feature, symbol and number in block catenary system
Information unit carrier.Implementation environment of the invention can be portable mobile equipment, such as smart phone, tablet computer, notebook
Computer etc. is also possible to various fixed apparatus, for example, computer equipment, on-site terminal, desktop computer, server, work station
Deng.
Fig. 1 is the application scenarios signal of data field update method in block chain shown according to an exemplary embodiment
Figure.In block chain, the shared of resource and information may be implemented between different nodes, exactly because also in this way, block chain technology
It has been obtained in our life and work quickly universal.Such as enterprise, government and public institution just by some information with
Data are stored in block chain shared to realize.Specifically, can such as establish block chain between 10 universities, student is carried out
Curriculum information it is shared.The block chain for consumptive material management can be also such as established between the different sub-systems of enterprises,
Carry out the shared of consumptive material relevant information.As described above, the mass data being stored in block chain needs to obtain the management of science, and
During managing data, it is often necessary to be updated to certain some data, therefore, how optimize data and update work just
Victory seems particularly significant to improve data management efficiency just.In the application scenarios of embodiment shown in Fig. 1, the present invention is set
One is counted specifically in the field more new interface 102 of block catenary system, which realizes first from block chain 101
Full dose data are read, then the Data Integration modified will be needed into full dose data, data are committed to block by last time
Chain.With this solution, upper layer application does not need first to call data-query interfaces in more new data, then more new data, recalls
The so troublesome process of data cochain interface.The data interaction that block chain and upper layer application can so be reduced, simplifies interaction
Process allows upper layer application to pay close attention to the field to be updated.Specific embodiment will be passed through below in invention of the invention
Appearance is described in detail.
Fig. 2 is the flow chart of the update method of data field in a kind of block chain shown according to an exemplary embodiment.
As shown in Fig. 2, the method the following steps are included:
Step 210, the request updated in response to user about data obtains the data object for needing to update, the data
It include the first Key value and update field data corresponding with the first Key value in object.
Specifically, in one embodiment, the node in block chain is company A and B company, the middle storage of block chain respectively
Data be order data between company A and B company, wherein company A is the seller, and B company is buyer.So, with company A and
B company be in the block catenary system of node the full dose data of data object that need to be updated may is that " O/No.:
0001 ", " the order seller: company A ", " order buyer: B company ", " order object: mobile phone ", " order object brand: Huawei ",
" order price: 3000 yuan/platform ", " quantity on order: 200 ".And the first Key value in the data object for needing to update is just
It can refer to that (such as " O/No.: 0001 "), the corresponding update field data of the first Key value can refer to a number
" order object brand: apple brand ", " order price: 4000 yuan/platform ", " quantity on order: 100 ".
In the present invention, the acquisition modes of data object for needing to update can there are many.It is, for example, possible to use adopt
Collection equipment or acquisition unit are collected from the database for have associated data object.It is also possible to the transmission by data
Medium reads or receives the data that user sends.It can also copy to obtain by physical hard disk, then either pass through work people
Member, which is manually entered, to be obtained.
Step 220, it according to the first Key value in the data object, is determined and the first Key value phase in block catenary system
Associated full dose data.
It is noted herein that all full dose data are associated with unique 2nd Key in block catenary system
Value, a critical function of the 2nd Key value, which is that, identifies its corresponding full dose data, such as in embodiment as previously described
In " O/No.: 0001 ".
In one embodiment, it according to the first Key value in the data object, is determined and first in block catenary system
The associated full dose data of Key value can be completed in the following way:
If Fig. 3 is the details flow chart of the step 220 of the embodiment shown in corresponding embodiment according to fig. 2, specifically include
Following steps:
Step 2201, it according to the first Key value in the data object, is searched and described first in block catenary system
The identical 2nd Key value of Key value.
Step 2202, the corresponding full dose data of the 2nd Key value of the lookup are determined as associated with the first Key value
Full dose data.
All there are several full dose data in block catenary system, each full dose data are corresponding with a 2nd Key value, the
The effect of two Key values is to identify its corresponding full dose data.One embodiment in the specific implementation, for example, with company A and
B company be node block catenary system in there are a full dose data: " O/No.: 0001 ", " the order seller: company A ",
" order buyer: B company ", " order object: mobile phone ", " order price: 3000 yuan/platform ", " are ordered " order object brand: Huawei "
Odd number amount: 200 ".It is possible to will " O/No.: 0001 " as the 2nd Key value for identifying this full dose data.If institute
Stating the first Key value in data object is also " O/No.: 0001 ", i.e., by full dose data " " O/No.: 0001 ", " order
The seller: company A ", " order buyer: B company ", " order object: mobile phone ", " order object brand: Huawei ", " order price:
3000 yuan/platform ", " quantity on order: 200 " " as with the first Key value " O/No.: 0001 " associated full dose data.
Step 230, in conjunction with the update field data, the full dose data are read, are needed with being determined in full dose data
The field being updated.
In one embodiment, in conjunction with the update field data, the full dose data are read, with true in full dose data
Need the field being updated that can complete in the following way calmly:
If Fig. 4 is the details flow chart of the step 230 of the embodiment shown in corresponding embodiment according to fig. 2, specifically include
Following steps:
Step 2301, field identical with the field name in the update field data is determined in the full dose data
Title.
Step 2302, using determined in the full dose data field name corresponding field as needing to be updated
Field.
In one embodiment in the specific implementation, in addition to including first in the data object that the needs of the acquisition update
It also include the field data that one or several need to update except Key value.For example, using company A and B company as node
Block catenary system in the full dose data of data object that need to be updated are as follows: " O/No.: 0001 ", " the order seller: A is public
Department ", " order buyer: B company ", " order object: mobile phone ", " order object brand: Huawei ", " order price: 3000 yuan/
Platform ", " quantity on order: 200 ".And the update field data in the data object that the needs of the acquisition update is " order pair
As brand: apple brand ", " order price: 4000 yuan/platform ", " quantity on order: 100 ".Based on this, it was determined that in original
Full dose the data " " O/No.: 0001 ", " the order seller: company A ", " order buyer: B company ", " order object: hand of beginning
Machine ", " order object brand: Huawei ", " order price: 3000 yuan/platform ", " quantity on order: 200 " " in, " " order object product
Board: Huawei ", " order price: 3000 yuan/platform ", " quantity on order: 200 " " field that as needs to be updated.
Step 240, the field that the needs determined described in full dose data are updated is updated to the update Field Count
According to.
In one embodiment, the field that the needs determined in full dose data are updated is updated to the update
Field data specifically includes: referring to the field name, by the word for needing to be updated field determined in full dose data
The corresponding field value replaced in the update field data of segment value.
Specifically, for example, the data object for needing to be updated in the block catenary system using company A and B company as node
Full dose data are as follows: " O/No.: 0001 ", " the order seller: company A ", " order buyer: B company ", " order object: hand
Machine ", " order object brand: Huawei ", " order price: 3000 yuan/platform ", " quantity on order: 200 ".And the need of the acquisition
Update field data in the data object to be updated is " order object brand: apple brand ", " order price: 4000 yuan/platform ",
" quantity on order: 100 ".So the update is updated in the field for being updated the needs determined in full dose data
After field data, updated full dose data are are as follows: " O/No.: 0001 ", " the order seller: company A ", " order buyer:
B company ", " order object: mobile phone ", " order object brand: apple brand ", " order price: 4000 yuan/platform ", " quantity on order:
100 ".
In addition, the field that is updated of needs that will be determined in the full dose data be updated to the update field data it
Afterwards, the method can also include: will be updated the full dose data of completion with corresponding 2nd Key value is associated is uploaded to area
In block catenary system.
Will be updated the full dose data of completion with corresponding 2nd Key value is associated is uploaded to it in block catenary system
Before, the method may include: operation note label is added in the full dose data for being updated completion.
In one embodiment, the operation note label can refer to the label of operating time.
In one embodiment, the operation note label is also possible to the label about operator's information.
In one embodiment, the operation note label can also refer to the synthetic operation time and believe about operator
The label of breath.
Embodiment as described above is advantageous in that, by addition operation note in the full dose data for being updated completion
Label is recorded, it is convenient that the full dose data being stored in block catenary system are monitored and are managed later.
Will be updated the full dose data of completion with corresponding 2nd Key value is associated is uploaded to it in block catenary system
Before, the method can also include: that the full dose data for being updated completion are encrypted, encrypted complete to obtain
Measure data.
In one embodiment, it is real by DES algorithm for the full dose data for being updated completion being encrypted
Existing.
In one embodiment, the full dose data for being updated completion are encrypted is by RSA Algorithm reality
Existing.
In one embodiment, the full dose data for being updated completion are encrypted is by aes algorithm reality
Existing.
As discussed above, it should be understood that the mode that the full dose data for being updated completion are encrypted can
Those of to be arbitrary, however it is not limited to go out as shown above.
Embodiment as described above is advantageous in that, by the way that the full dose data for being updated completion are encrypted
The data hiding in block catenary system may be implemented, to play the effect of the safety of protection data.
In conclusion by reading full dose data from block catenary system, then by the Data Integration for needing to modify to entirely
It measures in data, data are committed to block catenary system by last time, and upper layer application can be made not need in more new data
Data-query interfaces, then more new data are first called, the so troublesome process of data cochain interface is recalled, can so reduce meter
The waste of calculation machine resource and the efficiency of management for improving data.
It is the device of the invention embodiment below.
The disclosure additionally provides a kind of updating device of data field in block chain.Fig. 5 is according to an exemplary embodiment
The block diagram of the updating device of data field in a kind of block chain shown.As shown in figure 5, device 500 includes:
Module 510 is obtained, is configured as obtaining the data object for needing to update;
Determining module 520 is configured as determining full dose data associated with the first Key value in block catenary system;
Read module 530 is configured as the full dose data being read, in full dose number in conjunction with the update field data
According to the middle determining field for needing to be updated;
Update module 540, the field that the needs for being configured as determining described in full dose data are updated are updated to institute
State update field data.
According to the third aspect of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 1000 of this embodiment according to the present invention is described referring to Fig. 6.The electronics that Fig. 6 is shown
Equipment 1000 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 1000 is showed in the form of universal computing device.The component of electronic equipment 1000 can be with
Including but not limited to: at least one above-mentioned processing unit 1010, connects not homologous ray group at least one above-mentioned storage unit 1020
The bus 1030 of part (including storage unit 1020 and processing unit 1010).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 1010
Row, so that various according to the present invention described in the execution of the processing unit 1010 above-mentioned " embodiment method " part of this specification
The step of illustrative embodiments.
Storage unit 1020 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 1021 and/or cache memory unit 1022, it can further include read-only memory unit (ROM) 1023.
Storage unit 1020 can also include program/utility with one group of (at least one) program module 1025
1024, such program module 1025 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 1030 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 1000 can also be with one or more external equipments 1200 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 1000 communicate, and/or with make
The electronic equipment 1000 can with it is one or more of the other calculating equipment be communicated any equipment (such as router, modulation
Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 1050.Also, electronic equipment 1000
Network adapter 1060 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public affairs can also be passed through
Common network network, such as internet) communication.As shown, network adapter 1060 passes through its of bus 1030 and electronic equipment 1000
The communication of its module.It should be understood that although not shown in the drawings, other hardware and/or software can be used in conjunction with electronic equipment 1000
Module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic
Tape drive and data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment
Method.
According to the fourth aspect of the disclosure, a kind of computer readable storage medium is additionally provided, being stored thereon with can be real
The program product of existing this specification above method.In some possible embodiments, various aspects of the invention can also be real
It is now a kind of form of program product comprising program code, when described program product is run on the terminal device, the journey
Sequence code is each according to the present invention described in above-mentioned " illustrative methods " part of this specification for executing the terminal device
The step of kind illustrative embodiments.
Refering to what is shown in Fig. 7, describing the program product for realizing the above method of embodiment according to the present invention
1100, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. the update method of data field in a kind of block chain characterized by comprising
In response to the request that user updates about data, the data object for needing to update is obtained, includes the in the data object
One Key value and update field data corresponding with the first Key value;
According to the first Key value in the data object, full dose number associated with the first Key value is determined in block catenary system
According to;
In conjunction with the update field data, the full dose data are read, to determine the field for needing to be updated in full dose data;
The field that the needs determined in full dose data are updated is updated to the update field data.
2. the method according to claim 1, wherein all full dose data are associated in block catenary system
One unique 2nd Key value,
The first Key value according in data object determines full dose number associated with the first Key value in block catenary system
According to, comprising:
According to the first Key value in the data object, searched and the first Key value identical second in block catenary system
Key value;
The corresponding full dose data of the 2nd Key value of the lookup are determined as full dose data associated with the first Key value.
3. the method according to claim 1, wherein the update field data includes field name and field name
Claim corresponding field value, the full dose data are made of several fields, wherein each field include field name and
One field value,
Field data is updated described in the combination, reads the full dose data, to determine what needs were updated in full dose data
Field, comprising:
Field name identical with the field name in the update field data is determined in the full dose data;
The field that the corresponding field of determined in the full dose data field name is updated as needs.
4. the method according to claim 1, wherein the update field data includes field name and field name
Claim corresponding field value, the full dose data are made of several fields, wherein each field include field name and
One field value,
The field that the needs determined in full dose data are updated is updated to the update field data, comprising:
Referring to the field name, by the corresponding replacement of field value for needing to be updated field determined in full dose data
For the field value in the update field data.
5. the method according to claim 1, wherein all full dose data are associated in block catenary system
One unique 2nd Key value,
It is described after the field for being updated the needs determined in full dose data is updated to the update field data
Method further include:
By the full dose data for being updated completion with corresponding 2nd Key value is associated is uploaded in block catenary system.
6. according to the method described in claim 5, it is characterized in that, by the full dose data for being updated completion with it is corresponding
2nd Key value is associated be uploaded in block catenary system before, the method also includes:
Operation note label is added in the full dose data for being updated completion.
7. according to the method described in claim 5, it is characterized in that, by the full dose data for being updated completion with it is corresponding
2nd Key value is associated be uploaded in block catenary system before, the method also includes:
The full dose data for being updated completion are encrypted, to obtain encrypted full dose data.
8. the updating device of data field in a kind of block chain, which is characterized in that described device includes:
Module is obtained, for obtaining the data object for needing to update;
Determining module, for determining full dose data associated with the first Key value in block catenary system;
Read module is needed for reading the full dose data in conjunction with the update field data with determining in full dose data
The field being updated;
Update module, the field for being updated the needs determined in full dose data are updated to the update Field Count
According to.
9. a kind of computer-readable program medium, which is characterized in that it is stored with computer program instructions, when the computer journey
When sequence instruction is computer-executed, computer is made to execute method according to any one of claim 1 to 7.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by the processor
When row, method as described in any one of claim 1 to 7 is realized.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910671356.0A CN110457318A (en) | 2019-07-24 | 2019-07-24 | The update method of data field, device, medium, electronic equipment in block chain |
PCT/CN2019/120961 WO2021012554A1 (en) | 2019-07-24 | 2019-11-26 | Method and apparatus for updating data field in block chain, medium, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910671356.0A CN110457318A (en) | 2019-07-24 | 2019-07-24 | The update method of data field, device, medium, electronic equipment in block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110457318A true CN110457318A (en) | 2019-11-15 |
Family
ID=68483285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910671356.0A Pending CN110457318A (en) | 2019-07-24 | 2019-07-24 | The update method of data field, device, medium, electronic equipment in block chain |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110457318A (en) |
WO (1) | WO2021012554A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021012554A1 (en) * | 2019-07-24 | 2021-01-28 | 深圳壹账通智能科技有限公司 | Method and apparatus for updating data field in block chain, medium, and electronic device |
CN113722341A (en) * | 2021-08-31 | 2021-11-30 | 北京达佳互联信息技术有限公司 | Operation data processing method and related device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897340A (en) * | 2016-07-05 | 2017-06-27 | 阿里巴巴集团控股有限公司 | A kind of data table updating method and device |
CN108628942A (en) * | 2018-03-27 | 2018-10-09 | 深圳市网心科技有限公司 | The digital independent and wiring method of block chain node device, distributed data base |
CN109271283A (en) * | 2018-09-06 | 2019-01-25 | 北京云测信息技术有限公司 | A kind of data back up method based on block chain |
CN109634934A (en) * | 2018-11-02 | 2019-04-16 | 深圳壹账通智能科技有限公司 | Exchange method, apparatus, computer equipment and the storage medium of finance data |
CN110032598A (en) * | 2018-12-20 | 2019-07-19 | 阿里巴巴集团控股有限公司 | Method for updating field and device, electronic equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9911001B2 (en) * | 2015-06-12 | 2018-03-06 | Pearson Education, Inc. | Automatic SQL query modification for data restriction |
CN110457318A (en) * | 2019-07-24 | 2019-11-15 | 深圳壹账通智能科技有限公司 | The update method of data field, device, medium, electronic equipment in block chain |
-
2019
- 2019-07-24 CN CN201910671356.0A patent/CN110457318A/en active Pending
- 2019-11-26 WO PCT/CN2019/120961 patent/WO2021012554A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897340A (en) * | 2016-07-05 | 2017-06-27 | 阿里巴巴集团控股有限公司 | A kind of data table updating method and device |
CN108628942A (en) * | 2018-03-27 | 2018-10-09 | 深圳市网心科技有限公司 | The digital independent and wiring method of block chain node device, distributed data base |
CN109271283A (en) * | 2018-09-06 | 2019-01-25 | 北京云测信息技术有限公司 | A kind of data back up method based on block chain |
CN109634934A (en) * | 2018-11-02 | 2019-04-16 | 深圳壹账通智能科技有限公司 | Exchange method, apparatus, computer equipment and the storage medium of finance data |
CN110032598A (en) * | 2018-12-20 | 2019-07-19 | 阿里巴巴集团控股有限公司 | Method for updating field and device, electronic equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021012554A1 (en) * | 2019-07-24 | 2021-01-28 | 深圳壹账通智能科技有限公司 | Method and apparatus for updating data field in block chain, medium, and electronic device |
CN113722341A (en) * | 2021-08-31 | 2021-11-30 | 北京达佳互联信息技术有限公司 | Operation data processing method and related device |
CN113722341B (en) * | 2021-08-31 | 2024-03-01 | 北京达佳互联信息技术有限公司 | Operation data processing method and related device |
Also Published As
Publication number | Publication date |
---|---|
WO2021012554A1 (en) | 2021-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10713664B1 (en) | Automated evaluation and reporting of microservice regulatory compliance | |
CN107273410A (en) | Distributed storage based on block chain | |
CN110750654A (en) | Knowledge graph acquisition method, device, equipment and medium | |
CN112241506B (en) | User behavior backtracking method, device, equipment and system | |
US10552303B2 (en) | Segmented accessibility testing in web-based applications | |
CN109906597A (en) | To with data set that restricted data set and untethered system are stored and fetched from cloud network | |
CN104516730A (en) | Data processing method and device | |
CN110347674A (en) | A kind of index creation method, device and equipment based on service identification | |
CN107153599A (en) | A kind of method and apparatus of record and replaying user operation | |
CN109522751A (en) | Access right control method, device, electronic equipment and computer-readable medium | |
CN104008089B (en) | For verifying the method and system of document | |
CN110457318A (en) | The update method of data field, device, medium, electronic equipment in block chain | |
CN110119386A (en) | Data processing method, data processing equipment, medium and calculating equipment | |
US20220198304A1 (en) | Providing explainable machine learning model results using distributed ledgers | |
CN109284452A (en) | The online methods of exhibiting of electronic protocol, device, electronic equipment, storage medium | |
CN106550005A (en) | Method and apparatus for processing the medium type in REST software architectures | |
CN109558619B (en) | Data processing method, terminal and readable storage medium based on building information model | |
CN116563007A (en) | Credit risk prediction method, electronic equipment and readable storage medium | |
CN109785118A (en) | The method, apparatus of data processing, medium and electronic equipment after loan | |
CN104011718B (en) | For method, computer-readable medium and the computer of the message groups for selecting identification | |
CN110263004A (en) | Log recording method, device, electronic equipment and storage medium | |
US20180095835A1 (en) | Resilient analytics utilizing dark data | |
CN111859985B (en) | AI customer service model test method and device, electronic equipment and storage medium | |
US11481212B2 (en) | Automatic identification of reference data | |
CN115017149A (en) | Data processing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information |
Address after: 201, room 518000, building A, No. 1, front Bay Road, Qianhai Shenzhen Guangdong Shenzhen Hong Kong cooperation zone (Qianhai business secretary) Applicant after: Shenzhen one ledger Intelligent Technology Co., Ltd. Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A Applicant before: Shenzhen one ledger Intelligent Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |