A data processing method, device, intelligent device, and computer storage medium
By automatically running data selection and loading scripts, the problem of low data processing efficiency in the existing technology is solved, the automation and personalized needs of data construction are realized, and the processing efficiency is improved.
Patent Information
- Application Number
- CN202010910100.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-02
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-09-02
AI Technical Summary
The existing technology requires users to manually select and copy data from the data storage environment during data processing, which is inefficient and difficult to meet the needs of automation and personalized data construction.
Obtain the required data from the source data environment by automatically running the data selection script and automatically load it into the target data environment. Use the data loading script to realize automatic selection and loading of data. Users only need to write scripts to configure data construction tasks.
It realizes the automation and personalized needs of data construction, saves user time, improves data processing efficiency, and reduces manual participation steps.
Smart Images

Figure CN114201538B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a data processing method, device, intelligent equipment, and computer storage medium. Background Art
[0002] With the development of computer technology and communication technology, human beings have entered a digital society. People generate and use a variety of data in their daily work, life, and study. Various solutions and products for data acquisition, storage, management, and transmission are also widely used in all walks of life. At the same time, massive amounts of data can be stored in cloud servers through cloud technology. The data stored in cloud servers can be applied to industries such as medical care, finance, banking, government affairs, games, and the Internet of Things.
[0003] For scattered data, these data can be converted into a usable form through data construction, such as constructing data through data tables. The purpose of constructing data through different data construction methods is to meet the needs of different users for characteristic data. In the process of constructing data for some new data needs, the existing technical solution requires users to manually select data from the data storage environment, and then perform a series of manual operations such as data copying and transferring, which is time-consuming and inefficient. Summary of the invention
[0004] The embodiments of the present application provide a data processing method, apparatus, intelligent device, and computer storage medium, which can automatically select data from a source data environment and load it into a target data environment based on a script.
[0005] On the one hand, an embodiment of the present application provides a data processing method, including:
[0006] Acquire a data construction task, wherein the data construction task is generated according to the detected data construction event;
[0007] Parsing the data construction task, acquiring a data selection script associated with the data construction task, and obtaining source data by executing the data selection script, wherein the data selection script is used to acquire source data from a source data environment device;
[0008] Acquire a data loading script associated with the data construction task, and load target data into a target data environment device by executing the data loading script, wherein the target data is obtained according to the source data;
[0009] Feedback a notification message about the target data being loaded into the target data environment device to the management platform, wherein the notification message is used to instruct the management platform to process the target data in the target data environment device in response to the data construction event.
[0010] On the other hand, an embodiment of the present application further provides a data processing device, including:
[0011] An acquisition module, used for acquiring a data construction task, wherein the data construction task is generated according to a detected data construction event;
[0012] A processing module, used to parse the data construction task, obtain a data selection script associated with the data construction task, and obtain source data by executing the data selection script, wherein the data selection script is used to obtain source data from a source data environment device; obtain a data loading script associated with the data construction task, and load target data into a target data environment device by executing the data loading script, wherein the target data is obtained based on the source data;
[0013] The notification module is used to feed back a notification message about the target data being loaded into the target data environment device to the management platform, and the notification message is used to instruct the management platform to process the target data in the target data environment device in response to the data construction event.
[0014] Correspondingly, an embodiment of the present application further provides an intelligent device, characterized in that the intelligent device includes a storage device and a processor, the storage device stores a computer program, and the processor calls the computer program to implement the above-mentioned data processing method.
[0015] Correspondingly, an embodiment of the present application further provides a computer storage medium, in which a computer program is stored. When the computer program is executed by a processor, the above-mentioned data processing method will be implemented.
[0016] The embodiment of the present application can obtain part of the required data from the source data environment device by automatically running the data selection script, and can automatically load the obtained data into the target environment by automatically running the data loading script, which can meet both the automation requirements of data construction and the personalized data requirements of users. During the whole process, the user only needs to write part of the script and configure the script to the data construction task, and the data can be automatically selected and loaded by executing the data construction task through the application corresponding to the present application. The selection and loading do not require manual participation of the user, which saves the user's time and meets the automation requirements of data construction. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is a flow chart of a data construction process in an embodiment of the present application;
[0019] Figure 2 It is a schematic diagram of a framework for data construction in an embodiment of the present application;
[0020] Figure 3 It is a schematic diagram of the construction and management of the data processing related environment of the embodiment of the present application;
[0021] Figure 4 It is a flowchart of a data processing method according to an embodiment of the present application;
[0022] Figure 5a It is a flowchart of a data processing method according to an embodiment of the present application;
[0023] Figure 5b It is a flowchart of dividing source data into blocks to facilitate synchronous data extraction and conversion in an embodiment of the present application;
[0024] Figure 6 It is a flowchart of an interactive method for data processing according to an embodiment of the present application;
[0025] Figure 7 is a schematic diagram of a configuration interface of an embodiment of the present application;
[0026] Figure 8 is a structural schematic diagram of a data processing device according to an embodiment of the present invention;
[0027] Fig. 9 It is a structural schematic diagram of an intelligent device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] In an embodiment of the present application, for a data construction task, after obtaining the data construction task, the data selection script and data loading script indicated by the task configuration information in the data construction task can automatically obtain the source data from the source data environment device, and automatically load the target data obtained according to the source data into the target data environment device, so that some functional platforms or applications that can obtain data from the target data environment device can easily obtain the required target data. Among them, after the data selection script is executed, part of the source data can be obtained from the source data environment device, and those data that are required can be customized in the data selection script. At the same time, the data loading script can load the target data corresponding to the selected source data into the target data environment for use, so that it can meet the automation requirements of data construction and the personalized data requirements of users. In the whole process, the user only needs to write a script, and based on the written script, the automatic processing of data selection and loading can be realized through the application corresponding to this application. The selection and loading process does not require manual participation by the user, which saves user time and meets the automation requirements of data construction.
[0030] The servers involved in the embodiments of the present application (such as the smart devices mentioned in the embodiments, and the devices included in the management platform) can be independent physical servers, or server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.
[0031] The embodiment of the present application can realize the relevant data processing operation in the data construction process based on cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network in a wide area network or a local area network to realize the calculation, storage, processing, and sharing of data. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model application, which can form a resource pool, which is used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background service of the technical network system requires a large amount of computing and storage resources, such as video websites, picture websites, and more portal websites. With the high development and application of the Internet industry, each item may have its own identification mark in the future, and all need to be transmitted to the background system for logical processing. Data of different levels will be processed separately, and all kinds of industry data need strong system backing support, which can only be achieved through cloud computing.
[0032] The source data and target data involved in this application can be stored in the cloud by means of cloud storage. The source data environment equipment and the target data environment equipment can also be equipment in the cloud, such as some servers that implement data storage functions. Cloud storage is a new concept extended and developed from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as the storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of different types of storage devices (storage devices are also called storage nodes) in the network through application software or application interfaces to work together and provide data storage and business access functions to the outside world. This application can select source data through these software or application interfaces, and load the source data into a new data environment for use by different data users.
[0033] The storage method of the cloud storage system is: create a logical volume. When creating a logical volume, allocate physical storage space for each logical volume. The physical storage space may be composed of disks of a storage device or several storage devices. The client stores data on a logical volume, that is, stores the data on the file system. The file system divides the data into many parts, each of which is an object. The object contains not only data but also additional information such as data identification (ID, ID entity). The file system writes each object to the physical storage space of the logical volume, and the file system records the storage location information of each object. When the client requests to access the data, the file system can allow the client to access the data based on the storage location information of each object.
[0034] The process of the storage system allocating physical storage space to a logical volume is as follows: based on the estimated capacity of the objects stored in the logical volume (this estimate often has a large margin relative to the actual capacity of the objects to be stored) and the grouping of independent redundant disk arrays (RAID, Redundant Array of Independent Disks), the physical storage space is pre-divided into stripes. A logical volume can be understood as a stripe, thereby allocating physical storage space to the logical volume.
[0035] In short, a database can be seen as an electronic filing cabinet - a place where electronic files are stored, and users can add, query, update, delete, and other operations on the data in the files. The so-called "database" is a collection of data that is stored together in a certain way, can be shared with multiple users, has as little redundancy as possible, and is independent of the application.
[0036] A database management system (DBMS) is a computer software system designed for managing databases. It generally has basic functions such as storage, retrieval, security, and backup. Database management systems can be classified according to the database model they support, such as relational, XML (Extensible Markup Language); or according to the type of computer they support, such as server clusters, mobile phones; or according to the query language used, such as SQL (Structured Query Language), XQuery; or according to performance focus, such as maximum scale, maximum operating speed; or other classification methods. Regardless of the classification method used, some DBMS can cross categories, for example, supporting multiple query languages at the same time.
[0037] In the embodiment of the present application, the data construction process is divided into multiple stages, mainly including selection (Select), extraction (Extract), transformation (Transform), and loading (Load). Among them, selection (Select) refers to the selection of source data, and the source data can be data in environments such as databases, caches, files, and networks. A Select script (i.e., data selection script) can be written to obtain data from the above-mentioned types of source data. Extraction (Extract) refers to extracting data obtained from source data. For example, extracting data from certain fields in a database. An Extract script (i.e., data extraction script) can also be written to extract required data from the source data selected by the Select script. Transformation (Tranfrom) refers to converting the data extracted by the Extract script, and implementing a specific conversion process according to a user-defined Tranfrom script (i.e., data conversion script). The data conversion process includes, for example, the deletion of some unnecessary data items, the conversion between some data and data, and so on. Loading (Load) refers to importing the converted data into the target database, or loading it into the target data environment, so that the corresponding data demand end can read data from the target database or target data environment. Data loading is implemented by a user-defined Load script (i.e., data loading script).
[0038] In one embodiment, the process diagram of data construction is as follows: Figure 1 As shown, the data construction process is divided into 4 stages, and user-defined scripts can be used to automatically complete data construction in all 4 stages. It should be noted that when the user does not define a custom script in a certain stage, no data processing is performed on the data in this stage. For example, when the Extract script is not defined, the source data obtained by the Select script will not be extracted. For another example, when the Transfrom script is not defined, there is no data conversion processing.
[0039] See also Figure 2 , is a schematic diagram of a framework for data construction in an embodiment of the present application, Figure 2 This is just a possible implementation method. The present application embodiment does not limit the specific architecture. For example, Figure 2 In the embodiment, the management platform and the intelligent device for performing data processing are two different components, but in other embodiments, the management platform and the intelligent device for performing data processing may be the same device or belong to the same system.
[0040] Various types of source data are stored in the source data environment device. Figure 2The source data of cc (configcenter, configuration center) type, bc (business center, business center) type, key (key system, key system) type, CMDB (configure management database, configuration management database) type, CKV (Cloud Key-Value) (a memory-level, persistent, low-cost, distributed Key-Value storage system) type, and DB (database) type are shown. Of course, other types of source data can also be included. This application does not limit the type and quantity of source data. The source data environment device can be a cloud server or a dedicated storage device.
[0041] exist Figure 2 In the example, the core service module and the underlying infrastructure module may belong to the same management platform, which is a device or device group that provides specific services in the management platform. On the one hand, the management platform can select the desired source data from the source data environment device, and on the other hand, it can process the acquired source data through the data construction agent and load it into the target data environment device. The data construction agent can be installed in an intelligent device (such as a server) in the management platform, and the data construction agent can also be installed in the target data environment device, and the data acquired from the management platform is processed and stored in the CC source data, BC source data, Key source data, CMDB source data, CKV source data, and DB source data configured in the target data environment device. The target data environment device can also be one of the intelligent devices in the management platform (such as a server).
[0042] The management platform exchanges data with other external systems or platforms by providing external interfaces. Figure 2 It is shown that data is exchanged with the environment management system through the environment data construction interface, data is exchanged with the automated test system through the business data construction interface, and data is exchanged with the account management system through the account management interface. Of course, there may be other special or general interfaces for data exchange, which are not limited in this application. The exchanged data may include data construction events initiated by the corresponding system or platform, and data loaded by the data construction agent in the target data environment device provided by the management platform in response to the data construction event. For example, Figure 2 The target data environment including CC source data, BC source data, Key source data, CMDB source data, CKV source data, and DB source data included in the target data environment device is provided to the environment management system as interactive data.
[0043] See also Figure 3 , is a schematic diagram of the construction and management of the data processing related environment of the embodiment of the present application, mainly including: resource initialization, where the resources include machines, service installation packages, etc. In this stage, the machine is initialized and prepared, the environment for the operation of the system service is installed, and the installation packages of the services to be installed and the images of the containers are prepared. When building a new environment and a target data environment, services such as mysql can be installed by downloading the installation package, or these services can be packaged into the image in advance, and then the image is downloaded and the container is started to complete the deployment of these services. Container arrangement and networking, this stage completes the installation and deployment of each service module. Specifically, it pulls the image and starts the container, and completes the configuration of each service at the same time. Data construction, this stage builds and generates the configuration data and business data (such as account) required by the business. Service status check, check whether the running status of the service is normal. Environment verification, through the use case to verify whether the entire environment is available and whether it can be delivered to the user. Among them, environment verification is mainly the verification of the target data environment built, by the test case, the test case is run in this environment, and the test case execution reaches the expected, which means that this environment is correct and available. The source data environment device mentioned later in the embodiments of this application refers to a server or other device loaded with a source data environment, and the target data environment device refers to a server or other device that has been built as a target data environment. The data environment includes services and data, and the corresponding data (source data or target data) is in mysql, file, ckv, etc.
[0044] for Figure 3 The data construction steps mentioned in the embodiment of the present application are Figure 2 On the basis of, the data construction process generally includes: triggering of data construction tasks. Generally, the management platform or other third-party systems call the data construction interface to trigger the task. Preparation for construction tasks. In this stage, the "Data Construction Core Server" writes the relevant scripts of data construction into the DB or cache, creates a data construction task, and sends the task to the "Data Construction Agent". Construction task execution. The "Data Construction Agent" parses the data construction task, downloads the custom scripts required for the execution process, and starts the execution of the task. It is executed in 4 stages, namely: Select, Extract, Transform, Load and other 4 stage steps. Reporting of execution results. The "Data Construction Agent" reports the process and results of data construction execution to the "Data Construction Core Server", and the "Data Construction Core Server" updates the execution status of the task.
[0045] See also Figure 4, is a flow chart of a data processing method of an embodiment of the present application. The embodiment of the present application can be executed by an intelligent device, and the intelligent device can implement the method by running the data construction agent mentioned above. The intelligent device can be a separate server or other device, or it can be part of the management platform. The method includes the following steps.
[0046] S401: Acquire a data construction task, wherein the data construction task is generated according to a detected data construction event. The data construction task may be, for example, Figure 2 When the core service module receives a data construction event initiated by a user or receives a data construction event from an API, the core service module generates a data construction task and sends it to the smart device of the embodiment of the present application. The data construction task includes a data selection script, a data recording script, a device identifier of a source data environment device, an identifier of a target data environment device, etc., which are set according to the data construction event. In other embodiments, the data construction task may also include data extraction scripts, data conversion scripts, and the like.
[0047] S402: Parse the data construction task, obtain the data selection script associated with the data construction task, and obtain the source data by executing the data selection script. The data selection script is used to obtain the source data from the source data environment device. The data selection script can be written directly by the relevant user, or it can be written according to the provided script template during the process of configuring the data construction task or before sending the data construction event. By running the data selection script, the specified type of source data can be obtained from the specified device. The source data obtained by the data selection script includes any one or more of CC type source data, BC type source data, Key type source data, CMDB type source data, CKV type source data, and DB type source data. For example, by running the data selection script, the DB source data stored in the source data environment device can be obtained, and all the data stored in the DB can be obtained. In one embodiment, in the process of running the data selection script in S402, the required source data is obtained from the source data environment device through the core service module.
[0048] S403: Obtain a data loading script associated with the data construction task, and load the target data into the target data environment device by executing the data loading script, wherein the target data is obtained based on the source data. The data loading script can be directly written by the relevant user, or it can be written according to a provided script template during the process of configuring the data construction task or before sending a data construction event. By running the data loading script, all the source data obtained in S402 can be loaded into the data environment of the target data environment device according to the environment requirements of the target data environment device. For example, the data obtained from the source data in S403 can be loaded into the data environment of the target data environment device. Figure 2 All the data of the DB source data obtained from the source data environment device shown in the figure is loaded into Figure 2 In the DB database in the target data environment device, the DB source data in the target data environment device is constituted.
[0049] S404: Feedback a notification message about the target data being loaded into the target data environment device to the management platform, the notification message is used to instruct the management platform to respond to the data construction event and process the target data in the target data environment device. After the loading is completed, the management platform that sends the data construction task can feedback a notification message to facilitate the management platform (e.g. Figure 2 The core service module in the management platform processes the target data, and the processing of the target data includes directly obtaining the target data contained in the data environment in the target data environment device, and can also send the obtained target data to other systems or platforms through API (Application Programming Interface) interface and other methods according to actual conditions.
[0050] The embodiment of the present application can obtain part of the required data from the source data environment device by automatically running the data selection script, and can automatically load the obtained data into the target environment by automatically running the data loading script, which can meet both the automation requirements of data construction and the personalized data requirements of users. During the whole process, the user only needs to write part of the script and configure the script to the data construction task, and the data can be automatically selected and loaded by executing the data construction task through the application corresponding to the present application. The selection and loading do not require manual participation of the user, which saves the user's time and meets the automation requirements of data construction.
[0051] See also Figure 5a , is a flow chart of a data processing method of an embodiment of the present application, and the embodiment of the present application can be executed by the above-mentioned smart device. The method includes the following steps.
[0052] S501: Obtain a data construction task, wherein the data construction task is generated based on a detected data construction event. The data construction event may be detected after a user submits task configuration information on a configuration interface; or the data construction event may be detected after a data acquisition request is received from an external system or platform through an interface. Different methods will perform different processing after the data construction is completed. For the specific form and purpose of the configuration interface, please refer to the description of the embodiments described below.
[0053] S502: Parse the data construction task, obtain a data selection script associated with the data construction task, and obtain source data by executing the data selection script, wherein the data selection script is used to obtain source data from a source data environment device. In one embodiment, the identifier of the source data environment device can also be configured on the configuration interface. The type of source data can refer to the description in the above embodiment.
[0054] S503: Obtain a data extraction script associated with the data construction task, and extract intermediate data that meets the screening conditions from the obtained source data by executing the data extraction script. The screening conditions are defined by the user in the data extraction script. For example, the source data selected in S502 may be a table that records a large number of types of data, and the script defines that only some types of data are obtained.
[0055] S504: Obtain a data conversion script associated with the data construction task, and convert the intermediate data into target data that meets the conversion conditions by executing the data conversion script. The data conversion script mainly converts part or all of the data in the intermediate data into data that is meaningful to the system or platform that reads data from the target data environment device. For example, there are calculation result data and calculation original data in the intermediate data, and the calculation result data is calculated based on one or more calculation original data. If the calculation result data and the calculation original data are only directly loaded into the target data environment, the calculation result data and the calculation original data may be meaningless to the platform or system that extracts data from the target data environment, and the relationship between them is not clear. Therefore, in the data conversion script, the script content about the calculation process of obtaining the calculation result data can be added. In this way, for the calculation result data and the calculation original data, the converted target data that meets the conversion conditions includes the calculation result data, the calculation original data, and the calculation rules.
[0056] S505: Obtain a data loading script associated with the data construction task, and load the target data into the target data environment device by executing the data loading script. The target data is obtained based on the source data, that is, the target data is the data obtained after performing the above-mentioned data extraction and data conversion on the source data.
[0057] The step of obtaining the corresponding scripts mentioned in S502 to S504 may be to read all the scripts of the data construction task from the cache device at one time to facilitate the corresponding operation processing, and then sequentially obtain and execute all the scripts read and stored locally. It may also be to obtain the corresponding scripts from the cache in sequence according to the instructions of the data construction task for operation processing, that is, first obtain and execute the data selection script, then obtain and execute the data extraction script, then obtain and execute the data conversion script, and finally obtain and execute the data loading script.
[0058] S506: Feedback a notification message about the target data being loaded into the target data environment device to the management platform, wherein the notification message is used to instruct the management platform to process the target data in the target data environment device in response to the data construction event.
[0059] It is understandable that the data interaction methods mentioned in this application can be realized through a computer network. The description information of the content and field format of each source data in the source data environment device can be displayed to facilitate users who write the above-mentioned data selection scripts, data extraction scripts, data conversion scripts and data loading scripts to write corresponding scripts based on the description information.
[0060] In one embodiment, the data construction event is generated in response to a detected user submission operation received from the configuration interface, and the notification message about the target data being loaded into the target data environment device is fed back to the management platform, including: generating a notification message, the notification message including storage indication information of the target data loaded into the target data environment device, the storage indication information including database type and storage address; feeding back the notification message to the management platform, the notification message is used to instruct the management platform to obtain the target data from the target data environment device according to the indication of the storage indication information. In other words, if the task is initiated directly by the user on the configuration interface, the smart device can notify the management platform to directly obtain the target data in the target data environment to provide it to other systems or platforms. Different databases have different acquisition methods, therefore, the database type is added to the storage indication information so that the management platform can correctly initiate a data request to obtain the target data at the storage address.
[0061] In one embodiment, the data construction event is generated in response to a data construction request received from an interface connected to the management platform, and the notification message about the target data being loaded into the target data environment device is fed back to the management platform, including: generating a notification message, the notification message including storage indication information of the target data loaded into the target data environment device, the storage indication information including a database type and a storage address; feeding back the notification message to the management platform, the notification message is used to instruct the management platform to forward the storage indication information to the initiator that initiates the data construction request, so that the initiator obtains the target data from the target data environment device according to the indication of the storage indication information. That is to say, if an external system or platform requests data construction through an interface, the management platform can be triggered to forward the notification message to the initiator of the data construction request, so that the initiator obtains data from the corresponding database and the corresponding storage address based on the storage indication information. Different databases have different acquisition methods, so the database type is added to the storage indication information, so that the corresponding platform or system can correctly initiate a data request to obtain the target data at the storage address.
[0062] The process of data construction is divided into the above four levels, so that the process of data construction can be processed according to different stages and levels. When the amount of data to be constructed is large, the time consumed by the data construction process is also long. Therefore, in an embodiment of the present application, the data can be divided into blocks for concurrent processing. Concurrent processing mainly involves two stages, namely the stage in which the data selection script completes data selection and the stage in which the data conversion script completes data conversion. First, the extracting of intermediate data that meets the screening conditions from the obtained source data by executing the data extraction script may include: dividing the source data into blocks according to the data relationship between each data item in the source data to obtain source block data, and adding the source block data to the corresponding queue according to the data relationship to obtain multiple source block queues; extracting intermediate data that meets the screening conditions from each source block data in each source block queue synchronously by executing the data extraction script to obtain multiple intermediate data block queues;
[0063] Next, converting the intermediate data into target data that meets the conversion conditions by executing the data conversion script may include: synchronously converting the intermediate data blocks in each intermediate data block queue by executing the data conversion script, respectively obtaining target data that meets the conversion conditions, and outputting each target data.
[0064] Please refer to Figure 5bAs shown, it is a flowchart of dividing the source data into blocks so as to extract and convert the data simultaneously. For the acquired source data, the data is divided into blocks based on the relationship between the source data. For example, for the acquired 10 tables of data, 3 tables are about financial data, which can be divided into one source block data, 3 tables are about sales data, which can be divided into one source block data, and 4 tables are about cost data, which can be divided into one source block data. In this way, three source block data can be obtained, and the three source block data can be extracted and converted at the same time, which improves the processing efficiency.
[0065] The embodiment of the present application automatically realizes the conversion and construction of data by automatically running data selection scripts, data extraction scripts, data conversion scripts, and data loading scripts, which meets the user's demand for automated data construction and also meets the demand for personalized data construction. Throughout the process, the user only needs to write part of the script and configure the script to the data construction task, which saves the user's time, meets the automation requirements of data construction, and introduces block processing logic to increase processing concurrency, further improving data construction efficiency.
[0066] See also Figure 6 , is a flow chart of an interactive method for data processing in an embodiment of the present application. The method in the embodiment of the present application includes the following steps.
[0067] S601: The management platform triggers data construction. The management platform may receive information such as Figure 2 The management platform can detect the data acquisition request initiated by the environment management system in the configuration interface, or the data acquisition request initiated by the user initiating the confirmation operation on the configuration interface. After receiving the data acquisition request, the management platform determines that a data construction event is detected, and triggers the core service module to generate a data construction task according to the data acquisition request.
[0068] S602: The core service module creates a data construction task and stores the relevant script corresponding to the data construction task in a memory. The memory can be a dedicated database or a cache, so that the smart device with the data construction agent installed can obtain the corresponding script when executing the data creation task.
[0069] In one embodiment, the scripts stored in S602 include: data selection scripts, data extraction scripts, data conversion scripts, and data loading scripts. After successfully storing the relevant information including the scripts in the data construction task, the memory can feedback the storage success information.
[0070] In one embodiment, the core service module is part of the management platform, and the core service module can directly determine the existence of a data construction event based on the data acquisition request initiated by the environment management system, and generate a data construction task based on the data construction event. Alternatively, the core service module can directly determine the detection of a data construction event after receiving a confirmation operation from the user on the configuration interface, and generate a data construction task based on the task configuration information received by the user on the configuration interface.
[0071] like Figure 7 , which is a schematic diagram of a configuration interface of an embodiment of the present application, and the configuration interface can be provided to the user by the core service module. The configuration interface shown includes the following configuration items:
[0072] Configuration items used to configure the source data environment device identification, that is, Figure 7 Source environment ID item 701 in Figure 7 The specific source environment ID number entered by a user is shown in FIG: ENV1597908578T7279981;
[0073] Configuration items used to configure the target data environment device identification, that is, Figure 7 Target environment ID item 702 in, Figure 7 The specific target data environment ID number entered by the user is shown in: ENV1517208544T6275904;
[0074] Configuration items used to configure the data type of the data to be constructed, that is, Figure 7 In the Build Data Type item 703, the user can select CC data type, BC data type, key data type, etc., or customize "other" data types;
[0075] Configuration items for data indication information, such as Figure 7 Configuration item 704 in the data indication information includes: source type and / or data association information of the data to be selected by the data selection script; Figure 7 As shown, the source type can refer to the "mysql" type, which means selecting source data from the database; the source type can refer to the "file" type, which means selecting source data from a file; the source type can also refer to the "api" type, which means selecting source data through the api interface. Data association information is used to specify the source type so that data can be correctly selected when running the data selection script. For example, Figure 7As shown, when the source type selected by the user is "mysql", the corresponding data association information includes: database address, database interface. According to these two information, the required source data can be correctly found. The data association information can also include user name, password, and library name. When the data selection text is run based on this information to obtain the source data, the source data environment device can verify the source data acquisition, and after authorization, the smart device is allowed to obtain the source data corresponding to the corresponding database address.
[0076] Configuration items for data storage information, such as Figure 7 Configuration item 705 in the data storage information includes: storage type and / or data storage information of data to be loaded by the data loading script. Figure 7 As shown in the figure, the storage type can refer to the "mysql" type, which means storing the source data in a database; the storage type can refer to the "file" type, which means storing the source data in a file; the storage type can also refer to the "api" type, which means storing the source data in a device or application associated with the api interface through the api interface. The data storage information is used to specify the storage type so that data can be loaded correctly when running the data loading script. For example Figure 7 As shown, when the storage type selected by the user is "file", the corresponding data storage information includes: file path, according to which the corresponding file can be correctly found to determine the required source data, the data storage information can also include user name, password, file name, and when the data loading text is run based on this information to load source data to a certain file, the target data environment device can verify the loading of the source data, and after authorization, the smart device is allowed to record the acquired source data in the file corresponding to the file path.
[0077] When the user clicks the submit button on the configuration interface, a data construction request can be initiated, or a data construction event can be used to trigger the core service module to create a data construction task.
[0078] In one embodiment, for certain data construction requirements, the data in the selected source data can also be screened to extract only part of the data. Therefore, the configuration interface can also include: an upload configuration item of a data extraction script, and the upload configuration item of the data extraction script includes:
[0079] A record box for recording the script ID of the uploaded data extraction script; for example Figure 7 Recording box 706 in. An upload input button for obtaining a data extraction script confirmed by a user in response to a user click operation and uploading the obtained data extraction script; for example Figure 7The "Upload Script" button in the . A download input button for displaying a data extraction script template to a user in response to a user download operation, obtaining a data extraction script generated according to the data extraction script template, and uploading the generated data extraction script, for example Figure 7 Script Template Download button in the .
[0080] In one embodiment, the data extracted by the data extraction script or the source data selected by the data selection script can also be converted to obtain target data that meets the data construction requirements. Therefore, the configuration interface can also include: an upload configuration item of the data conversion script, and the upload configuration item of the data conversion script includes:
[0081] A record box for recording the script ID of the uploaded data transformation script; for example Figure 7 Recording box 707 in. An upload input button for obtaining a data conversion script confirmed by a user in response to a user click operation and uploading the obtained data conversion script; for example Figure 7 The "Upload Script" button in the . A download input button for displaying a data conversion script template to a user in response to a user download operation, obtaining a data conversion script generated according to the data conversion script template, and uploading the generated data conversion script, for example Figure 7 Script Template Download button in the .
[0082] S603: The core service module receives a feedback message indicating successful storage.
[0083] S604: The core service module sends the data construction task to the smart device. After receiving the data construction task, the smart device starts to execute the data processing of the embodiment of the present application.
[0084] S605: The smart device analyzes the data construction task. The smart device obtains the data construction task and reads the task configuration information from the data construction task to perform source data selection, data extraction, data conversion and data recording.
[0085] S606: The smart device obtains the script. The corresponding script file can be found in the memory according to the identifier of the data construction task. S606 includes: obtaining a data selection script associated with the data construction task, obtaining a data loading script associated with the data construction task, obtaining a data extraction script associated with the data construction task, and obtaining a data conversion script associated with the data construction task.
[0086] S607: The memory returns the required script.
[0087] S608: The smart device creates a Select process;
[0088] S609: The smart device obtains the source data by executing the data selection script.
[0089] S610: The smart device receives the source data returned by the source data environment device;
[0090] S611: Smart device creates Extract process;
[0091] S612: The smart device extracts intermediate data that meets the screening condition from the obtained source data by executing the data extraction script. After creating the Extract process, the source data can be divided into blocks, and concurrent tasks can be created for subsequent data processing.
[0092] S613: The smart device creates a Tranfrom process;
[0093] S614: The smart device converts the intermediate data into target data that meets the conversion condition by executing the data conversion script. In the process of executing the Extract script, if the source data is divided into blocks in S612, then in S614, the multiple blocks extracted by the data extraction script are correspondingly converted to obtain multiple target data.
[0094] S615: the smart device creates a load process;
[0095] S616: The smart device loads the target data into the target data environment device by executing the data loading script;
[0096] S617: The smart device receives the load result returned by the target data environment device.
[0097] S618: The smart device feeds back a notification message to the core service module regarding the target data being loaded into the target data environment device, wherein the notification message is used to instruct the management platform to respond to the data construction event and process the target data in the target data environment device.
[0098] S619: The core service module sends a build result update notification to the management platform to notify the management platform that the corresponding data has been successfully built.
[0099] In the embodiment of the present application, a concise and intuitive configuration interface can be provided to the user, which is convenient for the user to configure the information required for data construction, and can also facilitate the user to upload scripts or quickly configure and upload scripts through templates. By automatically running the data selection script, data extraction script, data conversion script, and data loading script configured by the user, the data conversion and construction are fully automatically realized, which meets the user's demand for automated data construction and also meets the demand for personalized data construction. In addition, the block processing logic is introduced to increase the processing concurrency and further improve the efficiency of data construction.
[0100] See also Figure 8 , is a structural diagram of a data processing device according to an embodiment of the present invention, the data processing device according to the embodiment of the present invention can be set in an intelligent device such as a server, and the intelligent device can be the intelligent device mentioned in the above embodiment. The device includes the following modules.
[0101] An acquisition module 801 is used to acquire a data construction task, wherein the data construction task is generated according to a detected data construction event;
[0102] The processing module 802 is used to parse the data construction task, obtain a data selection script associated with the data construction task, and obtain source data by executing the data selection script, wherein the data selection script is used to obtain source data from a source data environment device; obtain a data loading script associated with the data construction task, and load target data into a target data environment device by executing the data loading script, wherein the target data is obtained based on the source data;
[0103] The notification module 803 is used to feed back a notification message about the target data being loaded into the target data environment device to the management platform, and the notification message is used to instruct the management platform to process the target data in the target data environment device in response to the data construction event.
[0104] In one embodiment, the processing module 802, after executing the data selection script to obtain the source data and before executing the data loading script to load the target data into the target data environment device, is also used to obtain a data extraction script associated with the data construction task, and extract intermediate data that meets the screening conditions from the obtained source data by executing the data extraction script; obtain a data conversion script associated with the data construction task, and convert the intermediate data into target data that meets the conversion conditions by executing the data conversion script.
[0105] In one embodiment, the processing module 802 is used to block the source data according to the data relationship between each data item in the source data to obtain source block data, and add the source block data to the corresponding queue according to the data relationship to obtain multiple source block queues; by executing the data extraction script, the intermediate data that meets the screening conditions are extracted from each source block data in each source block queue synchronously to obtain multiple intermediate data block queues; by executing the data conversion script, the intermediate data blocks in each intermediate data block queue are synchronously converted to obtain target data that meets the conversion conditions, and each target data is output.
[0106] In one embodiment, the data construction task includes task configuration information, and the task configuration information is set on a configuration interface; the configuration interface includes any one or more of the following configuration items:
[0107] Configuration items used to configure source data environment device identification;
[0108] Configuration items used to configure the target data environment device identification;
[0109] Configuration items used to configure the data type of the data to be constructed;
[0110] Configuration items of data indication information, wherein the data indication information includes: source type and / or data association information of data to be selected by the data selection script;
[0111] Configuration items of data storage information, where the data storage information includes: storage type and / or data storage information of data to be loaded through the data loading script.
[0112] In one embodiment, the configuration interface further includes an upload configuration item of a data extraction script, and the upload configuration item of the data extraction script includes:
[0113] a recording box for recording a script identification of an uploaded data extraction script;
[0114] An upload input button for acquiring a data extraction script confirmed by a user in response to a user click operation and uploading the acquired data extraction script;
[0115] A download input button is used to display a data extraction script template to a user in response to a user download operation, obtain a data extraction script generated according to the data extraction script template, and upload the generated data extraction script.
[0116] In one embodiment, the configuration interface further includes an upload configuration item of a data conversion script, and the upload configuration item of the data conversion script includes:
[0117] A recording box for recording a script identifier of an uploaded data conversion script;
[0118] An upload input button for acquiring a data conversion script confirmed by the user in response to a user click operation and uploading the acquired data conversion script;
[0119] A download input button is used to display a data conversion script template to a user in response to a user download operation, obtain a data conversion script generated according to the data conversion script template, and upload the generated data conversion script.
[0120] In one embodiment, the notification module 803 is used to generate a notification message, which includes storage indication information of the target data loaded into the target data environment device, and the storage indication information includes a database type and a storage address; and feeds back the notification message to the management platform, wherein the notification message is used to instruct the management platform to obtain the target data from the target data environment device according to the instructions of the storage indication information.
[0121] In one embodiment, the notification module 803 is used to generate a notification message, which includes storage indication information of the target data loaded into the target data environment device, and the storage indication information includes a database type and a storage address; and feeds back the notification message to the management platform, wherein the notification message is used to instruct the management platform to forward the storage indication information to the initiator that initiates the data construction request, so that the initiator can obtain the target data from the target data environment device according to the instructions of the storage indication information.
[0122] In the embodiment of the present application, a concise and intuitive configuration interface can be provided to the user, which is convenient for the user to configure the information required for data construction, and can also facilitate the user to upload scripts or quickly configure and upload scripts through templates. By automatically running the data selection script, data extraction script, data conversion script, and data loading script configured by the user, the data conversion and construction are fully automatically realized, which meets the user's demand for automated data construction and also meets the demand for personalized data construction. In addition, the block processing logic is introduced to increase the processing concurrency and further improve the efficiency of data construction.
[0123] See also Fig. 9 , is a schematic diagram of the structure of an intelligent device according to an embodiment of the present invention. The intelligent device according to the embodiment of the present invention corresponds to the intelligent device mentioned in the above embodiment, and can be a server. The intelligent device according to the embodiment of the present invention may include a storage device 901 and a processor 902, and of course may also include a network interface 903, a communication interface 904 and other interfaces for exchanging data. It may also include interface modules such as a power module and a USB data interface.
[0124] The network interface 903 may be any type of interface for accessing a computer network, and the communication interface 904 may be a mobile communication interface 904 that can access a mobile communication network such as 4G / 5G.
[0125] The storage device 901 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the storage device 901 may also include a non-volatile memory (non-volatile memory), such as a flash memory, a solid-state drive (SSD), etc.; the storage device 901 may also include a combination of the above-mentioned types of memory.
[0126] The processor 902 may be a central processing unit (CPU) 902. The processor 902 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), etc. The PLD may be a field-programmable gate array (FPGA), a generic array logic (GAL), etc.
[0127] Optionally, the storage device 901 is further used to store a computer program. The processor 902 can call the computer program to implement the related methods mentioned in the above embodiments of the present application.
[0128] In one embodiment, the processor 902 calls a computer program stored in the storage device 901 to obtain a data construction task, wherein the data construction task is generated based on a detected data construction event; parses the data construction task, obtains a data selection script associated with the data construction task, and obtains source data by executing the data selection script, wherein the data selection script is used to obtain source data from a source data environment device; obtains a data loading script associated with the data construction task, and loads target data into a target data environment device by executing the data loading script, wherein the target data is obtained based on the source data; and feeds back a notification message to a management platform regarding the target data being loaded into the target data environment device, wherein the notification message is used to instruct the management platform to respond to the data construction event and process the target data in the target data environment device.
[0129] In one embodiment, the processor 902, after executing the data selection script to obtain the source data and before executing the data loading script to load the target data into the target data environment device, is also used to obtain a data extraction script associated with the data construction task, and extract intermediate data that meets the screening conditions from the obtained source data by executing the data extraction script; obtain a data conversion script associated with the data construction task, and convert the intermediate data into target data that meets the conversion conditions by executing the data conversion script.
[0130] In one embodiment, the processor 902 is used to block the source data according to the data relationship between each data item in the source data to obtain source block data, and add the source block data to the corresponding queue according to the data relationship to obtain multiple source block queues; by executing the data extraction script, the intermediate data that meets the screening conditions are extracted from each source block data in each source block queue synchronously to obtain multiple intermediate data block queues; by executing the data conversion script, the intermediate data blocks in each intermediate data block queue are synchronously converted to obtain target data that meets the conversion conditions, and each target data is output.
[0131] In one embodiment, the data construction task includes task configuration information, and the task configuration information is set on a configuration interface; the configuration interface includes any one or more of the following configuration items:
[0132] Configuration items used to configure source data environment device identification;
[0133] Configuration items used to configure the target data environment device identification;
[0134] Configuration items used to configure the data type of the data to be constructed;
[0135] Configuration items of data indication information, wherein the data indication information includes: source type and / or data association information of data to be selected by the data selection script;
[0136] Configuration items of data storage information, where the data storage information includes: storage type and / or data storage information of data to be loaded through the data loading script.
[0137] In one embodiment, the configuration interface further includes an upload configuration item for a data extraction script, and the upload configuration item for the data extraction script includes:
[0138] a recording box for recording a script identification of an uploaded data extraction script;
[0139] An upload input button for acquiring a data extraction script confirmed by a user in response to a user click operation and uploading the acquired data extraction script;
[0140] A download input button is used to display a data extraction script template to a user in response to a user download operation, obtain a data extraction script generated according to the data extraction script template, and upload the generated data extraction script.
[0141] In one embodiment, the configuration interface further includes an upload configuration item of a data conversion script, and the upload configuration item of the data conversion script includes:
[0142] A recording box for recording a script identifier of an uploaded data conversion script;
[0143] An upload input button for acquiring a data conversion script confirmed by the user in response to a user click operation and uploading the acquired data conversion script;
[0144] A download input button is used to display a data conversion script template to a user in response to a user download operation, obtain a data conversion script generated according to the data conversion script template, and upload the generated data conversion script.
[0145] In one embodiment, the data construction event is generated in response to a detected user submission operation received from the configuration interface, and the processor 902 is used to generate a notification message, the notification message including storage indication information of the target data loaded into the target data environment device, the storage indication information including the database type and the storage address; and feed back the notification message to the management platform, the notification message being used to instruct the management platform to obtain the target data from the target data environment device according to the instructions of the storage indication information.
[0146] In one embodiment, the data construction event is generated in response to a data construction request received from an interface connected to the management platform, and the processor 902 is used to generate a notification message, wherein the notification message includes storage indication information of the target data loaded into the target data environment device, and the storage indication information includes a database type and a storage address; and the notification message is fed back to the management platform, wherein the notification message is used to instruct the management platform to forward the storage indication information to an initiator that initiates the data construction request, so that the initiator can obtain the target data from the target data environment device according to the instructions of the storage indication information.
[0147] In the embodiment of the present application, a concise and intuitive configuration interface can be provided to the user, which is convenient for the user to configure the information required for data construction, and can also facilitate the user to upload scripts or quickly configure and upload scripts through templates. By automatically running the data selection script, data extraction script, data conversion script, and data loading script configured by the user, the data conversion and construction are fully automatically realized, which meets the user's demand for automated data construction and also meets the demand for personalized data construction. In addition, the block processing logic is introduced to increase the processing concurrency and further improve the efficiency of data construction.
[0148] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0149] The above disclosure is only part of the embodiments of the present invention, which certainly cannot be used to limit the scope of the rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention are still within the scope of the invention.
Claims
1. A data processing method, characterized in that: include: Storing a pre-written data selection script for acquiring a specified type of source data from a specified source data environment device, and storing a pre-written data loading script for loading the source data acquired by the data selection script into the data environment of the target data environment device according to the environment requirements of the target data environment device; generating a data construction event in response to a user submission operation received from the configuration interface; The configuration interface includes configuration items of data indication information and data storage information, wherein the data indication information includes: source type and / or data association information of data to be selected by a data selection script; the data storage information includes: storage type and / or data storage information of data to be loaded by a data loading script; Acquire a data construction task generated according to the data construction event; the data construction task includes: a data selection script, a data loading script, a device identifier of a source data environment device, and an identifier of a target data environment device set according to the data construction event; Parsing the data construction task, acquiring a data selection script associated with the data construction task, and obtaining source data by executing the data selection script, wherein the data selection script is used to acquire source data from a source data environment device; Acquire a data loading script associated with the data construction task, and load target data into a target data environment device by executing the data loading script, wherein the target data is obtained according to the source data; Feedback a notification message about the target data being loaded into the target data environment device to the management platform, wherein the notification message is used to instruct the management platform to process the target data in the target data environment device in response to the data construction event.
2. The method according to claim 1, characterized in that After executing the data selection script to obtain the source data and before executing the data loading script to load the target data into the target data environment device, the method further includes: Acquire a data extraction script associated with the data construction task, and extract intermediate data satisfying a screening condition from the obtained source data by executing the data extraction script; A data conversion script associated with the data construction task is obtained, and the intermediate data is converted into target data that meets a conversion condition by executing the data conversion script.
3. The method according to claim 2, characterized in that The step of extracting intermediate data satisfying a screening condition from the obtained source data by executing the data extraction script includes: The source data is divided into blocks according to the data relationship between each data item in the source data to obtain source block data, and the source block data is added to the corresponding queue according to the data relationship to obtain multiple source block queues; By executing the data extraction script, the intermediate data satisfying the screening condition is extracted from each source block data in each source block queue synchronously, thereby obtaining a plurality of intermediate data block queues; The converting the intermediate data into target data satisfying the conversion condition by executing the data conversion script comprises: The intermediate data blocks in each intermediate data block queue are synchronously converted by executing the data conversion script, target data satisfying the conversion conditions are obtained respectively, and each target data is output.
4. The method according to any one of claims 1 to 3, characterized in that: The data construction task includes task configuration information, which is set on a configuration interface; the configuration interface includes any one or more of the following configuration items: Configuration items used to configure source data environment device identification; Configuration items used to configure the target data environment device identification; Configuration item used to configure the data type of the data to be constructed.
5. The method according to claim 4, characterized in that The configuration interface also includes an upload configuration item for a data extraction script, and the upload configuration item for the data extraction script includes: a recording box for recording a script identification of an uploaded data extraction script; An upload input button for acquiring a data extraction script confirmed by a user in response to a user click operation and uploading the acquired data extraction script; A download input button is used to display a data extraction script template to a user in response to a user download operation, obtain a data extraction script generated according to the data extraction script template, and upload the generated data extraction script.
6. The method according to claim 4, characterized in that The configuration interface also includes a data conversion script upload configuration item, and the data conversion script upload configuration item includes: A recording box for recording a script identifier of an uploaded data conversion script; An upload input button for acquiring a data conversion script confirmed by the user in response to a user click operation and uploading the acquired data conversion script; A download input button is used to display a data conversion script template to a user in response to a user download operation, obtain a data conversion script generated according to the data conversion script template, and upload the generated data conversion script.
7. The method according to claim 4, characterized in that The data construction event is generated in response to a detected user submission operation received from the configuration interface, and the notification message about the target data being loaded into the target data environment device being fed back to the management platform includes: Generate a notification message, wherein the notification message includes storage indication information of the target data loaded into the target data environment device, wherein the storage indication information includes a database type and a storage address; The notification message is fed back to the management platform, where the notification message is used to instruct the management platform to obtain the target data from the target data environment device according to the instruction of the storage instruction information.
8. The method according to claim 4, characterized in that The data construction event is generated in response to a data construction request received from an interface connected to the management platform, and the feedback of a notification message about the target data being loaded into the target data environment device to the management platform includes: Generate a notification message, wherein the notification message includes storage indication information of the target data loaded into the target data environment device, wherein the storage indication information includes a database type and a storage address; The notification message is fed back to the management platform, and the notification message is used to instruct the management platform to forward the storage indication information to the initiator that initiates the data construction request, so that the initiator can obtain the target data from the target data environment device according to the instructions of the storage indication information.
9. A data processing device, characterized in that: include: A module for storing a pre-written data selection script for acquiring a specified type of source data from a specified source data environment device, and a pre-written data loading script for loading the source data acquired by the data selection script into the data environment of a target data environment device according to the environment requirements of the target data environment device; A module for generating a data construction event in response to a user submission operation received from a configuration interface; The configuration interface includes configuration items of data indication information and data storage information, wherein the data indication information includes: source type and / or data association information of data to be selected by a data selection script; the data storage information includes: storage type and / or data storage information of data to be loaded by a data loading script; An acquisition module, used to acquire a data construction task generated according to the data construction event, wherein the data construction task includes: a data selection script, a data loading script, a device identifier of a source data environment device, and an identifier of a target data environment device set according to the data construction event; A processing module, used to parse the data construction task, obtain a data selection script associated with the data construction task, and obtain source data by executing the data selection script, wherein the data selection script is used to obtain source data from a source data environment device; obtain a data loading script associated with the data construction task, and load target data into a target data environment device by executing the data loading script, wherein the target data is obtained based on the source data; The notification module is used to feed back a notification message about the target data being loaded into the target data environment device to the management platform, and the notification message is used to instruct the management platform to process the target data in the target data environment device in response to the data construction event.
10. A smart device, characterized in that: The intelligent device comprises a storage device and a processor, wherein the storage device stores a computer program, and the processor calls the computer program to implement the data processing method according to any one of claims 1 to 8.
11. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by the processor, the data processing method according to any one of claims 1 to 8 will be implemented.
12. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the data processing method according to any one of claims 1 to 8 is implemented.
