CN109522212A - A kind of acquisition terminal software reliability safety half detection system in kind - Google Patents
A kind of acquisition terminal software reliability safety half detection system in kind Download PDFInfo
- Publication number
- CN109522212A CN109522212A CN201811161705.6A CN201811161705A CN109522212A CN 109522212 A CN109522212 A CN 109522212A CN 201811161705 A CN201811161705 A CN 201811161705A CN 109522212 A CN109522212 A CN 109522212A
- Authority
- CN
- China
- Prior art keywords
- acquisition terminal
- module
- emulation module
- fpga emulation
- program
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3648—Software debugging using additional hardware
- G06F11/3652—Software debugging using additional hardware in-circuit-emulation [ICE] arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a kind of detection systems in kind of acquisition terminal software reliability safety half, it is related to software verification field, the detection system in kind of acquisition terminal software reliability safety provided by the present invention half, the program of terminal is downloaded in the control chip of acquisition terminal, one peripheral hardware program of acquisition terminal of detection is sent to FPGA emulation module by host computer, FPGA emulation module selects conversion module by 485 circuit control MCU come control channel, then host computer sends to FPGA emulation module and orders, make the peripheral hardware of FPGA emulation module analog acquisition terminal, to simulate various peripheral hardwares to verify the accuracy of program in the control chip of terminal, it is able to detect the reliability of the acquisition terminal software of work many years simultaneously.The present invention provides program without producer, it is only necessary to which the chip that program has been downloaded in offer just can be carried out detection, to protect the key benefits of producer.
Description
Technical field
The present invention relates to software verification field more particularly to a kind of acquisition terminal software reliability safety half are in kind
Detection system.
Background technique
Acquisition terminal detection in major tasks be to acquisition terminal functional test, with acquisition function strengthened research, it is right
Acquisition terminal functional requirement is more and more extensive, and the application for acquiring data has been not limited only to metering profession.Acquisition terminal detection master
It is inspected by random samples after being divided into before the supply of material performance detection and the supply of material entirely, the acquisition end of producer's supply of material is frequently found during sampling observation by random samples after arrival
Hold program and the supply of material before detection qualification it is inconsistent, but to find these problems must function test step by step item by item, cause to test
Period is long and to increase many repetitive operations very much.
Existing technology is to compare keep sample program and the stand-by program of acquisition terminal by upper computer detection program
Right, only alignments have difference, such as patent document 1 and patent document 2.Patent document 1(publication number: CN106055991A) it is public
A kind of method for having opened acquisition terminal software program uniformity comparison, this method are the programs that keeps sample before the supply of material for providing producer
It is only merely the host computer comparison method of program and stand-by program of keeping sample with stand-by program by the inspection software of host computer.Specially
Sharp document 2(publication number: CN106066795A) disclose a kind of acquisition terminal software program comparison method and device, this method and
Device by byte level comparison method will put on record it is whether variant between software program and the software program of acquisition terminal, with patent
The method of document 1 is compared to similar, when the host computer in patent document 1 and patent document 2 does contrast test to terminal program,
The problem of speed of software operation is slower, may cause test errors.
Summary of the invention
The purpose of the present invention is to provide a kind of detection systems in kind of acquisition terminal software reliability safety half, to solve
Existing acquisition terminal detection of having determined is slow using host computer and block software versus speed, and producer is needed to provide lacking for Programmable detection
Point.
To achieve the above object, the present invention provides a kind of detection systems in kind of acquisition terminal software reliability safety half
System, comprising:
Acquisition terminal controls chip board, the control chip of the acquisition terminal for grafting different manufacturers, the control chip memory
Terminal program is contained, to realize the compatibility of acquisition terminal;
Channel selecting conversion module is connect with acquisition terminal control chip board, for selecting the acquisition terminal control core
Terminal chip in sheet;
MCU is connect with the channel selecting conversion module, for controlling the channel selecting conversion module selection terminal chip;
485 circuits are connect with the MCU;
FPGA emulation module, be extensible modules, the FPGA emulation module respectively with the channel selecting conversion module and 485
Circuit connection controls the channel selecting conversion by the 485 circuit control MCU for the peripheral hardware of analog acquisition terminal
Module;The program of acquisition terminal is monitored simultaneously;
Host computer is connect with the FPGA emulation module, is ordered for sending to the FPGA emulation module, is simulated various peripheral hardwares
The accuracy of program in control chip to verify acquisition terminal;And
Power management module is connect, for providing respectively with acquisition terminal control chip board, MCU and FPGA emulation module
Level needed for the acquisition terminal control chip board, MCU and FPGA emulation module.
Further, the FPGA emulation module includes essential module in acquisition terminal operational process, and described
FPGA emulation module increases new module according to detection, and the FPGA emulation module includes: remote signal module, ESAM module, when
Clock module, GPRS module, RS232 module, network interface module and 485 circuits.
Further, the work step of the FPGA emulation module is as follows:
S1, it is loaded into terminal program on the control chip of acquisition terminal, the control chip is inserted into the control of the acquisition terminal
Coremaking piece;
S2, the host computer send one peripheral hardware program of acquisition terminal of detection to the FPGA emulation module;
S3, the FPGA emulation module are worked by the CPU of MCU described in 485 circuit control;
S4, the MCU control the channel conversion module and are switched to terminal test Peripheral Interface and correspond to FPGA emulation module
Interface connection;
S5, the host computer send a command to the FPGA emulation module, and FPGA emulation module is made to simulate corresponding peripheral hardware;
Monitoring data are returned to the host computer by S6, the FPGA emulation module;
S7, judge whether the monitoring data are correct, correctly then simulate next peripheral hardware;Otherwise, misregistration data are returned
Provide report;
S8, judge whether peripheral hardware is completed, monitoring data are recorded if being completed, provide test report;Otherwise S2 is returned.
Further, the FPGA emulation module is for simulating following peripheral hardware:
1. the day for simulating practical clock chip and controls register at Hour Minute Second register;
2. simulating the transmitting and receiving data register and working sequence of practical communication;
3. simulating the cipher register of practical ESAM;
4. the pin type of analog remote signaling.
Compared with prior art, the invention has the following beneficial effects:
1, the detection system in kind of a kind of acquisition terminal software reliability safety provided by the present invention half, will be under the program of terminal
It is downloaded in the control chip of acquisition terminal, sends one peripheral hardware journey of acquisition terminal of detection to FPGA emulation module by host computer
Sequence, FPGA emulation module select conversion module by 485 circuit control MCU come control channel, and then host computer is emulated to FPGA
Module sends order, makes the peripheral hardware of FPGA emulation module analog acquisition terminal, to simulate various peripheral hardwares to verify the control of terminal
The accuracy of program in coremaking piece, while being able to detect the reliability of the acquisition terminal software of work many years.The present invention is not necessarily to factory
Family provides program, it is only necessary to which the chip that program has been downloaded in offer just can be carried out detection, to protect the key benefits of producer.
2, the detection system in kind of a kind of acquisition terminal software reliability safety provided by the present invention half, is detected in terminal
In for the first time using FPGA analog peripheral emulate, by FPGA emulation module can high-speed computation simulate EEPROM, FLASH, ESAM
And remote signalling, it can be extended to inside many equipment and industry and go.FPGA processing speed is fast, can be improved the speed of software operation,
The problem of reducing test errors.
Detailed description of the invention
It, below will be to attached drawing needed in embodiment description in order to illustrate more clearly of technical solution of the present invention
It is briefly described, it should be apparent that, the accompanying drawings in the following description is only one embodiment of the present of invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of the detection system in kind of acquisition terminal software reliability safety of the present invention half;
Fig. 2 is the structural schematic diagram of FPGA emulation module of the present invention;
Fig. 3 is the work flow diagram of FPGA emulation module of the present invention.
Specific embodiment
With reference to the attached drawing in the embodiment of the present invention, the technical solution in the present invention is clearly and completely described,
Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art's every other embodiment obtained without creative labor,
It shall fall within the protection scope of the present invention.
As shown in Figure 1, the detection system in kind of acquisition terminal software reliability safety provided by the present invention half includes: to adopt
Collect terminal control chip board, channel selecting conversion module, MCU, 485 circuits, 485 circuits, FPGA emulation module, host computer and electricity
Source control module.Acquisition terminal controls control chip of the chip board for the acquisition terminal of grafting different manufacturers, controls in chip
It is stored with terminal program, to realize the compatibility of acquisition terminal;Channel selecting conversion module is connect with acquisition terminal control chip board,
For selecting the terminal chip on acquisition terminal control chip board;MCU is connect with channel selecting conversion module, is used for control channel
Conversion module is selected to select terminal chip;485 circuits are connect with MCU;FPGA emulation module is extensible modules, and FPGA emulates mould
Block passes through 485 circuit controls for the peripheral hardware of analog acquisition terminal with channel selecting conversion module and 485 circuit connections respectively
MCU carrys out control channel selection conversion module;The program of acquisition terminal is monitored simultaneously;Host computer and FPGA emulation module connect
It connects, is ordered for being sent to FPGA emulation module, simulate various peripheral hardwares to verify the standard of program in the control chip of acquisition terminal
True property;Power management module is connect with acquisition terminal control chip board, MCU and FPGA emulation module respectively, for providing acquisition
Level needed for terminal control chip board, MCU and FPGA emulation module.
FPGA emulation module includes essential module in acquisition terminal operational process, and FPGA emulation module is according to inspection
It surveys item and increases new module, as shown in Fig. 2, FPGA emulation module includes: remote signal module, ESAM module, clock module, ESAM mould
Block, network interface module, GPRS module, RS232 module and 485 circuits.
As shown in figure 3, the work step of FPGA emulation module is as follows:
S1, it is loaded into terminal program on the control chip of acquisition terminal, the control chip of chip insertion acquisition terminal will be controlled;
S2, host computer send one peripheral hardware program of acquisition terminal of detection to FPGA emulation module;
S3, FPGA emulation module are worked by the CPU of 485 circuit control MCU;
S4, MCU control channel conversion module are switched to terminal test Peripheral Interface and connect with the interface of corresponding FPGA emulation module;
S5, host computer send a command to FPGA emulation module, and FPGA emulation module is made to simulate corresponding peripheral hardware;FPGA emulation module
It is as follows for simulating following peripheral hardware:
1. the day for simulating practical clock chip and controls register at Hour Minute Second register;
2. simulating the transmitting and receiving data register and working sequence of practical communication;
3. simulating the cipher register of practical ESAM;
4. the pin type of analog remote signaling.
Monitoring data are returned to host computer by S6, FPGA emulation module;
S7, judge whether monitoring data are correct, correctly then simulate next peripheral hardware;Otherwise, the return of misregistration data is provided
Report;
S8, judge whether peripheral hardware is completed, monitoring data are recorded if being completed, provide test report;Otherwise S2 is returned.
To sum up, the detection system in kind of a kind of acquisition terminal software reliability safety of the present invention half, will be under the program of terminal
It is downloaded in the control chip of acquisition terminal, sends one peripheral hardware journey of acquisition terminal of detection to FPGA emulation module by host computer
Sequence, FPGA emulation module select conversion module by 485 circuit control MCU come control channel, and then host computer is emulated to FPGA
Module sends order, makes the peripheral hardware of FPGA emulation module analog acquisition terminal, to simulate various peripheral hardwares to verify the control of terminal
The accuracy of program in coremaking piece, while being able to detect the reliability of the acquisition terminal software of work many years.The present invention is not necessarily to factory
Family provides program, it is only necessary to which the chip that program has been downloaded in offer just can be carried out detection, to protect the key benefits of producer.
Above disclosed is only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art in the technical scope disclosed by the present invention, can readily occur in variation or modification,
It is covered by the protection scope of the present invention.
Claims (4)
1. a kind of detection system in kind of acquisition terminal software reliability safety half, it is characterised in that: include:
Acquisition terminal controls chip board, the control chip of the acquisition terminal for grafting different manufacturers, the control chip memory
Contain terminal program;
Channel selecting conversion module is connect with acquisition terminal control chip board, for selecting the acquisition terminal control core
Terminal chip in sheet;
MCU is connect with the channel selecting conversion module, for controlling the channel selecting conversion module selection terminal chip;
485 circuits are connect with the MCU;
FPGA emulation module, be extensible modules, the FPGA emulation module respectively with the channel selecting conversion module and 485
Circuit connection controls the channel selecting conversion by the 485 circuit control MCU for the peripheral hardware of analog acquisition terminal
Module;The program of acquisition terminal is monitored simultaneously;
Host computer is connect with the FPGA emulation module, is ordered for sending to the FPGA emulation module, is simulated various peripheral hardwares
The accuracy of program in control chip to verify acquisition terminal;And
Power management module is connect with acquisition terminal control chip board, MCU and FPGA emulation module respectively.
2. the detection system in kind of acquisition terminal software reliability safety according to claim 1 half, it is characterised in that: institute
Stating FPGA emulation module includes essential module in acquisition terminal operational process, and the FPGA emulation module is according to detection
Item increases new module, and the FPGA emulation module includes: remote signal module, ESAM module, clock module, GPRS module, RS232
Module, network interface module and 485 circuits.
3. the detection system in kind of acquisition terminal software reliability safety according to claim 1 half, it is characterised in that: institute
The work step for stating FPGA emulation module is as follows:
S1, it is loaded into terminal program on the control chip of acquisition terminal, the control chip is inserted into the control of the acquisition terminal
Coremaking piece;
S2, the host computer send one peripheral hardware program of acquisition terminal of detection to the FPGA emulation module;
S3, the FPGA emulation module are worked by the CPU of MCU described in 485 circuit control;
S4, the MCU control the channel conversion module and are switched to terminal test Peripheral Interface and correspond to FPGA emulation module
Interface connection;
S5, the host computer send a command to the FPGA emulation module, and FPGA emulation module is made to simulate corresponding peripheral hardware;
Monitoring data are returned to the host computer by S6, the FPGA emulation module;
S7, judge whether the monitoring data are correct, correctly then simulate next peripheral hardware;Otherwise, misregistration data are returned
Provide report;
S8, judge whether peripheral hardware is completed, monitoring data are recorded if being completed, provide test report;Otherwise S2 is returned.
4. the detection system in kind of acquisition terminal software reliability safety according to claim 1 half, it is characterised in that: institute
FPGA emulation module is stated for simulating following peripheral hardware:
1. the day for simulating practical clock chip and controls register at Hour Minute Second register;
2. simulating the transmitting and receiving data register and working sequence of practical communication;
3. simulating the cipher register of practical ESAM;
4. the pin type of letter is shaken in simulation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811161705.6A CN109522212A (en) | 2018-09-30 | 2018-09-30 | A kind of acquisition terminal software reliability safety half detection system in kind |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811161705.6A CN109522212A (en) | 2018-09-30 | 2018-09-30 | A kind of acquisition terminal software reliability safety half detection system in kind |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109522212A true CN109522212A (en) | 2019-03-26 |
Family
ID=65771568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811161705.6A Pending CN109522212A (en) | 2018-09-30 | 2018-09-30 | A kind of acquisition terminal software reliability safety half detection system in kind |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109522212A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447514A (en) * | 2020-03-23 | 2020-07-24 | 上海市共进通信技术有限公司 | EEPROM system of passive optical network SFP ONT and data updating control method thereof |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040204928A1 (en) * | 2003-04-09 | 2004-10-14 | Matsushita Electric Industrial Co., Ltd. | Simulator apparatus and related technology |
CN101592707A (en) * | 2009-07-08 | 2009-12-02 | 天津渤海易安泰电子半导体测试有限公司 | Analog and digital mixed signal chip test card |
US20100146338A1 (en) * | 2008-12-05 | 2010-06-10 | Schalick Christopher A | Automated semiconductor design flaw detection system |
CN103440195A (en) * | 2013-07-11 | 2013-12-11 | 盛科网络(苏州)有限公司 | Switch chip verification method and device based on logic chip |
CN104166119A (en) * | 2014-09-01 | 2014-11-26 | 国家电网公司 | Intelligent ammeter program stability test system based on error injection |
CN104572442A (en) * | 2014-12-10 | 2015-04-29 | 黑龙江真美广播通讯器材有限公司 | In-chip program checking system for programmable logic chip |
CN105738854A (en) * | 2014-12-12 | 2016-07-06 | 国家电网公司 | Simulation memory test board system for intelligent ammeter embedded application and test method |
-
2018
- 2018-09-30 CN CN201811161705.6A patent/CN109522212A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040204928A1 (en) * | 2003-04-09 | 2004-10-14 | Matsushita Electric Industrial Co., Ltd. | Simulator apparatus and related technology |
US20100146338A1 (en) * | 2008-12-05 | 2010-06-10 | Schalick Christopher A | Automated semiconductor design flaw detection system |
CN101592707A (en) * | 2009-07-08 | 2009-12-02 | 天津渤海易安泰电子半导体测试有限公司 | Analog and digital mixed signal chip test card |
CN103440195A (en) * | 2013-07-11 | 2013-12-11 | 盛科网络(苏州)有限公司 | Switch chip verification method and device based on logic chip |
CN104166119A (en) * | 2014-09-01 | 2014-11-26 | 国家电网公司 | Intelligent ammeter program stability test system based on error injection |
CN104572442A (en) * | 2014-12-10 | 2015-04-29 | 黑龙江真美广播通讯器材有限公司 | In-chip program checking system for programmable logic chip |
CN105738854A (en) * | 2014-12-12 | 2016-07-06 | 国家电网公司 | Simulation memory test board system for intelligent ammeter embedded application and test method |
Non-Patent Citations (5)
Title |
---|
万千: "基于FPGA和PC机的网络芯片多接口自动化测试平台设计", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
李朝青: "《PC机与单片机&DSP数据通信技术选编3》", 31 March 2004, 北京航空航天大学出版社 * |
李洋: "《现代电子设计与创新》", 1 July 2007, 中国电力出版社 * |
谢川: "《微型计算机组成与维护教程》", 31 May 2001, 机械工业出版社 * |
黄智伟: "《全国大学生电子设计竞赛ARM嵌入式***应用设计与实践》", 1 January 2011, 北京航空航天大学出版社 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447514A (en) * | 2020-03-23 | 2020-07-24 | 上海市共进通信技术有限公司 | EEPROM system of passive optical network SFP ONT and data updating control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106059582B (en) | A kind of Testing of mixed signal chipset system and method | |
CN102092477B (en) | Device and method for automatic test and fault diagnosis of plane audio integrated system | |
CN109361562B (en) | Automatic testing method based on associated network equipment access | |
CN202770933U (en) | High-precision multichannel analog quantity automatic test system | |
CN110488630B (en) | Test system and test method for controlling stability-increasing flight control computer | |
CN105425201B (en) | metering chip simulation test method for software reliability detection of intelligent electric energy meter | |
CN108983077B (en) | Circuit board test system and test method based on JTAG link | |
CN103699112B (en) | Based on avionics Autonomous test Authentication devices and the verification method thereof of I/O signal fault simulation | |
CN102541707A (en) | Multiplex JTAG (Joint Test Action Group) interface-based FPGA (Field Programmable Gate Array) on-chip logic analyzer system and method | |
CN106571166A (en) | MT29F series NAND FLASH test aging system with customizable process | |
CN106405286B (en) | The automatic test approach and system of quality monitoring device of electrical energy | |
CN108446197A (en) | A kind of control protection board automatic checkout system and method | |
CN104569794A (en) | FPGA on-line tester based on boundary scan structure and testing method thereof | |
CN110235393A (en) | Automated testing method and system | |
CN106527401B (en) | Automatic test system for flight control test | |
CN103376340A (en) | Adapter plate, a multi-platform serial test system and method | |
CN109656756A (en) | Multi-core CPU board adjustment method and device, mobile memory medium | |
CN200997633Y (en) | Automatic testing system based on graphic testing platform | |
CN114281624A (en) | Method, system, device and equipment for testing I2C signal integrity | |
CN109522212A (en) | A kind of acquisition terminal software reliability safety half detection system in kind | |
CN209264906U (en) | CVC-200T hardware intelligent test system | |
CN104678292B (en) | A kind of complex programmable logic device (CPLD) test method and device | |
CN106896710A (en) | Scene configurable time synchronization test system and implementation method | |
CN1932774A (en) | Embedded system software fast testing system and method based on multi-serial port resource | |
CN103064790A (en) | Testing method for main control computer |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190326 |