Heterogeneous system interface integration method and device oriented to manufacturing operation management system
By using the protocol converter and XML data structure matching relationship in the MOM system to convert the data of heterogeneous systems into JSON format, the data quality and development efficiency issues of heterogeneous system interface integration in the MOM system are solved, and efficient data processing and integration are achieved.
Patent Information
- Application Number
- CN202510808960.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-17
- Publication Date
- 2025-10-21
AI Technical Summary
The interface integration of heterogeneous systems in existing manufacturing operations management systems (MOM) suffers from problems such as low data quality and low development efficiency, mainly due to the complexity of data integration and repeated development caused by the heterogeneity of ERP systems from different suppliers.
A protocol converter is used to convert the original data of the target heterogeneous system into standard data in JSON format, and a data structure matching relationship is constructed in XML form. The data is processed in combination with WebApi to achieve data conversion and processing.
It effectively reduces the data integration complexity of the MOM system, improves development efficiency and data quality, and ensures the system's operating efficiency and integration effect.
Smart Images

Figure CN120821766A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of interface integration development, and in particular to a heterogeneous system interface integration method and device for a manufacturing operations management system. Background Art
[0002] Manufacturing Operation Management (MOM) is an important enabling tool for the integrated production control of manufacturing enterprises. In actual operation, the core data of the MOM system basically comes from the upstream ERP system, including material data, product structure, order data, procurement data, etc. The data quality and accuracy of these system data will greatly affect the operating efficiency and on-site effects of the MOM system. The ERP systems used by different MOM customers are generally provided by different suppliers. These heterogeneous systems have significant differences in technical systems, interface specifications, data structures, etc. This system heterogeneity increases the data quality of the MOM system's basic data interface integration, increasing the difficulty and complexity. The current mainstream development and storage method is mainly based on integrated customized development of each supplier's interface. This method cannot guarantee the data quality of the interface integration due to repeated development, and the development efficiency is low, resulting in poor system integration results.
[0003] Therefore, it is urgent to provide a technical solution to solve the above problems. Summary of the Invention
[0004] In order to solve the above technical problems, the present invention provides a heterogeneous system interface integration method and device for a manufacturing operation management system.
[0005] In a first aspect, the present invention provides a heterogeneous system interface integration method for a manufacturing operations management system. The technical solution of the method is as follows: Based on the protocol converter, the original data based on the original communication protocol in the target heterogeneous system is converted into standard data in JSON format based on the standard communication protocol, and a data structure matching relationship between the data structure of the target heterogeneous system in XML format and the business objects of the manufacturing operation management system is established; Through the standard communication protocol, the JSON format standard data and the data structure matching relationship are sent to the manufacturing operation management system, so that the manufacturing operation management system processes and converts the JSON format standard data according to the data structure matching relationship and in combination with the WebApi method to obtain the target data required by the manufacturing operation management system.
[0006] The beneficial effects of the heterogeneous system interface integration method for a manufacturing operations management system of the present invention are as follows: the method of the present invention effectively reduces the complexity of MOM system data integration, reduces repetitive development work, improves development efficiency and data quality, and ensures the operating efficiency and integration effect of the MOM system.
[0007] Based on the above solution, the heterogeneous system interface integration method for a manufacturing operation management system of the present invention can be further improved as follows.
[0008] In an optional manner, the step of converting original data based on the original communication protocol in the target heterogeneous system into standard data in JSON format based on the standard communication protocol based on the protocol converter includes: Parsing the original communication protocol of the target heterogeneous system based on the protocol converter to determine the protocol type of the original communication protocol; When the protocol type of the original communication protocol is different from the protocol type of the standard communication protocol, the original communication protocol is converted into the standard communication protocol through a protocol mapping engine, and the original data is converted into the JSON format standard data.
[0009] In an optional manner, the data structure matching relationship in XML format includes: atomic operation identifier, primary key identifier, default value, data type and automatic replacement field.
[0010] In an optional manner, the data processing method includes at least one of data analysis, data verification, and data supplementation.
[0011] In a second aspect, the present invention provides a heterogeneous system interface integration device for a manufacturing operations management system. The technical solution of the system is as follows: comprising: a first processing module and a second processing module; The first processing module is configured to: convert, based on a protocol converter, raw data in a target heterogeneous system based on an original communication protocol into standard data in a JSON format based on a standard communication protocol, and establish a data structure matching relationship between a data structure of the target heterogeneous system in XML format and a business object of the manufacturing operation management system; The second processing module is used to: send the JSON format standard data and the data structure matching relationship to the manufacturing operation management system through the standard communication protocol, so that the manufacturing operation management system processes and converts the JSON format standard data according to the data structure matching relationship and in combination with the WebApi method to obtain the target data required by the manufacturing operation management system.
[0012] The beneficial effects of the heterogeneous system interface integration device for manufacturing operation management system of the present invention are as follows: the device of the present invention effectively reduces the complexity of MOM system data integration, reduces repetitive development work, improves development efficiency and data quality, and ensures the operating efficiency and integration effect of the MOM system.
[0013] Based on the above solution, the heterogeneous system interface integration device for a manufacturing operation management system of the present invention can also be improved as follows.
[0014] In an optional manner, the first processing module is specifically configured to: Parsing the original communication protocol of the target heterogeneous system based on the protocol converter to determine the protocol type of the original communication protocol; When the protocol type of the original communication protocol is different from the protocol type of the standard communication protocol, the original communication protocol is converted into the standard communication protocol through a protocol mapping engine, and the original data is converted into the JSON format standard data.
[0015] In an optional manner, the data structure matching relationship in XML format includes: atomic operation identifier, primary key identifier, default value, data type and automatic replacement field.
[0016] In an optional manner, the data processing method includes at least one of data analysis, data verification, and data supplementation.
[0017] In a third aspect, the technical solution of an electronic device of the present invention is as follows: The system comprises a memory, a processor and a program stored in the memory and running on the processor. When the processor executes the program, the steps of the heterogeneous system interface integration method for a manufacturing operation management system of the present invention are implemented.
[0018] In a fourth aspect, the present invention provides a computer-readable storage medium having the following technical solution: The computer-readable storage medium stores instructions. When the computer-readable storage medium reads the instructions, the computer-readable storage medium executes the steps of the heterogeneous system interface integration method for a manufacturing operation management system according to the present invention.
[0019] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the drawings. In the drawings: Figure 1 A flowchart of an embodiment of a heterogeneous system interface integration method for a manufacturing operation management system according to the present invention; Figure 2 This is a schematic diagram of the protocol converter; Figure 3 Schematic diagram of the principles of configuring tools for data structures; Figure 4 This is a schematic diagram of the principles of the data processing and conversion architecture; Figure 5 Schematic diagram of the data processing and conversion process; Figure 6 This is a schematic structural diagram of an embodiment of a heterogeneous system interface integration device for a manufacturing operation management system according to the present invention; Figure 7 The figure is a schematic structural diagram of an embodiment of an electronic device of the present invention. DETAILED DESCRIPTION
[0021] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0022] Figure 1 A flow chart of an embodiment of a heterogeneous system interface integration method for a manufacturing operation management system provided by the present invention is shown. The heterogeneous system interface integration method for a manufacturing operation management system can be executed by terminal devices, servers, gateways and other devices. Among them, the terminal device can be any fixed or mobile terminal such as user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, vehicle-mounted device, wearable device, etc. The server can be a single server or a server cluster composed of multiple servers. Any electronic device can implement the heterogeneous system interface integration method for a manufacturing operation management system by calling computer-readable instructions stored in a memory through a processor. As Figure 1 As shown, the following steps are included: S1. Based on the protocol converter, the original data based on the original communication protocol in the target heterogeneous system is converted into standard data in JSON format based on the standard communication protocol, and a data structure matching relationship between the data structure of the target heterogeneous system in XML format and the business objects of the manufacturing operation management system is constructed.
[0023] The target heterogeneous system is the Enterprise Resource Planning (ERP) system upstream of the MOM system by default. The original data includes but is not limited to: material data, product structure, order data, and procurement data.
[0024] The data structure matching relationship in XML format includes: atomic operation identifier isatomic, primary key identifier iskey, default value default, data type datatype, and automatic replacement field replacer.
[0025] Specifically, in S1, the steps of converting the original data based on the original communication protocol in the target heterogeneous system into standard data in JSON format based on the standard communication protocol based on the protocol converter include: Based on the protocol converter, the original communication protocol of the target heterogeneous system is parsed to determine the protocol type of the original communication protocol.
[0026] When the protocol type of the original communication protocol is different from the protocol type of the standard communication protocol, the original communication protocol is converted into the standard communication protocol through a protocol mapping engine, and the original data is converted into the JSON format standard data.
[0027] like Figure 2 As shown, the heterogeneous information system protocol converter based on the adapter pattern in this embodiment can solve the development difficulties caused by the diversity of communication protocols between heterogeneous ERP systems and MOM systems. The protocol converter adopts the adapter pattern to build the core architecture and realizes compatibility support for multiple protocols through abstract protocol adaptation. At the communication protocol level, the system has built-in mainstream protocol parsing modules such as HTTP, which can dynamically identify the communication protocol types of heterogeneous systems, and realize syntax conversion and semantic alignment between different protocols through the protocol mapping engine; in the data format conversion link, the common format is converted to the JSON format in a standardized manner, and the differences between heterogeneous systems and MOM systems are eliminated by formulating common data formats and encoding rules. At the same time, since this embodiment adopts the adapter pattern to build the converter, it can quickly be compatible with various system protocols and message formats, and the development efficiency is greatly improved.
[0028] Specifically, in S1, the process of constructing the data structure matching relationship between the target heterogeneous system data structure in XML format and the business objects of the manufacturing operation management system is as follows: using the heterogeneous system data structure automatic configuration tool (such as Figure 3As shown, this embodiment provides a configurable data structure matching method in XML format, clarifying the matching relationship between business objects in the MOM system and the data structures of heterogeneous systems. Only minor configuration modifications are required for different customers' ERP systems, improving the quality of the integrated data while reducing the amount of code development and improving overall development efficiency. Furthermore, this embodiment adds special attributes to the data structure configuration XML, including: the atomic operation identifier isatomic, the primary key identifier iskey, the default value default, the data type datatype, and the automatic replacement field replacer. Through the declaration and definition of these attributes, special processing is performed in the conversion framework logic, increasing the efficiency of the entire conversion.
[0029] S2. Send the JSON format standard data and the data structure matching relationship to the manufacturing operation management system through the standard communication protocol, so that the manufacturing operation management system processes and converts the JSON format standard data according to the data structure matching relationship and in combination with the WebApi method to obtain the target data required by the manufacturing operation management system.
[0030] The data processing method includes at least one of data analysis, data verification, and data supplementation. Figure 4As shown, the present embodiment provides a cross-platform interface in the WebApi mode, provides database processing and conversion architecture, which can understand input content, efficiently process information, and is compatible with the integration requirements of external heterogeneous systems. This architecture is based on the pipeline filter software architecture style design, encapsulates the core functions such as data analysis, data verification, and data operation required for the information system interface integration, ensures that the data format is correct, meets business logic rules, and performs data preservation with optimal efficiency; After JSON format standard data is imported into the MOM system, the user can selectively perform secondary processing on the JSON format standard data, including the necessary data attribute supplements of the MOM system, removes redundant information, corrects error information, and ultimately converts the original data of the target heterogeneous system into MOM system data (target data), and is stored in the database storage medium of the MOM system. In addition, the database processing and conversion architecture of the present embodiment provide general functions such as identity authentication, cache management, log management, and the mode of each data processing is fully recorded in the log, and on the one hand, the data flow direction of the complete record interface integration is recorded, and the relevant log information is stored in the file storage medium of the MOM system. In the conversion logic, combined with the special attribute definitions in the data structure configuration tool, the conversion framework performs targeted logical processing, thereby improving the overall speed and quality of the conversion. For example, for fields with the default default value attribute, the value is obtained and the data source is automatically supplemented during data verification; the replacer replaces the default field attributes, directly replacing the attributes in the JSON format standard data source with the necessary attributes of the MOM field, and encapsulating the differences in heterogeneous systems through configuration; the iskey primary key identifier is used to locate the key attributes used for duplicate data screening, improving efficiency and reducing abnormal data; the isatomic atomic operation identifier is used to define the rollback operation of different types of data, clarifying the handling method after data anomalies.
[0031] It should be noted that if Figure 5 As shown, the MOM system accesses JSON format standard data from the target heterogeneous system (ERP system) through WebApi; according to the data structure configuration and the standardization of the data imported by data parsing, data parsing is performed to obtain parsed data; according to the business logic definition, it is judged whether the parsed data meets the logical requirements of the MOM system, and data verification is performed according to the custom business judgment logic to obtain verification data; according to the data structure configuration and custom logic, the field attribute values required by the MOM system are supplemented to obtain the supplemented data and determine whether to enter the intermediate table; if so, the supplemented data is imported into the intermediate table storage system for manual inspection, and the complete data is imported into the formal table storage medium; if not, the supplemented data (complete data) is directly imported into the formal table storage medium. The above complete data is the target data.
[0032] The technical solution of this embodiment uses the pipe / filter architecture style to build a platform, abstracts and refines the methods of data parsing, data verification, data processing and data preservation of the ERP system, and completes the data based on the external ERP system data, ensuring the integrity of data verification and improving the data quality of the basic data and core and business data of the MOM system; at the same time, the general tools in the data conversion process are encapsulated as platform scaffolding tools, which improves the code development efficiency of developers, reduces the development difficulty, and improves the development quality. By forming a configurable combination of the data structure of the MOM system basic data and core business objects with the ERP system data structure, the code is abstracted into a configuration, reducing the complexity and difficulty of development, reducing the number and complexity of customized codes for different systems, ensuring data quality, and reducing the development difficulty; by using a protocol converter to convert and adapt the interface protocols of heterogeneous ERP systems, the differences between different interface protocols are encapsulated, so that developers only need to focus on the system business itself, without having to pay attention to the differences in the interface protocols, improving development efficiency and ensuring development quality.
[0033] Figure 6 FIG. 1 shows a schematic diagram of an embodiment of a heterogeneous system interface integration device 200 for a manufacturing operation management system provided by the present invention. Figure 6 As shown, the system 200 includes: a first processing module 210 and a second processing module 220; The first processing module 210 is configured to: convert the original data based on the original communication protocol in the target heterogeneous system into standard data in JSON format based on the standard communication protocol based on the protocol converter, and establish a data structure matching relationship between the data structure of the target heterogeneous system in XML format and the business objects of the manufacturing operation management system; The second processing module 220 is used to: send the JSON format standard data and the data structure matching relationship to the manufacturing operation management system through the standard communication protocol, so that the manufacturing operation management system processes and converts the JSON format standard data according to the data structure matching relationship and in combination with the WebApi method to obtain the target data required by the manufacturing operation management system.
[0034] In an optional manner, the first processing module 210 is specifically configured to: Parsing the original communication protocol of the target heterogeneous system based on the protocol converter to determine the protocol type of the original communication protocol; When the protocol type of the original communication protocol is different from the protocol type of the standard communication protocol, the original communication protocol is converted into the standard communication protocol through a protocol mapping engine, and the original data is converted into the JSON format standard data.
[0035] In an optional manner, the data structure matching relationship in XML format includes: atomic operation identifier, primary key identifier, default value, data type and automatic replacement field.
[0036] In an optional manner, the data processing method includes at least one of data analysis, data verification, and data supplementation.
[0037] It should be noted that the beneficial effects of the heterogeneous system interface integration device 200 for a manufacturing operations management system provided in the above embodiment are the same as the beneficial effects of the above heterogeneous system interface integration method for a manufacturing operations management system, and will not be repeated here. In addition, when the device provided in the above embodiment realizes its function, it only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to actual conditions to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment, and will not be repeated here.
[0038] Among them, the heterogeneous system interface integration device 200 for a manufacturing operation management system of the present invention can be a computer program (including program code) running in a computer device. For example, the heterogeneous system interface integration device for a manufacturing operation management system of the present invention is an application software that can be used to execute the corresponding steps in the heterogeneous system interface integration method for a manufacturing operation management system of the present invention.
[0039] In some embodiments, the heterogeneous system interface integration device 200 for a manufacturing operation management system of the present invention can be implemented by a combination of software and hardware. As an example, the heterogeneous system interface integration device for a manufacturing operation management system of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the heterogeneous system interface integration method for a manufacturing operation management system of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0040] The modules described in the embodiments of the present invention may be implemented in software or hardware, and the name of a module does not necessarily limit the module itself.
[0041] An electronic device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, any one of the above-mentioned heterogeneous system interface integration methods for a manufacturing operation management system is implemented. That is, an electronic device according to an embodiment of the present invention may include but is not limited to: a processor and a memory; the memory is used to store the computer program; the processor is used to execute the heterogeneous system interface integration method for a manufacturing operation management system shown in any embodiment of the present invention by calling the computer program.
[0042] In an alternative embodiment, an electronic device is provided, such as Figure 7 As shown, Figure 7 The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data exchange between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the number of transceivers 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.
[0043] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0044] Bus 4002 may include a path for transmitting information between the above components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. Bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 In the figure, only one thick line is used to represent the bus 4002, but this does not mean that there is only one bus or one type of bus.
[0045] The memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0046] The memory 4003 is used to store application code (computer program) for executing the solution of the present invention, and is controlled by the processor 4001. The processor 4001 is used to execute the application code stored in the memory 4003 to implement the content shown in the above method embodiment.
[0047] Among them, the electronic device can also be a terminal device, and the terminal device can be any terminal device that can install applications and access web pages through applications, including at least one of a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, smart TV, and smart car-mounted device.
[0048] It should be noted that Figure 7 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention.
[0049] A computer-readable storage medium according to an embodiment of the present invention stores a computer program, which, when executed by a processor, implements any of the above-mentioned heterogeneous system interface integration methods for a manufacturing operation management system.
[0050] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0051] In an exemplary embodiment, a computer program product or computer program is also provided. The computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the aforementioned heterogeneous system interface integration method for a manufacturing operations management system.
[0052] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0053] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.
[0054] The computer-readable storage medium provided in the embodiments of the present invention may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer 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 thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or component.
[0055] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.
[0056] The above description is merely a preferred embodiment of the present invention and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present invention is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in the present invention.
[0057] It should be noted that the terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects and to define a specific order or precedence. Where appropriate, the order used for similar objects may be interchanged, such that the embodiments of the present application described herein can be implemented in an order other than the order shown or described.
[0058] Those skilled in the art will appreciate that the present invention may be implemented as a system, method, or computer program product. Therefore, the present invention may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, resident software, microcode, etc.), or in a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, the present invention may be implemented in the form of a computer program product embodied in one or more computer-readable media containing computer-readable program code.
[0059] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A heterogeneous system interface integration method for a manufacturing operations management system, characterized in that: include: Based on the protocol converter, the original data based on the original communication protocol in the target heterogeneous system is converted into standard data in JSON format based on the standard communication protocol, and a data structure matching relationship between the data structure of the target heterogeneous system in XML format and the business objects of the manufacturing operation management system is established; Through the standard communication protocol, the JSON format standard data and the data structure matching relationship are sent to the manufacturing operation management system, so that the manufacturing operation management system processes and converts the JSON format standard data according to the data structure matching relationship and in combination with the WebApi method to obtain the target data required by the manufacturing operation management system.
2. The heterogeneous system interface integration method for a manufacturing operation management system according to claim 1 is characterized in that: The steps of converting the original data based on the original communication protocol in the target heterogeneous system into standard data in JSON format based on the standard communication protocol based on the protocol converter include: Parsing the original communication protocol of the target heterogeneous system based on the protocol converter to determine the protocol type of the original communication protocol; When the protocol type of the original communication protocol is different from the protocol type of the standard communication protocol, the original communication protocol is converted into the standard communication protocol through a protocol mapping engine, and the original data is converted into the JSON format standard data.
3. The heterogeneous system interface integration method for a manufacturing operation management system according to claim 1, characterized in that: The data structure matching relationship in XML format includes: atomic operation identifier, primary key identifier, default value, data type and automatic replacement field.
4. The heterogeneous system interface integration method for a manufacturing operation management system according to claim 1, characterized in that: The data processing method includes at least one of data analysis, data verification, and data supplementation.
5. A heterogeneous system interface integration device for a manufacturing operation management system, characterized in that: include: a first processing module and a second processing module; The first processing module is configured to: convert, based on a protocol converter, raw data in a target heterogeneous system based on an original communication protocol into standard data in a JSON format based on a standard communication protocol, and establish a data structure matching relationship between a data structure of the target heterogeneous system in XML format and a business object of the manufacturing operation management system; The second processing module is used to: send the JSON format standard data and the data structure matching relationship to the manufacturing operation management system through the standard communication protocol, so that the manufacturing operation management system processes and converts the JSON format standard data according to the data structure matching relationship and in combination with the WebApi method to obtain the target data required by the manufacturing operation management system.
6. The heterogeneous system interface integration device for manufacturing operation management system according to claim 5, characterized in that: The first processing module is specifically configured to: Parsing the original communication protocol of the target heterogeneous system based on the protocol converter to determine the protocol type of the original communication protocol; When the protocol type of the original communication protocol is different from the protocol type of the standard communication protocol, the original communication protocol is converted into the standard communication protocol through a protocol mapping engine, and the original data is converted into the JSON format standard data.
7. The heterogeneous system interface integration device for manufacturing operation management system according to claim 5, characterized in that: The data structure matching relationship in XML format includes: atomic operation identifier, primary key identifier, default value, data type and automatic replacement field.
8. The heterogeneous system interface integration device for manufacturing operation management system according to claim 5, characterized in that: The data processing method includes at least one of data analysis, data verification, and data supplementation.
9. An electronic device, characterized in that: The electronic device includes a processor, which is coupled to a memory. The memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor so that the electronic device implements the heterogeneous system interface integration method for a manufacturing operations management system as described in any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor so that the computer-readable storage medium implements the heterogeneous system interface integration method for a manufacturing operations management system as described in any one of claims 1 to 4.
Citation Information
Cited By
Data conversion method and device, equipment and storage medium
CN122137881A