CN115078083A - Universal pressure testing method, system and medium for integrated equipment - Google Patents

Universal pressure testing method, system and medium for integrated equipment Download PDF

Info

Publication number
CN115078083A
CN115078083A CN202210485538.0A CN202210485538A CN115078083A CN 115078083 A CN115078083 A CN 115078083A CN 202210485538 A CN202210485538 A CN 202210485538A CN 115078083 A CN115078083 A CN 115078083A
Authority
CN
China
Prior art keywords
test
information
equipment
result
pressure
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.)
Pending
Application number
CN202210485538.0A
Other languages
Chinese (zh)
Inventor
陆锋
范文兴
胡焱
马伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Financial Information Technology Co Ltd
Original Assignee
Inspur Financial Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Financial Information Technology Co Ltd filed Critical Inspur Financial Information Technology Co Ltd
Priority to CN202210485538.0A priority Critical patent/CN115078083A/en
Publication of CN115078083A publication Critical patent/CN115078083A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N3/00Investigating strength properties of solid materials by application of mechanical stress
    • G01N3/08Investigating strength properties of solid materials by application of mechanical stress by applying steady tensile or compressive forces
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N35/00Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
    • G01N35/00584Control arrangements for automatic analysers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Abstract

The invention discloses a generalized pressure testing method, a generalized pressure testing system and a generalized pressure testing medium for integrated equipment, wherein the method comprises the following steps of: acquiring integrated equipment information, and configuring a test database based on the integrated equipment information; acquiring information of equipment to be tested, creating a test empty list, and executing a test unit confirmation operation based on a test database, the information of the equipment to be tested and the test empty list to obtain a parameter list to be tested; setting a pressure test mode, and executing a grouping pressure test operation based on a test database, a parameter table to be tested and the pressure test mode to obtain a pressure test result; the invention can test different integrated devices in batch, can match corresponding test programs according to the test information of the integrated devices, and adopts the matched test programs to carry out selective overall machine pressure test or single hardware module pressure test on the integrated devices, and the whole test process has high test efficiency, low test cost and easy development and use.

Description

Generalized pressure testing method, system and medium for integrated equipment
Technical Field
The invention relates to the technical field of integrated equipment testing, in particular to a universal pressure testing method, a universal pressure testing system and a universal pressure testing medium for integrated equipment.
Background
At present, the integrated equipment is widely applied, and the pressure test of the integrated equipment is an important link for keeping the quality of the integrated equipment in the factory stage of the integrated equipment.
At present, in a traditional pressure testing method, manufacturers of all hardware modules in integrated equipment provide testing tools corresponding to all the testing modules, and then operators learn and control the testing tools to test all the hardware modules one by one.
Disclosure of Invention
The invention mainly solves the problems that the traditional pressure testing method has poor test flow uniformity, the testing tools need to be frequently switched in the testing process, the whole testing operation flow is complicated, the testing cost is high and the testing effectiveness is low.
In order to solve the technical problems, the invention adopts a technical scheme that: a generalized pressure testing method for integrated devices is provided, comprising the following steps:
a pre-configuration step:
acquiring integrated equipment information, and configuring a test database based on the integrated equipment information;
an initialization step:
acquiring information of equipment to be tested, creating a test empty list, and executing a test unit confirmation operation based on the test database, the information of the equipment to be tested and the test empty list to obtain a parameter list to be tested;
and (3) pressure testing:
and setting a pressure test mode, and executing a grouping pressure test operation based on the test database, the parameter table to be tested and the pressure test mode to obtain a pressure test result.
As an improved solution, the integrated device information includes: a plurality of device model information;
the device to be tested information includes: first main equipment information and a plurality of pieces of sub-equipment information associated with the first main equipment information;
the stress test mode includes: a first mode and a second mode; the first mode is a complete machine pressure test mode, and the second mode is a sub-module pressure test mode;
the pressure test results include: complete machine test results and sub-module test results.
As an improvement, the step of configuring the test database based on the integrated device information further comprises:
configuring a component library, a firmware library, a machine type library and a test flow library based on the integrated equipment information;
integrating the component library, the firmware library, the machine type library and the test flow library to obtain an integrated database;
and setting a first network memory, and importing the integration database into the first network memory to obtain the test database.
As an improved solution, the step of configuring a component library, a firmware library, a model library and a test flow library based on the integrated device information further includes:
creating a first empty data container, collecting a plurality of pieces of component information respectively matched with the equipment model information, and storing the component information into the first empty data container to obtain a component library;
creating a second empty data container, collecting a plurality of pieces of firmware information respectively matched with the equipment model information and the component information, and storing the firmware information into the second empty data container to obtain the firmware library;
creating a third empty data container, setting a plurality of pieces of test flow information respectively matched with the plurality of pieces of equipment model information, the plurality of pieces of component information and the plurality of pieces of firmware information, configuring a plurality of test programs respectively matched with the plurality of pieces of test flow information, and storing the plurality of pieces of test flow information and the plurality of test programs into the third empty data container to obtain a test flow library;
and creating a fourth empty data container, and storing the information of the plurality of equipment models to the fourth empty data container to obtain the model base.
As an improvement, the component information includes: hardware manufacturer information, hardware connection port information, hardware calling parameters and hardware working modes.
As an improvement, the test unit validation operation includes:
reading the information of the to-be-tested equipment, and confirming the information of the to-be-tested sub-equipment in the information of the sub-equipment; accessing the test database, and confirming first equipment model information matched with the first main equipment information in the plurality of pieces of equipment model information; confirming first component information matched with the first equipment model information and the to-be-tested sub-equipment information in the plurality of pieces of component information; confirming first firmware information matched with the first equipment model information, the to-be-tested sub-equipment information and the first part information in the plurality of pieces of firmware information; confirming first test flow information matched with the first equipment model information, the first component information and the first firmware information in the plurality of pieces of test flow information; confirming second test flow information matched with the sub-equipment information to be tested, the first part information and the first firmware information in the plurality of test flow information;
setting the test times, the test duration and the test time point, and importing the first device model information, the to-be-tested sub-device information, the first component information, the first firmware information, the first test flow information and the second test flow information into the test empty list to obtain the to-be-tested parameter list.
As an improvement, the packet pressure test operation includes:
when the pressure test mode is the first mode, accessing the test database, identifying a first test program matched with the first test process information in a plurality of test programs, and identifying a second test program matched with the second test process information in the plurality of test programs; reading the parameter table to be tested, obtaining a first time point, calling the first test program to perform a first pressure test on the main equipment corresponding to the first equipment model information according to the test times and the test duration when the first time point reaches the test time point, and then calling the second test program to perform a second pressure test on the sub-equipment corresponding to the sub-equipment information to be tested according to the test times and the test duration to obtain a first result of the first pressure test and a second result of the second pressure test; generating the complete machine test result based on the test times, the first result and the second result;
when the pressure test mode is the second mode, accessing the test database, and identifying the second test program matched with the second test process information in a plurality of test programs; reading the parameter table to be tested, obtaining the first time point, and calling the second test program to perform the second pressure test on the sub-equipment corresponding to the information of the sub-equipment to be tested according to the test times and the test duration when the first time point reaches the test time point, so as to obtain a second result of the second pressure test; and generating the sub-module test result based on the test times and the second result.
As an improved scheme, the first result comprises a plurality of first result codes matched with the test times;
the second result comprises a plurality of second result codes matched with the test times;
the step of generating the complete machine test result based on the test times, the first result and the second result further comprises: setting a first reference code, marking a first result code matched with the first reference code in the plurality of first result codes as a first standard result code, and marking a second result code matched with the first reference code in the plurality of second result codes as a second standard result code; counting a first number of the first achievement-reaching result codes and a second number of the second achievement-reaching result codes; if the first quantity and the second quantity are consistent with the testing times, generating complete machine testing success information, and setting the complete machine testing success information as a complete machine testing result; if the first quantity or the second quantity is not consistent with the testing times, generating complete machine testing failure information, and setting the complete machine testing failure information as a complete machine testing result;
the step of generating the sub-module test result based on the number of tests and the second result further comprises: setting the first reference code, and marking a second result code matched with the first reference code in the second result codes as the second standard reaching result code; counting the second number of the second qualified result codes; if the second quantity is consistent with the testing times, generating sub-module testing success information, and setting the sub-module testing success information as the sub-module testing result; if the second quantity is not consistent with the testing times, generating sub-module testing failure information, and setting the sub-module testing failure information as the sub-module testing result.
The invention also provides a generalized pressure test system for integrated devices, comprising:
the device comprises a pre-configuration module, an initialization module and a pressure testing module;
the pre-configuration module is used for acquiring integrated equipment information and configuring a test database based on the integrated equipment information;
the initialization module is used for acquiring information of equipment to be tested and creating a test empty list, and the initialization module executes test unit confirmation operation based on the test database, the information of the equipment to be tested and the test empty list to obtain a parameter list to be tested;
the pressure testing module is used for setting a pressure testing mode and executing grouping pressure testing operation based on the testing database, the parameter table to be tested and the pressure testing mode to obtain a pressure testing result.
The invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the generalized pressure testing method for integrated devices.
The invention has the beneficial effects that:
1. the universal pressure test method for the integrated equipment can realize batch test of different integrated equipment, can match corresponding test programs according to the test information of the integrated equipment, adopts the matched test programs to carry out selective overall pressure test or pressure test of an independent hardware module on the integrated equipment, and finally systematically analyzes the test result.
2. The universal pressure test system for the integrated equipment can test different integrated equipment in batches by the mutual matching of the pre-configuration module, the initialization module and the pressure test module, can match out corresponding test programs according to the test information of the integrated equipment, and adopts the matched test programs to carry out selective overall pressure test or pressure test of a single hardware module on the integrated equipment, and finally analyzes the test result in a systematic way.
3. The computer-readable storage medium can guide the pre-configuration module, the initialization module and the pressure test module to be matched, so that different integrated devices can be tested in batches, corresponding test programs can be matched according to test information of the integrated devices, the integrated devices are subjected to selective overall pressure test or pressure test of a single hardware module by adopting the matched test programs, finally, test results are analyzed systematically, the test efficiency of the whole test flow is high, the test cost is low, the development and the use are easy, the defects of the prior art are overcome, and the operability of the universal pressure test method for the integrated devices is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a generalized pressure test method for integrated devices according to embodiment 1 of the present invention;
fig. 2 is a schematic specific flowchart of a generalized pressure testing method for integrated devices according to embodiment 1 of the present invention;
fig. 3 is an architecture diagram of a generalized pressure testing system for integrated devices according to embodiment 2 of the present invention.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the invention easier to understand by those skilled in the art, and thus will clearly and clearly define the scope of the invention.
In the description of the present invention, it should be noted that the described embodiments of the present invention are part of the embodiments of the present invention, and not all of the embodiments; all other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "first", "second", "third", and "fourth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Example 1
The embodiment provides a generalized pressure testing method for an integrated device, as shown in fig. 1 and fig. 2, including the following steps:
s100, pre-configuration, specifically comprising:
s110, acquiring integrated equipment information, and configuring a test database based on the integrated equipment information;
specifically, the step of configuring the test database based on the integrated device information further includes:
configuring a component library, a firmware library, a machine type library and a test flow library based on the integrated equipment information; integrating the component library, the firmware library, the machine type library and the test flow library to obtain an integrated database; setting a first network memory, and importing the integration database into the first network memory to obtain the test database; in this embodiment, the integrated device information is information such as the model number of a plurality of types of integrated terminal devices; the test database is a database for summarizing a plurality of test related information about the integrated equipment information; the first network memory is a network storage disk under a local area network, namely a network disk;
specifically, the integrated device information includes a plurality of device model information; the device model information includes but is not limited to a device manufacturer identification number, a model number, a firmware identification code and the like of the integrated terminal device;
specifically, the step of configuring the component library, the firmware library, the model library and the test flow library based on the integrated device information further includes:
creating a first empty data container, acquiring a plurality of pieces of component information respectively matched with the plurality of pieces of equipment model information through big data crawling, and storing the plurality of pieces of component information to the first empty data container to obtain a component library; in this embodiment, the component information includes: hardware manufacturer information, hardware connection port information, hardware calling parameters, hardware working modes and the like;
creating a second empty data container, acquiring a plurality of pieces of firmware information respectively matched with the plurality of pieces of equipment model information and the plurality of pieces of component information through big data crawling, and storing the plurality of pieces of firmware information into the second empty data container to obtain the firmware library; the firmware information includes: firmware name, firmware parameters, firmware index requirements, and the like;
creating a third empty data container, setting a plurality of pieces of test flow information respectively matched with the plurality of pieces of equipment model information, the plurality of pieces of component information and the plurality of pieces of firmware information, configuring a plurality of test programs respectively matched with the plurality of pieces of test flow information, and storing the plurality of pieces of test flow information and the plurality of test programs into the third empty data container to obtain a test flow library; in this embodiment, the test flow information is a test flow corresponding to each device model information, and the test flow includes a test flow of each integrated component of the integrated terminal device corresponding to the test flow, where each test flow satisfies the corresponding firmware information; the compiled test program can test the whole terminal equipment and can also test one integrated component independently; and creating a fourth empty data container, and storing a plurality of pieces of equipment model information acquired at the beginning to the fourth empty data container to obtain the model base.
S200, an initialization step, which specifically comprises the following steps:
s210, obtaining information of equipment to be tested, creating a test empty list, and executing a test unit confirmation operation based on the test database, the information of the equipment to be tested and the test empty list to obtain a parameter list to be tested;
specifically, the information of the device to be tested includes: first main equipment information and a plurality of pieces of sub-equipment information associated with the first main equipment information; the sub-device information is the device information of a plurality of sub-modules integrated on the main device corresponding to the first main device information;
specifically, the test cell validation operation includes: reading the information of the devices to be tested, and confirming the information of the sub-devices to be tested in the information of the sub-devices, in this embodiment, the information of the sub-devices to be tested is the information of the devices corresponding to the sub-modules capable of supporting the test in the information of the sub-devices, for example, the information of the integrated terminal device may include: the system comprises a face recognition module, a shooting module, a network module and a shell module, wherein the shell module does not need to be subjected to pressure test and belongs to a shell mechanical part; correspondingly, the sub-device information to be tested is the device information of a sub-module which can carry out digital control or support pressure test in the plurality of sub-device information; after the confirmation, matching the test parameters, so that the test database is accessed, and first equipment model information matched with the first main equipment information is confirmed in the plurality of equipment model information, namely the information of the main equipment needing to be tested is confirmed; confirming first component information matched with the first equipment model information and the to-be-tested sub-equipment information in the plurality of pieces of component information, namely confirming the component information of a sub-module to be tested in the main equipment to be tested, wherein the first component information is necessarily matched with the first equipment model information and the to-be-tested sub-equipment information because a plurality of terminals may have the same certain component but the same component may have different results under different system pressure tests, so that the test accuracy can be ensured, and the test of the sub-module is ensured to correspond to the main equipment to be tested; confirming first firmware information matched with the first equipment model information, the to-be-tested sub-equipment information and the first part information in the plurality of pieces of firmware information, namely confirming corresponding firmware information requirements needing to be met, and matching a test flow after obtaining the plurality of elements; therefore, first test flow information matched with the first equipment model information, the first component information and the first firmware information is confirmed in the plurality of pieces of test flow information, and the first test flow information is an integrated test flow corresponding to the main equipment to be tested; confirming second test flow information matched with the sub-device information to be tested, the first part information and the first firmware information in the plurality of pieces of test flow information, wherein the second test flow information corresponds to the test flows of the plurality of sub-modules of the main device to be tested; and setting the test times, the test duration and the test time point, wherein the test time point is the time point of the test start, so that the first equipment model information, the to-be-tested sub-equipment information, the first part information, the first firmware information, the first test flow information and the second test flow information are imported into the test empty list to obtain the to-be-tested parameter list.
S300, a pressure testing step, which specifically comprises the following steps:
s310, setting a pressure test mode, and executing a grouped pressure test operation based on the test database, the parameter table to be tested and the pressure test mode to obtain a pressure test result;
specifically, the pressure test mode includes: a first mode and a second mode; the first mode is a complete machine pressure test mode, and the second mode is a sub-module pressure test mode; the whole machine pressure test mode is to perform pressure test on the whole terminal equipment, and the sub-module pressure test mode is to perform pressure test on a single module on the terminal equipment; specifically, the pressure test result includes: a complete machine test result and a sub-module test result;
specifically, the packet pressure test operation includes:
when the pressure test mode is the first mode, accessing the test database, identifying a first test program matched with the first test process information in a plurality of test programs, wherein the first test program is an integrated pressure test program for the whole terminal equipment, identifying a second test program matched with the second test process information in the plurality of test programs, and the second test program is an ordered pressure test program for testing the sequence of each sub-module needing to be tested in the terminal equipment; reading the parameter table to be tested, obtaining a first time point, wherein the first time point is a current time point, and when the first time point reaches the test time point, the test starting time is reached, so that a first test program is called to perform a first pressure test on the main equipment corresponding to the first equipment model information according to the test times and the test duration to obtain a first result of the first pressure test; for example, if the number of times of testing is 2, calling a first testing program to perform a complete machine pressure test with a period of the testing duration of 2 times on the main equipment corresponding to the first equipment model information; correspondingly, calling the second test program to perform a second pressure test on the sub-devices corresponding to the sub-device information to be tested according to the test times and the test duration to obtain a second result of the second pressure test, wherein the second pressure test is to perform the pressure test of a single module on the sub-devices to be tested one by using the second test program, and the duration lasts for two times, and each time is the test duration; the first pressure test and the second pressure test are used for testing instantaneous pressure bearing capacity of the whole terminal equipment, and the first test is used for testing pressure bearing capacity of each submodule in the terminal equipment and continuous pressure bearing capacity of the whole terminal equipment; generating the complete machine test result based on the test times, the first result and the second result;
when the pressure test mode is the second mode, the pressure test of the whole machine is not needed, so the principle is similar to the steps, and only the independent test of the sub module in the main equipment is needed; accessing the test database, and identifying the second test program matched with the second test process information in a plurality of test programs; reading the parameter table to be tested, obtaining the first time point, and calling the second test program to perform the second pressure test on the sub-equipment corresponding to the information of the sub-equipment to be tested according to the test times and the test duration when the first time point reaches the test time point, so as to obtain a second result of the second pressure test; and generating the sub-module test result based on the test times and the second result.
Specifically, the first result includes a plurality of first result codes matched with the test times; in this embodiment, the first result code is an identification code for identifying a test result output after the pressure test is finished;
specifically, the second result includes a plurality of second result codes matched with the test times; in this embodiment, the second result code is also an identification code for identifying a test result after the pressure test is finished; in this embodiment, the result code of successful test is Y, and the result code of failed test is N;
specifically, the step of generating the complete machine test result based on the test times, the first result, and the second result further includes:
setting a first reference code, in this embodiment, the first reference code is a result code of the successful test, i.e., "Y"; marking the first result code matched with the first reference code in the plurality of first result codes as a first standard-reaching result code, and marking the second result code matched with the first reference code in the plurality of second result codes as a second standard-reaching result code;
counting a first number of the first achievement-reaching result codes and a second number of the second achievement-reaching result codes; if the first quantity and the second quantity are consistent with the testing times, the pressure testing is successful each time, so that complete machine testing success information is generated, and the complete machine testing success information is set as a complete machine testing result; if the first quantity or the second quantity is not consistent with the test times, namely as long as one test fails and the pressure bearing capacity of the terminal equipment does not reach the standard, generating complete machine test failure information, and setting the complete machine test failure information as a complete machine test result;
specifically, the step of generating the sub-module test result based on the test times and the second result is the same as the above step in principle, and therefore further includes: setting the first reference code, and marking a second result code matched with the first reference code in the plurality of second result codes as the second standard reaching result code; counting the second number of the second achievement-reaching result codes; if the second quantity is consistent with the testing times, generating sub-module testing success information, and setting the sub-module testing success information as a sub-module testing result; if the second quantity is not consistent with the testing times, generating sub-module testing failure information, and setting the sub-module testing failure information as a sub-module testing result; in this embodiment, for each of the first pressure test and the second pressure test, after the test is completed, a corresponding test report is output, and the test report is named as "equipment serial number _ test time _ test result code", which is convenient for sorting, tracing and distinguishing.
Example 2
The present embodiment provides a generalized pressure testing system for integrated devices based on the same inventive concept as the generalized pressure testing method for integrated devices described in embodiment 1, as shown in fig. 3, including: the device comprises a pre-configuration module, an initialization module and a pressure testing module;
in the generalized pressure testing system for the integrated equipment, a pre-configuration module is used for acquiring integrated equipment information and configuring a testing database based on the integrated equipment information;
specifically, the integrated device information includes: a plurality of device model information;
specifically, the pre-configuration module configures a component library, a firmware library, a machine model library and a test flow library based on the integrated equipment information; the pre-configuration module integrates the component library, the firmware library, the machine type library and the test flow library to obtain an integrated database; and the pre-configuration module sets a first network memory and imports the integration database into the first network memory to obtain the test database.
Specifically, a pre-configuration module creates a first empty data container, the pre-configuration module collects a plurality of pieces of component information respectively matched with the plurality of pieces of equipment model information, and the pre-configuration module stores the plurality of pieces of component information into the first empty data container to obtain the component library; the pre-configuration module creates a second empty data container, collects a plurality of pieces of firmware information respectively matched with the plurality of pieces of equipment model information and the plurality of pieces of component information, and stores the plurality of pieces of firmware information into the second empty data container to obtain the firmware library; the pre-configuration module creates a third empty data container, sets a plurality of pieces of test flow information respectively matched with the plurality of pieces of equipment model information, the plurality of pieces of component information and the plurality of pieces of firmware information, configures a plurality of test programs respectively matched with the plurality of pieces of test flow information, and stores the plurality of pieces of test flow information and the plurality of test programs into the third empty data container to obtain the test flow library; and the pre-configuration module creates a fourth empty data container, and stores the equipment model information into the fourth empty data container to obtain the model base.
Specifically, the component information includes: hardware manufacturer information, hardware connection port information, hardware calling parameters and hardware working modes.
In the generalized pressure testing system for the integrated equipment, an initialization module is used for acquiring information of equipment to be tested and creating a testing empty list, and the initialization module executes a testing unit confirmation operation based on the testing database, the information of the equipment to be tested and the testing empty list to obtain a parameter table to be tested;
specifically, the information of the device to be tested includes: first main equipment information and a plurality of pieces of sub-equipment information associated with the first main equipment information;
specifically, the test cell validation operation includes: the initialization module reads the information of the to-be-tested equipment, and the initialization module confirms the information of the to-be-tested sub-equipment in the information of the sub-equipment; the initialization module accesses the test database, and confirms first equipment model information matched with the first main equipment information in the plurality of pieces of equipment model information; the initialization module confirms first part information matched with the first equipment model information and the to-be-tested sub-equipment information in the plurality of part information; the initialization module confirms first firmware information matched with the first equipment model information, the to-be-tested sub-equipment information and the first part information in the plurality of pieces of firmware information; the initialization module confirms first test flow information matched with the first equipment model information, the first component information and the first firmware information in the plurality of test flow information; the initialization module confirms second test flow information matched with the information of the to-be-tested sub-equipment, the information of the first part and the information of the first firmware in the plurality of test flow information; the initialization module sets testing times, testing duration and testing time points, and the initialization module leads the first equipment model information, the sub-equipment information to be tested, the first part information, the first firmware information, the first testing flow information and the second testing flow information into the testing empty list to obtain the parameter list to be tested.
In the generalized pressure testing system for the integrated equipment, the pressure testing module is used for setting a pressure testing mode and executing grouping pressure testing operation based on the testing database, the parameter table to be tested and the pressure testing mode to obtain a pressure testing result.
Specifically, the pressure test mode includes: a first mode and a second mode; the first mode is a complete machine pressure test mode, and the second mode is a sub-module pressure test mode; the pressure test results include: complete machine test results and sub-module test results.
Specifically, the packet pressure test operation includes:
when the pressure test mode is the first mode, the pressure test module accesses the test database, the pressure test module identifies a first test program matched with the first test process information in the plurality of test programs, and the pressure test module identifies a second test program matched with the second test process information in the plurality of test programs; the pressure testing module reads the parameter table to be tested, the pressure testing module obtains a first time point, when the first time point reaches the testing time point, the pressure testing module firstly calls the first testing program to perform a first pressure test on the main equipment corresponding to the first equipment model information according to the testing times and the testing duration, then calls the second testing program to perform a second pressure test on the sub-equipment corresponding to the sub-equipment information to be tested according to the testing times and the testing duration, and a first result of the first pressure test and a second result of the second pressure test are obtained; the pressure testing module generates a complete machine testing result based on the testing times, the first result and the second result;
when the pressure test mode is the second mode, the pressure test module accesses the test database, and the pressure test module identifies the second test program matched with the second test flow information in the plurality of test programs; the pressure testing module reads the parameter table to be tested, the pressure testing module obtains the first time point, and when the first time point reaches the testing time point, the pressure testing module calls the second testing program to perform the second pressure test on the sub-equipment corresponding to the information of the sub-equipment to be tested according to the testing times and the testing duration to obtain a second result of the second pressure test; the pressure test module generates the sub-module test result based on the test times and the second result.
Specifically, the first result includes a plurality of first result codes matched with the test times; the second result comprises a plurality of second result codes matched with the test times;
specifically, the pressure test module sets a first reference code, the pressure test module marks a first result code matched with the first reference code in the plurality of first result codes as a first standard result code, and the pressure test module marks a second result code matched with the first reference code in the plurality of second result codes as a second standard result code; the pressure test module counts a first number of the first standard-reaching result codes and a second number of the second standard-reaching result codes; if the first quantity and the second quantity are consistent with the testing times, the pressure testing module generates complete machine testing success information, and the complete machine testing success information is set as a complete machine testing result; if the first quantity or the second quantity is not consistent with the test times, the pressure test module generates complete machine test failure information, and the complete machine test failure information is set as a complete machine test result;
specifically, the pressure test module sets the first reference code, and the pressure test module marks a second result code matched with the first reference code in the plurality of second result codes as the second standard result code; the pressure test module counts the second number of the second standard result codes; if the second quantity is consistent with the testing times, the pressure testing module generates sub-module testing success information, and the sub-module testing success information is set as the sub-module testing result; if the second quantity is not consistent with the testing times, the pressure testing module generates sub-module testing failure information and sets the sub-module testing failure information as the sub-module testing result.
Example 3
The present embodiments provide a computer-readable storage medium comprising:
the storage medium is used for storing computer software instructions for implementing the generalized pressure testing method for integrated equipment described in the embodiment 1, and the computer software instructions comprise a program for executing the generalized pressure testing method for integrated equipment; specifically, the executable program may be built in the generalized pressure testing system for integrated devices described in embodiment 2, so that the generalized pressure testing system for integrated devices may implement the generalized pressure testing method for integrated devices described in embodiment 1 by executing the built-in executable program.
Furthermore, the computer-readable storage medium of the present embodiments may take any combination of one or more readable storage media, where a readable storage medium includes an electronic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
Different from the prior art, the universal pressure testing method, the universal pressure testing system and the universal pressure testing medium for the integrated equipment can realize batch testing of different integrated equipment through the method, can match out a corresponding testing program according to the testing information of the integrated equipment, and carry out selective complete machine pressure testing or independent hardware module pressure testing on the integrated equipment through the matched testing program, and finally systematically analyze a testing result.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, and a program that can be implemented by the hardware and can be instructed by the program to be executed by the relevant hardware may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic or optical disk, and the like.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A generalized pressure testing method for integrated devices, comprising the steps of:
a pre-configuration step:
acquiring integrated equipment information, and configuring a test database based on the integrated equipment information;
an initialization step:
acquiring information of equipment to be tested, creating a test empty list, and executing a test unit confirmation operation based on the test database, the information of the equipment to be tested and the test empty list to obtain a parameter list to be tested;
and (3) a pressure testing step:
and setting a pressure test mode, and executing a grouping pressure test operation based on the test database, the parameter table to be tested and the pressure test mode to obtain a pressure test result.
2. The generalized pressure testing method for integrated devices of claim 1, wherein:
the integrated device information includes: a plurality of device model information;
the device to be tested information includes: first main equipment information and a plurality of pieces of sub-equipment information associated with the first main equipment information;
the stress test mode includes: a first mode and a second mode; the first mode is a complete machine pressure test mode, and the second mode is a sub-module pressure test mode;
the pressure test results include: complete machine test results and sub-module test results.
3. The generalized pressure testing method for integrated devices of claim 2, wherein:
the step of configuring a test database based on the integrated device information further comprises:
configuring a component library, a firmware library, a machine type library and a test flow library based on the integrated equipment information;
integrating the component library, the firmware library, the machine type library and the test flow library to obtain an integrated database;
and setting a first network memory, and importing the integration database into the first network memory to obtain the test database.
4. The generalized pressure testing method for integrated devices of claim 3, wherein:
the step of configuring a component library, a firmware library, a model library and a test flow library based on the integrated device information further comprises:
creating a first empty data container, collecting a plurality of pieces of component information respectively matched with the equipment model information, and storing the component information into the first empty data container to obtain a component library;
creating a second empty data container, collecting a plurality of pieces of firmware information respectively matched with the equipment model information and the component information, and storing the firmware information into the second empty data container to obtain the firmware library;
creating a third empty data container, setting a plurality of pieces of test flow information respectively matched with the plurality of pieces of equipment model information, the plurality of pieces of component information and the plurality of pieces of firmware information, configuring a plurality of test programs respectively matched with the plurality of pieces of test flow information, and storing the plurality of pieces of test flow information and the plurality of test programs into the third empty data container to obtain a test flow library;
and creating a fourth empty data container, and storing the information of the plurality of equipment models to the fourth empty data container to obtain the model base.
5. The generalized pressure testing method for integrated devices of claim 4, wherein:
the component information includes: hardware manufacturer information, hardware connection port information, hardware calling parameters and hardware working modes.
6. The generalized pressure testing method for integrated devices of claim 4, wherein:
the test cell validation operation includes:
reading the information of the to-be-tested equipment, and confirming the information of the to-be-tested sub-equipment in the information of the sub-equipment; accessing the test database, and confirming first equipment model information matched with the first main equipment information in the plurality of pieces of equipment model information; confirming first component information matched with the first equipment model information and the to-be-tested sub-equipment information in the plurality of pieces of component information; confirming first firmware information matched with the first equipment model information, the to-be-tested sub-equipment information and the first part information in the plurality of pieces of firmware information; confirming first test flow information matched with the first equipment model information, the first component information and the first firmware information in the plurality of pieces of test flow information; confirming second test flow information matched with the information of the sub-equipment to be tested, the information of the first part and the information of the first firmware in the plurality of test flow information;
setting the test times, the test duration and the test time point, and importing the first device model information, the to-be-tested sub-device information, the first component information, the first firmware information, the first test flow information and the second test flow information into the test empty list to obtain the to-be-tested parameter list.
7. The generalized pressure testing method for integrated devices of claim 6, wherein:
the packet pressure test operation includes:
when the pressure test mode is the first mode, accessing the test database, identifying a first test program matched with the first test process information in a plurality of test programs, and identifying a second test program matched with the second test process information in the plurality of test programs; reading the parameter table to be tested, obtaining a first time point, calling a first test program to perform a first pressure test on the main equipment corresponding to the first equipment model information according to the test times and the test time length when the first time point reaches the test time point, and then calling a second test program to perform a second pressure test on the sub-equipment corresponding to the sub-equipment information to be tested according to the test times and the test time length to obtain a first result of the first pressure test and a second result of the second pressure test; generating the complete machine test result based on the test times, the first result and the second result;
when the pressure test mode is the second mode, accessing the test database, and identifying the second test program matched with the second test process information in a plurality of test programs; reading the parameter table to be tested, obtaining the first time point, and calling the second test program to perform the second pressure test on the sub-equipment corresponding to the information of the sub-equipment to be tested according to the test times and the test duration when the first time point reaches the test time point, so as to obtain a second result of the second pressure test; and generating the sub-module test result based on the test times and the second result.
8. The generalized pressure testing method for integrated devices of claim 7, wherein:
the first result comprises a plurality of first result codes matched with the test times;
the second result comprises a plurality of second result codes matched with the test times;
the step of generating the complete machine test result based on the test times, the first result and the second result further comprises: setting a first reference code, marking a first result code matched with the first reference code in the first result codes as a first standard-reaching result code, and marking a second result code matched with the first reference code in the second result codes as a second standard-reaching result code; counting a first number of the first achievement-reaching result codes and a second number of the second achievement-reaching result codes; if the first quantity and the second quantity are consistent with the testing times, generating complete machine testing success information, and setting the complete machine testing success information as a complete machine testing result; if the first quantity or the second quantity is not consistent with the testing times, generating complete machine testing failure information, and setting the complete machine testing failure information as a complete machine testing result;
the step of generating the sub-module test result based on the number of tests and the second result further comprises: setting the first reference code, and marking a second result code matched with the first reference code in the plurality of second result codes as the second standard reaching result code; counting the second number of the second qualified result codes; if the second quantity is consistent with the testing times, generating sub-module testing success information, and setting the sub-module testing success information as the sub-module testing result; if the second quantity is not consistent with the testing times, generating sub-module testing failure information, and setting the sub-module testing failure information as the sub-module testing result.
9. The generalized pressure testing system for integrated equipment based on the generalized pressure testing method for integrated equipment of any one of claims 1-8, comprising: the device comprises a pre-configuration module, an initialization module and a pressure testing module;
the pre-configuration module is used for acquiring integrated equipment information and configuring a test database based on the integrated equipment information;
the initialization module is used for acquiring information of equipment to be tested and creating a test empty list, and the initialization module executes test unit confirmation operation based on the test database, the information of the equipment to be tested and the test empty list to obtain a parameter list to be tested;
the pressure testing module is used for setting a pressure testing mode and executing grouping pressure testing operation based on the testing database, the parameter table to be tested and the pressure testing mode to obtain a pressure testing result.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the generalized pressure testing method for integrated devices of any one of claims 1 to 8.
CN202210485538.0A 2022-05-06 2022-05-06 Universal pressure testing method, system and medium for integrated equipment Pending CN115078083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210485538.0A CN115078083A (en) 2022-05-06 2022-05-06 Universal pressure testing method, system and medium for integrated equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210485538.0A CN115078083A (en) 2022-05-06 2022-05-06 Universal pressure testing method, system and medium for integrated equipment

Publications (1)

Publication Number Publication Date
CN115078083A true CN115078083A (en) 2022-09-20

Family

ID=83247340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210485538.0A Pending CN115078083A (en) 2022-05-06 2022-05-06 Universal pressure testing method, system and medium for integrated equipment

Country Status (1)

Country Link
CN (1) CN115078083A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116858662A (en) * 2023-05-11 2023-10-10 广州市盛通建设工程质量检测有限公司 Anchor stress detection method and system
CN117215858A (en) * 2023-11-07 2023-12-12 四川华鲲振宇智能科技有限责任公司 Method for automatically testing complete server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116858662A (en) * 2023-05-11 2023-10-10 广州市盛通建设工程质量检测有限公司 Anchor stress detection method and system
CN117215858A (en) * 2023-11-07 2023-12-12 四川华鲲振宇智能科技有限责任公司 Method for automatically testing complete server
CN117215858B (en) * 2023-11-07 2024-03-08 四川华鲲振宇智能科技有限责任公司 Method for automatically testing complete server

Similar Documents

Publication Publication Date Title
CN115078083A (en) Universal pressure testing method, system and medium for integrated equipment
CN101808343B (en) Automated test circuit structure and method of SIM (Subscriber Identity Module)/USIM(Universal Subscriber Identity Module) controller in ARM digital baseband chip
CN101556550A (en) Analysis method for automatic test log and device
CN109165170B (en) Method and system for automatic request test
CN109582525A (en) Test code verification method, verifying device, equipment and storage medium
CN106155884A (en) A kind of log analysis method and system
CN111679982A (en) Automatic testing method for REST API (representational State transfer) interface software
CN112649717A (en) Test method, test device, terminal equipment and storage medium
CN111435146A (en) Wafer testing method and system based on MES
CN112115055A (en) Multi-machine automatic testing method and device and computer equipment
CN114003451B (en) Interface testing method, device, system and medium
CN114996127A (en) Intelligent test method and system for solid state disk firmware module
CN113359010A (en) Core board test system and test method thereof
CN105760300A (en) Automatic STK/UTK service testing method and system
CN112783769A (en) Self-defined automatic software testing method
CN112486811A (en) Interface test method, device, equipment and medium
CN111427582A (en) Management method, device and equipment of RT L code and computer readable storage medium
CN107466369A (en) Fingerprint chip detecting method, apparatus and system
CN101267645A (en) Automatic test method and system for service flow software development of W base station
CN115794639A (en) Visual test and visual simulation test system and method based on process
CN113434405B (en) Method and device for determining test file, storage medium and electronic device
CN112994973B (en) Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium
CN113094277A (en) Chip test case management method and device
CN113900926A (en) Batch test method, system and medium for test cases
CN114546749A (en) Chip random test case regression method, device, equipment and readable 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