A Kubernetes-based data grid implementation method

By abstracting data products into a custom resource type called Data Product in Kubernetes, and combining it with federated data governance and self-service infrastructure, the contradiction between data ownership and sharing is resolved, data management costs and technical barriers are reduced, and the quality of data products and team collaboration efficiency are improved.

CN118227583BActive Publication Date: 2026-11-20ZHONGKE NANJING SOFTWARE TECH RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211629454.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-19
Publication Date
2026-11-20
Estimated Expiration
2042-12-19

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively manage the conflict between data ownership and data sharing. Small and medium-sized enterprises face high technical barriers and high costs in maintaining data infrastructure, and team isolation makes it difficult to guarantee data quality.

Method used

Abstracting data products into a custom resource type called Data Product in Kubernetes, and implementing the release and management of data products through custom resource definitions and controllers, combined with federated data governance and self-service infrastructure, provides data access, processing, metadata management and discovery functions.

Benefits of technology

It has enabled the reconciliation of the conflict between data ownership and sharing in a cloud-native environment, reduced the maintenance costs and technical barriers of data infrastructure, and improved the quality of data products and team collaboration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118227583B_ABST
    Figure CN118227583B_ABST
Patent Text Reader

Abstract

The application discloses a Kubernetes-based data grid implementation method, relates to the technical fields of cloud computing and data management, and solves technical problems such as that a contradiction between data ownership and data sharing is difficult to reconcile, that a data infrastructure maintenance cost is high, that data management is difficult, and that team responsibilities are fragmented, and the technical solution points are that a set of data management platform implementation methods meeting cloud native characteristics are proposed by combining the characteristics of a Kubernetes cloud and a data grid design concept, so that the problems such as that the contradiction between data ownership and data sharing is difficult to reconcile, that the data infrastructure maintenance cost is high, that the data management is difficult, and that the team responsibilities are fragmented can be effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of cloud computing and data management technology, and in particular to a data grid implementation method based on Kubernetes. Background Technology

[0002] The rise and application of big data technology has benefited many enterprises and organizations, making data-driven organizations a key strategy for many. With the continuous advancement of digitalization, the amount of data generated and collectable in the work and production process is increasing, and this massive amount of data presents challenges for effective management. At the same time, with the popularity and implementation of artificial intelligence technology in recent years, data, as one of its crucial foundations, directly impacts the final application results. This makes effective data management, achieving efficient management while ensuring data quality, a key focus for enterprises and organizations. The "White Paper on Data Asset Management Practice (Version 4.0)" published by the China Academy of Information and Communications Technology (CAICT) points out that there are still many problems in current data management, including: 1) The data foundation of most enterprises and government departments is still very weak, with chaotic data standards, uneven data quality, and serious data silos between different sectors, which hinders the sharing and application of data; 2) Due to the limited scale of data and the richness of data sources, the data application of most enterprises is just beginning, mainly concentrated in limited scenarios such as precision marketing, public opinion perception, and risk control, with insufficient application depth and an urgent need to expand the application space; 3) Because the value of data is difficult to assess, enterprises find it difficult to evaluate the cost of data and its contribution to business, thus making it difficult to manage data assets like tangible assets. To solve the above problems, we face numerous technical challenges: 1) The contradiction between data ownership and data sharing is difficult to reconcile; 2) The construction and maintenance costs of data infrastructure are high, posing a technical barrier for some small and medium-sized enterprises and organizations; 3) Diverse data sources and massive amounts of heterogeneous data make data acquisition and management difficult; 4) Ensuring data quality requires not only data management skills but also domain knowledge related to data. However, the current centralized big data platforms separate business teams from data teams, further increasing the difficulty of effective data management.

[0003] The emergence of cloud computing was primarily to address the increasing complexity of traditional applications, which now require support for more users, more flexible resource demands, greater stability and security, and more complex usage scenarios. The main characteristics of cloud computing include: 1) large-scale and distributed nature; 2) resource virtualization; 3) high availability and scalability; 4) on-demand services; and 5) security. The initial goal of cloud computing technology was to provide resources as services, minimizing the barriers to application development and maintenance. The application development and runtime environments based on these services are typically called cloud-native environments, and applications developed in cloud-native environments are called cloud-native applications. These applications naturally inherit the characteristics of the "cloud," enabling more flexible resource utilization and better service delivery. With the continued attention given to cloud-native technologies, the CNCF (Cloud Native Computing Foundation) community was established to better guide the development of related technologies. Kubernetes, as the earliest project incubated by the CNCF, has become the de facto standard for cloud-native infrastructure resource scheduling and management platforms. In recent years, cloud-native services and applications based on Kubernetes have proliferated across various fields, further demonstrating its strong foundational support capabilities and the industry's recognition of cloud-native technologies. Data management based on Kubernetes leverages the inherent characteristics of cloud-native technologies to effectively address the aforementioned technical challenges, including high technical barriers, large scale, and scalability. However, cloud-native big data technologies are still in their early exploratory stages. One approach is to migrate existing big data tools to the Kubernetes ecosystem. While some tools are already functioning well, many others, such as HDFS, a core component of the current big data ecosystem, struggle to fully leverage the advantages of cloud-native technologies due to their inherent design limitations. Furthermore, even if traditional big data tools are successfully migrated, they still cannot provide adequate on-demand services.

[0004] Data Mesh, proposed by Zhamak Dehghani, Chief Technology Advisor at Thoughtworks, in 2019, is a novel data management approach. Its key features include: 1) domain-oriented data architecture and decentralized data ownership; 2) data as a product, meaning data owners must treat their data and services like any other product, ensuring quality assurance; 3) self-service data infrastructure, allowing data owners to access the infrastructure on demand; and 4) federated data governance, implementing federated management of data products from different domains, satisfying interoperability and dynamic topology establishment among data products, and supporting the distribution of overall governance strategies by the governance platform. These features demonstrate that data mesh can effectively address the current technical challenges in data management. First, the decentralized data ownership and federated governance model of data mesh effectively reconcile the conflict between data ownership and data sharing. Second, the self-service data infrastructure of data mesh eliminates the need for separate teams to maintain and manage related infrastructure for SMEs, and the self-service, on-demand nature of related services effectively lowers the technical barrier. Secondly, leveraging the capabilities provided by self-service infrastructure, data analysts no longer need to invest excessive effort in cumbersome data management. Finally, the "data as a product" concept within the data grid makes data itself a first-class citizen of the platform. Traditional, fragmented team building is no longer suitable; instead, smaller but more comprehensive teams are needed for each data product. Each team should include members with roles in business, data, and testing, ensuring that every member understands the final data product and its related domain knowledge to guarantee product quality. Self-service also makes this possible. However, since its inception, the data grid remains a logical architecture, and effective practical examples have yet to be found. Therefore, designing new data management methods for cloud-native environments is a pressing issue that needs to be addressed. Summary of the Invention

[0005] This application provides a data grid implementation method based on Kubernetes. Its technical purpose is to reconcile the contradiction between data ownership and data sharing, reduce the cost of maintaining data infrastructure for teams, lower the technical threshold for teams to manage massive heterogeneous data, effectively solve the current team isolation, and ensure the quality of the final data product.

[0006] The above-mentioned technical objective of this application is achieved through the following technical solution: A data grid implementation method based on Kubernetes includes: Platform administrators abstract data products into a resource type called DataProduct that Kubernetes can directly manage; The platform administrator defines the CRD of the data product management service and submits it to the Kubernetes component APIServer, and the data product management service controller instantiates the CRD of the data product management service. Data producers define and submit data products according to the resource type Data Product through the data product management service module, and obtain the CRD of the resource of the Data Product type, that is, the data product CRD; The data product controller instantiates newly created data product CRDs by listening to the API Server, thus enabling data product publishing. After a data product is released, data consumers can access the released data product and have the necessary permissions to access it based on the data product's metadata. Among them, the data product controller defines the infrastructure resources on which the data operation depends, obtains the CRDs of other types of resources and submits them to the API Server, and then the basic resource controller corresponding to the infrastructure resources instantiates the CRDs of other types of resources to realize the release of data products; The data product controller includes a custom resource module and a resource controller; the custom resource module is used to define the resource type Data Product and other resource types directly managed by Kubernetes, and the resource controller extracts and generates corresponding resource descriptions; the resource controller is used to monitor the Kubernetes component APIServer and manage Data Product type resources and other types of resources based on the captured events.

[0007] The aforementioned basic resource controller is defined by the platform administrator in the Data Product Management Service (CRD), and is instantiated and deployed by the Data Platform Management Service controller.

[0008] Furthermore, the method also includes: data producers accessing published data product management services that they have permission to access.

[0009] Furthermore, the data product management service module is used to realize federated data governance and optimize the experience of the data grid. The federated data governance includes building and maintaining the global topology and issuing global governance policies. The optimized experience includes optimizing the basic operation of data products, optimizing data product maintenance, optimizing the data product development experience, and optimizing data infrastructure management.

[0010] Furthermore, the data product management service controller is used to deploy and maintain the data product management service module.

[0011] Furthermore, the structure of the data product includes the functions that the data product needs to implement and other cloud-native services on which the data product depends; the functions that the data product needs to implement include data access, data processing, metadata management, data product observation, and data discovery; the other cloud-native services on which the data product depends include data product management services, access control and identity recognition basic services, data encryption and de-identification basic services, data orchestration basic services, computing / storage / network basic resource services, and observability basic services.

[0012] Furthermore, the metadata management includes version management, lineage management, and data schema management.

[0013] Furthermore, the data product observations include monitoring, alerts, and logs.

[0014] The beneficial effects of this application are as follows: The data grid implementation method based on Kubernetes described in this application can realize a data management platform applicable to the cloud-native environment. By using this platform: (1) it can effectively reconcile the contradiction between data ownership and data sharing, that is, some users do not want to share their data on a public platform, but want to share it under their own jurisdiction, while at the same time they want to make full use of the data interaction capabilities provided by the platform; (2) it can reduce the cost of maintaining data infrastructure for the team, and at the same time reduce the technical threshold for the team to manage massive heterogeneous data, that is, users who want to manage their own data can relatively easily obtain the relevant tools on demand; (3) it can effectively solve the current team isolation problem, that is, the data team does not understand the business, and the business team does not understand data management and analysis. On this platform, users can organize teams for data products, so that all roles can participate better and ensure the quality of the final data product. Attached Figure Description

[0015] Figure 1 This is a flowchart of the method described in this application; Figure 2 This is a schematic diagram of the structure of the data product involved in this application. Detailed Implementation

[0016] The technical solution of this application will be described in detail below with reference to the accompanying drawings.

[0017] like Figure 1As shown, the core idea of ​​the Kubernetes-based data mesh implementation method described in this application is to abstract data products into a resource type called Data Product that Kubernetes can directly manage, based on Kubernetes Custom Resources (CRs). This type of resource will be managed as an object by the data platform, accepting declarations from data producers to submit a description definition (Custom Resource Definition, CRD) for the Data Product type resource. Figure 1 The data product (CRD) is instantiated by the corresponding data product controller, thus enabling data product publishing. Once the data product is published, data consumers can access the published data product and have the necessary permissions based on its metadata.

[0018] In addition, the platform administrator defines the CRD for the data product management service and submits it to the Kubernetes component API Server, where the data product management service controller instantiates the CRD. The data product management service provides services to both producers and consumers. For producers, it provides functions such as publishing and managing data products, while for consumers, it provides functions such as discovering and consuming data products.

[0019] Specifically, implementing the method proposed in this application mainly requires the implementation of three core components: 1) a data product controller; 2) a data product management service module; and 3) a data product management service controller. The implementation methods of these three core components will be described in detail below.

[0020] (1) Data Product Controller The implementation of the data product controller can refer to the CNCF-recommended operator pattern, and should include at least two parts: a custom resource module and a resource controller. The resource controller is primarily responsible for monitoring the Kubernetes core component, the API Server, and managing Data Product type resources based on captured events, such as creation, deletion, and modification. The custom resource module is mainly responsible for describing the composition of Data Product type resources. Considering the characteristics of a self-service data mesh infrastructure, the custom resource module of a data product, in addition to describing its own resource configuration, also includes the definitions of the infrastructure resources that the data product depends on for operation. The resource controller is responsible for extracting and generating the corresponding resource descriptions. Figure 1Once submitted to the Kubernetes Component API Server ("Other CRDs"), the corresponding resource controller is responsible for instantiating and providing services, thereby enabling self-service resource acquisition. In other words, the lifecycle of data product resources is managed by the data product management service module, while the lifecycle of the infrastructure resources that data products depend on is managed by the data product controller.

[0021] Some resource attributes in the Data Product type can be used to generate CRDs for other resource types, such as... Figure 1 The "core logic" section defines the resource attributes of the DAG. The "data product controller" will use them to generate the corresponding CRD that the "data orchestration infrastructure service" can recognize, and use it to obtain the corresponding resources.

[0022] The structure of the data product described in this application is as follows: Figure 2 As shown, it mainly consists of two parts: the functions that the data product needs to implement and other cloud-native services that the data product depends on.

[0023] Data products need to achieve the following functions: data access, data processing, metadata management, data product observation, and data discovery.

[0024] Specifically, data access requires defining how data within a data product is accessed. This can be broadly categorized into interface access and file access. The former requires providing resource definitions for interface services, while the latter requires providing file resource definitions, such as access endpoints for object storage and mount paths for block storage. Furthermore, this function also needs to define which users can access the data product. This functionality requires implementation based on access control services within the infrastructure. The data product controller parses and obtains the relevant configurations, generating the corresponding access control service resource definitions.

[0025] Data processing requires defining data processing logic, which must include at least one complete ETL (Extract / Transform / Load) process. Each ETL process needs to specify its inputs, outputs, and transformation procedures. Inputs are mandatory and generally include one or more. Inputs need to define their data sources, which can be open data sources or other data products within the platform. Outputs are mandatory and generally include one or more. Outputs need to define the storage method for the result data, such as a database, object storage, or file system. Transformation procedures are optional. The simplest approach is to directly map the inputs to the outputs. Alternatively, complex data transformation processes can be built based on data orchestration infrastructure services. Implementing the latter requires providing resource definitions for data orchestration infrastructure services within the data product resources.

[0026] Metadata management is used to manage the metadata of data products, better describing the data products themselves to the platform and data consumers. Among them, the three most important types of metadata are version management, lineage management and data schema. Version management is used to realize multi-version management of data products. Lineage management can help the data platform build global data relationships, which facilitates the distribution and implementation of governance strategies, and at the same time makes it easier for data consumers to perform operations such as traceability. Data schema describes the structure of the data provided by the product to data consumers, making consumption convenient.

[0027] Observability of data products includes monitoring, alarms, logs, etc. It defines the observable operational status of data products, which facilitates platform management and maintenance by data owners. To implement this function, observability service-related resources need to be defined in the data product resources.

[0028] Data discovery defines the specifications for data products to register and publish themselves in a distributed data grid environment, making it easier for platforms and data consumers to discover corresponding data products. The data product controller has actually implemented the relevant functions, and the data platform only needs to reuse this mechanism to realize data product discovery.

[0029] To achieve the above functions, data products need to be based on other cloud-native services, namely, self-service data technology infrastructure that conforms to the characteristics of data grid. Specifically, the cloud-native services involved include data product management services, access control and identity recognition basic services, data encryption and de-identification basic services, data orchestration basic services, computing / storage / network basic resource services, and observability basic services.

[0030] Specifically, data product management services mean that data products need to integrate themselves into the management of the data platform based on this service. This service needs to provide data product development kits to simplify the implementation work for data producers, while also establishing data governance and related standards and specifications (i.e., Figure 2 The "Data Governance and Standardization" module helps data producers control the quality of data products and also makes it easier for the platform to check and supervise product quality.

[0031] Access control and identity verification infrastructure services, i.e., data products, can be used to implement functions such as access control, behavior auditing, and identity verification.

[0032] Data encryption and desensitization basic services, i.e., data products, can be based on this service to realize the functions of data encryption and desensitization.

[0033] Data orchestration infrastructure services, or data products, enable complex data processing logic, including linking multiple tasks into a directed acyclic graph, scheduled tasks, and so on.

[0034] Computing / storage / network infrastructure services are the basic resources such as computing, storage, and networking required for the operation of data products.

[0035] Observable basic services, i.e., data products, can be used to monitor, track, log, and alert products.

[0036] (2) Data Product Management Service Module This component is a standalone cloud-native application that primarily needs to implement the features of federated data governance in the data grid. In addition, it can also provide some features to optimize the user experience.

[0037] Federal data governance includes building and maintaining a global topology and distributing global governance policies. Building and maintaining a global topology involves using metadata from data products. Distributing global governance policies is based on the known global topology and involves distributing global data governance policies to all data products, such as issuing PII (Personally Identifiable Information) policies. Data products that do not meet the policy requirements will be prohibited from providing services to external parties, and their downstream data products will also be affected.

[0038] Optimizing the user experience includes optimizing basic operations of data products, optimizing data product maintenance, optimizing the data product development experience, and optimizing data infrastructure management.

[0039] Specifically, optimizing the basic operations of data products involves wrapping the functionality of the Kubernetes API Server to enable CRUD operations on data products.

[0040] Optimize data product maintenance by integrating observability services to make it easier for users to obtain the real-time operational status of data products.

[0041] Optimizing the data product development experience means providing the necessary tools to simplify the data owner's data product development process. For example, providing pre-built, universal data quality testing tools that data owners can easily incorporate into their data processing steps through simple configuration, thereby ensuring basic data quality.

[0042] Optimizing data infrastructure management means that through this service, data owners and data consumers can more easily understand what services are currently available on the platform, and platform administrators can more easily grasp the operational status of the data infrastructure and flexibly manage and maintain the services that the data infrastructure can provide.

[0043] (3) Data Product Management Service Controller This component is primarily used for the deployment and maintenance of data product management services, enhancing the user experience for platform administrators. It also makes the data product management services more cloud-native, enabling better and more stable service delivery. The implementation of this component is similar to that of the data product controller, also consisting of a custom resource module and a resource controller. With the help of this resource controller, platform administrators only need to accurately describe their resource and configuration requirements for the platform; the entire deployment and initialization of the data management platform can be automatically handled by the resource controller. Since the custom resources of the data product management service do not have the same relevance as the data grid, they will not be discussed further.

[0044] By implementing the above three components, a data management platform that meets the design principles of a data grid can be implemented based on Kubernetes. Specifically, the data product controller ensures the data grid's domain-oriented data architecture and decentralized data ownership and data-as-a-product characteristics; the rich cloud-native ecosystem and Kubernetes scheduling and management capabilities ensure the data grid's self-service data infrastructure characteristics; the data product management service module ensures the data grid's federated data governance characteristics; and finally, the data product management service controller ensures that the data product management service itself also meets cloud-native characteristics.

[0045] The above are exemplary embodiments of this application, and the scope of protection of this application is defined by the claims and their equivalents.

Claims

1. A data grid implementation method based on Kubernetes, characterized in that, include: Platform administrators abstract data products into a resource type called Data Product that Kubernetes can directly manage; The platform administrator defines the CRD of the data product management service and submits it to the Kubernetes component APIServer, and the data product management service controller instantiates the CRD of the data product management service. Data producers define and submit data products according to the resource type Data Product through the data product management service module, and obtain the CRD of the resource of the Data Product type, that is, the data product CRD; The data product controller instantiates newly created data product CRDs by listening to the API Server, thus enabling data product publishing. After a data product is released, data consumers can access the released data product and have the necessary permissions to access it based on the data product's metadata. Among them, the data product controller defines the infrastructure resources on which the data operation depends, obtains the CRDs of other types of resources and submits them to the API Server, and then the basic resource controller corresponding to the infrastructure resources instantiates the CRDs of other types of resources to realize the release of data products; The data product controller includes a custom resource module and a resource controller; the custom resource module is used to define the resource type Data Product and other resource types directly managed by Kubernetes, and the resource controller extracts and generates the corresponding resource descriptions; the resource controller is used to monitor the Kubernetes component API Server and manage the Data Product type resources and other types of resources based on the captured events.

2. The method as described in claim 1, characterized in that, The method also includes: data producers accessing published data product management services that they have permission to access.

3. The method as described in claim 1, characterized in that, The data product management service module is used to realize federated data governance and optimize the user experience of the data grid. The federated data governance includes building and maintaining the global topology and issuing global governance policies. The optimized user experience includes optimizing the basic operation of data products, optimizing data product maintenance, optimizing the data product development experience, and optimizing data infrastructure management.

4. The method as described in claim 1, characterized in that, The data product management service controller is used to deploy and maintain the data product management service module.

5. The method as described in claim 1, characterized in that, The structure of the data product includes the functions that the data product needs to achieve and other cloud-native services on which the data product depends. The functions that the data product needs to achieve include data access, data processing, metadata management, data product observation, and data discovery. Other cloud-native services on which the data product depends include data product management services, access control and identity recognition basic services, data encryption and de-identification basic services, data orchestration basic services, computing / storage / network basic resource services, and observability basic services.

6. The method as described in claim 5, characterized in that, The metadata management includes version management, lineage management, and data schema management.

7. The method as described in claim 5, characterized in that, The data product observations include monitoring, alerts, and logs.

Citation Information

Patent Citations

  • Multi-layer network protocol processing method and device for service grid

    CN113949702A

  • K8s-based multi-tenant deep learning model research and development system and method

    CN114385126A