Data component management method, device, system, electronic device and storage medium

By applying for and binding data component resources on the cloud management platform and generating certification information, the convenience and logout problems of big data component resource management are solved, and efficient resource management and offline operations in the big data environment are realized.

CN113312179BActive Publication Date: 2024-08-30TRAVELSKY TECHNOLOGY LIMITED
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110610191.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-01
Publication Date
2024-08-30
Estimated Expiration
2041-06-01

AI Technical Summary

Technical Problem

The existing technology makes it difficult to quickly and conveniently apply for and manage big data component resources, especially when the demand for storage, analysis, and retrieval of large data increases, and there is a lack of effective resource logout and offline operations.

Method used

Provide a data component resource management method that receives project application requests from business parties through the cloud management platform, binds and generates authentication information and resource information, allows business parties to use data components on the big data platform, and perform resource backup when offline and delete.

Benefits of technology

It enables business parties to apply for and use big data component resources quickly and conveniently, and without affecting system stability, it also realizes the cancellation and offline operation of expired resources, improving the efficiency and flexibility of resource management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113312179B
    Figure CN113312179B
Patent Text Reader

Abstract

The present application provides a data component management method, device, system, electronic device and storage medium, which receive a data operation request sent by a business party when logging into a big data platform based on authentication information, wherein the authentication information is generated when the business party applies for a target data acquisition component on a cloud management platform; use a target data acquisition component to collect data, use a target data transmission component to transfer data to a target data processing component, and enable the target data processing component to process the data; back up the target resource information of the target data component corresponding to the offline request of the data component sent by the received business party, delete the target resource information, and send the generated offline information to the cloud management platform, wherein the target resource information is generated when the business party applies for the target data component on the cloud management platform. The present invention enables the business party to quickly and conveniently apply for and use data components, and to cancel and offline expired data components.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and more specifically, to a data component management method, device, system, electronic device and storage medium. Background Art

[0002] With the continuous development of information technology, the world has entered the "big data era". Data in every industry is growing exponentially, and traditional databases can no longer meet the current needs of storing, analyzing, and retrieving large amounts of data, which has spawned many big data components and formed the Hadoop ecosystem.

[0003] Therefore, with the current increasing business needs and the continuous development of the big data field, how to provide a method for business parties to quickly and conveniently apply for and use big data component resources, and to cancel and deregister expired big data component resources, is an urgent problem that this application needs to solve. Summary of the invention

[0004] In view of this, the present invention provides a data component resource management method, device, system, electronic device and storage medium, so as to enable business parties to quickly and conveniently apply for and use data components, and to cancel and deregister expired data components.

[0005] A first aspect of the present invention discloses a data component management method, which is applied to a big data platform. The method comprises:

[0006] Receiving a data operation request sent by a business party when logging into the big data platform based on authentication information, wherein the data operation request includes a target data collection component selected by the business party, and the authentication information is generated when the business party applies for the target data collection component on the cloud management platform;

[0007] The target data acquisition component is used to collect data, and the target data transmission component is used to transmit the data to the target data processing component, so that the target data processing component processes the data, wherein the target data transmission component is a data transmission component bound to the target data acquisition component, and the target data processing component is a data processing component bound to the target data transmission component;

[0008] When a data component offline request is received from the business party, the target resource information of the target data component corresponding to the data component offline request is backed up, the target resource information is deleted, and the generated offline information is sent to the cloud management platform, wherein the target resource information is generated by the business party when applying for the target data component on the cloud management platform.

[0009] A second aspect of the present invention discloses a data component management method, which is applied to a cloud management platform. The method comprises:

[0010] Receive a project application request sent by a business party to apply for a corresponding data component, wherein the project application request at least includes a project name, the project name is applied by the business party when applying for a business name, and the data component is a data collection component, a data transmission component or a data processing component;

[0011] Apply for a corresponding data component based on the project name, bind the data component with other data components, and generate authentication information and resource information related to the data component, wherein, if the data component is the data acquisition component, the other data components are the data transmission components related to the data acquisition component under the authority of the business party; if the data component is the data transmission component, the other data components are the data acquisition component or the data processing component related to the data transmission component under the authority of the business party; if the data component is the data processing component, the other data components are the data transmission components related to the data processing component under the authority of the business party;

[0012] The authentication information and the resource information are sent to the big data platform, and the authentication information and the resource information are returned to the business party, so that the business party logs in to the big data platform based on the authentication information to perform data operations on the data components.

[0013] A third aspect of the present invention discloses a data component management device, which is applied to a big data platform. The device includes:

[0014] A first receiving unit is used to receive a data operation request sent by a business party when logging into the big data platform based on authentication information, wherein the data operation request includes a target data collection component selected by the business party, and the authentication information is generated by the business party when applying for the data collection component on the cloud management platform;

[0015] a processing unit, configured to use the target data acquisition component to acquire data, and to use a target data transmission component to transmit the data to a target data processing component, so that the target data processing component processes the data, wherein the target data transmission component is a data transmission component bound to the target data acquisition component, and the target data processing component is a data processing component bound to the target data transmission component;

[0016] The first offline unit, when receiving a data component offline request sent by the business party, backs up the target resource information of the target data component corresponding to the data component offline request, deletes the target resource information, and sends the generated offline information to the cloud management platform, wherein the target resource information is generated by the business party when applying for the target data component on the cloud management platform.

[0017] A fourth aspect of the present invention discloses a data component management device, which is applied to a cloud management platform. The device includes:

[0018] A second receiving unit is used to receive a project application request sent by a business party to apply for a corresponding data component, wherein the project application request at least includes a project name, the project name is applied by the business party when applying for a business name, and the data component is a data collection component, a data transmission component or a data processing component;

[0019] An application unit, used for applying for a corresponding data component based on the project name, binding the data component with other data components, and generating authentication information and resource information related to the data component, wherein, if the data component is the data acquisition component, the other data components are the data transmission components related to the data acquisition component under the authority of the business party; if the data component is the data transmission component, the other data components are the data acquisition component or the data processing component related to the data transmission component under the authority of the business party; if the data component is the data processing component, the other data components are the data transmission components related to the data processing component under the authority of the business party;

[0020] A sending unit is used to send the authentication information and the resource information to the big data platform, and return the authentication information and the resource information to the business party, so that the business party can log in to the big data platform based on the authentication information to perform data operations on the data components.

[0021] A fifth aspect of the present invention discloses a data component management system, the system comprising:

[0022] The cloud management platform is used to receive a project application request sent by a business party to apply for a corresponding data component; apply for a corresponding data component based on the project name, bind the data component with other data components, and generate authentication information and resource information related to the data component; send the authentication information and the resource information to the big data platform, and return the authentication information and the resource information to the business party, so that the business party logs in to the big data platform based on the authentication information to perform data operations on the data component;

[0023] Wherein, the project application request at least includes a project name, and the project name is applied for by the business party when applying for a business name; the data component is a data acquisition component, a data transmission component or a data processing component; if the data component is the data acquisition component, the other data components are the data transmission components related to the data acquisition component under the authority of the business party; if the data component is the data transmission component, the other data components are the data acquisition component or the data processing component related to the data transmission component under the authority of the business party; if the data component is the data processing component, the other data components are the data transmission components related to the data processing component under the authority of the business party;

[0024] A big data platform is used to receive a data operation request sent by the business party when logging into the big data platform based on the authentication information; use the target data acquisition component to collect data, and use the target data transmission component to transmit the data to the target data processing component, so that the target data processing component processes the data; when receiving a data component offline request sent by the business party, back up the target resource information of the target data component corresponding to the data component download request, delete the target resource information, and send the generated offline information to the cloud management platform, wherein the data operation request includes the target data acquisition component selected by the business party, the authentication information is generated when the business party applies for the target data acquisition component on the cloud management platform, the target data transmission component is a data transmission component bound to the target data acquisition component, the target data processing component is a data processing component bound to the target data transmission component, and the target resource information is generated when the business party applies for the target data component on the cloud management platform.

[0025] The sixth aspect of the present invention discloses an electronic device, comprising: a processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; and the memory is used to store a program, wherein the program is used to implement the data component management method disclosed in the first aspect of the present invention or to implement the data component management method disclosed in the second aspect of the present invention.

[0026] The seventh aspect of the present invention discloses a computer-readable storage medium, in which computer-executable instructions are stored. The computer-executable instructions are used to execute the data component management method disclosed in the first aspect of the present invention or the data component management method disclosed in the second aspect of the present invention.

[0027] The present invention provides a data component management method, device, system, electronic device and storage medium. When a cloud management platform receives a project application request sent by a business party, the cloud management platform applies for a corresponding data component for the business party based on the project application request, binds the applied data component with other data components related to the data component under the authority of the business party, and generates authentication information and resource information related to the data component, so as to send the authentication information and resource information related to the data component to the business party and a big data platform; when the big data platform receives a data operation request sent by the business party when logging into the big data platform based on authentication information, the cloud management platform uses a target data acquisition component corresponding to the data operation request to collect data, and uses a target data transmission component bound to the target data acquisition component to transmit the collected data to a target data processing component bound to the target data transmission component, so that the target data processing component processes the data; when a data component offline request sent by the business party is received, the target resource information of the target data component corresponding to the data component offline request is backed up, the target resource information is deleted, and the generated offline information is sent to the cloud management platform to notify the cloud management platform that the target data component has been offline. Based on the technical solution provided by the present invention, the business party can apply for the corresponding data components through the cloud management platform, and after the application is successful, log in to the big data platform based on the authentication information related to the applied data components fed back by the cloud management platform, so as to use the applied data components on the big data platform or offline the corresponding data components. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present invention 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, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0029] The above and other features, advantages and aspects of the embodiments disclosed in the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0030] Figure 1 A flowchart of a data component management method provided by an embodiment of the present invention;

[0031] Figure 2 A schematic diagram of a flow chart of another data component management method provided by an embodiment of the present invention;

[0032] Figure 3A schematic diagram of a flow chart of another data component management method provided by an embodiment of the present invention;

[0033] Figure 4 A schematic diagram of the structure of a data component management device provided by an embodiment of the present invention;

[0034] Figure 5 A structural diagram of another data component management device provided by an embodiment of the present invention

[0035] Figure 6 A schematic diagram of the structure of a data component management system provided by an embodiment of the present invention;

[0036] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.

[0038] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0039] It should be noted that the concepts such as "first" and "second" mentioned in the disclosure of the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0040] It should be noted that the modifications of "one" and "plurality" mentioned in the disclosure of the present invention are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0041] See also Figure 1 , shows a flow chart of a data component management method provided by an embodiment of the present invention, the data component management method specifically comprises the following steps:

[0042] S101: The business party sends a project application request to the cloud management platform, wherein the project application request at least includes a project name, and the project name is applied for by the business party when applying for a business name.

[0043] In the specific process of executing step S101, before sending a project application request to the cloud management platform, the business party may first send a service application to the cloud management platform. After receiving the service application sent by the business party, the cloud management platform may apply for the corresponding service for the business party according to the service name of the received service application. After applying for the service, the business party may send a project application request to the cloud management platform under the applied service.

[0044] It should be noted that the project application request includes the project requested by the business party. One project corresponds to a data component, and the data component can be a data acquisition component, a data transmission component, a data processing component, a data storage component, or a data display component.

[0045] Among them, the data collection component can be a Flume data collection component, a Filebeat data collection component, a logstash data collection component, etc. The Flume data collection component mainly realizes data collection, aggregation, and movement for business scenarios, etc.; the Filebeat data collection component mainly realizes the monitoring of the log directory or the specified directory, and tracks and reads the specified directory files; the logstash data collection component mainly realizes the collection and conversion of data from multiple sources.

[0046] The data transmission component can be a Kafka (SCRAM) data transmission component, a Kafka (PLAN) data transmission component, a Kafka (KERBEROS) data transmission component, etc. The Kafka (SCRAM) data transmission component does not support the transmission of data collected by the Filebeat data collection component, but supports the transmission of data collected by the Flume data collection component and the logstash data collection component; the Kafka (PLAN) data transmission component only supports the transmission of data collected by the Filebeat data collection component; the Kafka (KERBEROS) data transmission component supports the transmission of data collected by any data collection component, but the configuration is relatively complex.

[0047] The data processing component may be a Storm data processing component, a Spark data processing component, or a Flink data processing component. All three data processing components may process data transmitted by any data transmission book.

[0048] The data storage component can be a Hadoop data storage component, an HBase data storage component, a Hive data storage component, etc. These three data storage components can store data transmitted by any data transmission component. Among them, the Hadoop data storage component includes a Yarn data storage component and an HDFS data storage component.

[0049] The data display components may be Kibana data display components, Kibana data display data, and the like. These two data display components may display data transmitted by any data transmission component.

[0050] It should also be noted that the business party can also add a project leader, a maintenance leader, the resource type corresponding to the data component of the requested project, the resource ID corresponding to the data component of the requested project, the user name and the corresponding password in the project application request, so that after applying for the corresponding data component, the authentication information related to the data component can be generated according to the user name and password, and the generated authentication information can be sent to the project leader and the big data platform.

[0051] S102: The cloud management platform applies for a corresponding data component based on the project name in the project application request received from the business party, binds the data component with other data components, and generates authentication information and resource information related to the data component.

[0052] In the specific process of executing step S102, after receiving the project application request sent by the business party, the cloud management platform applies for the corresponding data component based on the project name in the project application request, binds the applied data component with other data components related to the data component under the authority of the business party in the form of code, and generates authentication information and resource information related to the data component.

[0053] In an embodiment of the present application, the cloud management platform can generate authentication information based on the username and password in the project application request, and generate corresponding resource information based on the resource type, resource ID and work order number of the cloud management platform corresponding to the data component corresponding to the requested project.

[0054] In the application embodiment, if the project application request sent by the business party requests to apply for the Flink data processing component, then before applying for the Flink data processing component, it is necessary to apply for the Yarn data storage component first, and after successfully applying for the Yarn data storage component, apply for the Flink data processing component. The application process of the Yarn data storage component and the Flink data processing component can refer to the above-mentioned data component application process, which will not be repeated here.

[0055] It should be noted that, if the data component is a data acquisition component, other data components are data transmission components related to the data acquisition component under the authority of the business party; if the data component is a data transmission component, other data components are data acquisition components, data processing components, data storage components or data display components related to the data transmission component under the authority of the business party; if the data component is a data processing component, other data components are data transmission components related to the data processing component under the authority of the business party; if the data component is a data storage component, other data components are data transmission components related to the data storage component under the authority of the business party; if the data component is a data display component, other data components are data transmission components related to the data display component under the authority of the business party.

[0056] For example, the data component of the project application request sent by the business party is the Kafka (PLAN) data transmission component, and the data components under the business party's authority are the Filebeat data collection component, the logstash data collection component, and the Flink data processing component. When receiving the project application request sent by the business party, apply for the Kafka (PLAN) data transmission component for the business party based on the project application request, bind the Kafka (PLAN) data transmission component to the Filebeat data collection component and the Flink data processing component in the form of code, and generate authentication information and resource information related to the Kafka (PLAN) data transmission component based on the received project application request, so as to send the generated authentication information and resource information to the project leader and business party indicated in the project application request.

[0057] S103: The cloud management platform returns the authentication information and resource information to the business party.

[0058] During the specific execution of S103, the cloud management platform applies for corresponding data components based on the project name in the project application request received from the business party, and after generating authentication information and resource information related to the data components, the cloud management platform can send the big data platform website, authentication information and resource information to the business party or the project leader in the project application request by calling the big data platform interface, so that the business party or the project leader can log in to the big data platform through the big data platform website and authentication information, use the corresponding data components or offline the corresponding data components.

[0059] S104: The cloud management platform sends the authentication information and resource information to the big data platform.

[0060] During the specific execution of S104, the cloud management platform applies for the corresponding data component based on the project name in the project application request received from the business party, and after generating authentication information and resource information related to the data component, the cloud management platform can synchronize the authentication information and resource information to the big data platform by calling the big data platform interface, so that the big data platform can store the authentication information and resource information related to the data component in the main library.

[0061] S105: After logging into the big data platform based on the authentication information, the business party sends a data operation request to the big data platform, wherein the data operation request includes a target data collection component selected by the business party.

[0062] During the specific execution of step S105, the business party can log in to the big data platform using the user name and password in the authentication information corresponding to the data collection component that the business party wants to use. After successfully logging in to the big data platform, the business party can select the data collection component corresponding to the authentication information for data collection. After the business party determines the selected data collection component, it can send a data operation request by clicking the selected data collection component.

[0063] It should be noted that after the business party successfully logs in to the big data platform based on the authentication information, they can also choose the data storage component, data storage component or data display component that corresponds to the authentication information that they want to use.

[0064] S106: The big data platform uses a target data acquisition component to collect data, and uses a target data transmission component to transfer data to a target data processing component, so that the target data processing component processes the data, wherein the target data transmission component is a data transmission component bound to the target data acquisition component, and the target data processing component is a data processing component bound to the target data transmission component.

[0065] During the specific execution of step S106, after receiving the data operation request sent by the business party, the big data platform can use the data collection component corresponding to the data operation request (for the sake of distinction, the data collection component corresponding to the data operation request is called the target data collection component) to collect corresponding data.

[0066] After the corresponding data is collected, the data transmission component bound to the target data collection component (for the sake of distinction, the data transmission component bound to the target data collection component is called the target data transmission component) is further used to transmit the collected data to the data processing component bound to the target data transmission component (for the sake of distinction, the data processing component bound to the target data transmission component is called the target data processing component), so that the target data processing component processes the received data.

[0067] In an embodiment of the present application, after the target data processing component processes the received data, the processed data can be further transmitted through the target data transmission component to a data storage component bound to the target data transmission component for data storage, or transmitted to a data display component bound to the target data transmission component for data display.

[0068] S107: The business direction sends a data component offline request to the big data platform, wherein the data component offline request includes a target data component requested to be offlined.

[0069] During the specific execution of step S107, when the business direction takes offline the previously applied data component, the big data platform can be logged in through the corresponding authentication information, and the data component to be taken offline can be clicked on the big data platform (for the sake of distinction, the data component clicked on the big data platform to be taken offline is called the target data component).

[0070] S108: The big data platform backs up the target resource information of the target data component corresponding to the data component offline request, and deletes the target resource information.

[0071] In the process of specifically executing step S108, a preset data table is pre-set, and the preset data table is pre-set in the backup database of the big data platform; when the big data platform receives a data component offline request sent by the business party, the target resource information related to the target data component is backed up to the pre-set preset data table, and the request type of the target data component in the preset data table is set to the offline type, and the target resource information corresponding to the target data component in the main database is deleted.

[0072] In an embodiment of the present application, after backing up the target resource information related to the target data component to a preset data table, the preset data table in the backup database is locked, so that before the lock time reaches the preset time, if the business party wants to restore the resource information of the target data component, the target resource information in the backup database can be restored to the main database, the request type of the target data component in the preset data table of the backup database is modified to the non-offline type, and the automatic scanning program is canceled. When the lock time reaches the preset time, if no user recovery request is received, the preset data table is automatically scanned, the request type of the target data component is modified to offline, and the work order number of the cloud management platform corresponding to the target data component is obtained from the target resource management information of the target data component, and the offline information corresponding to the target data component is generated, and the generated offline information is sent to the cloud management platform corresponding to the work order number of the cloud management platform, so as to notify the cloud management platform that the target data component has been offline.

[0073] It should be noted that the preset time can be 7 days, and can be set according to actual applications, and is not limited in the embodiments of the present application.

[0074] It should be noted that if the target resource information includes business generation data, the lock time of the business generation data in the target resource information in the preset data table in the standby database can be further set to 3 months. It can be set according to actual application and is not limited in the embodiment of the present application.

[0075] In an embodiment of the present application, if the target data component corresponding to the data component offline request is the Flink data processing component, the way for the big data platform to back up the target resource information of the target data component corresponding to the data component offline request can be: determine whether there is a job currently running on the big data platform; if there is no job currently running on the big data platform, back up the target resource information of the Flink data processing component to the preset data table, and delete the target resource information of the Flink data processing component in the main database; if there is a job currently running on the big data platform, after deleting the currently running job, back up the target resource information of the Flink data processing component to the preset data table, and delete the target resource information of the Flink data processing component in the main database.

[0076] The preset data table in the standby database is locked so that before the lock time reaches the preset time, if the business party wants to restore the resource information of the Flink data processing component, the resource information of the Flink data processing component in the standby database can be restored to the main database. When the lock time reaches the preset time, if no user recovery request is received, the preset data table is scanned, the request type of the Flink data processing component is changed to offline, and the work order number of the cloud management platform corresponding to the target data component is obtained from the target resource management information of the Flink data processing component, and the offline information corresponding to the Flink data processing component is generated, and the generated offline information is sent to the cloud management platform corresponding to the work order number of the cloud management platform, so as to notify the cloud management platform that the Flink data processing component has been offline.

[0077] In an embodiment of the present application, if the target data component corresponding to the data component offline request is the Hadoop data processing component, the big data platform may back up the target resource information of the target data component corresponding to the data component offline request by: determining whether the business party has applied for the Flink data processing component; if the business party has applied for the Flink data processing component, after offline processing of the Flink data processing component, adding a preset field to the directory name corresponding to the Hadoop data storage component; deleting the Yarn data storage component in the Hadoop data storage component, backing up the resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted to a preset data table, and preparing for deletion the resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted in the main database.

[0078] If the business party has not applied for the Flink data processing component, you can directly add a preset field to the directory name corresponding to the Hadoop data storage component, delete the Yarn data storage component in the Hadoop data storage component, back up the resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted to the preset data table, and prepare to delete the resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted in the main database.

[0079] The preset data table in the backup database is locked so that before the lock time reaches the preset time, if the business party wants to restore the resource information of the Hadoop data storage component, the resource information of the Hadoop data storage component in the backup database can be restored to the main database. When the lock time reaches the preset time, if no user recovery request is received, the preset data table is scanned, the request type of the Hadoop data storage component is modified to offline, and the work order number of the cloud management platform corresponding to the target data component is obtained from the target resource management information of the Hadoop data storage component, and the offline information corresponding to the Hadoop data storage component is generated, and the generated offline information is sent to the cloud management platform corresponding to the work order number of the cloud management platform, so as to notify the cloud management platform that the Hadoop data storage component has been offline.

[0080] It should be noted that the preset field may be "_DEL". It may be set according to actual application and is not limited in the embodiment of the present application.

[0081] In an embodiment of the present application, if the target data component corresponding to the data component offline request is the HBase data storage component, the big data platform can back up the target resource information of the target data component corresponding to the data component offline request by: revoking the namespace permission of the HBase data storage component, and revoking the namespace permission of the business party to the HBase data storage component; backing up the resource information of the HBase data storage component to the preset data table, and deleting the resource information of the HBase data storage component in the main library.

[0082] The preset data table in the standby database is locked so that before the lock time reaches the preset time, if the business party wants to restore the resource information of the HBase data storage component, the resource information of the HBase data storage component in the standby database can be restored to the main database. When the lock time reaches the preset time, if no user recovery request is received, the preset data table is scanned, the request type of the HBase data storage component is changed to offline, and the work order number of the cloud management platform corresponding to the target data component is obtained from the target resource management information of the HBase data storage component, and the offline information corresponding to the HBase data storage component is generated, and the generated offline information is sent to the cloud management platform corresponding to the work order number of the cloud management platform, so as to notify the cloud management platform that the HBase data storage component has been offline.

[0083] S109: Send the generated offline information to the cloud management platform.

[0084] During the specific execution of step S109, the big data platform backs up the target resource information of the target data component corresponding to the data component offline request, deletes the target resource information, obtains the work order number of the cloud management platform corresponding to the target data component from the target resource management information of the target data component in the preset data table of the backup library, generates offline information corresponding to the target data component, and sends the generated offline information to the cloud management platform corresponding to the work order number of the cloud management platform to notify the cloud management platform that the target data component has been offline.

[0085] The present invention provides a data component management method. When a cloud management platform receives a project application request sent by a business party, the cloud management platform applies for a corresponding data component for the business party based on the project application request, binds the applied data component with other data components related to the data component under the authority of the business party, and generates authentication information and resource information related to the data component, so as to send the authentication information and resource information related to the data component to the business party and the big data platform; when the big data platform receives a data operation request sent by the business party when logging into the big data platform based on authentication information, the cloud management platform uses a target data acquisition component corresponding to the data operation request to collect data, and uses a target data transmission component bound to the target data acquisition component to transmit the collected data to a target data processing component bound to the target data transmission component, so that the target data processing component processes the data; when a data component offline request sent by the business party is received, the target resource information of the target data component corresponding to the data component offline request is backed up, the target resource information is deleted, and the generated offline information is sent to the cloud management platform to notify the cloud management platform that the target data component has been offline. Based on the technical solution provided by the present invention, the business party can apply for the corresponding data components through the cloud management platform, and after the application is successful, log in to the big data platform based on the authentication information related to the applied data components fed back by the cloud management platform, so as to use the applied data components on the big data platform or offline the corresponding data components.

[0086] The data component management method provided by the embodiment of the present invention is introduced from the perspectives of a big data platform and a cloud management platform respectively.

[0087] See also Figure 2 , shows a flow chart of another data component management method provided by an embodiment of the present invention, the information transmission method is applied to a cloud management platform, and specifically includes the following steps:

[0088] S201: Receive a project application request sent by a business party to apply for corresponding data components, wherein the project application request at least includes a project name, the project name is applied by the business party when applying for a business name, and the data component is a data collection component, a data transmission component or a data processing component.

[0089] In the specific process of executing step S201, before sending a project application request to the cloud management platform, the business party may first send a service application to the cloud management platform. After receiving the service application sent by the business party, the cloud management platform may apply for the corresponding service for the business party according to the service name of the received service application. After applying for the service, the business party may send a project application request to the cloud management platform under the applied service.

[0090] It should be noted that the project application request includes the project requested by the business party. One project corresponds to a data component, and the data component can be a data acquisition component, a data transmission component, a data processing component, a data storage component, or a data display component.

[0091] It should also be noted that the business party can also add a project leader, a maintenance leader, the resource type corresponding to the data component of the requested project, the resource ID corresponding to the data component of the requested project, the user name and the corresponding password in the project application request, so that after applying for the corresponding data component, the authentication information related to the data component can be generated according to the user name and password, and the generated authentication information can be sent to the project leader and the big data platform.

[0092] S202: Apply for a corresponding data component based on the project name, bind the data component with other data components, and generate authentication information and resource information related to the data component.

[0093] In the specific process of executing step S202, after receiving the project application request sent by the business party, the cloud management platform applies for the corresponding data component based on the project name in the project application request, binds the applied data component with other data components related to the data component under the authority of the business party in the form of code, and generates authentication information and resource information related to the data component.

[0094] In an embodiment of the present application, the cloud management platform can generate authentication information based on the username and password in the project application request, and generate corresponding resource information based on the resource type, resource ID and work order number of the cloud management platform corresponding to the data component corresponding to the requested project.

[0095] In the application embodiment, if the project application request sent by the business party requests to apply for the Flink data processing component, then before applying for the Flink data processing component, it is necessary to apply for the Yarn data storage component first, and after successfully applying for the Yarn data storage component, apply for the Flink data processing component. The application process of the Yarn data storage component and the Flink data processing component can refer to the above-mentioned data component application process, which will not be repeated here.

[0096] It should be noted that, if the data component is a data acquisition component, other data components are data transmission components related to the data acquisition component under the authority of the business party; if the data component is a data transmission component, other data components are data acquisition components, data processing components, data storage components or data display components related to the data transmission component under the authority of the business party; if the data component is a data processing component, other data components are data transmission components related to the data processing component under the authority of the business party; if the data component is a data storage component, other data components are data transmission components related to the data storage component under the authority of the business party; if the data component is a data display component, other data components are data transmission components related to the data display component under the authority of the business party.

[0097] S203: Send the authentication information and resource information to the big data platform, and return the authentication information and resource information to the business party, so that the business party can log in to the big data platform based on the authentication information to perform data operations on the data components.

[0098] In the process of specifically executing step S203, after the cloud management platform applies for the corresponding data component based on the project name in the project application request received from the business party and generates authentication information and resource information related to the data component, the cloud management platform can send the big data platform website, authentication information and resource information to the business party or the project leader in the project application request, the business party and the big data platform by calling the big data platform interface, so that the business party or the project leader can log in to the big data platform through the big data platform website and authentication information, use the corresponding data component or offline the corresponding data component, and so that the big data platform can store the authentication information and resource information related to the data component in the main library.

[0099] The specific process of the business party or project leader logging into the big data platform through the big data platform website and authentication information, using the corresponding data component or offline corresponding data component can be referred to the above embodiment of the present invention. Figure 1 The disclosed steps S105 to S109 will not be described in detail here.

[0100] The present invention provides a data component management method. When a cloud management platform receives a project application request sent by a business party, the cloud management platform applies for a corresponding data component for the business party based on the project application request, binds the applied data component with other data components related to the data component under the authority of the business party, and generates authentication information and resource information related to the data component, so as to send the authentication information and resource information related to the data component to the business party and the big data platform; after the data component application is successful, the business party can log in to the big data platform based on the authentication information related to the applied data component fed back by the cloud management platform, so as to use the applied data component on the big data platform or offline the corresponding data component. Based on the technical solution provided by the present invention, the business party can apply for the corresponding data component through the cloud management platform, and after the application is successful, log in to the big data platform based on the authentication information related to the applied data component fed back by the cloud management platform, so as to use the applied data component on the big data platform or offline the corresponding data component.

[0101] See also Figure 3 , shows a flow chart of another data component management method provided by an embodiment of the present invention, the data component management method is applied to a big data platform, and specifically includes the following steps:

[0102] S301: Receive a data operation request sent by a business party when logging into the big data platform based on authentication information, wherein the data operation request includes a target data collection component selected by the business party, and the authentication information is generated when the business party applies for the target data collection component on the cloud management platform.

[0103] During the specific execution of step S301, the business party can log in to the big data platform using the user name and password in the authentication information corresponding to the data collection component that the business party wants to use. After successfully logging in to the big data platform, the business party can select the data collection component corresponding to the authentication information for data collection. After the business party determines the selected data collection component, it can send a data operation request by clicking the selected data collection component.

[0104] In the embodiment of the present application, the authentication information is generated when the business party generates the data component corresponding to the application project on the cloud management platform. The specific process of generating the corresponding authentication information when the business party generates the data component corresponding to the application project on the cloud management platform can be referred to in the above embodiment of the present invention. Figure 3 The public data component management method will not be described in detail here.

[0105] S302: Use the target data acquisition component to collect data, and use the target data transmission component to transmit the data to the target data processing component, so that the target data processing component processes the data.

[0106] During the specific execution of step S302, after receiving the data operation request sent by the business party based on the authentication information, the big data platform can use the data collection component corresponding to the data operation request (for the sake of distinction, the data collection component corresponding to the data operation request is called the target data collection component) to collect the corresponding data.

[0107] After the corresponding data is collected, the data transmission component bound to the target data collection component (for the sake of distinction, the data transmission component bound to the target data collection component is called the target data transmission component) is further used to transmit the collected data to the data processing component bound to the target data transmission component (for the sake of distinction, the data processing component bound to the target data transmission component is called the target data processing component), so that the target data processing component processes the received data.

[0108] In an embodiment of the present application, after the target data processing component processes the received data, the processed data can be further transmitted through the target data transmission component to a data storage component bound to the target data transmission component for data storage, or transmitted to a data display component bound to the target data transmission component for data display.

[0109] S303: When a data component offline request is received from the business party, the target resource information of the target data component corresponding to the data component offline request is backed up, the target resource information is deleted, and the generated offline information is sent to the cloud management platform, wherein the target resource information is generated when the business party applies for the target data component on the cloud management platform.

[0110] In the process of specifically executing step S303, a preset data table is pre-set, and the preset data table is pre-set in the backup database of the big data platform; when the big data platform receives a data component offline request sent by the business party, the target resource information related to the target data component is backed up to the pre-set preset data table, and the request type of the target data component in the preset data table is set to the offline type, and the target resource information corresponding to the target data component in the main database is deleted.

[0111] The preset data table in the backup database is locked so that before the lock time reaches the preset time, if the business party wants to restore the resource information of the target data component, the target resource information in the backup database can be restored to the main database, the request type of the target data component in the preset data table of the backup database is modified to the non-offline type, and the automatic scanning program is canceled. When the lock time reaches the preset time, if no user recovery request is received, the preset data table is automatically scanned, the request type of the target data component is modified to offline, and the work order number of the cloud management platform corresponding to the target data component is obtained from the target resource management information of the target data component, and the offline information corresponding to the target data component is generated, and the generated offline information is sent to the cloud management platform corresponding to the work order number of the cloud management platform, so as to notify the cloud management platform that the target data component has been offline.

[0112] In the embodiment of the present application, the target resource information is generated when the business party applies for the target data component on the cloud management platform. The specific process of generating the corresponding resource information when the business party applies for the target data component on the cloud management platform can be referred to in the above embodiment of the present invention. Figure 3 The public data component management method will not be described in detail here.

[0113] In an embodiment of the present application, if the target data component corresponding to the data component offline request is the Flink data processing component, the way for the big data platform to back up the target resource information of the target data component corresponding to the data component offline request can be: determine whether there is a job currently running on the big data platform; if there is no job currently running on the big data platform, back up the target resource information of the Flink data processing component to the preset data table, and delete the target resource information of the Flink data processing component in the main database; if there is a job currently running on the big data platform, after deleting the currently running job, back up the target resource information of the Flink data processing component to the preset data table, and delete the target resource information of the Flink data processing component in the main database.

[0114] The preset data table in the standby database is locked so that before the lock time reaches the preset time, if the business party wants to restore the resource information of the Flink data processing component, the resource information of the Flink data processing component in the standby database can be restored to the main database. When the lock time reaches the preset time, if no user recovery request is received, the preset data table is scanned, the request type of the Flink data processing component is changed to offline, and the work order number of the cloud management platform corresponding to the target data component is obtained from the target resource management information of the Flink data processing component, and the offline information corresponding to the Flink data processing component is generated, and the generated offline information is sent to the cloud management platform corresponding to the work order number of the cloud management platform, so as to notify the cloud management platform that the Flink data processing component has been offline.

[0115] In an embodiment of the present application, if the target data component corresponding to the data component offline request is the Hadoop data processing component, the big data platform may back up the target resource information of the target data component corresponding to the data component offline request by: determining whether the business party has applied for the Flink data processing component; if the business party has applied for the Flink data processing component, after offline processing of the Flink data processing component, adding a preset field to the directory name corresponding to the Hadoop data storage component; deleting the Yarn data storage component in the Hadoop data storage component, backing up the resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted to a preset data table, and preparing for deletion the resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted in the main database.

[0116] If the business party has not applied for the Flink data processing component, you can directly add a preset field to the directory name corresponding to the Hadoop data storage component, delete the Yarn data storage component in the Hadoop data storage component, back up the resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted to the preset data table, and prepare to delete the resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted in the main database.

[0117] The preset data table in the backup database is locked so that before the lock time reaches the preset time, if the business party wants to restore the resource information of the Hadoop data storage component, the resource information of the Hadoop data storage component in the backup database can be restored to the main database. When the lock time reaches the preset time, if no user recovery request is received, the preset data table is scanned, the request type of the Hadoop data storage component is modified to offline, and the work order number of the cloud management platform corresponding to the target data component is obtained from the target resource management information of the Hadoop data storage component, and the offline information corresponding to the Hadoop data storage component is generated, and the generated offline information is sent to the cloud management platform corresponding to the work order number of the cloud management platform, so as to notify the cloud management platform that the Hadoop data storage component has been offline.

[0118] In an embodiment of the present application, if the target data component corresponding to the data component offline request is the HBase data storage component, the big data platform can back up the target resource information of the target data component corresponding to the data component offline request by: revoking the namespace permission of the HBase data storage component, and revoking the namespace permission of the business party to the HBase data storage component; backing up the resource information of the HBase data storage component to the preset data table, and deleting the resource information of the HBase data storage component in the main library.

[0119] The preset data table in the standby database is locked so that before the lock time reaches the preset time, if the business party wants to restore the resource information of the HBase data storage component, the resource information of the HBase data storage component in the standby database can be restored to the main database. When the lock time reaches the preset time, if no user recovery request is received, the preset data table is scanned, the request type of the HBase data storage component is changed to offline, and the work order number of the cloud management platform corresponding to the target data component is obtained from the target resource management information of the HBase data storage component, and the offline information corresponding to the HBase data storage component is generated, and the generated offline information is sent to the cloud management platform corresponding to the work order number of the cloud management platform, so as to notify the cloud management platform that the HBase data storage component has been offline.

[0120] The present invention provides a data component management method. After the business party successfully applies for a data component on a cloud management platform, the business party can log in to a big data platform based on the authentication information corresponding to the data component fed back by the cloud management platform; when the big data platform receives a data operation request sent by the business party when logging in to the big data platform based on the authentication information, the target data acquisition component corresponding to the data operation request is used to collect data, and the target data transmission component bound to the target data acquisition component is used to transmit the collected data to the target data processing component bound to the target data transmission component, so that the target data processing component processes the data; when a data component offline request sent by the business party is received, the target resource information of the target data component corresponding to the data component offline request is backed up, the target resource information is deleted, and the generated offline information is sent to the cloud management platform to notify the cloud management platform that the target data component has been offline. Based on the technical solution provided by the present invention, the business party applies for the corresponding data component on the cloud management platform, and after the application is successful, the business party can log in to the big data platform based on the authentication information related to the applied data component fed back by the cloud management platform, so as to use the applied data component on the big data platform or offline the corresponding data component.

[0121] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to the various embodiments disclosed in the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the 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 implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0122] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0123] The names of the messages or information exchanged between multiple devices in the disclosed embodiments of the present invention are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0124] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.

[0125] It should be understood that the various steps described in the method embodiments disclosed in the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention disclosed in this respect is not limited.

[0126] Computer program code for performing the operations disclosed in the present invention may be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0127] Corresponding to a data component management method disclosed in the above embodiment of the present invention, reference is made to Figure 4 The embodiment of the present invention further provides a structural diagram of a data component management device, the data component management device is applied to a big data platform, and the data component management device includes:

[0128] The first receiving unit 41 is used to receive a data operation request sent by a business party when logging into the big data platform based on authentication information, wherein the data operation request includes a target data collection component selected by the business party, and the authentication information is generated by the business party when applying for the target data component on the cloud management platform;

[0129] The processing unit 42 is used to collect data using the target data collection component, and transmit the data to the target data processing component using the target data transmission component, so that the target data processing component processes the data, wherein the target data transmission component is a data transmission component bound to the target data collection component, and the target data processing component is a data processing component bound to the target data transmission component;

[0130] The first offline unit 43, when receiving a data component offline request sent by the business party, backs up the target resource information of the target data component corresponding to the data component offline request, deletes the target resource information, and sends the generated offline information to the cloud management platform, wherein the target resource information is generated when the business party applies for the target data component on the cloud management platform.

[0131] The specific principles and execution processes of each unit in the data component management device disclosed in the above embodiment of the present invention are similar to those in the above embodiment of the present invention. Figure 3 The disclosed data component management method is the same, and can be referred to the above embodiment of the present invention. Figure 3 The corresponding parts of the disclosed data component management method will not be repeated here.

[0132] The present invention provides a data component management device. After the business party successfully applies for a data component on a cloud management platform, the business party can log in to a big data platform based on the authentication information corresponding to the data component fed back by the cloud management platform; when the big data platform receives a data operation request sent by the business party when logging in to the big data platform based on the authentication information, the target data acquisition component corresponding to the data operation request is used to collect data, and the target data transmission component bound to the target data acquisition component is used to transmit the collected data to the target data processing component bound to the target data transmission component, so that the target data processing component processes the data; when a data component offline request sent by the business party is received, the target resource information of the target data component corresponding to the data component offline request is backed up, the target resource information is deleted, and the generated offline information is sent to the cloud management platform to notify the cloud management platform that the target data component has been offline. Based on the technical solution provided by the present invention, the business party applies for the corresponding data component on the cloud management platform, and after the application is successful, the business party can log in to the big data platform based on the authentication information related to the applied data component fed back by the cloud management platform, so as to use the applied data component on the big data platform or offline the corresponding data component.

[0133] Optionally, the first offline unit includes:

[0134] A third receiving unit is used to receive a data component offline request sent by a business party, where the data component offline request includes a target data component requested to be offline;

[0135] A first backup unit is used to back up target resource information of a target data component into a preset data table, and set a request type of the target data component in the preset data table to an offline type, wherein the preset data table is pre-set in a backup database of the big data platform;

[0136] A locking unit, used to delete the target resource information and lock the target resource information in a preset data table;

[0137] The offline information sending unit is used to set the request type of the target data component in the preset data table to offline when the locking time reaches the preset time, and send the generated offline information to the cloud management platform.

[0138] Optionally, the first offline unit includes:

[0139] The first judgment unit is used to judge whether there is a job currently running on the big data platform when receiving a Flink data processing component offline request sent by the business party;

[0140] The second backup unit is used to back up the target resource information of the Flink data processing component to a preset data table and delete the target resource information of the Flink data processing component if there is no currently running job on the big data platform;

[0141] The third backup unit is used to delete the currently running job if there is a job currently running on the big data platform, back up the target resource information of the Flink data processing component to a preset data table, and delete the target resource information of the Flink data processing component;

[0142] Accordingly,

[0143] The second judgment unit is used to judge whether the business party applies for the Flink data processing component when receiving the offline request of the Hadoop data storage component sent by the business party;

[0144] The second offline unit, if the business party has applied for the Flink data processing component, takes the Flink data processing component offline;

[0145] The fourth backup unit is used to add a preset field to the directory name corresponding to the Hadoop data storage component, delete the Yarn data storage component in the Hadoop data storage component, and back up the target resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted to a preset data table and then delete it;

[0146] The fifth backup unit is used to add a preset field to the directory name corresponding to the Hadoop data storage component if the business party has not applied for the Flink data processing component, delete the Yarn data storage component in the Hadoop data storage component, and back up the target resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted to a preset data table and then delete it.

[0147] Optionally, the first offline unit includes:

[0148] The reclaiming unit is used to revoke the namespace permission of the HBase data storage component when receiving the offline request of the HBase data storage component sent by the business party, and revoke the namespace permission of the HBase data storage component from the business party;

[0149] The sixth backup unit is used to back up the target resource information of the HBase data storage component to a preset data table, and delete the target resource information of the HBase data storage component.

[0150] Corresponding to a data component management method disclosed in the above embodiment of the present invention, reference is made to Figure 5 The embodiment of the present invention further provides a structural diagram of a data component management device, the data component management device is applied to a cloud management platform, and the data component management device includes:

[0151] The second receiving unit 51 is used to receive a project application request sent by a business party to apply for a corresponding data component, wherein the project application request at least includes a project name, which is applied by the business party when applying for a business name, and the data component is a data collection component, a data transmission component or a data processing component;

[0152] The application unit 52 is used to apply for the corresponding data component based on the project name, bind the data component with other data components, and generate authentication information and resource information related to the data component, wherein, if the data component is a data acquisition component, the other data components are data transmission components related to the data acquisition component under the authority of the business party; if the data component is a data transmission component, the other data components are data acquisition components or data processing components related to the data transmission component under the authority of the business party; if the data component is a data processing component, the other data components are data transmission components related to the data processing component under the authority of the business party;

[0153] The sending unit 53 is used to send the authentication information and resource information to the big data platform, and return the authentication information and resource information to the business party, so that the business party can log in to the big data platform based on the authentication information to perform data operations on the data components.

[0154] The specific principles and execution processes of each unit in the data component management device disclosed in the above embodiment of the present invention are similar to those in the above embodiment of the present invention. Figure 2 The disclosed data component management method is the same, and can be referred to the above embodiment of the present invention. Figure 2 The corresponding parts of the disclosed data component management method will not be repeated here.

[0155] The present invention provides a data component management device. When a cloud management platform receives a project application request sent by a business party, the cloud management platform applies for a corresponding data component for the business party based on the project application request, binds the applied data component with other data components related to the data component under the authority of the business party, and generates authentication information and resource information related to the data component, so as to send the authentication information and resource information related to the data component to the business party and the big data platform; after the data component application is successful, the business party can log in to the big data platform based on the authentication information related to the applied data component fed back by the cloud management platform, so as to use the applied data component on the big data platform or offline the corresponding data component. Based on the technical solution provided by the present invention, the business party can apply for the corresponding data component through the cloud management platform, and after the application is successful, log in to the big data platform based on the authentication information related to the applied data component fed back by the cloud management platform, so as to use the applied data component on the big data platform or offline the corresponding data component.

[0156] Corresponding to a data component management method disclosed in the above embodiment of the present invention, reference is made to Figure 6 The embodiment of the present invention further provides a structural diagram of a data component management system, the data component management system comprising:

[0157] The cloud management platform 61 is used to receive a project application request sent by a business party to apply for a corresponding data component; apply for a corresponding data component based on a project name, bind the data component with other data components, and generate authentication information and resource information related to the data component; send the authentication information and resource information to the big data platform, and return the authentication information and resource information to the business party, so that the business party can log in to the big data platform based on the authentication information to perform data operations on the data component;

[0158] The project application request at least includes the project name, which is applied for by the business party when applying for the business name. The data component is a data collection component, a data transmission component or a data processing component. If the data component is a data collection component, the other data components are data transmission components related to the data collection component under the authority of the business party; if the data component is a data transmission component, the other data components are data collection components or data processing components related to the data transmission component under the authority of the business party; if the data component is a data processing component, the other data components are data transmission components related to the data processing component under the authority of the business party;

[0159] The big data platform 62 is used to receive a data operation request sent by a business party when logging into the big data platform based on authentication information; use a target data acquisition component to collect data, and use a target data transmission component to transmit data to a target data processing component, so that the target data processing component processes the data; when receiving a data component offline request sent by the business party, back up the target resource information of the target data component corresponding to the data component download request, delete the target resource information, and send the generated offline information to the cloud management platform, wherein the data operation request includes the target data acquisition component selected by the business party, the authentication information is generated when the business party applies for the target data acquisition component on the cloud management platform, the target data transmission component is the data transmission component bound to the target data acquisition component, the target data processing component is the data processing component bound to the target data transmission component, and the target resource information is generated when the business party applies for the target data component on the cloud management platform.

[0160] The specific principles and execution processes of each unit in the data component management device disclosed in the above embodiment of the present invention are similar to those in the above embodiment of the present invention. Figure 1 The disclosed data component management method is the same, and can be referred to the above embodiment of the present invention. Figure 1 The corresponding parts of the disclosed data component management method will not be repeated here.

[0161] The present invention provides a data component management system. When a cloud management platform receives a project application request sent by a business party, the cloud management platform applies for a corresponding data component for the business party based on the project application request, binds the applied data component with other data components related to the data component under the authority of the business party, and generates authentication information and resource information related to the data component, so as to send the authentication information and resource information related to the data component to the business party and a big data platform; when the big data platform receives a data operation request sent by the business party when logging into the big data platform based on authentication information, the cloud management platform uses a target data acquisition component corresponding to the data operation request to collect data, and uses a target data transmission component bound to the target data acquisition component to transmit the collected data to a target data processing component bound to the target data transmission component, so that the target data processing component processes the data; when a data component offline request sent by the business party is received, the target resource information of the target data component corresponding to the data component offline request is backed up, the target resource information is deleted, and the generated offline information is sent to the cloud management platform to notify the cloud management platform that the target data component has been offline. Based on the technical solution provided by the present invention, the business party can apply for the corresponding data components through the cloud management platform, and after the application is successful, log in to the big data platform based on the authentication information related to the applied data components fed back by the cloud management platform, so as to use the applied data components on the big data platform or offline the corresponding data components.

[0162] The units involved in the embodiments disclosed in the present invention may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0163] The functions described above in the present application may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0164] An embodiment of the present application also provides an electronic device, which includes: a processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; and the memory is used to store a program, which is used to implement a data component management method.

[0165] Reference below Figure 7, which shows a schematic diagram of the structure of an electronic device suitable for implementing the disclosed embodiment of the present invention. The electronic device in the disclosed embodiment of the present invention may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments disclosed in the present invention.

[0166] like Figure 7 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 706 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0167] Typically, the following devices may be connected to the I / O interface 705: input devices 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 708 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 709. The communication devices 709 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0168] In particular, according to the embodiments disclosed in the present invention, 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 invention include a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment disclosed in the present invention are executed.

[0169] Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used to execute the data component management method.

[0170] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: receives a data operation request sent by a business party when logging into the big data platform based on authentication information, wherein the data operation request includes a target data acquisition component selected by the business party, and the authentication information is generated when the business party applies for the target data acquisition component on the cloud management platform; uses the target data acquisition component to collect data, and uses a target data transmission component to transmit the data to a target data processing component, so that the target data processing component processes the data, wherein the target data transmission component is a data transmission component bound to the target data acquisition component, and the target data processing component is a data processing component bound to the target data transmission component; when receiving a data component offline request sent by the business party, backs up the target resource information of the target data component corresponding to the data component offline request, deletes the target resource information, and sends the generated offline information to the cloud management platform, wherein the target resource information is generated when the business party applies for the target data component on the cloud management platform.

[0171] or,

[0172] Receive a project application request sent by a business party to apply for a corresponding data component, wherein the project application request at least includes a project name, the project name is applied by the business party when applying for a business name, and the data component is a data collection component, a data transmission component or a data processing component;

[0173] Apply for a corresponding data component based on the project name, bind the data component with other data components, and generate authentication information and resource information related to the data component, wherein, if the data component is the data acquisition component, the other data components are the data transmission components related to the data acquisition component under the authority of the business party; if the data component is the data transmission component, the other data components are the data acquisition component or the data processing component related to the data transmission component under the authority of the business party; if the data component is the data processing component, the other data components are the data transmission components related to the data processing component under the authority of the business party;

[0174] The authentication information and the resource information are sent to the big data platform, and the authentication information and the resource information are returned to the business party, so that the business party logs in to the big data platform based on the authentication information to perform data operations on the data components.

[0175] In the context disclosed by the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.

[0176] It should be noted that the computer-readable medium disclosed in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, 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 the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0177] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

Claims

1. A data component management method, characterized in that: Applied to a big data platform, the method includes: Receiving a data operation request sent by a business party when logging into the big data platform based on authentication information, wherein the data operation request includes a target data collection component selected by the business party, and the authentication information is generated when the business party applies for the target data collection component on the cloud management platform; The target data acquisition component is used to collect data, and the target data transmission component is used to transmit the data to the target data processing component, so that the target data processing component processes the data, wherein the target data transmission component is a data transmission component bound to the target data acquisition component, and the target data processing component is a data processing component bound to the target data transmission component; When receiving a data component offline request sent by the business party, backing up the target resource information of the target data component corresponding to the data component offline request, deleting the target resource information, and sending the generated offline information to the cloud management platform, wherein the target resource information is generated by the business party when applying for the target data component on the cloud management platform; When receiving a data component offline request sent by the business party, backing up target resource information of a target data component corresponding to the data component offline request, deleting the target resource information, and sending the generated offline information to the cloud management platform, including: Receiving a data component offline request sent by the business party, wherein the data component offline request includes a target data component requested to be offline; Backing up the target resource information of the target data component into a preset data table, and setting the request type of the target data component in the preset data table to an offline type, wherein the preset data table is pre-set in the backup database of the big data platform; Deleting the target resource information and locking the target resource information in the preset data table; When the lock time reaches the preset time, the request type of the target data component in the preset data table is set to offline, and the generated offline information is sent to the cloud management platform.

2. The method according to claim 1, characterized in that If the target data component is a Flink data processing component or a Hadoop data storage component, when receiving a data component offline request sent by the business party, backing up target resource information of the target data component corresponding to the data component offline request, deleting the target resource information, and sending the generated offline information to the cloud management platform, including: When receiving a Flink data processing component offline request sent by the business party, determining whether there is a job currently running on the big data platform; If there is no currently running job on the big data platform, back up the target resource information of the Flink data processing component to a preset data table, delete the target resource information of the Flink data processing component, and send the generated offline information to the cloud management platform; If there is a job currently running on the big data platform, delete the currently running job, back up the target resource information of the Flink data processing component to the preset data table, delete the target resource information of the Flink data processing component, and send the generated offline information to the cloud management platform; Accordingly, When receiving a request to offline the Hadoop data storage component sent by the business party, determining whether the business party has applied for the Flink data processing component; If the business party has applied for the Flink data processing component, the Flink data processing component is taken offline; Add a preset field to the directory name corresponding to the Hadoop data storage component, delete the Yarn data storage component in the Hadoop data storage component, back up the target resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted to the preset data table and then delete it, and send the generated offline information to the cloud management platform; If the business party has not applied for the Flink data processing component, a preset field is added to the directory name corresponding to the Hadoop data storage component, the Yarn data storage component in the Hadoop data storage component is deleted, the target resource information of the Hadoop data storage component from which the Yarn data storage component has been deleted is backed up to the preset data table and then deleted, and the generated offline information is sent to the cloud management platform.

3. The method according to claim 1, characterized in that: If the target data component is an HBase data storage component, when receiving the data component offline request sent by the business party, backing up the target resource information of the target data component corresponding to the data component offline request and deleting the target resource information includes: When receiving an offline request of the HBase data storage component sent by the business party, revoking the namespace permission of the HBase data storage component, and revoking the namespace permission of the HBase data storage component by the business party; The target resource information of the HBase data storage component is backed up to a preset data table, the target resource information of the HBase data storage component is deleted, and the generated offline information is sent to the cloud management platform.

4. A data component management method, characterized in that: Applied to a cloud management platform, the method includes: Receive a project application request sent by a business party to apply for a corresponding data component, wherein the project application request at least includes a project name, the project name is applied by the business party when applying for a business name, and the data component is a data collection component, a data transmission component or a data processing component; Apply for a corresponding data component based on the project name, bind the data component with other data components, and generate authentication information and resource information related to the data component, wherein, if the data component is the data acquisition component, the other data components are the data transmission components related to the data acquisition component under the authority of the business party; if the data component is the data transmission component, the other data components are the data acquisition component or the data processing component related to the data transmission component under the authority of the business party; if the data component is the data processing component, the other data components are the data transmission components related to the data processing component under the authority of the business party; The authentication information and the resource information are sent to the big data platform, and the authentication information and the resource information are returned to the business party, so that the business party logs in to the big data platform based on the authentication information to perform data operations on the data components.

5. A data component management device, characterized in that: Applied to a big data platform, the device comprises: A first receiving unit is used to receive a data operation request sent by a business party when logging into the big data platform based on authentication information, wherein the data operation request includes a target data collection component selected by the business party, and the authentication information is generated when the business party applies for the target data collection component of the project on the cloud management platform; a processing unit, configured to use the target data acquisition component to acquire data, and to use a target data transmission component to transmit the data to a target data processing component, so that the target data processing component processes the data, wherein the target data transmission component is a data transmission component bound to the target data acquisition component, and the target data processing component is a data processing component bound to the target data transmission component; A first offline unit, when receiving a data component offline request sent by the business party, backs up target resource information of a target data component corresponding to the data component offline request, deletes the target resource information, and sends the generated offline information to the cloud management platform, wherein the target resource information is generated when the business party applies for the target data component on the cloud management platform; The first offline unit includes: a third receiving unit, a first backup unit, a locking unit and an offline information sending unit; The third receiving unit is used to receive a data component offline request sent by the business party, wherein the data component offline request includes a target data component requested to be offline; The first backup unit is used to back up the target resource information of the target data component into a preset data table, and set the request type of the target data component in the preset data table to an offline type, wherein the preset data table is pre-set in the backup database of the big data platform; The locking unit is used to delete the target resource information and lock the target resource information in the preset data table; The offline information sending unit is used to set the request type of the target data component in the preset data table to offline when the locking time reaches the preset time, and send the generated offline information to the cloud management platform.

6. A data component management device, characterized in that: Applied to a cloud management platform, the device comprises: A second receiving unit is used to receive a project application request sent by a business party to apply for a corresponding data component, wherein the project application request at least includes a project name, the project name is applied by the business party when applying for a business name, and the data component is a data collection component, a data transmission component or a data processing component; An application unit, used for applying for a corresponding data component based on the project name, binding the data component with other data components, and generating authentication information and resource information related to the data component, wherein, if the data component is the data acquisition component, the other data components are the data transmission components related to the data acquisition component under the authority of the business party; if the data component is the data transmission component, the other data components are the data acquisition component or the data processing component related to the data transmission component under the authority of the business party; if the data component is the data processing component, the other data components are the data transmission components related to the data processing component under the authority of the business party; A sending unit is used to send the authentication information and the resource information to the big data platform, and return the authentication information and the resource information to the business party, so that the business party can log in to the big data platform based on the authentication information to perform data operations on the data components.

7. A data component management system, characterized in that: The system comprises: The cloud management platform is used to receive a project application request sent by a business party to apply for a corresponding data component; apply for a corresponding data component based on a project name, bind the data component with other data components, and generate authentication information and resource information related to the data component; send the authentication information and the resource information to the big data platform, and return the authentication information and the resource information to the business party, so that the business party can log in to the big data platform based on the authentication information to perform data operations on the data component; Wherein, the project application request at least includes a project name, and the project name is applied for by the business party when applying for a business name; the data component is a data acquisition component, a data transmission component or a data processing component; if the data component is the data acquisition component, the other data components are the data transmission components related to the data acquisition component under the authority of the business party; if the data component is the data transmission component, the other data components are the data acquisition component or the data processing component related to the data transmission component under the authority of the business party; if the data component is the data processing component, the other data components are the data transmission components related to the data processing component under the authority of the business party; A big data platform, for receiving a data operation request sent by the business party when logging into the big data platform based on the authentication information; using a target data acquisition component to collect data, and using a target data transmission component to transmit the data to a target data processing component, so that the target data processing component processes the data; when receiving a data component offline request sent by the business party, backing up the target resource information of the target data component corresponding to the data component offline request, deleting the target resource information, and sending the generated offline information to the cloud management platform, wherein the data operation request includes the target data acquisition component selected by the business party, the authentication information is generated when the business party applies for the target data acquisition component on the cloud management platform, the target data transmission component is a data transmission component bound to the target data acquisition component, the target data processing component is a data processing component bound to the target data transmission component, and the target resource information is generated when the business party applies for the target data component on the cloud management platform; When receiving the data component offline request sent by the business party, backing up the target resource information of the target data component corresponding to the data component offline request, deleting the target resource information, and sending the generated offline information to the cloud management platform, including: receiving the data component offline request sent by the business party, the data component offline request includes the target data component requested to be offline; backing up the target resource information of the target data component to a preset data table, and setting the request type of the target data component in the preset data table to an offline type, wherein the preset data table is pre-set in the backup library of the big data platform; deleting the target resource information, and locking the target resource information in the preset data table; when the locking time reaches the preset time, setting the request type of the target data component in the preset data table to offline, and sending the generated offline information to the cloud management platform.

8. An electronic device, characterized in that: include: A processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; The memory is used to store a program, and the program is used to implement the data component management method as described in any one of claims 1 to 3 or to implement the data component management method as described in claim 4.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the data component management method according to any one of claims 1 to 3 or to execute the data component management method according to claim 4.

Citation Information

Patent Citations

  • Method and device for deploying, managing and calling components

    CN108989072A