Data operation control method and device

By analyzing and processing data objects that may cause task anomalies during the data operation code writing phase, the problem of task delays and resource waste caused by data skew in big data processing is solved, and more efficient data processing and cost control are achieved.

CN111831464BActive Publication Date: 2024-10-11ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910325465.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-22
Publication Date
2024-10-11
Estimated Expiration
2039-04-22

AI Technical Summary

Technical Problem

In the process of big data processing, the problem of data skew leads to delays in computing tasks and waste of resources. Existing technologies cannot effectively prevent and solve data skew in the code writing stage, leading to task anomalies or failures.

Method used

By receiving the data operation code input by the user, it analyzes the operation target information to determine whether there are data objects that will cause task anomalies, and processes them in real time during the encoding phase to provide preventive measures to avoid data skew and reduce the probability of task anomalies and resource waste.

Benefits of technology

It effectively reduces the possibility of discovering and processing data skew before data operation tasks are executed, avoids task anomalies and resource waste, and improves data processing efficiency and cost control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111831464B_ABST
    Figure CN111831464B_ABST
Patent Text Reader

Abstract

The present application discloses a control method and device for data operation, wherein the method includes: receiving a data operation code of a data operation task input by a user, analyzing the input data operation code, and determining current operation target information; the current operation target information includes metadata information of the current operation; determining whether the operation target associated with the current operation target information is a data object that will cause an abnormal operation task when operated; if it is determined that the operation target is a data object that will cause an abnormal operation task when operated, then processing the data operation code corresponding to the current operation target information. Through this method, the possibility of abnormality or failure of data operation tasks caused by data objects can be reduced or avoided before the task is actually run, the waste of cluster computing resources can be avoided, the development and operation and maintenance costs of data applications can be reduced, and effective guarantees can be provided for the smooth progress of data processing tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of database development, and in particular to a data operation control method and device. Background Art

[0002] Data has gradually become the core content for many information industries to conduct business and provide services. Realizing high-quality data applications has become the basis and key condition for improving business efficiency. For applications involving data operations, such as application development involving databases, data mining analysis, machine learning, data optimization and maintenance, etc., it is often necessary to operate unimaginable amounts of data. The characteristics of databases containing massive amounts of data determine that related issues need to be considered when processing data. For example, how to search among hundreds of millions of data to hit the target data, and its time cost may be the primary consideration in algorithm design. Generally, for data-centric systems, from database design and development to maintenance and application, they all need to meet the needs while having high application efficiency.

[0003] In big data products, problems related to big data processing, such as data skew, are often encountered when performing data processing operations. These problems are usually related to database design or business operations. For example, if the data structure design does not fully consider the actual needs, it will often cause data skew in some data tables during the data formation process. For example, in the commodity object information service platform, the activity data generated before and after holidays is often much higher than on weekdays. If the activity data in these periods is horizontally partitioned according to the same time length as the data table on weekdays, it may cause data skew for the corresponding data. Another aspect of data skew is the data skew formed during business data operations. For large system platforms, data processing is often performed as distributed tasks. When performing data processing, if the data distribution of each computing node is uneven, and a large amount of data is concentrated on one or several computing nodes, data skew will occur. At this time, a small number of task nodes that process a large amount of data will produce unacceptable delays, seriously reducing the overall task efficiency, and even memory overflow errors will occur in the computing nodes, causing the entire task to fail.

[0004] In summary, the technical problem that needs to be solved by technical personnel in this field is to provide a data operation control method to reduce the probability of problems occurring during large-scale data processing and provide effective guarantee for the smooth progress of data processing tasks. Summary of the invention

[0005] The embodiments of the present invention provide a data operation control method and device, which can reduce or avoid the possibility of abnormalities or even failures in data operation tasks caused by certain data objects that may cause abnormal task execution before the data operation tasks are actually run, thereby avoiding the waste of cluster computing resources and reducing the development and operation costs of data applications, and providing effective guarantees for the smooth progress of data processing computing tasks.

[0006] The present invention provides the following scheme:

[0007] A method for controlling data operations, comprising:

[0008] Receiving a data operation code of a data operation task input by a user, analyzing the input data operation code, and determining current operation target information; the current operation target information includes metadata information of the current operation;

[0009] Determine whether the operation target associated with the current operation target information is a data object that will cause an operation task exception when being operated;

[0010] If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code corresponding to the current operation target information is processed.

[0011] A method for controlling data operations, comprising:

[0012] Receiving a data operation code written by a user for performing a data operation task; the data operation code includes a complete code for executing the data operation task;

[0013] Before the data operation code is executed, the data operation code is analyzed to determine each operation target information for executing the data operation task in the data operation code; the operation target information includes corresponding metadata information;

[0014] Determining whether the operation target associated with the operation target information is a data object that will cause an operation task exception when being operated;

[0015] If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code associated with the data object is processed.

[0016] A data operation processing method, comprising:

[0017] Provide an operation interface;

[0018] Receiving a code input by a user through the operation interface;

[0019] Based on the received code, determining an associated operation target corresponding to the current code, wherein the operation target is a data object of the operation;

[0020] When it is determined that the operation target is a data object that will cause an abnormal operation task when being operated, prompt information is provided on the operation interface to prompt that data skew exists in the current operation target.

[0021] A data operation control device, comprising:

[0022] An input analysis unit, used to receive a data operation code of a data operation task input by a user, analyze the input data operation code, and determine current operation target information; the current operation target information includes metadata information of the current operation;

[0023] an abnormality determination unit, used to determine whether the operation target associated with the current operation target information is a data object that will cause an abnormality in the operation task when being operated;

[0024] The result processing unit is used to process the data operation code corresponding to the current operation target information if it is determined that the operation target is a data object that will cause an operation task exception when being operated.

[0025] A data operation control device, comprising:

[0026] A code receiving unit, used to receive a data operation code written by a user for performing a data operation task; the data operation code includes a complete code for performing the data operation task;

[0027] a target analysis unit, used to analyze the data operation code before the data operation code is executed, and determine each operation target information for executing the data operation task in the data operation code; the operation target information includes corresponding metadata information;

[0028] an abnormal object determination unit, used to determine whether the operation target associated with the operation target information is a data object that will cause an abnormal operation task when being operated;

[0029] The processing unit is used to process the data operation code associated with the data object if it is determined that the operation target is a data object that will cause an operation task exception when being operated.

[0030] A data operation processing device, comprising:

[0031] An interface providing unit, used for providing an operation interface;

[0032] A target information determination unit, configured to receive a code input by a user through the operation interface;

[0033] An operation target analysis unit, used to determine, based on the received code, an associated operation target corresponding to the current code, wherein the operation target is a data object of the operation;

[0034] The information prompt unit is used to provide prompt information on the operation interface to prompt that there is data skew in the current operation target when determining that the operation target is a data object that will cause an operation task abnormality when being operated.

[0035] A computer system, comprising:

[0036] one or more processors; and

[0037] A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the program instructions perform the following operations:

[0038] Receiving a data operation code of a data operation task input by a user, analyzing the input data operation code, and determining current operation target information; the current operation target information includes metadata information of the current operation;

[0039] Determine whether the operation target associated with the current operation target information is a data object that will cause an operation task exception when being operated;

[0040] If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code corresponding to the current operation target information is processed.

[0041] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0042] Through this application, the data operation code of the data operation task input by the user can be received, the input data operation code can be analyzed, and the current operation target information can be determined; whether the operation target associated with the current operation target information is a data object that will cause the operation task to be abnormal when being operated; if it is determined that the operation target is a data object that will cause the operation task to be abnormal when being operated, the data operation code corresponding to the current operation target information is processed. Through this method, data research and development and data tilt exploration are effectively integrated, and the data object that will cause the operation task to be abnormal can be found in real time during the data operation process, such as during the writing process of the data operation code, and then the data object is processed. Before the task code is actually run, the data object that will cause the operation task to be abnormal can be found to further process the problem, and the exploration task of the data object that causes the operation task to be abnormal is changed from being executed after the data operation calculation task is executed abnormally to the execution of the preventive scheme before the data operation calculation task is executed, which reduces the probability of task abnormality or failure during the actual execution of the data operation code, reduces or avoids the possibility of abnormality or even failure of the data operation calculation task due to data object problems, avoids the waste of cluster computing resources in a preventive way, and reduces the development and operation and maintenance costs of data applications.

[0043] Of course, any product implementing the present application does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] 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 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.

[0045] Figure 1 is a flow chart of the first method provided in an embodiment of the present application;

[0046] Figure 2 is a schematic diagram of a first interface provided in an embodiment of the present application;

[0047] Figure 3 is a schematic diagram of a second interface provided in an embodiment of the present application;

[0048] Figure 4 is a flow chart of the second method provided in an embodiment of the present application;

[0049] Figure 5 is a schematic diagram of a development assistance system provided in an embodiment of the present application;

[0050] Figure 6is a schematic diagram of a first device provided in an embodiment of the present application;

[0051] Figure 7 is a schematic diagram of a second device provided in an embodiment of the present application;

[0052] Figure 8 is a flowchart of the third method provided in an embodiment of the present application;

[0053] Fig. 9 is a schematic diagram of a third device provided in an embodiment of the present application;

[0054] Fig.10 A schematic diagram of a computer system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 belong to the scope of protection of the present invention.

[0056] In big data products, tasks such as coding and running related to data operations and calculations can be performed. Because big data operations and calculations involve massive amounts of data, the processing complexity brought about by the magnitude of data processing requires that when designing tasks, such as when writing code for data operation and calculation tasks, problems unique to the field of big data processing must be considered. Problems such as data skew can cause serious delays or even failures in tasks involving big data calculations. When developing data, such problems should be avoided as much as possible. The data skew problem can be understood from two aspects. One is from the perspective of data storage. The data skew may cause data skew in some data tables during the data formation process. This data skew is often related to the database structure design; and the other perspective is the data skew during the execution of the calculation task. The data skew during the execution of the calculation task can be related to the data itself or to the operation. For data skew during the data operation process, the prior art method usually performs data exploration after the code fails to run, obtains the related objects and causes of the abnormal or failed operation, and obtains whether the cause of the failure of the data operation code to run is data skew after analysis. This processing method is relatively lagging in detecting and processing data skew tasks, and it is impossible to check data skew before the execution of data operation and computing tasks, such as in the code writing stage. Data operation and computing tasks often require a large amount of computing resources. If the data object operated causes the code to fail to run, the lag in this detection and processing will cause a large amount of computing resources to be wasted.

[0057] The data operation control method provided in the embodiment of the present application can be applied to the design of data operation and computing tasks of big data products. For example, in the coding implementation stage of the data operation code, when the developer uses the big data product to write the data operation code, the relevant functions or services can be provided in the tools used. Through the provided functions or services, the data objects to be operated by the code are retrieved and analyzed in real time during the coding design process of the data operation code, and the retrieval and analysis results of whether the data objects under the operation have data skew and other problems are obtained, and data research and development and data skew exploration are effectively integrated. The coding stage of the data operation code should precede the actual execution of the code. Therefore, this method can be applied before the actual execution of the data operation code to discover, prompt and eliminate problems, and use preventive methods to reduce or avoid problems such as data skew that occur during the actual execution of the data operation code, which causes the data operation / computing task to be abnormal or even fail. The control method and device for data operation provided in the embodiment of the present application will be described in detail below in conjunction with the accompanying drawings.

[0058] Embodiment 1

[0059] Please see Figure 1 , which is a flow chart of a data operation control method provided in an embodiment of the present application, such as Figure 1 As shown, the method may include the following steps:

[0060] S101: receiving a data operation code of a data operation task input by a user, analyzing the input data operation code, and determining current operation target information; the current operation target information includes metadata information of the current operation;

[0061] First, the data operation code input by the user during the code writing process can be received. The method provided in the embodiment of the present application can be applied to the design of data operation and computing tasks of big data products, such as the design of data computing, management, maintenance and other tasks through big data products, which can be implemented in the coding implementation stage of data operation codes. The user can be a developer or data maintenance personnel of data operation applications, etc. The programming language used may include a language related to database operations, such as Structured Query Language (SQL for short). SQL is a special-purpose programming language used for database query and program design, which can be used to access data and query, update and manage relational database systems. When using big data products to design and code data operations or computing tasks, the corresponding operation object operated by the input data operation code can be analyzed in real time through the relevant functions or services provided by the product, such as providing corresponding functions or services in the data operation task design tool used, and then the operation object of the data operation can be analyzed and checked, that is, when receiving the data operation code of the data operation task input by the user, the input data operation code is analyzed to determine the current operation target of the data operation code. In the design and coding process of the data operation task, the operation target information can generally include metadata information about the operation data. Metadata information is a type of data used to describe data. It can provide description information of other data, mainly describing the attribute information of data, and can be used to support functions such as indicating storage location, historical data, resource search, file records, etc. In this embodiment, the operation target associated with the current operation target information can be described in metadata information. The metadata information about the current operation target in the data operation code may include data table information, field information, and partition information. Of course, in actual applications, in different system designs, the data organization form, the description method of the data involved in the task, etc. may be different, and the metadata information about the current operation target may also have different content forms.

[0062] When implementing data management and operations through big data products, the products can provide multi-programming language support, that is, they can support multiple different types of programming languages ​​for calling data operation codes and task design during the development process. When using different types of development languages, it involves code writing and calculation task design for data operations. For example, when SQL language is involved, big data products can be used to extract and analyze data objects in the data operation code in the database programming language to obtain and determine the current operation target information related to the data operation code.

[0063] The data operation code input by the user data operation task is received, and the input data operation code is analyzed to determine the current operation target information. This process can be implemented instantly. For example, when the data operation code is input in the integrated development environment provided by the big data product, the information of the current operation target can be analyzed and queried instantly during the coding process. In specific implementation, matching rules can be established in advance, for example, the matching rules can be written as regular expressions in advance. When the user inputs the data operation code, the regular expression representing the matching rule is used to match the code content input by the user, and the operation target in the data operation code input by the user, such as data keywords, can be determined instantly.

[0064] In another implementation, an abstract syntax tree can also be used. In a specific implementation, a grammatical semantic analysis function can be provided in the product, such as a grammatical semantic analysis function for real-time input content integrated in a big data product. This function can be used to perform grammatical semantic analysis on the code input by the user to determine the content units of the user input content and the grammatical semantic relationships between the content units. The grammatical semantic analysis function of the input content is usually mainly used to implement intelligent coding, such as identifying the grammatical semantic content of the coding during the user coding process, providing coding prompts and error correction based on the input, etc. The implementation effect can be seen in the figure below. Figure 2 , Figure 2 Some of the code in is hidden, but it does not affect the explanation of the displayed content. When using the editor of the development tool to write code, the current input content can be determined based on the results of syntax and semantic analysis. Each object of the input content can be stored in the form of an abstract syntax tree, and the user can be prompted for the next input based on the current content to improve coding efficiency and accuracy. Figure 2 The code input in line 11, after grammatical and semantic analysis, determines that the input information is the table "stg_s_account", prompts the next step of input, and provides "ca_id" and other "fields" for coding input selection. In the method provided in this embodiment, the content in the generated abstract syntax tree can be accessed to determine the current operation target information. Specifically, the data operation code input in the computing task coding design process can be subjected to grammatical and semantic analysis to construct an abstract syntax tree corresponding to the data operation code; then, by accessing the abstract syntax tree, the current operation target information can be determined. For example, when the current abstract syntax tree includes the field "ca_id" under the table name "stg_s_account", "ca_id" can be determined as the current operation target information based on information such as preset type. In a process similar to the data operation code design in a big data product component, the grammatical semantics can be analyzed instantly to obtain the target operated by the current data operation code, for example Figure 2In the example, when the table name "stg_s_account" is input, the corresponding content can be generated in the abstract syntax tree, such as the table name "stg_s_account" and "data table" attribute information; if the user selects and inputs the field "ca_id" of the table "stg_s_account", the corresponding content of the record can also be saved in the abstract syntax tree, such as the field name and its corresponding "field" attribute information. In this way, when the current operation target information needs to be obtained, it is only necessary to access the abstract syntax tree of the current input code and read the target information of the current operation. For example, the current operation target information is read as the field "ca_id", which belongs to the table "stg_s_account".

[0065] In another implementation, the current cursor position can also be determined, and the abstract syntax tree can be accessed in combination with the code content corresponding to the current cursor position to determine the current operation target information. The table names and fields in the above examples also reflect a data storage hierarchy. In the process of code input, it is often necessary to return to modify the code. For example, when the following content is entered:

[0066] =stg_s_account.ca_id

[0067] "stg_s_account" is the table name, and "ca_id" is the field of the table. When entering, if the table name needs to be modified, the user will generally position the cursor at the table name. At this time, the current operation target of the input code is the table rather than the field "ca_id". Of course, the above is just an example of an application scenario. In similar situations, the current operation target can be determined in combination with the current cursor position to obtain a more accurate determination result.

[0068] The current operation target information may include metadata information of the current operation. The metadata information of the current operation may be one or a combination of the following information: data table information, field information, and partition information. The specific combination may depend on the specific application. These metadata information may be used as a retrieval basis for analysis and retrieval to determine whether the operation target information has data skew.

[0069] S102: Determine whether the operation target associated with the current operation target information is a data object that will cause an operation task exception when being operated;

[0070] After determining the operation target information, it can be determined whether the operation target associated with the current operation target information is a data object that will cause the operation task to be abnormal when being operated. In specific implementation, a real-time search can be performed in the database according to the current operation target information to determine whether the operation target associated with the current operation target information is a data object that will cause the operation task to be abnormal when being operated. However, when storing massive data in the database, this real-time search method is bound to cause a huge amount of data query operations, which is not conducive to the needs of saving computing resources and improving the efficiency of data operation task design. Therefore, in another real-time mode, a search can be performed according to the current operation target information. For example, a search can be performed in a preset data object set according to the current operation target information to determine whether the current operation target information belongs to a preset data object set, and the preset data object set can include data objects that will cause the operation task to be abnormal when being operated. The operation target information can be a data object to be operated when designing and coding a data operation or a computing task. The search is performed according to the operation target information to determine whether the operation target information has problems such as data tilt and data type mismatch, and to determine whether the operation target is a data object that will cause the operation task to be abnormal when being operated. The data object set can be implemented in the form of a cache data cache in specific implementation. For example, records of metadata information that have problems such as data skew can be saved in cache data.

[0071] The data objects stored in the data object collection that cause the operation task to be abnormal can be obtained through data exploration. Data exploration is the process of discovering and analyzing data anomalies in the data source. Data exploration can discover different types of data anomalies and provide users of big data products with various types of information about the data, such as the composition and distribution of the data, etc. The corresponding data objects can be analyzed based on the results of the data exploration to see whether there are problems such as data skew. In the big data system, a large amount of data is maintained, and the data exploration task is generally not executed independently, but is carried out as a stage of other tasks to obtain auxiliary information to help users discover some phenomena or problems. In the method provided in the embodiment of the present application, the data exploration task is generally performed after an abnormality or failure occurs during the execution of a data operation or calculation task.

[0072] The data objects that may cause the operation task abnormality and are stored in the above-mentioned data object set can be obtained according to the operation results of the execution history of the data operation task. When a task in the operation history of the data operation computing task generates an abnormality, the corresponding data can be explored to determine the cause of the abnormality and the data objects related to the abnormal operation. That is, the data operation task is a historical data operation task relative to the current task. The reasons obtained by the data exploration and analysis may include multiple types. When the determined cause of the abnormality is that there is a data skew problem in the data object related to the task, the information of the data object can be stored in the data object set. For the exploration and analysis of the data objects related to the abnormal operation, the statistical data of the data objects can be used as a basis, that is, when the data operation task generates an abnormal operation, the data objects related to the abnormal operation can be determined; the statistical data of the related data objects are obtained, and according to the statistical data, it is determined whether the related data objects are data objects that will cause the operation task abnormality when operated, and the data objects that will cause the operation task abnormality when operated are saved in the data object set. For example, in a specific implementation, the number of rows of the related data objects and the number of rows of the data table where the data objects are located can be statistically determined, and the ratio of the number of rows of the data objects to the number of rows of the data table can be determined. If the determined ratio exceeds a preset threshold, the related data object is determined to be a data object that will cause an operation task exception when operated.

[0073] In addition, since data products are usually subject to change during their application, for example, business data will change with changes in business, and some data calculations or management and maintenance operations will often generate new data, and the data storage structure will often change. Metadata that has been found to have problems such as data skew may have its problems solved after a certain period of time, and the data object information stored in the data object set that will cause abnormal operation tasks will become invalid. Therefore, when recording the information of data objects that will cause abnormal operation tasks when being operated into the data object set, the corresponding validity period information can be recorded, for example, an empirical value of the validity period information can be seven days, and the data object set includes the corresponding validity period information of each data object, and then when searching in the preset data object set according to the current operation target information, the corresponding validity period information of each data object in the data object set can be first determined, and the data objects in the data object set whose validity period information is within the preset period threshold are searched according to the current operation target information to determine whether the current operation target information belongs to the preset data object set.

[0074] When the current data operation calculation task is executed, if problems such as data skew beyond expectations are generated, data exploration can be performed to determine the metadata information of data skew, and the corresponding information is stored in the above-mentioned data object set, thereby realizing a closed loop from task execution to data object analysis and inspection. The metadata-related data table information, field information, and partition information reflect the storage structure, storage location, and other information of the target data. When the metadata information with data skew is recorded in the data object set, the metadata-related data table information, field information, and partition information with problems such as data skew can be recorded in the data object set, so that when the user writes the data operation code input by the code, the data of the data object set can be matched and retrieved according to the data table information, field information, partition information, etc. in the determined metadata information. According to the retrieval of the operation target information, it can be determined whether the operation target under the current data operation is the operation target, and whether it is a data object that will cause an operation task exception when being operated. In addition to the data skew problem, that is, the data object with data skew will cause the operation task, if the data type of the operation target matches the data type required by the corresponding data operation, it may also be that the data operation or calculation task generates an exception. The impact that this exception may produce can be reflected in the problem that the expected calculation results cannot be obtained. Such problems can actually be avoided by performing real-time analysis on the data operation code of the data operation task. In specific implementation, it can be determined whether the data type of the operation target matches the data type required by the corresponding data operation. If they do not match, the operation target is determined to be a data object that will cause the operation task to be abnormal, and further measures can be taken, such as providing prompt information.

[0075] S103: If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code corresponding to the current operation target information is processed.

[0076] If it is determined that the operation target is a data object that will cause an operation task exception when operated, the data operation code corresponding to the current operation target information can be processed. When the operation target is determined to be normal, or a data object that will not cause an operation task exception when operated, no prompt may be given or a prompt message similar to "metadata security" may be given in an editor. When the operation target is determined to be a data object that will cause an operation task exception when operated, a prompt message may be given to indicate that the current operation target may cause an operation task exception when operated, for example, if the current operation target has problems such as data skew. In one implementation, the prompt message may be given in the editor, such as Figure 3In the editor interface shown in , the currently input data operation code is "stg_s_account.ca_id", where "stg_s_account" is the table name and "ca_id" is the field of the table. After analysis, it is determined that the data object of the field of the table has a data skew problem under the current data operation, and a prompt message is given in the encoder, including the prompt message of "Data Skew Warning", as well as the data table information, field information, and partition information of the code operation object.

[0077] Further, when it is determined that the operation target is a data object that will cause an abnormal operation task when being operated, a rewrite suggestion can be given to the relevant data operation code of the operation target information according to the operation target information, for example, the rewrite suggestion can be performed according to the preset rules, such as replacing the current operation of the data operation code with other equivalent operations, or replacing the operation object to decompose the calculation task of the source data into multiple equivalent subtasks, so that each subtask is calculated on different computing nodes, and then the calculation results are summarized, so as to obtain the correct operation or calculation results by executing the equivalent task, and avoid abnormal problems such as data tilt when actually implementing the calculation task. In another implementation mode, when obtaining authorization, the relevant data operation code of the current operation target information can also be automatically rewritten when the operation target is determined to be a data object that will cause an abnormal operation task when being operated. Automatic rewriting can also be implemented according to the aforementioned preset rules. When the relevant data operation code is automatically rewritten, the operation task of the operation target information can be decomposed into multiple subtasks by automatically rewriting the data operation code to avoid abnormal problems associated with the operation target when executing the code, such as data tilt.

[0078] The above is a detailed introduction to the control method for data operation provided in the first embodiment of the present application. Through this method, the data operation code of the data operation task input by the user can be received, the input data operation code can be analyzed immediately, the current operation target information, including the metadata information of the current operation target, and whether the operation target associated with the current operation target information is a data object that will cause the operation task to be abnormal when operated. Then, when it is determined that the operation target is a data object that will cause the operation task to be abnormal when operated, the data operation code corresponding to the current operation target information is processed. Through this method, data research and development and data object abnormality detection are effectively integrated, and in the design and coding process of the data operation task, data objects that will cause the operation task to be abnormal can be found in real time, such as target objects with data skew, and then certain measures can be taken to deal with them. Before the task code is actually run, the data objects that may cause the operation task exception are discovered to further deal with the problem. The data object exception detection task is changed from being performed after the task execution exception occurs to being performed before the task execution, such as preventive execution in the design and coding stage of the data operation task. This reduces the probability of exceptions occurring during the actual execution of the data operation code, reduces or avoids the possibility of exceptions or even failures in data operation computing tasks due to data object-related problems, avoids the waste of cluster computing resources, and reduces the development and operation costs of data applications.

[0079] Embodiment 2

[0080] One of the technical purposes achieved by the data operation control method in the above embodiment 1 includes checking the data objects that will cause operation task exceptions when operated before the data operation code is actually run, and changing the data object exception detection task from being executed after the task execution exception occurs to being executed preventively before the task execution, so as to avoid the waste of resources caused by task execution delay or failure due to data object problems during actual operation. Embodiment 2 of the present application provides another implementation method, which can be to perform data skew analysis and inspection of data objects during the code submission stage, that is, the stage after the code is written and before the actual operation, which can also achieve the above technical effect to a certain extent. Figure 4 FIG. 1 is a flowchart of a method for controlling data operations according to Embodiment 2 of the present application. The method may include the following steps:

[0081] S401: receiving a data operation code written by a user for performing a data operation task; the data operation code includes a complete code for executing the data operation task;

[0082] First, a data operation code written by a user for performing a data operation task may be received. The method provided in the second embodiment of the present application may be applied in the code submission stage. Therefore, the data operation code may include a complete code for executing the data operation task.

[0083] S402: Analyze the data operation code before the data operation code is executed, and determine each operation target information for executing the data operation task in the data operation code; the operation target information includes corresponding metadata information;

[0084] After receiving the data operation code written by the user to perform the data operation task, the data operation code can be analyzed before the data operation code is executed to determine the operation target information of the data operation task executed in the data operation code. The operation target information may include metadata information. In specific implementation, the code can also be analyzed for syntax and semantics to obtain an abstract syntax tree, and the object of the abstract syntax tree is accessed to determine the implementation.

[0085] S403: Determine whether the operation target associated with the operation target information is a data object that will cause an operation task exception when being operated;

[0086] After determining each operation target information in the code to be submitted, it is possible to determine whether the operation target associated with the operation target information is a data object that will cause an operation task exception when operated. The specific determination method can refer to the relevant content in step S102 in embodiment 1, which will not be repeated here.

[0087] S404: If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code associated with the data object is processed.

[0088] If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code associated with the data object is processed. The data operation code associated with the data object is processed during the code submission stage, that is, the stage after the code is written and before the actual operation. The code processing may include automatic rewriting of the code. With authorization, the relevant components of the data development system may automatically rewrite the relevant data operation code of the current operation target information. Or the submitted code is returned to the data developer for rewriting. When automatic rewriting is performed, the automatic rewriting can be implemented according to the aforementioned preset rules. When the relevant data operation code is automatically rewritten, the operation task of the operation target information can be decomposed into multiple subtasks by automatically rewriting the data operation code to avoid abnormal problems associated with the operation target when executing the code.

[0089] The above is an introduction to the control method of data operation in the second embodiment of the present application. Through this method, a data operation code written by a user for performing a data operation task can be received; wherein the data operation code includes a complete code for executing the data operation task, that is, a complete code when the data operation task is encoded. Before the data operation code is executed, the data operation code is analyzed to determine each operation target information of the data operation task executed in the data operation code, and to determine whether the operation target associated with each operation target information is a data object that will cause an abnormal operation task when operated. If it is determined that the operation target is a data object that will cause an abnormal operation task when operated, the data operation code associated with the data object is processed. Through this method, during the code submission phase, that is, after the code is written and before the actual operation, data objects can be analyzed and checked to find data objects that will cause abnormal operation tasks, and then certain measures can be taken to deal with them. Before the task code is actually run, data objects that will cause abnormal operation tasks can be found to further deal with the problem. The data object abnormality detection task is changed from being performed after the task execution occurs abnormally to being performed before the task execution, such as preventive execution in the design and coding phase of the data operation task, which reduces the probability of abnormalities in the actual execution of the data operation code and reduces or avoids the possibility of abnormalities or even failures in data operation calculation tasks due to data skew.

[0090] Embodiment 3

[0091] Embodiment 3 of the present application provides a data operation code development auxiliary system, such as Figure 5 As shown, the system may include:

[0092] Editor 501, used to provide an editing interface and receive data operation codes written and input by users;

[0093] The code analysis unit 502 is used to analyze the input data operation code to determine the current operation target information; the current operation target information includes the metadata information of the current operation;

[0094] A target retrieval unit 503 is used to perform retrieval according to the operation target information, determine whether the operation target information has data skew, and obtain a determination result;

[0095] The processing unit 504 is used to process the data operation code corresponding to the operation target information with data skew according to the determination result.

[0096] The metadata information with data skew can be recorded in a cache, and the cache is retrieved and analyzed according to the operation target information. In this implementation, the system may further include:

[0097] A data exploration unit is used to explore the corresponding data and determine the cause of the exception when the data operation code generates an exception when running the historical task; and

[0098] A data cache unit, configured to record metadata information with data skew into a cache when it is determined that the cause of the anomaly is data skew in metadata related to the task;

[0099] The target retrieval unit 503 may be configured to search the cache according to the operation target information, determine whether there is data skew in the operation target information, and obtain a determination result.

[0100] The processing unit 504 may include:

[0101] The prompt subunit is used to provide prompt information in the editor 501 when the determination result is that the operation target information has data skew.

[0102] In another implementation, the processing unit 504 may include:

[0103] The rewriting subunit is used to automatically rewrite the data operation code related to the operation target information with data skew in the editor 501 when authorized.

[0104] Through this system, when the user writes the code, the editor provides an editing interface, receives the data operation code input by the user, and then analyzes the input data operation code in real time, determines the current operation target information, including the metadata information of the current operation, searches according to the operation target information, determines whether the operation target information has data skew, and then processes the data operation code corresponding to the operation target information with data skew according to the judgment result. The system can be provided to developer users in the form of development tools or development tool service components. Through the system, data research and development and data skew detection are effectively integrated. In the process of coding the data operation code, the target object with data skew can be analyzed in real time, and then certain measures can be taken to deal with it. Before the task code is actually run, the data skew problem is found to further deal with the problem. The data skew detection task is changed from being executed after the task execution is abnormal to being executed in the coding stage before the task execution, which reduces the probability of data skew in the actual execution of the data operation code, reduces or avoids the possibility of abnormality or even failure of data operation or computing tasks due to data skew, avoids the waste of cluster computing resources, and reduces the development and operation cost of data applications.

[0105] Embodiment 4

[0106] Corresponding to the first embodiment of the present application, the fourth embodiment of the present application provides a control device for data operation, such as Figure 6 As shown, the device may include:

[0107] The input analysis unit 601 is used to receive the data operation code of the data operation task input by the user, analyze the input data operation code, and determine the current operation target information; the current operation target information includes the metadata information of the current operation;

[0108] The abnormality determination unit 602 is used to determine whether the operation target associated with the current operation target information is a data object that will cause an abnormality in the operation task when being operated; and

[0109] The result processing unit 603 is used to process the data operation code corresponding to the current operation target information if it is determined that the operation target is a data object that will cause an operation task exception when being operated.

[0110] The abnormality determination unit 602 may include:

[0111] The retrieval subunit is used to search in a preset data object set according to the current operation target information to determine whether the current operation target information belongs to the preset data object set; the data object set includes: data objects that will cause operation task abnormality when operated.

[0112] The data object collection is obtained in the following way:

[0113] When a data operation task has an operational abnormality, determine the data object related to the operational abnormality;

[0114] Obtain statistical data of related data objects, determine whether the related data objects are data objects that will cause operation task exceptions when operated based on the statistical data, and save the data objects that will cause operation task exceptions when operated into a data object collection.

[0115] Among them, when obtaining statistical data of related data objects and determining whether the related data objects are data objects that will cause operation task abnormalities when operated based on the statistical data, the number of rows of the related data objects and the number of rows of the data table where the data objects are located can be statistically determined, and the ratio of the number of rows of the data objects to the number of rows of the data table can be determined. If the determined ratio exceeds a preset threshold, it is determined that the related data object is a data object that will cause operation task abnormalities when operated.

[0116] The data operation tasks may include historical data operation tasks relative to the current task.

[0117] In another implementation, the abnormality determination unit 602 may include:

[0118] The exception determination subunit is used to determine whether the data type of the operation target matches the data type required by the corresponding data operation. If not, the operation target is determined to be a data object that will cause an operation task exception when operated.

[0119] The input analysis unit 601 may include:

[0120] The syntax tree building subunit is used to perform syntax and semantic analysis on the data operation code input during the code writing process and build an abstract syntax tree corresponding to the data operation code;

[0121] The syntax tree access subunit is used to access the abstract syntax tree and determine the current operation target information.

[0122] The syntax tree access subunit can be used specifically for:

[0123] Determine the current cursor position, combine the code content corresponding to the current cursor position, access the abstract syntax tree, and determine the current operation target information.

[0124] The metadata information of the current operation may include: data table information, field information, and / or partition information.

[0125] The data object set may also include validity period information corresponding to each data object in the data object set;

[0126] The abnormality determination unit 602 may be used to:

[0127] Determine the validity period information corresponding to each data object in the data object set, retrieve the data objects in the data object set whose validity period information is within a preset period threshold according to the current operation target information, and determine whether the current operation target information belongs to the preset data object set.

[0128] The result processing unit 603 may be implemented in different ways. For example, the result processing unit 603 may include:

[0129] The prompt information providing subunit is used to provide prompt information when it is determined that the operation target is a data object that will cause an operation task abnormality when being operated.

[0130] In another implementation, the result processing unit 603 may include:

[0131] The code rewriting subunit is used to automatically rewrite the data operation code related to the current operation target information if it is determined that the operation target is a data object that will cause an operation task exception when being operated.

[0132] The code rewriting subunit can be used specifically for:

[0133] By automatically rewriting the data operation code, the operation task of operating the target information is decomposed into multiple subtasks to avoid data skew associated with metadata information when executing the code.

[0134] The above is a detailed introduction to the control device for data operation provided by the embodiment of the present application. Through this device, the data operation code of the data operation task input by the user can be received, the input data operation code can be analyzed immediately, the current operation target information, including the metadata information of the current operation target, and whether the operation target associated with the current operation target information is a data object that will cause the operation task to be abnormal when being operated. Then, when it is determined that the operation target is a data object that will cause the operation task to be abnormal when being operated, the data operation code corresponding to the current operation target information is processed. Through this device, the data object that will cause the operation task to be abnormal can be found in real time during the design and coding process of the data operation task, and then certain measures can be taken to deal with it. The abnormality detection task of the data object is changed from being performed after the abnormality occurs in the task execution to being performed before the task execution, which reduces the probability of abnormality in the actual execution process of the data operation code, and reduces or avoids the possibility of abnormality or even failure of the data operation calculation task due to data object related problems.

[0135] Embodiment 5

[0136] Corresponding to the second embodiment of the present application, the fifth embodiment of the present application provides another data operation control device, such as Figure 7 As shown, the device may include:

[0137] The code receiving unit 701 is used to receive a data operation code written by a user to perform a data operation task; the data operation code includes a complete code for performing the data operation task;

[0138] The target analysis unit 702 is used to analyze the data operation code before the data operation code is executed, and determine each operation target information for executing the data operation task in the data operation code; the operation target information includes corresponding metadata information;

[0139] The abnormal object determination unit 703 is used to determine whether the operation target associated with the operation target information is a data object that will cause an abnormal operation task when being operated; and

[0140] The processing unit 704 is configured to process the data operation code associated with the data object if it is determined that the operation target is a data object that will cause an operation task exception when being operated.

[0141] Embodiment 6

[0142] Embodiment 6 of the present application provides a method for processing data operations from the perspective of interactive implementation of big data products in practical applications. The method can be applied to fields such as big data processing, such as Figure 8 As shown, the method may include the following steps:

[0143] S801: providing an operation interface;

[0144] S802: receiving a code input by a user through the operation interface;

[0145] First, a user operation interface can be provided to receive the code input by the user through the operation interface. The code input by the user through the operation interface can be the data operation code of the data operation task. In specific implementation, a user operation control interface can be provided in a big data product. A big data product can be a product including big data basic services, data analysis and presentation, and data application services. Through big data products, operations such as production, storage, management, analysis and maintenance of massive data can be realized. It can be provided as a tool product to relevant personnel or enterprises for research and development of data-related businesses. Relevant interactive functions of user operation control can be realized in the user operation interface, such as data operation code or instruction editor, etc. The data operation code of the data operation task input by the user can be received through the user operation interface.

[0146] S803: Based on the received code, determine an associated operation target corresponding to the current code, where the operation target is a data object for the operation;

[0147] Based on the received code, the associated operation target corresponding to the current code can be determined, such as the operation target of the data object being operated. Before the data operation code is executed, the code can be analyzed to analyze and determine the associated operation target information corresponding to the current code. The operation target may include metadata information to be operated. Generally, the determination of the associated operation target corresponding to the current code can be based on the code line of the current operation.

[0148] Then, it can be determined whether the associated operation target corresponding to the current code is a data object that will cause an operation task abnormality when operated; the data object may include a data object that causes an operation task abnormality due to data skew. There may be a variety of implementation methods in specific implementation, wherein the associated operation target information corresponding to the current code can be retrieved, for example, the preset data object set can be retrieved according to the information of the associated operation target corresponding to the current code to determine whether the associated operation target corresponding to the current code belongs to the preset data object set, and the preset data object set may include data objects that will cause an operation task abnormality when operated. The associated operation target corresponding to the current code can be a data object to be operated when designing and coding a data operation or computing task. The associated operation target information corresponding to the current code is retrieved to determine whether the associated operation target information corresponding to the current code has a problem similar to data skew, and to determine whether the associated operation target corresponding to the current code is a data object that will cause an operation task abnormality when operated.

[0149] S804: When it is determined that the operation target is a data object that will cause an operation task abnormality when being operated, a prompt message is provided in the operation interface to prompt that data skew exists in the current operation target.

[0150] If it is determined that the operation target is a data object that will cause an abnormal operation task when it is operated, a prompt message can be provided in the operation interface to prompt that the current operation target has data skew. For example, a prompt message can be provided in the encoder, and the prompt message includes words such as "data skew", as well as the data table information, field information, and partition information of the code operation object, so as to provide users with detailed information about the data object. Of course, if it is determined that the operation target is a data object that will cause an abnormal operation task when it is operated, further operations can also be performed, such as providing rewriting suggestions.

[0151] The above is a detailed introduction to the processing method of data operation provided by the sixth embodiment of the present application. Through this method, an operation interface can be provided to receive the code input by the user through the operation interface. The code can be the data operation code of the data operation task; based on the received data operation code, based on the received code, the associated operation target corresponding to the current code is determined. The operation target can be the data object for the operation. When the operation target is determined to be a data object that will cause the operation task to be abnormal when being operated, a prompt message is provided in the operation interface to prompt that the current operation target has data tilt. Through this method, in the process of the user using the operation interface to design and code the data operation task, the data object that will cause the operation task to be abnormal, such as the target object with data tilt, can be found in real time, and then the corresponding prompt message is provided in the operation interface in time, so that the big data product user can timely find, locate and process the data object with data tilt. Before the task code is actually run, the data object that will cause the operation task to be abnormal is found to further process the problem, realizing a preventive solution in the design and coding stage of the data operation task, reducing the probability of abnormality in the actual execution of the data operation code.

[0152] Embodiment 7

[0153] Corresponding to the sixth embodiment of the present application, a large data processing device is also provided. Fig. 9 The big data processing device provided in Embodiment 7 of the present application may include:

[0154] The interface providing unit 901 may be used to provide an operation interface; through the operation interface, the user may input the data operation code of the data operation task;

[0155] The target information determination unit 902 may be used to receive a code input by a user through an operation interface; based on the received data operation code, the current operation target information may be analyzed and determined. The current operation target information may include metadata information of the current operation;

[0156] The operation target analysis unit 903 can be used to determine the associated operation target corresponding to the current code based on the received code, where the operation target is the data object of the operation. Further, it can be determined whether the associated operation target corresponding to the current code is a data object that will cause an operation task abnormality when operated; whether the associated data object corresponding to the current code is a data object that causes an operation task abnormality due to data skew; and

[0157] The information prompting unit 904 is used to provide prompt information on the operation interface to prompt that the current operation target has data skew when the operation target is determined to be a data object that will cause an operation task abnormality ...

[0158] The present application also provides a computer system, which may include:

[0159] one or more processors; and

[0160] A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the program instructions perform the following operations:

[0161] Receiving a data operation code of a data operation task input by a user, analyzing the input data operation code, and determining current operation target information; the current operation target information includes metadata information of the current operation;

[0162] Determine whether the operation target associated with the current operation target information is a data object that will cause an operation task exception when being operated;

[0163] If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code corresponding to the current operation target information is processed.

[0164] in, Fig.10 The computer system architecture is shown as an example, which may include a processor 1010, a video display adapter 1011, a disk drive 1012, an input / output interface 1013, a network interface 1014, and a memory 1020. The processor 1010, the video display adapter 1011, the disk drive 1012, the input / output interface 1013, the network interface 1014, and the memory 1020 may be communicatively connected via a communication bus 1030.

[0165] Among them, the processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc., to execute relevant programs to implement the technical solution provided in this application.

[0166] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, etc. The memory 1020 can store an operating system 1021 for controlling the operation of the computer system 1000, and a basic input and output system (BIOS) for controlling the low-level operations of the computer system 1000. In addition, a web browser 1023, a data storage management system 1024, and an icon font processing system 1025, etc. can also be stored. The above-mentioned icon font processing system 1025 can be an application program that specifically implements the operations of the aforementioned steps in the embodiment of the present application. In short, when the technical solution provided in the present application is implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0167] The input / output interface 1013 is used to connect the input / output module to realize information input and output. The input / output module can be configured as a component in the device (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0168] The network interface 1014 is used to connect to a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired method (such as USB, network cable, etc.) or a wireless method (such as mobile network, WIFI, Bluetooth, etc.).

[0169] The bus 1030 comprises a pathway for transmitting information between the various components of the device (eg, the processor 1010 , the video display adapter 1011 , the disk drive 1012 , the input / output interface 1013 , the network interface 1014 , and the memory 1020 ).

[0170] In addition, the computer system 1000 can also obtain information on specific collection conditions from the virtual resource object collection condition information database 1041 for use in condition judgment, etc.

[0171] It should be noted that, although the above device only shows a processor 1010, a video display adapter 1011, a disk drive 1012, an input / output interface 1013, a network interface 1014, a memory 1020, a bus 1030, etc., in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include components necessary for implementing the solution of the present application, and does not necessarily include all the components shown in the figure.

[0172] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0173] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0174] The above is a detailed introduction to the control method and device for data operation provided by the present application. The principles and implementation methods of the present application are described in detail using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.

Claims

1. A data operation control method, characterized in that: include: Receive the data operation code of the data operation task input by the user, analyze the input data operation code, and determine the current operation target information; The operation target information is a data object to be operated when designing and coding a data operation or a computing task. The current operation target information is described by metadata information of the current operation, and the metadata information includes data table information, field information, and / or partition information; According to the current operation target information, a search is performed in a preset data object set to determine whether the current operation target information belongs to the preset data object set, and / or to determine whether the data type of the operation target does not match the data type required by the corresponding data operation, so as to determine whether the operation target associated with the current operation target information is a data object that will cause an operation task abnormality when operated; wherein the data object set is used to store data objects that will cause an operation task abnormality and are obtained in advance through data exploration; the data exploration is used to discover and analyze various types of data anomaly problems in the data source, and the various types of data anomaly problems include: data skew problems; If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code corresponding to the current operation target information is processed.

2. The method according to claim 1, characterized in that The data object set is obtained in the following way: When a data operation task has an operational abnormality, determine the data object related to the operational abnormality; Obtain statistical data of the related data objects, determine whether the related data objects are data objects that will cause operation task exceptions when operated based on the statistical data, and save the data objects that will cause operation task exceptions when operated to the data object set.

3. The method according to claim 2, characterized in that The acquiring statistical data of the related data object and determining, according to the statistical data, whether the related data object is a data object that will cause an operation task abnormality when operated, includes: The number of rows of the related data objects and the number of rows of the data table where the data objects are located are statistically determined, and the ratio of the number of rows of the data objects to the number of rows of the data table is determined. If the determined ratio exceeds a preset threshold, it is determined that the related data objects are data objects that will cause an operation task exception when operated.

4. The method according to claim 2, characterized in that: The data operation tasks include: The historical data operation task relative to the current task.

5. The method according to claim 1, characterized in that: The step of analyzing the input data operation code to determine the current operation target information includes: Perform grammatical and semantic analysis on the data operation code input during the coding process, and construct the corresponding abstract syntax tree of the data operation code; The abstract syntax tree is accessed to determine current operation target information.

6. The method according to claim 5, characterized in that The accessing the abstract syntax tree to determine current operation target information includes: The current position of the cursor is determined, and the abstract syntax tree is accessed in combination with the code content corresponding to the current position of the cursor to determine the current operation target information.

7. The method according to claim 1, characterized in that The data object set also includes: Corresponding validity period information of each data object in the data object set; The searching in a preset data object set according to the current operation target information to determine whether the current operation target information belongs to the preset data object set includes: Determine the validity period information corresponding to each data object in the data object set, retrieve the data objects in the data object set whose validity period information is within a preset time limit threshold according to the current operation target information, and determine whether the current operation target information belongs to the preset data object set.

8. The method according to claim 1, characterized in that If it is determined that the operation target is a data object that will cause an operation task exception when being operated, processing the data operation code corresponding to the current operation target information includes: If it is determined that the operation target is a data object that will cause an operation task exception when being operated, prompt information is provided.

9. The method according to any one of claims 1 to 8, characterized in that: If it is determined that the operation target is a data object that will cause an operation task exception when being operated, processing the data operation code corresponding to the current operation target information includes: If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code related to the current operation target information is automatically rewritten.

10. The method according to claim 9, characterized in that The automatic rewriting of the data operation code related to the current operation target information includes: By automatically rewriting the data operation code, the operation task of operating the target information is decomposed into multiple subtasks, so as to avoid data skew associated with the metadata information when executing the code.

11. A method for controlling data operation, characterized in that: include: Receive data operation codes written by users to perform data operation tasks; The data operation code includes a complete code for executing a data operation task; Analyzing the data operation code before the data operation code is executed to determine each operation target information for executing the data operation task in the data operation code; The operation target information is a data object to be operated when designing and coding a data operation or a computing task. The operation target information is described by metadata information of the current operation. The metadata information includes data table information, field information, and / or partition information. According to the current operation target information, a search is performed in a preset data object set to determine whether the current operation target information belongs to the preset data object set, and / or to determine whether the data type of the operation target does not match the data type required by the corresponding data operation, so as to determine whether the operation target associated with the operation target information is a data object that will cause an operation task abnormality when operated; wherein the data object set is used to store data objects that will cause an operation task abnormality and are obtained in advance through data exploration; the data exploration is used to discover and analyze various types of data anomaly problems in the data source, and the various types of data anomaly problems include: data skew problems; If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code associated with the data object is processed.

12. A method for processing data operations, characterized in that: include: Provide an operation interface; Receiving a code input by a user through the operation interface; Based on the received code, the code is analyzed before the data operation code is executed to determine the associated operation target corresponding to the current code, wherein the operation target is the data object to be operated when designing the coding of the data operation or computing task; Searching in a preset data object set according to the current operation target information, determining whether the current operation target information belongs to the preset data object set, so as to determine whether the operation target associated with the current operation target information is a data object that will cause an operation task abnormality when operated; wherein the data object set is used to store data objects that will cause an operation task abnormality and are obtained in advance through data exploration; the data exploration is used to discover and analyze data skew problems in data sources; When it is determined that the operation target is a data object that will cause an abnormal operation task when being operated, prompt information is provided on the operation interface to prompt that data skew exists in the current operation target.

13. A data operation control device, characterized in that: include: An input analysis unit, used to receive a data operation code of a data operation task input by a user, analyze the input data operation code, and determine current operation target information; The operation target information is a data object to be operated when designing and coding a data operation or a computing task. The current operation target information is described by metadata information of the current operation, and the metadata information includes data table information, field information, and / or partition information; The abnormality determination unit is used to search in a preset data object set according to the current operation target information, determine whether the current operation target information belongs to the preset data object set, and / or determine whether the data type of the operation target does not match the data type required by the corresponding data operation, so as to determine whether the operation target associated with the current operation target information is a data object that will cause an abnormal operation task when operated; wherein the data object set is used to store data objects that will cause abnormal operation tasks and are obtained in advance through data exploration; the data exploration is used to discover and analyze various types of data abnormality problems in the data source, and the various types of data abnormality problems include: data skew problems; The result processing unit is used to process the data operation code corresponding to the current operation target information if it is determined that the operation target is a data object that will cause an operation task exception when being operated.

14. A data operation control device, characterized in that: include: A code receiving unit, used for receiving a data operation code written by a user for performing a data operation task; The data operation code includes a complete code for executing a data operation task; A target analysis unit, used for analyzing the data operation code before the data operation code is executed, and determining each operation target information for executing the data operation task in the data operation code; The operation target information is a data object to be operated when designing and coding a data operation or a computing task. The operation target information is described by metadata information of the current operation. The metadata information includes data table information, field information, and / or partition information. The abnormal object determination unit is used to search in a preset data object set according to the current operation target information, determine whether the current operation target information belongs to the preset data object set, and / or determine whether the data type of the operation target does not match the data type required by the corresponding data operation, so as to determine whether the operation target associated with the operation target information is a data object that will cause an abnormal operation task when operated; wherein the data object set is used to store data objects that will cause abnormal operation tasks and are obtained in advance through data exploration; the data exploration is used to discover and analyze various types of data abnormality problems in the data source, and the various types of data abnormality problems include: data skew problems; The processing unit is used to process the data operation code associated with the data object if it is determined that the operation target is a data object that will cause an operation task exception when being operated.

15. A data operation processing device, characterized in that: include: An interface providing unit, used for providing an operation interface; A target information determination unit, configured to receive a code input by a user through the operation interface; An operation target analysis unit, used to determine, based on the received code, an associated operation target corresponding to the current code, wherein the operation target is a data object to be operated when designing and coding a data operation or computing task; Searching in a preset data object set according to the current operation target information, determining whether the current operation target information belongs to the preset data object set, so as to determine whether the operation target associated with the current operation target information is a data object that will cause an operation task abnormality when operated; wherein the data object set is used to store data objects that will cause an operation task abnormality and are obtained in advance through data exploration; the data exploration is used to discover and analyze data skew problems in data sources; The information prompt unit is used to provide prompt information on the operation interface to prompt that there is data skew in the current operation target when determining that the operation target is a data object that will cause an operation task abnormality when being operated.

16. A computer system, characterized in that: include: one or more processors; as well as A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the program instructions perform the following operations: Receive a data operation code of a data operation task input by a user, analyze the input data operation code, and determine current operation target information; the operation target information is a data object to be operated when designing and coding a data operation or calculation task, and the current operation target information is described by metadata information of the current operation, and the metadata information includes data table information, field information, and / or partition information; According to the current operation target information, a search is performed in a preset data object set to determine whether the current operation target information belongs to the preset data object set, and / or to determine whether the data type of the operation target does not match the data type required by the corresponding data operation, so as to determine whether the operation target associated with the current operation target information is a data object that will cause an operation task abnormality when operated; wherein the data object set is used to store data objects that will cause an operation task abnormality and are obtained in advance through data exploration; the data exploration is used to discover and analyze various types of data anomaly problems in the data source, and the various types of data anomaly problems include: data skew problems; If it is determined that the operation target is a data object that will cause an operation task exception when being operated, the data operation code corresponding to the current operation target information is processed.