Data processing method and related device for enterprise application integration
By generating UI components based on data template components, dynamic mapping configurations match the data sources in the connection components, solving the problems of data flow limitations and inflexible configuration in enterprise application integration, and realizing flexible connections and multiple connections between heterogeneous systems. Dimension mapping extension.
Patent Information
- Application Number
- CN202111650706.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-12-30
AI Technical Summary
There are problems in enterprise application integration such as data flow limitations and inability to support flexible configuration and expansion, which are difficult to effectively solve with existing technologies.
The method of generating UI components based on data template components is used, and the target data of the data source in the matching connection component is filled through dynamic mapping configuration. It supports the flexible expansion of multiple mapping dimensions and customized data models, and weakens the intrusive dependence of interfaces between systems.
It realizes the provision of standard definition connections between heterogeneous systems that conform to their own business logic, supports the flexible expansion of multiple mapping dimensions, and solves the problems of data flow limitations and inflexible configuration.
Smart Images

Figure CN114328492B
Abstract
Description
Technical Field
[0001] The present application relates to the field of enterprise application integration, and in particular, to a data processing method and related devices for enterprise application integration. Background Art
[0002] Enterprise application integration integrates heterogeneous applications built on various platforms and using different solutions.
[0003] In the process of enterprise application integration, the unique data flow is adopted, which has limitations in data flow and fixed dependencies between different systems. Furthermore, the support for multi-data source mapping import cannot be flexibly configured or expanded.
[0004] Currently, no effective solution has been proposed to address the problems in enterprise application integration in related technologies, such as data flow limitations and lack of support for flexible configuration and expansion. Summary of the invention
[0005] The main purpose of this application is to provide a data processing method and related devices for enterprise application integration to solve the problem that enterprise application integration has data flow limitations and does not support flexible configuration and expansion.
[0006] In order to achieve the above objective, according to one aspect of the present application, a data processing method for enterprise application integration is provided.
[0007] The data processing method for enterprise application integration according to the present application includes: generating a UI component based on a data template component; according to the UI component, calling the dynamic mapping configuration of the data component to match the target data of the data source in the connection component for filling, wherein the data component and the activity component have a preset execution relationship, and each of the activity components includes multiple connection components; the connection component defines the source or destination of the data by pre-configuration, the activity component performs operations on the data by pre-configuration based on the connection component, the data component pre-configures a data set for calling, the UI component automatically defines a user interaction interface to be displayed, the data template component is used to support different preset business document scenarios, and the preset business document scenario is used to convert the organizational form of the target data in a way that customizes the data model according to the target scenario.
[0008] Furthermore, the dynamic mapping configuration of the calling data component matches the target data of the data source in the connection component for filling, and also includes: after cleaning, transferring and assembling the data by performing process task flow according to different active components and the association relationship and reference relationship between each task, the characteristic data of the target data is assigned to the data template component.
[0009] Furthermore, the connection component defines the source or destination of the data through pre-configuration, and provides a standardized definition interface that conforms to its own business logic.
[0010] Furthermore, the dynamic mapping configuration of the data component is also configured to match the corresponding mapping data according to a preset priority, and the voucher metadata in the mapping data is associated with an ERP mapping rule, and the voucher metadata is related to the preset business document scenario.
[0011] Furthermore, the data template component is also configured to establish a table structure of a dynamic database based on data definition and to realize dynamic storage based on the structure of the source data; select a template filling data source and a template format data source, wherein the template filling data source is based on a mapping relationship between a data packet and a data table predefined in the connection component, and the template format data source is based on a mapping relationship between a data packet and a data table prespecified in the connection component; according to the data source selection result, determine a header module, a body module and an auxiliary accounting module of the data template, wherein the header module includes at least one of the following items as a key column: template type, template name, target account set, the template type is used to distinguish the type of target voucher or document, the template name is used as the first field associated with the data source and the template, the target account set is used as the second field associated with the data source and the template, the body module includes an amount field, and the auxiliary accounting module includes an accounting project voucher; modular definition and process-based assembly are performed after assembling the different data template components to perform data cleaning and output results.
[0012] Furthermore, the connection component is also configured to simultaneously define the source and destination of multiple data; the OpenAPI, database and custom adapter in the connection component, wherein the OpenAPI is used to provide multiple query access dynamic parameters based on the SQL language; the database includes at least one of the following: SQLServer, MySQL, Oracle, ODBC; the custom adapter includes at least one of the following: WebService universal adapter, RFC universal adapter, Excel universal adapter, NCC custom adapter, U9 custom adapter; the activity component is also configured to perform at least one of the following operations: referencing a connection defined by a connection to obtain data operations, specifying data storage operations, defining additional operations to be performed before or after an activity, and deactivating operations.
[0013] Furthermore, the UI component is also configured to: determine the specific file name of the UI class file and the UI specific class name of the UI class name; determine the key column name selected in the different reference data and data packets in the data component; add an attachment menu option, and the attachment menu option includes at least one of the following: serial number, first-level menu, second-level menu, associated activities, and operation mode.
[0014] In order to achieve the above objective, according to another aspect of the present application, a data processing device for enterprise application integration is provided.
[0015] According to the present application, the data processing device for enterprise application integration includes: a generation module, which is used to generate a UI component based on a data template component; a mapping and matching module, which is used to call the dynamic mapping configuration of the data component to match the target data source in the connection component for filling according to the UI component, wherein the data component and the activity component have a preset execution relationship, and each of the activity components includes multiple connection components; the connection component defines the source or destination of the data by pre-configuration, the activity component performs operations on the data by pre-configuration based on the connection component, the data component pre-configures a data set for calling, the UI component automatically defines a user interaction interface to be displayed, and the data template component is used to support different preset business document scenarios, and the preset business document scenario is used to convert the organizational form of the target data in a way that customizes the data model according to the target scenario.
[0016] In order to achieve the above objective, according to another aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the method when running.
[0017] In order to achieve the above objective, according to another aspect of the present application, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the described method.
[0018] In the data processing method and related device for enterprise application integration in the embodiment of the present application, a method of generating UI components based on data template components is adopted. By calling the dynamic mapping configuration of the data component to match the target data source in the connection component according to the UI component, the data logic between heterogeneous systems will not be affected. The purpose of providing standard definition connections that conform to their own business logic between systems is achieved, thereby achieving the technical effect of weakening the interface intrusion dependency between systems and supporting flexible expansion of multiple mapping dimensions, thereby solving the technical problems that enterprise application integration has data flow limitations and does not support flexible configuration and expansion. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The schematic embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application. In the drawings:
[0020] Figure 1 is a schematic diagram of the hardware structure of a data processing method for enterprise application integration according to an embodiment of the present application;
[0021] Figure 2 is a flow chart of a data processing method for enterprise application integration according to an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of the structure of a data processing device for enterprise application integration according to an embodiment of the present application;
[0023] Figure 4 It is a flowchart of a data processing method for enterprise application integration according to a preferred embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] In the present application, the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings. These terms are mainly used to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation.
[0027] In addition, some of the above terms may be used to express other meanings in addition to indicating orientation or positional relationship. For example, the term "on" may also be used to express a certain dependency or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in this application can be understood according to specific circumstances.
[0028] In addition, the terms "installed", "set", "provided with", "connected", "connected", and "socketed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection, or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two devices, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0029] The technical terms involved in this application are as follows:
[0030] EAI (Enterprise Application Integration) is a method and technology for integrating heterogeneous applications built on various platforms and with different solutions. EAI connects heterogeneous systems, applications, data sources, etc. across the entire enterprise by establishing an underlying structure, and enables seamless sharing and exchange of data between the enterprise's ERP, CRM, SCM, database, data warehouse, and other important internal systems. With EAI, enterprises can combine their core applications with new Internet solutions. Conversation engines include but are not limited to task-based, Q&A-based, chat-based, and knowledge graphs.
[0031] OpenAPI (Application Programming Interface), the full name of API is application programming interface. In the Internet era, the website services are encapsulated into a series of computer-readable data interfaces and opened to third-party developers for use. This behavior is called the open website API. Correspondingly, the open API is called OpenAPI.
[0032] ERP (Enterprise Resource Planning) is a management platform that is based on information technology and provides decision-making and operation means for enterprise decision-makers and employees with systematic management ideas. The ERP system supports mixed manufacturing environments such as discrete and process-based manufacturing.
[0033] SQL (Structured Query Language) is a special-purpose programming language, a database query and programming language used to access data and query, update and manage relational database systems.
[0034] The inventors have discovered that the solution based on unique data flow adopted in the related art has strong limitations on data flow and strong rigid dependence between systems. If the basic data of one system is adjusted, other systems will also need to be adjusted synchronously. This solution is also not suitable for docking systems with opposing data that are already in operation, because each system has its own relatively independent basic data.
[0035] In addition, the solution of multi-data source mapping and import in related technologies can solve the data mapping synchronization between two running systems, but the input data mapping template is not flexible enough, the multi-dimensional mapping is relatively rigid, and the system is highly customized. For example, when there is a mapping subject dimension, it is necessary to map multiple dimensions such as department, project, and personnel to one subject data, and there is also a corresponding priority match. This solution cannot perform flexible matching and flexible dimension expansion.
[0036] The following problems are solved by the method in this application based on unique data flow and multi-data source mapping import: (1) only using a single data source, the data flows of two independent systems are incompatible; (2) there is a strong reliance on intrusion into the interface between systems; (3) when importing multiple data sources, the mapping dimension is not flexible enough; (4) the integrated data model is not broad enough.
[0037] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0038] like Figure 1 , which is a schematic diagram of the hardware structure of the data processing method for enterprise application integration in the embodiment of the present application, including: a backend server 100, a client 200, and a document 300. The backend server 100 is used to respond to the request of the client 200, and the document 300 is used to be displayed on the user terminal 200 and generated based on the backend server 100. It should be noted that EAI between multiple systems is realized through the backend server 100.
[0039] Embodiment 1
[0040] like Figure 2 As shown, the method includes the following steps S201 to S202:
[0041] Step S201, generating a UI component based on a data template component;
[0042] Step S202: According to the UI component, the dynamic mapping configuration of the data component is called to match the target data of the data source in the connection component for filling.
[0043] Among them, the data component and the activity component have a preset execution relationship, each of the activity components includes multiple connection components; the connection component defines the source or destination of the data by pre-configuration, the activity component performs operations on the data by pre-configuration based on the connection component, the data component pre-configures the data set for calling, the UI component automatically defines the user interaction interface to be displayed, and the data template component is used to support different preset business document scenarios, and the preset business document scenario is used to convert the organization form of the target data in a way of customizing the data model according to the target scenario.
[0044] From the above description, it can be seen that the present application achieves the following technical effects:
[0045] By adopting the method of generating UI components based on data template components, the dynamic mapping configuration of the data component is called according to the UI component to match the target data of the data source in the connection component for filling, so as to achieve the purpose of not affecting the data logic between heterogeneous systems and providing standard definition connections that conform to their own business logic between systems, thereby achieving the technical effect of weakening the interface intrusion dependency between systems and supporting flexible expansion of multiple mapping dimensions, thereby solving the technical problems of data flow limitations in enterprise application integration and lack of support for flexible configuration and expansion.
[0046] In the above step S201, at least one UI component is generated based on the data template component, driven by the template component, and the process task flow is carried out according to different activity modules, and can be referenced in the association relationship between each task. The UI component automatically defines the user interaction interface to be displayed. The customized method is more flexible and easy to expand and optimize.
[0047] As an optional implementation, the data template component is used to support different preset business document scenarios, and the preset business document scenarios are used to convert the organization form of the target data in a manner of customizing the data model according to the target scenario.
[0048] As a preferred implementation manner, the preset business document scenario includes, but is not limited to, a business scenario of a financial reimbursement document.
[0049] As a preferred implementation, the conversion of the target data organization form according to the target scenario custom data model refers to the conversion of the target data organization form that supports the target scenario custom data model. The target data organization form may include multiple forms, and the target scenario custom data model is related to the preset business document scenario, such as the data model of the financial reimbursement document.
[0050] In step S202, according to the UI component, the dynamic mapping configuration of the data component is called to match the target data of the data source in the connection component for filling. Based on the UI component, the dynamic mapping configuration of the data component is called to match the target data of the data source in the connection component for data filling.
[0051] As an optional implementation, the data component and the activity component have a preset execution relationship, and each of the activity components includes multiple connection components. Since each of the activity components includes multiple connection components, multiple mapping relationships can be supported. The data component and the activity component have a preset execution relationship, and the execution relationship includes obtaining data by referencing the connection relationship defined by the connection component, obtaining additional operations of the data, and deactivating the data.
[0052] As a preferred implementation, the connection component pre-configures the source or destination of data, the activity component pre-configures operations on data based on the connection component, and the data component pre-configures a data set for calling.
[0053] It should be noted that the connection component pre-configures the source or destination of the defined data, and the operation of processing the data is pre-configured in the activity component through the connection component. In the data component, the data set is pre-configured to meet the callability.
[0054] Based on the above steps, the entire flow process is driven by the data template component configuration, the data source is matched through the dynamic mapping configuration, and then each data source is cleaned according to the model algorithm, and the data of the target feature is assigned to the data template component. In addition, the data mapping in the dynamic mapping configuration of the data component is dynamically expanded, and each data match is mapped according to the configuration dimension, and the target data is quickly matched through the preset data model algorithm.
[0055] As a preferred embodiment of this embodiment, the dynamic mapping configuration of the calling data component matches the target data of the data source in the connection component for filling, and also includes: after data cleaning, circulation and assembly through the process task flow of multiple data sources according to different active components and the association relationship and reference relationship between each task, the characteristic data of the target data is assigned to the data template component.
[0056] In specific implementation, it is preferred to clean, circulate and assemble the data by performing process task flow according to different active components and referencing the association relationship between each task through multiple data sources, and then assign the characteristic data of the target data to the data template component, perform process task flow according to different active modules, and reference the association relationship between each task to achieve the purpose of data cleaning, circulation and data assembly.
[0057] As a preference in this embodiment, the connection component defines the source or destination of data through pre-configuration, and provides a standardized definition interface that complies with its own business logic.
[0058] In specific implementation, the connection component defines the source or destination of data (database or API) through pre-configuration, and provides a standardized definition interface that conforms to its own business logic.
[0059] As a preference in this embodiment, the dynamic mapping configuration of the data component is also configured to match the corresponding mapping data according to a preset priority, and the voucher metadata in the mapping data is associated with an ERP mapping rule, and the voucher metadata is related to the preset business document scenario.
[0060] In the specific implementation, according to the system matching logic algorithm, the corresponding mapping data is matched according to the priority scheme, and the data flow is assembled through the integrated data model. The voucher metadata in the mapping data is associated with the ERP mapping rules, and the voucher metadata is related to the preset business document scenario. The ERP can be connected to the data model.
[0061] As a preferred embodiment of the present embodiment, the data template component is further configured to establish a table structure of a dynamic database based on data definition and to realize dynamic storage based on the structure of the source data; select a template filling data source and a template format data source, wherein the template filling data source is based on a mapping relationship between a data packet and a data table predefined in the connection component, and the template format data source is based on a mapping relationship between a data packet and a data table prespecified in the connection component; according to the data source selection result, determine a header module, a body module and an auxiliary accounting module of the data template, wherein the header module includes at least one of the following items as a key column: template type, template name, target account set, the template type is used to distinguish the type of target voucher or document, the template name is used as the first field associated with the data source and the template, the target account set is used as the second field associated with the data source and the template, the body module includes an amount field, and the auxiliary accounting module includes an accounting project voucher; modular definition and process-based assembly are performed after assembling the different data template components to perform data cleaning and output results.
[0062] In specific implementation, in order to support various business document scenarios, the data template component allows users to convert the data organization form by customizing the data template according to the target scenario. At the same time, different modules are assembled, modularized, and assembled in a process-based manner; ultimately, data cleaning output results are achieved. Dynamic database table structures can be established in data definition, and source data structures can be dynamically stored.
[0063] The data template component is also configured to establish a table structure of a dynamic database based on data definition and to implement dynamic storage based on the structure of the source data, select a template filling data source and a template format data source, and determine the header module, body module and auxiliary accounting module of the data template according to the data source selection result; and assemble the data template components into modular definitions and process-based assemblies according to different data template components to perform data cleaning and output results.
[0064] In some specific implementations, based on the template type, template name, and target account set, the template type is used to distinguish the type of target voucher or document, the template name is used as the first field to associate the data source with the template, and the target account set is used as the second field to associate the data source with the template.
[0065] In some specific implementations, the table body module includes an amount field, and the auxiliary accounting module includes an accounting project voucher. Based on the purpose of auxiliary accounting, at least an accounting project voucher is adopted to meet the use in the financial reimbursement document scenario.
[0066] As a preference in this embodiment, the connection component is also configured to simultaneously define the source and destination of multiple data; the OpenAPI, database and custom adapter in the connection component, wherein the OpenAPI is used to provide multiple query access dynamic parameters based on the SQL language; the database includes at least one of the following: SQLServer, MySQL, Oracle, ODBC; the custom adapter includes at least one of the following: WebService universal adapter, RFC universal adapter, Excel universal adapter, NCC custom adapter, U9 custom adapter; the activity component is also configured to perform at least one of the following operations: referencing a connection defined by a connection to obtain data operations, specifying data storage operations, defining additional operations to be performed before or after an activity, and deactivating operations.
[0067] In specific implementation, the connection component is also configured to simultaneously define the sources and destinations of multiple data; the OpenAPI, database and custom adapter in the connection component.
[0068] Furthermore, OpenAPI is used to provide multiple query access dynamic parameters based on SQL language; the database includes at least one of the following: SQLServer, MySQL, Oracle, ODBC.
[0069] Furthermore, the custom adapter includes at least one of the following: a WebService universal adapter, an RFC universal adapter, an Excel universal adapter, an NCC custom adapter, and a U9 custom adapter.
[0070] At the same time, the activity component is also configured to perform at least one of the following operations: referencing a defined connection to obtain data, specifying a data storage operation, defining additional operations to be performed before or after the activity, and deactivating the operation. The operations in these activity components are all pre-configured and support multiple operations.
[0071] As a preference in this embodiment, the UI component is also configured to: determine the specific file name of the UI class file and the UI specific class name of the UI class name; determine the key column name selected in the different reference data and data packets in the data component; add an attachment menu option, and the attachment menu option includes at least one of the following: serial number, first-level menu, second-level menu, associated activities, and operation mode.
[0072] In specific implementation, after determining the specific file name of the UI class file and the specific class name of the UI class name in the UI component, the key column names selected in different reference data and data packets in the data component, the attachment menu options, etc. can be added.
[0073] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0074] Embodiment 2
[0075] According to an embodiment of the present application, a data processing device for enterprise application integration for implementing the above method is also provided. Figure 3 As shown, the device comprises:
[0076] A generating module 301, used to generate a UI component based on a data template component;
[0077] A mapping matching module 302 is used to call the dynamic mapping configuration of the data component to match the target data of the data source in the connection component for filling according to the UI component.
[0078] Among them, the data component and the activity component have a preset execution relationship, each of the activity components includes multiple connection components; the connection component defines the source or destination of the data by pre-configuration, the activity component performs operations on the data by pre-configuration based on the connection component, the data component pre-configures the data set for calling, the UI component automatically defines the user interaction interface to be displayed, and the data template component is used to support different preset business document scenarios, and the preset business document scenario is used to convert the organization form of the target data in a way of customizing the data model according to the target scenario.
[0079] In the generation module 301 of the embodiment of the present application, at least one UI component is generated based on the data template component, driven by the template component, and the process task flow is performed according to different activity modules, and can be referenced by the association relationship between each task. The UI component automatically defines the user interaction interface to be displayed. The customized method is more flexible and easy to expand and optimize.
[0080] As an optional implementation, the data template component is used to support different preset business document scenarios, and the preset business document scenarios are used to convert the organization form of the target data in a manner of customizing the data model according to the target scenario.
[0081] As a preferred implementation manner, the preset business document scenario includes, but is not limited to, a business scenario of a financial reimbursement document.
[0082] As a preferred implementation, the conversion of the target data organization form according to the target scenario custom data model refers to the conversion of the target data organization form that supports the target scenario custom data model. The target data organization form may include multiple forms, and the target scenario custom data model is related to the preset business document scenario, such as the data model of the financial reimbursement document.
[0083] In the mapping matching module 302 of the embodiment of the present application, according to the UI component, the dynamic mapping configuration of the data component is called to match the target data of the data source in the connection component for filling. Based on the UI component, the dynamic mapping configuration of the data component is called to match the target data of the data source in the connection component for data filling.
[0084] As an optional implementation, the data component and the activity component have a preset execution relationship, and each of the activity components includes multiple connection components. Since each of the activity components includes multiple connection components, multiple mapping relationships can be supported. The data component and the activity component have a preset execution relationship, and the execution relationship includes obtaining data by referencing the connection relationship defined by the connection component, obtaining additional operations of the data, and deactivating the data.
[0085] As a preferred implementation, the connection component pre-configures the source or destination of data, the activity component pre-configures operations on data based on the connection component, and the data component pre-configures a data set for calling.
[0086] It should be noted that the connection component pre-configures the source or destination of the defined data, and the operation of processing the data is pre-configured in the activity component through the connection component. In the data component, the data set is pre-configured to meet the callability.
[0087] Based on the above modules, the entire flow process is driven by the data template component configuration, the data source is matched through dynamic mapping configuration, and then each data source is cleaned according to the model algorithm, and the data of the target feature is assigned to the data template component. In addition, the data mapping in the dynamic mapping configuration of the data component is dynamically expanded, and each data match is mapped according to the configuration dimension, and the target data is quickly matched through the preset data model algorithm.
[0088] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.
[0089] In order to better understand the above data processing method flow for enterprise application integration, the above technical solution is explained below in conjunction with a preferred embodiment, but is not intended to limit the technical solution of the embodiment of the present invention.
[0090] The data processing method for enterprise application integration in the embodiment of the present application will not affect the data logic between heterogeneous systems, achieving zero intrusion. It is sufficient to provide standard defined connections that conform to their own business logic between different enterprise systems. In terms of data mapping, the mapping dimension can be flexibly expanded. According to the system matching logic algorithm, the corresponding mapping data is matched according to the priority scheme, and finally the data flow is assembled through the integrated data model.
[0091] like Figure 4 FIG. 1 is a flow chart of a data processing method for enterprise application integration in an embodiment of the present application. The specific process of implementation includes the following steps:
[0092] S41, in which the data component and the activity component have a preset execution relationship, each of the activity components includes a plurality of connection components; the connection component pre-configures the source or destination of the data, the activity component pre-configures the operation of processing the data based on the connection component, the data component pre-configures the data set for calling, the UI component automatically defines the user interaction interface to be displayed, the data template component is used to support different preset business document scenarios, and the preset business document scenario is used to convert the organization form of the target data in a way of customizing the data model according to the target scenario.
[0093] S42, generating the UI component based on the data template component;
[0094] S43, according to the UI component, calling the dynamic mapping configuration of the data component to match the target data of the data source in the connection component for filling.
[0095] S44, after cleaning, transferring and assembling the data by transferring the process tasks of the plurality of data sources according to the different activity components and the association and reference relationships between each task, the characteristic data of the target data is assigned to the data template component.
[0096] The connection component defines the source or destination of the data through pre-configuration and provides a standardized definition interface that conforms to its own business logic.
[0097] In some specific embodiments, the connection component is further configured to simultaneously define the source and destination of multiple data;
[0098] The connection component includes an OpenAPI, a database, and a custom adapter, wherein the OpenAPI is used to provide multiple query access dynamic parameters based on the SQL language; the database includes at least one of the following: SQLServer, MySQL, Oracle, ODBC; the custom adapter includes at least one of the following: WebService universal adapter, RFC universal adapter, Excel universal adapter, NCC custom adapter, U9 custom adapter.
[0099] The connection component defines the source / destination of data, and can define N sources and destinations at the same time.
[0100] The OpenAPI in the connection component includes but is not limited to:
[0101] Parameters, you can define various parameters, you can execute SQL statements to implement dynamic parameters. Parameters can be nested. Parameters can be referenced by API addresses. Parameters starting with _ will not be sent to the target connection. Supports multi-parameter increment and loop to adapt to paging download.
[0102] Databases, including but not limited to SQLServer / MySQL / Oracle / ODBC.
[0103] Custom adapter, a.WebService universal adapter, b.RFC universal adapter, c.Excel universal adapter, d.NCC custom adapter, e.U9 custom adapter.
[0104] The activity component is further configured to perform at least one of the following operations: referencing a defined connection to obtain data, specifying a data storage operation, defining additional operations to be performed before or after the activity, and deactivating the operation.
[0105] The activity component references the defined connection to obtain data and define stored procedures.
[0106] The data acquisition includes: a. The data table must have an auto-increment field; b. Column definition: Chinese name / field name. If there is no corresponding field in the target table, it will be automatically increased; c. Value path.
[0107] Defining a stored procedure includes: a. Parameters and value paths.
[0108] The activity component defines additional operations or activities that need to be performed before / after the activity, including but not limited to: 1. Sequence number: indicates the execution order, negative numbers indicate execution before the current activity; 2. Activity: reference to other activities; 3. Error handling: a. Abandon and end: abandon the current result, end the current operation, and skip the subsequent activities. b. Go to the next activity: abandon the current result and execute the subsequent activities intermittently.
[0109] The activity component is disabled, the current activity is disabled and not executed, and the disabled activity is automatically skipped.
[0110] The data template component is further configured to establish a table structure of a dynamic database based on data definition and to implement dynamic storage based on the structure of the source data;
[0111] Selecting a template filling data source and selecting a template format data source, wherein the template filling data source is based on a mapping relationship between a data packet and a data table predefined in the connection component, and the template format data source is based on a mapping relationship between a data packet and a data table prespecified in the connection component;
[0112] According to the data source selection result, a header module, a body module and an auxiliary accounting module of the data template are determined, wherein the header module includes at least one of the following items as a key column: template type, template name, and target account set, wherein the template type is used to distinguish the type of target voucher or document, the template name is used as a first field for associating the data source with the template, the target account set is used as a second field for associating the data source with the template, the body module includes an amount field, and the auxiliary accounting module includes an accounting item voucher;
[0113] According to the different data template components, modular definition and process-based assembly are carried out after assembly to clean the data and output the results.
[0114] The data template components include but are not limited to: custom data packages and defined data packages that can be used by the UI / template.
[0115] It also includes: table definition, a. base table / view, filtering / sorting, and associated expressions.
[0116] It also includes: column definition, a. Chinese name, column name and field properties (auto-increment, UI display width, data type, whether to add / modify, empty, etc.) b. Specify the conditions for adding / updating / deleting. When there are no conditions for adding, deleting or modifying the entire table, adding is done by default.
[0117] The UI component is also configured to: determine the specific file name of the UI class file and the UI specific class name of the UI class name; determine the key column name selected in the different reference data and data packets in the data component; add an attachment menu option, and the attachment menu option includes at least one of the following: serial number, first-level menu, second-level menu, associated activity, and operation mode.
[0118] The UI component includes: defining a user interaction interface that needs to be displayed.
[0119] The UI components include but are not limited to: Specifying UI class file: Specifying UI specific file name. Specifying UI class name: Specifying UI specific class name, the system will automatically instantiate and display, and the class must inherit the IElementConsumer interface to transfer elements.
[0120] The UI components include, but are not limited to, specifying reference data: referencing a data package defined in "data".
[0121] The UI components include, but are not limited to, determining key column names: selecting column names defined in a data package, and the system can automatically identify and assemble selection conditions when selecting a row.
[0122] The UI components include, but are not limited to, attachment menu items, including: a. Serial number: display order, the same first-level menu, serial number separator, display menu separator line. b. First-level menu: the first-level menu of the form, only one can be created with the same name. c. Second-level menu: the second-level menu of the form, automatically hanging under the corresponding first-level menu. d. Associated activities: the activities corresponding to the menu, the corresponding activities will be automatically executed when the menu is clicked. e. Operation mode: currently only supports manual operation.
[0123] The data template components are assembled and modularized according to different modules. The process is assembled to achieve data cleaning output results. Dynamic database table structure can be established in data definition, and source data structure can be dynamically stored.
[0124] In order to support various business document scenarios, the data template component allows users to convert data organization forms by customizing data templates according to target scenarios.
[0125] The data template component selects a template filling data source (derived from a data packet-table defined in the data component); and also includes selecting a template format data source (derived from a specific data packet-table defined in the data component, a data packet ending with a template definition)
[0126] The data template components include, but are not limited to, table headers. The table header includes a. Template type: a key column used to distinguish the type of target voucher / document. Different target vouchers / documents must be filled with different values to distinguish them. b. Template name: a key column, a field that associates the data source with the template, and cannot be left blank. c. Target account set: a key column, a field that associates the data source with the template, and cannot be left blank.
[0127] The data template components include, but are not limited to, a table body, which includes: Amount: when the amount field is zero, delete the record.
[0128] The data template components include, but are not limited to, auxiliary accounting, including: accounting vouchers, displaying specific auxiliary accounting items according to auxiliary accounting settings, and automatically increasing or decreasing records according to enabled auxiliary accounting.
[0129] An embodiment of the present application further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0130] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0131] S1, generate UI components based on data template components;
[0132] S2, according to the UI component, calling the dynamic mapping configuration of the data component to match the target data of the data source in the connection component for filling,
[0133] Among them, the data component and the activity component have a preset execution relationship, each of the activity components includes multiple connection components; the connection component defines the source or destination of the data by pre-configuration, the activity component performs operations on the data by pre-configuration based on the connection component, the data component pre-configures the data set for calling, the UI component automatically defines the user interaction interface to be displayed, and the data template component is used to support different preset business document scenarios, and the preset business document scenario is used to convert the organization form of the target data in a way of customizing the data model according to the target scenario.
[0134] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0135] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0136] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0137] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0138] S1, generate UI components based on data template components;
[0139] S2, according to the UI component, calling the dynamic mapping configuration of the data component to match the target data of the data source in the connection component for filling,
[0140] Among them, the data component and the activity component have a preset execution relationship, each of the activity components includes multiple connection components; the connection component defines the source or destination of the data by pre-configuration, the activity component performs operations on the data by pre-configuration based on the connection component, the data component pre-configures the data set for calling, the UI component automatically defines the user interaction interface to be displayed, and the data template component is used to support different preset business document scenarios, and the preset business document scenario is used to convert the organization form of the target data in a way of customizing the data model according to the target scenario.
[0141] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0142] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A data processing method for enterprise application integration, characterized in that: include: Generate UI components based on data template components; According to the UI component, the dynamic mapping configuration of the data component is called to match the target data of the data source in the connection component for filling, The data component and the activity component have a preset execution relationship, each of the activity components includes a plurality of connection components; the connection component pre-configures the source or destination of the data, the activity component pre-configures the operation of processing the data based on the connection component, the data component pre-configures the data set for calling, the UI component automatically defines the user interaction interface to be displayed, and the data template component is used to support different preset business document scenarios, and the preset business document scenario is used to convert the organization form of the target data in a way of customizing the data model according to the target scenario; The dynamic mapping configuration of the calling data component matches the target data of the data source in the connection component for filling, and further includes: after the plurality of the data sources are subjected to process task flow according to different the activity components and the association relationship reference relationship between each task is used for data cleaning, flow and assembly, the characteristic data of the target data is assigned to the data template component; The dynamic mapping configuration of the data component is further configured to match the corresponding mapping data according to a preset priority according to a system matching logic algorithm, the voucher metadata in the mapping data is associated with an ERP mapping rule, and the voucher metadata is related to the preset business document scenario; The data template component is further configured to establish a table structure of a dynamic database based on data definition and to implement dynamic storage based on the structure of the data source; Selecting a template filling data source and selecting a template format data source, wherein the template filling data source is based on a mapping relationship between a data packet and a data table predefined in the connection component, and the template format data source is based on a mapping relationship between a data packet and a data table prespecified in the connection component; According to the data source selection result, a header module, a body module and an auxiliary accounting module of the data template are determined, wherein the header module includes at least one of the following items as a key column: template type, template name and target account set, the template type is used to distinguish the type of target voucher or document, the template name is used as a first field to associate the data source with the template, the target account set is used as a second field to associate the data source with the template, the body module includes an amount field, and the auxiliary accounting module includes an accounting item voucher; According to the different data template components, modular definition and process-based assembly are performed after assembly to perform data cleaning and output results; The activity component is further configured to perform operations including at least one of the following: referencing a defined connection to obtain data operations, specifying a data storage operation, defining additional operations to be performed before or after the activity, and deactivating operations; The UI component is also configured to: determine the specific file name of the UI class file and the UI specific class name of the UI class name; determine the key column names selected in the different reference data and data packets in the data component; add attachment menu options, and the attachment menu options include at least one of the following: serial number, first-level menu, second-level menu, associated activities and operation mode.
2. The method according to claim 1, characterized in that The connection component pre-configures the source or destination of the defined data and provides a standardized definition interface that complies with its own business logic.
3. The method according to claim 1, characterized in that: The connection component is further configured to simultaneously define the source and destination of multiple data; The connection component includes an OpenAPI, a database, and a custom adapter, wherein the OpenAPI is used to provide multiple query access dynamic parameters based on the SQL language; the database includes at least one of the following: SQLServer, MySQL, Oracle, and ODBC; the custom adapter includes at least one of the following: WebService universal adapter, RFC universal adapter, Excel universal adapter, NCC custom adapter, and U9 custom adapter.
4. A data processing device for enterprise application integration, used to implement the data processing method for enterprise application integration as claimed in claim 1, characterized in that: include: A generation module is used to generate UI components based on data template components; A mapping matching module is used to call the dynamic mapping configuration of the data component to match the target data of the data source in the connection component for filling according to the UI component. Among them, the data component and the activity component have a preset execution relationship, each of the activity components includes multiple connection components; the connection component pre-configures the source or destination of the data, the activity component pre-configures the operation of processing the data based on the connection component, the data component pre-configures the data set for calling, the UI component automatically defines the user interaction interface to be displayed, and the data template component is used to support different preset business document scenarios, and the preset business document scenario is used to convert the organization form of the target data in a way of customizing the data model according to the target scenario.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the data processing method for enterprise application integration according to any one of claims 1 to 3 when running.
6. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the data processing method for enterprise application integration according to any one of claims 1 to 3.
