WO2021012554A1 - 区块链中数据字段的更新方法、装置、介质、电子设备 - Google Patents
区块链中数据字段的更新方法、装置、介质、电子设备 Download PDFInfo
- Publication number
- WO2021012554A1 WO2021012554A1 PCT/CN2019/120961 CN2019120961W WO2021012554A1 WO 2021012554 A1 WO2021012554 A1 WO 2021012554A1 CN 2019120961 W CN2019120961 W CN 2019120961W WO 2021012554 A1 WO2021012554 A1 WO 2021012554A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- field
- updated
- key value
- update
- Prior art date
Links
Images
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
Definitions
- This application relates to the technical field of electrical digital data processing, and in particular to a method, device, medium, and electronic equipment for updating data fields in a blockchain.
- the storage methods in the blockchain system are all key-value (key is a keyword, value is a value) format, and most of the value data is encrypted and stored.
- key is a keyword, value is a value
- most of the value data is encrypted and stored.
- the data update in the prior art requires the upper-layer application to transfer the entire value of the entire data into the blockchain system.
- the existing technology can only transfer the full amount of data of the entire value into the blockchain system and cannot focus on the fields that only need to be updated, which will cause the waste of computer resources technical problems.
- such a data update method will also increase the data interaction between the blockchain and upper-layer applications, and complicate the data interaction process. For developers and users, this method is very easy to use and friendly. , Will cause technical problems that reduce the efficiency of data management.
- This application provides a method, device, medium and electronic equipment for updating data fields in the blockchain.
- a method for updating data fields in a blockchain including:
- the first Key value in the data object determine the full amount of data associated with the first Key value in the blockchain system
- a device for updating data fields in a blockchain comprising:
- the acquisition module is used to acquire the data object that needs to be updated
- the determination module is used to determine the full amount of data associated with the first Key value in the blockchain system
- a reading module configured to read the full amount of data in combination with the update field data to determine the field that needs to be updated in the full amount of data
- the update module is used to update the field determined in the total data to be updated to the update field data.
- a computer-readable program medium (computer-readable storage medium), which stores computer program instructions.
- the computer program instructions When the computer program instructions are executed by a computer, the computer executes the Methods.
- the computer-readable storage medium may be a non-volatile readable storage medium.
- an electronic device including:
- a memory where computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor, the method as described above is implemented.
- the technical solution of this application uses the feature that the data in the blockchain system is stored in the Key-value format to realize that the first Key value is used for the clues.
- the block chain system determines the total amount of data (value) that needs to be updated, and updates one or several fields in the total amount of data that need to be updated.
- This solution can solve the technical problems in the prior art that the full amount of data of the entire value needs to be passed in when updating a piece of data, which causes waste of computer resources and reduces the efficiency of data management.
- Fig. 1 is a schematic diagram showing an application scenario of a method for updating data fields in a blockchain according to an exemplary embodiment
- Fig. 2 is a flow chart showing a method for updating data fields in a blockchain according to an exemplary embodiment
- FIG. 3 is a detailed flowchart of step 220 of an embodiment shown according to the embodiment corresponding to FIG. 2;
- Fig. 5 is a block diagram showing a device for updating data fields in a blockchain according to an exemplary embodiment
- Fig. 6 is an exemplary block diagram showing an electronic device implementing the above method according to an exemplary embodiment
- Fig. 7 shows a computer-readable storage medium for implementing the above method according to an exemplary embodiment.
- the present disclosure first provides a method for updating data fields in the blockchain.
- the data field refers to an abstract information unit carrier that can be used to characterize the attributes and characteristics of a certain event object, such as words, symbols, and numbers, recorded in the blockchain system.
- the implementation environment of this application can be portable mobile devices, such as smart phones, tablet computers, notebook computers, etc., or various fixed devices, such as computer equipment, field terminals, desktop computers, servers, workstations, etc.
- Fig. 1 is a schematic diagram showing an application scenario of a method for updating data fields in a blockchain according to an exemplary embodiment.
- resources and information can be shared between different nodes. It is precisely because of this that blockchain technology has been rapidly popularized in our lives and work.
- companies, governments, and public institutions store some information and data in the blockchain for sharing.
- a blockchain can be established between 10 universities to share students' course information.
- a blockchain for consumable management can be established between different subsystems within the enterprise to share information related to consumables.
- a large amount of data stored in the blockchain needs to be scientifically managed, and in the process of managing data, certain data often needs to be updated.
- this application designs a field update interface 102 specifically for the blockchain system.
- the interface realizes that the full amount of data is read from the blockchain 101 first, and then the The data that needs to be modified is integrated into the full amount of data, and the data is submitted to the blockchain at one time.
- the upper-level application does not need to call the data query interface first when updating the data, then update the data, and then call the troublesome process of the data link port. This can reduce the data interaction between the blockchain and the upper-level application, simplify the interaction process, and let the upper-level application focus on the fields to be updated.
- the content of the invention of this application will be described in detail below through specific embodiments.
- Fig. 2 is a flow chart showing a method for updating data fields in a blockchain according to an exemplary embodiment. As shown in Figure 2, this method includes the following steps:
- Step 210 In response to a user's request for data update, obtain a data object that needs to be updated, the data object including a first Key value and update field data corresponding to the first Key value.
- the nodes in the blockchain are company A and company B
- the data stored in the blockchain is the order data between company A and company B, where company A is the seller, and company B The company is the buyer.
- the full data of the data objects that need to be updated in the blockchain system with A company and B company as nodes can be: "Order number: 0001", "Order seller: A company”, “Order buyer: B company” , "Order object: mobile phone”, “Order object brand: Huawei”, “Order price: 3000 yuan/unit”, “Order quantity: 200 units”.
- the first Key value in the data object that needs to be updated can refer to a number (for example, "Order Number: 0001"), and the update field data corresponding to the first Key value can refer to "Order Object Brand: Apple Brand", "Order Price: 4000 Yuan/Unit”, "Order Quantity: 100 Units”.
- a collection device or a collection unit can be used to collect data from a database that stores related data objects. It can also read or receive data sent by users through the data transmission medium. It can also be obtained by copying from a physical hard disk, or by manual input by staff.
- Step 220 According to the first Key value in the data object, determine the full amount of data associated with the first Key value in the blockchain system.
- determining the full amount of data associated with the first Key value in the blockchain system can be done in the following manner:
- Fig. 3 is a detailed flowchart of step 220 of an embodiment shown according to the embodiment corresponding to Fig. 2, which specifically includes the following steps:
- Step 2201 According to the first Key value in the data object, search for a second Key value that is the same as the first Key value in the blockchain system.
- Step 2202 Determine the full amount of data corresponding to the searched second Key value as the full amount of data associated with the first Key value.
- each piece of full data corresponds to a second key value
- the function of the second key value is to identify the corresponding full data.
- first Key value in the data object is also "Order Number: 0001", that is, full data ""Order Number: 0001", "Order Seller: Company A”, “Order Buyer: Company B”, “Order Object” : Mobile phone, "Order target brand: Huawei”, “Order price: 3000 yuan/unit”, “Order quantity: 200 units” as the full data associated with the first key value "Order number: 0001".
- Step 230 Read the full amount of data in combination with the update field data to determine the field that needs to be updated in the full amount of data.
- reading the full amount of data in combination with the update field data to determine the fields that need to be updated in the full amount of data can be done in the following manner:
- Fig. 4 is a detailed flowchart of step 230 of an embodiment shown according to the embodiment corresponding to Fig. 2, which specifically includes the following steps:
- Step 2301 Determine a field name that is the same as the field name in the update field data in the full amount of data.
- Step 2302 Use the field corresponding to the determined field name in the full data as the field to be updated.
- the acquired data object that needs to be updated also contains one or more field data that needs to be updated.
- the full data of the data objects that need to be updated in the blockchain system with company A and company B as nodes are: "Order Number: 0001", “Order Seller: Company A”, “Order Buyer: Company B” , "Order object: mobile phone”, “Order object brand: Huawei”, “Order price: 3000 yuan/unit”, “Order quantity: 200 units”.
- the updated field data in the acquired data object that needs to be updated are "order object brand: Apple brand”, “order price: 4000 yuan/unit", and "order quantity: 100 units”.
- Step 240 Update the field determined in the total data that needs to be updated as the update field data.
- the updating the field determined in the full data that needs to be updated as the update field data specifically includes: referring to the field name, and the field determined in the full data that needs to be updated The field value of is correspondingly replaced with the field value in the updated field data.
- the full data of the data objects that need to be updated in the blockchain system with company A and company B as nodes are: "Order Number: 0001", “Order Seller: Company A”, “Order Buyer: “Company B”, “Order Object: Mobile Phone”, “Order Object Brand: Huawei”, “Order Price: 3000 Yuan/Unit”, “Order Quantity: 200 Units”.
- the updated field data in the acquired data object that needs to be updated are "order object brand: Apple brand”, “order price: 4000 yuan/unit”, and "order quantity: 100 units”.
- the updated full data is: "Order Number: 0001", “Order Seller: Company A”, “Order Buyer: Company B”, “Order Object: Mobile Phone”, “Order Object Brand: Apple Brand”, “Order Price: 4000 Yuan/Unit”, “Order Quantity: 100 Units”.
- the method may further include: uploading the updated full amount of data in association with the corresponding second Key value To the blockchain system.
- the method may include: adding an operation record tag to the updated full amount of data.
- the operation record label may refer to an operation time label.
- the operation record label may also be a label related to operator information.
- the operation record label may also refer to a label that integrates operation time and information about the operator.
- the advantage of the above-mentioned embodiment is that by adding operation record tags to the updated full amount of data, it is convenient to monitor and manage the full amount of data stored in the blockchain system in the future.
- the method may further include: performing encryption processing on the updated full amount of data to obtain encryption After the full amount of data.
- the encryption processing on the entire amount of data that has been updated is implemented through the DES algorithm.
- the encryption processing on the entire amount of data that has been updated is implemented by the RSA algorithm.
- the encryption processing of the entire amount of data that has been updated is implemented through the AES algorithm.
- the advantage of the above-mentioned embodiment is that the data concealment in the blockchain system can be realized by encrypting the entire amount of data that has been updated, so as to protect the security of the data.
- the upper-level application can not update the data. It is necessary to call the data query interface first, then update the data, and then call the troublesome process of the data link port, which can reduce the waste of computer resources and improve the efficiency of data management.
- Fig. 5 is a block diagram showing a device for updating data fields in a blockchain according to an exemplary embodiment. As shown in FIG. 5, the device 500 includes:
- the obtaining module 510 is configured to obtain data objects that need to be updated
- the determining module 520 is configured to determine the full amount of data associated with the first Key value in the blockchain system
- the reading module 530 is configured to read the full amount of data in combination with the update field data, so as to determine the field that needs to be updated in the full amount of data;
- the update module 540 is configured to update the field determined in the total amount of data that needs to be updated to the update field data.
- an electronic device capable of implementing the above method.
- the electronic device 1000 according to this embodiment of the present application will be described below with reference to FIG. 6.
- the electronic device 1000 shown in FIG. 6 is only an example, and should not bring any limitation to the function and use scope of the embodiments of the present application.
- the electronic device 1000 is represented in the form of a general-purpose computing device.
- the components of the electronic device 1000 may include but are not limited to: the aforementioned at least one processing unit 1010, the aforementioned at least one storage unit 1020, and a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010).
- the storage unit stores program code, and the program code can be executed by the processing unit 1010, so that the processing unit 1010 executes the various exemplary methods described in the above-mentioned “Methods of Embodiments” section of this specification. Implementation steps.
- the storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1021 and/or a cache storage unit 1022, and may further include a read-only storage unit (ROM) 1023.
- RAM random access storage unit
- ROM read-only storage unit
- the storage unit 1020 may also include a program/utility tool 1024 having a set (at least one) program module 1025.
- program module 1025 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
- the bus 1030 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
- the electronic device 1000 can also communicate with one or more external devices 1200 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 1000, and/or communicate with Any device (such as a router, modem, etc.) that enables the electronic device 1000 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 1050.
- the electronic device 1000 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 1060.
- networks for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
- the network adapter 1060 communicates with other modules of the electronic device 1000 through the bus 1030. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
- the exemplary embodiments described here can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiments of the present disclosure.
- a computing device which may be a personal computer, a server, a terminal device, or a network device, etc.
- a computer-readable storage medium on which is stored a program product capable of implementing the above method of this specification.
- various aspects of the present application can also be implemented in the form of a program product, which includes program code.
- the program product runs on a terminal device, the program code is used to enable the The terminal device executes the steps according to various exemplary embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
- a program product 1100 for implementing the above method according to an embodiment of the present application is described. It can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be in a terminal device, For example, running on a personal computer.
- CD-ROM compact disk read-only memory
- the program product of this application is not limited to this.
- the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or combined with an instruction execution system, device, or device.
- the program product can use any combination of one or more readable media.
- the readable medium may be a readable signal medium or a readable storage medium.
- the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
- the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
- the program code used to perform the operations of this application can be written in any combination of one or more programming languages.
- the programming languages include object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming language-such as "C" language or similar programming language.
- the program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
- the remote computing device can be connected to a user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using Internet service providers) Business to connect via the Internet).
- LAN local area network
- WAN wide area network
- Internet service providers Internet service providers
Abstract
Description
Claims (20)
- 一种区块链中数据字段的更新方法,其特征在于,包括:响应于用户关于数据更新的请求,获取需要更新的数据对象,所述数据对象中包括第一Key值和与第一Key值对应的更新字段数据;根据所述数据对象中的第一Key值,在区块链系统中确定与第一Key值相关联的全量数据;结合所述更新字段数据,读取所述全量数据,以在全量数据中确定需要被更新的字段;将所述在全量数据中确定的需要被更新的字段更新为所述更新字段数据。
- 根据权利要求1所述的方法,其特征在于,在区块链系统中,所有全量数据均关联有一个唯一的第二Key值,所述根据数据对象中的第一Key值,在区块链系统中确定与第一Key值相关联的全量数据,包括:根据所述数据对象中的第一Key值,在区块链系统中查找与所述第一Key值相同的第二Key值;将所述查找的第二Key值对应的全量数据确定为与第一Key值相关联的全量数据。
- 根据权利要求1所述的方法,其特征在于,所述更新字段数据包括字段名称和字段名称对应的字段值,所述全量数据由若干个字段组成,其中,每一个字段包括一个字段名称和一个字段值,所述结合所述更新字段数据,读取所述全量数据,以在全量数据中确定需要被更新的字段,包括:在所述全量数据中确定与所述更新字段数据中的字段名称相同的字段名称;将所述在全量数据中被确定的字段名称对应的字段作为需要被更新的字段。
- 根据权利要求1所述的方法,其特征在于,所述更新字段数据包括字段名称和字段名称对应的字段值,所述全量数据由若干个字段组成,其中,每一个字段包括一个字段名称和一个字段值,所述将在全量数据中确定的需要被更新的字段更新为所述更新字段数据,包括:参照所述字段名称,将所述在全量数据中确定的需要被更新字段的字段值对应的替换为所述更新字段数据中的字段值。
- 根据权利要求1所述的方法,其特征在于,在区块链系统中,所有全量数据均关联有一个唯一的第二Key值,在将所述在全量数据中确定的需要被更新的字段更新为所述更新字段数据之后,所述方法还包括:将被更新完成的全量数据与对应的第二Key值相关联的上传至区块链系统中。
- 根据权利要求5所述的方法,其特征在于,在将所述被更新完成的全量数据与对应的第二Key值相关联的上传至区块链系统中之前,所述方法还包括:在所述被更新完成的全量数据中添加操作记录标签。
- 根据权利要求5所述的方法,其特征在于,在将所述被更新完成的全量数据与对应的第二Key值相关联的上传至区块链系统中之前,所述方法还包括:对所述被更新完成的全量数据进行加密处理,以得到加密后的全量数据。
- 一种区块链中数据字段的更新装置,其特征在于,所述装置包括:获取模块,用于获取需要更新的数据对象;确定模块,用于在区块链系统中确定与第一Key值相关联的全量数据;读取模块,用于结合所述更新字段数据,读取所述全量数据,以在全量数据中确定需要被更新的字段;更新模块,用于将所述在全量数据中确定的需要被更新的字段更新为所述更新字段数据。
- 根据权利要求8所述的装置,其特征在于,在区块链系统中,所有全量数据均关联有一个唯一的第二Key值,所述确定模块具体用于:根据所述数据对象中的第一Key值,在区块链系统中查找与所述第一Key 值相同的第二Key值;将所述查找的第二Key值对应的全量数据确定为与第一Key值相关联的全量数据。
- 根据权利要求8所述的装置,其特征在于,所述更新字段数据包括字段名称和字段名称对应的字段值,所述全量数据由若干个字段组成,其中,每一个字段包括一个字段名称和一个字段值,所述读取模块具体用于:在所述全量数据中确定与所述更新字段数据中的字段名称相同的字段名称;将所述在全量数据中被确定的字段名称对应的字段作为需要被更新的字段。
- 根据权利要求8所述的装置,其特征在于,所述更新字段数据包括字段名称和字段名称对应的字段值,所述全量数据由若干个字段组成,其中,每一个字段包括一个字段名称和一个字段值,所述更新模块具体用于:参照所述字段名称,将所述在全量数据中确定的需要被更新字段的字段值对应的替换为所述更新字段数据中的字段值。
- 根据权利要求8所述的装置,其特征在于,在区块链系统中,所有全量数据均关联有一个唯一的第二Key值,所述更新模块,还用于在将所述在全量数据中确定的需要被更新的字段更新为所述更新字段数据之后,将被更新完成的全量数据与对应的第二Key值相关联的上传至区块链系统中。
- 根据权利要求12所述的装置,其特征在于,所述更新模块,还用于在将所述被更新完成的全量数据与对应的第二Key值相关联的上传至区块链系统中之前,在所述被更新完成的全量数据中添加操作记录标签。
- 根据权利要求12所述的装置,其特征在于,所述更新模块,还用于在将所述被更新完成的全量数据与对应的第二Key值 相关联的上传至区块链系统中之前,对所述被更新完成的全量数据进行加密处理,以得到加密后的全量数据。
- 一种计算机可读程序介质,其特征在于,其存储有计算机程序指令,当所述计算机程序指令被计算机执行时,使计算机执行根据权利要求1至7中任一项所述的方法。
- 一种电子设备,其特征在于,所述电子设备包括:处理器;存储器,所述存储器上存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,实现以下步骤:响应于用户关于数据更新的请求,获取需要更新的数据对象,所述数据对象中包括第一Key值和与第一Key值对应的更新字段数据;根据所述数据对象中的第一Key值,在区块链系统中确定与第一Key值相关联的全量数据;结合所述更新字段数据,读取所述全量数据,以在全量数据中确定需要被更新的字段;将所述在全量数据中确定的需要被更新的字段更新为所述更新字段数据。
- 根据权利要求16所述的电子设备,其特征在于,在区块链系统中,所有全量数据均关联有一个唯一的第二Key值,所述处理器在执行所述根据数据对象中的第一Key值,在区块链系统中确定与第一Key值相关联的全量数据时,具体执行以下步骤:根据所述数据对象中的第一Key值,在区块链系统中查找与所述第一Key值相同的第二Key值;将所述查找的第二Key值对应的全量数据确定为与第一Key值相关联的全量数据。
- 根据权利要求16所述的电子设备,其特征在于,所述更新字段数据包括字段名称和字段名称对应的字段值,所述全量数据由若干个字段组成,其中,每一个字段包括一个字段名称和一个字段值,所述处理器在执行所述结合所述更新字段数据,读取所述全量数据,以在 全量数据中确定需要被更新的字段时,具体执行以下步骤:在所述全量数据中确定与所述更新字段数据中的字段名称相同的字段名称;将所述在全量数据中被确定的字段名称对应的字段作为需要被更新的字段。
- 根据权利要求16所述的电子设备,其特征在于,所述更新字段数据包括字段名称和字段名称对应的字段值,所述全量数据由若干个字段组成,其中,每一个字段包括一个字段名称和一个字段值,所述处理器在执行所述将在全量数据中确定的需要被更新的字段更新为所述更新字段数据时,具体执行以下步骤:参照所述字段名称,将所述在全量数据中确定的需要被更新字段的字段值对应的替换为所述更新字段数据中的字段值。
- 根据权利要求16所述的电子设备,其特征在于,在区块链系统中,所有全量数据均关联有一个唯一的第二Key值,在将所述在全量数据中确定的需要被更新的字段更新为所述更新字段数据之后,所述处理器还执行以下步骤:将被更新完成的全量数据与对应的第二Key值相关联的上传至区块链系统中。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910671356.0A CN110457318A (zh) | 2019-07-24 | 2019-07-24 | 区块链中数据字段的更新方法、装置、介质、电子设备 |
CN201910671356.0 | 2019-07-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021012554A1 true WO2021012554A1 (zh) | 2021-01-28 |
Family
ID=68483285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/120961 WO2021012554A1 (zh) | 2019-07-24 | 2019-11-26 | 区块链中数据字段的更新方法、装置、介质、电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110457318A (zh) |
WO (1) | WO2021012554A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457318A (zh) * | 2019-07-24 | 2019-11-15 | 深圳壹账通智能科技有限公司 | 区块链中数据字段的更新方法、装置、介质、电子设备 |
CN113722341B (zh) * | 2021-08-31 | 2024-03-01 | 北京达佳互联信息技术有限公司 | 一种运营数据处理方法及相关装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897340A (zh) * | 2016-07-05 | 2017-06-27 | 阿里巴巴集团控股有限公司 | 一种数据表更新方法及装置 |
CN108628942A (zh) * | 2018-03-27 | 2018-10-09 | 深圳市网心科技有限公司 | 区块链节点设备、分布式数据库的数据读取及写入方法 |
CN109271283A (zh) * | 2018-09-06 | 2019-01-25 | 北京云测信息技术有限公司 | 一种基于区块链的数据备份方法 |
US10248810B2 (en) * | 2015-06-12 | 2019-04-02 | Pearson Education, Inc. | Automatic SQL query modification for data restriction |
CN110457318A (zh) * | 2019-07-24 | 2019-11-15 | 深圳壹账通智能科技有限公司 | 区块链中数据字段的更新方法、装置、介质、电子设备 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109634934A (zh) * | 2018-11-02 | 2019-04-16 | 深圳壹账通智能科技有限公司 | 交换金融数据的方法、装置、计算机设备和存储介质 |
CN110032598B (zh) * | 2018-12-20 | 2020-05-12 | 阿里巴巴集团控股有限公司 | 字段更新方法及装置、电子设备 |
-
2019
- 2019-07-24 CN CN201910671356.0A patent/CN110457318A/zh active Pending
- 2019-11-26 WO PCT/CN2019/120961 patent/WO2021012554A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10248810B2 (en) * | 2015-06-12 | 2019-04-02 | Pearson Education, Inc. | Automatic SQL query modification for data restriction |
CN106897340A (zh) * | 2016-07-05 | 2017-06-27 | 阿里巴巴集团控股有限公司 | 一种数据表更新方法及装置 |
CN108628942A (zh) * | 2018-03-27 | 2018-10-09 | 深圳市网心科技有限公司 | 区块链节点设备、分布式数据库的数据读取及写入方法 |
CN109271283A (zh) * | 2018-09-06 | 2019-01-25 | 北京云测信息技术有限公司 | 一种基于区块链的数据备份方法 |
CN110457318A (zh) * | 2019-07-24 | 2019-11-15 | 深圳壹账通智能科技有限公司 | 区块链中数据字段的更新方法、装置、介质、电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN110457318A (zh) | 2019-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10073899B2 (en) | Efficient storage using automatic data translation | |
US20220179836A1 (en) | Systems and methods for data management using zero-touch tagging | |
US20180285596A1 (en) | System and method for managing sensitive data | |
CN111163096B (zh) | 提供数据接口服务的方法、装置、电子设备、存储介质 | |
CN109522751B (zh) | 访问权限控制方法、装置、电子设备及计算机可读介质 | |
US11093645B2 (en) | Coordinated de-identification of a dataset across a network | |
US20210149895A1 (en) | Query conversion for querying disparate data sources | |
US11086827B1 (en) | Dataset schema and metadata management service | |
US10027615B2 (en) | Personal communication data management in multilingual mobile device | |
US8024444B2 (en) | Associating telemetry data from a group of entities | |
US11829814B2 (en) | Resolving data location for queries in a multi-system instance landscape | |
WO2021012554A1 (zh) | 区块链中数据字段的更新方法、装置、介质、电子设备 | |
CN111586177B (zh) | 集群会话防丢失方法及系统 | |
WO2024001240A1 (zh) | 多种技术栈的任务集成方法及装置 | |
CN115344688B (zh) | 业务数据展示方法、装置、电子设备和计算机可读介质 | |
US10057202B2 (en) | Personal communication data management in multilingual mobile device | |
US8914899B2 (en) | Directing users to preferred software services | |
US11874848B2 (en) | Automated dataset placement for application execution | |
US20220147651A1 (en) | Data management method, non-transitory computer readable medium, and data management system | |
US11928127B2 (en) | Dynamic replication based on identity | |
US11263216B2 (en) | Decentralized aggregation and collection of data from multiple sources | |
US11475018B2 (en) | Determining user and data record relationships based on vector space embeddings | |
US20200257736A1 (en) | Hybrid Datacenter for Dynamic Delta Documentation | |
US11841916B2 (en) | System and method to update a bookmarked document link and avoid a broken link | |
US20240103979A1 (en) | System and method for analyzing a portion of file system data based on a metadata analysis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19938806 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19938806 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 090822) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19938806 Country of ref document: EP Kind code of ref document: A1 |