Experimental methods, storage media, electronic equipment, experimental systems

By obtaining process control program files according to the experimental type and establishing a connection with the target module, the problem of poor robustness of existing EPR equipment is solved, and the high-efficiency energy consumption management of the equipment and the stable development of experiments are achieved.

CN115034050BActive Publication Date: 2025-04-29CHINAINSTRU & QUANTUMTECH (HEFEI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210592826.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-27
Publication Date
2025-04-29
Estimated Expiration
2042-05-27

AI Technical Summary

Technical Problem

Existing EPR equipment does not need to be applied to all functions in the system in different experimental scenarios, resulting in poor overall robustness of the equipment. The overall error of the equipment is reported in any part of the fault, which affects the implementation of the experiment.

Method used

An experimental method is proposed, by obtaining process control program files according to the selected experimental type, extracting target information, generating a list of target modules, and establishing a connection with the target module, and the experiment is carried out only after the module configuration is completed. Unconnected modules are in a shutdown or standby state to avoid unnecessary energy consumption and computing resources.

Benefits of technology

It improves the robustness of the equipment, avoids unnecessary energy consumption and computing resources, and ensures the normal development of the experiment. Even if individual modules fail, users can choose the experiments that can be carried out based on the available module combination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115034050B_ABST
    Figure CN115034050B_ABST
Patent Text Reader

Abstract

The invention discloses an experimental method, a storage medium, an electronic device, and an experimental system. The method is used for an EPR device, which includes multiple lower computer modules, and specifically includes the following steps: first, a process control program file is obtained according to the selected experiment type, and target information is extracted from the process control program file; a target module list is generated according to the target information; a connection with the target module in the target module list is established, and an experiment is performed after the configuration of the target module is completed. Through the experimental method, the required modules can be automatically selected for connection and experimentation according to actual needs, and the unconnected modules are in a closed or standby state, thereby avoiding unnecessary energy consumption and computing resources and improving the robustness of the device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electron paramagnetic resonance, and in particular to an experimental method, a storage medium, an electronic device, and an experimental system. Background Art

[0002] At present, EPR (Electron Paramagnrtic Resonance) is used in a wide range of scenarios, such as carrier detection in conductors and semiconductors, crystal defect detection in physics, detection of organic metal compounds, free radical reaction kinetics experiments, petroleum research, diradical and triplet state research of molecules in chemistry, free radical detection in organic life cell tissues, drug testing, carcinogen reaction research in biomedicine, dating of geological and archaeological samples, food irradiation safety monitoring, inhibitor performance testing in materials science, and determination of peroxyl radicals in the atmosphere in environmental science.

[0003] In different application scenarios and different experimental stages, EPR needs to carry out different experiments, such as modulation field amplitude scanning experiment, microwave power scanning experiment, time scanning experiment, noise scanning experiment, magnetic field delay experiment, ordinary continuous wave experiment, ordinary pulse experiment, corner experiment, variable temperature experiment, sweeping field echo detection experiment, etc. In different experiments, the EPR device does not need to be applied to all functions of the system. In the related technology, the conventional EPR device establishes a connection with the host computer, and then selects the required functions to carry out the experiment according to the instructions issued by the host computer. The overall robustness of the equipment is poor. When any part fails, the entire device will report an error, affecting the conduct of the experiment. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art at least to some extent. To this end, the first object of the present invention is to propose an experimental method that improves the robustness of the device and avoids unnecessary consumption of energy and computing resources.

[0005] A second object of the present invention is to provide a computer-readable storage medium.

[0006] A third objective of the present invention is to provide an electronic device.

[0007] The fourth object of the present invention is to provide an experimental system.

[0008] In order to achieve the above-mentioned purpose, the first aspect of the present invention proposes an experimental method, which is used for an EPR device, and the EPR device includes multiple lower computer modules. The method includes: obtaining a process control program file according to the selected experiment type, and extracting target information from the process control program file; generating a target module list according to the target information; establishing a connection with the target module in the target module list, and conducting an experiment after completing the configuration of the target module.

[0009] According to the experimental method of the embodiment of the present invention, firstly, the process control program file is obtained according to the selected experiment type, and the target information is extracted from the process control program file; then, a target module list is generated according to the target information; finally, a connection with the target module in the target module list is established, and the experiment is carried out after the configuration of the target module is completed. Therefore, through this experimental method, the required modules can be automatically selected for connection and experimentation according to actual needs, and the unconnected modules are in a closed or standby state, avoiding unnecessary energy consumption and computing resources, and improving the robustness of the device.

[0010] In addition, the experimental method proposed in the above embodiment of the present invention may also have the following additional technical features:

[0011] In one embodiment of the present invention, establishing a connection with a target module in the target module list includes: sending a handshake instruction to the target module, and receiving connection confirmation information and its own parameter information sent by the target module in response to the handshake instruction; traversing the target modules in the target module list according to the connection confirmation information and its own parameter information to determine whether a connection has been established with all target modules in the target module list.

[0012] In one embodiment of the present invention, before configuring the target module, the method further includes: sending a polling request to the target module, and receiving a polling response sent by the target module in response to the polling request, so as to determine whether there is a target module with a polling exception; wherein, when there is no target module with a polling exception, the target module is configured.

[0013] In one embodiment of the present invention, the lower computer module includes a control module and a signal module. For the control module in the target module list, the polling response sent by it includes the changed module parameter information and the empty data of the module parameters that remain unchanged; for the signal module in the target module list, the polling response sent by it includes the changed module parameter information, the empty data of the module parameters that remain unchanged and the detection data information.

[0014] In one embodiment of the present invention, extracting target information from the process control program file includes: traversing the process control program file, extracting information that appears in the process control program file and is identical to the content in the extraction target list, forming an extraction result list, wherein the extraction result list includes the target information, and the extraction target list includes information corresponding to all lower computer modules in the EPR device.

[0015] In one embodiment of the present invention, the process control program file includes a configuration file, the target information includes a module field, and generating a target module list based on the target information includes: merging the same module fields in the extraction result list to obtain the target module list.

[0016] In one embodiment of the present invention, the process control program file includes a timing control file and a data acquisition file, the target information includes a control instruction and a receive data instruction, and generating a target module list according to the target information includes: replacing the control instruction and receive data instruction in the extraction result list with the corresponding lower computer module fields, and merging the same module fields to obtain the target module list.

[0017] In order to achieve the above object, a second embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above experimental method is implemented.

[0018] According to the computer-readable storage medium of the embodiment of the present invention, a computer program is stored thereon. When the computer program is executed by the processor, the process control program file is first obtained according to the selected experiment type, and the target information is extracted from the process control program file; then, a target module list is generated according to the target information; finally, a connection with the target module in the target module list is established, and the experiment is carried out after the configuration of the target module is completed. Thus, the required modules can be automatically selected for connection and experimentation according to actual needs, and the unconnected modules are in a closed or standby state, avoiding unnecessary energy consumption and computing resources, and improving the robustness of the device.

[0019] In order to achieve the above objectives, the third aspect of the present invention proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the above experimental method is implemented.

[0020] According to the electronic device of the embodiment of the present invention, when the computer program on the electronic device is executed by the processor, the process control program file is first obtained according to the selected experiment type, and the target information is extracted from the process control program file; then, a target module list is generated according to the target information; finally, a connection with the target module in the target module list is established, and the experiment is carried out after the configuration of the target module is completed. Thus, the required modules can be automatically selected for connection and experimentation according to actual needs, and the unconnected modules are in a closed or standby state, avoiding unnecessary energy consumption and computing resources, and improving the robustness of the device.

[0021] In order to achieve the above-mentioned purpose, a fourth aspect of the present invention provides an experimental system, including a host computer and an EPR device, wherein the host computer includes the above-mentioned electronic device.

[0022] According to the experimental system of the embodiment of the present invention, the EPR device establishes a connection with the host computer. When the computer program on the electronic device of the host computer is executed by the processor, the process control program file is first obtained according to the selected experiment type, and the target information is extracted from the process control program file; then, a target module list is generated according to the target information; finally, a connection with the target module in the target module list is established, and the experiment is carried out after the configuration of the target module is completed. Therefore, the required modules can be automatically selected for connection and experimentation according to actual needs, and the unconnected modules are in a closed or standby state, avoiding unnecessary energy consumption and computing resources, and improving the robustness of the device.

[0023] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a flow chart of an experimental method according to an embodiment of the present invention;

[0025] Figure 2 is a flow chart of an experimental method according to another embodiment of the present invention;

[0026] Figure 3 is a flow chart of an experimental method of another embodiment of the present invention;

[0027] Figure 4 is a flow chart of an experimental method of another embodiment of the present invention;

[0028] Figure 5 It is a structural block diagram of the experimental system of an embodiment of the present invention. DETAILED DESCRIPTION

[0029] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0030] The following describes the experimental method, storage medium, electronic device, and experimental system of the embodiments of the present invention with reference to the accompanying drawings.

[0031] Figure 1 It is a flow chart of an experimental method of one embodiment of the present invention.

[0032] In an embodiment of the present invention, the experimental method is used for an EPR device, and the EPR device includes a plurality of lower-level computer modules. The upper-level computer is used to control the EPR device, and the plurality of lower-level computer modules can be divided in an upper-level manner, and then can automatically select to establish a connection with any required module according to actual needs, and conduct the experiment after the connection is established, and the module that has not established a connection is in a closed or standby state. In a specific example, the plurality of lower-level computer modules in the EPR device are divided into a control module and a signal module, and the control module includes a microwave transmitting module, a microwave receiving module, a resonant cavity module, a magnetic field module, a radio frequency module, a modulation field module, and a temperature control module, and the signal module includes a lock-release module, an integration module, an oscilloscope module, and an acquisition module.

[0033] like Figure 1 As shown, the experimental method includes the following steps:

[0034] S101, obtaining a process control program file according to the selected experiment type, and extracting target information from the process control program file.

[0035] Specifically, when an experiment is required, the user needs to first select the experiment type. For example, a selection interface may be provided on which the user selects the experiment type and can click on the interface to confirm the selection to confirm the selected experiment type.

[0036] After the experiment type is selected, different process control program files are generated according to different experiment types. The process control program files include target information pointing to the target module required for the experiment, so that the target information can be extracted from the process control program files.

[0037] S102, generating a target module list according to the target information.

[0038] Specifically, after the target information is extracted, the same information in the target information is merged to generate a target module list.

[0039] S103, establishing a connection with a target module in the target module list, and performing an experiment after completing the configuration of the target module.

[0040] Specifically, after establishing a connection with the target module in the target module list, the host computer needs to configure the target module. Specifically, the host computer sends configuration information to the target module in the target module list according to the configuration file. The user can directly use the state parameters corresponding to the target module preset in the configuration file, or enter the required state parameters for the specific target module to manually change the configuration file. After completing the configuration of the target module, the experiment can be carried out according to the timing control file and the data acquisition file.

[0041] Among them, the above configuration files, timing control files, and data acquisition files are all files generated according to the experiment type after obtaining the experiment type, and different experiment types will generate different configuration files, timing control files, and data acquisition files. The above configuration files are used to send configuration information so that the state parameters of each target module related to the experiment meet the needs of the experiment. The specific state parameters of each target module in the configuration file are set with preset values, which can also be manually changed according to user needs; the timing control file is used to send control instructions to each target module in a time sequence according to the experimental process; the data acquisition file is used to collect data information sent by each target module in a time sequence according to the experimental process.

[0042] Thus, by setting the EPR device to include multiple lower computer modules, and obtaining the process control program file according to the experiment type, extracting the target information from the process control program file, and then generating a target module list according to the target information, and establishing a connection with the target module in the target module list, it can be achieved that only the modules participating in the experiment are in working state, and the modules not participating in the experiment are in a closed or standby state. There is no need to transmit data between the modules not participating in the experiment and the host computer, thereby avoiding unnecessary energy consumption and computing resources. Moreover, when a module not participating in the experiment fails, the device as a whole will not report an error, and the experiment can still be carried out normally. Moreover, even if an individual module participating in the experiment fails, the user can still choose to carry out the experiment according to the available module combination.

[0043] In one embodiment of the present invention, for the situation where multiple experiments are carried out continuously, the process control program files corresponding to all experimental types can be obtained, and then a module list containing the lower computer modules required for all experimental types is formed. As an example, if the above process control program file is a configuration file, and before the start of the ordinary continuous wave experiment, a modulation field amplitude scanning experiment is first performed, which is mainly used to calibrate the modulation field amplitude of the spectrometer, and then a microwave power scanning experiment is performed. Because the sample signal intensity and microwave power are not a simple linear relationship, this experiment type is suitable for finding a suitable microwave power for the sample. At this time, the configuration files corresponding to all the above test types can be obtained, and then a module list containing the lower computer modules required for all experimental types is formed.

[0044] Thus, by forming a module list containing lower computer modules required for all test types, the upper computer can establish connections with all lower computer modules in the module list and perform configuration, thereby improving the efficiency of conducting multiple experiments.

[0045] In one embodiment of the present invention, see Figure 2 , the above establishes a connection with the target module in the target module list, including:

[0046] S201, sending a handshake instruction to a target module, and receiving connection confirmation information and its own parameter information sent by the target module in response to the handshake instruction.

[0047] Specifically, the upper computer sends a handshake instruction to the corresponding lower computer module, i.e., the target module, according to the content of the target module list. After receiving the handshake instruction, the corresponding lower computer module starts and obtains its own parameters, and sends connection confirmation information and its own parameter information to the upper computer.

[0048] S202: traverse the target modules in the target module list according to the connection confirmation information and the own parameter information to determine whether connections with all the target modules in the target module list have been established.

[0049] Specifically, after receiving the connection confirmation information and device parameter information, the host computer needs to traverse the target module list, and after receiving the connection confirmation information and device parameter information corresponding to all the target modules in the target module list, determine that the connection with all the target modules in the target module list has been established.

[0050] Therefore, the host computer can send a handshake instruction to the target module to establish a connection with the target module, and the host computer can also receive connection confirmation information and its own parameter information, and determine whether all connection confirmation information and target parameter information are received, thereby further ensuring the connection between the host computer and the target module.

[0051] In one embodiment of the present invention, before configuring the target module, the experimental method further includes: sending a polling request to the target module, and receiving a polling response sent by the target module to the polling request to determine whether there is a target module with polling abnormality.

[0052] Specifically, there are different types of modules in the above-mentioned multiple lower-machine modules, and the different types can be, for example, the result of dividing the multiple lower-machine modules in the above-mentioned upper-level manner. Since different types of lower-machine modules may need to send different polling responses to the upper machine, after the upper machine sends a polling request to the target module, it may receive different types of polling responses, so the upper machine needs to judge the different types of polling responses to judge whether the target module sending the polling response is abnormal, and when there is no target module with polling abnormality, configure the target module.

[0053] In a specific example, the lower computer module includes a control module and a signal module. For the control module in the target module list, the polling response it sends includes the module parameter information that has changed and the empty data whose module parameters remain unchanged; for the signal module in the target module list, the polling response it sends includes the module parameter information that has changed, the empty data whose module parameters remain unchanged, and the detection data information.

[0054] In one embodiment of the present invention, the above-mentioned extraction of target information from the process control program file includes: traversing the process control program file, extracting the information that appears in the process control program file and is the same as the content in the extraction target list, and forming an extraction result list. The extraction result list includes the target information, and the extraction target list includes information corresponding to all lower computer modules in the EPR device.

[0055] The process control program file includes a configuration file, the target information includes a module field, and generating a target module list according to the target information includes: merging the same module fields in the extraction result list to obtain the target module list.

[0056] At this time, see Figure 3 ,First, determine the experiment type and obtain the process control ,program file, which is a configuration file.

[0057] Secondly, extract the module fields in the configuration file. This step specifically includes: obtaining a pre-established extraction target list containing all the lower-level computer module fields; traversing the configuration file to extract the fields in the extraction target list, that is, traversing the configuration file according to the content in the extraction target list, and extracting the fields that appear in the configuration file and are the same as those in the extraction target list; listing the extracted fields to form an extraction result list, and then merging the same fields in the extraction result list to form a target module list.

[0058] Finally, the host computer sends a handshake instruction to the target module according to the target module list. After receiving the handshake instruction, the target module sends information to the host computer, that is, the target module starts and obtains its own parameters, sends connection confirmation information to the host computer, and its own parameter information. The host computer determines that the connection is complete and starts polling, that is, the host computer receives the connection confirmation information and its own parameter information sent by the target module, and traverses the target module list. When all the target modules in the target module list are connected to the host computer, the host computer determines that the connection is complete and starts polling to the target modules in the target module list. After receiving the polling request, the target module sends a data packet to the host computer, wherein the data packet of the control module includes the changed device parameter information and the empty data of the unchanged device parameters, and the data packet of the signal module includes the changed device parameter information, the empty data of the unchanged device parameters, and the detection data information. When the connection between the host computer and the lower computer module in the module list is completed and there is no abnormality in the polling, the target module state parameters can be selected or set. Specifically, the host computer sends configuration information to the lower computer module in the module list according to the configuration file. The user can directly use the target module state parameters preset in the configuration file, or manually enter the required target module state parameters. After the parameters are configured, the experiment can be started.

[0059] Alternatively, in order to make the above-mentioned experimental method better applicable to custom experiments in which the experimental process can be edited by the user, so that the process control of the experiment has a higher degree of freedom, the above-mentioned process control program file can be set to include a timing control file and a data acquisition file, and the target information includes control instructions and receive data instructions. A target module list is generated according to the target information, including: replacing the control instructions and receive data instructions in the extraction result list with the corresponding lower computer module fields, and merging the same module fields to obtain a target module list.

[0060] At this time, see Figure 4, first determine the experiment type and obtain the process control program file. Specifically, the user selects the experiment type, clicks to confirm the selection, and automatically obtains the timing control file and data acquisition file. Secondly, extract the target fields in the timing control file and the data acquisition file, specifically including: obtaining a pre-established extraction target list, which not only includes all the lower machine module fields, but also contains the control instructions and receiving data instructions corresponding to the lower machine modules; traversing the process control program file and extracting the target fields, that is, traversing the timing control file and the data acquisition file according to the content in the extraction target list, and extracting the fields that appear in the timing control file and the data acquisition file that are the same as those in the extraction target list; listing the extracted fields to form an extraction result list; replacing the corresponding instruction field with the corresponding lower machine module field, that is, replacing the control instructions and receiving data instructions corresponding to the lower machine module in the extraction result list with the corresponding lower machine module field, and merging the same fields, thereby generating a target module list according to the results.

[0061] After generating the target module list, the next steps can be found in Figure 3 The relevant descriptions are not repeated.

[0062] Optionally, after forming the target module list, you can also choose to traverse the timing control file and the data acquisition file in time sequence according to the contents of the target module list, so as to know the start working time of each lower computer module in the target module list. Since some lower computer modules need to run for a period of time after startup to ensure stable performance, an additional time for stable performance is set for each lower computer module. After subtracting the additional time from the start working time of each lower computer module, the modules are arranged in sequence to obtain the shortest waiting time for the entire module to work.

[0063] As an example, the working sequence is module A, module B, and module C. The starting working time of module A is 0 minutes, and the additional time is 5 minutes; the starting working time of module B is 5 minutes, and the additional time is 15 minutes; the starting working time of module C is 15 minutes, and the additional time is 30 minutes. Therefore, the actual working sequence is: module A is -5 minutes, module B is -10 minutes, and module C is -15 minutes. After modules A, B, and C are all connected and activated, the shortest waiting time for the entire module to work is 15 minutes.

[0064] In summary, the experimental method of the embodiment of the present invention first obtains the process control program file according to the selected experiment type, and extracts the target information from the process control program file, then generates a target module list according to the target information, and finally establishes a connection with the target module in the target module list, and conducts the experiment after completing the configuration of the target module. Through this experimental method, the host computer can automatically select and connect any module according to actual needs, and the experiment can be carried out after the connection is established with the required module, and the module that has not established the connection is in a closed or standby state. Therefore, on the one hand, when the module that does not participate in the experiment fails, the device as a whole will not report an error, and the experiment can still be carried out normally. When an individual module fails, the user can choose to work on the experiment according to the available module combination; on the other hand, only the modules participating in the experiment are in a working state, and the modules that do not participate in the experiment are in a closed or standby state. There is no need to transmit data between the modules that do not participate in the experiment and the host computer, which avoids unnecessary energy consumption and computing resources and improves the robustness of the device.

[0065] Furthermore, the present invention provides a computer-readable storage medium.

[0066] In an embodiment of the present invention, a computer program is stored on a computer-readable storage medium, and the computer program implements the above-mentioned experimental method when executed by a processor.

[0067] The computer-readable storage medium of the embodiment of the present invention stores a computer program thereon. When the computer program is executed by the processor, the process control program file is first obtained according to the selected experiment type, and the target information is extracted from the process control program file, and then a target module list is generated according to the target information, and finally a connection with the target module in the target module list is established, and the experiment is performed after the configuration of the target module is completed. Thus, the host computer can automatically select and connect any module according to actual needs, and the experiment can be carried out after the connection with the required module is established, and the module that has not established the connection is in a closed or standby state. Thus, on the one hand, if the module that does not participate in the experiment fails, the device as a whole will not report an error, and the experiment can still be carried out normally. When an individual module fails, the user can select the experiment that can be carried out according to the available module combination to work; on the other hand, only the module that participates in the experiment is in a working state, and the module that does not participate in the experiment is in a closed or standby state. There is no need to transmit data between the module that does not participate in the experiment and the host computer, which avoids unnecessary energy consumption and computing resources and improves the robustness of the device.

[0068] Furthermore, the present invention provides an electronic device.

[0069] In an embodiment of the present invention, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned experimental method is implemented.

[0070] The electronic device of the embodiment of the present invention, by implementing the above-mentioned experimental method, the host computer can automatically select and connect any module according to actual needs, and the experiment can be carried out after establishing a connection with the required module, and the module that has not established a connection is in a closed or standby state. Therefore, on the one hand, when a module that does not participate in the experiment fails, the device as a whole will not report an error, and the experiment can still be carried out normally. When an individual module fails, the user can choose to carry out the experiment according to the available module combination; on the other hand, only the modules participating in the experiment are in a working state, and the modules not participating in the experiment are in a closed or standby state. There is no need to transmit data between the modules not participating in the experiment and the host computer, which avoids unnecessary energy consumption and computing resources and improves the robustness of the device.

[0071] Furthermore, the present invention provides an experimental system.

[0072] In one embodiment of the present invention, the experimental system includes an EPR device and a host computer, wherein the host computer includes the electronic device of the above embodiment.

[0073] The experimental system of the embodiment of the present invention, through the above-mentioned electronic equipment, the host computer can automatically select and connect any module according to actual needs, and the experiment can be carried out after establishing a connection with the required module, and the module that has not established a connection is in a closed or standby state. Therefore, on the one hand, if a module that does not participate in the experiment fails, the entire device will not report an error, and the experiment can still be carried out normally. When an individual module fails, the user can choose to carry out the experiment according to the available module combination; on the other hand, only the modules participating in the experiment are in a working state, and the modules not participating in the experiment are in a closed or standby state. There is no need to transmit data between the modules not participating in the experiment and the host computer, which avoids unnecessary energy consumption and computing resources and improves the robustness of the device.

[0074] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or equipment (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or equipment and execute instructions), or in combination with these instruction execution systems, devices or equipment. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or equipment, or in combination with these instruction execution systems, devices or equipment. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0075] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0076] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0077] In the description of this specification, the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and cannot be understood as a limitation on the present invention.

[0078] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0079] In the description of this specification, unless otherwise specified, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0080] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0081] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. An experimental method, characterized in that: The method is used for an EPR device, the EPR device includes a plurality of lower computer modules, and the method includes: Acquire a process control program file according to the selected experiment type, and extract target information from the process control program file; Generate a target module list according to the target information; Establishing a connection with a target module in the target module list, and performing an experiment after completing the configuration of the target module; The extracting target information from the process control program file comprises: Traversing the process control program file, extracting the information that is the same as the content in the extraction target list and appears in the process control program file, forming an extraction result list, wherein the extraction result list includes the target information, and the extraction target list includes information corresponding to all lower computer modules in the EPR device; The process control program file includes a timing control file and a data acquisition file, the target information includes a control instruction and a receiving data instruction, and the target module list is generated according to the target information, including: The control instructions and the receiving data instructions in the extraction result list are replaced with the corresponding lower computer module fields, and the same module fields are merged to obtain the target module list.

2. The experimental method according to claim 1, characterized in that The establishing of a connection with a target module in the target module list comprises: Sending a handshake instruction to the target module, and receiving connection confirmation information and its own parameter information sent by the target module in response to the handshake instruction; The target modules in the target module list are traversed according to the connection confirmation information and the own parameter information to determine whether connections with all the target modules in the target module list have been established.

3. The experimental method according to claim 2, characterized in that: Before configuring the target module, the method further includes: Sending a polling request to the target module, and receiving a polling response sent by the target module in response to the polling request, so as to determine whether there is a target module with polling abnormality; Wherein, when there is no target module with polling exception, the target module is configured.

4. The experimental method according to claim 3, characterized in that The lower computer module includes a control module and a signal module. For the control module in the target module list, the polling response sent by the control module includes the changed module parameter information and the empty data of the unchanged module parameter; For the signal module in the target module list, the polling response sent by the signal module includes the changed module parameter information, the empty data of the unchanged module parameter and the detection data information.

5. The experimental method according to claim 1, characterized in that: The process control program file includes a configuration file, the target information includes a module field, and generating a target module list according to the target information includes: The same module fields in the extraction result list are merged to obtain the target module list.

6. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the experimental method according to any one of claims 1 to 5 is implemented.

7. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the experimental method as claimed in any one of claims 1 to 5 is implemented.

8. An experimental system, characterized in that: It comprises a host computer and an EPR device, wherein the host computer comprises the electronic device as claimed in claim 7.

Citation Information

Patent Citations

  • Communication method with lower computer, upper computer, computer system and storage medium

    CN111932862A

  • Configurable test equipment and test method based on semiconductor automatic test machine

    CN114487773A