High multiplexing method and device for data exchange with heterogeneous system in contract management, equipment and medium
Through interface integration and data mapping technology, efficient automated data exchange between enterprise contract management systems and heterogeneous systems is realized, solving the problems of time-consuming, labor-intensive and complex operation and maintenance of data integration, and improving the flexibility and response speed of the system.
Patent Information
- Application Number
- CN202510493621.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-07-18
AI Technical Summary
In the prior art, the data integration between enterprise contract management systems and heterogeneous systems is time-consuming, error-prone and high development costs, especially when business needs change, operation and maintenance complexity increases.
Through interface integration definition, contract reference source definition, data conversion rule settings and field mapping, automated data exchange between contract management systems and heterogeneous systems is realized, reducing manual operations and customized development.
It improves data exchange efficiency and accuracy, reduces manual operation costs and development complexity, and enhances system flexibility and response speed.
Smart Images

Figure CN120336415A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of contract management, and particularly relates to a highly reusable method, device, equipment and medium for data exchange with heterogeneous systems in contract management. Background Art
[0002] Currently, enterprises use ERP management software to integrate various business processes. As a key link connecting the business side and the financial side, the contract management system plays an important role in the entire ERP process. At the business front end, contract signing often depends on upstream plan or order data. For example, in the material procurement business, the subject data of the procurement contract usually comes from the procurement plan, and the material data in the procurement plan may be as many as thousands of items. In the traditional operation mode, business users need to manually re-enter this data during the contract registration process, which not only consumes a lot of time but also is prone to errors, resulting in low work efficiency.
[0003] In addition, the upstream systems used by different enterprises, such as the supply chain material system, the repair system, the sales system, etc., often have heterogeneity. These systems may be provided by different manufacturers, such as SAP, UFIDA, Kingdee, etc., and their data formats and interface specifications are different. To achieve data integration between the contract management system and these heterogeneous systems, developers need to carry out a large amount of customized interface development work, including functions such as form and field mapping. This repetitive investment not only wastes a large amount of development resources but also increases the development cost and cycle.
[0004] Moreover, after the contract management system is officially launched, due to the continuous change of business requirements, the data structure and business rules may be adjusted. At this time, developers often need to carry out customized modifications, which undoubtedly increases the complexity and workload of the contract management system operation and maintenance. Once the developer resources are tense or the response is not timely, it may affect the normal operation of the enterprise's business. Therefore, there is an urgent need for an efficient and reusable heterogeneous system data exchange method to solve the above problems of business users, development resources, and system operation and maintenance. Summary of the Invention
[0005] In a first aspect, an embodiment of this application provides a highly reusable method for data exchange with heterogeneous systems in contract management, including the following steps: S1. Respond to the interface integration definition request, obtain the configuration information of the heterogeneous system interface connected to the contract management system, and store it in the database table; S2. Respond to the contract reference source definition request, select the data type from the heterogeneous system as the contract reference source, obtain the configuration information of the contract reference source, and define the data conversion rule, and save the configuration information of the contract reference source and the data conversion rule to the database table; S3. In response to the contract reference request, select the contract reference source for each contract type in the contract management system, obtain the contract reference setting information, and save it to the database table; S4. In response to the contract reference data mapping request, set the mapping relationship between the fields of each contract type in the contract management system and the corresponding fields in the heterogeneous system, obtain the contract reference data mapping information, and save it to the database table; S5. In response to the contract creation request, select the contract reference source from the database table according to the contract type to be created, obtain the contract reference source data through the heterogeneous system interface, and then fill the data of the relevant fields in the heterogeneous system into the created contract according to the mapping relationship in the database table.
[0006] Furthermore, the specific steps of step S1 are as follows: S11. In response to the interface integration definition request, determine the heterogeneous system interface that docks with the contract management system; S12. Obtain the interface address and interface parameter configuration of the heterogeneous system interface that docks with the contract management system, and determine the interface name; S13. Save the interface address and interface name to the main table of the interface configuration database; S14. Save the interface address and interface parameter configuration to the sub-table of the interface configuration database.
[0007] Furthermore, the specific steps of step S2 are as follows: S21. In response to the contract reference source definition request, select the target type data from the heterogeneous system as the contract reference source, obtain the number, name of the contract reference source, and the interface name of the corresponding heterogeneous system, and use them as the contract reference source configuration information; S22. Obtain the data conversion rule for the data of the corresponding type of the contract reference source to the contract management system; S23. Save the contract reference source configuration information and the data conversion rule to the contract reference source definition database table.
[0008] Furthermore, the specific steps of step S3 are as follows: S31. In response to the contract reference request, determine the contract reference source for each contract type; S32. Set whether the determined contract reference source must be referenced and the editing permission of the data after reference to obtain the contract reference setting information; S33. Save the contract reference setting information to the contract reference setting database table.
[0009] Furthermore, the specific steps of step S4 are as follows: S41. In response to the contract reference data mapping request, obtain data from the heterogeneous system interface, convert the obtained data according to the data conversion rule to obtain the source fields; S42. Use the data fields in the contract management system as target fields and set the mapping relationship from source fields to target fields; S43. Set the data display form after field mapping; S44. Use the mapping relationship from source fields to target fields and the data display form after field mapping as contract reference data mapping information; S45. Save the contract reference data mapping information to the contract reference data mapping database table.
[0010] Furthermore, the specific steps of step S5 are as follows: S51. When initiating a contract creation request in the contract management system, parse out the contract type to be created; S52. Identify the corresponding contract reference source from the contract reference setting database table according to the required contract type; S53. Obtain the data of the contract reference source through the heterogeneous system interface connected to the contract management system and perform conversion according to the data conversion rules in the contract reference source definition database table; S54. Fill the converted data into the contract according to the mapping relationship in the contract reference data mapping database table, and identify whether the data is editable during the filling process; If yes, go to step S55; If no, go to step S56; S55. Adaptively adjust the mapped data in the contract as required; S56. Maintain the original state of the mapped data in the contract.
[0011] Furthermore, the following steps are also included in step S5: Statistically analyze the exception information that occurs during the call of the heterogeneous system interface docked with the contract management system, and save the exception information to the interface integration log database table; Respond to the interface execution exception query request, filter out the corresponding exception information from the interface integration log database table and display and export it.
[0012] In a second aspect, an embodiment of the present application also provides a highly reusable system for data exchange between a contract management and a heterogeneous system, including: An interface integration definition module, configured to respond to an interface integration definition request, obtain the configuration information of the heterogeneous system interface connected to the contract management system, and store it in a database table; A contract reference source definition module, configured to respond to a contract reference source definition request, select a data type from the heterogeneous system as a contract reference source, obtain the configuration information of the contract reference source, define data conversion rules, and save the configuration information of the contract reference source and the data conversion rules to a database table; A contract reference setting module, which is used to respond to a contract reference request, select a contract reference source for each contract type in the contract management system, obtain contract reference setting information, and save it to a database table; A contract reference mapping module, which is used to respond to a contract reference data mapping request, set the mapping relationship between the fields of each contract type in the contract management system and the corresponding fields in the heterogeneous system, obtain contract reference data mapping information, and save it to a database table; A contract creation module, which responds to a contract creation request, selects a contract reference source from the database table according to the contract type to be created, obtains contract reference source data through the heterogeneous system interface, and then fills the data of relevant fields in the heterogeneous system into the created contract according to the mapping relationship in the database table.
[0013] Thirdly, an embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the high-reusability method for data exchange between contract management and a heterogeneous system as described in the first aspect are implemented.
[0014] Fourthly, an embodiment of the present application further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the high-reusability method for data exchange between contract management and a heterogeneous system as described in the first aspect are implemented.
[0015] From the above technical solutions, it can be seen that the present application has the following advantages: In the high-reusability method, device, equipment, and medium for data exchange between contract management and a heterogeneous system provided by the present application, the work efficiency of business users in contract management is improved. Through automated data acquisition and filling, a large amount of repetitive data entry work is avoided, saving time and labor costs; the repeated investment in the development of customized interfaces for heterogeneous systems is reduced, and the development cost and cycle are lowered; and the complexity of the operation and maintenance of the contract management system is significantly reduced. When business requirements change, adjustments can be made through front-end configuration, reducing the intervention of developers and improving the response speed and stability of the contract management system. Description of the Drawings
[0016] In order to more clearly illustrate the technical solutions of the present application, the drawings required for description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0017] Figure 1 It is a schematic flowchart of the high-reusability method for data exchange between contract management and a heterogeneous system of the present invention.
[0018] Figure 2 This is a schematic diagram of a highly reusable device for data exchange with heterogeneous systems in the contract management of the present invention. Detailed implementation manners
[0019] In the following, the specific steps of a highly reusable method for data exchange with heterogeneous systems in contract management will be described in detail, and various embodiments of the present disclosure will be described more comprehensively. The present disclosure can have various embodiments, and adjustments and changes can be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present disclosure to the specific embodiments disclosed herein, but the present disclosure should be understood to cover all adjustments, equivalents, and / or alternative solutions that fall within the spirit and scope of the various embodiments of the present disclosure.
[0020] Exemplarily speaking, currently, enterprises widely adopt ERP management software to unify and optimize their various business processes. In this process, the contract management system plays a bridging role in connecting business operations and financial management, and is crucial for the smooth execution of the ERP process. Specifically, in the front-end link of the business, the signing of contracts often depends on upstream plan or order information. For example, the material information to be filled in a material procurement contract often directly comes from the procurement plan, and these plans may contain thousands of material items. The traditional approach is to require business personnel to manually re-enter this information during contract registration, which is both time-consuming and error-prone, thus greatly reducing work efficiency.
[0021] In addition, the upstream systems used by enterprises often exhibit heterogeneity. These systems may come from different suppliers, and their data formats and interface standards are different. In order to achieve data integration between the contract management system and these heterogeneous systems, developers have to invest a lot of time in customized interface development work, which includes complex functions such as form and field mapping. This repetitive labor not only causes a great waste of development resources, but also significantly increases the development cost and time.
[0022] Moreover, when the contract management system is officially put into operation, as business requirements change continuously, the data structure and business rules may also need to be adjusted accordingly. At this time, developers have to carry out customized modification work, which undoubtedly further increases the complexity and workload of system operation and maintenance. If the developer resources are tight or the response speed cannot keep up, it may have an adverse impact on the normal business operation of the enterprise. Therefore, there is an urgent need for an efficient and reusable heterogeneous system data exchange solution to effectively address problems such as cumbersome business user operations, tight development resources, and complex system operation and maintenance.
[0023] In view of the above problems, this embodiment provides a highly reusable method for data exchange between contract management and heterogeneous systems. Through interface configuration and contract reference, data exchange between the contract management system and heterogeneous systems is realized, the efficiency and accuracy of data exchange are improved, and the cost and risk of manual operation are reduced.
[0024] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0025] Please refer to Figure 1 The flowchart of a highly reusable method for data exchange between contract management and heterogeneous systems in a specific embodiment is shown. The method includes the following steps: S1. Respond to the interface integration definition request, obtain the configuration information of the heterogeneous system interface connected to the contract management system, and store it in the database table; It should be noted that through interface integration definition, the contract management system can establish connections with different heterogeneous systems, providing a basis for subsequent data exchange; by storing the interface configuration information, it is convenient for users to manage and adjust the interface. When the heterogeneous system interface changes, the configuration can be quickly updated to ensure the continuity of data exchange, and it can also adapt to the access of multiple heterogeneous systems to meet the needs of different business scenarios of enterprises; for example, when an enterprise changes the supplier of the supply chain material system, the interface configuration can be quickly adjusted to ensure the continuity of data exchange, while reducing the development cost and time cost caused by system changes, enabling the enterprise to quickly respond to business changes; S2. Respond to the contract reference source definition request, select a data type from the heterogeneous system as the contract reference source, obtain the configuration information of the contract reference source, and define data conversion rules, and save the configuration information of the contract reference source and the data conversion rules to the database table; It should be noted that through the definition of the contract reference source, the problem of diverse data formats in heterogeneous systems is solved. By selecting a suitable data type as the contract reference source and defining data conversion rules, data in different formats is converted into a format that the contract management system can recognize and use, improving the referability and reusability of data, and providing an accurate data source for contract reference, enabling the contract management system to obtain data that meets business requirements from heterogeneous systems and providing data support for contract creation; S3. Respond to the contract reference request, select a contract reference source for each contract type in the contract management system, obtain the contract reference setting information, and save it to the database table; It should be noted that by setting corresponding contract reference sources for different contract types, the diverse contract management needs of enterprises are met. Exemplarily, procurement contracts and sales contracts can refer to different data sources to ensure the accuracy and relevance of contract data. And by saving the contract reference setting information, it is convenient to quickly obtain reference rules during subsequent contract creation, improving the efficiency of contract creation. At the same time, it is also convenient for unified management and adjustment of contract reference settings. S4. In response to a contract reference data mapping request, set the mapping relationship between the fields of each contract type in the contract management system and the corresponding fields in the heterogeneous system to obtain contract reference data mapping information and save it to a database table. It should be noted that through the contract reference data mapping request, the accurate correspondence between the fields of the heterogeneous system and the contract management system is realized, ensuring the correct transmission and use of data between different systems and avoiding data errors or losses caused by inconsistent fields. S5. In response to a contract creation request, select a contract reference source from the database table according to the contract type to be created, obtain the contract reference source data through the heterogeneous system interface, and then fill the data of the relevant fields in the heterogeneous system into the created contract according to the mapping relationship in the database table. It should be noted that the automation and intelligence of the contract creation process are realized. Users do not need to manually enter a large amount of data. They only need to initiate a contract creation request, and the system can automatically obtain relevant data from the heterogeneous system and fill it into the contract, greatly improving the efficiency of contract creation and reducing the time and errors of manual operations. It also ensures the accuracy and integrity of contract data. The filled data all come from the configured and converted heterogeneous system data and are filled according to the pre-set mapping relationship, making the contract data accurately match the actual business situation and providing a basis for the subsequent management and execution of the contract.
[0026] Furthermore, as a refinement and extension of the specific implementation manner of the above embodiment, in order to fully illustrate the specific implementation process in this embodiment, another highly reusable method for data exchange between the contract management and the heterogeneous system is provided. This method includes the following steps: S1. In response to an interface integration definition request, obtain the configuration information of the heterogeneous system interface connected to the contract management system and store it in a database table. The specific steps of step S1 are as follows: S11. In response to an interface integration definition request, determine the heterogeneous system interface docked with the contract management system. S12. Obtain the interface address and interface parameter configuration of the heterogeneous system interface docked with the contract management system and determine the interface name. S13. Save the interface address and interface name to the main table of the interface configuration database. S14. Save the interface address and interface parameter configurations to a sub - table of the interface configuration database; It should be noted that by separately saving the interface address, name, and interface parameter configurations to the main table and the sub - table, the management of heterogeneous system interface information is realized, facilitating users to adjust and maintain the interface configurations; S2. Respond to the contract reference source definition request, select a data type from the heterogeneous system as the contract reference source, obtain the configuration information of the contract reference source, define data conversion rules, and save the configuration information of the contract reference source and the data conversion rules to the database table. The specific steps of step S2 are as follows: S21. Respond to the contract reference source definition request, select the target - type data from the heterogeneous system as the contract reference source, obtain the number, name of the contract reference source, and the interface name of the corresponding heterogeneous system, and use them as the contract reference source configuration information; S22. Obtain the data conversion rules for the data of the corresponding type of the contract reference source to the contract management system; S23. Save the contract reference source configuration information and the data conversion rules to the contract reference source definition database table; It should be noted that through the contract reference source definition process of selecting the contract reference source, obtaining the configuration information to defining the data conversion rules and saving them, it is ensured that the data of the heterogeneous system can be used in a format that meets the requirements of the contract management system, solving the problem of differences in data formats between different systems; S3. Respond to the contract reference request, select a contract reference source for each contract type in the contract management system, obtain the contract reference setting information, and save it to the database table. The specific steps of step S3 are as follows: S31. Respond to the contract reference request and determine the contract reference source for each contract type; S32. Set whether it is necessary to refer and the editing permission of the data after reference for the determined contract reference source to obtain the contract reference setting information; S33. Save the contract reference setting information to the contract reference setting database table; It should be noted that by determining the contract reference source for each contract type and setting the reference rules and editing permissions, the reference of contract data meets the requirements, ensuring the accuracy and security of contract data and meeting the business requirements of different contract types of enterprises; S4. Respond to the contract reference data mapping request, set the mapping relationship between the fields of each contract type in the contract management system and the corresponding fields in the heterogeneous system, obtain the contract reference data mapping information, and save it to the database table. The specific steps of step S4 are as follows: S41. In response to a contract reference data mapping request, obtain data from a heterogeneous system interface docked with the contract management system, and convert the obtained data according to the data conversion rules in the contract reference source definition database table to obtain source fields; S42. Use the data fields in the contract management system as target fields, and set the mapping relationship from the source fields to the target fields; S43. Set the data display form after field mapping; S44. Use the mapping relationship from the source fields to the target fields and the data display form after field mapping as contract reference data mapping information; S45. Save the contract reference data mapping information to the contract reference data mapping database table; It should be noted that through the contract mapping process of data acquisition, conversion, mapping relationship setting, and data display form setting, the accurate correspondence between the fields of the heterogeneous system and the contract management system is achieved, ensuring the correct transmission and display of data between different systems; S5. In response to a contract creation request, select a contract reference source from the database table according to the contract type to be created, obtain the contract reference source data through the heterogeneous system interface, and then fill the data of the relevant fields in the heterogeneous system into the created contract according to the mapping relationship in the database table; The specific steps of step S5 are as follows: S51. When initiating a contract creation request in the contract management system, parse out the contract type to be created; S52. Identify the corresponding contract reference source from the contract reference setting database table according to the required contract type; S53. Obtain the data of the contract reference source through the heterogeneous system interface connected to the contract management system, and convert it according to the data conversion rules in the contract reference source definition database table; S54. Fill the converted data into the contract according to the mapping relationship in the contract reference data mapping database table, and during the filling process, identify whether the data is editable; If so, go to step S55; If not, go to step S56; S55. Make adaptive adjustments to the mapped data in the contract according to the requirements; S56. Maintain the original state of the mapped data in the contract; It should be noted that by selecting an appropriate contract reference source according to the contract type, obtaining and converting data, then filling it into the contract according to the mapping relationship, and making corresponding processing according to the data editing permissions, the automation and intelligence of the contract creation process are ensured, improving the efficiency and accuracy of contract creation.
[0027] In an embodiment of the present invention, based on step S5, the following will give a possible embodiment to non - restrictively elaborate on its specific implementation scheme.
[0028] Step S5 further includes the following steps: Statistically analyze the exception information that occurs during the call of the heterogeneous system interface docked with the contract management system, and save the exception information into the interface integration log database table; Respond to the interface execution exception query request, filter out the corresponding exception information from the interface integration log database table, and display and export it.
[0029] It should be noted that during the process of contract reference execution, recording and querying the interface call exception information can timely discover and solve problems in the interface call process, ensuring the smooth progress of data exchange.
[0030] Taking a manufacturing enterprise using ERP management software for contract management as an example, it has an upstream supply chain material system such as the UFIDA U8 system and a sales system such as the Kingdee K3 system. Before adopting this application, the enterprise faced many troubles.
[0031] In the contract application and registration link, when business users create a purchase contract, they need to manually search and enter the procurement plan data item by item from the UFIDA U8 supply chain material system, including information such as material codes, names, quantities, unit prices, etc. Since the procurement plan data volume is huge, often involving hundreds or thousands of materials, this process is extremely time - consuming. A skilled business person usually needs 2 - 3 working days to complete the entry of a purchase contract containing 500 materials, and due to manual entry being prone to errors, it is difficult to guarantee the accuracy of contract data.
[0032] From a development perspective, to achieve data integration between the ERP system and the UFIDA U8 and Kingdee K3 systems, developers need to conduct customized interface development for each system. Each time interface development is carried out, a large amount of time is required to understand the data structure and interface specifications of the other system, write adaptation code, and perform form and field mapping. Taking the integrated development with the UFIDA U8 system as an example, developers need about 2 - 3 weeks to complete the interface development. If subsequent business requirements change, an additional 1 - 2 weeks are required for modification, consuming a huge amount of development resources.
[0033] In terms of system operation and maintenance, once business requirements change, such as adding contract fields or adjusting data sources, developers need to intervene again to make customized modifications to the system. This not only increases the complexity of operation and maintenance, but also may, due to the long development cycle, lead to the inability to respond promptly to business adjustments, affecting the enterprise's operation efficiency.
[0034] After applying this application, high - reuse of enterprise contract and heterogeneous system data exchange has been achieved.
[0035] First, through the contract interface integration definition, the enterprise configures the interface address of the UF U8 supply chain material system in the ERP system as "http: / / u8supplychain.com / api", and sets the parameters to relevant values that conform to the UF U8 interface specification; at the same time, configures the interface address and parameters of the Kingdee K3 sales system. Through the contract interface integration definition function, the enterprise can flexibly adjust the interface address and parameters at the front end without the intervention of developers, greatly improving the adaptability of the system to different upstream heterogeneous systems.
[0036] Next, through the contract reference source definition, developers use the contract reference source function to convert the interface data of the material procurement plan in the UF U8 system into a format that conforms to the ERP contract management system standard; the material procurement plan data in UF U8 was originally returned in a complex nested JSON format, and through this function, it is converted into a simple list format that can be directly used by the ERP system, including fields such as material code, material name, quantity, unit price, etc. The process of reference source definition realizes the customization of the interface between the contract management system and heterogeneous systems, meeting the requirements of subsequent contract reference functions.
[0037] Then, through the contract reference setting, for the purchase contract type, through the contract reference setting function, it is set that the purchase plan data in the UF U8 supply chain material system must be referenced, and the purchase quantity and unit price fields are not allowed to be modified after reference; thus realizing the binding of the contract type and the reference source, as well as field editing control and reference control. For the sales contract type, it is set that the sales order data in the Kingdee K3 sales system can be referenced, and some non-key fields, such as note fields, are allowed to be modified after reference.
[0038] Immediately afterwards, through the contract reference field mapping, map the "inventory code" field in UF U8 to the "procurement material code" field in the ERP contract management system, set the column width to 150 pixels and always visible; map the "sales order number" field in Kingdee K3 to the "sales contract associated order number" field in the ERP contract management system, set the column width to 100 pixels and visible. This function realizes the front-end setting of field mapping, which is transparent and can be configured and modified at any time, reducing development investment.
[0039] Finally, on the developed standard contract reference list interface, data can be dynamically displayed according to field settings. In the contract application and registration process, business users only need to perform a click operation to automatically reference procurement plan data from the UFIDA U8 supply chain material system, and complete the registration of a procurement contract containing 500 items of materials in only 1-2 hours, greatly improving work efficiency. At the same time, developers only need to develop a reference data source interface to implement the mapping configuration of front-end configuration fields, and no development intervention is required for subsequent data adjustment, greatly improving the development work efficiency, and achieving a user-friendly system and fast operation and maintenance response.
[0040] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0041] As Figure 2 shown, the following are embodiments of a highly reusable device for data exchange with heterogeneous systems in contract management provided by embodiments of the present disclosure. This device and the highly reusable method for data exchange with heterogeneous systems in contract management in the above embodiments belong to the same inventive concept. Details not described in detail in the embodiments of the highly reusable device for data exchange with heterogeneous systems in contract management can refer to the embodiments of the highly reusable method for data exchange with heterogeneous systems in contract management.
[0042] The device includes: An interface integration definition module, configured to respond to an interface integration definition request, obtain configuration information of a heterogeneous system interface connected to the contract management system, and store it in a database table; A contract reference source definition module, configured to respond to a contract reference source definition request, select a data type from the heterogeneous system as a contract reference source, obtain configuration information of the contract reference source, and define a data conversion rule, and save the configuration information of the contract reference source and the data conversion rule in a database table; A contract reference setting module, configured to respond to a contract reference request, select a contract reference source for each contract type in the contract management system, obtain contract reference setting information, and save it in a database table; A contract reference mapping module, configured to respond to a contract reference data mapping request, set the mapping relationship between the fields of each contract type in the contract management system and the corresponding fields in the heterogeneous system, obtain contract reference data mapping information, and save it in a database table; A contract creation module, configured to respond to a contract creation request, select a contract reference source from the database table according to the contract type to be created, obtain contract reference source data through the heterogeneous system interface, and then fill the data of the relevant fields in the heterogeneous system into the created contract according to the mapping relationship in the database table.
[0043] Through the interaction of the interface integration definition module, contract reference source definition module, contract reference setting module, contract reference mapping module, and contract creation module in this embodiment, the data exchange function between the contract management system and heterogeneous systems can be efficiently realized.
[0044] The high-reusability method for data exchange with heterogeneous systems in the contract management provided by the embodiment of this application can be applied to electronic devices. Those skilled in the art can understand that the structure of the electronic device involved in the embodiment of the present invention does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. In the embodiment of the present invention, the electronic device includes, but is not limited to, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown in the figure, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the embodiment of the present application described and / or claimed herein.
[0045] The electronic device may include a processor, an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, a wireless communication module, an audio module, a speaker, a microphone, a sensor module, keys, a camera, a display screen, and a SIM card interface, etc.
[0046] It can be understood that the structure schematically shown in the embodiment of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0047] The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0048] Among them, the processor may be the nerve center and command center of the electronic device. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0049] A memory may also be set in the processor for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. This memory can save the instructions or data just used or recycled by the processor. If the processor needs to use the instruction or data again, it can directly call it from this memory. This avoids repeated accesses, reduces the waiting time of the processor, and thus improves the system efficiency.
[0050] The above-mentioned electronic device implements the response interface integration definition request of the high-reusability method for data exchange with heterogeneous systems in the contract management of this application, obtains the configuration information of the heterogeneous system interface connected to the contract management system, and stores it in the database table; responds to the contract reference source definition request, selects a data type from the heterogeneous system as the contract reference source, obtains the configuration information of the contract reference source, and defines data conversion rules, and saves the configuration information of the contract reference source and the data conversion rules to the database table; responds to the contract reference request, selects a contract reference source for each contract type in the contract management system, obtains the contract reference setting information, and saves it to the database table; responds to the contract reference data mapping request, sets the mapping relationship between the fields of each contract type in the contract management system and the corresponding fields in the heterogeneous system, obtains the contract reference data mapping information, and saves it to the database table; responds to the contract creation request, selects a contract reference source from the database table according to the contract type to be created, obtains the contract reference source data through the heterogeneous system interface, and then fills the data of the relevant fields in the heterogeneous system into the created contract according to the mapping relationship in the database table. The technical solution achieves the beneficial effects of improving the automation degree of data exchange between the contract management system and the heterogeneous system, reducing the workload of manual entry, reducing the error rate, and reducing the cost and time of customized development.
[0051] In the storage medium provided by this application, there is a program product that can implement the high-reusability method for data exchange with heterogeneous systems in contract management.
[0052] The high-reusability method for data exchange with heterogeneous systems in contract management includes: responding to the interface integration definition request, obtaining the configuration information of the heterogeneous system interface connected to the contract management system, and storing it in the database table; responding to the contract reference source definition request, selecting a data type from the heterogeneous system as the contract reference source, obtaining the configuration information of the contract reference source, and defining data conversion rules, and saving the configuration information of the contract reference source and the data conversion rules to the database table; responding to the contract reference request, selecting a contract reference source for each contract type in the contract management system, obtaining the contract reference setting information, and saving it to the database table; responding to the contract reference data mapping request, setting the mapping relationship between the fields of each contract type in the contract management system and the corresponding fields in the heterogeneous system, obtaining the contract reference data mapping information, and saving it to the database table; responding to the contract creation request, selecting a contract reference source from the database table according to the contract type to be created, obtaining the contract reference source data through the heterogeneous system interface, and then filling the data of the relevant fields in the heterogeneous system into the created contract according to the mapping relationship in the database table.
[0053] In some possible embodiments, the high-reusability method for data exchange between contract management of the present disclosure and heterogeneous systems can be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.
[0054] The storage medium of the present disclosure may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may, for example, but not be limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0055] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A highly reusable method for data exchange with heterogeneous systems in contract management, characterized in that, It includes the following steps: S1. Respond to the interface integration definition request, obtain the configuration information of the heterogeneous system interface connected to the contract management system, and store it in the database table; S2. Respond to the contract reference source definition request, select the data type from the heterogeneous system as the contract reference source, obtain the configuration information of the contract reference source, and define the data conversion rules, and save the configuration information of the contract reference source and the data conversion rules to the database table; S3. Respond to the contract reference request, select the contract reference source for each contract type in the contract management system, obtain the contract reference setting information, and save it to the database table; S4. Respond to the contract reference data mapping request, set the mapping relationship between the fields of each contract type in the contract management system and the corresponding fields in the heterogeneous system, obtain the contract reference data mapping information, and save it to the database table; S5. Respond to the contract creation request, select the contract reference source from the database table according to the contract type to be created, obtain the contract reference source data through the heterogeneous system interface, and then fill the data of the relevant fields in the heterogeneous system into the created contract according to the mapping relationship in the database table.
2. The high-reusability method for data exchange with heterogeneous systems in contract management according to claim 1, wherein The specific steps of step S1 are as follows: S11. Respond to the interface integration definition request, and determine the heterogeneous system interface docked with the contract management system; S12. Obtain the interface address and interface parameter configuration of the heterogeneous system interface docked with the contract management system, and determine the interface name; S13. Save the interface address and interface name to the main table of the interface configuration database; S14. Save the interface address and interface parameter configuration to the sub-table of the interface configuration database.
3. The high-reusability method for data exchange with heterogeneous systems in contract management according to claim 1, characterized in that, The specific steps of step S2 are as follows: S21. Respond to the contract reference source definition request, select the data of the target type from the heterogeneous system as the contract reference source, obtain the number, name of the contract reference source and the interface name of the corresponding heterogeneous system, and use it as the contract reference source configuration information; S22. Obtain the data conversion rules for the data of the corresponding type of the contract reference source to the contract management system; S23. Save the contract reference source configuration information and the data conversion rules to the contract reference source definition database table.
4. The high-reusability method for data exchange with heterogeneous systems in contract management according to claim 1, wherein The specific steps of step S3 are as follows: S31. Respond to the contract reference request, and determine the contract reference source for each contract type; S32. Set whether the determined contract reference source must be referenced and the editing permission of the data after reference to obtain the contract reference setting information; S33. Save the contract reference setting information to the contract reference setting database table.
5. The high-reusability method for data exchange with heterogeneous systems in contract management according to claim 4, characterized in that, The specific steps of step S4 are as follows: S41. Respond to the contract reference data mapping request, obtain the data from the heterogeneous system interface, convert the obtained data according to the data conversion rules to obtain the source fields; S42. Use the data fields in the contract management system as the target fields, and set the mapping relationship from the source fields to the target fields; S43. Set the data display form after the field mapping; S44. Use the mapping relationship from the source fields to the target fields and the data display form after the field mapping as the contract reference data mapping information; S45. Save the contract reference data mapping information to the contract reference data mapping database table.
6. The high-reusability method for data exchange with heterogeneous systems in contract management according to claim 5, characterized in that The specific steps of step S5 are as follows: S51. When initiating a contract creation request in the contract management system, parse out the contract type to be created. S52. Identify the corresponding contract reference source from the contract reference setting database table according to the required contract type. S53. Obtain the data of the contract reference source through the heterogeneous system interface connected to the contract management system, and perform conversion according to the data conversion rules in the contract reference source definition database table. S54. Fill the converted data into the contract according to the mapping relationship in the contract reference data mapping database table, and identify whether the data is editable during the filling process. If yes, go to step S55. If no, go to step S56. S55. Make adaptive adjustments to the mapped data in the contract according to the requirements. S56. Maintain the original state of the mapped data in the contract.
7. The high-reusability method for data exchange with heterogeneous systems in contract management according to claim 1, characterized in that, Step S5 also includes the following steps: Statistically analyze the exception information that occurs during the call of the heterogeneous system interface docked with the contract management system, and save the exception information to the interface integration log database table. Respond to the interface execution exception query request, filter out the corresponding exception information from the interface integration log database table, and display and export it.
8. A highly reusable device for data exchange with heterogeneous systems in contract management, characterized in that, Include: An interface integration definition module, which is used to respond to the interface integration definition request, obtain the configuration information of the heterogeneous system interface connected to the contract management system, and store it in the database table. A contract reference source definition module, which is used to respond to the contract reference source definition request, select a data type from the heterogeneous system as the contract reference source, obtain the configuration information of the contract reference source, define the data conversion rules, and save the configuration information of the contract reference source and the data conversion rules to the database table. A contract reference setting module, which is used to respond to the contract reference request, select a contract reference source for each contract type in the contract management system, obtain the contract reference setting information, and save it to the database table. A contract reference mapping module, which is used to respond to the contract reference data mapping request, set the mapping relationship between the fields of each contract type in the contract management system and the corresponding fields in the heterogeneous system, obtain the contract reference data mapping information, and save it to the database table. A contract creation module, which responds to the contract creation request, selects a contract reference source from the database table according to the required contract type to be created, obtains the contract reference source data through the heterogeneous system interface, and then fills the data of the relevant fields in the heterogeneous system into the created contract according to the mapping relationship in the database table.
9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that when the processor executes the program, it implements the steps of the high-reusability method for data exchange with the heterogeneous system in the contract management according to any one of claims 1 to 7.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the high-reusability method for data exchange with the heterogeneous system in the contract management according to any one of claims 1 to 7.