WO2019128497A1 - Data heterogeneous storage method and data heterogeneous storage device - Google Patents

Data heterogeneous storage method and data heterogeneous storage device Download PDF

Info

Publication number
WO2019128497A1
WO2019128497A1 PCT/CN2018/115155 CN2018115155W WO2019128497A1 WO 2019128497 A1 WO2019128497 A1 WO 2019128497A1 CN 2018115155 W CN2018115155 W CN 2018115155W WO 2019128497 A1 WO2019128497 A1 WO 2019128497A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
storage
storage form
heterogeneous
definition
Prior art date
Application number
PCT/CN2018/115155
Other languages
French (fr)
Chinese (zh)
Inventor
何东杰
Original Assignee
中国银联股份有限公司
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 中国银联股份有限公司 filed Critical 中国银联股份有限公司
Publication of WO2019128497A1 publication Critical patent/WO2019128497A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database

Definitions

  • the present invention relates to data processing technologies, and in particular, to a data heterogeneous storage method and a data heterogeneous storage device.
  • the prior art In data heterogeneous storage, the prior art generally only uses multiple copies, and each copy is exactly the same form. If there is a problem with which copy, use another copy as a backup. At the same time, in order to cope with different data application scenarios, the prior art generally adopts different number storage forms to improve the efficiency of data processing. Therefore, for multiple different application scenarios, there will be multiple copies of multiple copies of data.
  • the present invention is directed to a further data heterogeneous storage method and a data heterogeneous storage device.
  • the data heterogeneous storage method of the present invention is for storing data having a plurality of copies, and is characterized by the following steps:
  • Definition step the form of data storage used for each copy of the data definition
  • the conversion storage step converts the data of the plurality of copies into the data storage form defined by the definition step and stores them.
  • the storage form includes: a line storage form, a column storage form, a row and column hybrid storage form, a compressed storage form, a key value pair storage form, and a user customized storage form.
  • a stored form identifier is set for the defined data storage form.
  • the data heterogeneous storage method of the present invention further comprises:
  • the association relationship storing step stores an association relationship between the data storage form and the copy.
  • the data heterogeneous storage device of the present invention is configured to store data having a plurality of copies, and is characterized by:
  • a conversion storage module configured to separately convert data of the plurality of copies into a data storage form defined by the definition step module and store the data.
  • the storage form includes: a line storage form, a column storage form, a row and column hybrid storage form, a compressed storage form, a key value pair storage form, and a user customized storage form.
  • the definition module sets a storage form identifier for the defined data storage form.
  • the conversion storage module is capable of mutually converting data between copies of different data storage forms.
  • the data heterogeneous storage device of the present invention is characterized by further comprising:
  • the association relationship storage module is configured to store an association relationship between the data storage form and the replica.
  • the computer readable medium of the present invention has stored thereon a computer program, characterized in that the computer program is executed by a processor to implement the above-described data heterogeneous storage method.
  • the computer device of the present invention includes a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program to implement the data heterogeneous storage method described above. step.
  • a heterogeneous form storage scheme of multiple copies of data is proposed, so that different applications can be satisfied while ensuring high data availability.
  • the ability to process data in a scenario can improve the efficiency of data storage.
  • heterogeneous storage of multiple copies of data can be configured in combination with actual needs, it can be flexibly configured and widely used.
  • FIG. 1 is a flow chart showing a data heterogeneous storage method of the present invention.
  • Fig. 2 is a block diagram showing the structure of a data heterogeneous storage device of the present invention.
  • the technical idea of the data heterogeneous storage method of the present invention is that for a multi-copy data of a distributed storage system, the storage form of each copy data is processed and stored according to application requirements, and corresponding data conversion functions are provided between different copies. To enable fast recovery from other copies after a disk or data failure. For applications, different replica settings have different identities, combined with application features, access to the corresponding efficient data storage form.
  • FIG. 1 is a flow chart showing a data heterogeneous storage method of the present invention.
  • the data heterogeneous storage method of the present invention includes the following steps:
  • Defining step S100 a data storage form employed for the data definition of each copy
  • the conversion storage step S200 separately converts data of the plurality of copies into a data storage form defined by the definition step and stores the data.
  • the storage form includes: a line storage form, a column storage form, a compressed storage form, a key value pair storage form, a user customized storage form, and the like, and Define the data storage form and set the storage form identifier.
  • the data heterogeneous storage party of the present invention further includes an association relationship storing step S300, in which the association relationship between the data storage format and the replica is stored.
  • Fig. 2 is a block diagram showing the structure of a data heterogeneous storage device of the present invention.
  • the data heterogeneous storage device of the present invention has:
  • a definition module 100 for using a data storage form for each copy of the data definition; and a conversion storage module 200 for converting the data of the plurality of copies into a data storage form defined by the definition step module and performing storage.
  • the storage form includes: a line storage form, a column storage form, a compressed storage form, a key value pair storage form, a user customized storage form, and the like, and
  • the definition module sets a storage form identifier for the defined data storage form.
  • the conversion storage module 200 is capable of mutually converting data between copies of different data storage forms.
  • the data heterogeneous storage device of the present invention further includes: an association storage module 300 for storing an association relationship between the data storage format and the replica.
  • each copy is defined according to the characteristics of the application requirements, and the copies may be the same or different;
  • the application system accesses the data, it specifies the data copy of the access to achieve higher data processing efficiency; the storage system can also automatically identify the optimal data copy according to the data access requirements of the application system, so that the application system does not need to be specified. A copy of the accessed data, shielding the underlying storage of the data.
  • different service scenarios correspond to multiple copies
  • a service profile corresponds to copy A1 A2 A3
  • B service scenario corresponds to copy B1 B2 B3
  • C service scenario corresponds to copy C1 C2 C3.
  • the data heterogeneous storage method of the present embodiment when the data is stored, different copies are backed up according to different service scenarios, so that in the three A B C service scenarios, the corresponding backup copy It is A1 B1 C1, A1 B1 C1 backup each other, saving storage space and improving storage efficiency.
  • the present invention also provides a computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the above-described data heterogeneity when the computer program is executed The steps of the storage method.
  • the data heterogeneous storage method and the data heterogeneous storage device according to the present invention can propose a heterogeneous form storage scheme of multiple copies of data, so that different application scenarios can be satisfied while ensuring high data availability.
  • the ability to handle data needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A data heterogeneous storage method and a data heterogeneous storage device. The data heterogeneous storage method is used for storing data having multiple copies, and is characterized by comprising the following steps: a definition step (S100): defining a data storage form adopted for the data of each copy; and a conversion and storage step (S200): respectively converting the data of the multiple copies into the data storage form defined in the definition step and storing same. According to the data heterogeneous storage method and the data heterogeneous storage device, under the condition that high availability of the data is guaranteed, the requirement for processing the data under different application scenes can be met.

Description

一种数据异构存储方法以及数据异构存储装置Data heterogeneous storage method and data heterogeneous storage device 技术领域Technical field
本发明涉及数据处理技术,具体涉及一种数据异构存储方法以及数据异构存储装置。The present invention relates to data processing technologies, and in particular, to a data heterogeneous storage method and a data heterogeneous storage device.
背景技术Background technique
在数据异构存储中,现有技术中一般仅采用多副本形式,并且每个副本是完全一样的形式。若哪一个副本出现问题,就采用其他副本作为备份。同时,为应对不同的数据应用场景,现有技术一般会采用不同的数存储形式,以提高数据处理的效率。因此,对于多个不同的应用场景,会存在多份多副本的数据。In data heterogeneous storage, the prior art generally only uses multiple copies, and each copy is exactly the same form. If there is a problem with which copy, use another copy as a backup. At the same time, in order to cope with different data application scenarios, the prior art generally adopts different number storage forms to improve the efficiency of data processing. Therefore, for multiple different application scenarios, there will be multiple copies of multiple copies of data.
虽然,现有技术能够实现数据的高可用性,但是存储空间利用率还有待提升。Although the prior art can achieve high availability of data, the storage space utilization needs to be improved.
发明内容Summary of the invention
鉴于所述问题,本发明旨在提出一种进一步数据异构存储方法以及数据异构存储装置。In view of the problems, the present invention is directed to a further data heterogeneous storage method and a data heterogeneous storage device.
本发明的数据异构存储方法,该方法用于对具备多个副本的数据进行存储,其特征在于,具备下述步骤:The data heterogeneous storage method of the present invention is for storing data having a plurality of copies, and is characterized by the following steps:
定义步骤,对于每一个副本的数据定义所采用的数据存储形式;以及Definition step, the form of data storage used for each copy of the data definition;
转换存储步骤,将多个副本的数据分别转换成所述定义步骤定义的数据存储形式并进行存储。The conversion storage step converts the data of the plurality of copies into the data storage form defined by the definition step and stores them.
优选地,在所述定义步骤中,作为所述存储形式有:行式存储形式、列式存储形式、行列混合存储形式、压缩存储形式、键值对等存储形式、以及用户自定义存储形式。Preferably, in the defining step, the storage form includes: a line storage form, a column storage form, a row and column hybrid storage form, a compressed storage form, a key value pair storage form, and a user customized storage form.
优选地,在所述定义步骤中,对于所定义的数据存储形式,设置存储形式标识。Preferably, in the defining step, a stored form identifier is set for the defined data storage form.
优选地,在所述转换存储步骤中,在不同的数据存储形式的副本之间能够互相进行数据转换。Preferably, in the conversion storage step, data conversion between the copies of different data storage forms is possible.
优选地,本发明的数据异构存储方法进一步具备:Preferably, the data heterogeneous storage method of the present invention further comprises:
关联关系存储步骤,存储所述数据存储形式与副本的关联关系。The association relationship storing step stores an association relationship between the data storage form and the copy.
本发明的数据异构存储装置,该装置用于对具备多个副本的数据进行存储,其特征在于,具备:The data heterogeneous storage device of the present invention is configured to store data having a plurality of copies, and is characterized by:
定义模块,用于对于每一个副本的数据定义所采用的数据存储形式;以及a definition module for the data storage form used for the data definition for each copy;
转换存储模块,用于将多个副本的数据分别转换成所述定义步骤模块所定义的数据存储形式并进行存储。And a conversion storage module, configured to separately convert data of the plurality of copies into a data storage form defined by the definition step module and store the data.
优选地,在所述定义模块中,作为所述存储形式有:行式存储形式、列式存储形式、行列混合存储形式、压缩存储形式、键值对等存储形式、以及用户自定义存储形式。Preferably, in the definition module, the storage form includes: a line storage form, a column storage form, a row and column hybrid storage form, a compressed storage form, a key value pair storage form, and a user customized storage form.
优选地,所述定义模块对于所定义的数据存储形式设置存储形式标识。Preferably, the definition module sets a storage form identifier for the defined data storage form.
优选地,所述转换存储模块能够在不同的数据存储形式的副本之间互相进行数据转换。Preferably, the conversion storage module is capable of mutually converting data between copies of different data storage forms.
优选地,本发明的数据异构存储装置,其特征在于,进一步具备:Preferably, the data heterogeneous storage device of the present invention is characterized by further comprising:
关联关系存储模块,用于存储所述数据存储形式与副本的关联关系。The association relationship storage module is configured to store an association relationship between the data storage form and the replica.
本发明的计算机可读介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现上述的数据异构存储方法。The computer readable medium of the present invention has stored thereon a computer program, characterized in that the computer program is executed by a processor to implement the above-described data heterogeneous storage method.
本发明的计算机设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现上述的数据异构存储方法的步骤。The computer device of the present invention includes a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program to implement the data heterogeneous storage method described above. step.
如上所述,根据本发明的数据异构存储方法以及数据异构存储装置,提出了一种多副本数据的异构形式存储的方案,使得在保证数据高可用性的情况下,也能够满足不同应用场景下能够处理数据的需求,能够提高数据存储的效率。而且,由于多副本数据的异构存储可结合实际需求进行配置,因此能够进行灵活配置,适用面广泛。As described above, according to the data heterogeneous storage method and the data heterogeneous storage device of the present invention, a heterogeneous form storage scheme of multiple copies of data is proposed, so that different applications can be satisfied while ensuring high data availability. The ability to process data in a scenario can improve the efficiency of data storage. Moreover, since heterogeneous storage of multiple copies of data can be configured in combination with actual needs, it can be flexibly configured and widely used.
附图说明DRAWINGS
图1是表示本发明的数据异构存储方法的流程图。1 is a flow chart showing a data heterogeneous storage method of the present invention.
图2是表示本发明的数据异构存储装置的结构示意图。Fig. 2 is a block diagram showing the structure of a data heterogeneous storage device of the present invention.
具体实施方式Detailed ways
下面介绍的是本发明的多个实施例中的一些,旨在提供对本发明的基本了 解。并不旨在确认本发明的关键或决定性的要素或限定所要保护的范围。The following are some of the various embodiments of the invention, which are intended to provide a basic understanding of the invention. It is not intended to identify key or critical elements of the invention or the scope of the invention.
本发明的数据异构存储方法的技术构思是,对于分布式存储系统的多副本数据,根据应用需求对每一个副本数据的存储形式进行处理和存储,而且不同副本之间提供相应的数据转换功能,以实现在磁盘或者数据出现故障后,能够从其他副本进行快速恢复。对于应用来说,不同副本设置有不同的标识,结合应用特性,访问对应的高效数据存储形式。The technical idea of the data heterogeneous storage method of the present invention is that for a multi-copy data of a distributed storage system, the storage form of each copy data is processed and stored according to application requirements, and corresponding data conversion functions are provided between different copies. To enable fast recovery from other copies after a disk or data failure. For applications, different replica settings have different identities, combined with application features, access to the corresponding efficient data storage form.
比如说,在大数据场景下,我们既需要进行数据的快速查询又需要能够进行快速分析,数据行式存储能够提供快速查询,而数据列式存储能够提供快速分析。显然,如果有两个副本数据,则一个使用行式存储,另一个使用列式存储。对于数据备份的场景,则可以选择更加高效的压缩存储形式,使得存储空间利用率进一步提升。因此,如果有三个副本数据的话,可以使得一个副本采用行式存储形式、一个副本采用列式存储方式、再一个使用压缩存储形式。For example, in a big data scenario, we need both fast data query and fast analysis. Data row storage provides fast queries, while data column storage provides fast analysis. Obviously, if there are two copies of data, one uses row storage and the other uses columnar storage. For the data backup scenario, you can choose a more efficient compressed storage format, which further increases the storage space utilization. Therefore, if there are three copies of data, one copy can be in the form of row storage, one copy can be stored in columns, and then one can be used in compressed storage.
接着,对于本发明的数据异构存储方法进行说明。Next, the data heterogeneous storage method of the present invention will be described.
图1是表示本发明的数据异构存储方法的流程图。1 is a flow chart showing a data heterogeneous storage method of the present invention.
如图1所示,本发明的数据异构存储方法包括下述步骤:As shown in FIG. 1, the data heterogeneous storage method of the present invention includes the following steps:
定义步骤S100:对于每一个副本的数据定义所采用的数据存储形式;以及Defining step S100: a data storage form employed for the data definition of each copy;
转换存储步骤S200:将多个副本的数据分别转换成所述定义步骤定义的数据存储形式并进行存储。The conversion storage step S200: separately converts data of the plurality of copies into a data storage form defined by the definition step and stores the data.
其中,在所述定义步骤中,作为所述存储形式有:行式存储形式、列式存储形式、压缩存储形式、键值对等存储形式、以及用户自定义存储形式等等,而且,对于所定义的数据存储形式,设置存储形式标识。Wherein, in the defining step, the storage form includes: a line storage form, a column storage form, a compressed storage form, a key value pair storage form, a user customized storage form, and the like, and Define the data storage form and set the storage form identifier.
另一方面,在所述转换存储步骤中,在不同的数据存储形式的副本之间能够互相进行数据转换。On the other hand, in the conversion storage step, data conversion can be performed between the copies of different data storage forms.
作为优选地方式,本发明的数据异构存储方进一步还能够具备:关联关系存储步骤S300,在该步骤中存储所述数据存储形式与副本的关联关系。Preferably, the data heterogeneous storage party of the present invention further includes an association relationship storing step S300, in which the association relationship between the data storage format and the replica is stored.
接着,对于本发明的数据异构存储装置进行简单说明。Next, a brief description will be given of the data heterogeneous storage device of the present invention.
图2是表示本发明的数据异构存储装置的结构示意图。Fig. 2 is a block diagram showing the structure of a data heterogeneous storage device of the present invention.
如图2所示,本发明的数据异构存储装置具备:As shown in FIG. 2, the data heterogeneous storage device of the present invention has:
定义模块100,用于对于每一个副本的数据定义所采用的数据存储形式;以及 转换存储模块200,用于将多个副本的数据分别转换成所述定义步骤模块所定义的数据存储形式并进行存储。a definition module 100 for using a data storage form for each copy of the data definition; and a conversion storage module 200 for converting the data of the plurality of copies into a data storage form defined by the definition step module and performing storage.
具体地,在所述定义模块中,作为所述存储形式有:行式存储形式、列式存储形式、压缩存储形式、键值对等存储形式、以及用户自定义存储形式等等,而且,所述定义模块对于所定义的数据存储形式设置存储形式标识。Specifically, in the definition module, the storage form includes: a line storage form, a column storage form, a compressed storage form, a key value pair storage form, a user customized storage form, and the like, and The definition module sets a storage form identifier for the defined data storage form.
另一方面,转换存储模块200能够在不同的数据存储形式的副本之间互相进行数据转换。On the other hand, the conversion storage module 200 is capable of mutually converting data between copies of different data storage forms.
作为优选的方式,本发明的数据异构存储装置进一步具备:用于存储所述数据存储形式与副本的关联关系的关联关系存储模块300。In a preferred embodiment, the data heterogeneous storage device of the present invention further includes: an association storage module 300 for storing an association relationship between the data storage format and the replica.
接着,对于本发明的数据异构存储方法以及数据异构存储装置的具体实施方式进行说明。Next, a specific embodiment of the data heterogeneous storage method and the data heterogeneous storage device of the present invention will be described.
本实施方式的数据异构存储方法包括以下步骤:The data heterogeneous storage method of this embodiment includes the following steps:
(1)数据写入过程中,根据应用需求特性,定义每个副本的形式,副本之间可以相同,也可以不同;(1) During the data writing process, the format of each copy is defined according to the characteristics of the application requirements, and the copies may be the same or different;
(2)数据在写入时,通过数据转换功能,将数据的其他副本同时生成,并同时写入将数据进行存储,从而形成多副本的存储;比如说将数据存储为行式、列式、高效压缩、键值对等方式;(2) When data is written, through the data conversion function, other copies of the data are simultaneously generated, and at the same time, the data is stored, thereby forming a plurality of copies of the storage; for example, storing the data as a line, a column, Efficient compression, key-value pairing;
(3)在元数据中记录不同数据存储形式以及存储的位置;(3) Recording different data storage forms and stored locations in the metadata;
(4)应用系统在访问数据时候,指定访问的数据副本,以达到较高的数据处理效率;存储系统也可以根据应用系统的数据访问需求,自动化识别最优的数据副本,使得应用系统不用指定访问的数据副本,屏蔽数据底层存储。(4) When the application system accesses the data, it specifies the data copy of the access to achieve higher data processing efficiency; the storage system can also automatically identify the optimal data copy according to the data access requirements of the application system, so that the application system does not need to be specified. A copy of the accessed data, shielding the underlying storage of the data.
例如,现有技术中,不同的业务场景都分别对应多个副本,例如A业务场景对应副本A1 A2 A3,B业务场景对应副本B1 B2 B3,C业务场景对应副本C1 C2 C3。与此相对,利用本实施方式的数据异构存储方法,则是数据在进行存储时,就根据不同的业务场景备份不同的副本,这样在有A B C三个业务场景下,对应的备份副本就是A1 B1 C1,A1 B1 C1之间互相备份,节省了存储空间,提升了存储效率。For example, in the prior art, different service scenarios correspond to multiple copies, for example, A service profile corresponds to copy A1 A2 A3, B service scenario corresponds to copy B1 B2 B3, and C service scenario corresponds to copy C1 C2 C3. On the other hand, in the data heterogeneous storage method of the present embodiment, when the data is stored, different copies are backed up according to different service scenarios, so that in the three A B C service scenarios, the corresponding backup copy It is A1 B1 C1, A1 B1 C1 backup each other, saving storage space and improving storage efficiency.
本发明还提供一种计算机设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程 序时实现上述的数据异构存储方法的步骤。The present invention also provides a computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the above-described data heterogeneity when the computer program is executed The steps of the storage method.
如上所述,根据本发明的数据异构存储方法以及数据异构存储装置能够提出一种多副本数据的异构形式存储的方案,使得在保证数据高可用性的情况下,也能够满足不同应用场景下能够处理数据的需求。As described above, the data heterogeneous storage method and the data heterogeneous storage device according to the present invention can propose a heterogeneous form storage scheme of multiple copies of data, so that different application scenarios can be satisfied while ensuring high data availability. The ability to handle data needs.
以上例子主要说明了本发明的数据异构存储方法以及数据异构存储装置。尽管只对其中一些本发明的具体实施方式进行了描述,但是本领域普通技术人员应当了解,本发明可以在不偏离其主旨与范围内以许多其他的形式实施。因此,所展示的例子与实施方式被视为示意性的而非限制性的,在不脱离如所附各权利要求所定义的本发明精神及范围的情况下,本发明可能涵盖各种的修改与替换。The above examples mainly illustrate the data heterogeneous storage method and the data heterogeneous storage device of the present invention. Although only a few of the specific embodiments of the present invention have been described, it is understood that the invention may be embodied in many other forms without departing from the spirit and scope of the invention. Accordingly, the present invention is to be construed as illustrative and not restrictive, and the invention may cover various modifications without departing from the spirit and scope of the invention as defined by the appended claims With replacement.

Claims (12)

  1. 一种数据异构存储方法,该方法用于对具备多个副本的数据进行存储,其特征在于,具备下述步骤:A data heterogeneous storage method for storing data having multiple copies, characterized in that the method has the following steps:
    定义步骤,对于每一个副本的数据定义所采用的数据存储形式;以及Definition step, the form of data storage used for each copy of the data definition;
    转换存储步骤,将多个副本的数据分别转换成所述定义步骤定义的数据存储形式并进行存储。The conversion storage step converts the data of the plurality of copies into the data storage form defined by the definition step and stores them.
  2. 如权利要求1所述的数据异构存储方法,其特征在于,The data heterogeneous storage method according to claim 1, wherein
    在所述定义步骤中,作为所述存储形式有:行式存储形式、列式存储形式、行列混合存储形式、压缩存储形式、键值对等存储形式、以及用户自定义存储形式。In the definition step, as the storage form, there are: a line storage form, a column storage form, a row and column hybrid storage form, a compressed storage form, a key value pair storage form, and a user customized storage form.
  3. 如权利要求1所述的数据异构存储方法,其特征在于,The data heterogeneous storage method according to claim 1, wherein
    在所述定义步骤中,对于所定义的数据存储形式,设置存储形式标识。In the defining step, a storage form identifier is set for the defined data storage form.
  4. 如权利要求1所述的数据异构存储方法,其特征在于,The data heterogeneous storage method according to claim 1, wherein
    在所述转换存储步骤中,在不同的数据存储形式的副本之间能够互相进行数据转换。In the conversion storage step, data conversion can be performed between the copies of different data storage forms.
  5. 如权利要求1~4任意一项所述的数据异构存储方法,其特征在于,进一步具备:关联关系存储步骤,存储所述数据存储形式与副本的关联关系。The data heterogeneous storage method according to any one of claims 1 to 4, further comprising: an association relationship storing step of storing an association relationship between the data storage format and the replica.
  6. 一种数据异构存储装置,该装置用于对具备多个副本的数据进行存储,其特征在于,具备:A data heterogeneous storage device for storing data having a plurality of copies, characterized by comprising:
    定义模块,用于对于每一个副本的数据定义所采用的数据存储形式;以及a definition module for the data storage form used for the data definition for each copy;
    转换存储模块,用于将多个副本的数据分别转换成所述定义步骤模块所定义的数据存储形式并进行存储。And a conversion storage module, configured to separately convert data of the plurality of copies into a data storage form defined by the definition step module and store the data.
  7. 如权利要求6所述的数据异构存储装置,其特征在于,The data heterogeneous storage device according to claim 6, wherein
    在所述定义模块中,作为所述存储形式有:行式存储形式、列式存储形式、行列混合存储形式、压缩存储形式、键值对等存储形式、以及用户自定义存储形式。In the definition module, as the storage form, there are: a line storage form, a column storage form, a row and column hybrid storage form, a compressed storage form, a key value pair storage form, and a user customized storage form.
  8. 如权利要求6所述的数据异构存储装置,其特征在于,The data heterogeneous storage device according to claim 6, wherein
    所述定义模块对于所定义的数据存储形式设置存储形式标识。The definition module sets a storage form identifier for the defined data storage form.
  9. 如权利要求6所述的数据异构存储装置,其特征在于,The data heterogeneous storage device according to claim 6, wherein
    所述转换存储模块能够在不同的数据存储形式的副本之间互相进行数据转换。The conversion storage module is capable of mutually converting data between copies of different data storage forms.
  10. 如权利要求6~9任意一项所述的数据异构存储装置,其特征在于,进一步具备:The data heterogeneous storage device according to any one of claims 6 to 9, further comprising:
    关联关系存储模块,用于存储所述数据存储形式与副本的关联关系。The association relationship storage module is configured to store an association relationship between the data storage form and the replica.
  11. 一种计算机可读介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现权利要求1~5中任意一项所述的数据异构存储方法。A computer readable medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the data heterogeneous storage method according to any one of claims 1 to 5.
  12. 一种计算机设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1~5中任意一项所述的数据异构存储方法的步骤。A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program to implement any one of claims 1 to 5. The steps of the data heterogeneous storage method.
PCT/CN2018/115155 2017-12-28 2018-11-13 Data heterogeneous storage method and data heterogeneous storage device WO2019128497A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711455543.2A CN108304471A (en) 2017-12-28 2017-12-28 A kind of Heterogeneous data storage method and Heterogeneous data storage device
CN201711455543.2 2017-12-28

Publications (1)

Publication Number Publication Date
WO2019128497A1 true WO2019128497A1 (en) 2019-07-04

Family

ID=62867610

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115155 WO2019128497A1 (en) 2017-12-28 2018-11-13 Data heterogeneous storage method and data heterogeneous storage device

Country Status (3)

Country Link
CN (1) CN108304471A (en)
TW (1) TW201931121A (en)
WO (1) WO2019128497A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304471A (en) * 2017-12-28 2018-07-20 中国银联股份有限公司 A kind of Heterogeneous data storage method and Heterogeneous data storage device
CN113641673A (en) * 2021-08-17 2021-11-12 山东勤成健康科技股份有限公司 Data heterogeneous storage method and data heterogeneous storage device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090187600A1 (en) * 2008-01-23 2009-07-23 Omx Technology Ab Method of improving replica server performance and a replica server system
CN104572711A (en) * 2013-10-18 2015-04-29 腾讯科技(深圳)有限公司 Distribution document-type data storage and extraction method and device
CN105095294A (en) * 2014-05-15 2015-11-25 中兴通讯股份有限公司 Method and device for managing heterogeneous copy in distributed storage system
CN105740295A (en) * 2014-12-12 2016-07-06 中国移动通信集团公司 Processing method and device for distributed data
CN108304471A (en) * 2017-12-28 2018-07-20 中国银联股份有限公司 A kind of Heterogeneous data storage method and Heterogeneous data storage device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8255375B2 (en) * 2010-02-23 2012-08-28 Bank Of America Corporation Content service bus framework
CN107180031B (en) * 2016-03-09 2021-04-09 华为技术有限公司 Distributed storage method and device, and data processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090187600A1 (en) * 2008-01-23 2009-07-23 Omx Technology Ab Method of improving replica server performance and a replica server system
CN104572711A (en) * 2013-10-18 2015-04-29 腾讯科技(深圳)有限公司 Distribution document-type data storage and extraction method and device
CN105095294A (en) * 2014-05-15 2015-11-25 中兴通讯股份有限公司 Method and device for managing heterogeneous copy in distributed storage system
CN105740295A (en) * 2014-12-12 2016-07-06 中国移动通信集团公司 Processing method and device for distributed data
CN108304471A (en) * 2017-12-28 2018-07-20 中国银联股份有限公司 A kind of Heterogeneous data storage method and Heterogeneous data storage device

Also Published As

Publication number Publication date
TW201931121A (en) 2019-08-01
CN108304471A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
US11182404B2 (en) Data replication technique in database management system
US11010103B2 (en) Distributed batch processing of non-uniform data objects
CN102541990B (en) Database redistribution method and system utilizing virtual partitions
US10860539B2 (en) De-duplication-based remote replication method, and apparatus
US9378233B2 (en) For all entries processing
US20160085633A1 (en) Automated data recovery from remote data object replicas
US9418094B2 (en) Method and apparatus for performing multi-stage table updates
JP6086463B2 (en) Method, device and system for peer-to-peer data replication and method, device and system for master node switching
WO2019105420A1 (en) Data query
EP3432157A1 (en) Data table joining mode processing method and apparatus
WO2017028394A1 (en) Example-based distributed data recovery method and apparatus
US20150006589A1 (en) Apparatus and method for expanding a shared-nothing system
US20160306550A1 (en) Constructing a scalable storage device, and scaled storage device
US20150149481A1 (en) Table as query language parameter
WO2014089828A1 (en) Method for accessing storage device and storage device
WO2019128497A1 (en) Data heterogeneous storage method and data heterogeneous storage device
CN107301214A (en) Data migration method, device and terminal device in HIVE
JP2017502539A (en) System and method for realizing multi-user power saving codebook optimization
CN113961580A (en) Data query method, service system and electronic equipment
WO2014010038A1 (en) Information processing system
KR101797483B1 (en) Technique for processing query in database management system
CN107491544B (en) Data processing platform for enhancing analysis capability of non-relational database
WO2018019310A1 (en) Big data system data backup and recovery methods and devices, and computer storage medium
WO2014180395A1 (en) Mass data fusion storage method and system
JP2006092503A (en) Multi-instance in-memory database

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: 18894738

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: 18894738

Country of ref document: EP

Kind code of ref document: A1