[go: up one dir, main page]

CN111259082A - Method for realizing full data synchronization in big data environment - Google Patents

Method for realizing full data synchronization in big data environment Download PDF

Info

Publication number
CN111259082A
CN111259082A CN202010087564.9A CN202010087564A CN111259082A CN 111259082 A CN111259082 A CN 111259082A CN 202010087564 A CN202010087564 A CN 202010087564A CN 111259082 A CN111259082 A CN 111259082A
Authority
CN
China
Prior art keywords
data
metadata
module
source
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010087564.9A
Other languages
Chinese (zh)
Other versions
CN111259082B (en
Inventor
陈汉清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sanliang Technology Co ltd
Original Assignee
Chepeiqi Zhuhai Hengqin Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chepeiqi Zhuhai Hengqin Technology Co Ltd filed Critical Chepeiqi Zhuhai Hengqin Technology Co Ltd
Priority to CN202010087564.9A priority Critical patent/CN111259082B/en
Publication of CN111259082A publication Critical patent/CN111259082A/en
Application granted granted Critical
Publication of CN111259082B publication Critical patent/CN111259082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

本发明涉及大数据环境下实现全量数据同步的方法,该方法包括步骤:执行插入源数据模块、执行生成交集数据模块、基于交集数据获取并插入需添加的记录模块、基于交集数据生成需更新的记录模块、基于更新的记录更新数据模块、基于交集数据删除需删除的记录模块。采用本发明,在做数据交换时不仅支持对单表大数据量的全量数据同步,同时支持业务回滚,还支持以异步方式对多表大数据量的全量数据同步提供实现方法。最关键的是满足全量数据同步完成后,且能很好的支撑原有数据的业务应用和数据分析。

Figure 202010087564

The invention relates to a method for realizing full data synchronization in a big data environment. The method comprises the steps of: executing a module for inserting source data, executing a module for generating intersection data, acquiring and inserting a record module to be added based on the intersection data, and generating a module to be updated based on the intersection data. Record module, update data module based on updated record, delete record module to be deleted based on intersection data. The present invention not only supports full data synchronization of single table and large data volume, but also supports business rollback during data exchange, and also supports providing an implementation method for full data synchronization of multiple tables and large data volume in an asynchronous manner. The most important thing is that after the full data synchronization is completed, it can well support the business application and data analysis of the original data.

Figure 202010087564

Description

大数据环境下实现全量数据同步的方法Method for realizing full data synchronization in big data environment

技术领域technical field

本发明涉及计算机软件领域,特别涉及企业应用领域,具体指大数据环境下实现全量数据同步的方法。The invention relates to the field of computer software, in particular to the field of enterprise application, in particular to a method for realizing full data synchronization in a big data environment.

背景技术Background technique

在企业级数据治理领域,元数据管理是数据治理的基础,它负责将企业涉及的各类源系统数据进行集成和管理,为企业业务系统和数据分析的开发、运维提供支撑。元数据采集作为元数据管理的基础,负责采集以上各类元数据,并将这些数据整合处理后统一存储于元数据仓库,支撑元数据的统一管理。元数据采集需要定期全量同步更新某一类别的元数据,即采集该类别的源系统数据,并全量更新至元数据仓库,以保证数据的准实时性和有效性。随着企业业务的发展,源系统建设越来越多,源系统数据的复杂程度也越来越大,元数据采集需要支持采集的数据量也越来越大,支持全量同步更新大数据量元数据成为问题的瓶颈。In the field of enterprise-level data governance, metadata management is the basis of data governance. It is responsible for the integration and management of various source system data involved in the enterprise, and provides support for the development, operation and maintenance of enterprise business systems and data analysis. Metadata collection, as the basis of metadata management, is responsible for collecting the above types of metadata, integrating and processing these data and storing them in the metadata warehouse to support the unified management of metadata. Metadata collection needs to regularly update a certain category of metadata in full synchronously, that is, to collect the source system data of this category and update it to the metadata warehouse in full to ensure the quasi-real-time and validity of the data. With the development of enterprise business, more and more source systems are constructed, and the complexity of source system data is also increasing. The amount of data that needs to be collected for metadata collection is also increasing, and it supports full synchronous update of large data metadata. Data becomes the bottleneck of the problem.

为解决上述问题,目前有多种解决方案,如下:In order to solve the above problems, there are currently a variety of solutions, as follows:

Figure BDA0002382164080000011
Figure BDA0002382164080000011

Figure BDA0002382164080000021
Figure BDA0002382164080000021

比较上述解决方案,要么无法满足业务需求,要么操作步骤繁多,效率低下,因此迫切需要一种稳定高效的支持大数据量的全量数据同步的方法,满足全量数据同步完成后,目标元数据保持与源元数据一致,解决元数据采集支撑元数据的业务应用和数据分析的问题。Comparing the above solutions, either cannot meet business needs, or there are many operation steps and low efficiency. Therefore, there is an urgent need for a stable and efficient method to support full data synchronization of large data volumes. After the full data synchronization is completed, the target metadata remains the same as The source metadata is consistent, which solves the problem of metadata collection supporting the business application and data analysis of metadata.

发明内容SUMMARY OF THE INVENTION

本发明的主要目的在于提供一种稳定高效的支持大数据量的全量数据同步的方法,满足全量数据同步完成后,目标元数据保持与源元数据一致,解决元数据采集支撑元数据的业务应用和数据分析的问题。The main purpose of the present invention is to provide a stable and efficient method for full data synchronization supporting a large amount of data. and data analysis issues.

为达到上述目的,本发明提供了一种大数据环境下实现全量数据同步的方法,该方法包括如下步骤:In order to achieve the above purpose, the present invention provides a method for realizing full data synchronization in a big data environment, the method comprising the following steps:

(1)执行插入源数据模块,负责将源元数据分批插入元数据仓库新创建的元数据表中;(1) Execute the insert source data module, which is responsible for inserting the source metadata into the newly created metadata table of the metadata warehouse in batches;

(2)执行生成交集数据模块,联合源元数据和元数据仓库中的目标元数据,做可重复的并集操作,并将结果按业务主键分组统计条目;(2) Execute the generating intersection data module, combine the source metadata and the target metadata in the metadata warehouse, perform a repeatable union operation, and group the results according to the business primary key to count the entries;

(3)基于交集数据获取并插入需添加的记录模块,按业务主键连接交集数据和源元数据,查询获取需新添加的所有数据,并插入至目标元数据表;(3) Obtain and insert the record module to be added based on the intersection data, connect the intersection data and the source metadata according to the business primary key, query and obtain all the data to be newly added, and insert into the target metadata table;

(4)基于交集数据生成需更新的记录模块,按业务主键连接交集数据、源元数据、目标元数据,并对源元数据的所有属性、目标元数据的所有属性做比对,得出需更新的记录;(4) Generate the record module to be updated based on the intersection data, connect the intersection data, source metadata, and target metadata according to the business primary key, and compare all attributes of the source metadata and all attributes of the target metadata to obtain the required updated records;

(5)基于更新的记录更新数据模块,按业务主键连接需更新的记录与源元数据,执行更新;(5) Update the data module based on the updated record, connect the record to be updated and the source metadata according to the business primary key, and execute the update;

(6)基于交集数据删除需删除的记录模块,按业务主键连接交集数据和目标元数据,查询获取需删除的所有数据,得出所有需删除的数据执行删除。(6) Delete the record module to be deleted based on the intersection data, connect the intersection data and target metadata according to the business primary key, query to obtain all the data to be deleted, and obtain all the data to be deleted and execute the deletion.

所述的插入源数据模块,负责将源元数据分批插入元数据仓库新创建的元数据表中,包括以下步骤:The described inserting source data module is responsible for inserting the source metadata into the newly created metadata table of the metadata warehouse in batches, including the following steps:

(11)判断元数据仓库中是否已经存在表T`,如T`已经存在则表示上一个全量数据同步的任务因为一些原因中断了,此时跳过下列步骤,直接进入(2)生成次数据模块的操作;如T`不存在则进入步骤(12);(11) Determine whether there is already a table T` in the metadata warehouse. If T` already exists, it means that the last full data synchronization task was interrupted for some reasons. At this time, skip the following steps and go directly to (2) Generate secondary data Operation of the module; if T' does not exist, enter step (12);

(12)在元数据仓库中复制创建新的元数据表(记为T`),表结构与存储目标元数据的表(记为T)结构完全一致;(12) Copy and create a new metadata table (denoted as T`) in the metadata warehouse, and the table structure is completely consistent with the structure of the table (denoted as T) storing the target metadata;

(13)将源系统的元数据,分批插入元数据仓库新创建的元数据表T`中;(13) the metadata of the source system is inserted into the newly created metadata table T' of the metadata warehouse in batches;

(14)为新创建的元数据表T`添加业务主键索引;(14) Add a business primary key index for the newly created metadata table T`;

(15)对该模块进行合法性校验,如校验通过,则进入下一个模块,否则进入(16);(15) Check the validity of the module, if the verification is passed, enter the next module, otherwise enter (16);

(16)删除表T`,且该任务终止,并给出错误提示。(16) Delete the table T', and the task is terminated, and an error message is given.

所述的生成交集数据模块,包括以下步骤:The described generating intersection data module includes the following steps:

(21)判断元数据仓库中是否已经存在表TMP_UNION,如已经存在则删除之;(21) Judge whether the table TMP_UNION already exists in the metadata warehouse, and delete it if it already exists;

(22)联合源元数据和元数据仓库中的目标元数据,做可重复的并集操作,并将结果按业务主键分组统计条目;(22) Combine the source metadata and the target metadata in the metadata warehouse, perform a repeatable union operation, and group the results into statistical entries according to the business primary key;

(23)将查询所得的统计数据存储于新创建的临时表TMP_UNION中;(23) the statistical data obtained by the query is stored in the newly created temporary table TMP_UNION;

(24)分别为临时表TMP_UNION创建业务主键索引、统计条目索引;(24) Create a business primary key index and a statistical entry index for the temporary table TMP_UNION respectively;

(25)对该模块进行合法性校验,如校验通过,则进入下一个模块,否则进入(26);(25) Check the validity of the module, if the verification is passed, enter the next module, otherwise enter (26);

(26)删除临时表TMP_UNION,且该任务终止,并给出错误提示。(26) Delete the temporary table TMP_UNION, and the task is terminated, and an error message is given.

所述的基于交集数据获取并插入需添加的记录模块,包括以下步骤:The described acquisition and insertion of the recording module to be added based on the intersection data includes the following steps:

(31)按业务主键连接交集数据和源元数据,同时条目为1的即为需添加的所有数据,得出需新添加的所有数据,并插入至目标元数据表;(31) Connect the intersection data and source metadata according to the primary key of the business, and if the entry is 1 is all the data that needs to be added, obtain all the data that needs to be newly added, and insert it into the target metadata table;

(32)对该模块进行合法性校验,如校验通过,则进入下一个模块,否则进入(33);(32) Check the validity of the module, if the verification passes, enter the next module, otherwise enter (33);

(33)按业务主键连接交集数据和源元数据,同时条目为1的即为需添加的所有数据,(33) Connect the intersection data and source metadata according to the primary key of the business, and if the entry is 1 is all the data to be added,

得出需新添加的所有数据,并在目标元数据表删除这些数据;Get all the data that needs to be newly added, and delete these data in the target metadata table;

(34)继续执行步骤(26)。(34) Continue to execute step (26).

所述的基于交集数据生成需更新的记录模块,按业务主键连接交集数据、源元数据、目标元数据,并对源元数据的所有属性、目标元数据的所有属性做比对,得出需更新的记录,包括以下步骤:The described generation of the record module to be updated based on the intersection data, connects the intersection data, source metadata, and target metadata according to the business primary key, and compares all the attributes of the source metadata and all the attributes of the target metadata to obtain the required data. Updated records, including the following steps:

(41)连接交集数据、源元数据、目标元数据,并对源元数据的所有属性、目标元数据的所有属性做比对,采取的方法是先拼接元数据的所有属性ATT_ATTRS,再取MD5运算,得出唯一散列值,然后比较源元数据属性的散列值MD5_T_FEATURES和目标元数据属性的散列值MD5_T`_FEATURES,如果散列值一致则认为两者的属性没有任何变更,标记属性状态为无变更,否则认为属性发生变更,标记属性状态为有变更。数据存储于新创建的临时表TMP_UPDATE中;(41) Connect the intersection data, source metadata, and target metadata, and compare all attributes of the source metadata and all attributes of the target metadata. The method is to first splicing all attributes of the metadata ATT_ATTRS, and then take MD5 Operation to obtain a unique hash value, and then compare the hash value MD5_T_FEATURES of the source metadata attribute and the hash value MD5_T`_FEATURES of the target metadata attribute. The status is no change, otherwise, the attribute is considered to have changed, and the attribute status is marked as changed. The data is stored in the newly created temporary table TMP_UPDATE;

(42)为需更新的记录表的业务主键添加索引;(42) adding an index to the business primary key of the record table to be updated;

(43)为需更新的记录表的属性状态添加索引;(43) adding an index for the attribute state of the record table to be updated;

(44)对该模块进行合法性校验,如校验通过,则进入下一个模块,否则进入(45);(44) Check the validity of the module, if the verification is passed, enter the next module, otherwise enter (45);

(45)删除临时表TMP_UPDATE;(45) delete the temporary table TMP_UPDATE;

(45)继续执行步骤(33)。(45) Continue to execute step (33).

所述的基于更新的记录更新数据模块,包括以下步骤:The described updating data module based on the updated record includes the following steps:

(51)连接需更新的记录表TMP_UPDATE与源元数据表,并在目标元数据表执行更新;(51) connect the record table TMP_UPDATE to be updated and the source metadata table, and perform the update in the target metadata table;

所述的基于交集数据删除需删除的记录模块,包括以下步骤:The described deletion of the record module to be deleted based on the intersection data includes the following steps:

(61)按业务主键连接交集数据和目标元数据,同时条目为1的即为需删除的所有数据,得出所有需删除的数据;(61) Connect the intersection data and target metadata according to the primary key of the business, and at the same time the entry of 1 is all the data to be deleted, and all the data to be deleted are obtained;

(62)在目标元数据表执行删除。(62) Delete is performed on the target metadata table.

(63)对该模块进行合法性校验,如校验通过,则删除临时表TMP_UPDATE;(63) Check the validity of the module, if the check passes, delete the temporary table TMP_UPDATE;

(64)删除临时表TMP_UNION;(64) delete the temporary table TMP_UNION;

(65)删除表T`。(65) Delete table T'.

至此,全量数据同步工作完成,目标元数据保持与源元数据一致,元数据的业务应用和数据分析不受影响。So far, the full data synchronization is completed, the target metadata remains consistent with the source metadata, and the business application and data analysis of the metadata are not affected.

从上述技术方案可以看出,本发明提供的大数据环境下实现全量数据同步的方法,不仅提供对单表大数据量的全量数据同步提供实现方法,同时支持业务回滚,还支持以异步方式对多表大数据量的全量数据同步提供实现方法。最关键的是满足全量数据同步完成后,目标元数据保持与源元数据一致,且能支撑原有元数据的业务应用和数据分析。It can be seen from the above technical solutions that the method for realizing full data synchronization in a big data environment provided by the present invention not only provides a method for realizing full data synchronization of single table large data amount, but also supports business rollback and asynchronous mode. Provides an implementation method for full data synchronization of multiple tables and large amounts of data. The most important thing is that after the full data synchronization is completed, the target metadata remains consistent with the source metadata, and can support business applications and data analysis of the original metadata.

附图说明Description of drawings

图1是本发明提供的全量数据同步流程图;Fig. 1 is a flow chart of full data synchronization provided by the present invention;

图2是本发明提供的全量数据同步类图。FIG. 2 is a full data synchronization class diagram provided by the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施步骤,并参照附图,对本发明进一步详细说明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the specific implementation steps and the accompanying drawings.

如图1所示,图1是本发明提供的全量数据同步流程图,该流程具体包括以下步骤:As shown in Figure 1, Figure 1 is a flow chart of full data synchronization provided by the present invention, and the flow specifically includes the following steps:

(1)插入源数据模块,负责将源元数据分批插入元数据仓库新创建的元数据表中;(1) Insert the source data module, which is responsible for inserting the source metadata into the newly created metadata table of the metadata warehouse in batches;

(2)生成交集数据模块,联合源元数据和元数据仓库中的目标元数据,做可重复的并集操作,并将结果按业务主键分组统计条目;(2) Generate the intersection data module, combine the source metadata and the target metadata in the metadata warehouse, do a repeatable union operation, and group the results according to the business primary key to count the entries;

(3)基于交集数据获取并插入需添加的记录模块,按业务主键连接交集数据和源元数据,查询获取需新添加的所有数据,并插入至目标元数据表;(3) Obtain and insert the record module to be added based on the intersection data, connect the intersection data and the source metadata according to the business primary key, query and obtain all the data to be newly added, and insert into the target metadata table;

(4)基于交集数据生成需更新的记录模块,按业务主键连接交集数据、源元数据、目标元数据,并对源元数据的所有属性、目标元数据的所有属性做比对,得出需更新的记录;(4) Generate the record module to be updated based on the intersection data, connect the intersection data, source metadata, and target metadata according to the business primary key, and compare all attributes of the source metadata and all attributes of the target metadata to obtain the required updated records;

(5)基于更新的记录更新数据模块,按业务主键连接需更新的记录与源元数据,执行更新;(5) Update the data module based on the updated record, connect the record to be updated and the source metadata according to the business primary key, and execute the update;

(6)基于交集数据删除需删除的记录模块,按业务主键连接交集数据和目标元数据,查询获取需删除的所有数据,得出所有需删除的数据执行删除。(6) Delete the record module to be deleted based on the intersection data, connect the intersection data and target metadata according to the business primary key, query to obtain all the data to be deleted, and obtain all the data to be deleted and execute the deletion.

在一种较优选的实施方式中,所述的插入源数据模块,负责将源元数据分批插入元数据仓库新创建的元数据表中,包括以下步骤:In a more preferred embodiment, the inserting source data module is responsible for inserting the source metadata into the newly created metadata table of the metadata warehouse in batches, including the following steps:

(11)判断元数据仓库中是否已经存在表T`,如T`已经存在则表示上一个全量数据同步的任务因为一些原因中断了,此时跳过下列步骤,直接进入(2)生成次数据模块的操作;如T`不存在则进入步骤(12);(11) Determine whether there is already a table T` in the metadata warehouse. If T` already exists, it means that the last full data synchronization task was interrupted for some reasons. At this time, skip the following steps and go directly to (2) Generate secondary data Operation of the module; if T' does not exist, enter step (12);

(12)在元数据仓库中复制创建新的元数据表(记为T`),表结构与存储目标元数据的表(记为T)结构完全一致;(12) Copy and create a new metadata table (denoted as T`) in the metadata warehouse, and the table structure is completely consistent with the structure of the table (denoted as T) storing the target metadata;

(13)将源系统的元数据,分批插入元数据仓库新创建的元数据表T`中;(13) the metadata of the source system is inserted into the newly created metadata table T' of the metadata warehouse in batches;

(14)为新创建的元数据表T`添加业务主键索引;(14) Add a business primary key index for the newly created metadata table T`;

(15)对该模块进行合法性校验,如校验通过,则进入下一个模块,否则进入(16);(15) Check the validity of the module, if the verification is passed, enter the next module, otherwise enter (16);

(16)删除表T`,且该任务终止,并给出错误提示。(16) Delete the table T', and the task is terminated, and an error message is given.

在一种较优选的实施方式中,所述的生成交集数据模块,包括以下步骤:In a more preferred embodiment, the described generating intersection data module includes the following steps:

(21)判断元数据仓库中是否已经存在表TMP_UNION,如已经存在则删除之;(21) Judge whether the table TMP_UNION already exists in the metadata warehouse, and delete it if it already exists;

(22)联合源元数据和元数据仓库中的目标元数据,做可重复的并集操作,并将结果按业务主键分组统计条目;(22) Combine the source metadata and the target metadata in the metadata warehouse, perform a repeatable union operation, and group the results into statistical entries according to the business primary key;

(23)将查询所得的统计数据存储于新创建的临时表TMP_UNION中;(23) the statistical data obtained by the query is stored in the newly created temporary table TMP_UNION;

(24)分别为临时表TMP_UNION创建业务主键索引、统计条目索引;(24) Create a business primary key index and a statistical entry index for the temporary table TMP_UNION respectively;

(25)对该模块进行合法性校验,如校验通过,则进入下一个模块,否则进入(26);(25) Check the validity of the module, if the verification is passed, enter the next module, otherwise enter (26);

(26)删除临时表TMP_UNION,且该任务终止,并给出错误提示。(26) Delete the temporary table TMP_UNION, and the task is terminated, and an error message is given.

在一种较优选的实施方式中,所述的基于交集数据获取并插入需添加的记录模块,包括以下步骤:In a more preferred embodiment, the described acquisition and insertion of the recording module to be added based on the intersection data includes the following steps:

(31)按业务主键连接交集数据和源元数据,同时条目为1的即为需添加的所有数据,得出需新添加的所有数据,并插入至目标元数据表;(31) Connect the intersection data and source metadata according to the primary key of the business, and if the entry is 1 is all the data that needs to be added, obtain all the data that needs to be newly added, and insert it into the target metadata table;

(32)对该模块进行合法性校验,如校验通过,则进入下一个模块,否则进入(33);(32) Check the validity of the module, if the verification passes, enter the next module, otherwise enter (33);

(33)按业务主键连接交集数据和源元数据,同时条目为1的即为需添加的所有数据,(33) Connect the intersection data and source metadata according to the primary key of the business, and if the entry is 1 is all the data to be added,

得出需新添加的所有数据,并在目标元数据表删除这些数据;Get all the data that needs to be newly added, and delete these data in the target metadata table;

(34)继续执行步骤(26)。(34) Continue to execute step (26).

在一种较优选的实施方式中,所述的基于交集数据生成需更新的记录模块,按业务主键连接交集数据、源元数据、目标元数据,并对源元数据的所有属性、目标元数据的所有属性做比对,得出需更新的记录,包括以下步骤:In a more preferred embodiment, the recording module to be updated is generated based on the intersection data, the intersection data, source metadata, and target metadata are connected according to the business primary key, and all attributes and target metadata of the source metadata are compared. Compare all attributes of , and get the records that need to be updated, including the following steps:

(41)连接交集数据、源元数据、目标元数据,并对源元数据的所有属性、目标元数据的所有属性做比对,采取的方法是先拼接元数据的所有属性ATT_ATTRS,以特定分隔符(如“_”)拼接所有属性字段,再取MD5运算,得出唯一散列值,然后比较源元数据属性的散列值MD5_T_FEATURES和目标元数据属性的散列值MD5_T`_FEATURES,如果散列值一致则认为两者的属性没有任何变更,标记属性状态为无变更,否则认为属性发生变更,标记属性状态为有变更。将查询运算结果插入新创建的临时表TMP_UPDATE。满足TMP_UPDATE.MD5_T_FEATURES<>TMP_UPDATE.MD5_T`_FEATURES的记录,即为需要更新的记录;(41) Connect the intersection data, source metadata, and target metadata, and compare all attributes of the source metadata and all attributes of the target metadata. The method is to first splicing all attributes of the metadata ATT_ATTRS, separated by a specific character (such as "_") to concatenate all attribute fields, and then take the MD5 operation to obtain a unique hash value, and then compare the hash value MD5_T_FEATURES of the source metadata attribute and the hash value MD5_T`_FEATURES of the target metadata attribute. If the column values are the same, it is considered that there is no change in the attributes of the two, and the status of the marked attribute is no change; otherwise, the attribute is considered to have changed, and the status of the marked attribute is changed. Insert the query operation result into the newly created temporary table TMP_UPDATE. The records that satisfy TMP_UPDATE.MD5_T_FEATURES<>TMP_UPDATE.MD5_T`_FEATURES are the records that need to be updated;

其中MD5运算如下:The MD5 operation is as follows:

Figure BDA0002382164080000061
Figure BDA0002382164080000061

(42)为需更新的记录表的业务主键添加索引;(42) adding an index to the business primary key of the record table to be updated;

(43)为需更新的记录表的属性状态添加索引;(43) adding an index for the attribute state of the record table to be updated;

(44)对该模块进行合法性校验,如校验通过,则进入下一个模块,否则进入(45);(44) Check the validity of the module, if the verification is passed, enter the next module, otherwise enter (45);

(45)删除临时表TMP_UPDATE;(45) delete the temporary table TMP_UPDATE;

(45)继续执行步骤(33)。(45) Continue to execute step (33).

在一种较优选的实施方式中,所述的基于更新的记录更新数据模块,包括以下步骤:In a more preferred embodiment, the described updating data module based on the updated record comprises the following steps:

(51)连接需更新的记录表TMP_UPDATE与源元数据表T,结合TMP_UPDATE.(51) Connect the record table TMP_UPDATE to be updated and the source metadata table T, combined with TMP_UPDATE.

MD5_T_FEATURES<>TMP_UPDATE.MD5_T`_FEATURES条件,查询得出的所有记录更新至T表;MD5_T_FEATURES<>TMP_UPDATE.MD5_T`_FEATURES condition, all records obtained from the query are updated to the T table;

在一种较优选的实施方式中,所述的基于交集数据删除需删除的记录模块,包括以下步骤:In a more preferred embodiment, the described deletion of the record module to be deleted based on the intersection data includes the following steps:

(61)按业务主键连接交集数据和目标元数据,同时条目为1的即为需删除的所有数据,得出所有需删除的数据;(61) Connect the intersection data and target metadata according to the primary key of the business, and at the same time the entry of 1 is all the data to be deleted, and all the data to be deleted are obtained;

(62)在目标元数据表执行删除。(62) Delete is performed on the target metadata table.

(63)对该模块进行合法性校验,如校验通过,则删除临时表TMP_UPDATE;(63) Check the validity of the module, if the check passes, delete the temporary table TMP_UPDATE;

(64)删除临时表TMP_UNION;(64) delete the temporary table TMP_UNION;

(65)删除表T`。(65) Delete table T'.

较佳地,为保障数据操作的一致性,需为以上各模块添加业务回滚操作,并且当前模块的业务回滚应包括上一模块的业务回滚,保证数据业务回滚是彻底的,数据是一致的。具体实现如图2所示,图2是本发明提供的全量数据同步类图,针对该图具体说明如下:Preferably, in order to ensure the consistency of data operations, it is necessary to add a business rollback operation to the above modules, and the business rollback of the current module should include the business rollback of the previous module to ensure that the data business rollback is complete and the data is consistent. The specific implementation is shown in Figure 2. Figure 2 is a full data synchronization class diagram provided by the present invention. The specific description for this diagram is as follows:

(2-1)类101即为图1中的步骤101的实现,类102即为图1中的步骤102的实现,以此类推;(2-1) Class 101 is the realization of step 101 in FIG. 1 , class 102 is the realization of step 102 in FIG. 1 , and so on;

(2-2)为实现图1步骤的串行执行,通过装饰者模式,类101持有类102,类102持有103,以此类推;(2-2) In order to realize the serial execution of the steps in FIG. 1, through the decorator pattern, class 101 holds class 102, class 102 holds class 103, and so on;

(2-3)图1中步骤101、步骤102等操作顺序的控制,操作异常时业务回滚操作的控制,在方法AbstractStep.step中实现,伪代码如下(2-3) The control of the operation sequence of steps 101 and 102 in Figure 1, and the control of the business rollback operation when the operation is abnormal, are implemented in the method AbstractStep.step, and the pseudo code is as follows

Figure BDA0002382164080000071
Figure BDA0002382164080000071

Figure BDA0002382164080000081
Figure BDA0002382164080000081

通过上述设计,保障了操作步骤的执行顺序,同时在出现异常情形(如插入数据异常,执行过程异常掉电等)时,还能保障业务回滚操作,从而保证了数据的一致性。Through the above design, the execution sequence of the operation steps is guaranteed, and at the same time, in the event of abnormal situations (such as abnormal data insertion, abnormal power failure during the execution process, etc.), the business rollback operation can be guaranteed, thereby ensuring data consistency.

更佳地,图1针对的是一个表数据的操作流程,当遇到多个表需要相同的操作流程时,则需要实现多套图1的操作流程。为灵活应对该场景,考虑将图1中涉及的源元数据表T`、目标元数据表T及其属性参数化,将图1操作步骤过程中产生的临时表TMP_UNION、TMP_UPDATE则添加本次执行的会话ID,变为TMP_UNION_${SID}、More preferably, FIG. 1 is directed to the operation flow of one table data. When multiple tables require the same operation flow, multiple sets of the operation flow of FIG. 1 need to be implemented. In order to deal with this scenario flexibly, consider parameterizing the source metadata table T', target metadata table T and their attributes involved in Figure 1, and add the temporary tables TMP_UNION and TMP_UPDATE generated during the operation steps of Figure 1 to this execution. Session ID, becomes TMP_UNION_${SID},

TMP_UPDATE_${SID},其中${SID}为本次执行的会话ID。此时每一个步骤涉及需执行的SQL都是根据参数动态拼装的。具体实现上如下:TMP_UPDATE_${SID}, where ${SID} is the session ID of this execution. At this point, the SQL to be executed in each step is dynamically assembled according to the parameters. The specific implementation is as follows:

(3-1)为目标元数据表T的实体添加注解,类似如下(3-1) Add an annotation to the entity of the target metadata table T, similar to the following

Figure BDA0002382164080000082
Figure BDA0002382164080000082

(3-2)获取表名时,基于注解从实体类动态获取表名,如下:(3-2) When obtaining the table name, dynamically obtain the table name from the entity class based on the annotation, as follows:

Figure BDA0002382164080000083
Figure BDA0002382164080000083

(3-3)获取表的字段时,基于注解从实体类动态获取表字段,如下:(3-3) When obtaining the fields of the table, dynamically obtain the table fields from the entity class based on the annotation, as follows:

Figure BDA0002382164080000084
Figure BDA0002382164080000084

(3-4)基于注解获取的表名、字段名动态拼装SQL,并执行SQL,拼装SQL类似如下:(3-4) Dynamically assemble SQL based on the table name and field name obtained from the annotation, and execute the SQL. The assembled SQL is similar to the following:

Figure BDA0002382164080000085
Figure BDA0002382164080000085

Figure BDA0002382164080000091
Figure BDA0002382164080000091

通过上述设计,可以灵活应对多表全量数据同步的场景。Through the above design, it is possible to flexibly cope with the scenario of multi-table full data synchronization.

更佳地,对于多表全量数据同步的场景,不同表之间的操作是互不影响的,为进一步提升操作效率,在软、硬件条件允许的情况下,可使用线程池多线程的异步方式实现多表全量数据同步,操作伪代码如下:More preferably, for the scenario of multi-table full data synchronization, the operations between different tables do not affect each other. In order to further improve the operation efficiency, if the software and hardware conditions allow, the asynchronous method of thread pool multi-threading can be used. To achieve multi-table full data synchronization, the operation pseudocode is as follows:

Figure BDA0002382164080000101
Figure BDA0002382164080000101

通过上述设计,进一步提升了多表全量数据同步的操作效率。Through the above design, the operation efficiency of multi-table full data synchronization is further improved.

至此,全量数据同步工作完成,目标元数据保持与源元数据一致,元数据的业务应用和数据分析不受影响。So far, the full data synchronization is completed, the target metadata remains consistent with the source metadata, and the business application and data analysis of the metadata are not affected.

以上所述的本发明的具体实施例,并不用以限制本申请,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments of the present invention described above are not intended to limit the application, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention. within.

Claims (7)

1. A method for realizing full data synchronization in a big data environment comprises the following steps:
(1) the source data inserting module is executed and is responsible for inserting source metadata into a metadata table newly created by the metadata warehouse in batches;
(2) executing a module for generating intersection data, combining the source metadata and the target metadata in the metadata warehouse, performing repeatable union operation, and grouping and counting items according to the result by a service main key;
(3) acquiring and inserting a recording module to be added based on the intersection data, connecting the intersection data and the source metadata according to the service primary key, inquiring and acquiring all data to be newly added, and inserting the data into a target metadata table;
(4) generating a record module to be updated based on the intersection data, connecting the intersection data, the source metadata and the target metadata according to the main service key, and comparing all attributes of the source metadata with all attributes of the target metadata to obtain a record to be updated;
(5) based on the updated record update data module, connecting the record to be updated and the source metadata according to the service main key, and executing the update;
(6) and deleting the recording module to be deleted based on the intersection data, connecting the intersection data and the target metadata according to the main service key, inquiring and acquiring all data to be deleted, and obtaining all data to be deleted to execute deletion.
2. The method for achieving full data synchronization in a big data environment according to claim 1, wherein the inserting source data module is responsible for inserting source metadata into the metadata table newly created by the metadata warehouse in batches, and comprises the following steps:
(11) judging whether the table T 'already exists in the metadata warehouse, if T' already exists, indicating that the last task of full data synchronization is interrupted for some reasons, skipping the following steps, and directly entering the operation of (2) generating the secondary data module; if T' does not exist, entering step (12);
(12) copying and creating a new metadata table (denoted as T') in the metadata warehouse, wherein the table structure is completely consistent with the table (denoted as T) structure for storing target metadata;
(13) inserting the metadata of the source system into a newly created metadata table T' of a metadata warehouse in batches;
(14) adding a service main key index to the newly created metadata table T';
(15) carrying out validity check on the module, if the check is passed, entering the next module, otherwise, entering (16);
(16) the table T' is deleted and the task terminates and an error prompt is given.
3. The method for implementing full data synchronization in big data environment according to claim 1, wherein said module for generating intersection data comprises the following steps:
(21) judging whether a table TMP _ UNION already exists in the metadata warehouse or not, and deleting the table if the table TMP _ UNION already exists;
(22) combining the source metadata and the target metadata in the metadata warehouse, performing repeatable union operation, and grouping and counting the result according to the main key of the service;
(23) storing the statistical data obtained by query in a newly created temporary table TMP _ UNION;
(24) respectively creating a service main key index and a statistic entry index for the TMP _ UNION;
(25) carrying out validity check on the module, entering the next module if the check is passed, and entering (26) if the check is not passed;
(26) the temporary table TMP UNION is deleted and the task terminates and an error prompt is given.
4. The method for achieving full data synchronization in big data environment according to claim 1, wherein said obtaining and inserting a record module to be added based on intersection data comprises the following steps:
(31) connecting the intersection data and the source metadata according to the main key of the service, and simultaneously, obtaining all data needing to be newly added if the item is 1, and inserting the data into the target metadata table;
(32) the module is checked for validity, if the module passes the check, the next module is entered, otherwise, the next module is entered (33);
(33) the intersection data and the source metadata are connected according to the main key of the service, and the entry of 1 is all the data to be added,
obtaining all data needing to be newly added, and deleting the data in the target metadata table;
(34) and continuing to execute the step (26).
5. The method according to claim 1, wherein the step of generating a record module to be updated based on the intersection data, connecting the intersection data, the source metadata, and the target metadata according to the service primary key, and comparing all attributes of the source metadata and all attributes of the target metadata to obtain a record to be updated includes the steps of:
(41) connecting intersection data, source metadata and target metadata, comparing all attributes of the source metadata with all attributes of the target metadata, splicing all attributes ATT _ ATTRS of the metadata, then performing MD5 operation to obtain a unique hash value, then comparing the hash value MD5_ T _ FEATURES of the source metadata attribute with the hash value MD5_ T' FEATURES of the target metadata attribute, if the hash values are consistent, considering that the attributes of the source metadata attribute and the target metadata attribute have no change, marking the attribute state as no change, otherwise considering that the attributes have change, marking the attribute state as changed, and storing the data in a newly created temporary table TMP _ UPDATE;
(42) adding an index to a service main key of a record table to be updated;
(43) adding an index for the attribute state of the record table to be updated;
(44) carrying out validity check on the module, if the check is passed, entering the next module, otherwise, entering (45);
(45) deleting the temporary table TMP _ UPDATE;
(45) and continuing to execute the step (33).
6. The method for implementing full data synchronization in big data environment according to claim 1, wherein said update-based record update data module comprises the following steps:
(51) the record table TMP _ UPDATE to be updated is connected to the source metadata table and the UPDATE is performed in the target metadata table.
7. The method for implementing full data synchronization in big data environment according to claim 1, wherein said deleting the record module to be deleted based on the intersection data comprises the following steps:
(61) connecting the intersection data and the target metadata according to the main service key, and obtaining all data to be deleted if the entry is 1;
(62) performing deletion in the target metadata table;
(63) carrying out validity check on the module, and if the module passes the validity check, deleting the temporary table TMP _ UPDATE;
(64) deleting the temporary table TMP _ UNION;
(65) delete table T'.
CN202010087564.9A 2020-02-11 2020-02-11 A method to realize full data synchronization in a big data environment Active CN111259082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010087564.9A CN111259082B (en) 2020-02-11 2020-02-11 A method to realize full data synchronization in a big data environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010087564.9A CN111259082B (en) 2020-02-11 2020-02-11 A method to realize full data synchronization in a big data environment

Publications (2)

Publication Number Publication Date
CN111259082A true CN111259082A (en) 2020-06-09
CN111259082B CN111259082B (en) 2023-07-21

Family

ID=70949459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010087564.9A Active CN111259082B (en) 2020-02-11 2020-02-11 A method to realize full data synchronization in a big data environment

Country Status (1)

Country Link
CN (1) CN111259082B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560053A (en) * 2020-12-09 2021-03-26 北京红山信息科技研究院有限公司 Production environment data protection method and device, computer equipment and storage medium
CN114510534A (en) * 2022-01-28 2022-05-17 广东航宇卫星科技有限公司 Data synchronization method, device, equipment and storage medium
CN115048367A (en) * 2022-06-02 2022-09-13 度小满科技(北京)有限公司 Target set determination method, device, terminal and storage medium
CN115809230A (en) * 2022-12-22 2023-03-17 中国建设银行股份有限公司 Multi-database structured data comparison method, device and related equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779185A (en) * 2012-06-29 2012-11-14 浙江大学 High-availability distribution type full-text index method
CN105843867A (en) * 2016-03-17 2016-08-10 畅捷通信息技术股份有限公司 Metadata model-based search method and search device based on metadata model
CN105956123A (en) * 2016-05-03 2016-09-21 无锡雅座在线科技发展有限公司 Local updating software-based data processing method and apparatus
CN106469158A (en) * 2015-08-17 2017-03-01 杭州海康威视系统技术有限公司 Method of data synchronization and device
CN109739936A (en) * 2019-01-23 2019-05-10 杭州数梦工场科技有限公司 Data synchronization method, system, server, and computer-readable storage medium
CN110019539A (en) * 2017-07-14 2019-07-16 北京京东尚科信息技术有限公司 A kind of method and apparatus that the data of data warehouse are synchronous
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets
US20190251061A1 (en) * 2005-09-30 2019-08-15 International Business Machines Corporation Digest listing decomposition
CN110442585A (en) * 2019-06-21 2019-11-12 中国平安财产保险股份有限公司 Data-updating method, data update apparatus, computer equipment and storage medium
US20200019494A1 (en) * 2017-02-28 2020-01-16 Sparriw Co., Ltd Method and apparatus for performing test by using test case

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190251061A1 (en) * 2005-09-30 2019-08-15 International Business Machines Corporation Digest listing decomposition
CN102779185A (en) * 2012-06-29 2012-11-14 浙江大学 High-availability distribution type full-text index method
CN106469158A (en) * 2015-08-17 2017-03-01 杭州海康威视系统技术有限公司 Method of data synchronization and device
CN105843867A (en) * 2016-03-17 2016-08-10 畅捷通信息技术股份有限公司 Metadata model-based search method and search device based on metadata model
CN105956123A (en) * 2016-05-03 2016-09-21 无锡雅座在线科技发展有限公司 Local updating software-based data processing method and apparatus
US20200019494A1 (en) * 2017-02-28 2020-01-16 Sparriw Co., Ltd Method and apparatus for performing test by using test case
CN110019539A (en) * 2017-07-14 2019-07-16 北京京东尚科信息技术有限公司 A kind of method and apparatus that the data of data warehouse are synchronous
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets
CN109739936A (en) * 2019-01-23 2019-05-10 杭州数梦工场科技有限公司 Data synchronization method, system, server, and computer-readable storage medium
CN110442585A (en) * 2019-06-21 2019-11-12 中国平安财产保险股份有限公司 Data-updating method, data update apparatus, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈红辉;: "一种基于元数据模型管理的通用比对解决方案" *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560053A (en) * 2020-12-09 2021-03-26 北京红山信息科技研究院有限公司 Production environment data protection method and device, computer equipment and storage medium
CN114510534A (en) * 2022-01-28 2022-05-17 广东航宇卫星科技有限公司 Data synchronization method, device, equipment and storage medium
CN114510534B (en) * 2022-01-28 2022-09-06 广东航宇卫星科技有限公司 Data synchronization method, device, equipment and storage medium
CN115048367A (en) * 2022-06-02 2022-09-13 度小满科技(北京)有限公司 Target set determination method, device, terminal and storage medium
CN115809230A (en) * 2022-12-22 2023-03-17 中国建设银行股份有限公司 Multi-database structured data comparison method, device and related equipment

Also Published As

Publication number Publication date
CN111259082B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
CN111259082B (en) A method to realize full data synchronization in a big data environment
US8065323B2 (en) Offline validation of data in a database system for foreign key constraints
US7219104B2 (en) Data cleansing
US9626368B2 (en) Document merge based on knowledge of document schema
US7548542B2 (en) Methods and apparatus for transferring data
US20110314060A1 (en) Markup language based query and file generation
CN111753141B (en) Data management method and related equipment
CN110674161A (en) Method, system, storage medium and SQL operation platform for online SQL
CN104572856A (en) Converged storage method of service source data
US12174819B2 (en) Compacted table data files validation
CN116226166A (en) Data source-based data query method and system
US20080294673A1 (en) Data transfer and storage based on meta-data
CN115905313A (en) MySQL big table association query system and method
CN119621788A (en) Data lineage graph generation method, device, equipment, storage medium and program product
CN114461601A (en) Distributed transaction rollback method, device, terminal and storage medium based on sub-database and sub-table
CN111352824B (en) Test method, device and computer equipment
US8316013B2 (en) Programmatic retrieval of tabular data within a cell of a query result
CN116701355A (en) Data view processing method, device, computer equipment and readable storage medium
CN117851375A (en) Metadata model optimization method and computing device
US11531654B1 (en) Source to target automated comparison
CN115994192A (en) Method, device and system for implementing Elasticsearch retrieval in relational database retrieval system
CN114281836A (en) Method and device for managing general data, electronic equipment and computer storage medium
CN117472641B (en) Data quality detection method and device, electronic equipment and storage medium
CN118468194B (en) Abnormal positioning method and device based on data source-to-log cross comparison
CN111427973B (en) A method for parsing planning table data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210114

Address after: 518000 805g, 8 / F, Cuilin building, No. 10, Kaifeng Road, Maling community, Meilin street, Futian District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen xingchuangchi Technology Co.,Ltd.

Address before: 519000 room 110-348, building 18, creative Valley, 1889 Huandao East Road, Hengqin New District, Zhuhai City, Guangdong Province (centralized office area)

Applicant before: Chepeiqi (Zhuhai Hengqin) Technology Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230619

Address after: 518131 A1626, Niulanqian Building, Minzhi Avenue, Xinniu Community, Minzhi Street, Longhua District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Liuyin Technology Co.,Ltd.

Address before: 518000 805g, 8 / F, Cuilin building, No. 10, Kaifeng Road, Maling community, Meilin street, Futian District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen xingchuangchi Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20241220

Address after: B21K, Building 522, Bagua San Road, Bagua Ling Industrial Zone, Hualin Community, Yuanling Street, Futian District, Shenzhen City, Guangdong Province 518000

Patentee after: Shenzhen Sanliang Technology Co.,Ltd.

Country or region after: China

Address before: 518131 A1626, Niulanqian Building, Minzhi Avenue, Xinniu Community, Minzhi Street, Longhua District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Liuyin Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right