Data association operation processing method

A data association operation processing model is built through deep learning algorithms, and data operation logic codes are automatically generated and optimized to solve the problems of low data operation processing efficiency and high cost, achieve high accuracy and timeliness, and reduce communication and time costs.

CN118733008APending Publication Date: 2024-10-01GAU JIN
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310285385.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the field of data computing, cognitive barriers between business personnel and technical personnel lead to high communication costs and time costs. The existing technology lacks effective solutions, resulting in low efficiency of data computing processing.

Method used

Use deep learning algorithms to build data association computing processing models, analyze the association mapping relationships between data entities and technical features, automatically generate and execute data computing logic codes, self-optimize and iterate through the algorithm model, and interact with external applications through open API interfaces to replace Traditional requirements communication and code development process.

Benefits of technology

It effectively reduces the probability of human errors, improves the accuracy of data operations, adapts to a variety of application scenarios, improves the timeliness of data operations, breaks cognitive barriers, significantly reduces communication and time costs, and optimizes work processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733008A_ABST
    Figure CN118733008A_ABST
Patent Text Reader

Abstract

The invention discloses a data association operation processing method. According to the method, a specific deep learning algorithm and technology are applied, model optimization and iterative learning are continuously performed based on samples in a deployment environment, an association mapping relation between related data is analyzed, a data operation logic code is generated and executed, an operation processing result is cached, and interaction with an external application is performed through an open API interface. According to the method, the accuracy of data operation is improved, the timeliness of data operation is improved, and the cost of a workflow is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data computing, and in particular to a method for data association computing processing. Background Art

[0002] In the field of data computing, due to its high professionalism, data development has always been done by technical personnel by writing relevant program codes. On the one hand, since business personnel focus on the business level and generally do not understand the underlying logic of the data, the difficulty of implementing the proposed business requirements is easily overlooked, and they care more about getting results as soon as possible; on the other hand, technical personnel focus on the data level, and their technical ability levels and understanding of complex business logic are also uneven. Based on their understanding of the business caliber and underlying data, technical personnel repeatedly communicate and confirm with the demand personnel, and then carry out relevant code development, code debugging, and code running to finally obtain the data calculation results. Human understanding deviations or coding errors may require the above process to be repeated; it can be seen that this cognitive barrier between the two parties has invisibly consumed a lot of communication costs and time costs, and there is currently no better solution. Summary of the invention

[0003] The present application provides a method for data association operation processing to solve the problems of low data operation processing efficiency and high workflow cost.

[0004] The present application provides a method for data association operation processing, comprising the following steps: Step (1). Build a deep learning algorithm to train samples in the deployment environment and generate a data association operation processing model; Step (2). Analyze the association mapping relationship between data entities and data entity technical features; Step (3). Automatically generate and execute data operation logic code and cache data operation results; Step (4). Algorithm model self-optimization and iteration; Step (5). Open the API interface to interact with external applications.

[0005] In the method, deep learning refers to a neural network with a large number of parameters and layers, and specific algorithms include but are not limited to back propagation, feedforward neural network (FNN), convolutional neural network (CNN), recurrent neural network (RNN), recursive neural network, autoencoder, deep belief network and restricted Boltzmann machine, generative adversarial network (GAN), Transformers and graph neural network; deployment environment refers to a collective term for a series of software and hardware environments required or located for the implementation of the method; sample refers to a collection of data entities in the deployment environment, including but not limited to database tables / views, charts, document files, metadata, scripts, program codes and annotations, data dictionaries, data mapping topology diagrams, business calibers, logs and historical operation records; the data association operation processing model is generated by training based on a variety of samples that fit the data operation logic with the goal of realizing data association operation, constructing a deep learning algorithm suitable for the method, and having extremely high accuracy. The data association operation processing model integrates the sample data portrait information, including but not limited to parameters, features, formulas, semantics, rules, logic and internal connections.

[0006] In the method, data entity refers to a specific technical object, which has been explained above and will not be elaborated again; the technical characteristics of data entity include but are not limited to data specifications and standards, storage space, distribution, field type, field name, entity type, entity name, data value, threshold, unit, length, precision, time series, granularity, timeliness, integrity, document name, document content, code type, code length, number of uses, frequency of use, purpose, description, source, destination, mapping relationship, data permissions, and security level; the association mapping relationship between data entities and data entity technical characteristics is parsed, and the elements include but are not limited to: determining the data source, association conditions and association method; determining labels, dimensions, metrics and indicator items; determining filtering conditions, grouping conditions, sorting requirements and aggregation methods.

[0007] In the method, based on the specific elements of the association mapping relationship between data entities and their technical characteristics, the elements are spliced ​​and processed, and the data operation logic code is automatically generated and executed, which replaces the demand communication, demand analysis, demand evaluation, demand confirmation, code development, code debugging and code running links in the traditional workflow, thereby effectively reducing the communication cost and time cost in the workflow.

[0008] In the method, the sample size and business scope will change with time, so the algorithm model must have the ability to self-optimize and iterate; for example, the mapping relationship, scripts, program code or comments, exception information, interaction information and other operation records and requirement documents in the data operation logic generation process will also become new samples as training and learning objects; at the same time, when the sample is updated, it will be considered as a new sample and thus trained and learned; therefore, the algorithm model can continue to learn and improve, so that it has resilience and adaptability.

[0009] In the method, interaction with external applications is carried out through an open API interface, where external refers to the outside of the method rather than the outside of the enterprise, and the API interface can adapt to conventional request methods; external applications include but are not limited to web browsers, document tools, system applications, and APP programs; the method is enabled to serve more application scenarios, reflecting the data calculation timeliness and data delivery capabilities of the method.

[0010] The beneficial effects of the present invention are: 1. Effectively reduce the probability of human errors such as misunderstanding or coding errors, and improve the accuracy of data calculations; 2. Adapt to application scenarios outside of work and rest time to improve the timeliness of data calculation; 3. Break down cognitive barriers, optimize work processes, and effectively reduce communication and time costs; 4. The method of the present invention plays such a role that it understands technology better than business personnel and understands business better than technical personnel. Therefore, through the method of the present invention, business personnel have a better data support experience, and technical personnel can further broaden their business vision. Both parties are committed to improving the standards of data governance, the specifications of business processes, and the operation and maintenance of the method system of the present invention, so that data can better empower the business. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The above aspects and advantages of the present application will become apparent and easily understood from the following description of the method and embodiments in conjunction with the accompanying drawings, in which: Figure 1 It is a flowchart of a method for data association operation processing of the present application; Figure 2 This is a flowchart of a first embodiment of a method for data association operation processing of the present application; Figure 3 This is a flow chart of a second embodiment of a method for data association operation processing of the present application; Figure 4 This is a flowchart of a third embodiment of a method for data association operation processing of the present application; Figure 5This is a flowchart of a fourth embodiment of a method for data association operation processing of the present application; Figure 6 is the test data table A of the first embodiment of the present application; Figure 7 is the test data table B of the first embodiment of the present application; Figure 8 This is the test data table C of the first embodiment of the present application. Implementation

[0012] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.

[0013] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps and / or operations, but does not exclude the presence or addition of one or more other features, integers, steps, operations and / or groups thereof.

[0014] Before introducing the method provided in the embodiment of the present application, the application scenario of the embodiment of the present application is first introduced. The method provided in the embodiment of the present application is applied to the field of data computing. In the embodiment, all preparations required for the method, including the deployment environment, the initialization of the method, etc., are ready and have the conditions for implementation. Example

[0015] Figure 2 It is a flow chart of the first embodiment of the method for implementing a data association operation processing in the present application. This embodiment provides a specific flow of routine data operation processing without exception.

[0016] Specifically, Figure 2 As shown, the implementation process of the method may include the following steps: S201: The external application calls the API interface to initiate a command request, for example, to count the sales of air conditioners in various cities in Guangdong Province in 2020; S202: The API interface responds to the request instruction and sends it to the data association operation processing model to identify the validity of the request instruction. The model performs semantic splitting on the request instruction, such as: "statistics", "2020", "Guangdong Province", "various", "prefecture-level cities", "air conditioning", "sales", and the above semantic splitting factors can all be recognized by the model, that is, the model matches the feature information of all the semantic splitting factors, thereby determining that the request instruction is valid; S203: parsing the association mapping relationship between the data entity and the technical features of the data entity; For ease of understanding, the following uses three test data tables A, B, and C to illustrate ( Figure 6 : Table A; Figure 7 : Table B; Figure 8 : Table C): First, according to the semantic splitting factors and their characteristic information described in step S202, the data entity technical characteristics in the data association operation processing model are associated to obtain three tables A, B, and C as data source tables; Furthermore, the table name of table A is obtained: regional dimension table; the English names of the fields are: prov_id, prov_name, city_id, city_name; the Chinese names of the fields are: province number, province name, city number, city name; the field types are: character type, character type, character type, character type; Further, the table name of table B is obtained: Goods dimension table; the English names of the fields are: goods_id, goods_name; the Chinese names of the fields are: Goods number, Goods name; the field types are: character type, character type; Further, the C table name is obtained: Commodity Sales Monthly Table; the English names of the fields are: data_date, city_id, goods_id, sell_amt, sell_prc; the Chinese names of the fields are: data account period, city number, commodity number, sales volume, sales price; the field types are: character type, character type, character type, numeric type, numeric type; Furthermore, the existing business caliber is obtained: sales = sales volume * sales price; Furthermore, it is obtained that "2020" contains 12 months from "202001" to "202012" in the data_date column of table C; Furthermore, it is obtained that the association between Table A and Table C is an inner association, and the association condition is A.city_id = C.city_id; the association between Table B and Table C is an inner association, and the association condition is B.goods_id = C.goods_id; Furthermore, the dimension obtained is the city name, which is displayed in table A city_name; Further, the obtained metrics are C table sell_amt, the unit is "unit"; sell_prc, the unit is "yuan"; Furthermore, the filtering conditions are obtained as follows: Province Name = "Guangdong", Data Account Period ≥ "202001" and Data Account Period ≤ "202012", Product Name = "Air Conditioner"; Furthermore, the grouping condition is obtained as city_name of table A; Furthermore, the aggregation method obtained is to sum the sales of the 12 months of 2020 using SUM; Furthermore, the total sales amount is calculated as SUM (sell_amt * sell_prc); S204: Automatically generate and execute data operation logic code, and cache data operation results; According to the information in step S203, the following SQL (Structured Query Language) code is automatically generated through the model in step S202: select A.city_name: city name, sum(C.sell_amt * C.sell_prc) sales from A, B, C where A.city_id = C.city_id and B.goods_id = C.goods_id and C.data_date>= "202001" and C.data_date<= "202012" and A.prov_name = "Guangdong" and B.goods_name = "Air Conditioner" group by A.city_name: city name; Automatically execute the above code to generate the following data: City Name Sales Guangzhou 110110000 Shenzhen 117580000 S205: Return the data operation result of the request instruction through the API interface; S206: The operation records and request instructions in the data operation logic generation process are added to the sample to perform self-optimization and iteration of the algorithm model. Example

[0017] Figure 3 It is a flow chart of the second embodiment of the method for implementing a data association operation processing in the present application. This embodiment provides a specific process for operation processing of abnormal data that cannot be identified due to statistical caliber.

[0018] Specifically, Figure 3As shown, the implementation process of the method may include the following steps: S301: The external application calls the API interface to initiate a command request, for example: statistics on the sales gross profit margin of air conditioners in various cities in Guangdong Province in 2020; S302: The API interface responds to the request instruction and sends it to the data association operation processing model to identify the validity of the request instruction. The model performs semantic splitting on the request instruction, such as: "Statistics", "2020", "Guangdong Province", "Various", "Cities", "Air Conditioning", "Sales Gross Profit Rate". Since the model only matches the feature information of "Sales Amount" and "Cost Amount", and does not match any feature information of "Sales Gross Profit Rate", the request instruction is determined to be invalid, and the specific reason is fed back: "Sales Gross Profit Rate" cannot be identified, please clarify the business scope; S303: The external application receives the above error feedback information through the API interface and re-initiates a request instruction: Calculate the sales gross profit margin of air conditioners in various cities in Guangdong Province in 2020, sales gross profit margin = (sales - cost) / sales * 100%; S304: the model determines that the request instruction is valid and performs data operation processing; S305: Return the data operation result of the request instruction through the API interface; S306: The operation records and request instructions in the data operation logic generation process are added to the sample to perform self-optimization and iteration of the algorithm model. Example

[0019] Figure 4 It is a flow chart of the third embodiment of the method for implementing a data association operation processing in the present application. This embodiment provides a specific process for operation processing of abnormal data that cannot be identified by the request object.

[0020] Specifically, Figure 4 As shown, the implementation process of the method may include the following steps: S401: The external application calls the API interface to initiate a command request, for example, to count the solar sales in various cities in Guangdong Province in 2020; S402: The API interface responds to the request instruction and sends it to the data association operation processing model to identify the validity of the request instruction. The model performs semantic splitting on the request instruction, such as: "statistics", "2020", "Guangdong Province", "various", "cities", "sun", "sales". Because the model only matches the feature information of "sunglasses", "sun hats" and "solar water heaters", and does not match the specific feature information of "sun", the request instruction is determined to be invalid, and the specific reason is fed back: "sun" cannot be identified, and the following is approximate matching information: sunglasses, sun hats, solar water heaters; S403: The external application receives the above error feedback information through the API interface and re-initiates a request instruction: statistics on the sales volume of sun hats in various cities in Guangdong Province in 2020; S404: the model determines that the request instruction is valid and performs data operation processing; S405: Return the data operation result of the request instruction through the API interface; S406: The operation records and request instructions in the data operation logic generation process are added to the sample to perform self-optimization and iteration of the algorithm model. Example

[0021] Figure 5 This is a flow chart of the fourth embodiment of a method for implementing data association operation processing in the present application. This embodiment provides a specific process for abnormal data operation processing that returns erroneous data due to statistical caliber adjustment.

[0022] Specifically, Figure 5 As shown, the implementation process of the method may include the following steps: S501: The external application calls the API interface to initiate a command request, for example: statistics on the sales of air conditioners in various cities in Guangdong Province in 2021; S502: The API interface responds to the request instruction and sends it to the data association operation processing model to identify the validity of the request instruction. The model performs semantic splitting on the request instruction, such as: "statistics", "2021", "Guangdong Province", "various", "prefecture-level cities", "air conditioning", "sales", and the above semantic splitting factors can all be recognized by the model, that is, the model matches the feature information of all the semantic splitting factors, thereby determining that the request instruction is valid; S503: parsing the association mapping relationship between the data entity and the technical features of the data entity; S504: Automatically generate and execute data operation logic code, and cache data operation results; S505: Return the data operation result of the first request instruction through the API interface; S506: The external application discovers data anomalies and traces back the running records of the entire request processing flow to locate the problem: the sales volume in 2021 has been changed to: sales volume = sales volume * (sales price * 0.9), that is, sales are made at a 10% discount on the list price; S507: The external application re-initiates a request command through the API interface: Statistics on the sales of air conditioners in various cities in Guangdong Province in 2021, sales = sales volume * (sales price * 0.9); S508: the model determines that the second request instruction is valid and performs data operation processing; S509: Return the data operation result of the second request instruction through the API interface; S510: The operation records and request instructions in the data operation logic generation process are added to the sample to perform self-optimization and iteration of the algorithm model.

[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / and / or" used herein includes any and all combinations of one or more related listed items.

[0024] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for data association operation processing, It is characterized in that The following steps are involved: Step (1). Build a deep learning algorithm to train samples in the deployment environment and generate a data association operation processing model; Step (2). Analyze the association mapping relationship between data entities and data entity technical features; Step (3). Automatically generate and execute data operation logic code and cache data operation results; Step (4). Algorithm model self-optimization and iteration; Step (5). Open the API interface to interact with external applications.

2. A method for data association operation processing according to claim 1, It is characterized in that The data association operation processing model is aimed at realizing data association operation, constructing a deep learning algorithm adapted to the method, and is generated through training based on a variety of samples that fit the data operation logic. Therefore, it has extremely high accuracy. The data association operation processing model integrates the sample data portrait information, including but not limited to parameters, features, formulas, semantics, rules, logic and internal connections.

3. A method for data association operation processing according to claim 1, It is characterized in that Analyze the association mapping relationship between data entities and their technical characteristics. The elements include but are not limited to: determining the data source, association conditions and association methods; determining labels, dimensions, metrics and indicator items; determining filtering conditions, grouping conditions, sorting requirements and aggregation methods.

4. A method for data association operation processing according to claim 1, It is characterized in that Based on the specific elements of the association mapping relationship between data entities and their technical characteristics, the elements are spliced ​​and processed to generate and execute data operation logic code, replacing the demand communication, demand analysis, demand evaluation, demand confirmation, code development, code debugging and code running links in the traditional workflow, thereby effectively reducing the communication cost and time cost in the workflow.

5. A method for data association operation processing according to claim 1, It is characterized in that The sample size and business scope will change over time, so the algorithm model must have the ability to self-optimize and iterate. For example, the mapping relationship, scripts, program code or comments, exception information, interaction information and other operation records and requirement documents in the data operation logic generation process will also become new samples as training and learning objects. At the same time, when the sample is updated, it will be considered a new sample and thus trained and learned. Therefore, the algorithm model can continue to learn and improve, making it flexible and adaptable.

6. A method for data association operation processing according to claim 1, It is characterized in that Interact with external applications through an open API interface, where external refers to the outside of the method rather than the outside of the enterprise. The API interface can adapt to conventional request methods; external applications include but are not limited to web browsers, document tools, system applications, and APP programs; enable the method to serve more application scenarios, reflecting the data calculation timeliness and data delivery capabilities of the method.

Citation Information

Cited By

  • Method for generating statement from natural language to SQL in business scene based on large model

    CN117708162A