CN109062747A - Digital satellite embedded simulation environment intelligent test method - Google Patents

Digital satellite embedded simulation environment intelligent test method Download PDF

Info

Publication number
CN109062747A
CN109062747A CN201810879941.5A CN201810879941A CN109062747A CN 109062747 A CN109062747 A CN 109062747A CN 201810879941 A CN201810879941 A CN 201810879941A CN 109062747 A CN109062747 A CN 109062747A
Authority
CN
China
Prior art keywords
test
packet
program
sentence
configuration
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.)
Granted
Application number
CN201810879941.5A
Other languages
Chinese (zh)
Other versions
CN109062747B (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201810879941.5A priority Critical patent/CN109062747B/en
Publication of CN109062747A publication Critical patent/CN109062747A/en
Application granted granted Critical
Publication of CN109062747B publication Critical patent/CN109062747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/2273Test methods
    • 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/2268Logging of test results

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses digital satellite embedded simulation environment intelligent test methods, it is tested by digital satellite embedded simulation environment intelligent test system: (1) equipment under test interface being defined by initial parameter configuration unit, sends content, according to the member relation composition between content and test program, and configuration result is stored in database;(2) test program automatically generates unit and generates test program according to the database configured, and test program is burnt on equipment under test;(3) automatic measuring and controlling unit is completed to send the transmission of packet according to the testing process configuration content in database, receives reception, the analysis of packet, and complete the generation of test report.User, which carries out initial parameter configuration by initial parameter configuration unit, can be completed automatically generating, automatic burning, executing test automatically for test program, and intelligently generate test report.

Description

Digital satellite embedded simulation environment intelligent test method
Technical field
The present invention relates to automatic field more particularly to the automatic tests of embedded device.
Background technique
Embedded system is one of engineer application field most promising at present, has been widely used in industrial control The various aspects such as system, furniture appliance, intellectual product.Compared with general purpose type computer system, embedded system has the advantage that function Low, high reliablity is consumed, the ratio of performance to price is high, strong real-time, supports multitask, occupies little space, and it is high-efficient, it is answered towards specific With can flexible customization as needed.
Traditional measuring technology manually operates, using the experience of people and technology as leading factor.Not with science and technology Disconnected progress, more abundant, the higher and higher situation of required precision, traditional survey in face of test assignment increasingly complexity, test content Method for testing has been unable to satisfy requirement, and measuring technology is badly in need of being promoted.By means of the development of electronic technology and computer technology, people is studied Computer and universal electronic device are applied to measuring technology by member, occur being controlled by computer all purpose instrument execute test from Dynamicization measuring technology.
Digital satellite embedded simulation environment needs to carry out the simulation test of various faults, signal wire loosens, board damages, Abnormal electrical power supply, burning program failure, the bit error rate is higher, time delay is too long etc., and reasons may cause emulation data exception.It is general Personnel's detection is difficult positioning failure, and board writing for code of test takes time and effort, and therefore, how to design a kind of automate more It is high, person works measure smaller digital satellite embedded simulation environment intelligent test method is those skilled in the art's skill urgently to be resolved Art problem.
Summary of the invention
In view of this, the invention discloses digital satellite embedded simulation environment intelligent test method, can intelligently for Embedded simulation environment is tested, and then improves testing efficiency, enhancing test function, realizes the highly automated of test macro Change, it is intelligent.
To achieve the goals above, the present invention adopts the following technical scheme:
Digital satellite embedded simulation environment intelligent test system, including test terminal, Integrated Electronic System are set with tested It is standby;Terminal is tested to communicate to connect by Integrated Electronic System and equipment under test;
Testing terminal configuration, there are three software units, comprising:
Initial parameter configuration unit, for defining equipment under test interface, sending content, according between content and test program Member relation composition, and configuration result is stored in database;
Test program automatically generates unit, for the configuration result in database to be generated test program, and will test journey On sequence replication to equipment under test;
Automatic measuring and controlling unit receives the reception, analysis and the generation of test report of packet for sending the transmission of packet.
Above three software unit can be set in one or more test terminal according to application demand.
Further, the software unit of test terminal configuration may also include intellectual analysis unit, for in test report Result analyzed, and form diagnosis report.
Further, test terminal is industrial personal computer;Integrated Electronic System is adapter;Equipment under test is board.
Test terminal is the core of test macro, is automatically performed the compiling of test program, and will by Integrated Electronic System Test program is burnt on equipment under test;It is automatic to execute testing process;Automatically analyze data, the output of Integrated Electronic System passback Test instruction execution result etc..
Integrated Electronic System is used to test the connection of terminal and equipment under test, and automatic detection powers on, and 1 road JTAG is for debugging The gating control function in equipment under test and channel, integrated level are high.
Further, test terminal is also configured with winTestProgram, and as executing, testing process is automatic in the process to be surveyed The tie between unit and Integrated Electronic System is controlled, realizes the opening for executing the transmitting-receiving of testing process process data, interface channel, and And the data that poll equipment under test is sent.
Digital satellite embedded simulation environment intelligent test method passes through digital satellite embedded simulation environment intelligence test System is tested:
(1) by initial parameter configuration unit define equipment under test interface, send content, according to content and test program it Between member relation composition, and configuration result is stored in database;
(2) test program automatically generates unit and generates test program according to the database configured, and test program is burnt It records on equipment under test;
(3) automatic measuring and controlling unit is completed to send the transmission of packet according to the testing process configuration content in database, receives packet Reception, analysis, and complete the generation of test report.
User, which carries out initial parameter configuration by initial parameter configuration unit, can be completed automatically generating, certainly for test program Dynamic burning executes test automatically, and intelligently generates test report.
Further, initial parameter configuration of described dispensing unit content includes information stream configuration, and federation's configuration and testing process are matched It sets;
The initial parameter configuration unit course of work is as follows:
Information stream configuration and federal configuration are carried out by initial parameter configuration unit before test, configuration result is stored in data In library;
Testing process is configured according to required test content, test execution process sentence is generated, is stored in database.
Preferably, database is Access database.
Further, information stream configuration content includes the data stream transmittings information such as bus, data packet, Data Transport Protocol, Wherein:
Bus is the channel for being communicated, and CAN, UART, DIDO etc. can be selected;
Data packet can be divided into packet header and packet content from format;Packet header is made of key parameter, include at least identifier and Length;Packet content is the data or command content to be transmitted;
Data packet is functionally divided into transmission packet and receives packet;Packet is sent for sending data to recipient, packet is received and uses It is determined in recipient and unpacks format;Sending in packet or reception packet further includes according to packet, and also acting as judgement reception data according to packet is No correct effect;
Data Transport Protocol defines sender, recipient, sends packet, receives packet, sending the relationship between bus.
Further, federal configuration content include deployment scheme, federation, scheme include it is federal, federal comprising single fighter and Federation relies on the federal deployment such as federation and Federal Communication information, in which:
Deployment scheme refers to the title of some test item, also characterize equipment under test access test network position and The test program of burning;Deployment scheme defines scheme ID and title;
Federation is the program of a function opposite independent, and federation includes multiple single fighters;Intelligent Negotiation between federation, exists Between the federation of dependence, after the federal starting being relied on, relying on federation could start successfully;Federation defines federal name Title, federal type, remarks and the ID of each federation;
Remarks are for marking whether it is equipment under test, to decide whether to generate test program and federal number with this File.
Dependence and communication mode between federal number document definition federation;
Scheme includes federal definition scheme ID, federation ID, cabinet number, board number;Test program compiles burning program automatically Burning position is determined according to cabinet number and board number;
Federation defines federation ID, single fighter ID comprising single fighter;
Federation relies on the federal title ID of federal definition, relies on federation ID.
Further, testing process configuration content includes that federal remarks, single fighter interface channel number and testing process etc. are surveyed Examination executes process sentence information, and relevant configuration result is stored in database.
Wherein, federal remarks are to be redefined according to testing process to remarks.Single fighter interface channel number is for true Surely it tests and connects interface channel used in equipment under test in terminal, it can be real as needed by the determination of single fighter interface channel number The increase of existing bus type, convenient for the functionality extension of test macro.
Further, it includes Code automatic build program that test program, which automatically generates unit, and code autopiler is surveyed Examination program compiles burning program automatically;
It is as follows that test program automatically generates cell operation process:
After the completion of initial parameter configuration, Code automatic build program reads the database of initial parameter configuration of described dispensing unit, Character string is generated, printing forms variable source code document;Code automatic build program copies fixed code character string, and printing is formed Fixed source code document;
Variable source code document and fixed source code document are placed in same file folder by code autopiler, right Variable code and fixed code are merged, are compiled, and generate executable program;
Test program compiles burning program automatically and sends the instruction for opening equipment under test port to Integrated Electronic System, and leads to Crossing batch system calls Keil software to convert assembly language program(me) for the executable program based on C language, completes test journey The compiling of sequence;J-FlashARM software is called to complete the burning of test program.
Further, the instruction of equipment under test port is opened via the single fighter interface channel of winTestProgram to comprehensive Electronic system is closed to send.
Further, automatic measuring and controlling unit includes supervising aobvious module and process control module;
Automatic measuring and controlling cell operation process is as follows:
It supervises aobvious module and sends the instruction for executing test execution process sentence to process control module, and real-time display is tested Progress and test execution process sentence implementing result, convenient for judging the mistake of test execution process sentence appearance in test process;
Process control module, which receives, supervises the instruction that aobvious module is sent, and executes test execution process sentence;
For data involved in test execution process sentence, process control module obtains corresponding transmission bag data, group Dress sends packet and is sent to the aobvious module of prison;For transmission sentence involved in test execution process sentence, process control module will be sent out It send sentence assembling to send packet and is sent to the aobvious module of prison;
It supervises aobvious module and is sent to equipment under test for packet is sent, receive packet from equipment under test, packet will be received and held with test Row process sentence implementing result returns to process control module;
Process control module receives the return packet (i.e. above-mentioned reception packet) and test execution process sentence for supervising aobvious module passback Implementing result, and data are compared, comparison result is stored in database;
The archive data that aobvious module reads process control module are supervised, test report, the content packet of test report are automatically generated Testing process is included, process sentence implementing result and comparing result are executed.
Further, it supervises aobvious module and can also temporarily increase testing process from interface and be sent to process control module execution, and The increased testing process of institute is shown.
Further, during process control module executes test execution process sentence, for being related to sending sentence, stream Process control module is also obtained according to bag data, and assembling sends packet and is sent to the aobvious module of prison.
Further, the data transmit-receive supervised between aobvious module and equipment under test passes through winTestProgram and integrated electronics The transmission of system is realized.
Further, after test report generates, intellectual analysis unit can generate diagnosis report according to the content of test report It accuses, the specific implementation process is as follows:
Fault diagnosis knowledge base is established, faulty detection feature is stored in fault diagnosis knowledge base;
Failure Diagnostic Code library is established, faulty detection feature, abort situation and event are stored in Failure Diagnostic Code library Hinder the corresponding relationship of reason;
According to fault diagnosis knowledge base determine data in test report corresponding to failure detection feature, combination failure examines Disconnected rule base makes inferences, and obtains the tentative diagnosis of failure, generates diagnosis report.
Further, the detection feature of failure includes that detection of the failure in terms of on-off, time delay, error code, obstruction, interruption is special Sign.
It can be seen via above technical scheme that compared with prior art, it is embedded that the present disclosure provides digital satellites Emulation platform intelligent test method, the automatically generating of test program under achievable difference operating conditions, execute test at automatic burning automatically And intelligence generates test report, makes test assessment to the performance of Embedded-system, provides for the reliability of system emulation Data foundation.The present invention uses Functional Design modularization, the mentality of designing of software programming structuring simultaneously, makes system convenient for more Change;Software is built in conjunction with configuration file structure, makes system convenient for Function Extension;To sum up, test effect can be improved through the invention Rate shortens the lead time, and enhancing is maintainable.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only implementation of the invention Example, for those of ordinary skill in the art, without creative efforts, can also be according to the attached drawing of offer Obtain other attached drawings.
Fig. 1 is that digital satellite embedded simulation environment intelligent test system of the present invention tests terminal schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
According to emulation demand, digital satellite embedded simulation environment intelligent test method of the invention includes in five tests Hold: on off test, delay testing, error code testing, blocking test, interrupt test, in which:
On-off: can test board sending and receiving data;
Time delay: the time loss of test data transmission;
The bit error rate: the error rate of test board sending and receiving data, by bit comparison acquired results.
Obstruction: test recipient stops after receiving, and whether sender, which stops, sending;Recipient restores after receiving, sender Whether can restore to send;
It interrupts: stopping the operation of current program, be transferred to corresponding processing routine automatically, test industrial personal computer, which interrupts, to be serviced to slow Rush two parts of efficiency and nested interrupt that data are put in area.
Board connects the UART or CAN interface of industrial personal computer by adapter, and then it is flat to carry out digital satellite embedded emulation Platform intelligence test, specifically:
1. initial parameter configures
(1) information stream configuration is carried out by initial parameter configuration unit, configuration result is stored in database;
Setting including bus, data packet format and transmission, the setting for receiving mode and the setting of Data Transport Protocol.
(2) it is configured by initial parameter configuration unit federation, configuration result is stored in database;
Deployment scheme definition scheme ID and title;
Scheme includes federal definition scheme ID, federation ID, cabinet number, board number;
Federation defines federal title, federal type, remarks and the ID of each federation;
Federation specifically includes initial parameter configuration unit, and test program automatically generates unit, supervises aobvious module, Row control mould Block and winTestProgram;
Remarks are for marking whether it is equipment under test;
Dependence and communication mode between federal number document definition federation;
Federation relies on the federal title ID of federal definition, relies on federation ID.
Federation defines federation ID, single fighter ID comprising single fighter;Such as it includes single fighter that test program, which automatically generates unit, Including Code automatic build program, code autopiler, test program compiles burning program automatically.
(3) testing process is configured according to required test content, generates test execution process sentence, is stored in database.
2. test program automatically generates
(1) Code automatic build program reads the database of initial parameter configuration of described dispensing unit, generates character string, prints shape At variable source code document;Code automatic build program copies preset fixed code character string, and printing forms stationary source Code document;
(2) variable source code document and fixed source code document are placed in same file folder by code autopiler It is interior, variable code and fixed code are merged, compiled, executable program is generated;
(3) test program compiles burning program automatically and sends opening board port to adapter by winTestProgram Instruction, and pass through batch system call Keil software complete test program compiling, call J-FlashARM software complete The burning of test program.
3. automatic measuring and controlling
Automatic measuring and controlling unit carries out the communication test of board according to the test program in test execution process sentence and board, Include:
(1) on off test
1) it supervises aobvious module and determines selection on off test, the finger for executing test execution process sentence is sent to process control module It enables, and real-time display testing progress and test execution process sentence implementing result;
2) process control module, which receives, supervises the instruction that aobvious module is sent, and test execution process sentence is executed, in database Data 1 are obtained, assembling sends packet and is sent to the aobvious module of prison;
3) it supervises aobvious module and board is sent to for packet is sent by winTestProgram and adapter;
4) board receives data packet and unpacked data 1, and then group packet, is back to by adapter, winTestProgram Supervise aobvious module;
5) it supervises aobvious module and receives packet, packet will be received with test execution process sentence implementing result and return to Row control Module;
6) process control module receives the return packet and test execution process sentence implementing result for supervising aobvious module passback, and right It returns to packet and is compared with the data for sending packet, comparison result is stored in database.
(2) delay testing
Industrial personal computer sends data 1 through pinboard to board, and records the time, and board unpacks after receiving data packet, group is wrapped again It sends back to, industrial personal computer records the time again after receiving, the industrial personal computer display transmitting-receiving time difference, obtain test report.
1) it supervises aobvious module and determines selection delay testing, the finger for executing test execution process sentence is sent to process control module It enables, and real-time display testing progress and test execution process sentence implementing result;
2) process control module, which receives, supervises the instruction that aobvious module is sent, and test execution process sentence is executed, in database Data 1 are obtained, assembling sends packet and is sent to the aobvious module of prison;
3) it supervises aobvious module and board, winTestProgram is sent to for packet is sent by winTestProgram and adapter Record sending time is simultaneously stored in database;
4) board receives unpacked data 1 after data packet, and then group packet, is back to by adapter, winTestProgram Supervise aobvious module;WinTestProgram record receiving time is simultaneously stored in database;
5) it supervises aobvious module and receives packet, read sending time and receiving time, the time difference is calculated and be shown, then will connect Packet receiving and test execution process sentence implementing result return to process control module;
6) process control module receives the return packet and test execution process sentence implementing result for supervising aobvious module passback, and right It returns to packet and is compared with the data for sending packet, comparison result is stored in database.
(3) error code testing
The same on off test of test mode is compared by the data that continuous several times transmit and receive, tests its bit error rate.
1) it supervises aobvious module and determines selection error code testing, the finger for executing test execution process sentence is sent to process control module It enables, and real-time display testing progress and test execution process sentence implementing result;
2) process control module, which receives, supervises the instruction that aobvious module is sent, and test execution process sentence is executed, in database Data 1 are obtained, assembling sends packet and is sent to the aobvious module of prison;
3) it supervises aobvious module and board is sent to for packet is sent by winTestProgram and adapter;
4) board receives data packet and unpacked data 1, and then group packet, is back to by adapter, winTestProgram Supervise aobvious module;
5) it supervises aobvious module and receives packet, be sent to plate for packet is sent again by winTestProgram and adapter Card, repetitive data packet send and receive 100 times;Then all receptions packet is returned with test execution process sentence implementing result To process control module;
6) process control module receives the return packet and test execution process sentence implementing result for supervising aobvious module passback, and right It returns to packet and is compared with the data for sending packet, comparison result is stored in database.
(4) blocking test
1) it supervises aobvious module and determines selection blocking test, the finger for executing test execution process sentence is sent to process control module It enables, and real-time display testing progress and test execution process sentence implementing result;
2) process control module, which receives, supervises the instruction that aobvious module is sent, and executes test execution process sentence, will enter obstruction The assembling of test pattern sentence sends packet and is sent to the aobvious module of prison;Packet format are as follows: data packet head+parameter packet;Parameter packet: identifier The instruction of (1byte)+blocking test;
3) it supervises aobvious module and board is sent to for packet is sent by winTestProgram and adapter;
4) board receives data packet and unpacks, and into blocking test mode, constantly passes through adapter, winTestProgram It transmits to aobvious module is supervised from increasing data;
5) aobvious module is supervised received from data are increased, and all receptions packet is returned into stream with test execution process sentence implementing result Process control module;
6) process control module gives winTestProgram to send and instructs, stop received from increasing data by the aobvious module of prison 10s enters blocked state;
7) winTestProgram is continued to from increasing data after 10s, and is sent to the aobvious module of prison;
8) aobvious module is supervised received from data are increased, and all receptions packet is returned into stream with test execution process sentence implementing result Process control module;
9) process control module receives the return packet and test execution process sentence implementing result for supervising aobvious module passback, compares It is whether continuous from data are increased before and after blocked state, comparison result is stored in database.
(5) interrupt test
1) it supervises aobvious module and determines selection interrupt test, the finger for executing test execution process sentence is sent to process control module It enables, and real-time display testing progress and test execution process sentence implementing result;
2) process control module, which receives, supervises the instruction that aobvious module is sent, and executes test execution process sentence, will enter and interrupt The assembling of test pattern sentence sends packet and is sent to the aobvious module of prison;Packet format are as follows: data packet head+parameter packet;Parameter packet: identifier (1byte)+interrupt test state (a)/interrupt test time (b);
3) it supervises aobvious module and board is sent to for packet is sent by winTestProgram and adapter;
4) board receives data packet and unpacks, and into interrupt test mode, constantly passes through adapter, winTestProgram It transmits to aobvious module is supervised from increasing data;
5) aobvious module is supervised received from data are increased, and all receptions packet is returned into stream with test execution process sentence implementing result Process control module;
6) process control module obtains data 1 in database, and assembling sends packet and is sent to the aobvious module of prison;
7) it supervises the aobvious continuous 10s of module and passes through winTestProgram and adapter incessantly and be sent to plate for packet is sent Card;
8) board stops from the transmission for increasing data, into interrupt status, preferential receipt data packet and unpacked data 1, then Group packet is back to the aobvious module of prison by adapter, winTestProgram;Restore again from the transmission for increasing data;
9) it supervises aobvious module and receives packet, all receptions packet is returned into process with test execution process sentence implementing result Control module;
10) process control module receives the return packet and test execution process sentence implementing result for supervising aobvious module passback, than To increasing whether continuous and data 1 the transmission packet of data before and after interrupt status certainly and returning to the consistency of bag data, tied comparing Fruit is stored in database.
Further, artificially increasing in such a way that the reception of a PORT COM is interrupted and adds time delay in service function The processing time of the interruption so that board is in the interruption of the untreated complete port, because other ports receive data enter it is another A PORT COM receives under the operating condition interrupted, and tests whether the interruption whether interruption first is interrupted and arrives afterwards loses number According to specifically comprising the following steps:
1) it supervises aobvious module and determines selection interrupt test, the finger for executing test execution process sentence is sent to process control module It enables, and real-time display testing progress and test execution process sentence implementing result;
2) process control module, which receives, supervises the instruction that aobvious module is sent, and executes test execution process sentence, will enter and interrupt The assembling of test pattern sentence sends packet and is sent to the aobvious module of prison;Packet format are as follows: data packet head+parameter packet;Parameter packet: identifier (1byte)+interrupt test state (a)/interrupt test time (b);
3) it supervises aobvious module and board is sent to for packet is sent by winTestProgram and adapter;
4) board receives data packet and unpacks, and into interrupt test mode, constantly passes through adapter, winTestProgram It transmits to aobvious module is supervised from increasing data;
5) aobvious module is supervised received from data are increased, and all receptions packet is returned into stream with test execution process sentence implementing result Process control module;
6) process control module obtains data 1 in database, and assembling sends packet and is sent to the aobvious module of prison;
7) it supervises the aobvious continuous 20s of module and passes through winTestProgram and adapter incessantly and be sent to plate for packet is sent Card;
8) board stops from the transmission for increasing data, into interrupt status, preferential receipt data packet and unpacked data 1, then Group packet is back to the aobvious module of prison by adapter, winTestProgram;
9) in the transmission process that data 1 send packet, process control module obtains data 2 in database, and assembling is sent Packet is sent to the aobvious module of prison;
10) it supervises the aobvious continuous 10s of module and passes through winTestProgram and adapter incessantly and be sent to plate for packet is sent Card;
11) under normal circumstances, board first receive data 1 reception packet and unpacked data 1, then group packet, by adapter, WinTestProgram is back to the aobvious module of prison;The reception packet and unpacked data 1 of data 2 are received again, and then group packet, passes through switching Card, winTestProgram are back to the aobvious module of prison;Then restore from the transmission for increasing data;
12) it supervises aobvious module and receives packet, all receptions packet is returned into stream with test execution process sentence implementing result Process control module;
13) process control module receives the return packet and test execution process sentence implementing result for supervising aobvious module passback, than Transmission to data whether continuous, data 1 transmission packet and the consistency, data 2 that return to bag data is increased before and after interrupt status certainly Packet and the consistency for returning to bag data, comparison result is stored in database.
(6) it supervises aobvious module and reads the comparing of above-mentioned five tests as a result, automatically generating test report.
4. intellectual analysis
The realization process of intellectual analysis unit is as follows:
Fault diagnosis knowledge base is established, faulty detection feature is stored in fault diagnosis knowledge base;
Failure Diagnostic Code library is established, faulty detection feature, abort situation and event are stored in Failure Diagnostic Code library Hinder the corresponding relationship of reason;
According to fault diagnosis knowledge base determine data in test report corresponding to failure detection feature, combination failure examines Disconnected rule base makes inferences, and obtains the tentative diagnosis of failure, generates diagnosis report.
A variety of modifications of above-described embodiment will be readily apparent to those skilled in the art, herein Defined General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Cause This, the present invention will not be limited to the embodiments shown herein, and is to fit to and principles disclosed herein and new The consistent widest scope of clever feature.

Claims (8)

1. digital satellite embedded simulation environment intelligent test system, which is characterized in that including testing terminal, Integrated Electronic System And equipment under test;The test terminal is communicated to connect by the Integrated Electronic System and equipment under test;
The test terminal is configured with:
Initial parameter configuration unit, for define equipment under test interface, send content, according between content and test program at Member's relationship composition, and configuration result is stored in database;
Test program automatically generates unit, for the configuration result in database to be generated test program, and test program is burnt It records on equipment under test;
Automatic measuring and controlling unit receives the reception, analysis and the generation of test report of packet for sending the transmission of packet.
2. digital satellite embedded simulation environment intelligent test system according to claim 1, which is characterized in that the survey Examination terminal is industrial personal computer;The Integrated Electronic System is adapter;The equipment under test is board.
3. digital satellite embedded simulation environment intelligent test method, which is characterized in that flat by digital satellite embedded emulation Platform intelligent test system is tested:
(1) equipment under test interface defined by initial parameter configuration unit, send content, according between content and test program Member relation composition, and configuration result is stored in database;
(2) test program automatically generates unit and generates test program according to the database configured, and test program is burnt to On equipment under test;
(3) automatic measuring and controlling unit is completed to send the transmission of packet according to the testing process configuration content in database, receives connecing for packet It receives, analysis, and completes the generation of test report.
4. digital satellite embedded simulation environment intelligent test method according to claim 3, which is characterized in that described first It includes information stream configuration that beginning parameter configuration unit, which configures content, federation's configuration and testing process configuration;
The initial parameter configuration unit course of work is as follows:
Information stream configuration and federal configuration are carried out by initial parameter configuration unit before test, configuration result is stored in database In;
Testing process is configured according to required test content, test execution process sentence is generated, is stored in database.
5. digital satellite embedded simulation environment intelligent test method according to claim 4, which is characterized in that the letter Ceasing stream configuration content includes bus, data packet and Data Transport Protocol;
The federal configuration content includes that deployment scheme, federation, scheme join comprising federation, federation comprising single fighter and federal dependence Nation;
The testing process configuration content includes federal remarks, single fighter interface channel number and testing process.
6. digital satellite embedded simulation environment intelligent test method according to claim 5, which is characterized in that the survey Examination programming automatic generation unit includes Code automatic build program, and code autopiler, test program compiles burning automatically Program;
It is as follows that the test program automatically generates cell operation process:
After the completion of initial parameter configuration, Code automatic build program reads the database of initial parameter configuration of described dispensing unit, generates Character string, printing form variable source code document;Code automatic build program copies fixed code character string, and printing, which is formed, to be fixed Source code document;
Variable source code document and fixed source code document are placed in same file folder by code autopiler, to variable Code and fixed code are merged, are compiled, and generate executable program;
Test program compiles burning program automatically and sends the instruction for opening equipment under test port to Integrated Electronic System, and by criticizing Processing technique calls Keil software to complete the compiling of test program, and J-FlashARM software is called to complete the burning of test program.
7. digital satellite embedded simulation environment intelligent test method according to claim 6, which is characterized in that it is described from Dynamic measurement and control unit includes supervising aobvious module and process control module;
The automatic measuring and controlling cell operation process is as follows:
It supervises aobvious module and sends the instruction for executing test execution process sentence, and real-time display testing progress to process control module With test execution process sentence implementing result;
Process control module, which receives, supervises the instruction that aobvious module is sent, and executes test execution process sentence;
For data involved in test execution process sentence, process control module obtains corresponding transmission bag data, assembling hair Packet is sent to be sent to the aobvious module of prison;For transmission sentence involved in test execution process sentence, process control module will send language Sentence assembling sends packet and is sent to the aobvious module of prison;
It supervises aobvious module and is sent to equipment under test for packet is sent, receive packet from equipment under test, packet and test execution stream will be received Journey sentence implementing result returns to process control module;
Process control module receives the return packet and test execution process sentence implementing result for supervising aobvious module passback, and to data into Row compares, achieves;
The archive data that aobvious module reads process control module are supervised, test report is automatically generated.
8. digital satellite embedded simulation environment intelligent test method according to claim 7, which is characterized in that process control During molding block executes test execution process sentence, for being related to sending sentence, process control module is also obtained according to packet Data, assembling send packet and are sent to the aobvious module of prison.
CN201810879941.5A 2018-08-03 2018-08-03 Intelligent testing method for digital satellite embedded simulation platform Active CN109062747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810879941.5A CN109062747B (en) 2018-08-03 2018-08-03 Intelligent testing method for digital satellite embedded simulation platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810879941.5A CN109062747B (en) 2018-08-03 2018-08-03 Intelligent testing method for digital satellite embedded simulation platform

Publications (2)

Publication Number Publication Date
CN109062747A true CN109062747A (en) 2018-12-21
CN109062747B CN109062747B (en) 2020-11-13

Family

ID=64831390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810879941.5A Active CN109062747B (en) 2018-08-03 2018-08-03 Intelligent testing method for digital satellite embedded simulation platform

Country Status (1)

Country Link
CN (1) CN109062747B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590478A (en) * 2021-07-17 2021-11-02 郑州威科姆华大北斗导航科技有限公司 Automatic burning test device and method for satellite receiving module
CN116577809A (en) * 2023-04-06 2023-08-11 郑州威科姆华大北斗导航科技有限公司 Universal GNSS satellite receiving module automatic test software and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799508A (en) * 2012-07-09 2012-11-28 深圳市共进电子股份有限公司 Automatic test system and method
US20130198569A1 (en) * 2012-02-01 2013-08-01 Empirix Inc. Method of embedding configuration data in a non-configuration document
CN103309783A (en) * 2013-07-08 2013-09-18 北京经纬恒润科技有限公司 Test method and device based on bus communication
CN103440187A (en) * 2013-08-15 2013-12-11 上海固泰科技有限公司 Hardware script-based automated CAN (Controller Area Network) bus test method
CN104142160A (en) * 2014-07-08 2014-11-12 中北大学 Telemetering system converter ground testing system
CN104778320A (en) * 2015-04-13 2015-07-15 北京仿真中心 Configurable HLA (high level architecture) federal member construction method and configurable HLA federal member construction system
CN104793076A (en) * 2015-04-08 2015-07-22 南京能云电力科技有限公司 Intelligent automatic test system and method
US9378054B2 (en) * 2013-04-12 2016-06-28 Dropbox, Inc. Testing system with methodology for background application control

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130198569A1 (en) * 2012-02-01 2013-08-01 Empirix Inc. Method of embedding configuration data in a non-configuration document
CN102799508A (en) * 2012-07-09 2012-11-28 深圳市共进电子股份有限公司 Automatic test system and method
US9378054B2 (en) * 2013-04-12 2016-06-28 Dropbox, Inc. Testing system with methodology for background application control
CN103309783A (en) * 2013-07-08 2013-09-18 北京经纬恒润科技有限公司 Test method and device based on bus communication
CN103440187A (en) * 2013-08-15 2013-12-11 上海固泰科技有限公司 Hardware script-based automated CAN (Controller Area Network) bus test method
CN104142160A (en) * 2014-07-08 2014-11-12 中北大学 Telemetering system converter ground testing system
CN104793076A (en) * 2015-04-08 2015-07-22 南京能云电力科技有限公司 Intelligent automatic test system and method
CN104778320A (en) * 2015-04-13 2015-07-15 北京仿真中心 Configurable HLA (high level architecture) federal member construction method and configurable HLA federal member construction system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590478A (en) * 2021-07-17 2021-11-02 郑州威科姆华大北斗导航科技有限公司 Automatic burning test device and method for satellite receiving module
CN113590478B (en) * 2021-07-17 2023-08-29 郑州威科姆华大北斗导航科技有限公司 Automatic burning test device and method for satellite receiving module
CN116577809A (en) * 2023-04-06 2023-08-11 郑州威科姆华大北斗导航科技有限公司 Universal GNSS satellite receiving module automatic test software and method

Also Published As

Publication number Publication date
CN109062747B (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN105785199B (en) Multifunctional ligand electric terminals integrated test system and its working method
CN107562635A (en) Embedded software test accessory system
US4617663A (en) Interface testing of software systems
CN108121326A (en) A kind of fault diagnosis method and system
JP2000196705A (en) Automatic communication protocol test system having message/sequence compilation function and tet method
CN112817872A (en) Development test system and method
CN109142919A (en) Extra-high voltage direct-current based on the simulation of overall process operation characteristic keeps the scene intact test method, device and system
JPH08265424A (en) User interface with terminal emulation driving operation support system translation mechanism provided on portable testing and communication device of engineer
CN108389464A (en) A kind of hardware in loop EMU fault simulation system, control method, Training Methodology
CN109062747A (en) Digital satellite embedded simulation environment intelligent test method
CN103913728B (en) A kind of method of testing based on portable radar comprehensive tester
Lima et al. A pragmatic approach to generating test sequences for embedded systems
CN108398607A (en) Distribution terminal comprehensive test platform and method
US6477487B1 (en) Remote terminal emulator
CN110471397A (en) A kind of emulation test system and method for the energy storage unit control flow that draws water
CN100499513C (en) Telecommunication value-added service integrated measuring system and measuring method thereof
CN110928274B (en) Test system of LEU equipment
CN113541093A (en) Intelligent distributed feeder automation function test method for power distribution terminal
CN111597062A (en) Electric energy meter communication reliability testing method and device
CN110543165A (en) Electrical control loop fault point assessment system and method based on programmable controller
CN220457531U (en) Test equipment and test system for communication board of relay protection device
Rafiq The astride testing approach: principles, tools and carrying out
AU745780B2 (en) Remote terminal emulator
JPH0338956A (en) Automatic test equipment
CN111307489A (en) Intelligent telecontrol machine closed-loop automatic 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
GR01 Patent grant
GR01 Patent grant