System operation and maintenance method and device, computer equipment and computer readable storage medium

By building and updating the derived interface data of the system adapter, the interface heterogeneity problem between different foundry MES systems is solved, which improves development efficiency and reduces operation and maintenance costs.

CN120179274APending Publication Date: 2025-06-20FIBOCOM WIRELESS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510221550.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

Due to the strong independence of manufacturing execution systems (MES) in different foundries, the test interface code of the automatic test system is highly heterogeneous, which reduces development efficiency and increases system operation and maintenance costs.

Method used

By obtaining the base class interface data of the system adapter and the business logic data of the target manufacturing execution system, a derived class interface data corresponding to the target manufacturing execution system is constructed and updated to the system adapter to realize data conversion and communication between the automatic test equipment and the target manufacturing execution system.

Benefits of technology

It improves the efficiency of code development in system operation and maintenance scenarios, reduces system operation and maintenance costs, and achieves unified adaptation to different manufacturing execution systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120179274A_ABST
    Figure CN120179274A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a system operation and maintenance method and device, computer equipment and a computer readable storage medium, and the method comprises the steps: obtaining base class interface data of a system adapter and business logic data of a target manufacturing execution system in response to an access request for the target manufacturing execution system; according to the base class interface data and the business logic data, constructing derived class interface data corresponding to the target manufacturing execution system; and updating the derived interface data into a system adapter, wherein the updated system adapter is used for performing data conversion and communication between the automatic test equipment and the target manufacturing execution system through the derived interface data corresponding to the target manufacturing execution system. According to the embodiment of the invention, the code development efficiency in a system operation and maintenance scene can be improved, and the system operation and maintenance cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and particularly to system operation and maintenance methods, system operation and maintenance devices, computer devices, and computer-readable storage media. Background Art

[0002] With the expansion of enterprises and the deepening of business fields, the complexity of the supply chain network has increased exponentially. This means that enterprises will incorporate more foundries and update and optimize the Manufacturing Execution System (MES) of the foundries to meet the changing business needs. The manufacturing execution system can be tested through Automatic Test Equipment (ATE). However, since different foundries usually adopt independent manufacturing execution systems, when an enterprise adds one more foundry, it is necessary to develop an automatic test system that matches the manufacturing execution system of the foundry. This will result in a high degree of heterogeneity in the test interface code of the automatic test system, thereby reducing the development efficiency and increasing the system operation and maintenance costs. Therefore, how to improve the development efficiency in the system operation and maintenance scenario and reduce the system operation and maintenance costs is an urgent problem to be solved at present. Summary of the Invention

[0003] This application provides a system operation and maintenance method, device, computer device, and computer-readable storage medium, which can improve the code development efficiency in the system operation and maintenance scenario and reduce the system operation and maintenance costs.

[0004] On the one hand, this application provides a system operation and maintenance method, which includes:

[0005] Responding to an access request for a target manufacturing execution system, obtaining the base class interface data of the system adapter and the business logic data of the target manufacturing execution system;

[0006] Constructing the derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data;

[0007] Updating the derived class interface data to the system adapter; the updated system adapter is used to perform data conversion and communication between the automatic test equipment and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

[0008] On the other hand, this application provides a system operation and maintenance device, which includes:

[0009] An obtaining module, configured to respond to an access request for a target manufacturing execution system, and obtain the base class interface data of the system adapter and the business logic data of the target manufacturing execution system;

[0010] A processing module, configured to construct derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data;

[0011] An update module, configured to update the derived class interface data to the system adapter; the updated system adapter is used to perform data conversion and communication between the automatic test equipment and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

[0012] An acquisition module, configured to acquire the base class interface data of the system adapter and the business logic data of the target manufacturing execution system in response to an access request for the target manufacturing execution system;

[0013] A processing module, configured to construct derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data;

[0014] An update module, configured to update the derived class interface data to the system adapter; the updated system adapter is used to perform data conversion and communication between the automatic test equipment and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

[0015] In a possible implementation manner, when the above-mentioned processing module is configured to construct derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data, it is specifically configured to:

[0016] Perform data inheritance processing on the base class in the base class interface data to obtain a derived class;

[0017] Construct derived class interface data corresponding to the target manufacturing execution system according to the business logic data of the target manufacturing execution system and the derived class; wherein, the base class interface data includes one or more of a test process interface, a machine tool control interface, and a sampling inspection control interface, and the business logic data of the target manufacturing execution system includes one or more of the logic data corresponding to the test process interface, the logic data corresponding to the machine tool control interface, and the logic data corresponding to the sampling inspection control interface.

[0018] In a possible implementation manner, the above-mentioned processing module is further configured to:

[0019] In the case where the target manufacturing execution system is debugged successfully, in response to a task processing request of the target manufacturing execution system, parse and process the task processing request by using the updated system adapter to obtain a first task parameter;

[0020] Perform data format conversion processing on the first task parameter by using the updated system adapter to obtain a second task parameter; the data format of the second task parameter is a data format adapted to the automatic test equipment.

[0021] Based on the first communication protocol encapsulated by the automatic test equipment, obtain the second task parameter from the updated system adapter; perform the processing corresponding to the task processing request according to the second task parameter.

[0022] In a possible implementation, the above processing module is further configured to:

[0023] Determine the first feedback data of the task processing request;

[0024] Use the updated system adapter to perform data format conversion processing on the first feedback data to obtain the second feedback data; the data format of the second feedback data is a data format adapted to the target manufacturing execution system;

[0025] Based on the second communication protocol encapsulated by the target manufacturing execution system, use the updated system adapter to return the second feedback data to the target manufacturing execution system.

[0026] In a possible implementation, the above processing module is further configured to:

[0027] In response to a system debugging request for the target manufacturing execution system, parse the target debugging parameter from the system debugging request;

[0028] Perform debugging processing on the target manufacturing execution system according to the target debugging parameter to obtain the debugging result of the target manufacturing execution system; wherein, the system debugging request includes one or more of an interface function debugging request and a production environment debugging request.

[0029] In a possible implementation, the automatic test equipment is also embedded with adapters corresponding to different management systems, and the adapters corresponding to different management systems are used for data conversion and communication between the automatic test equipment and the corresponding management systems; the adapters corresponding to different management systems include one or more of an instrument and integration adapter, a microcontroller unit adapter, and an intelligent manufacturing adapter.

[0030] In a possible implementation, the target manufacturing execution system is the manufacturing execution system corresponding to the target factory, and the above processing module is further configured to:

[0031] After creating a virtual work order in the target factory, obtain a test request for the target manufacturing execution system; the virtual work order is used to instruct the target factory to simulate production;

[0032] In response to the test request, configure the differential configuration information of the target manufacturing execution system;

[0033] After the differential configuration information is verified and passed in the target factory, configure the test parameters, and trigger the corresponding test control after the test parameter configuration is completed; wherein, when the test control is triggered, perform the function test corresponding to the test control based on the test parameters, and output the function test result when the function test is completed.

[0034] Correspondingly, the present application provides a computer device, including: a processor, a storage device, and a communication interface. The above-mentioned processor, the above-mentioned communication interface, and the above-mentioned storage device are interconnected. Among them, the above-mentioned storage device stores a computer program, and the above-mentioned processor is used to call the above-mentioned computer program to implement the above-mentioned system operation and maintenance method.

[0035] Correspondingly, the present application provides a computer-readable storage medium. The above-mentioned computer-readable storage medium stores a computer program. The above-mentioned computer program includes program instructions. The above-mentioned program instructions are executed by a processor to implement the above-mentioned system operation and maintenance method.

[0036] Correspondingly, the present application provides a computer program product. The above-mentioned computer program product includes a computer program. The above-mentioned computer program is executed by a processor to implement the above-mentioned system operation and maintenance method.

[0037] In response to an access request for a target manufacturing execution system, the embodiment of the present application obtains the base class interface data of the system adapter and the business logic data of the target manufacturing execution system; constructs the derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data; updates the derived class interface data to the system adapter, and the updated system adapter is used to perform data conversion and communication between the automatic test device and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system. The above method can improve the code development efficiency in the system operation and maintenance scenario and reduce the system operation and maintenance cost. Description of the Drawings

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0039] Figure 1 It is a schematic diagram of the architecture of a system operation and maintenance system provided by an exemplary embodiment of the present application;

[0040] Figure 2 It is a schematic flowchart of a system operation and maintenance method provided by an exemplary embodiment of the present application;

[0041] Figure 3It is a schematic flowchart of another system operation and maintenance method provided by an exemplary embodiment of the present application;

[0042] Figure 4A It is a UML class diagram provided by an exemplary embodiment of the present application;

[0043] Figure 4B It is a schematic interface diagram of a MESDebug tool provided by an exemplary embodiment of the present application;

[0044] Figure 4C It is a schematic diagram of a system structure provided by an exemplary embodiment of the present application;

[0045] Figure 4D It is a schematic diagram of another system structure provided by an exemplary embodiment of the present application;

[0046] Figure 4E It is an overall system architecture diagram provided by an exemplary embodiment of the present application;

[0047] Figure 4F It is an interface diagram of a factory server provided by an exemplary embodiment of the present application;

[0048] Figure 4G It is an interface diagram of a configuration file provided by an exemplary embodiment of the present application;

[0049] Figure 4H It is an interface display diagram of test results provided by an exemplary embodiment of the present application;

[0050] Figure 4I It is an interface display diagram of test logs provided by an exemplary embodiment of the present application;

[0051] Figure 5 It is a schematic structural diagram of a system operation and maintenance device provided by an exemplary embodiment of the present application;

[0052] Figure 6 It is a schematic structural diagram of a computer device provided by an exemplary embodiment of the present application. Detailed implementation manners

[0053] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0054] The present application will be described through the following embodiments.

[0055] Please refer to Figure 1 , Figure 1 which is a schematic architecture diagram of a system operation and maintenance system provided by an exemplary embodiment of the present application. The system operation and maintenance system may specifically include an automatic test device 101 and a server 102. Among them, the automatic test device 101 and the server 102 are connected through a network, for example, through a local area network, a wide area network, a mobile Internet, etc.

[0056] In the embodiment of the present application, the automatic test device 101 may be a terminal device or a server. Among them, the terminal device is also called a terminal (Terminal), a user equipment (UE), an access terminal, a user unit, a mobile device, a user terminal, a wireless communication device, a user agent or a user device. The terminal device may be a smart home appliance, a handheld device with wireless communication function (such as a smart phone, a tablet computer), a computing device (such as a personal computer (PC)), a vehicle-mounted terminal, a smart voice interaction device, a wearable device or other intelligent devices, etc., but is not limited thereto. The server may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms.

[0057] In the embodiment of the present application, an automatic test system may be configured in the automatic test device 101, and the automatic test system can be used to test the manufacturing execution systems corresponding to each factory. The number of servers 102 in the above system operation and maintenance system may be one or more, each server 102 corresponds to a factory, and a manufacturing execution system corresponding to the factory may be configured in each server 102.

[0058] In a possible implementation, when there is a need to access the manufacturing execution system of a certain factory (denoted as the target manufacturing execution system), the automatic test device 101 can respond to the access request for the target manufacturing execution system, obtain the base class interface data of the system adapter (the system adapter is a general adapter for docking the manufacturing execution systems of different factories) and the business logic data of the target manufacturing execution system; then, based on the base class interface data and the business logic data, construct the derived class interface data corresponding to the target manufacturing execution system; finally, update the derived class interface data into the system adapter, so as to realize the access of the target manufacturing execution system. The updated system adapter can be used to perform data conversion and communication between the automatic test device and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

[0059] It can be understood that the schematic diagram of the system architecture described in the embodiments of the present application is for more clearly illustrating the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application. For example, the system operation and maintenance method provided by the embodiments of the present application can be executed not only by the automatic test device 101, but also by other servers or server clusters different from the automatic test device 101 and capable of communicating with the automatic test device 101 and / or the server 102. Those of ordinary skill in the art know that Figure 1 the numbers of the automatic test device 101 and the server 102 in [[ ]] are only illustrative. According to the needs of business implementation, terminal devices and servers with any number can be configured. And, with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems. In the subsequent embodiments, the automatic test device will be used to refer to the above-mentioned automatic test device 101, and the server will be used to refer to the above-mentioned server 102, and will not be repeated in the subsequent embodiments.

[0060] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a system operation and maintenance method provided by an exemplary embodiment of the present application. This method can be applied to Figure 1 the automatic test device 101 shown in [[ ]], and the automatic test device 101 is connected to the server 102.

[0061] As Figure 2 shown, the system operation and maintenance method can include multiple steps in steps S201 - S203. It should be understood that for the convenience of description, the present application describes in the order of steps S201 - S203, and does not aim to limit that it must be executed in the above order. The embodiments of the present application do not limit the execution order, execution time, execution times, etc. of the above one or more steps. Steps S201 - S203 are specifically as follows:

[0062] Step S201: In response to an access request for a target manufacturing execution system, obtain the base class interface data of the system adapter and the business logic data of the target manufacturing execution system.

[0063] In the embodiments of the present application, the manufacturing execution system is a production information management system for the shop floor execution layer of manufacturing enterprises. By collecting, analyzing, and processing production data in real time, it helps enterprises achieve visualization, transparency, and efficient management of the production process, thereby improving production efficiency, optimizing production plans, and reducing operating costs. The main functions of the manufacturing execution system can include manufacturing data management, planning and scheduling management, production scheduling management, inventory management, quality management, production process control, data analysis, etc. An automatic test equipment is a device that tests components, circuit boards, subsystems, etc. through computer control. It replaces manual labor through computer programming and automatically completes the test sequence, and is widely used in test tasks in various fields.

[0064] In the embodiments of the present application, when the automatic test equipment needs to interact with the manufacturing execution system of a certain factory (denoted as the target manufacturing execution system corresponding to the target factory), the target manufacturing execution system can send an access request to the automatic test equipment. Based on this, the automatic test equipment can, in response to the access request for the target manufacturing execution system, obtain the base class interface data of the system adapter and the business logic data of the target manufacturing execution system.

[0065] Among them, the system adapter refers to a general adapter used by the automatic test equipment to interface with the manufacturing execution systems of different factories. The system adapter provides a unified interface, enabling the automatic test equipment to interact with the manufacturing execution systems corresponding to different factories through the system adapter (that is, it is responsible for data conversion and communication between the automatic test equipment and different manufacturing execution systems), without the need to separately set corresponding adapters for each manufacturing execution system, thereby reducing the complexity of development and maintenance and improving development efficiency.

[0066] The base class interface data of the system adapter refers to the data related to the base class interface. The base class interface defines a set of common interfaces or methods, and these interfaces or methods can include the basic functions common to different manufacturing execution systems. The business logic data of the target manufacturing execution system refers to the unique business logic, functions, data structures, etc. of the target manufacturing execution system, and the business logic data corresponding to different manufacturing execution systems is different.

[0067] In a possible implementation, the business logic data of the target manufacturing execution system may include one or more of the following: data models (such as the data structures and object models used by the target manufacturing execution system), application programming interface specifications (such as the application programming interfaces provided by the target manufacturing execution system, including URLs, request methods, parameters, response formats, etc.), business processes (such as the business processes and workflows defined in the target manufacturing execution system, which may include processes such as the creation, update, and closure of production orders), permission management (such as the authentication and authorization mechanisms required to access the target manufacturing execution system), error handling methods (such as the various error codes returned by the target manufacturing execution system and their corresponding meanings, and how to handle these errors), and so on.

[0068] Step S202: Construct the derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data.

[0069] In the embodiment of the present application, the automatic test equipment can use the base class interface data and the business logic data of the target manufacturing execution system to construct the derived class interface data corresponding to the target manufacturing execution system. That is to say, the derived class interface data inherits the general functions of the base class interface, and the automatic test equipment can extend and customize the base class interface according to the business logic data of the target manufacturing execution system.

[0070] The above method defines the basic functions common to each manufacturing execution system through the base class interface data, and the derived class interface data is obtained by extending or rewriting the base class interface data according to the unique business logic of each manufacturing execution system. In this way, when a new manufacturing execution system needs to be supported, only a new derived class needs to be created, and the interfaces and logics unique to the manufacturing execution system are implemented on the basis of the new derived class, without modifying the original code library. This not only keeps the code clean and modular, but also improves the maintainability of the code because code changes are restricted to the derived classes corresponding to each manufacturing execution system.

[0071] Step S203: Update the derived class interface data to the system adapter; the updated system adapter is used to perform data conversion and communication between the automatic test equipment and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

[0072] In the embodiments of the present application, the automatic test equipment can update the derived class interface data corresponding to the target manufacturing execution system to the system adapter. For example, the derived class interface data is added to the configuration file of the system adapter, so as to obtain the updated system adapter. In this way, the updated system adapter can implement data conversion and communication between the automatic test equipment and the target MES system through the newly added derived class interface data, that is, it has successfully accessed the target manufacturing execution system. The above method can eliminate and normalize the differences between each manufacturing execution system.

[0073] The above method constructs the corresponding derived class interface data for each manufacturing execution system (such as the target manufacturing execution system) that needs to access the automatic test equipment, so as to easily add support for the new manufacturing execution system without modifying the original code library, greatly simplifies the code maintenance work, enhances the code reusability, improves the flexibility and scalability of the system, and lays a solid foundation for building a highly flexible and adaptable manufacturing execution system environment.

[0074] Based on the above embodiments, the beneficial effects of the present application are as follows: In the embodiments of the present application, in response to an access request for a target manufacturing execution system, the base class interface data of the system adapter and the business logic data of the target manufacturing execution system are obtained; according to the base class interface data and the business logic data, the derived class interface data corresponding to the target manufacturing execution system is constructed; the derived class interface data is updated to the system adapter, and the updated system adapter is used to perform data conversion and communication between the automatic test equipment and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system. The above method can improve the code development efficiency and reduce the system operation and maintenance cost.

[0075] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of another system operation and maintenance method provided by an exemplary embodiment of the present application. This method can be applied to Figure 1 the automatic test equipment 101 shown in Figure 3 . The system operation and maintenance method shown in

[0076] may include multiple steps among steps S301 - S307. The specific steps of S301 - S307 are as follows:

[0077] Among them, for the specific implementation manner of step S301, refer to the relevant description of step S201 in the foregoing embodiments, and details are not described herein again.

[0078] Step S302: Construct the derived class interface data corresponding to the target manufacturing execution system based on the base class interface data and business logic data.

[0079] In a possible implementation, the above Step S302 can be implemented in the following manner:

[0080] (1) Perform data inheritance processing on the base class in the base class interface data to obtain a derived class.

[0081] In object-oriented programming, the base class defines a set of common attributes and methods. By performing data inheritance processing on the base class data, a derived class can be obtained. The derived class not only inherits all the attributes and methods of the base class but can also add its own attributes and methods.

[0082] (2) Construct the derived class interface data corresponding to the target manufacturing execution system based on the business logic data of the target manufacturing execution system and the derived class.

[0083] The automatic test equipment can further expand or customize the derived class (such as adding or modifying interfaces, methods, etc.) based on the business logic data of the target manufacturing execution system, so as to ensure seamless docking with the target manufacturing execution system.

[0084] In the embodiments of the present application, the base class interface data may include one or more of a test process interface, a machine control interface, and a sampling test control interface. Based on this, the business logic data of the target manufacturing execution system may include one or more of the logical data corresponding to the test process interface, the logical data corresponding to the machine control interface, and the logical data corresponding to the sampling test control interface. Among them, the test process interface can be used to process various operations and data flows during the test; the machine control interface can be used to manage and control key equipment in the production process; the sampling test control interface can be used to manage and control the sampling test in the production process.

[0085] The system adapter acts as the "Middleware" role for data circulation between the automatic test equipment system ATS corresponding to the automatic test equipment ATE and the manufacturing execution systems of each factory, serving as the hub for data exchange. The system adapter includes multiple application programming interfaces with different functions. Each interface focuses on a specific data processing task, can eliminate and normalize the differences between the manufacturing execution systems of each factory, and is committed to providing refined and professional services.

[0086] Exemplarily, in the design specifications of the adapter of the manufacturing execution system (which can be denoted as MES Adapter), application programming interfaces (APIs) with different functions can be mainly classified into three categories of core interfaces: Test Process Interfaces, Golden Machine Control Interfaces, and Sampling Inspection Control Interfaces. The interface functions and corresponding interface capabilities included in the Test Process Interfaces, Golden Machine Control Interfaces, and Sampling Inspection Control Interfaces are shown in Table 1 below:

[0087] Table 1

[0088]

[0089] Among them, the Test Process Interfaces incorporate the following key functions:

[0090] InitMes: Used for initializing the MES system and establishing the initial connection configuration with the MES system;

[0091] Login: Used for logging in to the MES system and providing authentication to access MES system resources;

[0092] Logout: Used for logging out of the MES system and securely ending the session with the MES system;

[0093] ConnectMes: Used for establishing a communication link with the MES system and completing the verification of product status;

[0094] CompleteMes: Used for uploading test results to the MES system;

[0095] GetNumberBySFC: Used for obtaining product information maintained by the MES system based on the serial number (Serial Factory Control);

[0096] UploadNumber: Used for uploading key product data to the MES system;

[0097] SendLog2Mes: Used for sending test logs or exception records to the MES system for traceability and analysis.

[0098] The Golden Machine Control Interfaces incorporate the following key functions:

[0099] LossBindResource: Used to bind the line loss inspection information in the production test environment and upload it to the MES system to ensure accurate tracking of resource usage;

[0100] GetLineLossState: Used to obtain the line loss inspection status in the production test environment and monitor and manage resource consumption;

[0101] CheckEquipmentUseQty: Used to check the equipment usage quantity and evaluate the equipment utilization rate and maintenance requirements.

[0102] The sampling inspection control interface incorporates the following key functions:

[0103] CompleteMes: Outputs the sampling inspection information assigned by the MES. The sampling inspection information includes, for example, quality sampling inspection indicators, sampling inspection plans, data collection and analysis, etc.

[0104] When the base class interface data includes the test process interface, the gold machine control interface, and the sampling inspection control interface, then, taking the target manufacturing execution system of the target factory as an example, a construction method for the derived class interface data corresponding to the target manufacturing execution system can be as follows:

[0105] 1. Define the base class: Construct an abstract base class that includes the test process interface, the gold machine control interface, and the sampling inspection control interface. This base class serves as a common framework for all derived classes.

[0106] 2. Create the derived class: Customize the derived class CGhtMes for the target factory. This class inherits from the above base class and can override or implement its virtual functions to meet the data interaction requirements between the automatic test equipment and the target manufacturing execution system of the target factory.

[0107] 3. Implement the specific logic: In the GhtMes.cpp source file, implement the business logic of the CGhtMes class in detail. The business logic specifically covers the specific functions corresponding to the test process interface, the gold machine control interface, and the sampling inspection control interface, thus ensuring seamless docking with the target manufacturing execution system of the target factory.

[0108] As Figure 4A shown, Figure 4AIt is a UML class diagram provided by an exemplary embodiment of the present application, revealing a design strategy based on the polymorphic characteristics of C++. The core concept of the above design strategy focuses on abstraction and encapsulation, that is, by defining an abstract base class to establish a set of common interfaces, and then implementing specific business logics through derived classes to achieve code modularity and decoupling, thereby enhancing the scalability and adaptability of the program, especially meeting the requirements of introducing a new factory's manufacturing execution system conveniently, efficiently, and at low cost in the future.

[0109] Among them, Figure 4A CMesBase in it is the base class, and CBydMes, CHGMes, and CGhtMes are the derived classes corresponding to factory CByd, factory CHG, and factory CGht respectively. It should be noted that Figure 4A lists the derived classes corresponding to three factories inherited from the base class, and the number of derived classes corresponding to the base class can be flexibly adjusted according to the actual business situation, which is not limited in the embodiments of the present application.

[0110] Through the above design strategy, whenever it is necessary to integrate MES system support for an additional factory, only the corresponding derived class needs to be developed and its specific logic filled, without modifying the original code library, thus greatly simplifying the code maintenance work and enhancing the reusability of the code and the scalability of the system, laying a solid foundation for building a highly flexible and adaptable manufacturing execution system environment.

[0111] Step S303: Update the derived class interface data into the system adapter; the updated system adapter is used to perform data conversion and communication between the automatic test equipment and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

[0112] Among them, for the specific implementation manner of step S303, refer to the relevant description of step S203 in the foregoing embodiments, which will not be elaborated here.

[0113] Step S304: When the debugging of the target manufacturing execution system is passed, in response to the task processing request of the target manufacturing execution system, use the updated system adapter to parse and process the task processing request to obtain the first task parameter.

[0114] In the embodiments of the present application, the automatic test equipment can debug the target manufacturing execution system. Through debugging, the correct connection and communication between the system adapter and the target manufacturing execution system can be ensured. For example, debugging may include: verifying the correctness of the interface, verifying the accuracy of data transmission, verifying the stability of the system, verifying the business logic of the target manufacturing execution system, verifying the system operating environment before production testing, and so on.

[0115] When the debugging of the target manufacturing execution system is passed, the automatic test equipment may receive a task processing request from the target manufacturing execution system. The task processing request is used to instruct the automatic test equipment to execute a specific task. The task processing request may be, for example, a test request, a connection establishment request, a data access / retrieval request, and so on. Based on this, the automatic test equipment can use the updated system adapter to parse the task processing request of the target manufacturing execution system, so as to obtain the original task parameters (denoted as the first task parameters) in the task processing request.

[0116] Step S305: Perform data format conversion processing on the first task parameters by using the updated system adapter to obtain second task parameters; the data format of the second task parameters is a data format adapted to the automatic test equipment.

[0117] In the embodiments of the present application, since the automatic test equipment and the manufacturing execution systems corresponding to each manufacturer may use different development methods (such as using different technology stacks and frameworks), this results in different systems usually using different data formats, and the communication protocols used by different systems may also be different. In this case, if data in the original data format is directly transmitted, compatibility problems may occur. Based on this, the automatic test equipment can use the updated system adapter to convert the first task parameters in the original data format into second task parameters in a data format adapted to the automatic test equipment, so as to ensure that the data can be correctly recognized and processed by both systems during the transmission process, and avoid errors caused by data format mismatch.

[0118] Step S306: Obtain the second task parameters from the updated system adapter based on the first communication protocol encapsulated by the automatic test equipment.

[0119] In the embodiments of the present application, after obtaining the second task parameters, the system adapter interacts with the system adapter through the first communication protocol encapsulated by it (i.e., a unified standardized communication protocol), that is, transmits the second task parameters to the automatic test equipment through the first communication protocol. The above method standardizes and encapsulates the communication protocol of the system adapter MES Adapter (such as Web / Http Service), thereby ensuring the standardization and interoperability of cross-system data interaction, and strengthening the unity and compatibility of data transmission.

[0120] Step S307: Perform the processing corresponding to the task processing request according to the second task parameter.

[0121] In the embodiments of the present application, the automatic test device can execute corresponding tasks according to the received second task parameter, such as starting a test, starting to establish a connection, accessing / obtaining data, and so on.

[0122] In the above steps S304 - S307, the automatic test device ensures normal communication between the system adapter and the target manufacturing execution system through debugging, avoiding task execution failures caused by communication problems; and ensures the correct transfer of data between different systems through data format conversion processing, reducing errors caused by data format mismatches. As an intermediate layer, the system adapter decouples the target manufacturing execution system and the automatic test device, improving system scalability and maintainability, and at the same time reducing development costs.

[0123] In a possible implementation manner, after the above step S307, the automatic test device can return the execution result corresponding to the task processing request to the target manufacturing execution system. Based on this, after step S307, the automatic test device can also perform the following steps:

[0124] (1) Determine the first feedback data of the task processing request.

[0125] In the embodiments of the present application, after the automatic test device completes the task processing request, the automatic test device can generate feedback data (denoted as the first feedback data) according to the execution result corresponding to the task processing request. At this time, the data format of the first feedback data is the same as the data format of the automatic test device, that is, both are in the standardized communication protocol. In another possible implementation manner, the first feedback data may refer to the execution result corresponding to the task processing request.

[0126] Exemplarily, the first feedback data may include the following content: test start result (success / failure), connection establishment result (success / failure), data access result (success / failure), data acquisition result (success / failure, acquired data), and so on.

[0127] (2) Use the updated system adapter to perform data format conversion processing on the first feedback data to obtain the second feedback data; the data format of the second feedback data is the data format adapted to the target manufacturing execution system.

[0128] In the embodiments of the present application, the updated system adapter can perform data format conversion processing on the first feedback data to obtain the second feedback data, and the second feedback data is in a data format that the target manufacturing execution system can understand. The above method ensures that the target manufacturing execution system can correctly receive and process the feedback data through data format conversion processing.

[0129] (3) The second communication protocol encapsulated based on the target manufacturing execution system uses the updated system adapter to return the second feedback data to the target manufacturing execution system.

[0130] In the embodiments of the present application, the system adapter uses the second communication protocol encapsulated by the target manufacturing execution system to return the second feedback data to the target manufacturing execution system, thereby ensuring the correct transmission of data and avoiding communication errors. The above method enables the automatic test equipment to dock with various types of manufacturing execution systems (such as different data formats and different communication protocols) using the system adapter, improving the flexibility and scalability of the system.

[0131] In a possible implementation, the method for debugging the target manufacturing execution system can be as follows:

[0132] (1) In response to a system debugging request for the target manufacturing execution system, parse the target debugging parameters from the system debugging request.

[0133] (2) Perform debugging processing on the target manufacturing execution system according to the target debugging parameters to obtain the debugging result of the target manufacturing execution system.

[0134] In the above steps (1)-(2), the automatic test equipment can debug the target manufacturing execution system to ensure the normal function of the target manufacturing execution system. Specifically, when receiving a system debugging request for the target manufacturing execution system, the automatic test equipment can extract the parameters to be debugged (denoted as target debugging parameters) from the request, and then perform specific debugging processing on the target manufacturing execution system according to the parsed target debugging parameters, and then obtain the debugging result. The debugging result can be used to indicate whether the debugging passes.

[0135] In the embodiments of the present application, the system debugging request can include one or more of an interface function debugging request and a production environment debugging request. Then, the debugging processing performed on the target manufacturing execution system can include one or more of testing whether the interface function is normal and testing whether the production environment configuration is correct.

[0136] Among them, interface function debugging can ensure the accurate transmission and processing of data between the target manufacturing execution system and the automatic test equipment, thereby establishing a solid communication bridge. Exemplarily, interface function debugging can refer to the MES interface debugging by engineers. ATE engineers can use the MESDebug tool to precisely perform in-depth debugging on the MES interface to ensure the accuracy of the data transmission and processing process, and establish a solid bridge for communication between the MES system and the production line automation test system.

[0137] Production environment debugging can perform real-time monitoring and debugging on the MES system environment to diagnose and resolve possible abnormal conditions, and configure the required test information to ensure the smooth running of the production process. Exemplarily, production environment debugging can refer to the MES environment debugging by on-site testers. The production line testers can use the MESDebug tool to monitor and debug the MES environment at the production site in real time, instantly diagnose possible abnormal conditions in the MES system, and quickly configure various types of information required during the online testing process to ensure the smooth and efficient production process.

[0138] The above two system debugging methods are both aimed at ensuring the efficient and accurate operation of the manufacturing execution system during the production process. Interface function debugging focuses on optimizing the interfaces at the system level to improve the reliability of data transmission, while production environment debugging pays more attention to real-time monitoring at the production site and quick problem-solving. The two complement each other to jointly ensure the stable operation of the production system. Through the MESDebug tool, powerful debugging and monitoring means are provided for ATE engineers and production line testers, ensuring the precise debugging of MES interfaces, realizing the real-time monitoring of the MES environment at the production site, improving the smoothness and efficiency of the production process, helping to quickly diagnose and resolve problems in the MES system, and ensuring the continuity and efficiency of the production process.

[0139] As Figure 4B shown, Figure 4B is a schematic diagram of the interface of a MESDebug tool provided by an exemplary embodiment of the present application. In the interface indicated by (4B-1) in Figure 4B , SFC (serial number), SendData (data to be sent), NumberStore (storage location), LogFile (log file), ErrorCode (error code), and ErrorItem (error item) are the parameters that need to be passed in for testing respectively. InitMes (initialization), ConnectMes (connect to the MES system for testing), Complete (pass the station), NC_Complete (pass the station when failed), UploadNumber (transfer test data to the MES system), GetNumber (obtain data from the MES system), SendLog (upload local log), ShowDigSetting (configure the differential configuration information of the factory), and JumpStation (skip the station) are the buttons corresponding to the function interfaces available for testing.

[0140] When the ShowDigSetting button is triggered, it can jump to Figure 4BThe interface indicated by (4B-2), in which the differential configuration information of the factory can be configured, such as URL (address), USER ID (user identification), LINE (production line), MES (select a factory, such as factories like GHT, BYD, etc.).

[0141] The following will illustrate the automatic test system (ATE system) where the automatic test device in the embodiments of the present application is located through examples:

[0142] As Figure 4C shown, Figure 4C is a schematic diagram of a system structure provided by an exemplary embodiment of the present application. The automatic test system ATS corresponding to the automatic test device can perform two-way interaction with the system adapter MES Adapter. The system adapter MES Adapter contains standardized communication protocols (such as Web service / Http service), ensuring the standardization and interoperability of cross-system data interaction, strengthening the unity and compatibility of data transmission. At the same time, by deeply integrating the MES Lib libraries customized by each factory (EMS of the foundry), the MES Lib libraries can simplify the integration process with the MES system, provide standardized interfaces and methods, so that different software systems can easily interact with the MES system. This can greatly improve the adaptability and interoperability level for a specific MES environment, ensure the high efficiency and high precision of data exchange, and strongly support the automation and intelligent control of the production process.

[0143] MES Adapter, as the "middleware" between the automatic test device system ATS corresponding to the automatic test device and the manufacturing execution system, enables the automatic test device to integrate the manufacturing execution systems corresponding to multiple factories through MES Adapter, such as GHT MES, HG MES, HCS MES, BYD MES, HUAG MES, HB MES, etc.

[0144] As Figure 4D shown, Figure 4D is a schematic diagram of another system structure provided by an exemplary embodiment of the present application. The automatic test device ATE is connected to the system adapter MES Adapter. The MES Adapter includes various application program interfaces, communication protocols, and MES Libs of each factory. For the relevant descriptions, reference can be made to the previous embodiments and will not be elaborated here. The automatic test device ATE is also connected to the device under test (DUT), and is connected to the manufacturing execution systems corresponding to multiple factories (such as factories like GHT, BYD, etc.), which will not be elaborated here.

[0145] In a possible implementation, the automatic test equipment is also embedded with adapters corresponding to different management systems, and the adapters corresponding to different management systems are used to perform data conversion and communication between the automatic test equipment and the corresponding management systems. That is to say, in addition to the manufacturing execution system, the automatic test equipment usually also needs to exchange data and communicate with many other different management systems. To achieve the integration of such multiple systems, the ATE usually embeds multiple adapters, and each adapter is specifically used to interact with a specific type of management system.

[0146] In a possible implementation, the adapters corresponding to different management systems may include one or more of an instrumentation and integration adapter, a microcontroller unit adapter, and an intelligent manufacturing adapter. Among them, the instrumentation and integration adapter (IIS Adapter) is an adapter used to connect the ATE to various measurement and control instruments, which can support multiple instrument protocols and can convert the data formats of different instruments into formats that the ATE can process. The microcontroller unit adapter (MCUAdapter) is an adapter used to connect the ATE to various microcontroller units (MCUs), which can support the communication protocols of multiple MCUs and can convert the control signals and data of the MCU into formats that the ATE can process. The intelligent manufacturing adapter (IMS Adapter) is an adapter used to connect the ATE to the intelligent manufacturing management system, which can support the communication protocols and data formats of the intelligent manufacturing system, and can feed back the test data and results of the ATE to the intelligent manufacturing system, or transmit the control instructions of the intelligent manufacturing system to the ATE.

[0147] The above-mentioned adapters ensure the data connectivity and operation coordination between the ATE and the enterprise-level information management system, and realize the all-round information exchange and control link from the underlying devices to the top-level decision-making system. By embedding adapters corresponding to multiple management systems, the automatic test equipment can achieve effective communication and data exchange with different management systems, realize data integration and sharing, improve production efficiency, optimize quality control, enhance the flexibility and scalability of the system, and improve the performance and competitiveness of the entire production system.

[0148] As Figure 4E shown, Figure 4EIt is an overall system architecture diagram provided by an exemplary embodiment of the present application. The automatic test equipment ATE can be included in the ATE equipment production test platform, which is constructed into a comprehensive architecture integrating hardware, software, and communication interfaces. In the overall system architecture, the hardware components include radio frequency (RF) test instruments, alternating current / direct current (AC / DC) power supply equipment, and test fixtures, jointly building the basic material layer and experimental environment for test operations.

[0149] In the software ecosystem, the automatic test system ATS system is in the core position, acting as the commander of the test process, responsible for the arrangement, execution, and result analysis of test sequences. In the MES system, it includes digital process BOP (used to digitize the operation plan or process flow in the manufacturing process for easy management and tracking), production planning and scheduling APS (used to optimize production plans and resource allocation to improve production efficiency and respond to market demands), total quality QMS (used to ensure the quality of products and services, including quality control, quality assurance, etc.), intelligent manufacturing MI / BI (used to optimize the manufacturing process and business decisions using data analysis and intelligent algorithms), and intelligent management of warehousing and logistics (used to optimize warehouse management and logistics transportation using intelligent technologies to improve efficiency and accuracy).

[0150] As Figure 4E shown, at the communication interface level, the overall system architecture includes the following multiple adapters:

[0151] 1. The system adapter corresponding to the manufacturing execution system (Manufacturing Execution System Adapter, MES Adapter).

[0152] 2. The instrumentation and integration adapter corresponding to the instrumentation and integration system (Instrumentation and Integration System Adapter, IIS Adapter).

[0153] 3. The microcontroller unit adapter (Microcontroller Unit Adapter, MCU Adapter).

[0154] 4. The intelligent manufacturing adapter corresponding to the intelligent manufacturing system (Intelligent Manufacturing System Adapter, IMS Adapter).

[0155] For the functions of the various types of adapters described above, reference may be made to the relevant descriptions in the foregoing embodiments, which will not be elaborated herein.

[0156] In a possible implementation, taking the manufacturing execution system corresponding to the target factory as an example of the target manufacturing execution system, the testing method of the target manufacturing execution system will be described. The main process is as follows:

[0157] (1) After creating a virtual work order in the target factory, obtain a test request for the target manufacturing execution system; the virtual work order is used to instruct the target factory to simulate production.

[0158] In the embodiments of the present application, the target factory needs to create a virtual work order. The virtual work order is not a real production task, but is used to simulate the production process so as to perform tests without affecting actual production and improve the flexibility of testing. Then, the automatic testing device can obtain a test request for the target manufacturing execution system. This test request may come from testers, automatic testing devices, automated testing systems or other relevant systems and is used to trigger the subsequent testing process.

[0159] (2) In response to the test request, configure the differential configuration information of the target manufacturing execution system.

[0160] In the embodiments of the present application, after the automatic testing device receives the test request, it starts to configure the differential configuration information of the target manufacturing execution system. The differential configuration information of the manufacturing execution systems corresponding to different factories is different. For example, the differential configuration information of the target manufacturing execution system may include URL (address), USER ID (user identification), LINE (line body), etc.

[0161] (3) After the differential configuration information is verified and passed by the target factory, configure the test parameters, and trigger the corresponding test control after the test parameter configuration is completed; wherein, when the test control is triggered, perform the function test corresponding to the test control based on the test parameters, and output the function test result when the function test is completed.

[0162] In the embodiments of the present application, after the differential configuration information is verified and confirmed to be correct by the target factory, start to configure the test parameters. After the test parameter configuration is completed, perform the function test by triggering the test control. After the function test is completed, the function test result can be output locally or to the target manufacturing execution system. The function test result may include the status of passing / failing the test, performance data, exception reports, etc., and is used to evaluate the performance and reliability of the MES. By outputting the function test result, it provides quick feedback to the testers, which helps to discover problems in time and make adjustments and optimizations.

[0163] Exemplarily, in Figure 4BIn the interface indicated by 4B-1, when testing the InitMes interface, SFC parameters can be input, and then click the button corresponding to the InitMes interface (the button here is a test control) to start the test. When testing the ConnectMes interface and the Complete interface, only SFC parameters need to be input. When testing the NC_Complete interface, SFC, parameter, ErrorCode parameter, and ErrorItem parameter can be input. The test methods for other interfaces will not be described one by one.

[0164] The following will illustrate the test method of the target manufacturing execution system through examples. Taking the target manufacturing execution system corresponding to the target factory as an example, assuming that the target factory is restricted to interact through the internal network, then the test process can be as follows:

[0165] 1. Since the target manufacturing execution system MES needs to interact through the internal network, it is possible to remotely connect to the factory server according to the "Jump Fortress Machine User Guide" provided by the target factory.

[0166] 2. Upload the new version of the ATE tool (automatic test tool) that supports the target manufacturing execution system MES to the factory server, and debugging verification can be performed on the desktop.

[0167] As Figure 4F shown, Figure 4F is an interface diagram of a factory server provided by an exemplary embodiment of the present application. On the desktop, there are application programs such as the ATE tool and the recycle bin.

[0168] 3. The target factory needs to create virtual work orders in advance and import test data in advance. The test data can be as shown in Table 2 below:

[0169] Table 2

[0170]

[0171] 4. Through the MESDebug configuration interface of the automatic test tool, configure the information required for online testing of the target manufacturing execution system MES (i.e., differential configuration information), and then click the "save" button to store the differential configuration information of the target manufacturing execution system MES in the configuration file MesConfigure.ini.

[0172] Among them, the MESDebug configuration interface is the same interface as the one Figure 4B indicated by (4B-2). As Figure 4G shown, Figure 4GIt is an interface diagram of a configuration file provided by an exemplary embodiment of the present application, which includes relevant configuration information of the target manufacturing execution system (in this case, the manufacturing execution system corresponding to the HUAG factory).

[0173] 5. Determine the testable SN (Serial Number), return to the main interface of the tool, fill in information such as the SN number and SFC number, and click the corresponding buttons of each function interface to perform the test.

[0174] Such as Figure 4H shown Figure 4H It is an interface display diagram of test results provided by an exemplary embodiment of the present application, specifically referring to the interface display diagram of the test results of the MESDebug tool. Taking the "ConnectMes" function interface as an example, after pressing the "ConnectMes" button, the dialog box below displays "Connect MES success!", indicating that the call to the ConnectMes interface of the target manufacturing execution system MES is successful. Similarly, pressing other buttons can also achieve the call of other interfaces, which will not be elaborated here.

[0175] 6. After remote joint debugging verification, the ConnectMes interface is debugged OK. By viewing the test log, parameters such as MO (virtual work order number) and Model are parsed and stored in the MesConfigure.ini file for use by the CompleteMes interface. By comparing the virtual work order numbers, it can be determined whether it conforms to the test strategy of the target factory.

[0176] Exemplarily, such as Figure 4I shown Figure 4I It is an interface display diagram of a test log provided by an exemplary embodiment of the present application. In case 1, "Return: 0" indicates that the current work order is inconsistent with the configured virtual work order number, and the debugging of the ConnectMes interface fails; in case 2, "Return: 1" indicates that the current work order is consistent with the configured virtual work order number, and the debugging of the ConnectMes interface is successful.

[0177] Based on the description of the above embodiments, the system operation and maintenance method proposed by the embodiments of the present application can reduce the maintenance cost of the ATE tool MES function. By encapsulating a unified system adapter MES Adapter to achieve interface normalization, it can simplify the design of the test tool, unify the call logic, thereby improving the operation efficiency and reducing the technical threshold, significantly reducing the maintenance cost, optimizing resource allocation, and enabling more resources to be invested in business innovation and the improvement of core capabilities.

[0178] Please refer to Figure 5 , Figure 5It is a schematic structural diagram of a system operation and maintenance device provided by an embodiment of the present application. Specifically, the system operation and maintenance device may include:

[0179] An acquisition module 501, configured to acquire base class interface data of a system adapter and business logic data of a target manufacturing execution system in response to an access request for the target manufacturing execution system;

[0180] A processing module 502, configured to construct derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data;

[0181] An update module 503, configured to update the derived class interface data to the system adapter; the updated system adapter is used to perform data conversion and communication between an automatic test device and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

[0182] In a possible implementation manner, when the above-mentioned processing module 502 is configured to construct derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data, it is specifically configured to:

[0183] Perform data inheritance processing on the base class in the base class interface data to obtain a derived class;

[0184] Construct derived class interface data corresponding to the target manufacturing execution system according to the business logic data of the target manufacturing execution system and the derived class;

[0185] Wherein, the base class interface data includes one or more of a test process interface, a gold machine control interface, and a sampling test control interface, and the business logic data of the target manufacturing execution system includes one or more of the logic data corresponding to the test process interface, the logic data corresponding to the gold machine control interface, and the logic data corresponding to the sampling test control interface.

[0186] In a possible implementation manner, the above-mentioned processing module 502 is further configured to:

[0187] When the target manufacturing execution system is debugged successfully, in response to a task processing request of the target manufacturing execution system, parse and process the task processing request by using the updated system adapter to obtain first task parameters;

[0188] Perform data format conversion processing on the first task parameters by using the updated system adapter to obtain second task parameters; the data format of the second task parameters is a data format adapted to the automatic test device;

[0189] Obtain the second task parameters from the updated system adapter based on the first communication protocol encapsulated by the automatic test device;

[0190] Perform processing corresponding to the task processing request according to the second task parameter.

[0191] In a possible implementation, the above-mentioned processing module 502 is further configured to:

[0192] Determine the first feedback data of the task processing request;

[0193] Perform data format conversion processing on the first feedback data by using the updated system adapter to obtain second feedback data; the data format of the second feedback data is a data format adapted to the target manufacturing execution system;

[0194] Based on the second communication protocol encapsulated by the target manufacturing execution system, use the updated system adapter to return the second feedback data to the target manufacturing execution system.

[0195] In a possible implementation, the above-mentioned processing module 502 is further configured to:

[0196] In response to a system debugging request for the target manufacturing execution system, parse the target debugging parameters from the system debugging request;

[0197] Perform debugging processing on the target manufacturing execution system according to the target debugging parameters to obtain the debugging result of the target manufacturing execution system; wherein, the system debugging request includes one or more of an interface function debugging request and a production environment debugging request.

[0198] In a possible implementation, the automatic test equipment is also embedded with adapters corresponding to different management systems, and the adapters corresponding to different management systems are used for data conversion and communication between the automatic test equipment and the corresponding management systems; the adapters corresponding to different management systems include one or more of an instrument and integration adapter, a microcontroller unit adapter, and an intelligent manufacturing adapter.

[0199] In a possible implementation, the target manufacturing execution system is the manufacturing execution system corresponding to the target factory, and the above-mentioned processing module 502 is further configured to:

[0200] After creating a virtual work order in the target factory, obtain a test request for the target manufacturing execution system; the virtual work order is used to instruct the target factory to simulate production;

[0201] In response to the test request, configure the differential configuration information of the target manufacturing execution system;

[0202] After the differential configuration information is verified to be passed in the target factory, configure the test parameters, and trigger the corresponding test control after the test parameter configuration is completed; wherein, when the test control is triggered, perform a function test corresponding to the test control based on the test parameters, and output a function test result when the function test is completed.

[0203] It should be noted that the functions of the functional modules of the system operation and maintenance device in the embodiments of the present application can be specifically implemented according to the methods in the above method embodiments. The specific implementation process can refer to the relevant descriptions in the above method embodiments and will not be elaborated here.

[0204] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of a computer device provided in an embodiment of the present application. As Figure 6 shown, the computer device in this embodiment may include: a processor 601, a storage device 602, and a communication interface 603. Data interaction can be performed among the above-mentioned processor 601, storage device 602, and communication interface 603.

[0205] The above storage device 602 may include a volatile memory, such as a random-access memory (RAM); the storage device 602 may also include a non-volatile memory, such as a flash memory, a solid-state drive (SSD), etc.; the above storage device 602 may also include a combination of the above types of memories.

[0206] The above processor 601 may be a central processing unit (CPU). In one embodiment, the above processor 601 may also be a Graphics Processing Unit (GPU). The above processor 601 may also be a combination of a CPU and a GPU. In a possible implementation manner, the above storage device 602 is used to store a computer program, and the above processor 601 may call the above computer program to perform the following operations:

[0207] In response to an access request for a target manufacturing execution system, obtain the base class interface data of the system adapter and the business logic data of the target manufacturing execution system;

[0208] According to the base class interface data and the business logic data, construct the derived class interface data corresponding to the target manufacturing execution system;

[0209] Update the derived class interface data to the system adapter; the updated system adapter is used to perform data conversion and communication between the automatic test device and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

[0210] In a possible implementation, when the above-mentioned processor 601 is used to construct the derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data, it is specifically used for:

[0211] Perform data inheritance processing on the base class in the base class interface data to obtain a derived class;

[0212] Construct the derived class interface data corresponding to the target manufacturing execution system according to the business logic data of the target manufacturing execution system and the derived class;

[0213] Among them, the base class interface data includes one or more of a test process interface, a machine tool control interface, and a sampling inspection control interface, and the business logic data of the target manufacturing execution system includes one or more of the logic data corresponding to the test process interface, the logic data corresponding to the machine tool control interface, and the logic data corresponding to the sampling inspection control interface.

[0214] In a possible implementation, the above-mentioned processor 601 is further used for:

[0215] In the case where the target manufacturing execution system is debugged successfully, in response to a task processing request of the target manufacturing execution system, use the updated system adapter to parse and process the task processing request to obtain first task parameters;

[0216] Use the updated system adapter to perform data format conversion processing on the first task parameters to obtain second task parameters; the data format of the second task parameters is a data format adapted to the automatic test equipment;

[0217] Based on the first communication protocol encapsulated by the automatic test equipment, obtain the second task parameters from the updated system adapter;

[0218] Execute the processing corresponding to the task processing request according to the second task parameters.

[0219] In a possible implementation, the above-mentioned processor 601 is further used for:

[0220] Determine the first feedback data of the task processing request;

[0221] Use the updated system adapter to perform data format conversion processing on the first feedback data to obtain second feedback data; the data format of the second feedback data is a data format adapted to the target manufacturing execution system;

[0222] Based on the second communication protocol encapsulated by the target manufacturing execution system, use the updated system adapter to return the second feedback data to the target manufacturing execution system.

[0223] In a possible implementation, the above-mentioned processor 601 is further used for:

[0224] In response to a system debugging request for a target manufacturing execution system, parse target debugging parameters from the system debugging request;

[0225] Perform debugging processing on the target manufacturing execution system according to the target debugging parameters to obtain a debugging result of the target manufacturing execution system; wherein, the system debugging request includes one or more of an interface function debugging request and a production environment debugging request.

[0226] In a possible implementation, the automatic test equipment is also embedded with adapters corresponding to different management systems, and the adapters corresponding to different management systems are used to perform data conversion and communication between the automatic test equipment and the corresponding management systems; the adapters corresponding to different management systems include one or more of an instrument and integration adapter, a microcontroller unit adapter, and an intelligent manufacturing adapter.

[0227] In a possible implementation, the target manufacturing execution system is the manufacturing execution system corresponding to a target factory, and the above-mentioned processor 601 is further configured to:

[0228] After creating a virtual work order in the target factory, obtain a test request for the target manufacturing execution system; the virtual work order is used to instruct the target factory to simulate production;

[0229] In response to the test request, configure the differential configuration information of the target manufacturing execution system;

[0230] After the differential configuration information is verified and passed in the target factory, configure test parameters, and trigger corresponding test controls after the test parameter configuration is completed; wherein, when the test controls are triggered, perform a function test corresponding to the test controls based on the test parameters, and output a function test result when the function test is completed.

[0231] In a specific implementation, the processor 601, the storage device 602, and the communication interface 603 described in the embodiments of the present application may execute the implementation manners described in the related embodiments of the system operation and maintenance method provided in the foregoing embodiments Figure 2 or Figure 3 the implementation manners described in the related embodiments of the system operation and maintenance device provided in the embodiments of the present application, which will not be elaborated herein. Figure 5

[0232] ​In several embodiments provided in the present application, it should be understood that the disclosed methods, apparatuses, and systems can be implemented in other ways. The apparatus embodiments described above are merely illustrative. The division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the apparatuses or units can be in electrical, mechanical, or other forms.

[0233] In addition, it should be noted here that: The embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores the computer program executed by the system operation and maintenance apparatus mentioned above, and the computer program includes program instructions. When the processor executes the above program instructions, it can execute the methods in the foregoing embodiments. Therefore, details will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated either. For the technical details not disclosed in the embodiments of the computer-readable storage medium involved in the present application, please refer to the description of the method embodiments of the present application. As an example, the program instructions can be deployed on a computer device, or executed on multiple computer devices located at one place, or alternatively, executed on multiple computer devices distributed at multiple places and interconnected through a communication network. The multiple computer devices distributed at multiple places and interconnected through a communication network can form a blockchain system.

[0234] According to one aspect of the present application, there is provided a computer program product, the computer program product includes a computer program, and the computer program is stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device can execute the methods in the foregoing embodiments. Therefore, details will not be repeated here.

[0235] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The above program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. Among them, the above storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.

[0236] It can be understood that in the specific embodiments of the present application, data such as base class interface data and business logic data are involved. When the above embodiments of the present application are applied to specific products or technologies, the collection, use, and processing of relevant data need to comply with relevant regulations and standards in the relevant regions.

[0237] In the embodiments of the present application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other relevant parts to achieve a predetermined goal, and can be fully or partially implemented by using software, hardware (such as processing circuits or memories), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of the overall module or unit that includes the function of the module or unit.

[0238] It should be noted that the descriptions such as "first" and "second" involved in the embodiments of the present application are only for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly specifying the quantity of the indicated technical features. Therefore, the technical features defined with "first" and "second" may explicitly or implicitly include at least one such feature.

[0239] The above-disclosed are only some embodiments of the present application. Of course, the scope of rights of the present application cannot be limited thereby. Those of ordinary skill in the art can understand the entire or partial processes of implementing the above embodiments, and the equivalent changes made according to the claims of the present application still fall within the scope covered by the invention.

Claims

1. A system operation and maintenance method, characterized in that: The method comprises: In response to an access request to a target manufacturing execution system, acquiring base class interface data of a system adapter and business logic data of the target manufacturing execution system; Constructing derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data; The derived class interface data is updated into the system adapter; the updated system adapter is used to perform data conversion and communication between automatic test equipment and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

2. The method according to claim 1, characterized in that The step of constructing derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data includes: Performing data inheritance processing on the base class in the base class interface data to obtain a derived class; Constructing derived class interface data corresponding to the target manufacturing execution system according to the business logic data of the target manufacturing execution system and the derived class; Among them, the base class interface data includes one or more of a test process interface, a gold machine management and control interface, and a sampling management and control interface, and the business logic data of the target manufacturing execution system includes one or more of the logic data corresponding to the test process interface, the logic data corresponding to the gold machine management and control interface, and the logic data corresponding to the sampling management and control interface.

3. The method according to claim 1 or 2, characterized in that The method further comprises: When the target manufacturing execution system is debugged successfully, responding to a task processing request of the target manufacturing execution system, parsing the task processing request using the updated system adapter to obtain a first task parameter; Using the updated system adapter to perform data format conversion processing on the first task parameter to obtain a second task parameter; the data format of the second task parameter is a data format adapted to the automatic test equipment; Based on the first communication protocol encapsulated by the automatic test equipment, acquiring the second task parameter from the updated system adapter; The processing corresponding to the task processing request is performed according to the second task parameter.

4. The method according to claim 3, characterized in that The method further comprises: Determining first feedback data of the task processing request; Using the updated system adapter to perform data format conversion processing on the first feedback data to obtain second feedback data; the data format of the second feedback data is a data format adapted to the target manufacturing execution system; Based on the second communication protocol encapsulated by the target manufacturing execution system, the second feedback data is returned to the target manufacturing execution system by using the updated system adapter.

5. The method according to claim 1 or 2, characterized in that: The method further comprises: In response to a system debugging request for the target manufacturing execution system, parsing target debugging parameters from the system debugging request; The target manufacturing execution system is debugged according to the target debugging parameters to obtain a debugging result of the target manufacturing execution system; wherein the system debugging request includes one or more of an interface function debugging request and a production environment debugging request.

6. The method according to claim 1 or 2, characterized in that: The automatic testing equipment is also embedded with adapters corresponding to different management systems, and the adapters corresponding to different management systems are used to perform data conversion and communication between the automatic testing equipment and the corresponding management systems; the adapters corresponding to different management systems include one or more of an instrument and integrated adapter, a microcontroller unit adapter, and an intelligent manufacturing adapter.

7. The method according to claim 1 or 2, characterized in that: The target manufacturing execution system is a manufacturing execution system corresponding to the target factory, and the method further includes: After creating a virtual work order in the target factory, obtaining a test request for the target manufacturing execution system; the virtual work order is used to instruct the target factory to simulate production; In response to the test request, configuring differential configuration information of the target manufacturing execution system; After the target factory verifies the differentiated configuration information, the test parameters are configured, and the corresponding test controls are triggered after the test parameter configuration is completed; wherein, when the test control is triggered, the functional test corresponding to the test control is performed based on the test parameters, and the functional test results are output when the functional test is completed.

8. A system operation and maintenance device, characterized in that: The device comprises: An acquisition module, configured to acquire base class interface data of a system adapter and business logic data of the target manufacturing execution system in response to an access request to the target manufacturing execution system; A processing module, used for constructing derived class interface data corresponding to the target manufacturing execution system according to the base class interface data and the business logic data; The updating module is used to update the derived class interface data into the system adapter; the updated system adapter is used to perform data conversion and communication between automatic test equipment and the target manufacturing execution system through the derived class interface data corresponding to the target manufacturing execution system.

9. A computer device, characterized in that: include: A processor, a storage device and a communication interface, wherein the processor, the communication interface and the storage device are connected to each other, wherein the storage device stores a computer program, and the processor is used to call the computer program to implement the system operation and maintenance method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, they are used to implement the system operation and maintenance method according to any one of claims 1 to 7.