A method and apparatus for processing a digital source table test task
By acquiring and verifying channel operating parameters in the digital source table test task, valid test tasks and instruction queues are generated, solving the problem of task parameters exceeding the port range and improving test efficiency and result accuracy.
Patent Information
- Application Number
- CN202611255546.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-20
AI Technical Summary
In existing digital source meter testing tasks, there is a lack of unified verification between the task parameters and the instrument port's currently available range, output limits, and protection status. This leads to parameters exceeding the port's actual operating range, and the stop criteria not matching the test configuration, resulting in invalid sampling, repeated output, and extended test time, affecting the consistency and efficiency of test results.
Before the test task is executed, the channel operation parameters of the digital source table are obtained and uniform constraint verification is performed to generate a valid test task, which is converted into an instruction queue. The termination conditions are judged in real time and the test results are generated, reducing task interruption and reconfiguration caused by instrument errors or protection actions.
By performing pre-verification and real-time judgment, invalid sampling and duplicate output are reduced, improving the configuration efficiency, execution efficiency, and result processing efficiency of digital source table test tasks, and ensuring the accuracy and consistency of test results.
Smart Images

Figure CN123136223A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of testing systems, and specifically to a method and apparatus for processing digital source table testing tasks. Background Technology
[0002] Digital source meters (DSMs) combine voltage or current excitation output, signal measurement, and result recording functions, and are commonly used for electrical performance testing of semiconductor devices, sensors, batteries, and circuit modules. Existing test software typically requires operators to configure output modes, ranges, scan ranges, sampling intervals, and protection thresholds. These configurations are then compiled into test scripts, which are sequentially issued control commands by a host computer. After the DSM completes excitation output and signal sampling, it feeds the sampling results back to the host computer for display, storage, or pass / fail assessment. For tasks involving multiple scan points or cyclical test content, execution can be performed continuously in a pre-set order to reduce repetitive manual operations.
[0003] In existing test tasks, the parameter settings in the scripts are often managed separately from the currently available ranges, output limits, and protection statuses of each instrument port during generation and execution, lacking unified verification before task start. When script settings exceed the actual operating range of the corresponding port, or when the stop criteria do not match the current test configuration, related anomalies usually cannot be discovered until the instrument reports an error, the protection action is activated, or the entire test is completed. Even if the sampling results have reached the stop requirement during the test, pre-programmed subsequent control commands may still continue to execute, easily leading to invalid sampling, duplicate output, or extended test time, and also affecting the consistency between the test results and the actual task requirements. Summary of the Invention
[0004] This invention provides a method and apparatus for processing digital source table test tasks, which can improve the efficiency of digital source table test tasks.
[0005] A first aspect of the present invention provides a method for processing a digital source table test task, the method comprising: Obtain the channel operation parameters and test tasks to be executed from the digital source table, wherein the test tasks include execution parameters and termination conditions; The target channel is determined based on the execution parameters, and the channel operation parameters corresponding to the target channel are called to perform constraint verification on the execution parameters and the termination conditions to obtain a valid test task; The test sequence generated based on the valid test task is converted into an instruction queue; The instruction queue is sent to the target channel according to the execution sequence of the test sequence, and the measurement data returned by the target channel is received. The measurement data is judged according to the termination condition in the valid test task, and test results are generated based on the judgment result.
[0006] In a second aspect of the invention, a processing apparatus for a digital source table test task is provided. The apparatus is used to execute a processing method for a digital source table test task as described in any of the above embodiments. The apparatus includes an acquisition module, a processing module, and an output module, wherein: The acquisition module is used to acquire the channel operating parameters and test tasks to be executed from the digital source table. The test tasks include execution parameters and termination conditions. The processing module is used to determine the target channel based on the execution parameters, and call the channel operation parameters corresponding to the target channel to perform constraint verification on the execution parameters and the termination conditions to obtain a valid test task; The processing module is used to convert the test sequence generated according to the valid test task into an instruction queue; The processing module is used to send the instruction queue to the target channel according to the execution sequence of the test sequence, and to receive the measurement data returned by the target channel; The output module is used to determine the measurement data according to the termination condition in the valid test task, and further generate test results based on the determination result.
[0007] In a third aspect of the invention, an electronic device is provided, including a processor and a memory, the memory storing a computer program, wherein the computer program, when executed by the processor, implements a processing method for a digital source table test task as described in any of the preceding claims.
[0008] In a fourth aspect, the present invention provides a non-transitory computer-readable storage medium storing instructions that, when executed, perform a processing method for a digital source table test task as described in any of the preceding claims. In summary, one or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0009] This invention obtains the channel operating parameters of the digital source meter before the test task is executed, and performs unified constraint verification between the execution parameters and termination conditions and the actual output, measurement, and protection capabilities of the target channel. This can eliminate problems such as parameter out-of-bounds errors, channel mismatches, and termination condition failures in advance, reducing task interruptions and reconfigurations caused by instrument errors or protection actions. At the same time, it converts effective test tasks into instruction queues arranged according to execution sequence, reducing the amount of manual arrangement and issuing control commands one by one. During the test, the termination conditions are judged in real time based on the returned measurement data, and subsequent instructions that are not necessary to continue are stopped in time, reducing invalid sampling, repeated output, and waiting time. Test results are generated based on the actual executed test sequence and measurement data, thereby improving the configuration efficiency, execution efficiency, and result processing efficiency of digital source meter test tasks. Attached Figure Description
[0010] Figure 1 This is a flowchart illustrating a method for processing a digital source table test task disclosed in an embodiment of the present invention; Figure 2 This is a schematic diagram of a digital source table disclosed in an embodiment of the present invention; Figure 3 This is a schematic diagram of a test response and sampling stage analysis disclosed in an embodiment of the present invention; Figure 4 This is a schematic diagram of a module of a digital source table test task processing device disclosed in an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention.
[0011] Explanation of reference numerals in the attached drawings: 401, acquisition module; 402, processing module; 403, output module; 501, processor; 502, communication bus; 503, user interface; 504, network interface; 505, memory. Detailed Implementation
[0012] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0013] In the description of the embodiments of the present invention, words such as "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "for example" or "for instance" in the embodiments of the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the use of words such as "for example" or "for instance" is intended to present the relevant concepts in a specific manner.
[0014] In the description of the embodiments of the present invention, the term "multiple" means two or more. For example, multiple systems means two or more systems, and multiple screen terminals means two or more screen terminals. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0015] Existing digital source meter testing software typically pre-configures output modes, ranges, scan ranges, sampling intervals, and protection thresholds on a host computer. These configurations are then compiled into test scripts and sequentially sent to the digital source meter for execution. However, the task parameters in the test scripts are often maintained separately from the instrument port's currently available ranges, output limits, and protection status. The lack of a unified verification mechanism before task startup easily leads to situations where task parameters exceed the port's actual operating range, or where stop criteria do not match the test configuration. These anomalies are usually only discovered when the instrument reports an error, a protection action is activated, or the test is completed. Furthermore, even when the measurement results have reached the stop requirement, subsequent control commands may still be executed, resulting in invalid sampling, repeated outputs, and increased test duration. This negatively impacts the safety of the testing process, execution efficiency, and the consistency between the test results and task requirements.
[0016] The digital source table test task processing method disclosed in this invention is applied to a server. The server includes, but is not limited to, electronic devices such as mobile phones, tablets, wearable devices, and PCs (Personal Computers), and can also be a backend server running a digital source table test task processing method. The server can be implemented using a standalone server or a server cluster composed of multiple servers.
[0017] This embodiment discloses a method for processing digital source table test tasks, referring to... Figure 1 It includes the following steps: S110: Obtain the channel operating parameters and test tasks to be executed from the digital source table.
[0018] S120: Determine the target channel based on the execution parameters, call the corresponding channel operation parameters of the target channel, perform constraint verification on the execution parameters and termination conditions, and obtain a valid test task.
[0019] S130 converts the test sequence generated based on the valid test task into an instruction queue.
[0020] S140 sends an instruction queue to the target channel according to the execution timing of the test sequence and receives the measurement data returned by the target channel.
[0021] S150: Determine the measurement data based on the termination conditions in the valid test task, and further generate test results based on the determination results.
[0022] Reference Figure 2 The digital source meter includes an instrument housing and a display area, button area, adjustment knobs, and wiring area located on the front of the housing. The display area shows the current channel's output value, measured value, range, limit value, and measurement status. The button area and adjustment knobs are used to locally set the output mode, output value, measurement range, sampling rate, and protection parameters. The wiring area has at least one source / measurement channel, each with a high-side terminal, a low-side terminal, an excitation terminal, and a sensing terminal, allowing for two-wire or four-wire connection to the device under test. Figure 2 The digital source meter shown has a first source measurement channel and a second source measurement channel. Each source measurement channel can independently complete voltage excitation, current excitation, voltage measurement and current measurement.
[0023] The instrument housing houses an excitation unit, a measurement unit, a control unit, a communication unit, and a recording unit. The excitation unit is connected to each source measurement channel, generating voltage or current excitation according to the set output mode, and outputting it to the device under test through the corresponding excitation terminals. The excitation unit also constrains the output state according to limit values; when the output current or output voltage reaches the corresponding limit value, it performs current limiting or voltage limiting on the current output.
[0024] The measurement unit connects to the sensing terminals to acquire the voltage signal across the device under test (DUT) and the current signal flowing through it. The measurement unit amplifies, filters, and performs analog-to-digital conversion on the acquired voltage and current signals to generate measurement data. When using a four-wire connection, the excitation terminal provides the excitation output, while the sensing terminal detects the actual voltage at the DUT's terminals, thus reducing the influence of test leads and contact resistance on the measurement results.
[0025] The control unit is connected to the excitation unit, measurement unit, communication unit, and recording unit. Based on local input or externally issued test tasks, the control unit configures the output mode, output value, measurement range, sampling timing, and protection parameters of the source and measurement channels. It controls the excitation unit to output excitation and calls the measurement unit to collect measurement data according to the set timing. The control unit also performs status judgment on the measurement data, stopping the current output or ending subsequent tests when overcurrent, overvoltage, overrange, or termination conditions are detected.
[0026] The communication unit establishes a communication connection between the digital source meter and the host computer. It can receive control commands via a network interface, a universal serial interface, or an instrument communication interface, and return channel status and measurement data to the host computer. The recording unit stores test tasks, channel parameters, command execution status, and measurement data. When the digital source meter performs a test, the control unit sends control signals to the excitation unit and measurement unit according to the test sequence, writes the measurement data formed at each sampling moment into the recording unit, and outputs the test results through the display area or the communication unit.
[0027] In practice, after establishing a communication connection with the digital source meter, the device identifier, communication method, output range, measurement range, maximum output capability, triggering method, response time, buffer capacity, and protection status of each channel are read and associated according to the channel identifier to form the corresponding channel operating parameters. The channel operating parameters characterize the output, measurement, triggering, communication, and protection capabilities that the digital source meter can currently perform. Specifically, the output range indicates the voltage or current range that the channel is allowed to set; the measurement range indicates the range within which the channel can complete signal sampling; the maximum output capability indicates the upper limit of output that the channel is allowed to reach in the current operating state; and the protection status indicates whether the channel is in a current-limiting, voltage-limiting, overload, or output-prohibited state. For digital source meters that support range switching or dynamic updates of operating status, the parameters currently returned by the channel are used when reading the channel operating parameters, and parameters from historical test tasks are not used.
[0028] Test tasks to be executed can be obtained from the task queue, test interface, or pre-saved task configurations, and their reception order and task status are recorded according to the task identifier. Execution parameters are used to define the specific test content that the digital source meter needs to complete, including channel selection information, source mode, output settings, measurement settings, trigger settings, sampling settings, and execution order. The source mode indicates whether the channel uses voltage source mode or current source mode; the output settings are used to limit the output value, scan range, and output limits; the measurement settings are used to limit the measurement type and measurement range; the trigger settings are used to limit the start conditions of the test nodes; the sampling settings are used to limit the sampling time, sampling interval, and sampling quantity; and the execution order is used to define the sequential relationship between each test node.
[0029] The termination conditions are used to determine whether the current test task needs to be stopped early, including measurement thresholds, protection status, consecutive anomaly counts, or communication anomaly status. Measurement thresholds limit the range of measurement data that allows the test task to continue; protection status identifies whether the digital source meter has entered output protection; consecutive anomaly counts prevent a single transient fluctuation from directly triggering termination; and communication anomaly status limits the handling conditions when command transmission or measurement data reception is interrupted. After reading, the channel operating parameters and test task are saved according to the channel identifier and task identifier, respectively, for subsequent determination of the target channel and execution constraint verification.
[0030] Furthermore, referring to Figure 3 The pulsed beam is not a continuous and stable output, but rather alternates between a pulse phase and a pulse interval phase according to a set period. The pulse edge corresponds to a transition period where the beam intensity rises or falls rapidly. When the device under test (DUT) is in the pulse phase, carrier generation, interface charge accumulation, and local electric field change rapidly, and leakage current and terminal voltage may experience instantaneous increases or fluctuations. After entering the pulse interval phase, some carriers recombine, accumulated charge is released, and leakage current and terminal voltage may gradually decrease. When the sampling period falls on the pulse edge, the measurement data obtained by the digital source meter within the integration time will also include different response states before and after the pulse. Therefore, even if the cumulative dose corresponding to two test moments is the same, the obtained measurement data may still differ significantly if the sampling period is located in the pulse phase, pulse interval phase, or pulse edge, respectively. Existing test sequences usually only arrange sampling according to a fixed measurement interval, without limiting the sampling period based on the start time, pulse width, and pulse period of the beam pulse, resulting in a lack of a fixed correspondence between each sampling and the beam phase. At this point, the instantaneous leakage current increment generated during a certain pulse phase may be recorded as a continuous deterioration of device parameters, and the parameter drop that occurs during the pulse interval phase may also be misjudged as a recovery of device performance, making it impossible for the test results to accurately distinguish between the transient response caused by the pulse beam and the continuous degradation caused by cumulative irradiation.
[0031] In one possible implementation, after receiving the test task, the backend parses the port identifier and queries the pre-established port connection relationships. The port identifier indicates the electrical connection port on the device under test (DUT) that requires excitation or measurement signal acquisition, and the port connection relationships record the actual wiring correspondence between the DUT ports and digital source meter channels. During the query, the digital source meter channel corresponding to the port identifier is read, excluding digital source meter channels that have not established electrical connections, are in a fault state, or are occupied by other test tasks, and retaining the digital source meter channels that can perform tests on the DUT ports.
[0032] The reserved digital source meter channels are matched for source output capability. Source parameters include source mode, output value, and limit value. The source mode specifies whether the digital source meter channel uses voltage or current source mode. The output value limits the voltage or current applied to the port of the device under test (DUT). The limit value limits the maximum allowable current or voltage corresponding to the output value. The supported source modes, output ranges, limit ranges, and maximum output power of each digital source meter channel are read. When a digital source meter channel supports a source mode, the output value is within the corresponding output range, the limit value is within the corresponding limit range, and the output power corresponding to the output value and limit value does not exceed the maximum output power, the digital source meter channel is deemed to meet the source output requirements.
[0033] Measurement parameters include measurement type, measurement range, and allowable error. The measurement type defines whether the measured voltage or current is being measured, the measurement range defines the signal interval where the expected measured value lies, and the allowable error defines the accuracy requirements of the test task. For a digital source meter channel that meets the source output requirements, its supported measurement types, selectable measurement ranges, and measurement errors are read. When a digital source meter channel supports a measurement type, at least one selectable measurement range covers the measurement range, and the measurement error corresponding to that selectable measurement range is not higher than the allowable error, the digital source meter channel is identified as a candidate channel.
[0034] Before determining the sampling window, the pulse start time is converted to the unified time base used by the digital source table. The pulse start time represents the moment when a beam pulse begins to output, the pulse width represents the duration of the beam pulse from the start to the stop of output, and the pulse period represents the time interval between the start times of two adjacent beam pulses. For the k-th beam pulse, its pulse start time is determined according to the following formula:
[0035] in, This indicates the pulse start time of the k-th beam pulse. This indicates the pulse start time of the first beam pulse. The pulse period is represented by k, which represents the sequential number of the beam pulses and can be zero or a positive integer. The pulse width is denoted as... Its settings satisfy This ensures that each beam pulse has a defined pulse phase and pulse interval phase, with the duration of the pulse interval phase being [missing information]. .
[0036] The sampling phase is used to define the position of the measurement data relative to the beam pulse, including the pulse phase, pulse interval phase, rising edge, and falling edge. In addition to representing the beam phase, the sampling phase also includes the phase offset within that beam phase, which represents the time offset of the sampling window center relative to the start time of the corresponding pulse. The sampling window center is determined based on the sampling phase, and then extended forward and backward according to the sampling duration to obtain the sampling window corresponding to the k-th beam pulse.
[0037] in, This represents the sampling window corresponding to the k-th beam pulse. This indicates the phase offset corresponding to the sampling phase. This indicates the sampling duration. The sampling duration is used to limit the time range that a single measurement can take. Its value is greater than zero and is set according to the duration of the corresponding beam phase.
[0038] When the sampling phase is a pulse phase, the range of phase offset values satisfies: This range ensures that the sampling window starts no earlier than the pulse start time and ends no later than the beam pulse end time. In this case, the sampling duration is no greater than the pulse width. When the test task needs to avoid the rising and falling edges of the beam pulse, the phase offset can be set in the middle of the pulse phase, and the sampling duration can be appropriately shortened to reduce the impact of pulse edge changes on the measurement data.
[0039] When the sampling phase is during the pulse interval, the range of phase offset values satisfies: This range places the sampling window between the end of the current beam pulse and the start of the next beam pulse. In this case, the sampling duration is no greater than... When it is necessary to detect the recovery response of the device under test after the beam stops, the phase offset can be set to a position close to the end of the current beam pulse; when it is necessary to detect the steady state before the arrival of the next beam pulse, the phase offset can be set to the end of the pulse interval.
[0040] When the sampling phase is a rising edge, the sampling window center is set at the pulse start time; when the sampling phase is a falling edge, the sampling window center is set at the time corresponding to the sum of the pulse start time and the pulse width. Edge sampling allows the sampling window to span the boundary between the pulse phase and the pulse interval phase. The sampling duration is determined based on the minimum integration time of the digital source table and the duration of the beam edge. If the sampling duration is too long, the measurement data will include both the stable responses before and after the edge; if the sampling duration is too short, the measurement noise will increase relatively. Therefore, the sampling duration is set to be no less than the minimum integration time supported by the candidate channel and no greater than the edge change period to be observed.
[0041] After determining the sampling window, the trigger mode is read from the channel operating parameters corresponding to each candidate channel. The trigger mode indicates the control method for starting the measurement of the candidate channel, including external trigger, internal timing trigger, or command trigger. Beam trigger is a synchronous trigger signal output by the irradiation source or beam control equipment when the beam pulse arrives. Candidate channels that can receive the synchronous trigger signal or can configure the trigger delay according to the synchronous trigger signal are retained, while candidate channels that can only sample freely according to an uncorrelated internal clock are deleted.
[0042] Trigger response time represents the time required for the internal control circuit to recognize a valid trigger signal and proceed with subsequent output or measurement processing after the candidate channel receives the signal. Output stabilization time represents the time required for the actual output to reach a measurable stable state after the candidate channel completes its output value setting. For candidate channels that have maintained stable output before the test begins, the output stabilization time corresponding to the current measurement node can be treated as zero; for candidate channels that need to switch output values within the current beam cycle, the complete output stabilization time recorded in the channel operating parameters is used.
[0043] The integration time represents the duration for a candidate channel to continuously acquire the input signal and form a measurement value. The integration time range represents the minimum to maximum integration time allowed for the candidate channel. For the i-th candidate channel, its integration time... Select from the corresponding integration time range, and satisfy:
[0044] in, This represents the minimum integration time allowed for the i-th candidate channel. This represents the maximum integration time allowed for the i-th candidate channel. This indicates the sampling duration. The integration time must not exceed the sampling duration; otherwise, the time range for a candidate channel to form a measurement value will exceed the sampling window. While meeting timing requirements, the integration time can be set to a larger value within the allowable range to improve the stability of the measurement data. When observing rapid changes in the pulse edge, the integration time should be set to a value close to the lower limit of the allowable range to reduce the time averaging of rapidly changing signals.
[0045] For candidate channels that support trigger delay, the trigger delay is determined based on the sampling window center, trigger response time, output settling time, and integration time. The trigger delay is set according to the following formula:
[0046] in, This represents the trigger delay of the i-th candidate channel. This represents the center time of the k-th sampling window. This indicates the beam triggering time corresponding to the sampling phase. This represents the trigger response time of the i-th candidate channel. This represents the output settling time of the i-th candidate channel. This represents the integration time selected for the i-th candidate channel. The center of the sampling window is determined by the average of the start and end times of the sampling window.
[0047] The aforementioned trigger delay is derived from the sampling center alignment relationship. The candidate channel receives the trigger signal at the beam trigger moment, and after the trigger delay, trigger response time, and output settling time, it begins integration. The center of the integration process is located halfway through the integration time after the start of integration. Aligning this integration center with the center of the sampling window yields the trigger delay. The trigger delay should be within the allowable trigger delay range for the candidate channel and must not be less than zero. If the calculated trigger delay is less than zero, it indicates that the candidate channel cannot enter the sampling window promptly after receiving the current beam trigger, and the candidate channel should be deleted.
[0048] The actual sampling period for the i-th candidate channel is determined based on the trigger delay. The start and end times of the actual sampling period are determined according to the following formulas:
[0049] in, This indicates the actual sampling start time of the i-th candidate channel. This represents the actual end time of sampling for the i-th candidate channel. The actual start and end times of sampling are compared with the start and end times of the sampling window, respectively. Only when the actual start time of sampling is not earlier than the start time of the sampling window and the actual end time of sampling is not later than the end time of the sampling window is the actual sampling period of the corresponding candidate channel determined to be within the sampling window.
[0050] For each candidate channel whose actual sampling period falls within the sampling window, determine the center time of the actual sampling period and calculate the time deviation between the center time of the actual sampling period and the center time of the sampling window: in, This represents the time deviation corresponding to the i-th candidate channel. The smaller the time deviation, the closer the actual integration process of the candidate channel is to the center of the sampling window, and the more balanced the remaining time from the actual sampling period to the front and back boundaries of the sampling window. When the integration times are the same or similar, comparing them according to the center time can reduce the possibility that the actual sampling period may cross the sampling window due to changes in trigger response, beam period fluctuations, or communication scheduling errors.
[0051] The candidate channel with the smallest time deviation is selected as the target channel, and its integration time, triggering method, triggering delay, actual sampling period, and sampling window are recorded. If multiple candidate channels have the same time deviation, the candidate channel with the lower measurement error is selected; if the measurement errors are still the same, the candidate channel that is not currently performing other test tasks is selected. If there is no candidate channel whose actual sampling period is within the sampling window, it is determined that the current execution parameters cannot be executed by the existing digital source table channel, and the channel will not proceed to the subsequent test sequence generation process.
[0052] After determining the target channel, the target channel, sampling window, integration time, triggering method, and triggering delay are written into the current test task. Subsequently, the channel operation parameters corresponding to the target channel are called to perform constraint verification on the source parameters, measurement parameters, sampling duration, and termination conditions. Based on the verified sampling window, integration time, and triggering delay, a test sequence is generated to ensure that the measurement nodes in the test sequence correspond to the beam pulses.
[0053] In one possible implementation, after establishing communication with the target channel, the currently effective channel operating parameters are read. The read content uses the actual return values from the instrument, not directly using the configuration saved in historical tasks. Output constraints characterize the source modes, output range, limit range, and output protection boundaries that the target channel can support; measurement constraints characterize the measurement range and measurement accuracy that the target channel can support; timing constraints characterize the trigger response, output stability, integral sampling, and the allowed time setting range of the internal clock. The buffer capacity uses the amount of data storage that the target channel can currently use for the test task; the calibration status indicates whether the calibration results of the channel are within the validity period; and the protection status indicates whether protection functions such as current limiting, voltage limiting, overload, and output shutdown are available or have been triggered.
[0054] The source mode in the source parameters indicates whether the target channel uses voltage or current output mode. The output value represents the actual voltage or current value applied to the port of the device under test during testing, and the limit value represents the maximum allowable current or maximum allowable voltage corresponding to the output value. During verification, first confirm whether the target channel supports source mode, then compare the output value with the output range corresponding to the source mode, and simultaneously compare the limit value with the corresponding limit range. If the target channel supports source mode, and neither the output value nor the limit value exceeds the output constraints, the output verification result is recorded as verification passed. If the source mode is not supported, or any setting exceeds the allowable range of the target channel, the failure status and corresponding parameter are recorded in the output verification result, and this parameter will not be used for subsequent test sequence generation.
[0055] The measurement range represents the interval where the measured signal is expected to be located, and the allowable error represents the acceptable deviation of the measurement result for the test task. During measurement verification, a channel range that covers the measurement range is selected from the measurement constraints, and the corresponding measurement error is read. If the channel range covers the measurement range and its measurement error is not higher than the allowable error, the measurement parameters meet the basic measurement requirements. Subsequently, the calibration status is checked. If the calibration status is valid, the target channel is confirmed to have measurement validity. If the calibration status is invalid, expired, or calibration information is missing, even if the range and error meet the requirements, the measurement verification result will be recorded as verification failure to prevent zero-point drift or gain deviation of the target channel itself from being mixed into the measurement data.
[0056] The target sampling window is determined based on the actual timing of the beam pulses. Among the beam timing parameters, the pulse start time determines the starting position of a single beam pulse, the pulse width determines the duration of continuous beam output, and the pulse period determines the repetition interval between adjacent beam pulses. The sampling phase specifies whether the measurement occurs during the pulse phase, the pulse interval phase, or the pulse edge, while the sampling duration limits the time range occupied by a single measurement. The start and end times of the target sampling window are determined according to these parameters, ensuring that the target sampling window is within the beam phase specified by the sampling phase.
[0057] The timing constraints record the trigger response time required for the target channel to start measurement from receiving the trigger, the output stabilization time required for the output to reach a steady state, the integration time required to form measurement data, and the allowed trigger delay. Based on these time parameters, the actual sampling period during which the target channel can perform measurements is determined. The start time of the sampling period must not be earlier than the start time of the target sampling window, and the end time must not be later than the end time of the target sampling window. If the target channel can complete one full sampling within the target sampling window, the timing verification result is recorded as verification passed; if the sampling period crosses the beam stage boundary, the integration time is greater than the sampling duration, or the trigger response is too slow, the timing verification result is recorded as verification failed.
[0058] The sampling quantity represents the amount of measurement data that the current test task plans to acquire. Before cache verification, the occupied quantity of the target channel's cache is read, and the occupied quantity is subtracted from the cache capacity to obtain the currently available cache capacity. If the sampling quantity does not exceed the currently available cache capacity, the target channel can completely save the measurement data generated in this test, and the cache verification result is recorded as verification passed. If the sampling quantity exceeds the currently available cache capacity, instead of overwriting old data or silently discarding data, execution continues. Instead, insufficient capacity is recorded in the cache verification result to avoid missing measurement data after the test ends.
[0059] The stop threshold indicates the numerical condition at which the measured data stops the test. The consecutive count indicates the number of consecutive samples that must be satisfied for that numerical condition. The protection condition indicates the protection state of the target channel at which the test stops immediately. When verifying the stop threshold, ensure it is within the range that the measurement constraints can recognize, and check that the measurement object corresponding to the stop threshold is consistent with the current measurement range. The consecutive count should be a valid positive integer and must not exceed the number of samples; otherwise, the test task cannot form a valid continuous judgment before all samples are completed. When verifying the protection condition, map the protection condition to the protection state, and confirm that the target channel can recognize and return the corresponding current limiting, voltage limiting, overload, or output shutdown state. If all of the above conditions are met, the stop verification result is recorded as verification passed.
[0060] After each verification result is generated, it is checked item by item according to the output verification result, measurement verification result, timing verification result, buffer verification result, and aborted verification result. If any verification result fails, the corresponding reason for failure and parameter position are retained, and the current test task does not enter the valid state. If all verification results pass, the target channel, target sampling window, and the source parameters, measurement parameters, sampling phase, sampling duration, beam timing parameters, and aborted conditions that have been verified are written into the test task. At the same time, the test task status is updated to valid, forming a valid test task. When generating test sequences subsequently, the target channel, target sampling window, execution parameters, and aborted conditions in the valid test task are directly read.
[0061] In one possible implementation, after generating the test sequence, the node type, node parameters, and execution order of each test node are read sequentially. A test node represents an independent execution stage in a test task, which may include output setting, trigger waiting, signal measurement, and condition judgment. The node type identifies the operation that the test node needs to complete; the node parameters record the required output value, limit value, range, integration time, trigger delay, or number of samples for the corresponding operation; and the execution order determines the sequential execution relationship of each test node. The triggering relationship between adjacent test nodes defines the state at which the preceding test node starts the following test node, and the parameter passing relationship defines whether the parameters or measurement data generated by the preceding test node are continued to be used by the following test node.
[0062] The instruction mapping rules and communication parameters are read from the channel operation parameters of the target channel. The instruction mapping rules record the correspondence between different node types and the instructions that can be recognized by the digital source table, so that test nodes such as output settings, range settings, trigger configurations, and measurement readouts can be converted into corresponding control instructions. The communication parameters are used to define how instructions are organized in the communication link, including the communication interface, instruction format, character encoding, frame structure, and end marker.
[0063] Based on the node type of each test node, the query instruction mapping rules are used to determine the corresponding instruction template. The instruction template is a pre-saved basic instruction structure, with reserved parameter positions for writing node parameters. The node parameters from the test node are written into the corresponding parameter positions and processed according to the numerical format, field order, and character encoding required by the target channel to form instruction units recognizable by the target channel. Each instruction unit corresponds to one test node, and the node identifier of that test node is recorded to maintain the correspondence during subsequent transmission and data reception.
[0064] After generating each instruction unit, they are arranged according to the execution order of the test nodes. For adjacent instruction units with triggering relationships, it is checked whether the completion status of the previous instruction unit can serve as the starting condition for the next instruction unit; for adjacent instruction units with parameter passing relationships, it is checked whether the parameters required by the next instruction unit have already been formed by the previous instruction unit. After verification, the arranged instruction units are written into the instruction queue in sequence. The instruction queue records the node identifier, sending order, and triggering condition of each instruction unit, for subsequent transmission to the target channel according to the execution timing of the test sequence.
[0065] In one possible implementation, instruction units corresponding to each test node are read sequentially according to the execution order of the test nodes in the test sequence. The execution order indicates the sequential position of each instruction unit during the test process, and the triggering relationship limits whether the transmission of the instruction unit corresponding to the next test node is allowed after the previous test node completes, reaches a set state, or returns a valid response. The node parameters record information such as output stabilization time, trigger delay, integration time, and number of samples, thereby determining the transmission time of each instruction unit and setting a node time limit for each instruction unit. The node time limit represents the maximum time to wait for a valid response from the target channel after the instruction unit is sent.
[0066] Sending records are established separately for each node. The node identifier is a unique number for the test node, used to associate the test node, command unit, response information, and measurement data. The sending status records whether the command unit has not yet sent, has sent, is being resent, or has stopped sending; the response status records whether there has been no response, a successful response, or an abnormal response. The sending time records the actual time the command unit sent the command, facilitating determination of whether the node time limit has been exceeded.
[0067] Upon reaching the transmission time, the corresponding instruction unit is located in the instruction queue according to the node identifier, and transmission is completed according to the communication parameters of the target channel. The communication parameters specify the communication interface, transmission format, character encoding, and end marker used by the instruction unit. After the instruction unit is issued, the transmission status in the transmission record is updated to "transmitted," and the system begins waiting for the target channel to return a response according to the node time limit.
[0068] After the target channel completes instruction parsing or execution, it returns a response message. Upon receiving the response message, the node identifier is extracted and compared with the node identifier corresponding to the instruction unit currently awaiting a response. If they match, the response message is confirmed to belong to the current instruction unit, the response status is updated to successful, and then the subsequent instruction unit is sent according to the triggering relationship. If the previous test node has not yet satisfied the triggering relationship, the subsequent instruction unit remains in a waiting state.
[0069] If no response with the same node identifier is received within the node's time limit, the response status is updated to "response error," and the current command unit is resent. The resent unit retains the original node identifier, ensuring that the response information returned by the target channel can continue to be associated with the same test node. If no valid response is received after the node's time limit, the current command unit is marked as having failed, and the sending of subsequent command units with a triggering relationship to this unit is stopped, preventing subsequent test nodes from continuing execution before the preliminary operations are completed.
[0070] After the target channel executes the instruction unit corresponding to the measurement node, it returns the collected measurement data. The measurement data carries at least a node identifier, and may also include the sampling sequence number, sampling time, measured value, and protection status if necessary. Upon receiving the measurement data, it is associated with the corresponding measurement node in the test sequence according to the node identifier, and arranged according to the sampling sequence number or sampling time for subsequent determination based on the termination condition and generation of test results.
[0071] In one possible implementation, upon receiving measurement data returned from the target channel, a determination is made based on the termination conditions in the valid test task. The termination conditions define the triggering requirements for early termination of the test task and may include a termination threshold, a consecutive number of occurrences, and protection conditions. The termination threshold represents the allowed boundary value of the measurement data; the consecutive number of occurrences indicates that termination is confirmed only after the measurement data continuously reaches the termination threshold; and the protection conditions indicate that the test needs to be stopped when the target channel enters a current-limiting, voltage-limiting, overload, or output protection state. The determination result indicates whether the current measurement data has met the termination conditions.
[0072] When the judgment result indicates that the measurement data has not met the termination condition, the sending and response status of each instruction unit in the instruction queue is queried. An incomplete instruction queue means that there are still instruction units that have not been sent or have not completed their responses. At this point, according to the execution order and triggering relationship of each test node in the test sequence, the subsequent instruction that meets the sending condition after the current test node is selected and sent to the target channel. After the target channel completes the subsequent instruction, it continues to return the corresponding measurement data until the instruction queue is completed or the subsequent measurement data meets the termination condition.
[0073] When the judgment result indicates that the measurement data has not met the termination condition, and all instruction units in the instruction queue have completed sending and responding, the test task status is determined to be normally completed. The node identifier, node parameters, execution status, and execution time of each test node in the executed test sequence are read, and each test node is associated with its corresponding measurement data based on the node identifier. The executed test sequence represents the set of test nodes that have been completed by the target channel during the test process, and the corresponding measurement data represents the actual measurement values returned by each measurement node. The measurement data is arranged according to the execution order of the test nodes, and the test task status, node parameters, execution status, and measurement data are combined to form the test result.
[0074] When the determination result indicates that the measurement data has reached the termination condition, the extraction of subsequent instructions from the instruction queue is stopped, and a termination instruction is sent to the target channel. The termination instruction is used to control the target channel to stop the current output, terminate subsequent measurements, and enter a preset safety state. After receiving the termination response from the target channel, the test task status is determined to be prematurely terminated, and the node identifier that triggered the termination condition, the measurement data, the termination condition, and the termination time are recorded.
[0075] When generating test results for early termination, only test nodes that have been executed before the termination command is sent and their corresponding measurement data are extracted. Test nodes that have not yet been sent or completed are not counted as valid test content. Each test node is arranged according to the executed test sequence, and the test task status, actual completion range, measurement data that triggered termination, termination location, and protection status returned by the target channel are written into the test results. Therefore, both normal completion and early termination use the same test result structure, the difference being the test task status, actual completion range, and whether termination information is included.
[0076] In one possible implementation, when generating test results, the node identifier, target parameters, sampling quantity, judgment rules, execution period, and execution status corresponding to each test node are first read from the test sequence. The node identifier is used to uniquely correspond to a test node and serves as the basis for subsequent association of measurement data; the target parameters represent the preset output requirements or measurement requirements of the test node; the sampling quantity represents the number of measurement data that the test node should obtain; the judgment rules are used to limit the processing method of measurement data and the result judgment conditions; the execution period represents the time range corresponding to the actual start and end of the execution of the test node; the execution status is used to record whether the test node has been completed, ended early, or experienced an execution error.
[0077] Based on the execution status of each test node, test nodes that have started and generated valid execution records are retained, while test nodes that have not yet been executed are excluded. The retained test nodes are arranged in chronological order of their execution time periods, forming an execution node sequence. This execution node sequence reflects the actual testing process completed by the test task, and its order corresponds to the order in which the target channel executes each test node.
[0078] The measurement data returns with a node identifier and sampling time. The corresponding test node is located based on the node identifier, and the sampling time is used to verify whether the measurement data falls within the execution period of that test node. Measurement data with the same node identifier and sampling time within the corresponding execution period are included in the node dataset of that test node. Measurement data with inconsistent node identifiers or sampling times outside the corresponding execution period are not considered valid measurement data for that test node.
[0079] After forming the node dataset, the actual number of data points in the node dataset is compared with the sampling number of the corresponding test nodes. When the actual number of data points in the node dataset reaches the sampling number, the integrity check result is recorded as data complete; when the actual number of data points is insufficient, the integrity check result is recorded as data incomplete. Measurement data that is returned repeatedly, has abnormal node identifiers, or whose sampling time does not match the execution period is discarded during integrity check, and the remaining measurement data forms the valid dataset.
[0080] The valid dataset is processed according to the decision rules of the corresponding test node. The decision rules can be limited to single measurements, the last measurement, the average measurement, or a measurement sequence formed according to the sampling order. The processed node measurement result represents the actual measurement result formed by that test node. Different test nodes call their own corresponding decision rules, ensuring that measurement data from other test nodes are not mixed into the current test node.
[0081] The node measurement results are compared with the corresponding target parameters to form the node deviation. The node deviation is used to represent the difference between the actual measurement result and the preset requirement. When the target parameter is a target voltage, target current, or target measurement range, the node deviation is compared separately for the same measurement object, and is not cross-calculated between different measurement objects.
[0082] By combining node deviation, execution status, and integrity verification results, node results are generated for each test node. Node results record whether the test node was completed, whether the measurement data is complete, whether the node measurement results meet the target parameters, and whether there was premature termination or execution anomalies. Each node result is saved in the order of the execution node sequence, ensuring that the test results reflect the execution order of each test node during the actual testing process.
[0083] The task status is determined based on the execution status of the last test node in the execution node sequence. If the last test node is the final test node in the test sequence and completes its execution, the task status is recorded as "normally completed"; if the last test node ends due to a termination condition, the task status is recorded as "early termination"; if the last test node ends due to communication errors, instruction execution errors, or measurement data errors, the task status is recorded as "execution error". Finally, the task status and the results of each node are combined according to the execution node sequence to form the test result.
[0084] This embodiment also discloses a processing device for digital source table test tasks, referring to... Figure 4 The device includes an acquisition module 401, a processing module 402, and an output module 403. It is used to execute a processing method for any of the digital source table test tasks described above, wherein: The acquisition module 401 is used to acquire the channel operation parameters and test tasks to be executed from the digital source table. The test tasks include execution parameters and termination conditions. The processing module 402 is used to determine the target channel based on the execution parameters, call the channel running parameters corresponding to the target channel, perform constraint verification on the execution parameters and termination conditions, and obtain a valid test task. Processing module 402 is used to convert the test sequence generated based on the valid test task into an instruction queue; The processing module 402 is used to send an instruction queue to the target channel according to the execution sequence of the test sequence and to receive the measurement data returned by the target channel. The output module 403 is used to determine the measurement data according to the termination conditions in the valid test task, and further generate test results based on the determination results.
[0085] It should be noted that the above embodiments of the apparatus are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0086] This embodiment also discloses an electronic device, as shown in the reference. Figure 5 The electronic device may include: at least one processor 501, at least one communication bus 502, user interface 503, network interface 504, and at least one memory 505.
[0087] The communication bus 502 is used to enable communication between these components.
[0088] The user interface 503 may include a display screen and a camera. Optionally, the user interface 503 may also include a standard wired interface and a wireless interface.
[0089] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0090] The processor 501 may include one or more processing cores. The processor 501 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 505, and by calling data stored in memory 505. Optionally, the processor 501 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 501 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 501 and may be implemented as a separate chip.
[0091] The memory 505 may include random access memory (RAM) or read-only memory. Optionally, the memory may include a non-transitory computer-readable storage medium. The memory 505 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 505 may also be at least one storage device located remotely from the aforementioned processor 501. As a computer storage medium, the memory 505 may include an operating system, a network communication module, a user interface 503 module, and an application program for processing a digital source table test task.
[0092] In the electronic device, the user interface 503 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 501 can be used to call the application program stored in the memory 505 to process a digital source table test task. When executed by one or more processors 501, the electronic device executes one or more methods as described in the above embodiments.
[0093] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, as some steps can be performed in other orders or simultaneously according to the present invention. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0094] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0095] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.
[0096] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0097] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0098] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory 505 and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned memory 505 includes various media capable of storing program code, such as a USB flash drive, external hard drive, magnetic disk, or optical disk.
[0099] The present invention also discloses a non-transitory computer-readable storage medium storing instructions. When executed by one or more processors 501, these instructions cause an electronic device to perform one or more methods as described in the above embodiments.
[0100] The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for processing a digital source table test task, characterized in that, The method includes: Obtain the channel operation parameters and test tasks to be executed from the digital source table, wherein the test tasks include execution parameters and termination conditions; The target channel is determined based on the execution parameters, and the channel operation parameters corresponding to the target channel are called to perform constraint verification on the execution parameters and the termination conditions to obtain a valid test task; The test sequence generated based on the valid test task is converted into an instruction queue; The instruction queue is sent to the target channel according to the execution sequence of the test sequence, and the measurement data returned by the target channel is received. The measurement data is judged according to the termination condition in the valid test task, and test results are generated based on the judgment result.
2. The method for processing a digital source table test task according to claim 1, characterized in that, The process of generating test results based on the judgment results specifically includes: When the measurement data does not meet the termination condition and the instruction queue has not been completed, continue to send subsequent instructions in the instruction queue to the target channel; When the measurement data does not meet the termination condition and the instruction queue has been completed, the test result is generated based on the executed test sequence and the corresponding measurement data. When the measurement data reaches the termination condition, a termination command is sent to the target channel, and the test result is generated based on the executed test sequence and the corresponding measurement data.
3. The method for processing a digital source table test task according to claim 2, characterized in that, The step of generating the test result based on the executed test sequence and the corresponding measurement data specifically includes: Read the node identifier, target parameters, number of samples, judgment rules, execution time period and execution status of each test node in the test sequence; Executed test nodes are selected based on the execution status, and an execution node sequence is formed according to the execution time period; Based on the node identifier and the execution time period, the measurement data is associated with the corresponding test node in the execution node sequence to form a node dataset corresponding to each test node; The integrity of the node dataset is verified based on the number of samples to obtain the valid dataset and verification result for each test node. The valid dataset is processed according to the aforementioned determination rules to obtain node measurement results; The node measurement results are compared with the corresponding target parameters to obtain the node deviation; The node results corresponding to each test node are generated by combining the node deviation, the execution status, and the verification result. The task status is determined according to the execution status of the last test node in the execution node sequence. The node results and the task status are combined according to the execution node sequence to generate the test results.
4. The method for processing a digital source table test task according to claim 1, characterized in that, The execution parameters include port identifier, source parameters, measurement parameters, sampling phase, sampling duration, and beam timing parameters. The beam timing parameters include pulse start time, pulse width, and pulse period. Determining the target channel based on the execution parameters specifically includes: Based on the port identifier, digital source meter channels electrically connected to the port of the device under test are selected, and based on the source parameters and the measurement parameters, candidate channels that meet the source output requirements and measurement requirements are determined from the selected digital source meter channels. Based on the sampling phase, the sampling duration, and the beam timing parameters, the sampling window within the corresponding beam phase is determined; The triggering method, triggering response time, output stabilization time and integration time range are extracted from the channel operating parameters corresponding to each candidate channel. The candidate channels that support beam triggering are selected according to the triggering method. The actual sampling period corresponding to each candidate channel is determined based on the triggering response time, the output stabilization time and the integration time selected from the integration time range that matches the sampling duration. The candidate channel whose actual sampling period is within the sampling window and whose time deviation between the center time of the actual sampling period and the center time of the sampling window is the smallest is determined as the target channel.
5. The method for processing a digital source table test task according to claim 4, characterized in that, The measurement parameters include measurement range, allowable error, and number of samples; the termination conditions include termination threshold, number of consecutive tests, and protection conditions; the channel operation parameters include output constraints, measurement constraints, timing constraints, buffer capacity, calibration status, and protection status; the step of calling the channel operation parameters corresponding to the target channel, performing constraint verification on the execution parameters and the termination conditions, and obtaining a valid test task specifically includes: The source mode, output value, and limit value of the source parameter are verified using the output constraints to obtain the output verification result. The measurement range and allowable error are verified by the measurement constraints, and the measurement validity of the target channel is determined by combining the calibration status to obtain the measurement verification result. The target sampling window is determined by combining the sampling phase, the sampling duration, and the beam timing parameters. The sampling period of the target channel is determined according to the timing constraints. The timing verification result is obtained by comparing the sampling period with the target sampling window. The number of samples is compared with the cache capacity to obtain the cache verification result; Based on the measurement constraints, the number of samples, and the protection status, the termination threshold, the number of consecutive steps, and the protection conditions are verified to obtain the termination verification result. When the output verification result, the measurement verification result, the timing verification result, the cache verification result, and the abort verification result all indicate that the verification is successful, the target channel, the target sampling window, the verified execution parameters, and the abort condition are written into the test task to obtain the valid test task.
6. The method for processing a digital source table test task according to claim 1, characterized in that, The step of converting the test sequence generated based on the valid test task into an instruction queue specifically includes: Extract the node type, node parameters, execution order, triggering relationship, and parameter passing relationship between adjacent test nodes in the test sequence; Obtain instruction mapping rules and communication parameters from the channel operation parameters corresponding to the target channel, and determine the corresponding instruction template for each test node based on the node type and the instruction mapping rules; The node parameters are written into the corresponding instruction template, and the instruction template containing the node parameters is encoded according to the communication parameters to obtain the instruction unit corresponding to each test node. The instruction units are arranged in the execution order, and adjacent instruction units are verified according to the triggering relationship and the parameter passing relationship to obtain the instruction queue.
7. The method for processing a digital source table test task according to claim 6, characterized in that, The step of sending the instruction queue to the target channel according to the execution sequence of the test sequence and receiving the measurement data returned by the target channel specifically includes: Based on the execution order of the test nodes, the triggering relationship, and the node parameters, the sending time and node time limit corresponding to each instruction unit are determined, and a sending record including node identifier, sending status, response status, and sending time is established. When the transmission time is reached, the corresponding instruction unit is extracted from the instruction queue according to the node identifier, and the instruction unit is sent according to the communication parameters corresponding to the target channel; The response information returned by the target channel is matched with the node identifier. When the response information matches the node identifier, the response status in the sending record is updated, and subsequent instruction units are sent according to the triggering relationship. If the response information matching the node identifier is not received within the node time limit, the corresponding instruction unit is resent. If the response information is still not received after the node time limit, the sending of instruction units with subsequent triggering relationships with the corresponding instruction unit is stopped. The measurement data returned by the instruction unit corresponding to the target channel measurement node after receiving the measurement data includes the node identifier.
8. A processing device for a digital source table test task, characterized in that, The apparatus is used to execute a processing method for a digital source table testing task as described in any one of claims 1-7, the apparatus comprising an acquisition module, a processing module, and an output module, wherein: The acquisition module is used to acquire the channel operating parameters and test tasks to be executed from the digital source table. The test tasks include execution parameters and termination conditions. The processing module is used to determine the target channel based on the execution parameters, and call the channel operation parameters corresponding to the target channel to perform constraint verification on the execution parameters and the termination conditions to obtain a valid test task; The processing module is used to convert the test sequence generated according to the valid test task into an instruction queue; The processing module is used to send the instruction queue to the target channel according to the execution sequence of the test sequence, and to receive the measurement data returned by the target channel; The output module is used to determine the measurement data according to the termination condition in the valid test task, and further generate test results based on the determination result.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a computer program, wherein the computer program, when executed by the processor, implements a method for processing a digital source table test task as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform a processing method for a digital source table test task as described in any one of claims 1-7.
