Data source management method and device and storage medium

By introducing a graphical interface in data source management, the data source management process is simplified, and the problem of enterprises switching between multiple management tools and writing complex code is solved, reducing management costs and improving efficiency.

CN120017721AInactive Publication Date: 2025-05-16SHENZHEN SMARTCITY TECH DEV GRP CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510473463.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2025-05-16
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

As the business expansion of enterprises and the data volume grows, enterprises' management needs for data source storage capacity increase, resulting in operation and maintenance or developers need to switch between multiple management tools, write complex statements or interface codes, and make operations complex, resulting in high data source management costs.

Method used

Provides a data source management method. By displaying the tenant management interface, resource configuration interface and workspace management interface, users can complete complex configuration tasks in an intuitive way, avoid writing complex commands or codes, and simplify data source management.

Benefits of technology

Through graphical interface operations, the data source management process is simplified, the operation complexity and cost of operation and maintenance or developers is reduced, and the efficiency of data source storage capacity management is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017721A_ABST
    Figure CN120017721A_ABST
Patent Text Reader

Abstract

The invention discloses a data source management method and device and a storage medium, and relates to the technical field of data processing. According to the method, the tenant management interface is firstly displayed, the resource configuration interface of the tenant is displayed in response to the trigger action received by the tenant management interface, at least one data source cluster corresponding to the tenant is determined in response to the configuration action received by the resource configuration interface, and then the workspace management interface is displayed. And in response to a configuration action received by the workspace management interface, allocating the cluster storage space corresponding to the at least one data source cluster to the workspace of the tenant. According to the method, a user can complete a complex configuration task in a visual mode through graphical interfaces such as a tenant management interface, a resource configuration interface and a workspace management interface, and the data source management cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data source management method, device and storage medium. Background Art

[0002] In today's digital age, data has become the core asset for business operations and decision-making. In order to ensure that data sources are consistent with the latest business needs, it is necessary to regularly add, maintain, and update the storage resource configuration of data sources.

[0003] Currently, data sources are mainly managed by specific management tools and operation interfaces. For example, for Oracle database (a relational database management system), operations or developers usually use tools such as SQL*Plus (an interactive command line tool for controlling and managing Oracle databases) or Oracle Enterprise Manager (a local deployment management platform for Oracle databases) for management; while for MinIO (an open source distributed object storage service) object storage system, operations must be performed through the application programming interface (API, Application Programming Interface) provided by it.

[0004] However, with the continuous expansion of enterprise business and the sharp increase in data volume, enterprises have an increasing demand for the management of data source storage capacity, and often need different types of data sources to store different data, such as relational databases for structured data management, object storage systems for unstructured data storage, etc. In this case, operations or developers need to directly switch between multiple management tools and write complex statements or interface codes to manage data sources, which is complicated and leads to high data source management costs.

[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0006] The main purpose of this application is to provide a data source management method, device and storage medium, aiming to solve the technical problem of high data source management cost.

[0007] To achieve the above objectives, the present application proposes a data source management method, the method comprising: Display the tenant management interface; In response to a trigger action received by the tenant management interface, displaying a resource configuration interface of the tenant; In response to the configuration action received by the resource configuration interface, determining at least one data source cluster corresponding to the tenant; A workspace management interface is displayed, and in response to a configuration action received by the workspace management interface, a cluster storage space corresponding to at least one of the data source clusters is allocated to the tenant's workspace.

[0008] In one embodiment, the tenant management interface includes a tenant search area and a tenant information display area, the tenant information display area includes at least a tenant resource configuration control, and the step of displaying the tenant's resource configuration interface in response to a trigger action received by the tenant management interface includes: In response to a search action in the tenant search area, displaying tenant information of the searched tenant in the tenant information display area; In response to the triggering operation of the tenant resource configuration control, jump to and display the resource configuration interface corresponding to the tenant.

[0009] In one embodiment, after the step of determining at least one data source cluster corresponding to the tenant in response to the configuration action received by the resource configuration interface, the following steps are included: In response to the configuration action received by the resource configuration interface, a first allocated capacity of the data source cluster corresponding to the tenant is confirmed, wherein the first allocated capacity is a storage capacity of a cluster storage space corresponding to the data source cluster.

[0010] In one embodiment, the workspace management interface includes a workspace search area and a workspace information display area of ​​the tenant, the workspace information display area includes at least a storage resource configuration control, and the step of allocating the cluster storage space corresponding to at least one of the data source clusters to the tenant's workspace in response to the configuration action received by the workspace management interface includes: In response to a search action in the workspace search area, displaying the searched tenant's workspace in the workspace information display area; In response to the triggering action of the storage resource configuration control, jump to and display the storage resource configuration interface; In response to the configuration action received by the storage resource configuration interface, the cluster storage space corresponding to the data source cluster is allocated to the workspace of the tenant.

[0011] In one embodiment, in response to the configuration action received by the storage resource configuration interface, the step of allocating the cluster storage space corresponding to the data source cluster to the tenant's workspace includes: In response to the first configuration action received by the storage resource configuration interface, determining a target data source cluster associated with the workspace, wherein the target data source cluster is any one of the data source clusters corresponding to the tenant; In response to the second configuration action received by the storage resource configuration interface, obtaining a second allocated capacity of the target cluster storage space corresponding to the target data source cluster input by a user; A storage unit is created based on the second allocated capacity, and the storage unit is allocated to the tenant's workspace, wherein the second allocated capacity is less than or equal to the first allocated capacity of the target cluster storage space, and the total allocated capacity of each of the storage units associated with the target data source cluster is less than or equal to the storage capacity of the target data source cluster.

[0012] In one embodiment, before the step of displaying the tenant management interface, the method further includes: Displaying a cluster management configuration interface, wherein the cluster management configuration interface includes a data source cluster configuration area and a data source connection configuration area; In response to the configuration action received by the data source cluster configuration area, create the data source cluster; In response to the configuration action received by the data source connection configuration area, a connectivity test is performed on the data source cluster.

[0013] In one embodiment, in response to the configuration action received by the data source cluster configuration area, the step of creating the data source cluster includes: In response to the configuration action received by the data source cluster configuration area, determine the cluster name, cluster type and data source type of the data source cluster; The data source cluster is created based on the cluster name, the cluster type, and the data source type.

[0014] In one embodiment, in response to the configuration action received by the data source connection configuration area, the step of performing connectivity testing on the data source cluster includes: In response to the configuration action received by the data source connection configuration area, determining the connection address, data source account number and data source password of the connectivity test; Based on the data source account and the data source password, the connection address is accessed to perform a connectivity test on the data source cluster.

[0015] In addition, to achieve the above objectives, the present application also proposes a data source management device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the data source management method described above.

[0016] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium, and stores a computer program on the storage medium. When the computer program is executed by a processor, the steps of the data source management method described above are implemented.

[0017] The present application provides a data source management method, which first displays a tenant management interface, and in response to a trigger action received by the tenant management interface, displays a resource configuration interface of the tenant, and in response to the configuration action received by the resource configuration interface, determines at least one data source cluster corresponding to the tenant, and then displays a workspace management interface, and in response to the configuration action received by the workspace management interface, allocates a cluster storage space corresponding to at least one data source cluster to the tenant's workspace.

[0018] The above method allows users to complete complex configuration tasks in an intuitive way through graphical interfaces such as the tenant management interface, resource configuration interface and workspace management interface, avoiding the tedious operations of writing complex commands or codes in traditional management methods, making the management of data sources simpler and more efficient, and reducing the cost of data source management. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0021] Figure 1 A flowchart of the first embodiment of the data source management method of the present application is provided; Figure 2 An example diagram of a tenant management interface provided in Example 1 of the data source management method of this application; Figure 3 This is an example diagram of the object storage resource configuration interface provided in Example 2 of the data source management method of this application; Figure 4 A flowchart of the third embodiment of the data source management method of the present application is provided; Figure 5 This is an example diagram of the workspace management interface provided in Example 3 of the data source management method of this application; Figure 6 This is a first example diagram of a storage resource configuration interface provided in Embodiment 3 of the data source management method of this application; Figure 7 This is an example diagram of the first allocation capacity configuration interface provided in Embodiment 3 of the data source management method of this application; Figure 8 A second example diagram of a storage resource configuration interface provided in Embodiment 3 of the data source management method of this application; Fig. 9 This is an example diagram of the second allocation capacity adjustment interface provided in Example 3 of the data source management method of this application; Fig.10 A flowchart of the fourth embodiment of the data source management method of the present application is provided; Fig.11 This is an example diagram of the cluster management configuration interface provided in Example 4 of the data source management method of this application; Fig.12 Schematic diagram of the device structure of the hardware operating environment involved in the data source management method in the embodiment of the present application.

[0022] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0023] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0024] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0025] In today's digital age, data has become a core asset for business operations and decision-making. In order to ensure that data sources are consistent with the latest business needs, it is necessary to regularly add, maintain, and update the storage resource configuration of data sources. At present, the management of data sources mainly relies on specific management tools and operation interfaces for direct operation. For example, for Oracle databases, operations or developers usually use tools such as SQL*Plus or Oracle Enterprise Manager for management; while for MinIO object storage systems, they need to be operated through the application programming interface provided by it.

[0026] However, with the continuous expansion of enterprise business and the sharp increase in data volume, enterprises have an increasing demand for the management of data source storage capacity. Different types of data sources are often needed to store different data, such as relational databases for structured data management and object storage systems for unstructured data storage. In this case, since different types of data sources require different management tools and operation interfaces, the management of data source storage capacity becomes extremely complex and the cost of data source management is high.

[0027] In view of the above problems, the present application proposes a data source management method, which first displays a tenant management interface, and in response to a trigger action received by the tenant management interface, displays the tenant's resource configuration interface, and in response to the configuration action received by the resource configuration interface, determines at least one data source cluster corresponding to the tenant, and then displays a workspace management interface, and in response to the configuration action received by the workspace management interface, allocates the cluster storage space corresponding to at least one data source cluster to the tenant's workspace.

[0028] The above method allows users to complete complex configuration tasks in an intuitive manner through graphical interfaces such as the tenant management interface, resource configuration interface, and workspace management interface, avoiding the tedious operations of writing complex commands or codes in traditional management methods, making data source management simpler and reducing data source management costs.

[0029] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, etc., or an electronic device capable of realizing the above functions, etc. The following takes the data source cluster management system as an example to illustrate this embodiment and the following embodiments.

[0030] Based on this, the first embodiment proposed in this application provides a data source management method, referring to Figure 1 In this embodiment, the data source management method includes steps S10 to S40: Step S10: display the tenant management interface.

[0031] Step S20: In response to the trigger action received by the tenant management interface, display the tenant's resource configuration interface.

[0032] In this embodiment, the tenant management interface is an interface in the data source cluster management system for centralized management and operation of tenant related information. In a multi-tenant environment, the tenant management interface provides an administrator with a unified entrance for quickly switching and managing storage capacity resources and related configuration information of different tenants. The tenant resource configuration interface is an extension of the tenant management interface and is used to perform detailed configuration and management of storage resources for a specific tenant.

[0033] Different departments or project groups can be managed as independent tenants within an enterprise or in a multi-enterprise data platform. Administrators can quickly switch and manage storage capacity resources of different tenants through the tenant management interface. The tenant management interface can display basic information of all tenants, including tenant name, tenant status (active / inactive), tenant type (enterprise / individual), etc. Users can select specific tenants by clicking, dropping down the menu or searching in the search box. After the user selects a tenant, the data source cluster management system automatically jumps to the resource configuration interface of the tenant to display the resource configuration details of the tenant.

[0034] Optionally, the tenant management interface includes a tenant search area and a tenant information display area, and the tenant information display area includes at least a tenant resource configuration control. The tenant search area is used to perform a quick search based on a tenant name input by a user, and the tenant information display area is used to display detailed information of the tenant.

[0035] Optionally, step S20 includes steps S21-S22: Step S21, in response to the search action in the tenant search area, displaying the tenant information of the searched tenant in the tenant information display area.

[0036] Step S22: in response to the triggering operation of the tenant resource configuration control, jump to and display the resource configuration interface corresponding to the tenant.

[0037] For example, refer to Figure 2 , the tenant search area is at the top of the tenant management interface, providing a search function for tenant names. Users can quickly search by entering tenant names. In the upper right corner of the interface, a new tenant function is provided. Click the "New" button to pop up a new tenant dialog box. Users can enter information such as tenant name and affiliated organization to complete the creation of a tenant. The tenant information display area is used to display the information of all tenants, including "Serial Number", "Tenant Name", "Associated Cluster", "Affiliated Organization", "Associated Organization", "Tenant Person in Charge", "Operation and Maintenance Administrator", "Creation Time", "Last Update Time", etc. At the end of each tenant information row, operation controls are provided, including "Assign Resources", "Edit" and "Delete". In this example, the tenant resource configuration control is the "Assign Resources" control. By clicking "Assign Resources", you can jump to the tenant's resource configuration interface, and you can allocate cluster storage space in at least one data source cluster to the tenant. In addition, you can edit and modify the tenant's information by clicking the "Edit" control, and you can delete the existing tenant information by clicking the "Delete" control.

[0038] Optionally, the tenant management interface also includes a tenant status monitoring area, which displays the tenant's storage capacity utilization rate. When the tenant's storage capacity utilization rate approaches or exceeds a preset threshold, an early warning is automatically issued and a resource expansion reminder message is displayed.

[0039] For example, a new "Status" column is added to the tenant information display area to display the tenant's current status, such as "active", "inactive", etc. Different colors are used to represent different statuses. At the same time, a drop-down menu is added to the tenant search area, and users can select the status to filter and quickly find tenants in a specific status. A "Resource Utilization" column is added to the tenant information display area to display the tenant's storage capacity utilization rate. The storage capacity utilization rate is displayed in the form of a progress bar or percentage to intuitively display the tenant's storage capacity usage. Resource expansion reminder information can be sent to administrators or tenant managers via email, SMS or instant messaging tools.

[0040] Step S30: In response to the configuration action received by the resource configuration interface, determining at least one data source cluster corresponding to the tenant.

[0041] It should be noted that a data source cluster refers to a set of data storage resources that provide a unified storage service for tenants. In this embodiment, the data source cluster management system is compatible with different types of data source clusters. For example, the cluster type of the data source cluster may include object storage and relational database storage, and the data source types corresponding to data source clusters of different cluster types are also different. For example, when the cluster type is object storage, the data source corresponding to the data source cluster may include MinIO and OBS (Object Storage Service, an object storage service).

[0042] Exemplarily, in the resource configuration interface, a drop-down menu or list is displayed, listing all available data source clusters, and the user manually selects one or more data source clusters.

[0043] Step S40: displaying a workspace management interface, and in response to a configuration action received by the workspace management interface, allocating a cluster storage space corresponding to at least one of the data source clusters to the tenant's workspace.

[0044] It should be noted that the workspace management interface is used to manage and configure tenants' workspaces and their associated storage resources. Cluster storage space refers to the capacity space in the data source cluster that can be used to store data. Workspace refers to an independent environment used by tenants in the data source cluster management system to isolate and manage different projects or tasks. Each workspace can be associated with the storage space of one or more data source clusters. It is understandable that in a multi-tenant environment, each tenant may have multiple work projects, and each project processes different data and needs to be managed in isolation. To this end, the data source cluster management system provides a workspace management interface for allocating the cluster storage space of the data source cluster to the tenant's workspace.

[0045] First, the workspace management interface is displayed, which contains all the workspace information associated with the tenant. Each workspace corresponds to the storage space of one or more data source clusters. The user performs configuration actions in the workspace management interface. After receiving the user's configuration actions, the data source cluster management system allocates the cluster storage space of the selected data source cluster to the tenant's workspace. For example, the user can select a data source cluster corresponding to the tenant in the workspace management interface, and the tenant can use the cluster storage space in the data source cluster.

[0046] It is understandable that in the traditional data source management method, when using a specific data source management tool to directly manage a data source such as a database storage system, it is necessary to write and execute relevant statements of structured query language (SQL) or procedural structured query language (PL / SQL), and the operation time cost of the operator is high. When managing an object storage system, it is necessary to write code, call the application programming interface (hereinafter uniformly described as API), pass parameters such as the tenant unique identifier (ID, Identifier) ​​and the data source cluster unique identifier (hereinafter uniformly described as ID), and the operation is relatively cumbersome. However, this solution is operated through a graphical interface. For example, a user can select at least one data source cluster corresponding to a tenant on the resource configuration interface, and allocate the cluster storage space corresponding to the data source cluster to the tenant. This interface-based operation method allows operation and maintenance or developers to not care about the specific type and management tool of the underlying data source, but only configure it through a unified interface. Operation and maintenance or developers do not need to switch between multiple management tools, write complex statements or API codes, and can complete the management of data sources through simple interface operations, thereby improving the efficiency of management operations for different data sources and reducing management costs.

[0047] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above description, and will not be described in detail later. On this basis, after the step of determining at least one data source cluster corresponding to the tenant in response to the configuration action received by the resource configuration interface, the first allocated capacity of the data source cluster corresponding to the tenant is confirmed in response to the configuration action received by the resource configuration interface, wherein the first allocated capacity is the storage capacity of the cluster storage space corresponding to the data source cluster.

[0048] Exemplarily, after the user specifies at least one data source cluster corresponding to the tenant in the resource configuration interface, in the resource configuration interface, first detect whether the user has selected a data source cluster. If the data source cluster name or data source cluster identifier input by the user is received, the data source cluster selected by the user is determined, and a dialog box pops up to prompt the user to enter the first allocated capacity associated with the selected data source cluster. The user can enter a specific capacity value in the input box, such as "100GB" or "200GB". The data source cluster management system will receive the capacity value entered by the user in real time and store it in the memory for subsequent processing. After that, the data source cluster management system verifies the received capacity value to ensure that it meets the preset capacity range and format requirements. For example, check whether the input capacity value is a positive number and whether it is within the allowed capacity range, such as not exceeding the total available capacity of the data source cluster. If the input capacity value does not meet the requirements, prompt the user to re-enter. When the capacity value entered by the user passes the verification, the data source cluster management system associates the capacity value with the selected data source cluster, records this association, and updates the relevant records in the background database to ensure the consistency and integrity of the data.

[0049] For example, after clicking the "allocate resources" control corresponding to the tenant searched in the tenant management interface, the following is displayed: Figure 3 The resource configuration interface shown in the figure, in which the name of the data source cluster to be allocated to the selected tenant is selected in the cluster column on the left, the data source cluster corresponding to the tenant is determined, and the value of the first allocated capacity is entered in the "Allocated Capacity" input box, under which the currently allocable storage capacity of the data source cluster can be displayed. In addition, you can click the "Add" control to associate one or more data source clusters of other types with the selected tenant, or click the "Delete" control in "Operation" to delete the currently edited first allocated capacity.

[0050] Optionally, when the capacity value entered by the user is verified, the data source cluster management system allocates the corresponding cluster storage space in the selected data source cluster to the tenant according to the capacity value. Specifically, the storage space information of the selected data source cluster is first queried to determine the available storage capacity, and the corresponding storage capacity is allocated to the tenant from the cluster storage space according to the first allocated capacity entered by the user, and the storage space information of the data source cluster is updated at the same time to reduce the available storage capacity to ensure the accuracy and consistency of the cluster storage space. After the allocation is completed, the data source cluster management system can update and display the tenant's storage capacity information in the tenant resource configuration interface. For example, first query the tenant's current storage capacity information, including allocated capacity, used capacity, remaining capacity, etc., add the newly allocated storage capacity to the tenant's allocated capacity, and update the tenant's storage capacity information. At the same time, the storage capacity information can be displayed in the tenant management interface to ensure that users can intuitively view the storage capacity usage of all tenants in real time.

[0051] Based on the above embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be repeated in the following. On this basis, the workspace management interface includes a tenant's workspace search area and a workspace information display area, and the workspace information display area at least includes a storage resource configuration control, referring to Figure 4 , step S40 also includes steps S41 to S43: Step S41 , in response to a search action in the workspace search area, displaying the searched tenant's workspace in the workspace information display area.

[0052] Step S42: in response to the triggering action of the storage resource configuration control, jump to and display the storage resource configuration interface.

[0053] It should be noted that the workspace search area is a functional module in the workspace management interface, which is used to receive the search conditions entered by the user so as to quickly locate and find the workspace information of a specific tenant. The workspace information display area is a display module in the workspace management interface, which is used to present the detailed information of the tenant workspace obtained by the search. The storage resource configuration control is an interactive component in the workspace management interface, which is used to trigger the display of the storage resource configuration interface so that the user can configure the storage resources of the workspace in detail.

[0054] For example, refer to Figure 5, in the upper left corner of the workspace management interface is the workspace search area, which includes a drop-down menu of "Tenant Belongs to", which displays the name of the current tenant. Users can select different tenants for filtering. There is also a "Workspace Name" input box on the right side of the "Tenant Belongs to" drop-down menu. Users can enter the workspace name to search. After clicking the "Search" button, the data source cluster management system searches according to the input conditions and displays the workspace list in the workspace information display area to display the tenant information that meets the conditions. In the workspace list, there are "Workspace ID", "Workspace Name", "Workspace Person in Charge", "Creation Time", "Last Update Time" and "Running Status". In the right column of the workspace list, there are also operation buttons, including "Configure Environment", "Add Members", "Edit", etc. In the upper right corner of the workspace management interface, there is a "New" button. Click it to create a new workspace.

[0055] In this example, the storage resource configuration control is a "Configure Environment" button. After clicking the "Configure Environment" button, the storage resource configuration interface is entered.

[0056] Step S43: In response to the configuration action received by the storage resource configuration interface, the cluster storage space corresponding to the data source cluster is allocated to the workspace of the tenant.

[0057] Optionally, step S43 includes steps S431 to S433: Step S431, in response to the first configuration action received by the storage resource configuration interface, determining a target data source cluster associated with the workspace, wherein the target data source cluster is any one of the data source clusters corresponding to the tenant.

[0058] The storage resource configuration interface is used to configure and manage the storage resources of the workspace in detail, and is the core operating platform for users to allocate and adjust storage resources. Specifically, the data source cluster management system receives the first configuration action performed by the user through the storage resource configuration interface, which is the operation of the user selecting or specifying the data source cluster associated with the workspace on the storage resource configuration interface. After that, the data source cluster management system identifies the data source cluster selected by the user, which is any one of the data source clusters corresponding to the tenant. The data source cluster management system obtains the ID or cluster name of the selected data source cluster by parsing the user's operation instructions, and then verifies the status of the selected data source cluster to ensure that it is in an available state and can provide storage services normally. If the selected data source cluster is available, it is determined as the target data source cluster. If the cluster is unavailable, the data source cluster management system will prompt the user to reselect.

[0059] Step S432: In response to the second configuration action received by the storage resource configuration interface, a second allocated capacity of the target cluster storage space corresponding to the target data source cluster input by the user is obtained.

[0060] Step S433: Create a storage unit based on the second allocated capacity, and allocate the storage unit to the tenant's workspace, wherein the second allocated capacity is less than or equal to the first allocated capacity of the target cluster storage space, and the total allocated capacity of each storage unit associated with the target data source cluster is less than or equal to the storage capacity of the target data source cluster.

[0061] It should be noted that a storage unit is an independent storage area divided from the cluster storage space of the data source cluster, which is used to meet the storage requirements of different projects or tasks in the tenant workspace. In a multi-tenant environment, each tenant may have multiple work projects, and each project processes different types of data and requirements. Storage units can separate these data for easier management and maintenance.

[0062] Specifically, the data source cluster management system receives the second configuration action executed by the user through the storage resource configuration interface, which is the operation of the allocated capacity of the storage unit input or selected by the user on the storage resource configuration interface. The data source cluster management system displays an input box or a drop-down menu on the interface for the user to input or select the second allocated capacity. The user can enter a specific capacity value or select from predefined capacity options, and then verify the capacity value entered by the user to ensure that it meets the preset capacity range and format requirements. When the capacity value entered by the user passes the verification, the data source cluster management system obtains the capacity value and uses it as the basis for creating a storage unit. Then, the data source cluster management system queries the storage space information of the target data source cluster, calculates the available storage capacity of the corresponding target cluster storage space, and ensures that the available storage capacity of the target cluster storage space is greater than or equal to the second allocated capacity entered by the user. If satisfied, then based on the second allocated capacity entered by the user, a new storage unit is created from the target cluster storage space corresponding to the target data source cluster, and a unique ID is assigned to the storage unit to associate it with the target data source cluster. Among them, the data source cluster is associated with one or more tenants, and each tenant jointly uses the storage space in the data source cluster. In the cluster storage space of the first allocated capacity allocated to each tenant, the cluster storage space can be divided into one or more storage units of the second allocated capacity. These storage units are used to allocate one or more workspaces associated with the tenant for independently storing different data generated by different work projects.

[0063] For example, after clicking the storage resource configuration control "Configure Environment", the storage resource configuration interface is entered, such as Figure 6As shown, in this example, taking the object storage data source as an example, the bucket is used as the storage unit. In the object storage resource configuration area, there is a "Cluster" drop-down menu, and the user can select a target data source cluster for configuration. In the bucket management area, the user can click the "Add" button to add a new bucket. Buckets are the basic storage units in object storage and are used to store files, pictures, videos and other data. The added bucket information can be displayed in the bucket list, including "bucket name", "capacity", "status" and "operation". For example, refer to Figure 7 , click the "Add" button, a dialog box pops up, enter the name of the bucket in the "Bucket Name" input box, enter the second allocated capacity in the "Capacity" input box, and below the "Capacity" input box, the allocatable capacity of the target cluster storage space corresponding to the target data source cluster in the tenant is displayed.

[0064] Optionally, set "Create", "Edit" and "Delete" buttons in the "Operation" column. When you click "Create", the status of the bucket is "Not Created". After clicking "Create", the creation request is sent to the backend reviewer of the data source cluster management system. When the data source cluster management system receives the review information, it changes the status of the bucket to "Normal". Only then can the user use the storage capacity in the bucket. Similarly, the deletion and editing operations can also be set to be executed after passing the above review process.

[0065] For example, refer to Figure 8 , there is a successfully created bucket "bucket-yanshi-p0015", whose second allocated capacity is "1G" and whose status is "normal"; there is also an unsuccessfully created bucket "bucket-test-p0015", whose second allocated capacity is "1G" and whose status is "not created".

[0066] Optionally, after the storage unit is successfully created, the configuration operation button corresponding to the storage unit is modified, and in response to a third configuration action of the modified configuration operation button received by the storage resource configuration interface, the second allocated capacity of the storage unit is modified, or the storage unit is deleted.

[0067] For example, Figure 8 As shown in the figure, after the bucket "bucket-yanshi-p0015" is successfully created, the buttons in the "Operation" column are changed to "Adjust Capacity" and "Delete". When the user clicks the "Adjust Capacity" button, the following pop-up window appears: Fig. 9 In the Adjust Capacity window shown, re-enter the second allocated capacity of the bucket in the "Capacity" input box.

[0068] It should be noted that the above example uses the object storage type as an example. The above operations of other data source storage types are consistent with those of the object storage type, except that the storage units are different. For example, a data source cluster of the relational database storage type can set the storage unit to a tablespace, and a data source cluster of the distributed file system storage type can set the storage unit to a data block.

[0069] In this embodiment, through the storage resource configuration interface, the user can determine the target data source cluster associated with the workspace and input the second allocated capacity. The data source cluster management system creates a storage unit based on the second allocated capacity and allocates the storage unit to the tenant's workspace. The above method provides a unified management platform, which can manage different types of data sources at the same time through a graphical interface, greatly reducing the complexity of operations for operation and maintenance or developers. Users can complete the management of data sources and the allocation of storage space through simple clicks and inputs, without having to write complex commands or codes, making the management of data source storage capacity simpler and reducing the cost of data source management.

[0070] Based on the above embodiments of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Fig.10 Before step S10, the data source management method further includes steps S50 to S70: Step S50: displaying a cluster management configuration interface, wherein the cluster management configuration interface includes a data source cluster configuration area and a data source connection configuration area.

[0071] Step S60: creating the data source cluster in response to the configuration action received by the data source cluster configuration area.

[0072] It should be noted that the cluster management configuration interface is an interface in the data source cluster management system, which is used to create and configure a data source cluster. This interface provides a configuration area for the data source cluster and a configuration area for the data source connection. The data source cluster configuration area is a functional module in the cluster management configuration interface, which is used to receive basic information about the data source cluster entered by the user, such as the cluster name, cluster type, and data source type. The data source connection configuration area is a functional module in the cluster management configuration interface, which is used to receive connection information about the data source cluster entered by the user, such as the connection address, data source account, and data source password.

[0073] The data source cluster management system receives the user's configuration actions through the data source cluster configuration area, such as filling in the cluster name, selecting the cluster type and data source type, etc. The information entered by the user is verified to ensure that it conforms to the preset format and requirements. For example, the cluster name cannot be empty, and the cluster type and data source type must be types supported by the system. When the information entered by the user passes the verification, the data source cluster management system creates a data source cluster based on this information. Specifically, a unique ID is generated for the newly created cluster to distinguish different data source clusters, and the cluster name, cluster type, data source type and other information entered by the user are configured as cluster attributes. According to the cluster type and data source type, the operating environment and configuration file of the data source cluster are initialized. The result of creating the data source cluster is fed back to the user. If the creation is successful, the data source cluster management system displays prompt information such as "Cluster creation successful" in the cluster management configuration interface and updates the cluster list; if the creation fails, the specific error reason is displayed so that the user can make corresponding adjustments.

[0074] Optionally, step S60 includes steps S61-S62: Step S61 : determining the cluster name, cluster type and data source type of the data source cluster in response to the configuration action received by the data source cluster configuration area.

[0075] Step S62: Create the data source cluster based on the cluster name, the cluster type and the data source type.

[0076] For example, refer to Fig.11 The cluster management configuration interface shown in the figure has a data source cluster configuration area in the upper part. In this data source cluster configuration area, there is a "cluster name" input box, where the user enters the name of the data source cluster; a "belonging project" drop-down menu, where the user can select the project to which the data source cluster belongs, for easy management and classification; a "cluster type" drop-down menu, where the user can select the type of data source cluster, such as object storage, etc.; a "data source type" drop-down menu, where the user can select the type of data source, such as "MinIO", "OBS", etc.; a "configuration method" drop-down menu, where the user can select the configuration method, such as manual configuration, template configuration, etc.; a "description" input box, where the user can enter a description of the data source cluster, for easy subsequent identification and management. In response to the configuration action of the above information received in the data source cluster configuration area, a data source cluster is created based on the above configuration information.

[0077] Step S70: In response to the configuration action received by the data source connection configuration area, a connectivity test is performed on the data source cluster.

[0078] Optionally, step S70 includes steps S71-S72: Step S71, in response to the configuration action received in the data source connection configuration area, determining the connection address, data source account and data source password of the connectivity test.

[0079] Step S72: Based on the data source account and the data source password, access the connection address to perform a connectivity test on the data source cluster.

[0080] For example, Fig.11 As shown in the figure, in the lower part of the data source cluster configuration area, there is a "Version" drop-down menu, where users can select the version of the data source, such as the version number of MinIO; the "Endpoint" input box and the "Client Address" input box are used to enter the connection address of the data source. Users can enter the Uniform Resource Locator (URL) of the server of the specified type of data source in the "Endpoint" input box. The system accesses the Uniform Resource Locator by calling the corresponding Software Development Kit (SDK) to test the connection, or enter the specified access address of the local application in the "Client Address" input box. The local application can directly access the client address to test the connection; the "accesskey" input box is used to enter the data source account; the "secretkey" input box is used to enter the data source password. After entering the above information, the user clicks the "Test Connection" button to use the data source account, data source password and connection address to initiate a connection request to the data source cluster through the corresponding communication protocol. According to the response information returned by the data source cluster, the result of the connectivity test is evaluated. If the data source cluster responds successfully and returns the expected result, the data source cluster management system determines that the connectivity test is successful. Only after the connectivity test is successful can the tenant use the storage space of at least one of its corresponding data source clusters; if the data source cluster does not respond or returns an error message, the data source cluster management system determines that the connectivity test has failed.

[0081] In this embodiment, by displaying the cluster management configuration interface, the user can complete the creation and configuration of the data source cluster on a unified interface. The operation and maintenance or development personnel only need to fill in the basic information of the data source in the cluster management configuration interface to complete the creation and connectivity test of the data source cluster. There is no need to manually write complex commands or codes, which improves the degree of management automation and reduces the cost of data source management.

[0082] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the data source management method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0083] The present application provides a data source management device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the data source management method in the above-mentioned embodiment 1.

[0084] Reference below Fig.12 , which shows a schematic diagram of the structure of a data source management device suitable for implementing the embodiment of the present application. The data source management device in the embodiment of the present application may include but is not limited to a mobile terminal such as a laptop computer and a fixed terminal such as a desktop computer. Fig.12 The data source management device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0085] like Fig.12 As shown, the data source management device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM) 1004. In the random access memory 1004, various programs and data required for the operation of the data source management device are also stored. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the data source management device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a data source management device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0086] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0087] The data source management device provided by the present application adopts the data source management method in the above embodiment, which can solve the technical problem of high data source management cost. Compared with the prior art, the beneficial effects of the data source management device provided by the present application are the same as the beneficial effects of the data source management method provided by the above embodiment, and other technical features in the data source management device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0088] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0089] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0090] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the data source management method in the above-mentioned embodiment.

[0091] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequencies (RF), etc., or any suitable combination of the above.

[0092] The computer-readable storage medium may be included in the data source management device; or may exist independently without being assembled into the data source management device.

[0093] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the data source management device, the data source management device can write computer program codes for performing the operations of the present application in one or more programming languages ​​or a combination thereof. The programming languages ​​include object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed completely on the user's computer, partially on the user's computer, or as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0094] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0095] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0096] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned data source management method, and can solve the technical problem of high data source management costs. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the data source management method provided in the above-mentioned embodiment, and will not be repeated here.

[0097] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A data source management method, characterized in that: The data source management method comprises: Display the tenant management interface; In response to a trigger action received by the tenant management interface, displaying a resource configuration interface of the tenant; In response to the configuration action received by the resource configuration interface, determining at least one data source cluster corresponding to the tenant; A workspace management interface is displayed, and in response to a configuration action received by the workspace management interface, a cluster storage space corresponding to at least one of the data source clusters is allocated to the tenant's workspace.

2. The data source management method according to claim 1, characterized in that: The tenant management interface includes a tenant search area and a tenant information display area, the tenant information display area includes at least a tenant resource configuration control, and the step of displaying the tenant resource configuration interface in response to a trigger action received by the tenant management interface includes: In response to a search action in the tenant search area, displaying tenant information of the searched tenant in the tenant information display area; In response to the triggering operation of the tenant resource configuration control, jump to and display the resource configuration interface corresponding to the tenant.

3. The data source management method according to claim 1, characterized in that: After the step of determining at least one data source cluster corresponding to the tenant in response to the configuration action received by the resource configuration interface, the method further includes: In response to the configuration action received by the resource configuration interface, a first allocated capacity of the data source cluster corresponding to the tenant is confirmed, wherein the first allocated capacity is a storage capacity of a cluster storage space corresponding to the data source cluster.

4. The data source management method according to claim 3, characterized in that: The workspace management interface includes a workspace search area and a workspace information display area of ​​the tenant, the workspace information display area includes at least a storage resource configuration control, and the step of allocating the cluster storage space corresponding to at least one of the data source clusters to the tenant's workspace in response to the configuration action received by the workspace management interface includes: In response to a search action in the workspace search area, displaying the searched tenant's workspace in the workspace information display area; In response to the triggering action of the storage resource configuration control, jump to and display the storage resource configuration interface; In response to the configuration action received by the storage resource configuration interface, the cluster storage space corresponding to the data source cluster is allocated to the workspace of the tenant.

5. The data source management method according to claim 4, characterized in that: The step of allocating the cluster storage space corresponding to the data source cluster to the tenant's workspace in response to the configuration action received by the storage resource configuration interface includes: In response to the first configuration action received by the storage resource configuration interface, determining a target data source cluster associated with the workspace, wherein the target data source cluster is any one of the data source clusters corresponding to the tenant; In response to the second configuration action received by the storage resource configuration interface, obtaining a second allocated capacity of the target cluster storage space corresponding to the target data source cluster input by a user; A storage unit is created based on the second allocated capacity, and the storage unit is allocated to the tenant's workspace, wherein the second allocated capacity is less than or equal to the first allocated capacity of the target cluster storage space, and the total allocated capacity of each of the storage units associated with the target data source cluster is less than or equal to the storage capacity of the target data source cluster.

6. The data source management method according to claim 1, characterized in that: Before the step of displaying the tenant management interface, the method further includes: Displaying a cluster management configuration interface, wherein the cluster management configuration interface includes a data source cluster configuration area and a data source connection configuration area; In response to the configuration action received by the data source cluster configuration area, create the data source cluster; In response to the configuration action received by the data source connection configuration area, a connectivity test is performed on the data source cluster.

7. The data source management method according to claim 6, characterized in that: In response to the configuration action received by the data source cluster configuration area, the step of creating the data source cluster includes: In response to the configuration action received by the data source cluster configuration area, determine the cluster name, cluster type and data source type of the data source cluster; The data source cluster is created based on the cluster name, the cluster type, and the data source type.

8. The data source management method according to claim 6, characterized in that: The step of performing connectivity testing on the data source cluster in response to the configuration action received by the data source connection configuration area includes: In response to the configuration action received by the data source connection configuration area, determining the connection address, data source account number and data source password of the connectivity test; Based on the data source account and the data source password, the connection address is accessed to perform a connectivity test on the data source cluster.

9. A data source management device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the data source management method according to any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the data source management method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Multi-tenant management system and implementation method of multi-tenant management system

    CN111259378A

  • Multi-chain system and method for improving blockchain expansibility

    CN111597228A

  • Cluster resource allocation method and device and storage medium

    CN116126542A

  • Page display method and device, equipment and storage medium

    CN117093797A