CN115080404A - Automated Highly Accelerated Stress Screening Test Methods, Apparatus, Systems, Equipment and Media - Google Patents
Automated Highly Accelerated Stress Screening Test Methods, Apparatus, Systems, Equipment and Media Download PDFInfo
- Publication number
- CN115080404A CN115080404A CN202210716544.2A CN202210716544A CN115080404A CN 115080404 A CN115080404 A CN 115080404A CN 202210716544 A CN202210716544 A CN 202210716544A CN 115080404 A CN115080404 A CN 115080404A
- Authority
- CN
- China
- Prior art keywords
- test
- command data
- stress screening
- control box
- acceleration stress
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
技术领域technical field
本公开涉及计算机信息处理领域,具体而言,涉及一种自动高加速应力筛选测试方法、装置、系统、电子设备及计算机可读介质。The present disclosure relates to the field of computer information processing, and in particular, to an automatic high-acceleration stress screening test method, device, system, electronic device, and computer-readable medium.
背景技术Background technique
年来,随着各种产品的产品线的不断壮大和产能的提高,客户对产品可靠性的要求也越来越严苛。只靠传统的测试工序把关已经不能满足在条件较差工况下产品可靠性的工作状态要求。于是,优化测试工序、引入更高要求的测试环节成了验证和提高产品可靠性的明确需求。Over the years, with the continuous expansion of the product line of various products and the improvement of production capacity, customers' requirements for product reliability have become more and more stringent. Only relying on traditional testing procedures to check can no longer meet the working state requirements of product reliability under poor conditions. Therefore, optimizing the testing process and introducing more demanding testing links has become a clear requirement to verify and improve product reliability.
高加速应力筛选(HASS)测试工序,能够优化测试环节确保产品的高度可靠性。HASS测试主要包括急速高低温、震动、断电重启测试,通过环境的组合变化,通过查看打流结果的方式来确认设备的稳定性,以及从中发现硬件软件问题,以求在设备出厂前发现问题并修正来改善设备的目的。The Highly Accelerated Stress Screening (HASS) testing process can optimize the testing process to ensure high product reliability. HASS test mainly includes rapid high and low temperature, vibration, power failure and restart test. Through the combination of changes in the environment, the stability of the device is confirmed by checking the streaming results, and the hardware and software problems are found from it, in order to find the problem before the device leaves the factory. and corrections to improve the purpose of the device.
但是,正常的高加速应力筛选控制箱需要人工操作以进行测试,占用了大量的人力物力和时间,测试效果也很难保证。因此,需要一种新的自动高加速应力筛选测试方法、装置、系统、电子设备及计算机可读介质。However, the normal high-acceleration stress screening control box needs manual operation for testing, which takes up a lot of manpower, material resources and time, and the test effect is difficult to guarantee. Therefore, there is a need for a new automated highly accelerated stress screening test method, apparatus, system, electronic device and computer readable medium.
在所述背景技术部分公开的上述信息仅用于加强对本申请的背景的理解,因此它可以包括不构成对本领域普通技术人员已知的现有技术的信息。The above information disclosed in this Background section is only for enhancement of understanding of the background of the application and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请提供一种自动高加速应力筛选测试方法、装置、系统、电子设备及计算机可读介质,能够自动进行自动高加速应力筛选,提升测试效率和测试准确度,降低操作复杂度,方便测试人员操作。In view of this, the present application provides an automatic high-acceleration stress screening test method, device, system, electronic device and computer-readable medium, which can automatically perform automatic high-acceleration stress screening, improve test efficiency and test accuracy, and reduce operational complexity. , which is convenient for testers to operate.
本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本申请的实践而习得。Other features and advantages of the present application will become apparent from the following detailed description, or be learned in part by practice of the present application.
根据本申请的一方面,提出一种自动高加速应力筛选测试方法,该方法包括:根据待测设备的类型生成测试脚本;对所述测试脚本进行解析生成多个命令数据;调用与所述多个命令数据的类型对应的多个接口;基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱;高加速应力筛选控制箱根据命令数据对所述待测设备进行测试。According to an aspect of the present application, an automatic high-acceleration stress screening test method is proposed. The method includes: generating a test script according to the type of the device to be tested; parsing the test script to generate multiple command data; Multiple interfaces corresponding to the types of command data; based on the multiple interfaces, the multiple command data are respectively sent to the high-acceleration stress screening control box; the high-acceleration stress screening control box tests the device under test according to the command data .
在本申请的一种示例性实施例中,还包括:在测试过程中,高加速应力筛选控制箱实时生成返回消息;基于所述返回消息进行测试状态展示;和/或基于所述返回消息生成测试报告。In an exemplary embodiment of the present application, it further includes: during the test process, the high-acceleration stress screening control box generates a return message in real time; based on the return message, the test status display is performed; and/or based on the return message testing report.
在本申请的一种示例性实施例中,根据待测设备的类型生成测试脚本,包括:获取待测设备的类型;获取待执行的测试内容;基于所述类型和所述测试内容生成所述测试脚本。In an exemplary embodiment of the present application, generating a test script according to the type of the device to be tested includes: acquiring the type of the device to be tested; acquiring test content to be executed; generating the test script based on the type and the test content test script.
在本申请的一种示例性实施例中,对所述测试脚本进行解析生成多个命令数据,包括:逐一读取所述测试脚本中每一行数据;将每一行数据中的字符串拆分;将拆分后的字符串按照预设顺序组合以生成所述多个命令数据。In an exemplary embodiment of the present application, parsing the test script to generate multiple command data includes: reading each line of data in the test script one by one; splitting strings in each line of data; The split character strings are combined in a preset order to generate the plurality of command data.
在本申请的一种示例性实施例中,将拆分后的字符串按照预设顺序组合以生成所述多个命令数据,包括:由拆分后的字符串中提取命令类型字符串和命令内容字符串;将所述类型字符串和命令内容字符串按照预设顺序组合以生成所述多个命令数据。In an exemplary embodiment of the present application, combining the split character strings in a preset order to generate the plurality of command data includes: extracting command type strings and commands from the split character strings content string; combining the type string and the command content string in a preset order to generate the plurality of command data.
在本申请的一种示例性实施例中,将拆分后的字符串按照预设顺序组合以生成所述多个命令数据之后,还包括:在内存中创建命令数据模型;将所述多个命令数据存储在所述命令数据模型中。In an exemplary embodiment of the present application, after combining the split character strings according to a preset order to generate the plurality of command data, the method further includes: creating a command data model in a memory; combining the plurality of command data Command data is stored in the command data model.
在本申请的一种示例性实施例中,基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱,包括:将高加速应力筛选控制箱和服务器进行串行连接;服务器基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱。In an exemplary embodiment of the present application, sending the plurality of command data to the high-acceleration stress screening control box based on the plurality of interfaces respectively includes: serially connecting the high-acceleration stress screening control box and the server; The server sends the plurality of command data to the high-acceleration stress screening control box based on the plurality of interfaces, respectively.
在本申请的一种示例性实施例中,服务器基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱,包括:所述服务器和所述高加速应力筛选控制箱基于套接字进行通信连接;基于所述通信连接所述服务器通过广播的方式将所述多个命令数据分别发送至高加速应力筛选控制箱。In an exemplary embodiment of the present application, the server sends the plurality of command data to the high-acceleration stress screening control box based on the plurality of interfaces, respectively, including: the server and the high-acceleration stress screening control box are based on A socket is used for communication connection; based on the communication connection, the server sends the plurality of command data to the high-acceleration stress screening control box through broadcasting respectively.
在本申请的一种示例性实施例中,高加速应力筛选控制箱实时生成返回消息,包括:高加速应力筛选控制箱根据命令数据生成控制指令;高加速应力筛选控制箱将所述控制指令发送至内部多个装置;高加速应力筛选控制箱基于内部多个装置的状态生成所述返回信息。In an exemplary embodiment of the present application, the high-acceleration stress screening control box generates the return message in real time, including: the high-acceleration stress screening control box generates a control instruction according to the command data; the high-acceleration stress screening control box sends the control instruction to the internal multiple devices; the high acceleration stress screening control box generates the return information based on the state of the internal multiple devices.
根据本申请的一方面,提出一种自动高加速应力筛选测试装置,该装置包括:脚本模块,用于根据待测设备的类型生成测试脚本;命令模块,用于对所述测试脚本进行解析生成多个命令数据;接口模块,用于调用与所述多个命令数据的类型对应的多个接口;发送模块,用于基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱;测试模块,用于高加速应力筛选控制箱根据命令数据对所述待测设备进行测试。According to an aspect of the present application, an automatic high-acceleration stress screening test device is proposed. The device includes: a script module for generating a test script according to the type of the device to be tested; a command module for parsing and generating the test script a plurality of command data; an interface module for invoking a plurality of interfaces corresponding to the types of the plurality of command data; a sending module for respectively sending the plurality of command data to the high-acceleration stress screening based on the plurality of interfaces A control box; a test module for the high-acceleration stress screening control box to test the device under test according to the command data.
根据本申请的一方面,提出一种自动高加速应力筛选测试系统,该系统包括:服务器,用于根据待测设备的类型生成测试脚本;对所述测试脚本进行解析生成多个命令数据;调用与所述多个命令数据的类型对应的多个接口;基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱;高加速应力筛选控制箱,用于根据命令数据对所述待测设备进行测试。According to an aspect of the present application, an automatic high-acceleration stress screening test system is proposed. The system includes: a server for generating a test script according to the type of the device to be tested; parsing the test script to generate multiple command data; calling A plurality of interfaces corresponding to the types of the plurality of command data; based on the plurality of interfaces, the plurality of command data are respectively sent to the high-acceleration stress screening control box; the high-acceleration stress screening control box is configured to The device under test is tested.
根据本申请的一方面,提出一种电子设备,该电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如上文的方法。According to an aspect of the present application, an electronic device is provided, the electronic device comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are processed by the one or more processors Execution causes one or more processors to implement a method as above.
根据本申请的一方面,提出一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如上文中的方法。According to an aspect of the present application, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, implements the above method.
根据本申请的自动高加速应力筛选测试方法、装置、系统、电子设备及计算机可读介质,通过根据待测设备的类型生成测试脚本;对所述测试脚本进行解析生成多个命令数据;调用与所述多个命令数据的类型对应的多个接口;基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱;高加速应力筛选控制箱根据命令数据对所述待测设备进行测试的方式,能够自动进行自动高加速应力筛选,提升测试效率和测试准确度,降低操作复杂度,方便测试人员操作。According to the automatic high-acceleration stress screening test method, device, system, electronic device and computer-readable medium of the present application, a test script is generated according to the type of the device to be tested; a plurality of command data are generated by parsing the test script; Multiple interfaces corresponding to the types of the multiple command data; based on the multiple interfaces, the multiple command data are respectively sent to the high-acceleration stress screening control box; The test method of the equipment can automatically perform automatic high-acceleration stress screening, improve test efficiency and test accuracy, reduce operation complexity, and facilitate testers to operate.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the application.
附图说明Description of drawings
通过参照附图详细描述其示例实施例,本申请的上述和其它目标、特征及优点将变得更加显而易见。下面描述的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The above and other objects, features and advantages of the present application will become more apparent from the detailed description of example embodiments thereof with reference to the accompanying drawings. The drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1是根据一示例性实施例示出的一种自动高加速应力筛选测试系统的框图。FIG. 1 is a block diagram of an automatic high-acceleration stress screening test system according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种自动高加速应力筛选测试方法的流程图。FIG. 2 is a flow chart of an automatic highly accelerated stress screening test method according to an exemplary embodiment.
图3是根据另一示例性实施例示出的一种自动高加速应力筛选测试方法的流程图。Fig. 3 is a flow chart of an automatic highly accelerated stress screening test method according to another exemplary embodiment.
图4是根据另一示例性实施例示出的一种自动高加速应力筛选测试方法的流程图。FIG. 4 is a flow chart of an automatic highly accelerated stress screening test method according to another exemplary embodiment.
图5是根据一示例性实施例示出的一种自动高加速应力筛选测试装置的框图。FIG. 5 is a block diagram of an automatic high-acceleration stress screening test device according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种电子设备的框图。Fig. 6 is a block diagram of an electronic device according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种计算机可读介质的框图。Fig. 7 is a block diagram of a computer-readable medium according to an exemplary embodiment.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施例。然而,示例实施例能够以多种形式实施,且不应被理解为限于在此阐述的实施例;相反,提供这些实施例使得本申请将全面和完整,并将示例实施例的构思全面地传达给本领域的技术人员。在图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted.
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本申请的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、系统、实现或者操作以避免模糊本申请的各方面。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods, apparatus, systems, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the present application.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the figures are merely functional entities and do not necessarily necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices entity.
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are only exemplary illustrations and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can be decomposed, and some operations/steps can be combined or partially combined, so the actual execution order may be changed according to the actual situation.
应理解,虽然本文中可能使用术语第一、第二、第三等来描述各种组件,但这些组件不应受这些术语限制。这些术语乃用以区分一组件与另一组件。因此,下文论述的第一组件可称为第二组件而不偏离本申请概念的教示。如本文中所使用,术语“及/或”包括相关联的列出项目中的任一个及一或多者的所有组合。It will be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one component from another. Accordingly, a first component discussed below could be referred to as a second component without departing from the teachings of the concepts herein. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
本领域技术人员可以理解,附图只是示例实施例的示意图,附图中的模块或流程并不一定是实施本申请所必须的,因此不能用于限制本申请的保护范围。Those skilled in the art can understand that the accompanying drawings are only schematic diagrams of exemplary embodiments, and the modules or processes in the accompanying drawings are not necessarily necessary to implement the present application, and therefore cannot be used to limit the protection scope of the present application.
本申请涉及的技术缩略语解释如下:The technical abbreviations involved in this application are explained as follows:
HALT(高加速寿命测试):Highly Accelerated Life Test是一种发现设计缺陷的工序,它通过设置逐级递增的加速环境应力,来加速暴露试验样品的缺陷和薄弱点,而后对暴露的缺陷和故障从设计、工艺和用料等诸方面进行分析和改进,从而达到提升可靠性的目的,最大的特点是设置高于样品设计运行限的环境应力,从而从暴露故障的时间大大短于正常可靠性应力条件下的所需时间。HALT (Highly Accelerated Life Test): Highly Accelerated Life Test is a process for discovering design defects. It accelerates the exposure of defects and weak points of test samples by setting a step-by-step accelerated environmental stress, and then measures the exposed defects and failures. From the aspects of design, process and materials, to analyze and improve, so as to achieve the purpose of improving reliability. The biggest feature is to set environmental stress higher than the design operating limit of the sample, so that the time from exposure to failure is much shorter than normal reliability. required time under stress conditions.
HASS(高加速应力筛选):Highly Accelerated Stress Screen是产品通过HALT试验得出操作或破坏极限值后在生产线上做高加速应力筛选。要求100%的产品参加筛选。其目的是为了使得生产的产品不存在任何隐患的缺陷或者至少在产品还没有出厂前找到并解决这些缺陷,HASS就是通过加速应力以期在短时间内找到有缺陷的产品,缩短纠正措施的周期,并找到具有同样问题的产品。HASS (Highly Accelerated Stress Screening): Highly Accelerated Stress Screen is a product that is subjected to high-accelerated stress screening on the production line after the operation or failure limit value is obtained through the HALT test. 100% of products are required to participate in the screening. Its purpose is to make the products produced without any hidden defects or at least to find and solve these defects before the products leave the factory. HASS is to find defective products in a short time by accelerating stress and shorten the period of corrective measures. and find a product with the same problem.
HASA(高加速应力抽检筛选):Highly Accelerated Stress Audit是一种在产品批量生产阶段使用抽样理论的筛选试验方法。它可以防止有缺陷的产品交付到客户的手中。HASA (Highly Accelerated Stress Audit): Highly Accelerated Stress Audit is a screening test method using sampling theory in the mass production stage of products. It prevents defective products from being delivered to customers.
本申请的发明人发现,现有技术中存在两种高加速应力筛选测试方法,一种是通过手动设置温度值以及温度变化率,震动值以及震动变化率,继电器状态,根据需要在不同时间点设置响应状态值,并在此过程中手动对设备进行打流。还有一种高加速应力筛选测试方法,是由厂商提供软件自带的功能,通过绘制profile程序(通过绘图来设定程序的方法)来进行测试,并在此过程中进行手动打流。The inventor of the present application found that there are two high-accelerated stress screening test methods in the prior art, one is to manually set the temperature value and the temperature change rate, the vibration value and the vibration change rate, the state of the relay, and at different time points according to the needs. Set the response status value, and manually stream the device in the process. There is also a high-acceleration stress screening test method, which is provided by the manufacturer with the function that comes with the software. The test is performed by drawing a profile program (the method of setting the program by drawing), and manual streaming is performed during the process.
目前的这两种方式,需要手动控制环境变化或者绘制profile程序(通过绘图来实现编程)的方式来控制环境的操作都比较繁琐,手动下发打流配置,人为判定测试结果,限制了其测试效率,HASS测试成本较高,环境改变降温要消耗液氮,升温震动十分耗电,高成本就需要更高的测试效率,而这些方法测试效率低,显然达不到要求。The current two methods require manual control of environmental changes or drawing a profile program (programming through drawing) to control the operation of the environment, both of which are cumbersome. Manual streaming configuration is issued, and test results are manually determined, which limits its testing. Efficiency, HASS testing costs are high, liquid nitrogen is consumed for environmental changes to cool down, heating and vibration are very power-hungry, high cost requires higher testing efficiency, and these methods have low testing efficiency and obviously cannot meet the requirements.
目前的这两种方式,需要人为控制的因素过多,难免会造成很多失误,而且不具有实时性,往往也会导致设备在错误的环境方案下运行,最终得不到预期的实现效果,浪费实验资源和时间。The current two methods require too many factors for human control, which will inevitably cause many mistakes, and they are not real-time, and often lead to equipment running under the wrong environmental scheme, and ultimately the expected effect cannot be achieved. Waste Experiment resources and time.
目前的这两种方式,绘制profile程序需要专业的厂商人员来绘制,测试人员专业度不高,无法根据环境曲线来自主完成曲线的绘制,且操作步骤繁琐不够精简,由于还要进行打流测试,对于多台同测的设备,无法同步有效的下发设备配置,很容易造成测试失败。In the current two methods, the profile program needs to be drawn by professional manufacturer personnel, and the testers are not highly professional, so they cannot complete the curve drawing independently according to the environmental curve, and the operation steps are cumbersome and not simple enough, because the streaming test is also required. , for multiple devices under the same test, it is impossible to synchronize and effectively deliver the device configuration, which may easily cause the test to fail.
有鉴于现有技术中的技术缺陷,本发明提出一种自动高加速应力筛选测试方法,能够提升测试效率和测试准确度,降低操作复杂度以便更好地提供给测试人员进行操作。在本申请的技术方案中,通过软件实现对HASS的自动化温度控制,震动幅度控制,继电器控制,状态读取以及产品极端环境下的打流测试,可以严格控制各阶段测试时长以及环境改变的时间点,最大效率的验证设备的功能和稳定性,能够辅助线上操作员更好的完成测试任务。In view of the technical defects in the prior art, the present invention proposes an automatic high-acceleration stress screening test method, which can improve the test efficiency and test accuracy, and reduce the operation complexity so that it can be better provided to testers for operation. In the technical solution of the present application, the automatic temperature control, vibration amplitude control, relay control, status reading and flow test of the product under extreme environment of the HASS are realized through software, and the test duration of each stage and the time of environmental change can be strictly controlled. point, verify the function and stability of the equipment with maximum efficiency, and can assist the online operator to better complete the test task.
在本申请中,自动化测试软件可通过加载并解析脚本文件,提取出来在串口下所要下发的命令,然后进入相应的视图界面输出可维护命令,解析HASS控制器脚本调用接口下发对HASS机箱的控制命令,设备端通过检索串口回显打印的字符串信息来判断当前环境下打流测试结果是成功还是失败。下面借助于具体的实施例,对本申请的内容进行详细描述。In this application, the automated test software can load and parse the script file, extract the command to be issued under the serial port, and then enter the corresponding view interface to output the maintainable command, parse the HASS controller script call interface and issue it to the HASS chassis The device side judges whether the streaming test result in the current environment succeeds or fails by retrieving the string information printed by the serial port echo. The content of the present application will be described in detail below with the help of specific embodiments.
图1是根据一示例性实施例示出的一种自动高加速应力筛选测试系统的框图。FIG. 1 is a block diagram of an automatic high-acceleration stress screening test system according to an exemplary embodiment.
如图1所示,系统架构10可以包括高加速应力筛选控制箱101、102、103,网络104和服务器105。网络104用以在高加速应力筛选控制箱101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the
用户可以使用高加速应力筛选控制箱101、102、103通过网络104与服务器105交互,以接收或发送消息等。高加速应力筛选控制箱101、102、103上可以安装有各种测试装置,例如温度控制装置、振动控制装置、数据传输装置、数据监控装置等等。The user may use the high accelerated stress
服务器105可例如根据待测设备的类型生成测试脚本;服务器105可例如对所述测试脚本进行解析生成多个命令数据;服务器105可例如调用与所述多个命令数据的类型对应的多个接口;服务器105可例如基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱101、102、103;高加速应力筛选控制箱101、102、103可例如根据命令数据对所述待测设备进行测试。The
在测试过程中,高加速应力筛选控制箱101、102、103可例如实时生成返回消息;服务器105可例如基于所述返回消息进行测试状态展示;服务器105还可例如基于所述返回消息生成测试报告。During the test, the highly accelerated stress
服务器105可以是一个实体的服务器,还可例如为多个服务器组成,需要说明的是,本申请实施例所提供的自动高加速应力筛选测试方法可以由服务器105和高加速应力筛选控制箱101、102、103共同执行,相应地,自动高加速应力筛选测试装置可以设置于服务器105和高加速应力筛选控制箱101、102、103中。The
根据本申请的自动高加速应力筛选测试方法,具有如下优点:The automatic highly accelerated stress screening test method according to the present application has the following advantages:
(1)提升效率,自动化测试方案不需要进行复杂繁琐的手动操作来改变环境,程序会根据脚本程序中设定的时间点自主与HASS控制箱进行通信来改变环境温度,而且不再需要手动对设备下发配置,软件会自主下发打流配置,自动判断测试结果,提升了测试效率以及稳定性。(1) Improve efficiency. The automated test solution does not require complicated and cumbersome manual operations to change the environment. The program will communicate with the HASS control box to change the ambient temperature according to the time point set in the script program, and no manual adjustment is required. When the device issues the configuration, the software will issue the streaming configuration autonomously, automatically determine the test results, and improve the test efficiency and stability.
(2)提高准确性,自动化测试方案,严格按照设定的时间点来执行改变环境的操作,具有实时性,而且避免了测试人员手动失误对测试结果的影响,可以按照既定的测试方案来进行测试,得到预期的测试结果。(2) Improve the accuracy, automate the test plan, and perform the operation of changing the environment in strict accordance with the set time point, which is real-time, and avoids the influence of the tester's manual errors on the test results, and can be carried out according to the established test plan. test to get the expected test results.
(3)突破局限性,自动化测试方案只需要测试人员选定特定设备的脚本,填写被测设备的序列号和串口号就可以直接测试,操作性更简便,而且可以自动有效的下发多台设备的配置,支持对不同设备的异步测试,测试结果相互不影响。(3) Breaking through the limitations, the automated test solution only requires the tester to select the script of a specific device, fill in the serial number and serial number of the device under test, and then test directly. The configuration of the device supports asynchronous testing of different devices, and the test results do not affect each other.
图2是根据一示例性实施例示出的一种自动高加速应力筛选测试方法的流程图。自动高加速应力筛选测试方法20至少包括步骤S202至S210。FIG. 2 is a flow chart of an automatic highly accelerated stress screening test method according to an exemplary embodiment. The automatic highly accelerated stress
如图2所示,在S202中,根据待测设备的类型生成测试脚本。可例如,获取待测设备的类型;获取待执行的测试内容;基于所述类型和所述测试内容生成所述测试脚本。As shown in FIG. 2, in S202, a test script is generated according to the type of the device to be tested. For example, the type of the device to be tested is acquired; the test content to be executed is acquired; and the test script is generated based on the type and the test content.
可通过WINFORM程序来显示测试界面,渲染测试结果,测试人员在预设界面中填写完成所需配置信息后,生成测试脚本。配置信息可包括设备类型和待执行的测试内容等等。The test interface can be displayed through the WINFORM program, and the test results can be rendered. After the tester fills in the required configuration information in the preset interface, the test script is generated. Configuration information may include device type and test content to be performed, among others.
不同设备需要不同的脚本来验证,主要区别就是打流(将设备端口用网线串行连接形成环路,然后打流仪打广播报文)配置的不同,和启动时间的不同,这会导致整体的HASS测试时长不同,下发环境变化命令的时间点也不同,但是同类型设备都可使用相同的脚本来进行测试。Different devices require different scripts to verify, the main difference is the streaming (connecting the device ports serially with a network cable to form a loop, and then streaming the streamer to send broadcast messages) The configuration is different, and the startup time is different, which will lead to the overall The duration of the HASS test is different, and the time point for issuing the environment change command is also different, but the same type of devices can be tested using the same script.
在一个具体的应用中,脚本测试可包括有两个循环,实验环境包括:In a specific application, the script test can include two loops, and the experimental environment includes:
阶段一:常温20度打流,低温-20度打流,高温70度打流;Stage 1: The normal temperature is 20 degrees, the low temperature is -20 degrees, and the high temperature is 70 degrees;
阶段二:低温-20度打流+震动20g,高温打流+震动20g,常温打流;Stage 2: low temperature -20 degrees flow + vibration 20g, high temperature flow + vibration 20g, normal temperature flow;
在测试期间还可包括有继电器断电30s后重新上电的操作,主要是为了测试设备能否在电路异常情况下重启打流无异常。During the test, the operation of re-powering the relay after power off for 30s can also be included, mainly to test whether the device can restart and flow without abnormality in the case of abnormal circuit.
上述测试内容均可以在预设的界面中进行配置,从而自动生成测试脚本。The above test content can be configured in the preset interface, so as to automatically generate test scripts.
在S204中,对所述测试脚本进行解析生成多个命令数据。可例如,逐一读取所述测试脚本中每一行数据;将每一行数据中的字符串拆分;将拆分后的字符串按照预设顺序组合以生成所述多个命令数据。In S204, the test script is parsed to generate a plurality of command data. For example, each line of data in the test script may be read one by one; the strings in each line of data may be split; and the split strings may be combined in a preset order to generate the plurality of command data.
在S206中,调用与所述多个命令数据的类型对应的多个接口。In S206, multiple interfaces corresponding to the types of the multiple command data are called.
在一个实施例中,可根据命令的类型调用相应的接口,主要可包括:设置温度和温度变化曲线的接口,设置震动和震动变化曲线的接口,继电器上下电的控制接口,获取当前环境状态的接口,已经与HASS进行网络连接和断开的接口,HASS控制箱开启和暂停的接口等。In one embodiment, the corresponding interface can be called according to the type of the command, which mainly includes: an interface for setting temperature and temperature change curve, an interface for setting vibration and vibration change curve, a control interface for powering on and off the relay, and an interface for obtaining the current environmental status. The interface, the interface that has been connected and disconnected from the HASS network, the interface that the HASS control box is turned on and suspended, etc.
在S208中,基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱。可例如,将高加速应力筛选控制箱和服务器进行串行连接;服务器基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱。In S208, the plurality of command data are respectively sent to the high-acceleration stress screening control box based on the plurality of interfaces. For example, the high-acceleration stress screening control box and the server may be connected in series; the server sends the plurality of command data to the high-acceleration stress screening control box based on the plurality of interfaces, respectively.
在一个实施例中,所述服务器和所述高加速应力筛选控制箱基于套接字进行通信连接;基于所述通信连接所述服务器通过广播的方式将所述多个命令数据分别发送至高加速应力筛选控制箱。In one embodiment, the server and the high-acceleration stress screening control box perform a communication connection based on sockets; based on the communication connection, the server sends the plurality of command data to the high-acceleration stress by broadcasting respectively. Screening control box.
在具体的应用中,调用接口后,接口内部会使用socket与HASS通信,参考厂商提供的API接口文档,根据环境变化需要,向HASS发送不同的改变环境的命令执行码。In a specific application, after calling the interface, the interface will use socket to communicate with HASS. Refer to the API interface documentation provided by the manufacturer, and send different command execution codes to HASS to change the environment according to the needs of environmental changes.
在S210中,高加速应力筛选控制箱根据命令数据对所述待测设备进行测试。In S210, the high-acceleration stress screening control box tests the device under test according to the command data.
根据本申请的自动高加速应力筛选测试方法,通过根据待测设备的类型生成测试脚本;对所述测试脚本进行解析生成多个命令数据;调用与所述多个命令数据的类型对应的多个接口;基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱;高加速应力筛选控制箱根据命令数据对所述待测设备进行测试的方式,能够自动进行自动高加速应力筛选,提升测试效率和测试准确度,降低操作复杂度,方便测试人员操作。According to the automatic high-acceleration stress screening test method of the present application, a test script is generated according to the type of the device to be tested; a plurality of command data are generated by parsing the test script; and a plurality of command data corresponding to the types of the plurality of command data are called interface; based on the multiple interfaces, the multiple command data are respectively sent to the high-acceleration stress screening control box; the high-acceleration stress screening control box tests the device under test according to the command data, which can automatically perform automatic high acceleration Stress screening improves test efficiency and test accuracy, reduces operational complexity, and facilitates the operation of testers.
应清楚地理解,本申请描述了如何形成和使用特定示例,但本申请的原理不限于这些示例的任何细节。相反,基于本申请公开的内容的教导,这些原理能够应用于许多其它实施例。It should be clearly understood that this application describes how specific examples may be made and used, but that the principles of this application are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
图3是根据另一示例性实施例示出的一种自动高加速应力筛选测试方法的流程图。图3所示的流程30是对图2所示的流程中S204“对所述测试脚本进行解析生成多个命令数据”的详细描述。Fig. 3 is a flow chart of an automatic highly accelerated stress screening test method according to another exemplary embodiment. The
如图3所示,在S302中,逐一读取所述测试脚本中每一行数据。As shown in FIG. 3, in S302, each line of data in the test script is read one by one.
在S304中,将每一行数据中的字符串拆分。In S304, the character string in each line of data is split.
在S306中,将拆分后的字符串按照预设顺序组合以生成所述多个命令数据。可例如,由拆分后的字符串中提取命令类型字符串和命令内容字符串;将所述类型字符串和命令内容字符串按照预设顺序组合以生成所述多个命令数据。In S306, the split character strings are combined in a preset order to generate the plurality of command data. For example, the command type character string and the command content character string can be extracted from the split character string; the type character string and the command content character string can be combined in a preset order to generate the plurality of command data.
在S308中,将所述多个命令数据存储在命令数据模型中。可例如,在内存中创建命令数据模型。In S308, the plurality of command data are stored in the command data model. The command data model can be created in memory, for example.
更具体的,可将整个脚本内容加载进内存,每行脚本字符串都要有其类型在前,其所要执行的内容在后(命令类型+命令内容的组合方式),代码实现时读取每行数据,并将字符串拆分,分别获取获取类型和所要下发命令的字符串,然后创建这条命令数据模型进行数据存储。等所有脚本的命令都获取完成后,根据不同类型的命令调用不同的接口进行处理。More specifically, the entire script content can be loaded into the memory, each line of script string must have its type first, and the content to be executed after it (combination of command type + command content). Line data, and split the string to obtain the acquisition type and the string of the command to be issued, and then create the command data model for data storage. After all the commands of the script are obtained, call different interfaces for processing according to different types of commands.
图4是根据另一示例性实施例示出的一种自动高加速应力筛选测试方法的流程图。图4所示的流程40是对图2所示的流程的补充描述。FIG. 4 is a flow chart of an automatic highly accelerated stress screening test method according to another exemplary embodiment. The
如图4所示,在S402中,在测试过程中,高加速应力筛选控制箱根据命令数据生成控制指令;As shown in Figure 4, in S402, during the test process, the high-acceleration stress screening control box generates control instructions according to the command data;
在S404中,高加速应力筛选控制箱将所述控制指令发送至内部多个装置;In S404, the high-acceleration stress screening control box sends the control instruction to multiple internal devices;
在一个具体的实施例中,测试内容包括温度测试和震动测试,则HASS控制箱接受到控制指令后,会直接下发相应控制命令给温控和震动控制等装置。In a specific embodiment, the test content includes temperature test and vibration test. After receiving the control command, the HASS control box will directly issue the corresponding control command to the temperature control and vibration control devices.
在S406中,高加速应力筛选控制箱基于内部多个装置的状态生成所述返回信息。温控和震动控制等装置返回的命令的状态信息信息码。In S406, the high-acceleration stress screening control box generates the return information based on the states of the plurality of devices inside. Status information code of commands returned by devices such as temperature control and vibration control.
在S408中,基于所述返回消息进行测试状态展示或生成测试报告。可根据状态码来自动确认命令是否下发成功,或者有无发生的异常。根据返回测试结刷新界面显示信息,若测试项失败及时提醒测试人员确认问题。In S408, a test status display or a test report is generated based on the returned message. According to the status code, it can automatically confirm whether the command is issued successfully, or whether there is any abnormality. Refresh the interface display information according to the returned test result, and if the test item fails, prompt the tester to confirm the problem in time.
本领域技术人员可以理解实现上述实施例的全部或部分步骤被实现为由CPU执行的计算机程序。在该计算机程序被CPU执行时,执行本申请提供的上述方法所限定的上述功能。所述的程序可以存储于一种计算机可读存储介质中,该存储介质可以是只读存储器,磁盘或光盘等。Those skilled in the art can understand that all or part of the steps for implementing the above-described embodiments are implemented as computer programs executed by the CPU. When the computer program is executed by the CPU, the above-mentioned functions defined by the above-mentioned methods provided in this application are executed. The program can be stored in a computer-readable storage medium, which can be a read-only memory, a magnetic disk, an optical disk, or the like.
此外,需要注意的是,上述附图仅是根据本申请示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, it should be noted that the above-mentioned drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiment of the present application, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the chronological order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, in multiple modules.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are apparatus embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
图5是根据一示例性实施例示出的一种自动高加速应力筛选测试装置的框图。如图5所示,自动高加速应力筛选测试装置50包括:脚本模块502,命令模块504,接口模块506,发送模块508,测试模块510。FIG. 5 is a block diagram of an automatic high-acceleration stress screening test device according to an exemplary embodiment. As shown in FIG. 5 , the automatic high-acceleration stress
脚本模块502用于根据待测设备的类型生成测试脚本;脚本模块502还用于获取待测设备的类型;获取待执行的测试内容;基于所述类型和所述测试内容生成所述测试脚本。The
命令模块504用于对所述测试脚本进行解析生成多个命令数据;命令模块504还用于逐一读取所述测试脚本中每一行数据;将每一行数据中的字符串拆分;将拆分后的字符串按照预设顺序组合以生成所述多个命令数据。The
接口模块506用于调用与所述多个命令数据的类型对应的多个接口;接口模块506还用于将高加速应力筛选控制箱和服务器进行串行连接;服务器基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱。The
发送模块508用于基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱;The sending
测试模块510用于高加速应力筛选控制箱根据命令数据对所述待测设备进行测试。The
根据本申请的自动高加速应力筛选测试装置,通过根据待测设备的类型生成测试脚本;对所述测试脚本进行解析生成多个命令数据;调用与所述多个命令数据的类型对应的多个接口;基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱;高加速应力筛选控制箱根据命令数据对所述待测设备进行测试的方式,能够自动进行自动高加速应力筛选,提升测试效率和测试准确度,降低操作复杂度,方便测试人员操作。According to the automatic high-acceleration stress screening test device of the present application, a test script is generated according to the type of the device to be tested; a plurality of command data are generated by parsing the test script; a plurality of command data corresponding to the types of the plurality of command data are called interface; based on the multiple interfaces, the multiple command data are respectively sent to the high-acceleration stress screening control box; the high-acceleration stress screening control box tests the device under test according to the command data, which can automatically perform automatic high acceleration Stress screening improves test efficiency and test accuracy, reduces operational complexity, and facilitates the operation of testers.
图6是根据一示例性实施例示出的一种电子设备的框图。Fig. 6 is a block diagram of an electronic device according to an exemplary embodiment.
下面参照图6来描述根据本申请的这种实施方式的电子设备600。图6显示的电子设备600仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。The
如图6所示,电子设备600以通用计算设备的形式表现。电子设备600的组件可以包括但不限于:至少一个处理单元610、至少一个存储单元620、连接不同系统组件(包括存储单元620和处理单元610)的总线630、显示单元640等。As shown in FIG. 6,
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元610执行,使得所述处理单元610执行本说明书中描述的根据本申请各种示例性实施方式的步骤。例如,所述处理单元610可以执行如图2,图3,图4中所示的步骤。The storage unit stores program codes, which can be executed by the
所述存储单元620可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)6201和/或高速缓存存储单元6202,还可以进一步包括只读存储单元(ROM)6203。The
所述存储单元620还可以包括具有一组(至少一个)程序模块6205的程序/实用工具6204,这样的程序模块6205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The
总线630可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The
电子设备600也可以与一个或多个外部设备600’(例如键盘、指向设备、蓝牙设备等)通信,使得用户能与该电子设备600交互的设备通信,和/或该电子设备600能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口650进行。并且,电子设备600还可以通过网络适配器660与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。网络适配器660可以通过总线630与电子设备600的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备600使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,如图7所示,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、或者网络设备等)执行根据本申请实施方式的上述方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, as shown in FIG. 7 , the technical solution according to the embodiment of the present application can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.). etc.) or on the network, including several instructions to cause a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above-mentioned method according to the embodiment of the present application.
所述软件产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
所述计算机可读存储介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读存储介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。The computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable storage medium can also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该计算机可读介质实现如下功能:根据待测设备的类型生成测试脚本;对所述测试脚本进行解析生成多个命令数据;调用与所述多个命令数据的类型对应的多个接口;基于所述多个接口将所述多个命令数据分别发送至高加速应力筛选控制箱;高加速应力筛选控制箱根据命令数据对所述待测设备进行测试。该计算机可读介质还可实现如下功能:在测试过程中,高加速应力筛选控制箱实时生成返回消息;基于所述返回消息进行测试状态展示;和/或基于所述返回消息生成测试报告。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the computer-readable medium realizes the following functions: generating a test script according to the type of the device to be tested; The test script is parsed to generate multiple command data; multiple interfaces corresponding to the types of the multiple command data are called; based on the multiple interfaces, the multiple command data are respectively sent to the high-acceleration stress screening control box; high acceleration The stress screening control box tests the device under test according to the command data. The computer-readable medium may further implement the following functions: during the test process, the high-acceleration stress screening control box generates a return message in real time; displays the test status based on the return message; and/or generates a test report based on the return message.
本领域技术人员可以理解上述各模块可以按照实施例的描述分布于装置中,也可以进行相应变化唯一不同于本实施例的一个或多个装置中。上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。Those skilled in the art can understand that the above-mentioned modules may be distributed in the apparatus according to the description of the embodiment, and corresponding changes may also be made in one or more apparatuses that are uniquely different from this embodiment. The modules in the foregoing embodiments may be combined into one module, or may be further split into multiple sub-modules.
通过以上的实施例的描述,本领域的技术人员易于理解,这里描述的示例实施例可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本申请实施例的方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present application.
以上具体地示出和描述了本申请的示例性实施例。应可理解的是,本申请不限于这里描述的详细结构、设置方式或实现方法;相反,本申请意图涵盖包含在所附权利要求的精神和范围内的各种修改和等效设置。Exemplary embodiments of the present application have been specifically shown and described above. It should be understood that this application is not limited to the details of construction, arrangements, or implementations described herein; on the contrary, this application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210716544.2A CN115080404A (en) | 2022-06-22 | 2022-06-22 | Automated Highly Accelerated Stress Screening Test Methods, Apparatus, Systems, Equipment and Media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210716544.2A CN115080404A (en) | 2022-06-22 | 2022-06-22 | Automated Highly Accelerated Stress Screening Test Methods, Apparatus, Systems, Equipment and Media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115080404A true CN115080404A (en) | 2022-09-20 |
Family
ID=83253352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210716544.2A Withdrawn CN115080404A (en) | 2022-06-22 | 2022-06-22 | Automated Highly Accelerated Stress Screening Test Methods, Apparatus, Systems, Equipment and Media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115080404A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1359492A (en) * | 1999-01-21 | 2002-07-17 | 毕事快公司 | System and method for testing and validating devices having an embedded operating system |
CN1523326A (en) * | 2003-02-20 | 2004-08-25 | 华为技术有限公司 | An environmental stress experiment automatic test method |
CN102954865A (en) * | 2011-08-26 | 2013-03-06 | 上海移远通信技术有限公司 | Highly accelerated life testing system for electronic products and method using same |
CN114553750A (en) * | 2022-02-24 | 2022-05-27 | 杭州迪普科技股份有限公司 | Automatic testing method and device based on network configuration protocol |
-
2022
- 2022-06-22 CN CN202210716544.2A patent/CN115080404A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1359492A (en) * | 1999-01-21 | 2002-07-17 | 毕事快公司 | System and method for testing and validating devices having an embedded operating system |
CN1523326A (en) * | 2003-02-20 | 2004-08-25 | 华为技术有限公司 | An environmental stress experiment automatic test method |
CN102954865A (en) * | 2011-08-26 | 2013-03-06 | 上海移远通信技术有限公司 | Highly accelerated life testing system for electronic products and method using same |
CN114553750A (en) * | 2022-02-24 | 2022-05-27 | 杭州迪普科技股份有限公司 | Automatic testing method and device based on network configuration protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109302522B (en) | Test method, test device, computer system, and computer medium | |
CN111309343B (en) | Development deployment method and device | |
CN109933509A (en) | A kind of method and apparatus for realizing automatic test defect management | |
CN113572658A (en) | Vehicle control signal testing method and device, electronic equipment and storage medium | |
CN103077114A (en) | Automatic testing method based on communication protocol of temperature measuring device | |
CN115827358A (en) | Automatic test system, method and device for PFR function and storage medium | |
CN111767209A (en) | Code testing method, device, storage medium and terminal | |
CN111176974B (en) | Disaster tolerance testing method and device, computer readable medium and electronic equipment | |
CN113238940B (en) | Interface test result comparison method, device, equipment and storage medium | |
CN110928796A (en) | Automatic change test platform | |
CN114745313A (en) | Terminal remote testing method, apparatus, electronic device and readable medium | |
CN112506772B (en) | web automated testing methods, devices, electronic equipment and storage media | |
CN115080404A (en) | Automated Highly Accelerated Stress Screening Test Methods, Apparatus, Systems, Equipment and Media | |
CN116820946B (en) | Method and device for automatically testing compatibility of target software | |
CN104678292B (en) | A kind of complex programmable logic device (CPLD) test method and device | |
CN117609038A (en) | A process management method, equipment, device and storage medium for project automation testing | |
CN110795338B (en) | Front-end and back-end interaction-based automatic testing method and device and electronic equipment | |
CN115454856A (en) | Multi-application security detection method, device, medium and electronic equipment | |
CN115794624A (en) | Closed-loop testing method and system for single automation device of intelligent substation | |
CN115114147A (en) | Test system based on structured description language | |
CN113986263A (en) | Code automation testing method, device, electronic device, storage medium | |
CN112328473A (en) | Code automation integration test method and device and electronic equipment | |
CN111835590A (en) | Automatic interface test architecture and test method for cloud host product | |
CN114138648B (en) | A server reliability testing method, device, server and storage medium | |
CN117349061A (en) | Intelligent interface management method, system, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220920 |