A method of matching a unit under test connector to an adapter front panel connector
Patent Information
- Application Number
- CN202610530309.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-21
- Publication Date
- 2026-08-18
AI Technical Summary
[0006]本发明的目的在于克服现有自动化测试系统中适配器前面板连接器选择依赖人工设计、匹配逻辑单一且缺乏全局优化的缺陷,解决传统顺序匹配方法导致的连接器使用频率严重不均、单个连接器即可满足需求却过度启用多个连接器引发的测试线缆制作成本高及连接复杂等问题,同时弥补现有相关专利未涉及适配器前面板连接器选择优化策略的不足,通过建立连接器重要度排序机制与匹配度、富裕度定量计算模型,实现适配器前面板连接器的科学适配与全局最优选择,既提升连接器使用均衡性与资源利用率,减少不必要的连接器启用,降低测试线缆制作成本与连接复杂度,又能优先保障关键测试需求的满足,确保测试系统核心功能性能稳定,进而降低对测试工艺人员的依赖,推动通用自动化测试平台的高效推广与应用
1)本技术方案实现了连接器适配的科学量化与全局优化,彻底替代了现有技术中人工主观匹配的方式。方案通过信号权重与通道数加权计算,量化被测单元连接器Ⅱ的重要度并按优先级适配,保障核心信号对应的连接器优先获得最优资源;同时设计匹配度和富裕度双重定量指标,分层筛选确定最优适配方案,让适配决策标准化、科学化,大幅降低对测试工艺人员经验的依赖。
Smart Images

Figure CN122592282A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of automated testing technology, and in particular relates to a matching method between the connector of the unit under test and the front panel connector of the adapter, which is applicable to the development scenario of a signal-oriented test system. Background Technology
[0002] In the field of automated testing, versatility has become a core development trend, and test system modeling is a key link in achieving versatility. Among them, the modeling of the adapter front panel involves complex requirements such as signal matching and channel allocation, which not only has the largest workload but is also the most complex part of the entire modeling process.
[0003] In existing technologies, the traditional design method for adapter front panel connectors relies entirely on manual design and has a simplistic matching logic: it only matches the signal types and channel counts of each connector on the unit under test (UUT) according to the order of the number of signal channels that the adapter front panel connector can access—that is, when the number of signal channels of a connector is insufficient, the channel of the next connector is directly activated. While this design approach is simple to operate, it lacks a global optimization mindset, leading to two major problems: 1) The first few connectors on the front panel of the adapter are used intensively for a long time, while the connectors at the back are used very infrequently or even left idle. This not only wastes testing resources, but also brings great challenges to the later maintenance of the adapter, increasing maintenance costs and difficulties. 2) In some scenarios, a single adapter front panel connector can meet the connection requirements between the UUT and the test station. However, the traditional method still requires multiple connectors, which significantly increases the manufacturing cost of test cables and complicates the cable connection relationship, reducing the ease of use and stability of the test system.
[0004] Further analysis of existing related technical solutions reveals that existing technical literature has not yet solved the aforementioned core problems, such as: The patent document with publication number CN119881611A discloses a test system model generation method. In view of the shortcomings of traditional test system modeling that does not consider third-party equipment, it proposes a unified modeling method for establishing virtual indicators for UUT and third-party equipment. It mentions generating adapter models and test cable models based on mapping relationships and adapter front panel constraints, but does not disclose the specific generation logic, and does not involve the relevant design of adapter front panel connector usage frequency balance and utilization optimization. The patent documents with publication numbers CN117493239A and CN117371378A address scenarios with and without switches in the test station, respectively, and solve the problem of low efficiency in manual configuration of adapter and cable mapping. The core idea is to determine whether the adapter meets the test requirements based on the number of signal channels supported by the front panel of the adapter. However, they do not involve the design of the selection strategy for the adapter front panel connectors, and cannot solve the problem of uneven use and overuse of connectors.
[0005] In summary, the shortcomings of traditional design methods and the deficiencies of existing patented technologies have limited the promotion and application of general-purpose automated test platforms. Therefore, there is an urgent need to design a scientific and efficient method for optimizing adapter front panel connectors to improve the balance of connector usage frequency, reduce test cable manufacturing costs, simplify connection complexity, and promote the large-scale application of general-purpose automated test platforms. Summary of the Invention
[0006] The purpose of this invention is to overcome the shortcomings of existing automated testing systems, such as reliance on manual design for adapter front panel connector selection, simplistic matching logic, and lack of global optimization. It addresses issues such as uneven connector usage frequency caused by traditional sequential matching methods, and the high cost and complex connections of test cables due to the overuse of multiple connectors when a single connector could meet the requirements. Furthermore, it compensates for the lack of optimization strategies for adapter front panel connector selection in existing related patents. By establishing a connector importance ranking mechanism and a quantitative calculation model for matching degree and redundancy, it achieves scientific adaptation and globally optimal selection of adapter front panel connectors. This improves connector usage balance and resource utilization, reduces unnecessary connector activation, lowers test cable manufacturing costs and connection complexity, prioritizes the fulfillment of critical testing requirements, ensures the stable performance of the core functions of the testing system, reduces reliance on testing personnel, and promotes the efficient promotion and application of general-purpose automated testing platforms.
[0007] This application achieves the above objectives through the following technical solution: A mating method between the connector of the unit under test and the front panel connector of the adapter includes the following steps: S1, for the test currently required. For each target unit under test (UUT), count the total number of connectors II currently being tested within it. And sort them by importance from highest to lowest. The connectors are sorted according to their respective specifications. This indicates the connector II number sorted by importance; where , , This indicates that connector II has the highest importance. S2, for those already used in the current test For each target adapter, count the total number of connectors I currently being tested on its front panel. ;in ; S3, Initialization Number ; S4, for the numbered Connector II performs optimal matching with connector I; this includes calculating the matching degree and redundancy of each connector I to connector II, and combining the matching degree and redundancy to determine the optimal connector I adaptation scheme for connector II. S5, determine if the condition is met. If yes, proceed to step S6; otherwise, let Then, return to step S4; S6, Output In the target measured unit UUT Connector II and In each target adapter The final matching relationship of connector I.
[0008] Preferably, in step S1, the items are sorted from highest to lowest importance. The sorting of connectors II includes: S11, adopts Indicates the initial number of connector II, where ; S12, Statistics The total number of all signal types involved in the current test in connector II and adopt The number representing the signal type, where ; S13, targeting Each signal type is considered, and its weight is determined. ,and The sum of the weights of each signal type satisfies ; S14, for each individual connector II, the number of channels for each signal type within it is counted based on the interface definition data; using... Indicates the initial number is In connector II, numbered The number of channels involved in the signal type; S15, according to the formula Calculate the importance of each connector II separately. ; S16, based on importance From high to low, adopt According to Each connector II is numbered; S17, for each individual connector II, initialize the number of channels to be matched corresponding to each signal type; using Indicates the number is In connector II, numbered The number of channels to be matched for the signal type.
[0009] Preferably, in step S13, the weights of various signals are determined according to their hazard levels. The hazard levels are divided into four levels: Disaster Level 1, Severe Level 2, Moderate Level 3, and Minor Level 4, with corresponding weights of 0.4, 0.3, 0.2, and 0.1, respectively.
[0010] Preferably, in step S13, the weights of various types of signals are determined according to the signal type level. Among them, the signal type levels from high to low are power supply, control, status reporting and parameter acquisition, with corresponding weights of 0.4, 0.3, 0.2 and 0.1 respectively.
[0011] Preferably, in step S24, the interface definition-related information includes product technical protocols and product specifications.
[0012] Preferably, step S2 further includes initialization. The connector I parameter in each target adapter, namely: using Indicates the number of connector I, where For each individual connector I, initialize the remaining available channels for each signal type; using Indicates the number is In connector I, numbered The number of remaining available channels corresponding to the signal type.
[0013] Preferably, in step S4, the matching degree is calculated according to the following formula: ; in, Indicates the number is Connector I, numbered The compatibility of connector II; The smaller the calculated value, the higher the matching degree; Preferably, in step S4, the redundancy is calculated according to the following formula: ; in, Indicates the number is Connector I, numbered The abundance of connector II.
[0014] Preferably, in step S4, determining the optimal connector I adaptation scheme for connector II is done after determining the number... All signal types involved in Connector II Then, the following steps are included: S41, the number is determined to be All signal types involved in Connector II And obtain the number of channels to be matched accordingly. and the number of remaining available channels ; S42, using the number of channels to be matched and the number of remaining available channels Calculate the matching degree of each connector I to that connector II. And determine whether it exists. Connector I; if it does not exist, proceed to step S43; if it exists, proceed directly to step S47. S43, Statistical minimum matching degree Corresponding connector I and its quantity And determine whether it satisfies If not, proceed to step S44; if yes, mark the connector I as adapted to the current connector II, and proceed to step S45 based on the adaptation relationship. S44, using the number of channels to be matched and the number of remaining available channels Calculate the statistics separately The redundancy of connector I to connector II And based on wealth After determining and marking a connector I that is compatible with the current connector II based on the statistical results using the minimum principle, proceed to step S45 based on this compatibility relationship; S45, adjust the remaining matchable channel count for connectors I and II in the adaptation relationship to obtain the adjusted number of channels to be matched. and the number of remaining available channels ; S46, according to formula Calculate the total number of remaining unmatched channels for connector II. And determine whether it satisfies If not, then let , Then, return to step S42; if so, proceed to step S410. S47, Statistical Matching Degree Corresponding connector I and its quantity And determine whether it satisfies If not, proceed to step S48; if yes, mark the connector I as adapted to the current connector II, and proceed to step S49 based on the adaptation relationship. S48, using the number of channels to be matched and the number of remaining available channels Calculate the statistics separately The redundancy of connector I to connector II And based on wealth After determining and marking a connector I that is compatible with the current connector II based on the statistical results using the minimum principle, proceed to step S49 based on this compatibility relationship; S49, perform subsequent matchable channel number correction on connector I and connector II in the adaptation relationship to obtain the corrected number of channels to be matched. and the number of remaining available channels ; S410, count and temporarily store all connectors II that are compatible with the current connector I and their corresponding channel matching relationships, and let , Then, proceed to step S5.
[0015] Preferably, in steps S44 and S45, each individual signal type involved in connector I in the corresponding adaptation relationship is selected. Starting from this point, the number of subsequently matchable channels is adjusted; where: for those satisfying signal type ,make , For satisfying signal type ,make , . This indicates that before the current revision, the number was... In connector I, numbered The number of remaining available channels corresponding to the signal type; This indicates that after the current revision, the number is... In connector I, numbered The number of remaining available channels corresponding to the signal type; This indicates that before the current revision, the number was... In connector II, numbered The number of channels to be matched related to the signal type; This indicates that after the current revision, the number is... In connector II, numbered The number of channels to be matched for the signal type.
[0016] Preferably, in steps S44 and S48, when the statistical results show the minimum redundancy... If the number of corresponding connector I is greater than 1, then any one of the connector I will be randomly selected and marked as compatible with the corresponding connector II.
[0017] The beneficial technical effects of this invention are as follows: 1) This technical solution achieves scientific quantification and global optimization of connector adaptation, completely replacing the manual subjective matching method in existing technologies. The solution quantifies the importance of connector II of the unit under test by weighted calculation of signal weight and channel number, and adapts it according to priority, ensuring that the connector corresponding to the core signal receives the best resources first; at the same time, it designs dual quantitative indicators of matching degree and redundancy, and determines the optimal adaptation scheme through hierarchical screening, making the adaptation decision standardized and scientific, and greatly reducing the dependence on the experience of test process personnel.
[0018] 2) This technical solution effectively optimizes the utilization efficiency of adapter resources and solves the problem of uneven connector usage frequency in traditional matching methods. The solution abandons the single sequential matching logic and dynamically calculates the remaining available channels of connector I and performs cyclic matching to ensure that all connectors on the front panel of the adapter are used evenly, avoiding idle connectors at the back and reducing the later maintenance costs of the adapter; at the same time, it selects the adapter connector based on the principle of minimum redundancy, reducing unnecessary connector activation, saving test cable manufacturing costs from the source, and simplifying cable connection relationships.
[0019] 3) This technical solution automates and makes the entire adaptation process traceable, significantly improving the modeling efficiency of the test system. From connector quantity statistics and importance calculation to matching degree and redundancy solving, dynamic channel number correction, and finally matching relationship output, the entire process is executed automatically by the algorithm, supporting batch adaptation scenarios for single / multiple units under test and single / multiple adapters. During the adaptation process, a dynamic data management table is established to record information such as matching relationships, channel consumption, and indicator calculation results in real time, achieving full traceability and facilitating subsequent problem investigation and solution optimization.
[0020] 4) This technical solution boasts exceptional flexibility and versatility, adapting to various automated testing scenarios. Signal weight allocation supports free switching between hazard level and function type methods, and can be customized for different scenarios such as security testing and functional testing. If a certain type of signal is missing, the weight will be automatically normalized. The adaptation process is compatible with various scenarios such as single UUT independent testing and multi-UUT parallel testing. Connector parameter initialization supports batch operations, and the final standardized matching relationship can be directly connected to mainstream test system modeling software, facilitating the large-scale application of general automated testing platforms.
[0021] 5) This technical solution ensures that all test adaptation requirements are fully met through precise dynamic adjustment of the number of channels. For connector matching results, channel number adjustment rules are executed independently for each signal type, accurately reflecting resource consumption and unmet needs. If a single connector I cannot meet the adaptation requirements, the system will continuously filter connectors based on the adjusted remaining channel number until connector II has zero channels to be matched. If adaptation resources are insufficient, the system will automatically issue an alarm, prompting for resource replenishment or test plan adjustments to avoid test interruption.
[0022] 6) This technical solution effectively compensates for the shortcomings of existing patented technologies and improves the modeling system of automated testing systems. Existing related patents only solve problems such as compatibility with third-party devices and low efficiency of manual configuration of cable mapping, without addressing the selection and optimization strategy for adapter front panel connectors; while this solution is specifically designed to address the core pain point of connector matching, filling the gaps in existing technologies in terms of connector usage balance, resource utilization optimization, and adaptation priority control, providing key technical support for signal-oriented automated testing system modeling. Attached Figure Description
[0023] Figure 1 This is a basic implementation flowchart of the technical solution; Figure 2 This is a preferred implementation flowchart of the technical solution. Detailed Implementation
[0024] To make the purpose, technical solution and advantages of the invention clearer, the technical solution of the invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the invention, but not all embodiments.
[0025] Therefore, the following detailed description of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0026] Example 1 This embodiment discloses a matching method between the connector of the unit under test (DUT) and the front panel connector of the adapter. As a preferred embodiment of the invention, the connectors II of the DUT are first sorted by importance, prioritizing the adaptation needs of critical connectors. Then, the connectors II are adapted one by one according to the sorting result, and finally, a global matching relationship is output. This achieves orderly and priority-controlled adaptation work. The entire adaptation process is executed based on an automated algorithm, replacing manual subjective matching. The adaptation results can be directly connected to the modeling stage of the automated testing system, such as... Figure 1As shown, the specific steps include: S1, for the test currently required. One target measured unit UUT ( (Single UUT independent testing and multi-UUT parallel testing scenarios) Count the total number of Connector IIs currently being tested. And sort them by importance from highest to lowest. The connectors are sorted according to their respective specifications. This indicates the connector II number sorted by importance. (where is a positive integer); The time indicates that the corresponding connector II has the highest importance. This step clarifies the adaptation priority by ranking importance, ensuring that core connectors receive the best adaptation resources during testing, and avoiding the inability to meet critical test requirements due to improper adaptation. The statistical process needs to remove connectors in the UUT that are irrelevant to the current test item, and only include connector II in the valid test link to ensure the relevance of the statistical results.
[0027] S2, for those already used in the current test One target adapter ( (Supports single adapter and multi-adapter groups for suitable matching scenarios), and counts the total number of connectors I currently being tested on the front panel. This step completes the basic statistics of adapter resources, clarifying the total number of connectors I available for matching, and providing resource boundaries for subsequent individual matching of connectors II. During the statistics process, the availability status of the adapters must be confirmed, faulty or maintenance-pending adapters and connectors I must be removed, and only normally functioning adapter resources must be included. At the same time, basic attributes such as the physical location and interface type of each connector I must be recorded to facilitate subsequent actual wiring operations.
[0028] S3, Initialization Number The adaptation process begins with Connector II, which has the highest priority, aligning with the design philosophy of prioritizing critical requirements. The initialization process simultaneously establishes a data storage table for the adaptation process, recording matching relationships, channel number changes, and metric calculation results at each step, ensuring traceability of the adaptation process.
[0029] S4, for the numbered Connector II performs optimal matching with Connector I. This includes calling a preset algorithm to calculate the matching degree and redundancy of each Connector I to Connector II, and combining the matching degree and redundancy as dual indicators to determine the optimal Connector I adaptation scheme for Connector II through multi-dimensional screening. This step quantifies the adaptation capability of Connector I to Connector II by measuring matching degree, and quantifies the resource redundancy of Connector I after adaptation by redundancy. Combining the two indicators achieves the dual goals of meeting adaptation capability standards and optimizing resource utilization. During the indicator calculation process, if a signal type mismatch is encountered (e.g., Connector I does not have a certain type of signal channel), the matching degree of that signal type is counted as the number of channels of the corresponding signal in Connector II, and the redundancy is counted as 0, and it is directly included in the calculation.
[0030] S5, determine if the condition is met. If yes, proceed to step S6; otherwise, let Then, return to step S4. This process of iterating through all connectors II one by one ensures that all connectors under test are matched without omission. During the loop, the matching data of the previous connector II is retained to prevent subsequent matching from overwriting historical data, while the matching resource data storage table is updated in real time to ensure data timeliness.
[0031] S6, Output In the target measured unit UUT Connector II and In each target adapter The final matching relationship of connector I. This step outputs standardized global matching relationships, providing a clear basis for the actual wiring and model building of the automated test system. The output results can be in a standardized tabular format, including UC number, XT number, signal type, number of matched channels, number of remaining channels, adapter priority, etc., and can also be exported to CSV, Excel and other formats, compatible with the import requirements of mainstream test system modeling software.
[0032] Example 2 This embodiment discloses a matching method between the connector of the unit under test and the front panel connector of the adapter. As a preferred embodiment of the present invention, based on Embodiment 1, the importance of connector II is converted into a quantifiable index. Weighted calculation is performed based on the signal type weight and the number of signal channels within connector II, achieving objectivity and scientific rigor in importance ranking, avoiding subjective biases from manual ranking. The ranking process is fully automated and supports batch processing of importance calculations for multiple connectors II. Specifically, in step S1, the ranking is as follows: Figure 2 As shown, the items are arranged from highest to lowest importance. The sorting of connectors II includes the following steps: S11, adopts Indicates the initial number of connector II ( (where the number is a positive integer) This number is either the original serial number of the Unit Under Test (UUT) at the factory or a temporary serial number assigned manually before testing. By assigning a unique initial identifier to each unsorted Connector II, it ensures that each Connector II can be accurately located during subsequent calculations and statistics. The initial number corresponds one-to-one with the physical identifier of Connector II, facilitating data collection in the early stages and result verification in the later stages.
[0033] S12, define relevant data statistics through the interface. The total number of all signal types involved in the current test in connector II and adopt The number indicating the signal type ( (where is a positive integer). Interface definition-related materials include product technical protocols, product specifications, UUT electrical interface design drawings, and other valid technical documents. This step clarifies the range of all signal types involved in the current test, establishing a unified dimension for subsequent signal weight allocation and connector channel counting, ensuring consistency in the basic data dimensions for importance calculation. Signal type statistics must follow standardized classification principles, such as analog input (AI), analog output (AO), digital input (DI), digital output (DO), and communication signals (RS422 / RS485 / Ethernet), to avoid calculation errors caused by confused signal type classifications.
[0034] S13, targeting Each signal type is considered, and its weight is determined. ( (a decimal between 0 and 1), and The sum of the weights of each signal type satisfies This step assigns weights based on the signal's importance in the test, with the sum of the weights equal to 1 for standardization. This ensures the comparability of subsequent weighted calculations and accurately reflects the relative importance of the signals. Weight allocation can be manually customized and modified according to the needs of different test items. After adjustment, the system automatically recalculates the total weights and performs normalization to ensure the sum equals 1.
[0035] S14, for each individual connector II, count the number of channels for each signal type within it using the interface definition data (the number is a non-negative integer, 0 indicates that connector II has no channel for that signal type)); using... Indicates the initial number is In connector II, numbered The number of channels involved in each signal type. This step obtains the hardware parameters of each connector II, namely the number of channels for each signal type. This parameter is the core basic data for measuring the importance of connector II. The channel count needs to exclude damaged or failed channels and only include normally usable channels. At the same time, multiplexed channels are marked separately to avoid duplicate counting.
[0036] S15, according to the formula Calculate the importance of each connector II separately. (These are non-negative real numbers; larger values indicate higher importance). This step uses a weighted summation formula to combine signal weights with the number of signal channels within connector II, quantifying the overall importance of each connector II. Connectors with more channels and correspondingly higher signal weights have higher importance values and should be prioritized for adaptation. The system automatically retains two decimal places during the calculation. If multiple connector IIs have the same importance value, their initial number will be used. Sort in ascending order to ensure the uniqueness of the sorted results.
[0037] S16, based on importance From high to low, adopt According to Each connector II is renumbered ( (where is a positive integer), and the renumbering overwrites the original sorting identifier. This step transforms the quantitatively calculated importance into an intuitive sorting number, providing a clear basis for subsequent priority-based adaptation.
[0038] S17, for each individual connector II, initialize the number of channels to be matched corresponding to each signal type; using Indicates the number is In connector II, numbered The number of channels to be matched for each signal type (a non-negative number). This step initializes the matching resource data for connector II after sorting, setting the number of each signal channel as the matching value, providing an initial benchmark for subsequent channel matching and value correction with connector I. A dynamic channel number management table can be established during initialization to record data in real time. The changes provide data support for subsequent matching degree calculations and channel number corrections.
[0039] Example 3 This embodiment discloses a matching method between the connector of the unit under test and the front panel connector of the adapter. As a preferred embodiment of the present invention, weights are assigned based on the degree of impact (hazard level) of the information transmitted by the signal on system security. Signals with higher hazard levels require priority protection during testing and are therefore given higher weights. This ensures that connectors II containing such signals receive higher adaptation priority. The weight allocation standard is based on the industry-standard safety level classification principle, possessing universality and operability. Specifically, based on Embodiment 2, in step S13, the weights of various signals are determined according to their hazard levels. The hazard level is categorized into four levels based on the degree of harm caused by abnormal signal transmission to the system under test, testing equipment, and operators: Catastrophic Level 1, Severe Level 2, Moderate Level 3, and Minor Level 4, with corresponding weights of 0.4, 0.3, 0.2, and 0.1, respectively. Catastrophic level signals, if transmitted abnormally, could lead to catastrophic system failures (such as equipment damage or personnel casualties), and are therefore assigned the highest weight of 0.4. Minor level signals have a relatively small impact on the system (only minor data deviations, with no actual losses), and are assigned the lowest weight of 0.1. This weight difference reflects the safety importance of the signal, making the importance calculation more aligned with the needs of system safety testing.
[0040] The hazard level is determined based on the safety design specifications of the unit under test, industry safety standards, and the safety requirements of the test items, and is determined by the test engineer in combination with the actual scenario. If a certain hazard level contains multiple signal types, the weight corresponding to that level is evenly distributed to each signal type to ensure that the weight of signals of the same level is consistent. If there is no signal of a certain hazard level in the current test scenario, the weight of that level is proportionally distributed to the other levels, and after renormalization, the sum of the weights is still 1.
[0041] Example 4 This embodiment discloses a matching method between the connector of the unit under test (DUT) and the front panel connector of the adapter. As a preferred embodiment of the invention, weights are assigned based on the functional type of the signal and its importance in the test. Core functional signals such as power supply and control signals are fundamental to system operation and are given higher weights. This ensures that connectors carrying these signals are preferentially adapted, and adaptation resources are tilted towards core functional signals. The weight allocation is highly consistent with the operating logic of the DUT, meeting the core requirements of automated testing. Specifically, based on Embodiment 2, in step S13, the weights of various signals are determined according to their type and level. The signal type levels are ranked from highest to lowest based on the signal's functional importance during the operation and testing of the unit under test (DUT): power supply, control, status reporting, and parameter acquisition, with corresponding weights of 0.4, 0.3, 0.2, and 0.1, respectively. Power supply signals are fundamental to the normal operation of the DUT; without a valid power supply signal, the DUT cannot start. Control signals directly determine the DUT's operating commands (such as start, stop, and mode switching), and are assigned high weights of 0.4 and 0.3, respectively. Status reporting signals are used to report the DUT's operating status (such as running, standby, and fault), serving as a crucial basis for test judgment, and are assigned a weight of 0.2. Parameter acquisition signals are only used to acquire the DUT's operating parameters (such as temperature, pressure, and speed), having a relatively small impact on the system's real-time operation, and are assigned a weight of 0.1. This weight allocation is highly consistent with the functional importance of the signals.
[0042] Signal type classification follows the electrical design principles of the unit under test. Power supply signals include DC power supply and AC power supply signals; control signals include hardware control commands and software control commands; status reporting signals include status indications and fault alarms; and parameter acquisition signals include signals acquired by various sensors. If a certain type level contains multiple signal types, the weight corresponding to that level is evenly distributed among the signal types. If the current test scenario does not have a signal of a certain type level, the weight of that level is proportionally distributed to the other levels, and after renormalization, the sum of the weights is ensured to still be 1. The system supports free switching between the two weight allocation methods, and test engineers can choose the corresponding allocation method according to the test scenario (such as security testing, functional testing, and parameter testing).
[0043] Example 5 This embodiment discloses a matching method between the connector of the unit under test and the front panel connector of the adapter. As a preferred embodiment of the present invention, a unique identifier is assigned to all connectors I that can be used for adaptation, and the remaining available channel number for each signal type is initialized. The initial resource capacity of each connector I is determined, providing basic data for subsequent matching degree, redundancy calculation and channel number correction. The initialization data is consistent with the hardware design parameters of the adapter to ensure the accuracy of the data. That is, based on any of the embodiments 2-4, step S2 further includes initialization. The connector I parameter in each target adapter, namely: using Indicates the number of connector I ( (The numbers are positive integers, arranged according to the physical order of the adapters and the panel order of connector I for easy physical location); for each individual connector I, initialize the remaining available channels for each signal type according to its hardware design parameters; using... Indicates the number is In connector I, numbered The remaining available channels corresponding to the signal type (a non-negative integer, where 0 indicates that connector I has no channels of this signal type). The numbering enables precise positioning of connector I. The initial value of the remaining available channels is the maximum signal channel carrying capacity of connector I (determined in advance during the adapter design phase and recorded in the adapter design drawings and specifications), which truly reflects the initial adaptation capability of connector I and provides a benchmark for subsequent resource consumption and redundancy calculations.
[0044] Furthermore, before initialization, the adapter's hardware design parameters can be checked to ensure that the initial value of the remaining available channels matches the actual hardware capabilities, removing damaged or malfunctioning channels and including only normally available channels; a connector I resource status table can be established to record in real time. The changes, including initial values, matching consumption values, and remaining values, provide real-time data for subsequent indicator calculations and channel number corrections. If multiple connectors I are of the same model and configuration, their parameters are initialized in batches to improve initialization efficiency. During the initialization process, the maximum carrying capacity of each connector I is recorded synchronously as a reference for subsequent resource reuse and adaptation optimization.
[0045] Example 6 This embodiment discloses a matching method between the connector of the unit under test and the front panel connector of the adapter. As a preferred embodiment of the present invention, the matching gap between connector I and connector II is quantified by calculating the difference between the remaining available channels of each signal type of connector I and the number of channels to be matched of connector II. The smaller the matching degree value, the smaller the matching gap and the stronger the adaptation capability of connector I to connector II. The formula is a linear summation calculation, which has high calculation efficiency and can quickly complete the batch calculation of the matching degree of multiple connectors I. That is, based on embodiment 5, in step S4, the matching degree is calculated according to the following formula: ; in, Indicates the number is Connector I, numbered The matching degree of connector II (a non-negative integer, the smaller the value, the higher the matching degree).
[0046] In this technical solution, for a single signal type ,like This indicates that the number of signal channels in connector I fully meets the requirements of connector II, with no mismatch gap, and the contribution of this signal type to the matching degree is 0; if This indicates the existence of a mismatch gap. The gap value is the absolute value of the difference between the two, which is the contribution of the signal type to the matching degree. The overall matching degree is obtained by summing the contribution values of all signal types, which comprehensively reflects the overall compatibility of connector I with connector II.
[0047] Furthermore, during the calculation process, if connector I does not have a certain type of signal channel ( Connector II has this type of signal to be matched ( If the signal type has a contribution value of ), then the contribution value of that signal type is . The results are directly included in the summation; the matching degree calculation results are retained as integers for easy subsequent filtering and comparison; it supports batch calculation of the matching degree of all connector I to a single connector II, generating a matching degree ranking table to intuitively display the adaptation capability of each connector I; after the calculation is completed, the system automatically marks connector I with a matching degree of 0 (fully adapted) for easy subsequent quick filtering.
[0048] Example 7 This embodiment discloses a matching method between the connector of the unit under test and the front panel connector of the adapter. As a preferred embodiment of the present invention, the resource redundancy of connector I after adaptation is quantified by calculating the difference between the remaining available channels of each signal type of connector I and the number of channels to be matched of connector II. The smaller the redundancy value, the less resource redundancy connector I has after adaptation, the higher the resource utilization efficiency, and the less resource waste. The formula and the matching degree are calculated using the same logic, ensuring the consistency and comparability of the calculation process. That is, based on embodiment 6, in step S4, the redundancy is calculated according to the following formula: ; in, Indicates the number is Connector I, numbered The redundancy of connector II (a non-negative integer; the smaller the value, the higher the resource utilization efficiency).
[0049] In this technical solution, for a single signal type ,like This indicates that the number of signal channels in connector I meets the requirements of connector II and has redundancy. The redundancy is the difference between the two, and this value is the contribution of the signal type to the redundancy. If This indicates no redundancy, and the contribution of this signal type to the redundancy is 0. The sum of the contributions of all signal types is used to obtain the overall redundancy, which comprehensively reflects the resource redundancy after connector I is adapted, and provides a resource utilization efficiency index for selecting the optimal adaptation scheme.
[0050] Furthermore, the redundancy score can be calculated only for connector I with a matching degree of 0 (fully adapted) or the lowest matching degree, avoiding meaningless computational consumption and improving overall adaptation efficiency. The redundancy score calculation result is kept as an integer for easy subsequent filtering and comparison. For connector I that meets the adaptation capability standards in the batch filtering, the system automatically calculates its redundancy score and generates a redundancy score ranking table to intuitively display the resource utilization efficiency of each connector I. If the redundancy score of connector I is 0, it means that its resources are fully utilized, which is the optimal resource utilization scheme, and the system automatically marks it as the priority.
[0051] Example 8 This embodiment discloses a matching method between the connector of the unit under test and the front panel connector of the adapter. As a preferred embodiment of the present invention, connector I that meets the adaptation capability standard is first selected based on the matching degree as the core. Then, connector I with optimal resource utilization is selected based on the redundancy degree as an auxiliary. If a single connector I cannot meet the adaptation requirements, the matching is performed cyclically after adjusting the number of channels until all the matching requirements of connector II are met. This achieves the adaptation goal of prioritizing adaptation capability and optimizing resource efficiency. The process adopts a hierarchical screening logic, which is progressive and ensures the optimality of the adaptation scheme. That is, based on embodiment 7, in step S4, the optimal connector I adaptation scheme for connector II is determined after determining the number of the connector I. All signal types involved in Connector II Then, perform the following steps: S41, the number is determined to be All signal types involved in Connector II (Remove signal types with 0 channels to be matched to reduce computational load), and obtain the corresponding number of channels to be matched from the Connector II Channel Count Dynamic Management Table and the Connector I Resource Status Table. and the number of remaining available channels This step clarifies the signal type and channel requirements of the connector II to be adapted, as well as the current resource capabilities of all connectors I, providing accurate data for subsequent matching degree and redundancy calculations. Furthermore, data acquisition is automated, ensuring real-time data quality and accuracy, and avoiding errors caused by manual input.
[0052] S42, using the number of channels to be matched and the number of remaining available channels The matching degree of each connector I to that connector II is calculated in batches using a preset algorithm. And determine whether it exists. Connector I; if it does not exist, proceed to step S43; if it exists, proceed directly to step S47. This indicates that the number of signal channels in connector I fully meets the matching requirements of connector II, with no mismatch gaps. This is the primary selection criterion for optimal matching, and prioritizing the selection of this type of connector I can improve matching efficiency. If multiple... Connector I is automatically included in the candidate set by the system, preparing for subsequent richness screening.
[0053] S43, Statistical minimum matching degree Corresponding connector I and its quantity And determine whether it satisfies If not, proceed to step S44; if yes, mark the connector I as adapted to the current connector II, and proceed to step S45 based on the adaptation relationship. In this step, when there is no fully adapted connector I, select the connector I with the smallest adaptation gap. If there is only one connector I of this type, it is directly determined as the adaptation object to ensure optimal adaptation capability. Given the minimum matching degree of all current connector I, the system automatically filters out all connector I with the same value, forms a candidate set, and counts the number E.
[0054] S44, using the number of channels to be matched and the number of remaining available channels Calculate the statistics separately The redundancy of connector I to connector II And based on wealth After identifying and marking a connector I that is compatible with the current connector II based on the statistical results according to the minimum principle, the process proceeds to step S45 based on this compatibility relationship. This step, when there are multiple connectors I with the smallest compatibility gap, selects the one with the least resource redundancy through sufficiency selection to achieve optimal resource utilization efficiency. If multiple connectors I have the same minimum sufficiency, then... Select by number in ascending order to ensure the uniqueness of the selection result.
[0055] S45, according to the preset channel number correction rules, adjust the remaining matchable channel number for connector I and connector II in the adaptation relationship to obtain the corrected number of channels to be matched. and the number of remaining available channels In this step, after Connector I provides adaptation resources to Connector II, its remaining available channels will decrease. The number of unmet matching channels for Connector II must be retained. The channel count correction accurately reflects the current resource status of both connectors, providing accurate data for subsequent cyclical matching. During the correction process, the system automatically updates the Connector II channel count dynamic management table and the Connector I resource status table to ensure real-time data synchronization.
[0056] S46, according to formula Calculate the total number of remaining unmatched channels for connector II. And determine whether it satisfies If not, then let , Then, return to step S42; if so, proceed to step S410. This step calculates the total number of unmet matching channels for connector II by summing. If the total is not 0, it means that connector I cannot fully meet the requirements, and connector I needs to be re-selected for cyclic matching based on the corrected resource data; if the total is 0, it means that all adaptation requirements have been met, and the adaptation of connector II is completed. There is no upper limit to the number of cyclic matchings until the number of unmet matching channels for connector II is 0, ensuring that the adaptation requirements are fully met; after each cyclic matching, the system automatically records the number of matchings, the number of adapted connector I, the number of channels consumed, etc., to achieve full traceability of the adaptation process; if there is still no suitable connector I after multiple cycles, the system automatically issues an alarm, indicating that the adaptation resources are insufficient, and adapters need to be added or the test plan needs to be adjusted.
[0057] S47, Statistical Matching Degree Corresponding connector I and its quantity And determine whether it satisfies If not, proceed to step S48; if yes, mark connector I as adapted to the current connector II, and proceed to step S49 based on the adaptation relationship. That is, the number of fully adapted connectors I is determined; if only one is found, it is directly identified as the adaptation target, quickly completing the optimal adaptation. Furthermore, the system automatically processes all... Connector I is included in the candidate set, and the number is counted. And make a judgment.
[0058] S48, using the number of channels to be matched and the number of remaining available channels Calculate the statistics separately The redundancy of connector I to connector II And based on wealth After identifying and marking a connector I that is compatible with the current connector II from the statistical results using the minimum principle, the process proceeds to step S49 based on this compatibility relationship. That is, when there are multiple fully compatible connectors I, the one with the least resource redundancy is selected to avoid excessive waste of high-quality compatibility resources. Furthermore, if the redundancy of multiple connectors I is also at its minimum, then the process proceeds to step S49. Select by number in ascending order to ensure the uniqueness of the selection result.
[0059] S49. According to the preset channel number correction rules, the number of subsequent matchable channels for connectors I and II in the adaptation relationship is corrected to obtain the corrected number of channels to be matched. and the number of remaining available channels In the fully adapted state, the remaining available channels of connector I need to be reduced by the number of matched channels, and the number of channels to be matched of connector II needs to be corrected to 0, thus completing the update of the resource status of both. Furthermore, the corrected... When all values are 0, the system automatically marks the connector II as successfully adapted.
[0060] S410, count and temporarily store all connectors II that are compatible with the current connector I and their corresponding channel matching relationships, and let , Then, proceed to step S5. This involves recording the current adaptation relationship, updating the resource status of connector I and connector II, providing the latest resource data for the next adaptation of connector II, and ensuring the consistency of resource data for global adaptation. Furthermore, the temporary matching relationship table can contain information such as UC number, XT number, matched signal type, number of matched channels, and the number of remaining channels for connector I, providing data support for the final output of the global matching relationship.
[0061] Example 9 This embodiment discloses a matching method between the connector of the unit under test and the front panel connector of the adapter. As a preferred embodiment of the present invention, based on the channel number difference of a single signal type, the remaining available channels of connector I and the number of channels to be matched of connector II are finely corrected to ensure that the corrected values can accurately reflect the resource consumption and unmet needs of both, providing accurate data for subsequent cyclic matching. The correction rules are executed independently according to signal type to avoid mutual interference between different signal types. That is, based on embodiment 8, in steps S44 and S45, each individual signal type involved in connector I in the corresponding adaptation relationship is selected. Starting from this point, the number of subsequent matching channels is adjusted; where: For satisfying signal type ,make , In other words, the number of signal channels in connector I cannot meet the requirements of connector II. Therefore, the remaining available channels of connector I are exhausted to 0. The number of channels to be matched in connector II is reduced by the number of matched channels, leaving the unmet gap value. Furthermore, after correction, the number of channels of this signal type in connector I is 0, and it will no longer participate in the adaptation of this signal type in subsequent matching until the adapter is reset.
[0062] For satisfying signal type ,make , This means that the number of signal channels in connector I can fully meet the requirements of connector II. Therefore, the number of channels to be matched in connector II is reset to zero, and the remaining available channels in connector I are reduced by the number of matched channels, retaining the remaining redundancy. Furthermore, after correction, the number of channels to be matched for this signal type in connector II is 0, and it will no longer be included in the calculation in subsequent cyclic matching.
[0063] This indicates that before the current revision, the number was... In connector I, numbered The number of remaining available channels corresponding to the signal type (taken from the Connector I resource status table); This indicates that after the current revision, the number is... In connector I, numbered The number of remaining available channels corresponding to the signal type (updated to the Connector I resource status table after correction). This indicates that before the current revision, the number was... In connector II, numbered The number of channels to be matched for the signal type (taken from the Connector II Channel Count Dynamic Management Table); This indicates that after the current revision, the number is... In connector II, numbered The number of channels to be matched for each signal type (updated to the Connector II Channel Count Dynamic Management Table after correction).
[0064] Furthermore, the correction process is executed one by one according to the signal type. After the correction of one signal type is completed, the correction of the next signal type is performed to ensure the accuracy of the calculation. The correction results are all non-negative integers. If the calculation result is negative, the system automatically sets it to 0 and issues a data anomaly alarm. After each correction, the system automatically records a correction log, which includes information such as the value before correction, the value after correction, and the basis for correction, to facilitate troubleshooting.
[0065] Example 10 This embodiment discloses a matching method between the connector of the unit under test and the front panel connector of the adapter. As a preferred embodiment of the invention, when the number of connectors I corresponding to the minimum redundancy is greater than 1, it indicates that the adaptation capabilities and resource utilization efficiency of multiple connectors I are consistent. In this case, no additional screening is required; any one can be selected. This avoids complicating the adaptation process due to excessive screening, improves adaptation efficiency, and the selection rules are clear and operable, ensuring the uniqueness of the adaptation results. Specifically, based on embodiment 8 or 9, in steps S44 and S48, when the minimum redundancy in the statistical results... If the number of corresponding connector I is greater than 1, then one connector I is randomly selected and marked as compatible with the corresponding connector II. That is, under the condition that the compatibility and resource efficiency are consistent, random selection will not affect the compatibility effect, while simplifying the compatibility process, reducing the amount of calculation, and improving the overall execution efficiency of the matching work.
[0066] Furthermore, to ensure the uniqueness and repeatability of the selection results and to avoid inconsistent adaptation results caused by random selection, in actual implementation, priority is given to connector I. The selection is in ascending order of the connector number, meaning the connector I with the smallest number is selected. If the test scenario has additional requirements for the physical location and load capacity of connector I, the selection rules can be customized, such as selecting the nearest connector based on physical location or selecting the connector I based on load capacity from high to low. The system supports the configuration of custom rules. After selection, the system automatically marks the usage status of connector I to avoid repeated selection and resource conflicts in subsequent adaptations. The selection result is included in the adaptation log, clearly indicating the selection basis and the selected connector I number, thus achieving traceability of the adaptation process.
Claims
1. A method for mating a connector of a unit under test with a front panel connector of an adapter, characterized in that, Includes the following steps: S1, for the test currently required. For each target unit under test (UUT), count the total number of connectors II currently being tested within it. And sort them by importance from highest to lowest. The connectors are sorted according to their respective specifications. This indicates the connector II number sorted by importance; where , , This indicates that connector II has the highest importance. S2, for the existing for the current test the total number of connectors I on the front panel of the target adapter involved in the current test ; wherein ; S3, initialize number ; S4, for the numbered Connector II performs optimal matching with connector I; in This includes calculating the matching degree and redundancy of each connector I to connector II, and combining the matching degree and redundancy to determine the optimal connector I adaptation scheme for connector II; S5, determine if the condition is met. ; If yes, proceed to step S6; otherwise, let Then, return to step S4; S6, Output In the target measured unit UUT Connector II and In each target adapter The final matching relationship of connector I.
2. The matching method between the connector of the unit under test and the front panel connector of the adapter as described in claim 1, characterized in that, In step S1, the items are sorted from highest to lowest importance. The sorting of connectors II includes: S11, adopts Indicates the initial number of connector II, where ; S12, Statistics The total number of all signal types involved in the current test in connector II and adopt The number representing the signal type, where ; S13, targeting Each signal type is considered, and its weight is determined. ,and The sum of the weights of each signal type satisfies ; S14, for each individual connector II, the number of channels for each signal type within it is counted based on the interface definition data; using... Indicates the initial number is In connector II, numbered The number of channels involved in the signal type; S15, according to the formula Calculate the importance of each connector II separately. ; S16, based on importance From high to low, adopt According to Each connector II is numbered; S17, for each individual connector II, initialize the number of channels to be matched corresponding to each signal type; using Indicates the number is In connector II, numbered The number of channels to be matched for the signal type.
3. The matching method between the connector of the unit under test and the front panel connector of the adapter as described in claim 2, characterized in that, In step S13, the weights of various signals are determined according to their hazard levels. The hazard levels are divided into four levels: Disaster Level 1, Severe Level 2, Moderate Level 3, and Minor Level 4, with corresponding weights of 0.4, 0.3, 0.2, and 0.1, respectively.
4. The matching method between the connector of the unit under test and the front panel connector of the adapter as described in claim 2, characterized in that, In step S13, the weights of various types of signals are determined according to their type and level. Among them, the signal type levels from high to low are power supply, control, status reporting and parameter acquisition, with corresponding weights of 0.4, 0.3, 0.2 and 0.1 respectively.
5. The matching method between the connector of the unit under test and the front panel connector of the adapter as described in claim 2, characterized in that, In step S24, the interface definition-related information includes product technical protocols and product specifications.
6. The matching method between the connector of the unit under test and the front panel connector of the adapter as described in claim 2, characterized in that, Step S2 also includes initialization. The connector I parameter in each target adapter, namely: using Indicates the number of connector I, where ; For each individual connector I, initialize the remaining available channels for each signal type; using Indicates the number is In connector I, numbered The number of remaining available channels corresponding to the signal type.
7. The matching method between the connector of the unit under test and the front panel connector of the adapter as described in claim 6, characterized in that, In step S4, the matching degree is calculated according to the following formula: ; in, Indicates the number is Connector I, numbered The compatibility of connector II; The smaller the calculated value, the higher the matching degree.
8. The matching method between the connector of the unit under test and the front panel connector of the adapter as described in claim 7, characterized in that, In step S4, the redundancy is calculated according to the following formula: ; in, Indicates the number is Connector I, numbered The abundance of connector II.
9. The matching method between the connector of the unit under test and the front panel connector of the adapter as described in claim 8, characterized in that, In step S4, determining the optimal connector I adaptation scheme for connector II is based on determining the number... All signal types involved in Connector II Then, the following steps are included: S41, the number is determined to be All signal types involved in Connector II And obtain the number of channels to be matched accordingly. and the number of remaining available channels ; S42, using the number of channels to be matched and the number of remaining available channels Calculate the matching degree of each connector I to that connector II. And determine whether it exists. Connector I; if it does not exist, proceed to step S43; if it exists, proceed directly to step S47. S43, Statistical minimum matching degree Corresponding connector I and its quantity And determine whether it satisfies If not, proceed to step S44; if yes, mark the connector I as adapted to the current connector II, and proceed to step S45 based on the adaptation relationship. S44, using the number of channels to be matched and the number of remaining available channels Calculate the statistics separately The redundancy of connector I to connector II And based on wealth After determining and marking a connector I that is compatible with the current connector II based on the statistical results using the minimum principle, proceed to step S45 based on this compatibility relationship; S45, adjust the remaining matchable channel count for connectors I and II in the adaptation relationship to obtain the adjusted number of channels to be matched. and the number of remaining available channels ; S46, according to formula Calculate the total number of remaining unmatched channels for connector II. And determine whether it satisfies If not, then let , Then, return to step S42; if so, proceed to step S410. S47, Statistical Matching Degree Corresponding connector I and its quantity And determine whether it satisfies If not, proceed to step S48; if yes, mark the connector I as adapted to the current connector II, and proceed to step S49 based on the adaptation relationship. S48, using the number of channels to be matched and the number of remaining available channels Calculate the statistics separately The redundancy of connector I to connector II And based on wealth After determining and marking a connector I that is compatible with the current connector II based on the statistical results using the minimum principle, proceed to step S49 based on this compatibility relationship; S49, perform subsequent matchable channel number correction on connector I and connector II in the adaptation relationship to obtain the corrected number of channels to be matched. and the number of remaining available channels ; S410, count and temporarily store all connectors II that are compatible with the current connector I and their corresponding channel matching relationships, and let , Then, proceed to step S5.
10. The mating method between the connector of the unit under test and the front panel connector of the adapter as described in claim 9, characterized in that, In steps S44 and S45, each individual signal type involved in connector I within the corresponding adaptation relationship is selected. Starting from this point, the number of subsequent matching channels is adjusted; where: For satisfying signal type ,make , ; For satisfying signal type ,make , ; This indicates that before the current revision, the number was... In connector I, numbered The number of remaining available channels corresponding to the signal type; This indicates that after the current revision, the number is... In connector I, numbered The number of remaining available channels corresponding to the signal type; This indicates that before the current revision, the number was... In connector II, numbered The number of channels to be matched related to the signal type; This indicates that after the current revision, the number is... In connector II, numbered The number of channels to be matched for the signal type.
11. The matching method between the connector of the unit under test and the front panel connector of the adapter as described in claim 9, characterized in that, In steps S44 and S48, when the statistical results show the minimum redundancy... If the number of corresponding connector I is greater than 1, then any one of the connector I will be randomly selected and marked as compatible with the corresponding connector II.
Citation Information
Patent Citations
Configuration design method for adapter with switch in test station
CN117371378A
Mapping configuration method of adapter
CN117493239A
Test system model generation method and device, medium and equipment
CN119881611A