CN112965867B - Hardware test platform capable of being written into software quickly - Google Patents

Hardware test platform capable of being written into software quickly Download PDF

Info

Publication number
CN112965867B
CN112965867B CN202110249886.3A CN202110249886A CN112965867B CN 112965867 B CN112965867 B CN 112965867B CN 202110249886 A CN202110249886 A CN 202110249886A CN 112965867 B CN112965867 B CN 112965867B
Authority
CN
China
Prior art keywords
test
module
software
hardware
interface
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.)
Active
Application number
CN202110249886.3A
Other languages
Chinese (zh)
Other versions
CN112965867A (en
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.)
Shenzhen Zhuolina Technology Co ltd
Original Assignee
Shenzhen Zhuolina 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 Shenzhen Zhuolina Technology Co ltd filed Critical Shenzhen Zhuolina Technology Co ltd
Priority to CN202110249886.3A priority Critical patent/CN112965867B/en
Publication of CN112965867A publication Critical patent/CN112965867A/en
Application granted granted Critical
Publication of CN112965867B publication Critical patent/CN112965867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software

Abstract

The invention discloses a hardware test platform capable of being written into software quickly, and relates to the technical field of hardware test platforms; to facilitate the provision of different test protocols; the system specifically comprises a data interaction module, a software writing module, a parameter configuration module, a processing module, a testing module and a recording module; the data interaction module realizes signal interaction with the outside based on a USB interface, a COM interface and a network cable interface; the software writing module comprises an authority control unit and a program compiling interface, and the processing module realizes signal interaction with the data interaction module, the software writing module, the parameter configuration module, the testing module and the recording module through signal lines respectively. According to the invention, by arranging the data interaction module and the like, the function of fast software writing can be realized, so that different test plans can be formulated based on the type and the variety of test products to meet diversified requirements, and the writing authority of the software can be examined, approved and controlled by arranging the authority control unit.

Description

Hardware test platform capable of being written into software quickly
Technical Field
The invention relates to the technical field of hardware test platforms, in particular to a hardware test platform capable of being written in software quickly.
Background
Computer hardware is formed by combining a plurality of parts with different function modularization, and four operation steps of input, processing, storage, output and the like are completed under the cooperation of software, in the production and processing of computer and other equipment, in order to guarantee the product quality, the hardware is often required to be tested, various hardware test platforms are often applied during testing, although the current hardware test platform can meet certain testing requirements, the test program is fixed, the test means is single, different test schemes can not be formulated according to different products, and therefore a hardware test platform which can be written in software quickly to provide different test schemes is urgently needed.
Through retrieval, chinese patent application No. CN201811484816.0 discloses a server hardware test platform system based on cloud computing, which is configured with at least one client, at least one cloud server, and at least one server to be tested, where a performance test platform runs on the cloud server, and the performance test platform includes: the device comprises an instruction generating unit, a data storage unit, a data capturing unit and a data sending unit; the instruction generating unit is used for receiving a test instruction of the client and generating a data capturing instruction according to the test instruction; the data capturing unit is used for capturing corresponding test data in the data storage unit according to the data capturing instruction and the product index table; and the data sending unit is used for sending the test data to the server to be tested according to the test instruction. The server hardware testing platform system in the above patent has the following disadvantages: when testing, although can satisfy certain test demand, its test approach is single, can not formulate different test scheme according to different products, consequently, can not satisfy diversified demand.
Disclosure of Invention
The invention aims to solve the defects in the prior art and provides a hardware test platform capable of being written into software quickly.
In order to achieve the purpose, the invention adopts the following technical scheme:
a hardware test platform capable of being written in software quickly comprises a data interaction module, a software writing module, a parameter configuration module, a processing module, a test module and a recording module; the data interaction module realizes signal interaction with the outside based on a USB interface, a COM interface and a network cable interface; the software writing module comprises an authority control unit and a program compiling interface, and the processing module realizes signal interaction with the data interaction module, the software writing module, the parameter configuration module, the testing module and the recording module through signal lines respectively; the test module is provided with a test base for hardware installation, and the test base comprises a display card slot and a CPU slot.
Preferably: the authority control unit of the software writing module manages and controls the writing authority of the transmitted software, the program compiling interface transmits data to the processing module based on the manually input program, and the processing module generates a test program file according to the received data.
Further: the parameter configuration module comprises more than two parameter configuration units, the number of the parameter configuration units is consistent with that of the test base slots equipped by the test module, and the parameter configuration units are internally provided with a parameter for controlling the execution times of the test program file and a test time parameter for controlling the test of each hardware.
Further preferred is: the testing module is characterized in that a temperature monitoring unit for monitoring the working temperature of the hardware is further arranged on the testing base of the testing module, and the temperature monitoring unit feeds back a signal to the testing module based on the working temperature during hardware testing and then further feeds back the signal to the processing module.
As a preferable aspect of the present invention: the processing module comprises a test generating unit, an error checking unit and a processing unit, the processing unit analyzes data transmitted by the data interaction module, the software writing module and the parameter configuration module, and the test generating unit generates a test code according to an analysis result and transmits the test code to the test module.
Further preferred as the invention: the step of generating the test through the data interaction module specifically comprises the following steps:
s11: a user uploads the test software to the data interaction module through a USB interface, a COM interface or a network cable interface;
s12: the data interaction module requests the permission control unit to acquire a write permission based on the uploaded test software;
s13: the user carries out authority examination and approval through the authority control unit of the software writing module, and the user goes to the step S13 and does not go to the step S14;
s14: test software write fails;
s15: the test software is successfully written in, the processing unit of the processing module analyzes, and the test generation unit generates a test code based on the test software;
s16: the test generation unit transmits the test code to the test module;
s17: and the test module tests the hardware installed on the test base according to the test code and the test software.
As a still further scheme of the invention: the step of generating the test through the software writing module specifically comprises the following steps:
s21: a user inputs a test program through a program compiling interface;
s22: the software writing module transmits data of the test program to the processing module;
s23: the processing module generates a test program file according to the received data;
s24: the test generation unit generates a test code according to the test program file and the parameter configuration module;
s25: the test generation unit transmits the test code to the test module;
s26: and the test module tests the hardware installed on the test base according to the test code and the test program file.
On the basis of the scheme: in the step S23, the error checking unit in the processing module performs error checking based on the test program data transmitted by the software writing module, generates a test program file if no error is found, and feeds back the test program file to the user through the program writing interface of the software writing module if an error is found, without generating the test program file.
On the basis of the foregoing scheme, it is preferable that: after the testing module completes the hardware testing, the processing unit of the processing module generates a testing record according to the testing result, and transmits the testing record to the recording module for storage after being bound with the testing code.
The beneficial effects of the invention are as follows:
1. according to the invention, by arranging the data interaction module and the like, the function of fast software writing can be realized, so that different test plans can be formulated based on the type and the variety of a test product to meet diversified requirements, and by arranging the authority control unit, the writing authority of the software can be examined, approved and controlled, and the reliability and the practicability are improved.
2. The software writing module is arranged, so that a user can write test programs by himself to meet different test requirements, the practicability is high, the parameter configuration module is arranged, the number of the test base slots of the parameter configuration unit is consistent with that of the test base slots of the test module, different test plans can be further formulated through the parameter configuration unit, and the flexibility and the practicability are improved.
3. By arranging the test module and the processing module, reliable analysis can be carried out based on test results so as to compare hardware performance, the practicability is improved, and test records are bound with test codes and then transmitted to the recording module for storage after testing, so that the traceability of test data is realized, the comparison is facilitated, and the practicability is improved; the debugging unit can carry out debugging based on the test program data transmitted by the software writing module, and functionality and reliability are improved.
Drawings
FIG. 1 is a flowchart of a data interaction module generation test in a hardware test platform capable of being written into software quickly according to the present invention;
fig. 2 is a flowchart of a software write module generation test in a hardware test platform capable of writing software quickly according to the present invention.
Detailed Description
The technical solution of the present patent will be described in further detail with reference to the following embodiments.
Reference will now be made in detail to embodiments of the present patent, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present patent and are not to be construed as limiting the present patent.
In the description of this patent, it is to be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in the orientations and positional relationships indicated in the drawings for the convenience of describing the patent and for the simplicity of description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are not to be considered limiting of the patent.
In the description of this patent, it is noted that unless otherwise specifically stated or limited, the terms "mounted," "connected," and "disposed" are to be construed broadly and can include, for example, fixedly connected, disposed, detachably connected, disposed, or integrally connected and disposed. The specific meaning of the above terms in this patent may be understood by those of ordinary skill in the art as appropriate.
A hardware test platform capable of being written in software quickly is shown in figure 1 and comprises a data interaction module, a software writing module, a parameter configuration module, a processing module, a test module and a recording module; the data interaction module realizes signal interaction with the outside based on a USB interface, a COM interface and a network cable interface; the software writing module comprises an authority control unit and a program compiling interface, and the processing module realizes signal interaction with the data interaction module, the software writing module, the parameter configuration module, the testing module and the recording module through signal lines respectively; the test module is provided with a test base for hardware installation, and the test base comprises a display card slot, a CPU slot and other hardware slots.
The software is easy to write and the test program is easy to manually input; the authority control unit of the software writing module manages and controls the writing authority of the transmitted software, the program compiling interface transmits data to the processing module based on the manually input program, and the processing module generates a test program file according to the received data.
To facilitate control of the testing process; the parameter configuration module comprises more than two parameter configuration units, the number of the parameter configuration units is consistent with that of the test base slots equipped by the test module, and the parameter configuration units are internally provided with a time parameter for controlling the execution of the test program file and a test time parameter for controlling the test of each hardware.
In order to facilitate the testing and monitor the working state of the hardware during the testing, a temperature monitoring unit for monitoring the working temperature of the hardware is further arranged on the testing base of the testing module, and the temperature monitoring unit feeds back a signal to the testing module based on the working temperature during the hardware testing and then further feeds back the signal to the processing module.
In order to facilitate the generation of the test, the processing module comprises a test generation unit, an error checking unit and a processing unit, the processing unit analyzes based on the data transmitted by the data interaction module, the software writing module and the parameter configuration module, and the test generation unit generates a test code according to the analysis result and transmits the test code to the test module.
In order to facilitate software writing test, the step of generating the test through the data interaction module specifically comprises the following steps:
s11: a user uploads the test software to the data interaction module through a USB interface, a COM interface or a network cable interface;
s12: the data interaction module requests the permission control unit to acquire a write permission based on the uploaded test software;
s13: the user carries out authority examination and approval through the authority control unit of the software writing module, and the user goes to the step S13 and does not go to the step S14;
s14: test software write fails;
s15: the test software is successfully written in, the processing unit of the processing module analyzes, and the test generation unit generates a test code based on the test software;
s16: the test generation unit transmits the test code to the test module;
s17: and the test module tests the hardware installed on the test base according to the test code and the test software.
In order to facilitate manual program entry test, the step of generating the test through the software writing module specifically comprises the following steps:
s21: a user inputs a test program through a program compiling interface;
s22: the software writing module transmits data of the test program to the processing module;
s23: the processing module generates a test program file according to the received data;
s24: the test generation unit generates a test code according to the test program file and the parameter configuration module;
s25: the test generation unit transmits the test code to the test module;
s26: and the test module tests the hardware installed on the test base according to the test code and the test program file.
In order to facilitate error checking and improve reliability, in step S23, the error checking unit in the processing module performs error checking based on the test program data transmitted by the software writing module, if no error is found, a test program file is generated, and if an error is found, the test program file is fed back to the user through the program writing interface of the software writing module, and the test program file is not generated.
In order to record the test result conveniently, after the test module finishes testing the hardware, the processing unit of the processing module generates a test record according to the test result, binds the test record with the test code and transmits the test record to the recording module for storage.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (4)

1. A hardware test platform capable of being written in software quickly is characterized by comprising a data interaction module, a software writing module, a parameter configuration module, a processing module, a test module and a recording module; the data interaction module realizes signal interaction with the outside based on a USB interface, a COM interface and a network cable interface; the software writing module comprises an authority control unit and a program compiling interface, and the processing module realizes signal interaction with the data interaction module, the software writing module, the parameter configuration module, the testing module and the recording module through signal lines respectively; the test module is provided with a test base for hardware installation, the test base comprises a video card slot and a CPU slot, an authority control unit of the software write-in module manages and controls the write-in authority of the transmitted software, a program compiling interface transmits data to the processing module based on a program manually input, the processing module generates a test program file according to the received data, the parameter configuration module comprises more than two parameter configuration units, the number of the parameter configuration units is consistent with that of the test base slots of the test module, the parameter configuration units are internally provided with a number parameter for controlling the execution of the test program file and a test time parameter for controlling each hardware test, the test base of the test module is also provided with a temperature monitoring unit for monitoring the working temperature of the hardware, and the temperature monitoring unit feeds back a signal to the test module based on the working temperature during the hardware test and then further feeds back the signal to the processing module, the processing module comprises a test generating unit, an error checking unit and a processing unit, the processing unit analyzes data transmitted by the data interaction module, the software writing module and the parameter configuration module, and the test generating unit generates a test code according to an analysis result and transmits the test code to the test module;
the step of generating the test through the data interaction module specifically comprises the following steps:
s11: a user uploads the test software to the data interaction module through a USB interface, a COM interface or a network cable interface;
s12: the data interaction module requests the permission control unit to acquire a write permission based on the uploaded test software;
s13: the user carries out authority examination and approval through the authority control unit of the software writing module, and the user goes to the step S15 and does not go to the step S14;
s14: test software write fails;
s15: the test software is successfully written in, the processing unit of the processing module analyzes, and the test generation unit generates a test code based on the test software;
s16: the test generation unit transmits the test code to the test module;
s17: and the test module tests the hardware installed on the test base according to the test code and the test software.
2. The hardware testing platform capable of being written in software quickly according to claim 1, wherein the step of generating the test by the software writing module specifically includes:
s21: a user inputs a test program through a program compiling interface;
s22: the software writing module transmits data of the test program to the processing module;
s23: the processing module generates a test program file according to the received data;
s24: the test generation unit generates a test code according to the test program file and the parameter configuration module;
s25: the test generation unit transmits the test code to the test module;
s26: and the test module tests the hardware installed on the test base according to the test code and the test program file.
3. The hardware testing platform of claim 2, wherein in step S23, the error checking unit in the processing module performs error checking based on the test program data transmitted by the software writing module, if no error is found, a test program file is generated, and if an error is found, the test program file is fed back to the user through the program writing interface of the software writing module, and the test program file is not generated.
4. The hardware testing platform capable of being written into software quickly as claimed in any one of claims 1 to 3, wherein after the testing module completes the hardware testing, the processing unit of the processing module generates a test record according to the test result, and transmits the test record to the recording module for storage after binding with the test code.
CN202110249886.3A 2021-03-08 2021-03-08 Hardware test platform capable of being written into software quickly Active CN112965867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110249886.3A CN112965867B (en) 2021-03-08 2021-03-08 Hardware test platform capable of being written into software quickly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110249886.3A CN112965867B (en) 2021-03-08 2021-03-08 Hardware test platform capable of being written into software quickly

Publications (2)

Publication Number Publication Date
CN112965867A CN112965867A (en) 2021-06-15
CN112965867B true CN112965867B (en) 2022-05-31

Family

ID=76276888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110249886.3A Active CN112965867B (en) 2021-03-08 2021-03-08 Hardware test platform capable of being written into software quickly

Country Status (1)

Country Link
CN (1) CN112965867B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111537862A (en) * 2020-04-21 2020-08-14 青岛矽昌通信技术有限公司 PCBA test method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8433953B1 (en) * 2007-08-13 2013-04-30 The Mathworks, Inc. Automatic configuration of a test environment
CN107390110A (en) * 2017-06-20 2017-11-24 广东科学技术职业学院 A kind of method, apparatus and system tested automatically PCBA
CN110673576B (en) * 2019-09-23 2021-04-13 广州小鹏汽车科技有限公司 Automatic test method and device, vehicle and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111537862A (en) * 2020-04-21 2020-08-14 青岛矽昌通信技术有限公司 PCBA test method and system

Also Published As

Publication number Publication date
CN112965867A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
US9569325B2 (en) Method and system for automated test and result comparison
CN104281520B (en) Tracking and method, the apparatus and system of debugging
CN103684898A (en) Method and device for monitoring operation of user request in distributed system
CN107769865B (en) Automatic test method for radio frequency parameters of Bluetooth module
CN112612661B (en) Chip system level test method, device and system
CN105786495B (en) Software delivery system and method, software development delivery system
CN110058920B (en) Virtual machine performance detection method and device, electronic equipment and storage medium
CN109656570A (en) Group system and its operation method, electronic equipment and storage medium
CN104850499A (en) Automatic test method and device for base band software
US7992046B2 (en) Test system with simulation control device for testing functions of electronic devices
CN111814354B (en) Simulation test method, system, medium and electronic device for instrument performance
CN109614340A (en) Exploitation adjustment method, device, electronic equipment and the storage medium of application program
CN111078547A (en) Automatic testing framework system for PYTHON general APP software
CN109656756A (en) Multi-core CPU board adjustment method and device, mobile memory medium
CN112965867B (en) Hardware test platform capable of being written into software quickly
CN111142011A (en) Express delivery cabinet test fixture
CN114168471A (en) Test method, test device, electronic equipment and storage medium
CN109634838A (en) Position method, apparatus, storage medium and the electronic equipment of application failure
CN112148591A (en) Office software compatibility test system and method
CN112416746A (en) Test case generation method, device, equipment and medium
CN110825617A (en) Method and device for simulating communication interaction between devices
CN114116353A (en) Equipment testing method, device, equipment and storage medium
CN105893203A (en) CEC verification method and device
CN106597169A (en) Measuring apparatus for electronic equipment
CN109362015B (en) Volume test method, control end device, storage medium and volume test system

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220512

Address after: 518001 419d1, floor 4, building 709, PengJi Industrial Zone, No. 2, Pengxing Road, Pengxing community, Liantang street, Luohu District, Shenzhen, Guangdong Province

Applicant after: Shenzhen zhuolina Technology Co.,Ltd.

Address before: 250101 401-2, B1-4 / F, Sanqing wealth center, high tech Zone, Jinan City, Shandong Province

Applicant before: Shandong Shangzhi partner network technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant