Method and system for operating engineering scientific research instrument equipment and storage medium

By establishing a WebSocket full-duplex communication channel between engineering scientific research instruments and equipment and the central server, the problem of instruments and equipment limited by their physical location is solved, remote control and precise operation are achieved, and the reliability and safety of operations are improved.

CN118612263APending Publication Date: 2024-09-06BEIJING ZHENGYAN SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410756191.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Engineering scientific research instruments and equipment are limited by their physical location and cannot be controlled remotely. They are inconvenient to operate and are prone to equipment damage due to instruction errors or delays.

Method used

By establishing a WebSocket full-duplex communication channel between engineering scientific research instruments, instrument agents and central servers, remote transmission of instrument operation control instructions and feedback of execution results are achieved, overcoming physical location limitations.

Benefits of technology

It realizes remote and precise control of engineering scientific research instruments and equipment, facilitates operation, avoids equipment damage caused by instruction errors or delays, and improves the reliability and safety of operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612263A
    Figure CN118612263A
Patent Text Reader

Abstract

The invention discloses a method and system for operating engineering scientific research instrument equipment, and a storage medium, and the method comprises the steps: enabling the engineering scientific research instrument equipment to be locally connected with a near-field instrument agent end, enabling the instrument agent end and a remote instrument control end to be connected with a central server disposed on cloud, and building a WebSocket full-duplex communication channel; the instrument control end packages the first message into a first WebSocket frame, the first WebSocket frame is sent to the instrument agent end through WebSocket connection, and a field of the first message at least comprises an instrument operation control instruction; and the instrument agent end issues the instrument operation control instruction to the engineering scientific research instrument equipment for execution, and when an execution result is received, a generated second message is packaged into a second WebSocket frame to be returned to the instrument control end. By applying the scheme of the application, the defect of limitation of physical positions is overcome, and the purpose of remotely controlling the engineering scientific research instrument equipment is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a method for operating engineering and scientific research instruments and equipment, a system for operating engineering and scientific research instruments and equipment, and a computer-readable storage medium. Background Art

[0002] In the fields of industrial engineering and scientific research, instruments and equipment are often operated to obtain experimental data related to industrial production and scientific research. For example, filter frequency response test instruments, four-probe resistivity test instruments, wafer test instruments, etc. are all instruments and equipment operated in engineering research.

[0003] When operating these engineering and scientific research instruments and equipment, in the early days, they relied on the independent operation of the instruments and equipment, mainly relying on their own data analysis functions. With the advancement of virtual software architecture (VISA, Virtual Instrument Software Architecture) and standard command set (SCPI, Standard Commands for Programmable Instruments) technology, researchers can use computers and send instructions to them through the interfaces of engineering and scientific research instruments and equipment to achieve the purpose of operating engineering and scientific research instruments and equipment. However, the interface types of engineering and scientific research instruments and equipment are usually universal serial bus (USB, Universal Serial Bus) interface, general-purpose interface bus (GPIB, General-Purpose Interface Bus) interface, serial communication RS232 interface, PCI extension (PXI, PCI extensionsfor Instrumentation) interface for instrument systems, etc. These interfaces are usually connected to computers by wire, and the distance between computers and engineering and scientific research instruments and equipment is very short. The operation of instruments and equipment is limited by physical location, and staff are required to operate on-site or near-field of engineering and scientific research instruments and equipment. Summary of the invention

[0004] In view of the above-mentioned prior art, an embodiment of the present invention discloses a method for operating engineering and scientific research instruments and equipment, which can overcome the defect that the engineering and scientific research instruments and equipment are restricted by physical locations and achieve the purpose of remotely controlling the engineering and scientific research instruments and equipment.

[0005] In view of this, the present application embodiment proposes a method for operating an engineering scientific research instrument and equipment, the method comprising:

[0006] The engineering research instrument and equipment are locally connected to a near-field instrument agent, and the instrument agent and the remote instrument control terminal are respectively connected to a central server deployed on the cloud, and a WebSocket full-duplex communication channel is established between the instrument agent and the central server, and a WebSocket full-duplex communication channel is established between the instrument control terminal and the central server, and the instrument agent and the instrument control terminal are respectively located in different intranets;

[0007] The instrument control end encapsulates the generated first message into a first WebSocket frame, and sends it to the instrument agent end through the WebSocket connection and via the central server; the fields of the first message include at least the instrument agent end number, the instrument equipment number and the instrument operation control instruction, and the instrument operation control instruction is an instruction recognizable by the engineering scientific research instrument equipment;

[0008] The instrument agent decapsulates the first WebSocket frame to obtain the instrument operation control instruction, and sends the instrument operation control instruction to the engineering scientific research instrument corresponding to the instrument equipment number through the local area connection, so that the engineering scientific research instrument executes the instrument operation control instruction;

[0009] When the instrument agent receives the execution result reported by the engineering and scientific research instrument and equipment, it encapsulates the generated second message into a second WebSocket frame, connects through the WebSocket and returns it to the instrument control end via the central server. The fields of the second message include at least the instrument agent number, the instrument equipment number and the execution result.

[0010] The embodiment of the present invention discloses a system for operating engineering and scientific research instruments and equipment, which can overcome the defect that the engineering and scientific research instruments and equipment are restricted by physical locations and achieve the purpose of remotely controlling the engineering and scientific research instruments and equipment.

[0011] The embodiment of the present invention discloses a system for operating engineering scientific research instruments and equipment, including:

[0012] Engineering scientific research instruments and equipment, instrument agent, central server, instrument control terminal; the engineering scientific research instruments and equipment are locally connected to the near-field instrument agent, the instrument agent and the remote instrument control terminal are respectively connected to the central server deployed on the cloud, and a WebSocket full-duplex communication channel is established between the instrument agent and the central server, and a WebSocket full-duplex communication channel is established between the central server and the instrument control terminal, and the instrument agent and the instrument control terminal are respectively located in different intranets;

[0013] The instrument control terminal is used to encapsulate the generated first message into a first WebSocket frame and send it to the central server through the WebSocket connection, wherein the fields of the first message at least include the instrument agent terminal number, the instrument equipment number and the instrument operation control instruction, and the instrument operation control instruction is an instruction recognizable by the engineering scientific research instrument equipment; and receive a second WebSocket frame returned from the central server;

[0014] The central server is used to forward the first WebSocket frame to the instrument agent terminal and forward the second WebSocket frame to the instrument control terminal;

[0015] The instrument agent is used to decapsulate the first WebSocket frame to obtain the instrument operation control instruction, and send the instrument operation control instruction to the engineering and scientific research instrument corresponding to the instrument number through the local area connection; upon receiving the execution result reported by the engineering and scientific research instrument, encapsulate the generated second message into a second WebSocket frame, the field of the second message at least includes the instrument agent number, the instrument number and the execution result, and send the second WebSocket frame to the central server through the WebSocket connection;

[0016] The engineering and scientific research instrument equipment is used to execute the instrument operation control instructions issued by the instrument agent terminal and report the execution results to the instrument agent terminal.

[0017] The embodiment of the present invention discloses a computer-readable storage medium, which can overcome the defect that engineering and scientific research instruments and equipment are restricted by physical locations and achieve the purpose of remotely controlling the engineering and scientific research instruments and equipment.

[0018] An embodiment of the present invention discloses a computer-readable storage medium, and when the instructions are executed by a processor, the steps of the method for operating the above-mentioned engineering scientific research instrument equipment can be implemented.

[0019] To summarize, in the embodiment scheme of the present application, the engineering and scientific research instruments and equipment are locally connected to the near-field instrument agent terminal, and the instrument agent terminal and the remote instrument control terminal are respectively connected to the central server deployed on the cloud, and a WebSocket full-duplex communication channel is established. The instrument control terminal encapsulates the first message into a first WebSocket frame, sends it to the instrument agent terminal through the WebSocket connection, and the instrument agent terminal sends the instrument operation control instruction to the engineering and scientific research instruments and equipment for execution. When receiving the execution result, the instrument agent terminal encapsulates the generated second message into a second WebSocket frame and returns it to the instrument control terminal. In the scheme of the present application, the operation of the engineering and scientific research instruments and equipment overcomes the defect of being restricted by the physical location, and achieves the purpose of remote control of the engineering and scientific research instruments and equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0021] Figure 1 This is the application scenario for this application to realize the operation of engineering scientific research instruments and equipment.

[0022] Figure 2 It is a flow chart of an implementation method of the present application for operating engineering scientific research instruments and equipment.

[0023] Figure 3 It is a flow chart of the method for engineering and scientific research instruments and equipment to report relevant information in the second embodiment of the method of this application.

[0024] Figure 4 It is another application scenario schematic diagram in the first embodiment of the method of the present application.

[0025] Figure 5 This is a flow chart of the method for the instrument control terminal to query and request occupancy of instrument equipment in the fourth embodiment of the method of the present application.

[0026] Figure 6 This is a schematic diagram of different instrument control terminals occupying each other's resources in Embodiment 5 of the method of the present application.

[0027] Figure 7 Flowchart of the method for the instrument control terminal to request occupation of instrument equipment in Embodiment 5 of the present application.

[0028] Figure 8 It is a schematic diagram of a method for releasing deadlock in the fifth embodiment of the method of the present application.

[0029] Fig. 9This is a flow chart of the method for the instrument control terminal to request occupation of instrument equipment in the sixth embodiment of the present application.

[0030] Fig.10 This is a flow chart of the method for implementing circle testing in Example 7 of the present application. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0032] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0033] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0034] The existing technology directly relies on the independent operation of instruments and equipment or the method of issuing instructions to instruments and equipment through computers in the near field, which greatly limits the operation of instruments and equipment by physical location. In view of the technical defects of the existing technology, the present application proposes a method for remotely operating engineering and scientific research instruments and equipment, that is, the instrument control end sends the operation control instructions remotely, and the engineering and scientific research instruments and equipment on site execute the operation control instructions, so that the operation of engineering and scientific research instruments and equipment overcomes the limitation of physical location, and the staff can easily operate the engineering and scientific research instruments and equipment anywhere.

[0035] Since engineering and scientific research instruments and equipment usually have high requirements for operation, errors, delays or duplications of instructions may cause poor operation of the instruments and equipment (hereinafter referred to as engineering and scientific research instruments and equipment), and improper operation may also damage the instruments and equipment, so remote operation is not easy to achieve. The following is a detailed introduction to the specific plan of this application:

[0036] Figure 1 This is the application scenario of this application to realize the operation of engineering scientific research instruments and equipment. Figure 1 As shown in the figure, in addition to the existing engineering and scientific research instruments and equipment, this scenario is also equipped with: instrument agent, central server and instrument control terminal. Among them, the engineering and scientific research instruments and equipment are locally connected to the near-field instrument agent, and the instrument agent and the remote instrument control terminal are respectively connected to the central server deployed on the cloud, and a WebSocket full-duplex communication channel is established between the instrument agent and the central server, and a WebSocket full-duplex communication channel is established between the instrument control terminal and the central server, and the instrument agent and the instrument control terminal are located in different intranets.

[0037] Engineering and scientific research instruments and equipment are usually deployed on-site in engineering and scientific research laboratories, and instrument agents are deployed near engineering and scientific research instruments and equipment, that is, near-field locations. Local connections are made between instrument agents and engineering and scientific research instruments and equipment, such as wired connections using USB interfaces, GPIB interfaces, PXI interfaces, etc., or wireless connections using Transmission Control Protocol / Internet Protocol (TCP / IP). Since these connection methods require a short distance between engineering and scientific research instruments and equipment and instrument agents, usually within a local area, they are called local connections. The central server is deployed in the cloud (such as Alibaba Cloud, Tencent Cloud, etc.), and the instrument control end is deployed remotely. The instrument agent and instrument control end are usually located in different intranets, and messages are forwarded by the central server. In addition, the instrument control end and instrument agent end usually implement their functions by smart devices such as computers.

[0038] Figure 2 This is a flowchart of the method for implementing the operation of engineering scientific research instruments and equipment in this application. Figure 2 As shown, the method includes:

[0039] Step 201: The instrument control end encapsulates the generated first message into a first WebSocket frame, and sends it to the instrument agent end through the WebSocket connection and via the central server. The fields of the first message include at least the instrument agent end number, the instrument equipment number and the instrument operation control instructions. The instrument operation control instructions are instructions that can be recognized by engineering and scientific research instruments and equipment.

[0040] The instrument control terminal of the present application is located remotely, and the instrument operation control instructions cannot be sent to the engineering and scientific research instruments and equipment through a wired connection or a local area network connection as in the prior art, but the instrument operation control instructions are transmitted to the engineering and scientific research instruments and equipment through a WebSocket full-duplex communication channel. WebSocket is a network communication protocol that allows full-duplex communication between a browser and a server. In other words, data can be transmitted in two directions simultaneously without re-establishing a connection. The WebSocket connection is different from the traditional Hypertext Transfer Protocol (HTTP, Hypertext Transfer Protocol), the latter being one-way, requiring the client to initiate a request before the server can respond, while the former is two-way. WebSocket has the characteristics of real-time, low latency, strong compatibility, less header information, and persistent connection, so the present application embodiment selects the WebSocket full-duplex communication channel as a channel for transmitting instrument operation control instructions and other information thereof to meet the high requirements of engineering and scientific research instruments and equipment for operation.

[0041] The inventors also found that in actual applications, the instrument proxy is usually located in the enterprise-level intranet and does not have a public IP. In addition, when the enterprise-level router is blocked by symmetric NAT, it is difficult for the central server to actively establish a connection to the instrument proxy. Considering that the central server has a public IP address, the embodiment of the present application is that the instrument proxy actively initiates a connection with the central server. Once a WebSocket connection is established, there is a two-way channel between the instrument proxy and the central server, avoiding the situation where the enterprise-level router in the intranet is blocked by symmetric NAT. Similarly, when the instrument control terminal is also located in the intranet, it can also actively initiate a WebSocket connection with the central server to establish a full-duplex communication channel. At this time, the entire channel of the three nodes of the instrument control terminal, the central server and the instrument proxy realizes the establishment of a full-duplex communication channel, opening up a remote connection to the engineering and scientific research instrument equipment site.

[0042] In addition, since the instrument control terminal, the central server and the instrument agent are connected via WebSocket, the message needs to be encapsulated as a WebSocket frame before it can be transmitted in the WebSocket full-duplex communication channel, that is, a WebSocket header is added to the message to be transmitted. In the description of the message sending in the embodiment of the present application, it should be understood that the message needs to be encapsulated with a WebSocket header before it is sent or needs to be decapsulated before obtaining the message. In the embodiment of the present application, the instrument control terminal, the central server and the instrument agent can send messages to each other. In order to distinguish the types of messages, the message sent by the instrument control terminal to the instrument agent for carrying the instrument operation control instruction is called the "first message", and the message loaded with the WebSocket header is correspondingly called the "first WebSocket frame". However, this does not mean that the instrument control terminal sends only one message for carrying the instrument operation control instruction to the instrument agent. Different engineering and scientific research instruments and equipment or the same engineering and scientific research instrument and equipment perform different operations, and may send instrument operation control instructions with different contents or different meanings, but they are collectively referred to as "first messages" in this application.

[0043] In actual applications, the instrument agent can be connected to multiple engineering and scientific research instruments and equipment, the central server can be connected to multiple instrument agents, the central server can be connected to multiple instrument control terminals, and even the central server itself is interconnected by multiple servers. In order to accurately issue the instrument operation control instruction to the correct engineering and scientific research instrument and equipment, in addition to the instrument operation control instruction, the first message can also include fields such as the instrument agent terminal number and the instrument equipment number. The instrument operation control instruction is an instruction that can be recognized by the engineering and scientific research instrument and equipment, such as a virtual software architecture (VISA) instruction or an instruction in the standard command set (SCPI).

[0044] Table 1 is the format of the first WebSocket frame in this step:

[0045]

[0046] Table 1

[0047] Step 202: The instrument agent decapsulates the first WebSocket frame to obtain the instrument operation control instruction, and sends the instrument operation control instruction to the engineering scientific research instrument corresponding to the instrument equipment number through the local area connection, and the engineering scientific research instrument executes the instrument operation control instruction.

[0048] In this step, the instrument agent can obtain the instrument operation control instruction by decapsulating the first WebSocket frame. Since the instrument agent and the engineering and scientific research instruments and equipment are connected by wired connections such as USB interfaces, GPIB interfaces, PXI interfaces, or TCP / IP wireless connections, the instrument operation control instructions can be directly sent to the engineering and scientific research instruments and equipment through these connections. The engineering and scientific research instruments and equipment (such as filter frequency response test instruments, four-probe resistivity test instruments, wafer test instruments, etc.) execute the instrument operation control instructions.

[0049] In actual applications, different engineering and scientific research instruments and equipment execute different instrument operation control instructions. Taking the wafer test instrument as an example, "StepNextDieNum 3 0\r" is an instrument operation control instruction to control the movement of the probe station, and ":SOUR1:CURR 1.5" is an instrument operation control instruction to control the voltage of the 2400 source meter. Regardless of the type of engineering and scientific research instruments and equipment and the specific instruction type, they are all collectively referred to as instrument operation control instructions here, and can be recognized by the instruments and equipment.

[0050] Step 203: When the instrument agent receives the execution result reported by the engineering and scientific research instrument and equipment, it encapsulates the generated second message into a second WebSocket frame, connects through WebSocket and returns it to the instrument control end via the central server. The fields of the second message include at least the instrument agent number, the instrument equipment number and the execution result.

[0051] After executing the instrument operation control instructions, the engineering and scientific research instruments and equipment can report the execution results to the instrument agent. In order to distinguish the types of messages, the message sent by the instrument agent to the instrument control end to carry the execution results is called a "second message", and the message loaded with the WebSocket header is correspondingly called a "second WebSocket frame". However, this does not mean that the instrument agent sends only one message to the instrument control end to carry the execution results. Different engineering and scientific research instruments and equipment or the same engineering and scientific research instrument and equipment may send execution results with different contents or different meanings after performing different operations, which are collectively referred to as "second messages" in this application. In order to accurately inform the instrument control end which engineering and scientific research instrument and equipment the execution result comes from, in addition to the execution result, the second message can also include fields such as the instrument agent number and the instrument equipment number.

[0052] Table 2 is the format of the second WebSocket frame in this step:

[0053]

[0054] Table 2

[0055] So far, in the embodiment of the present application, the remote instrument control end has realized sending instrument operation control instructions to the engineering and scientific research instruments and equipment under the instrument agent end through the central server, and receiving the execution results reported by the engineering and scientific research instruments and equipment through the central server and the instrument agent end. On the basis of not requiring any changes to the engineering and scientific research instruments and equipment, the embodiment of the present application overcomes the defects of being restricted by physical location, and realizes the purpose of remote and precise control of engineering and scientific research instruments and equipment, so that the staff can operate the engineering and scientific research instruments and equipment very conveniently and accurately anywhere.

[0056] As described above, the instrument agent can be connected to multiple engineering and scientific research instruments and equipment. If the number of engineering and scientific research instruments and equipment is large, in order to ensure the reasonable use of these instruments and equipment, the information reported by the engineering and scientific research instruments and equipment can also be saved in the central server in advance, and the central server performs resource management on the engineering and scientific research instruments and equipment to prepare for the instrument control end to query and request occupation of the instruments and equipment. The following is a detailed description using other embodiments.

[0057] Figure 3 This is a flow chart of the method for engineering scientific research equipment to report relevant information in the second embodiment of the present application method. Figure 3 As shown, the method includes:

[0058] Step 301: The instrument agent obtains the instrument information of the engineering and scientific research instruments and equipment connected to itself, and periodically detects the status of the engineering and scientific research instruments and equipment connected to itself to determine the working status information and online information.

[0059] The instrument agent is connected to the engineering and scientific research instruments and equipment through USB interface, GPIB interface, PXI interface and TCP / IP, so as to obtain the instrument information of the engineering and scientific research instruments and equipment through these connections. Instrument information is the inherent information of the engineering and scientific research instruments and equipment, such as: instrument manufacturer, instrument model, instrument serial number and instrument address. The instrument agent can also periodically detect the engineering and scientific research instruments and equipment to confirm the working status information of the engineering and scientific research instruments and equipment. The working status information indicates whether the engineering and scientific research instruments and equipment are currently in working status. If they are in working status, they can be indicated by "busy"; if they are not in working status, they can be indicated by "idle"; if they cannot be detected due to reasons such as disconnection, they can be indicated by "unavailable".

[0060] In order to further clarify the online and offline situations of engineering and scientific research instruments and equipment, it is also possible to detect and determine their online time, which is the time between when the engineering and scientific research instruments and equipment change from an undetectable state to a detectable state. Based on the online time, the staff can infer the time when the engineering and scientific research instruments and equipment are offline and when they are back online, and further determine whether an abnormality has occurred.

[0061] If the instrument agent is connected to multiple engineering and scientific research instruments and equipment at the same time, it is necessary to collect the relevant information reported by these multiple engineering and scientific research instruments and equipment respectively.

[0062] Step 302: The instrument agent encapsulates the generated third message into a third WebSocket frame and reports it to the central server through the WebSocket connection. The fields of the third message include instrument information, working status information, online time, and an instrument agent number representing the instrument agent itself.

[0063] In order to distinguish the types of messages, the message sent by the instrument agent to the central server for carrying relevant information of engineering and scientific research instruments and equipment is called the "third message", and the message loaded with the WebSocket header is called the "third WebSocket frame" accordingly. However, this does not mean that the instrument agent sends only one message to the central server for carrying relevant information of engineering and scientific research instruments and equipment. Different engineering and scientific research instruments and equipment will send relevant information of instruments and equipment with different contents, but they are collectively referred to as "third messages" in this application. At the same time, in order to distinguish which instrument agent reported the third message, the field of instrument agent number can also be added.

[0064] Table 3 is the format of the third WebSocket frame described in this step:

[0065]

[0066] Table 3

[0067] Step 303: The central server decapsulates the third WebSocket frame, obtains and records the instrument information, working status information, online time and instrument agent number from the third message, and performs resource management on the engineering and scientific research instruments and equipment.

[0068] In this step, the central server can obtain relevant information of the engineering and scientific research instruments and equipment by decapsulating the third WebSocket frame, that is, obtaining instrument information (instrument manufacturer, instrument model, instrument serial number and instrument address, etc.), working status information, online time and instrument agent terminal number, etc. In the embodiment of the present application, the central server can obtain the relevant information reported by the engineering and scientific research instruments and equipment in advance, and even if the staff is located remotely, they can access the central server to accurately obtain the relevant information and status of the engineering and scientific research instruments and equipment, which is conducive to the instrument control terminal sending effective instrument operation control instructions.

[0069] If the central server is connected to multiple instrument agents, and each instrument agent is connected to multiple engineering and scientific research instruments, then more relevant information will be reported to the central server. In order to reasonably use and access these resources, the central server can also manage the resources of engineering and scientific research instruments.

[0070] In the third embodiment of the present application method, the specific method in which the central server manages the resources of the engineering research instruments and equipment is as follows:

[0071] 1) Set up a three-layer tree structure of organization number, instrument agent number and instrument equipment number. Each organization number, instrument agent number and instrument equipment number is a unique number. Among them, the organization number corresponds to the organization using engineering and scientific research instruments and equipment, the instrument agent number corresponds to the instrument agent, and the instrument equipment number corresponds to the engineering and scientific research instruments and equipment; the organization corresponds to multiple instrument agents, and the instrument agent corresponds to multiple instruments and equipment.

[0072] This embodiment sets up a three-layer tree structure of organization number, instrument agent number and instrument equipment number, which can strictly distinguish different organizations, as well as instrument agents and engineering scientific research instruments and equipment belonging to different organizations. According to this embodiment of the present application, firstly, it can be ensured that only the instrument control terminal of this organization can legally access the engineering scientific research instruments and equipment of this organization, and prevent illegal access by instrument control terminals that do not belong to this organization; secondly, each engineering scientific research instrument and equipment only has an instrument equipment number after being reported for legal certification, and other engineering scientific research instruments and equipment that do not have an instrument equipment number cannot participate in engineering scientific research operations, ensuring the legality and validity of each engineering scientific research instrument and equipment; thirdly, as organizations, instrument agents and engineering scientific research instruments and equipment increase, decrease or replace, they can be easily managed by adjusting the three-layer tree structure. Organizations can also establish affiliations to form a more complex tree structure to achieve the effect of refined authority management of engineering scientific research instruments and equipment.

[0073] In addition, when setting the organization number, instrument agent number and instrument equipment number, the setting method is not limited as long as it meets the uniqueness. For example, the instrument equipment number can be set in the form of instrument manufacturer + instrument model + instrument serial number + instrument address. Of course, other methods can also be used, and there is no restriction here.

[0074] 2) When the status of engineering and scientific research instruments and equipment is detected to have changed, its working status information is updated.

[0075] After the method for reporting relevant information by the engineering and scientific research instruments and equipment in the second embodiment of the method, a three-layer tree structure of organization number, instrument agent number and instrument equipment number can be established in the central server, and the corresponding relevant information can be recorded. Since the instrument agent periodically detects the engineering and scientific research instruments and equipment, when it is found that the working status information of the engineering and scientific research instruments and equipment has changed, such as from busy to idle, its working status information can be changed accordingly in the central server.

[0076] 3) When changes are detected in the online operation of engineering and scientific research instruments and equipment, update their online time.

[0077] Similarly, since the instrument agent periodically detects engineering and scientific research instruments and equipment, when it is found that the engineering and scientific research instruments and equipment change from an undetectable state to a detectable state, its specific online time can be determined in the central server. Alternatively, when it is found that the engineering and scientific research instruments and equipment change from a detectable state to an undetectable state, it can be determined that it is offline, and the online time can be set to an invalid time.

[0078] 4) Determine whether the engineering scientific research instruments and equipment are locked. If locked, set the corresponding engineering scientific research instruments and equipment to a locked state; otherwise, set them to an unlocked state.

[0079] In actual applications, in order for the engineering and scientific research instruments and equipment to provide complete services to the instrument control end and not be disturbed during operation, the instrument control end can lock the engineering and scientific research instruments and equipment, and other instrument control ends can no longer operate them. To this end, the central server records whether each engineering and scientific research instrument and equipment is in a locked state.

[0080] 5) Determine the types of instructions that can be recognized by engineering and scientific research instruments and equipment, and record the corresponding instruction types, which are Virtual Software Architecture (VISA) or Standard Command Set Identifier (SCPI).

[0081] Different engineering and scientific research instruments and equipment may use different instruction types. In order to ensure that the instrument control end uses the correct instructions and that the engineering and scientific research instruments and equipment accurately identify the instrument operation control instructions, the central server also records the instruction types used by the engineering and scientific research instruments and equipment. Among them, the instruction types that can be recognized by the instruments and equipment are divided into two categories: virtual software architecture (VISA) or standard command set (SCPI). Among them, virtual software architecture (VISA) is the general term for I / O interface software and its specifications developed by the VXI plug&play alliance. VISA provides a standard I / O function library for instrument programming, the VISA library. The VISA function library resides in the computer system, and the computer controls the engineering and scientific research instruments and equipment through it. The standard command set (SCPI) is a standardized instrument programming language based on IEEE488.1 and IEEE488.2, and follows multiple standards such as floating-point operation rules in the IEEE754 standard and 7-bit coding symbols for information exchange in ISO646. Based on these instruction types, the instructions provided by the manufacturer are used to control the engineering and scientific research instruments and equipment.

[0082] The above describes a method for the central server to manage resources for engineering and scientific research instruments and equipment. In practical applications, it can be understood that the central server can also perform other aspects of resource management. For example, the central server also manages the duration of resource occupation. The above method embodiment 1 involves: the instrument control end sends a first message to the instrument agent end, and the instrument agent end sends the instrument operation control instruction in the first message to the engineering and scientific research instrument equipment for execution. In other embodiments, the first message may further include a timeout field, and the timeout time indicates the maximum time for the instrument control end to lock the engineering and scientific research instrument equipment. The engineering and scientific research instruments and equipment occupy the engineering and scientific research instruments and equipment for a long time, which may be due to the instrument control end being offline or the network being abnormal. In order to avoid occupying resources for a long time due to abnormalities, the central server starts timing after sending the first message to the instrument agent end, and when the timing exceeds the set timeout time and the locking instrument renewal request instruction of the instrument control end is not received, the engineering and scientific research instruments and equipment that have been locked by the instrument control end are released, and whether it is locked is changed to an unlocked state. The locking instrument renewal request is a request instruction initiated by the instrument control end to continue locking the instrument without completing the operation of the engineering and scientific research instruments and equipment. That is to say, under normal circumstances, if the instrument control end continues to occupy the instrument equipment because the operation has not been completed, it is necessary to send a lock instrument renewal request instruction to the central server. Otherwise, the central server may believe that the instrument control end is offline or the network is abnormal, and will forcibly release the locked instrument equipment to ensure the rational use of resources.

[0083] Since the embodiment of the present application sends instrument operation control instructions remotely through the network, packet loss or retransmission may occur. If repeated instrument operation control instructions are sent to engineering and scientific research instruments and equipment multiple times, it will cause operational confusion. In order to avoid similar situations, in other embodiments of the present application, a field for a unique number for identifying the current request of the message can also be added to all messages. Correspondingly:

[0084] When the instrument agent obtains the unique number of this request from the received message, the instrument agent determines whether it is a duplicate message based on the unique number of this request. If it is a duplicate message and has been processed, the duplicate message is filtered out and no longer processed.

[0085] When the central server obtains the unique number of this request from the received message, the central server determines whether it is a duplicate message based on the unique number of this request. If it is a duplicate message and has been processed, the duplicate message is filtered out and no longer processed.

[0086] When the instrument control end obtains the unique number of this request from the received message, it determines whether it matches its own request message or is a duplicate message based on the unique number of this request. If it does not match or is a duplicate message that has been processed, the unmatched or duplicate message is filtered out and no longer processed.

[0087] The instrument agent, central server and instrument control end can effectively filter duplicate messages according to the unique number of the current request in the message, making the entire system more robust. Even in the case of the instrument agent disconnecting and reconnecting or / and the instrument control end disconnecting and reconnecting, it can provide better system stability. In addition, the instrument control end can also determine whether the received message matches its own request message according to the unique number of the current request. Only matching messages need to be received, and unmatched messages can be filtered and no longer processed.

[0088] The application scenario in the first embodiment of the method of the present application only exemplifies an engineering scientific research instrument, an instrument agent, a central server and an instrument control terminal. Figure 4 This is another application scenario diagram in the first embodiment of the method. Figure 4The instrument agent terminal can be connected to multiple engineering and scientific research instruments and equipment, the central server can be connected to multiple instrument agent terminals, the central server can be connected to multiple instrument control terminals, and even the central server itself is interconnected by multiple servers. In other embodiments, when multiple servers are interconnected, Redis's publish-subscribe mechanism can be used to transmit messages. For example, when the instrument control terminal is connected to the first server, the instrument agent terminal is connected to the second server, and the first server and the second server are not the same server, the method further includes: the first server and the second server use Redis's publish-subscribe mechanism to transmit messages between the instrument control terminal and the instrument agent terminal. Redis is a high-performance in-memory database whose publish / subscribe function is similar to a high-performance message queue, which can easily transmit messages between multiple central servers.

[0089] In actual applications, before sending an instrument operation control instruction to an engineering and scientific research instrument, an instrument control terminal can first query the status of the engineering and scientific research instrument. If the engineering and scientific research instrument itself is occupied by other instrument control terminals or is offline and unavailable, the instrument control terminal cannot operate the engineering and scientific research instrument normally, and even if the instrument operation control instruction is issued, it cannot be executed normally. Therefore, before sending the instrument operation control instruction, the instrument control terminal is better to query the status of the engineering and scientific research instrument first, and then send the instrument operation control instruction after requesting to occupy the engineering and scientific research instrument.

[0090] Figure 5 This is a flow chart of the method for the instrument control terminal to query and request occupancy of the instrument equipment in the fourth embodiment of the method of the present application. Figure 5 As shown, the method includes:

[0091] Step 501: the instrument control terminal encapsulates the generated fourth message into a fourth WebSocket frame, and sends it to the central server through the WebSocket connection. The fields of the fourth message include the organization number to which the instrument control terminal belongs and the instrument query instruction.

[0092] The instrument agent reports the relevant information of the engineering and scientific research instruments and equipment to the central server, so the instrument control end can query the relevant information of the engineering and scientific research instruments and equipment by accessing the central server. In order to distinguish the types of messages, the message sent by the instrument control end to the central server for carrying the query instrument instruction is called the "fourth message", and the message loaded with the WebSocket header is correspondingly called the "fourth WebSocket frame". However, this does not mean that the instrument control end sends only one message to the central server for carrying the query instrument instruction. Different instrument control ends will send query instrument instructions with different contents, but they are collectively referred to as the "fourth message" in this application. In order to distinguish whether the instrument control end is a member of this organization and whether it has the right to use the engineering and scientific research instruments and equipment of this organization, the organization number field can also be added to the fourth message. In addition, in order to distinguish which instrument control end sends the instrument query instruction, the control end number field can also be added in actual applications. No specific examples are given here and will not be repeated.

[0093] Table 4 is the format of the fourth WebSocket frame described in this step:

[0094]

[0095] Table 4

[0096] Step 502: The central server decapsulates the fourth WebSocket frame to obtain the organization number and the instrument query instruction in the fourth message.

[0097] Step 503: The central server determines the instrument and equipment number under the organization number in the fourth message as the target instrument and equipment number, and takes the engineering and scientific research instrument and equipment corresponding to the target instrument and equipment number as the target engineering and scientific research instrument and equipment, and obtains the instrument information, working status information, online time, whether it is locked, and instruction type of the target engineering and scientific research instrument and equipment according to the query instrument instruction.

[0098] Referring to the above-mentioned central server's resource management of engineering and scientific research instruments and equipment, this step can obtain the engineering and scientific research instruments and equipment belonging to a certain organization through a three-layer tree structure, and obtain its instrument information, working status information, online time, whether it is locked, and instruction type from the records.

[0099] Step 504: The central server encapsulates the generated fifth message into a fifth WebSocket frame, and returns it to the instrument control terminal through the WebSocket connection. The fields of the fifth message include the instrument information, working status information, online time, whether it is locked, and instruction type of the target engineering and scientific research instrument equipment obtained after the query.

[0100] Table 5 is the format of the fifth WebSocket frame described in this step:

[0101]

[0102]

[0103] Table 5

[0104] At this point, the instrument control end can obtain the instrument information, working status information, online time, whether it is locked, and instruction type of the target engineering scientific research instrument equipment according to the fifth message, so as to determine whether to request occupation of the target engineering scientific research instrument equipment. If the instrument control end wants to request occupation, continue to execute the following steps 505 to 507.

[0105] Step 505: The instrument control terminal encapsulates the generated sixth message into a sixth WebSocket frame and sends it to the central server via the WebSocket connection. The fields of the sixth message include the organization number to which the instrument control terminal belongs, the instrument agent number, the instrument device number and the instrument lock request instruction.

[0106] After determining which engineering and scientific research instrument equipment needs to be occupied, the instrument control end will send a lock instrument request instruction to the central server. In order to distinguish the types of messages, the message sent by the instrument control end to the instrument agent end to carry the lock instrument request instruction is called the "sixth message", and the one loaded with the WebSocket header is called the "sixth WebSocket frame" accordingly.

[0107] Step 506: The central server decapsulates the sixth WebSocket frame to obtain the organization number, instrument agent number, instrument device number and instrument lock request instruction of the sixth message.

[0108] Step 507: After the central server determines the authority of the instrument control terminal according to the organization number, instrument agent number and instrument equipment number of the sixth message, the central server completes the locking instrument request instruction through an indivisible atomic operation.

[0109] The central server can determine whether the instrument control terminal has the authority to occupy the instrument control terminal according to the organization number, instrument agent terminal number and instrument equipment number of the sixth message. In actual application, the sixth message can also add the instrument control terminal number, and the central server can further clarify which instrument control terminal requests to occupy it, which will not be repeated here.

[0110] The indivisible atomic operation described in this step refers to being exclusive and exclusive during the execution process to ensure that when multiple instrument control terminals initiate requests for occupation, only one instrument control terminal is finally successfully occupied. Specifically, the indivisible atomic operation to complete the locking instrument request instruction includes: when it is determined that the working state of the engineering and scientific research instrument equipment corresponding to the instrument equipment number is idle and its whether it is locked is unlocked, the engineering and scientific research instrument equipment is assigned to the instrument control terminal, and its whether it is locked is changed to a locked state. In other words, if a certain engineering and scientific research instrument equipment 1 requested to be occupied by a certain instrument control terminal A is currently in an idle state and is not occupied by other instrument control terminals, then the engineering and scientific research instrument equipment 1 can be assigned to the instrument control terminal A. At the same time, the whether it is locked state of the engineering and scientific research instrument equipment 1 is changed to a locked state to ensure that during the operation of the instrument control terminal A, the engineering and scientific research instrument equipment 1 is no longer operated by other instrument control terminals.

[0111] The fourth embodiment of the method of the present application described above describes the method of querying and requesting occupation of instruments and equipment by the instrument control end under normal circumstances. In actual applications, when the instrument control end needs to operate on the simultaneous occupation of multiple instruments and equipment, it is necessary to initiate requests for occupation of these multiple instruments and equipment one by one, that is, to perform the above steps 505 to 507 for each instrument and equipment respectively. Assuming that other instrument control ends also need to operate on the simultaneous occupation of these multiple instruments and equipment, there may be a situation where each other occupies each other's resources. For example, in the process of wafer testing, it is necessary to use a probe station and two source meters, a total of three instruments and equipment. This situation belongs to the situation where the instrument control end occupies and operates multiple instruments and equipment at the same time.

[0112] Figure 6 Schematic diagram of different instrument control terminals occupying each other's resources in Embodiment 5 of the present application method. Figure 6 As shown, instrument control terminal A needs to occupy instrument equipment 1 and instrument equipment 2, and instrument control terminal B also needs to occupy instrument equipment 1 and instrument equipment 2. If in the process of requesting occupation, instrument control terminal A first requests to occupy instrument equipment 1, that is, instrument control terminal A has locked instrument equipment 1, and it needs to continue to request occupation of instrument equipment 2. At the same time, instrument control terminal B first requests to occupy instrument equipment 2, that is, instrument control terminal B has locked instrument equipment 2, and it needs to continue to request occupation of instrument equipment 1. In this case, instrument control terminal A and instrument control terminal B both lock the objects that the other party needs to lock. Since both parties need to lock two instruments before they can operate, instrument control terminal A and instrument control terminal B cannot operate on their own, forming a resource deadlock.

[0113] Figure 7 Flowchart of the method for the instrument control terminal to request occupation of the instrument equipment in the fifth embodiment of the present application. Figure 7As shown, the method includes:

[0114] Step 701: The central server receives the instrument lock request instructions sent by the two instrument control terminals. Each instrument control terminal needs to operate multiple engineering and scientific research instruments and equipment at the same time, and the engineering and scientific research instruments and equipment that have been locked by each instrument control terminal are the objects that need to be locked by the other instrument control terminal.

[0115] In actual applications, the central server may receive the locking instrument request instructions sent by the two instrument control terminals at the same time or successively. As long as one party has not locked all the required engineering and scientific research instruments and equipment, the situation described in this step may occur. In addition, this embodiment is based on two parties as an example, and is not limited to the situation where other instrument control terminals of more than two parties also request to occupy the same instrument and equipment. The method is the same as the method of the embodiment of the present application.

[0116] Step 702: The first party in the instrument control terminal actively releases the locked engineering and scientific research instrument equipment.

[0117] In actual applications, a priority can be set for the instrument control end, and the party with a lower priority will be the party that actively releases. A time threshold can also be set, and the party whose waiting time exceeds the time threshold will be the party that actively releases. The specific implementation method is not limited, as long as it is ensured that in the event of deadlock, one party actively releases.

[0118] Step 703: The central server changes the locked state of the released engineering and scientific research instrument and equipment to an unlocked state, assigns it to the second party in the instrument control terminal, and changes the locked state of the engineering and scientific research instrument and equipment to a locked state again; the first party represents the party that actively releases the resources, and the second party represents the party that accepts the resources.

[0119] Step 704: After the second party completes the operation on the multiple engineering and scientific research instruments and equipment, the multiple engineering and scientific research instruments and equipment are released, and the central server changes the locked status of the released multiple engineering and scientific research instruments and equipment to an unlocked status.

[0120] Step 705: The first party re-locks the plurality of engineering and scientific research instruments and equipment until the first party completes the operations on the plurality of engineering and scientific research instruments and equipment simultaneously.

[0121] Figure 8 Schematic diagram of the method for releasing deadlock in the fifth embodiment of the present invention. Figure 8As shown, instrument control terminal A actively releases instrument equipment 1, and the central server reallocates instrument equipment 1 to instrument control terminal B; instrument control terminal B occupies instrument equipment 1 and instrument equipment 2 at the same time, and issues instrument operation control instructions to instrument equipment 1 and instrument equipment 2; instrument equipment 1 and instrument equipment 2 are released after executing the instrument operation control instructions; the central server then allocates instrument equipment 1 and instrument equipment 2 to instrument control terminal A, and instrument control terminal A occupies instrument equipment 1 and instrument equipment 2 at the same time, and issues instrument operation control instructions to instrument equipment 1 and instrument equipment 2; instrument equipment 1 and instrument equipment 2 are released after executing the instrument operation control instructions. Therefore, the resource deadlock situation can be successfully resolved according to the method of embodiment 5 of the present application.

[0122] In response to the resource deadlock situation, the sixth embodiment of the present application also provides another method for the instrument control end to request occupation of the instrument equipment. Fig. 9 As shown, the method includes:

[0123] Step 901: The central server sorts the resources of all engineering and scientific research instruments and equipment.

[0124] Step 902: When the instrument control end needs to operate multiple engineering and scientific research instruments and equipment at the same time, the instrument control end locks the multiple engineering and scientific research instruments and equipment one by one according to the resource sorting. Each time an engineering and scientific research instrument and equipment is locked, the central server changes the locked state of the locked engineering and scientific research instrument and equipment to a locked state, and after locking the required multiple engineering and scientific research instruments and equipment, operates the multiple engineering and scientific research instruments and equipment at the same time.

[0125] The embodiment of the present application first sorts the resources of the instruments and equipment, and stipulates that they are locked one by one according to the resource sorting. That is to say, even if multiple instrument control terminals simultaneously request to occupy multiple instruments and equipment, each instrument control terminal needs to request to occupy the first instrument and equipment in the order according to the resource sorting, that is, first send a lock instrument request instruction to the central server for the first instrument and equipment, wait for the first instrument and equipment to be successfully locked, and then send a lock instrument request instruction to the central server for the second instrument and equipment, and so on. Then, if the first instrument and equipment has been requested to be occupied by a certain instrument control terminal, other instrument control terminals will not be able to occupy the first instrument and equipment, and will not be able to continue to request to occupy other instruments and equipment, thereby avoiding resource deadlock.

[0126] Step 903: After the instrument control terminal completes the operation on the multiple engineering and scientific research instruments and equipment, the multiple engineering and scientific research instruments and equipment are released, and the central server changes the locked state of the locked engineering and scientific research instruments and equipment to an unlocked state.

[0127] When a certain instrument control terminal releases the occupied multiple instruments and equipment, since these multiple instruments and equipment are not locked, other instruments and equipment can lock these multiple scientific research instruments and equipment one by one according to the resource sorting and start operation.

[0128] Assume that instrument control terminal A needs to occupy instrument equipment 1 and instrument equipment 2, and instrument control terminal B also needs to occupy instrument equipment 1 and instrument equipment 2. The resource order of instrument equipment 1 and instrument equipment 2 is: instrument equipment 1, instrument equipment 2... This order. Instrument control terminal A first locks instrument equipment 1; because instrument control terminal A first locks instrument equipment 1, instrument control terminal B cannot successfully lock instrument equipment 1, but according to the resource order, instrument control terminal B cannot jump out of the order to request to occupy other instruments and equipment, and can only be in a waiting state; instrument control terminal A continues to lock instrument equipment 2; instrument control terminal A issues instrument operation control instructions to instrument equipment 1 and instrument equipment 2; instrument equipment 1 and instrument equipment 2 are released after executing the instrument operation control instructions; the central server finds that instrument equipment 1 is released and assigns it to instrument control terminal B; instrument control terminal B continues to lock instrument equipment 2; instrument control terminal B issues instrument operation control instructions to instrument equipment 1 and instrument equipment 2; instrument equipment 1 and instrument equipment 2 are released after executing the instrument operation control instructions.

[0129] Based on the above-mentioned method embodiments 1 to 6 and resource management methods, this application lists an embodiment related to actual engineering and scientific research instruments and equipment to better understand the present application scheme.

[0130] Embodiment 7 of the present application is aimed at the operation of wafer testing on 12-inch wafers, and the required engineering and scientific research instruments and equipment include three: probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B. The four probes of the probe station are respectively connected to the four ports B, G, S and D of the MOS tube in the wafer, and the probe station backplane has four interfaces, and the two source meters will be connected to the corresponding interfaces. Among them, the positive pole of Keithley2400 is connected to the B pole of the MOS tube, and the negative pole of Keithley2400 is connected to the S pole; the positive pole of channel one of Keithley2636B is connected to the G of the MOS tube, and the negative pole of channel one of Keithley2636B is connected to the S pole; the positive pole of channel two of Keithley2636B is connected to the D pole of the MOS tube Id, and the negative pole of channel two of Keithley2636B is connected to the S pole; the S pole is the voltage zero point of the system. The probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B are respectively connected to the near-field instrument agent locally, and the instrument agent and the remote instrument control are respectively connected to the central server deployed on the cloud, and a WebSocket full-duplex communication channel is established between the instrument agent and the central server, and a WebSocket full-duplex communication channel is established between the central server and the instrument control. The instrument agent and the instrument control are located in different intranets. Among them, the source meter Keithley2400 uses the GPIB interface to connect to the instrument agent, Keithley2636B uses the USB interface to connect to the instrument agent, and the probe station system Eoulu F1 uses the LAN interface to connect to the instrument agent. The instrument agent periodically detects the source meter Keithley2400, Keithley2636B, and the probe station system EouluF1 to obtain their instrument information (instrument manufacturer, instrument model, instrument serial number, instrument address, etc.) and working status information.

[0131] Fig.10 This is a flow chart of the method for implementing the circle test in the seventh embodiment of the present application. It should be noted that the messages in the embodiment of the present application are transmitted through the WebSocket full-duplex communication channel, and need to be encapsulated as WebSocket frames before sending, and need to be decapsulated when receiving. For the sake of simplicity, the encapsulation and decapsulation of WebSocket frames are not described below. Fig.10 Said method comprises:

[0132] Step 1001: The instrument agent obtains the instrument information of the probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B, and periodically detects their status to determine the working status information and online information.

[0133] In this step, the instrument agent obtains the instrument information (instrument manufacturer, instrument model, instrument serial number and instrument address) of the probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B respectively, and confirms the working status information (such as busy, idle or unavailable) of the probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B.

[0134] Step 1002: the instrument agent reports the generated third message to the central server via the WebSocket connection. The fields of the third message include instrument information, working status information, online time, and an instrument agent number representing the instrument agent itself.

[0135] Here, the relevant information of each instrument needs to be reported to the central server separately, so the instrument agent in this step will report the relevant information of the probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B to the central server, and the central server performs resource management on engineering and scientific research instruments and equipment. The way in which the central server manages resources on engineering and scientific research instruments and equipment can be found in the above method embodiment 3, which will not be repeated here.

[0136] At this point, the instrument agent and remote instrument control end have WebSocket connections with the central server deployed on the cloud, and can continue to access and interact through the following steps.

[0137] Step 1003: the instrument control terminal sends the generated fourth message to the central server, and the fields of the fourth message include the organization number to which the instrument control terminal belongs and the instrument query instruction.

[0138] The message of the embodiment of the present application adopts JSON format. The format of the fourth message in this step is as follows: {“type”:“get-instrs”, “org_id”:“4e59f184-aae2-11ee-bd84-2675fb12cdae”,

[0139] "request_id":"be1235ac-aebd-11ee-9aee-2675fb12cdac"}

[0140] Among them, "type" indicates the instruction type, "get-instrs" indicates the instrument query instruction, "org_id" indicates the organization number, "4e59f184-aae2-11ee-bd84-2675fb12cdae" indicates the content of the organization number, "request_id" indicates the unique number of this request, and "be1235ac-aebd-11ee-9aee-2675fb12cdac" indicates the content of the unique number of this request.

[0141] Step 1004: The central server obtains the instrument information, working status information, online time, whether it is locked, and instruction type of the probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B according to the organization number and the instrument query instruction.

[0142] Step 1005: The central server returns the generated fifth message to the instrument control end. The fields of the fifth message include the instrument information, working status information, online time, whether it is locked, and instruction type of the probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B obtained after the query.

[0143] Assuming that the instrument control end and the above-mentioned instrument agent end and the probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B belong to the same organization, then through the above-mentioned steps 903 to 905, the instrument control end will obtain relevant information of the probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B.

[0144] The format of the fifth message in this step is as follows:

[0145] {“status”:0,

[0146] "msg": "ok",

[0147] "devices":

[0148] [{"device_key":"KEITHLEY INSTRUMENTS INC.,MODEL

[0149] 2400,1144834,GPIB0::13::INSTR","device_status":"0","is_locked":false,"last_access_time":1712130667,"address":"GPIB0::13::INSTR","instr_type":

[0150] "visa"},

[0151] {"device_key":"KEITHLEY INSTRUMENTS INC.,MODEL

[0152] 2636B,4597764,USB0::0x05E6::0x2636::4597764::INSTR","device_status":"0","is_locked":false,"last_access_time":1712130667,"address":

[0153] "USB0::0x05E6::0x2636::4597764::INSTR","instr_type":"visa"},

[0154] {"device_key":"eoulu,F1,,192.168.4.142:5030","device_status":"0","is_locked":false,"last_access_time":1712130633,"address":"192.168.4.142:5030",

[0155] "instr_type":"probe_station"}]

[0156] }

[0157] Among them, "device_key" indicates instrument information, "device_status" indicates working status information, "is_locked" indicates whether it is locked, "last_access_time" indicates online time, and "instr_type" indicates instruction type. Based on the above message content, the instrument control end can clearly know that the three instruments and equipment, namely, the probe station system Eoulu F1, the source meter Keithley2400, and the source meter Keithley2636B, are all in an idle and unlocked state and can participate in wafer testing. In addition, in actual applications, the message execution status field "status" and the specific information "msg" when the execution error occurs can be added to the message so that the instrument control end can confirm the message execution status.

[0158] Step 1006: the instrument control terminal sends the generated sixth message to the central server, the fields of the sixth message include the organization number to which the instrument control terminal belongs, the instrument agent number, the instrument equipment number and the instrument lock request instruction.

[0159] Step 1007: After the central server determines the authority of the instrument control terminal according to the organization number, instrument agent number and instrument equipment number of the sixth message, the central server completes the locking instrument request instruction through an indivisible atomic operation.

[0160] Through the above steps 1006-1007, the instrument control end will successfully lock the probe station system Eoulu F1, the source meter Keithley2400, and the source meter Keithley2636B. Since they are three different instruments and equipment, the instrument control end needs to execute steps 1006-1007 for each instrument and equipment respectively. Among them, the implementation of indivisible atomic operations can refer to the above method embodiment 4. If there is a resource deadlock in the request occupation process, refer to the contents of the above method embodiments 5 and 6. In short, after locking these three instruments and equipment, the instrument control end can perform wafer testing operations.

[0161] Step 1008: the instrument control end sends the generated first message to the instrument agent end via the central server, and the fields of the first message at least include the instrument agent end number, the instrument equipment number and the instrument operation control instruction.

[0162] Step 1009: the instrument agent sends the instrument operation control instruction to the engineering scientific research instrument corresponding to the instrument equipment number, and the engineering scientific research instrument executes the instrument operation control instruction.

[0163] Step 1010: the instrument agent receives the reported execution result and returns the generated second message to the instrument control end via the central server. The fields of the second message include at least the instrument agent number, the instrument equipment number and the execution result.

[0164] The above steps 1008 to 1010 are the process in which the instrument control end sends instrument operation control instructions to the instrument equipment probe station system Eoulu F1, source meter Keithley2400, and source meter Keithley2636B for execution. In actual applications, multiple different instrument operation control instructions may be executed, and the above steps 1008 to 1010 will be repeated for each instrument operation control instruction. In an embodiment of the present application, the instrument control end needs to send a probe movement instruction to the probe station system Eoulu F1, an instruction to set the voltage to the source meter Keithley2400, an instruction to set the voltage to the source meter Keithley2636B, and read the current from the source meter Keithley2636B.

[0165] for example:

[0166] The message format for sending probe movement instructions to the probe station system Eoulu F1 can be:

[0167] {"type":"raw","instruction":"StepNextDieNum 3 0\r","device_key":"eoulu,F1,,192.168.4.142:5030", "timeout": 30, "agent_id":"4e59f184-aae2-11ee-bd84-2675fb12cdae", "request_id":"be1235ac-aebd-11ee-9aee-2675fb12cdae"}

[0168] Among them, "type" indicates the instruction type, "instruction": "StepNextDieNum 3 0\r" indicates that the instruction is a probe movement instruction, "device_key" indicates the instrument information of the probe station system Eoulu F1, "timeout": 30 indicates that the timeout is 30 seconds, "agent_id" indicates the instrument agent number, and "request_id" indicates the unique number of this request. After the probe station system Eoulu F1 executes this instruction, the probe will be moved to the target wafer. After executing the probe movement instruction, the instrument agent can also return the execution result to the instrument control end.

[0169] The message format of the instruction to set the voltage to the source meter Keithley2400 is:

[0170] {"type":"raw","instruction":":SOUR1:CURR 1.5","device_key":"KEITHLEYINSTRUMENTS INC.,MODEL 2400,1144834,GPIB0::13::INSTR","timeout":30,"agent_id":"4e59f184-aae2-11ee-bd84-2675fb12cdae","request_id":"be1235ac-aebd-11ee-9aee-2675fb12cdae"}

[0171] Among them, "type" indicates the instruction type, "instruction": ":SOUR1:CURR 1.5" indicates that the instruction is to set the voltage of the B pole port to -1.5V, "device_key" indicates the instrument information of the source meter Keithley2400, "timeout": 30 indicates that the timeout is 30 seconds, "agent_id" indicates the instrument agent number, and "request_id" indicates the unique number of this request. After the source meter Keithley2400 executes this instruction, the voltage of the V pole port will be set to -1.5V. After executing this instruction, the instrument agent can also return the execution result to the instrument control end.

[0172] The message format of the instruction to set the voltage to the source meter Keithley2636B is:

[0173] {"type":"raw","instruction":":SOUR2:CURR 0.1","device_key":"KEITHLEYINSTRUMENTS INC.,MODEL 2636B,1155678,GPIB0::13::INSTR", "timeout": 30, "agent_id": "4e59f184-aae2-11ee-bd84-2675fb12cdae", "request_id": "be1235ac-aebd-11ee-9aee-2675fb12cdae"}

[0174] "type" indicates the instruction type, "instruction": ":SOUR2:CURR 0.1" indicates that the instruction is to set the G-pole voltage of the source meter Keithley2636B to -0.1V, "device_key" indicates the instrument information of the source meter Keithley2636B, "timeout": 30 indicates that the timeout is 30 seconds, "agent_id" indicates the instrument agent number, and "request_id" indicates the unique number of this request. After the source meter Keithley2636B executes this instruction, the G-pole voltage will be set to -0.1V. After executing this instruction, the instrument agent can also return the execution result to the instrument control end.

[0175] Similarly, another message of a voltage setting instruction is sent to the source meter Keithley 2636B to set the voltage for the D-pole port of the source meter Keithley 2636B, and the execution result is returned to the instrument control end.

[0176] After that, the instrument agent reads the current from the source meter Keithley2636B, and the message format is: {"status":0,"data":"1.37231e-6","msg":"ok","agent_id":

[0177] "4e59f184-aae2-11ee-bd84-2675fb12cdae", "request_id":

[0178] "be1235ac-aebd-11ee-9aee-2675fb12cdaa"}

[0179] Among them, "data": "1.37231e-6" is the read current data, "agent_id" indicates the instrument agent number, and "request_id" indicates the unique number of this request. In addition, similar to the above description, the message can also include the message execution status field "status" and the specific information "msg" when the execution error occurs, so that the instrument control end can confirm the message execution status.

[0180] In practical applications, in order to achieve the purpose of scanning, the voltage can be set to the source meter Keithley2636B one by one according to the step size of 0.1V, that is, the message of the instruction to set the voltage to the source meter Keithley2636B and the message of reading the current from the source meter Keithley2636B are repeatedly executed, and the set voltage value is gradually reduced from -0.1V to -0.9V in sequence.

[0181] During the period of locking the probe station system Eoulu F1, source meter Keithley 2400, source meter Keithley 2636B, the embodiment of the present application completes the operation of wafer testing. After the execution is completed, the probe station system Eoulu F1, source meter Keithley 2400, source meter Keithley 2636B needs to be further released for use by other instrument control terminals.

[0182] In other embodiments, the instrument control end is configured with an automated test program to complete the above functions. The automated test program includes some common basic dependencies, such as instrument drivers, test processes, real-time data storage and display, etc. These basic functions can be encapsulated into a measurement framework, in which the automated test program is run on the instrument control end, so that the instrument control end can realize the above functions. The measurement framework has instrument test measurement and data processing functions, which can be implemented in Python, greatly simplifying the instrument setting process and making the operation of the measurement experiment more convenient. The measurement framework can also include a commonly used instrument driver package equipped with a system specifically for executing the experimental process. The measurement framework can also provide a graphical interface for real-time drawing and management of the returned results. For example, after the operation of the above embodiment seven is completed to obtain the returned results, the instrument control end can also provide a visual graph based on the acquired data to draw the transfer characteristic curve (Id-Vgs) and output characteristic curve (Id-Vds) of the wafer. The transfer characteristic curve shows the relationship between the gate-source voltage (VGS) and the drain current (ID) under a specific drain-source voltage (VDS). The output characteristic curve shows the relationship between the drain current (ID) and the drain-source voltage (VDS) at different gate-source voltages (VGS). Therefore, the method of this embodiment can be used to operate the instrument very conveniently and display visual data based on the returned results, which is more conducive to the work of engineering research staff.

[0183] In addition, the data stored in the measurement framework can adopt the common scientific research data format HDF5, which supports large-scale data sets and can efficiently store and manage complex data organizations. It supports multi-level multidimensional data storage, specific compression and blocking functions, and has good writing and reading performance when processing extremely large data, providing users with efficient data storage and extraction experience.

[0184] The present application also provides a system for operating engineering scientific research instruments and equipment. The various parts of the system are structured as follows Figure 1As shown, it includes engineering scientific research instruments and equipment 11, instrument agent 12, central server 13, and instrument control terminal 14. Among them, the engineering scientific research instruments and equipment 11 are locally connected with the near-field instrument agent 12, and the instrument agent 12 and the remote instrument control terminal 14 are respectively connected with the central server 13 deployed on the cloud, and a WebSocket full-duplex communication channel is established between the instrument agent 12 and the central server 13, and a WebSocket full-duplex communication channel is established between the central server 13 and the instrument control terminal 14, and the instrument agent 12 and the instrument control terminal 14 are respectively located in different intranets;

[0185] The instrument control terminal 14 is used to encapsulate the generated first message into a first WebSocket frame and send it to the central server 13 through the WebSocket connection. The fields of the first message at least include the instrument agent terminal number, the instrument equipment number and the instrument operation control instruction. The instrument operation control instruction is an instruction recognizable by the engineering scientific research instrument equipment 11; receive the second WebSocket frame returned from the central server 13;

[0186] The central server 13 is used to forward the first WebSocket frame to the instrument agent terminal 12 and forward the second WebSocket frame to the instrument control terminal 14;

[0187] The instrument agent 12 is used to decapsulate the first WebSocket frame to obtain the instrument operation control instruction, and send the instrument operation control instruction to the engineering scientific research instrument 11 corresponding to the instrument equipment number through the local area connection; when receiving the execution result reported by the engineering scientific research instrument 11, encapsulate the generated second message into a second WebSocket frame, the field of the second message at least includes the instrument agent number, the instrument equipment number and the execution result, and send the second WebSocket frame to the central server 13 through the WebSocket connection;

[0188] The engineering scientific research instrument equipment 11 is used to execute the instrument operation control instructions issued by the instrument agent terminal 12 and report the execution results to the instrument agent terminal 12.

[0189] That is to say, the instrument control terminal 14 encapsulates the generated first message into a first WebSocket frame and sends it to the central server 13 via a WebSocket connection; the central server 13 forwards the first WebSocket frame to the instrument agent terminal 12; the instrument agent terminal 12 decapsulates the first WebSocket frame to obtain the instrument operation control instruction, and sends the instrument operation control instruction to the engineering and scientific research instrument equipment 11 via a local area connection; the engineering and scientific research instrument equipment 11 executes the instrument operation control instruction sent by the instrument agent terminal 12, and reports the execution result to the instrument agent terminal 12; the instrument agent terminal 12 encapsulates the generated second message into a second WebSocket frame, the field of the second message includes at least the instrument agent terminal number, the instrument equipment number and the execution result, and sends the second WebSocket frame to the central server 13 via a WebSocket connection; the central server 13 forwards the second WebSocket frame to the instrument control terminal 14; the instrument control terminal 14 receives the second WebSocket frame returned from the central server 13.

[0190] This system embodiment overcomes the limitation of physical location without requiring any changes to the engineering and scientific research instruments and equipment, and achieves the purpose of remote control of the engineering and scientific research instruments and equipment, allowing staff to conveniently operate the engineering and scientific research instruments and equipment anywhere.

[0191] The embodiment of the present application also provides a computer-readable medium, the computer-readable storage medium stores instructions, and the instructions can execute the steps in the method of operating engineering scientific research instruments and equipment as described above when executed by a processor. In practical applications, the computer-readable medium can be included in the device / device / system described in the above embodiment, or it can exist alone without being assembled into the device / device / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method of operating engineering scientific research instruments and equipment described in the above embodiments can be implemented. According to the embodiment disclosed in the present application, the computer-readable storage medium can be a non-volatile computer-readable storage medium, for example, it can include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, but it is not used to limit the scope of protection of the present application. In the embodiment disclosed in the present application, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.

[0192] The flow chart and block diagram in the accompanying drawings of the present application show the possible architecture, function and operation of the system, method and computer program product according to the various embodiments disclosed in the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in the order of the standards in different figures. For example, the boxes represented by two connections can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0193] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope disclosed in the present application.

[0194] Specific embodiments are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas, and is not used to limit the present application. For those skilled in the art, changes can be made in the specific implementation methods and application scopes according to the ideas, spirits and principles of the present invention, and any modifications, equivalent substitutions, improvements, etc. made therein should be included in the scope of protection of this application.

Claims

1. A method for operating an engineering scientific research instrument, characterized in that: The method includes: The engineering research instrument and equipment are locally connected to a near-field instrument agent, and the instrument agent and the remote instrument control terminal are respectively connected to a central server deployed on the cloud, and a WebSocket full-duplex communication channel is established between the instrument agent and the central server, and a WebSocket full-duplex communication channel is established between the instrument control terminal and the central server, and the instrument agent and the instrument control terminal are respectively located in different intranets; The instrument control end encapsulates the generated first message into a first WebSocket frame, and sends it to the instrument agent end through the WebSocket connection and via the central server; the fields of the first message include at least the instrument agent end number, the instrument equipment number and the instrument operation control instruction, and the instrument operation control instruction is an instruction recognizable by the engineering scientific research instrument equipment; The instrument agent decapsulates the first WebSocket frame to obtain the instrument operation control instruction, and sends the instrument operation control instruction to the engineering scientific research instrument corresponding to the instrument equipment number through the local area connection, so that the engineering scientific research instrument executes the instrument operation control instruction; When the instrument agent receives the execution result reported by the engineering and scientific research instrument and equipment, it encapsulates the generated second message into a second WebSocket frame, connects through the WebSocket and returns it to the instrument control end via the central server. The fields of the second message include at least the instrument agent number, the instrument equipment number and the execution result.

2. The method according to claim 1, characterized in that Before the step of encapsulating the first message into a first WebSocket frame by the instrument control end, the method further comprises: The instrument agent obtains the instrument information of the engineering and scientific research instrument connected to itself, and periodically detects the status of the engineering and scientific research instrument connected to itself to determine the working status information and online information; the instrument information includes the instrument manufacturer, instrument model, instrument serial number and instrument address, the working status information is the current busy, idle or unavailable status of the engineering and scientific research instrument, and the online time is the time between the engineering and scientific research instrument changing from an undetectable state to a detectable state; The instrument agent encapsulates the generated third message into a third WebSocket frame, and reports it to the central server through the WebSocket connection, wherein the fields of the third message include the instrument information, the working status information, the online time, and the instrument agent number representing the instrument agent itself; The central server decapsulates the third WebSocket frame, obtains and records the instrument information, the working status information, the online time and the instrument agent number from the third message, and performs resource management on the engineering and scientific research instruments and equipment.

3. The method according to claim 2, characterized in that The resource management of the engineering scientific research instruments and equipment includes: A three-layer tree structure of an organization number, an instrument agent number and an instrument equipment number is set, each of the organization number, the instrument agent number and the instrument equipment number is a unique number, wherein the organization number corresponds to the organization using the engineering and scientific research instruments and equipment, the instrument agent number corresponds to the instrument agent, and the instrument equipment number corresponds to the engineering and scientific research instruments and equipment; the organization corresponds to multiple instrument agents, and the instrument agent corresponds to multiple instruments and equipment; When detecting that the state of the engineering scientific research instrument and equipment has changed, updating the working state information; When it is detected that the online time of the engineering scientific research instrument and equipment has changed, the online time is updated; Determine whether the engineering scientific research instrument and equipment is locked, if locked, set the corresponding engineering scientific research instrument and equipment to a locked state, otherwise set it to an unlocked state; Determine the instruction type that can be recognized by the engineering and scientific research instrument and equipment, and record the corresponding instruction type, wherein the instruction type is Virtual Software Architecture (VISA) or Standard Command Set I (SCPI).

4. The method according to claim 3, characterized in that Before the step of encapsulating the first message into a first WebSocket frame by the instrument control end, the method further comprises: The instrument control terminal encapsulates the generated fourth message into a fourth WebSocket frame, and sends it to the central server through the WebSocket connection, wherein the fields of the fourth message include the organization number to which the instrument control terminal belongs and the instrument query instruction; The central server decapsulates the fourth WebSocket frame to obtain the organization number and the query instrument instruction in the fourth message; The central server determines the instrument number under the organization number in the fourth message as the target instrument number, takes the engineering scientific research instrument corresponding to the target instrument number as the target engineering scientific research instrument, and obtains the instrument information, the working status information, the online time, whether it is locked, and the instruction type of the target engineering scientific research instrument according to the query instrument instruction; The central server encapsulates the generated fifth message into a fifth WebSocket frame and returns it to the instrument control terminal through the WebSocket connection. The fields of the fifth message include the instrument information, the working status information, the online time, the locked status and the instruction type of the target engineering and scientific research instrument equipment obtained after the query.

5. The method according to claim 4, characterized in that Between the step of the central server encapsulating the generated fifth message into a fifth WebSocket frame and returning the frame to the instrument control terminal through the WebSocket connection, and the step of the instrument control terminal encapsulating the generated first message into a first WebSocket frame and sending the frame to the instrument agent terminal through the WebSocket connection and via the central server, the method further comprises: The instrument control terminal encapsulates the generated sixth message into a sixth WebSocket frame, and sends it to the central server through the WebSocket connection, wherein the fields of the sixth message include the organization number to which the instrument control terminal belongs, the instrument agent number, the instrument device number, and the instrument lock request instruction; The central server decapsulates the sixth WebSocket frame to obtain the organization number, the instrument agent number, the instrument device number and the instrument lock request instruction of the sixth message; After the central server obtains the authority of the instrument control terminal according to the organization number, the instrument agent number and the instrument equipment number of the sixth message, the central server completes the instrument lock request instruction through an indivisible atomic operation. The indivisible atomic operation includes: when it is determined that the working status of the engineering and scientific research instrument equipment corresponding to the instrument equipment number is idle and its locked status is unlocked, the engineering and scientific research instrument equipment is assigned to the instrument control terminal and its locked status is changed to locked.

6. The method according to claim 4, characterized in that The method further comprises: The central server receives the instrument lock request instruction sent by the two instrument control terminals, each of which needs to operate multiple engineering and scientific research instruments and equipment at the same time, and the engineering and scientific research instruments and equipment that have been locked by each instrument control terminal are the objects that the other instrument control terminal needs to lock; then: The first party in the instrument control terminal actively releases the locked engineering scientific research instrument equipment; The central server changes the unlocked state of the released engineering and scientific research instrument and equipment to an unlocked state, distributes it to the second party in the instrument control terminal, and changes the unlocked state of the engineering and scientific research instrument and equipment to a locked state again; the first party represents the party that actively releases resources, and the second party represents the party that accepts resources; After the second party completes the operation on the plurality of engineering and scientific research instruments and equipment, the plurality of engineering and scientific research instruments and equipment are released, and the central server changes the locked state of the released plurality of engineering and scientific research instruments and equipment to an unlocked state; The first party relocks the plurality of engineering and scientific research instruments and equipment until the first party completes the operations on the plurality of engineering and scientific research instruments and equipment simultaneously.

7. The method according to claim 4, characterized in that The resource management of the engineering and scientific research instruments and equipment also includes: the central server sorting the resources of all the engineering and scientific research instruments and equipment; When the instrument control end needs to operate multiple engineering and scientific research instruments and equipment at the same time, the instrument control end locks the multiple engineering and scientific research instruments and equipment one by one according to the resource sorting. Each time an engineering and scientific research instrument and equipment is locked, the central server changes the locked state of the locked engineering and scientific research instrument and equipment to a locked state, and after locking the required multiple engineering and scientific research instruments and equipment, operates the multiple engineering and scientific research instruments and equipment at the same time; After the instrument control terminal completes the operation on the multiple engineering and scientific research instruments and equipment, the multiple engineering and scientific research instruments and equipment are released, and the central server changes the locked state of the locked engineering and scientific research instruments and equipment to an unlocked state.

8. The method according to any one of claims 5 to 7, characterized in that: The field of the first message further includes a timeout time, and the timeout time indicates the maximum time for the instrument control terminal to lock the engineering scientific research instrument equipment; After the step of encapsulating the generated first message into a first WebSocket frame at the instrument control end and sending the first message to the instrument agent end through the WebSocket connection and the central server, the method further comprises: The central server starts timing, and when the timing exceeds the timeout period and no locking instrument renewal request instruction is received from the instrument control end, the central server releases the engineering and scientific research instrument equipment that has been locked by the instrument control end, and changes its locked state to an unlocked state. The locking instrument renewal request is a request instruction initiated by the instrument control end to continue locking the instrument when the operation on the engineering and scientific research instrument equipment has not been completed.

9. The method according to any one of claims 5 to 7, characterized in that: The first message, the second message, the third message, the fourth message, the fifth message and the sixth message are messages in JSON format, and further include a field for a unique number of this request, where the unique number of this request is used to identify the message; When the instrument agent obtains the unique number of the current request from the received message, the method further comprises: the instrument agent determines whether it is a duplicate message according to the unique number of the current request, and if it is a duplicate message and has been processed, filters out the duplicate message and does not process it again; When the central server obtains the unique number of the current request from the received message, the method further includes: the central server determines whether it is a duplicate message according to the unique number of the current request, and if it is a duplicate message and has been processed, filters out the duplicate message and does not process it again; When the instrument control end obtains the unique number of the request from the received message, it determines whether it matches its own request message or is a duplicate message based on the unique number of the request. If it does not match or is a duplicate message that has been processed, the non-matching or duplicate message is filtered out and no longer processed.

10. The method according to claim 1, characterized in that The central server is a plurality of servers deployed on the cloud; When the instrument control end is connected to a first server, the instrument agent end is connected to a second server, and the first server and the second server are not the same server, the method further includes: The first server and the second server use the publish-subscribe mechanism of Redis to transmit messages between the instrument control end and the instrument agent end.

11. A system for operating engineering scientific research instruments and equipment, characterized in that: The system includes: engineering scientific research instruments and equipment, instrument agents, a central server, and an instrument control terminal; the engineering scientific research instruments and equipment are locally connected to a near-field instrument agent, the instrument agent and a remote instrument control terminal are respectively connected to a central server deployed on the cloud, and a WebSocket full-duplex communication channel is established between the instrument agent and the central server, and a WebSocket full-duplex communication channel is established between the central server and the instrument control terminal, and the instrument agent and the instrument control terminal are respectively located in different intranets; The instrument control terminal is used to encapsulate the generated first message into a first WebSocket frame and send it to the central server through the WebSocket connection, wherein the fields of the first message at least include the instrument agent terminal number, the instrument equipment number and the instrument operation control instruction, and the instrument operation control instruction is an instruction recognizable by the engineering scientific research instrument equipment; and receive a second WebSocket frame returned from the central server; The central server is used to forward the first WebSocket frame to the instrument agent terminal and forward the second WebSocket frame to the instrument control terminal; The instrument agent is used to decapsulate the first WebSocket frame to obtain the instrument operation control instruction, and send the instrument operation control instruction to the engineering and scientific research instrument corresponding to the instrument number through the local area connection; upon receiving the execution result reported by the engineering and scientific research instrument, encapsulate the generated second message into a second WebSocket frame, the field of the second message at least includes the instrument agent number, the instrument number and the execution result, and send the second WebSocket frame to the central server through the WebSocket connection; The engineering and scientific research instrument equipment is used to execute the instrument operation control instructions issued by the instrument agent terminal and report the execution results to the instrument agent terminal.

12. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instructions are executed by the processor, the steps of the method for operating engineering scientific research instruments and equipment described in any one of claims 1 to 9 can be implemented.