CN106844125B - The automatic recording device and method of commissioning stage debugging information to be measured - Google Patents

The automatic recording device and method of commissioning stage debugging information to be measured Download PDF

Info

Publication number
CN106844125B
CN106844125B CN201510883092.7A CN201510883092A CN106844125B CN 106844125 B CN106844125 B CN 106844125B CN 201510883092 A CN201510883092 A CN 201510883092A CN 106844125 B CN106844125 B CN 106844125B
Authority
CN
China
Prior art keywords
control unit
measured
time
signal
debugging information
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.)
Expired - Fee Related
Application number
CN201510883092.7A
Other languages
Chinese (zh)
Other versions
CN106844125A (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.)
Shencloud Technology Co Ltd
Kunda Computer Technology Kunshan Co Ltd
Original Assignee
Shencloud Technology Co Ltd
Kunda Computer Technology Kunshan 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 Shencloud Technology Co Ltd, Kunda Computer Technology Kunshan Co Ltd filed Critical Shencloud Technology Co Ltd
Priority to CN201510883092.7A priority Critical patent/CN106844125B/en
Publication of CN106844125A publication Critical patent/CN106844125A/en
Application granted granted Critical
Publication of CN106844125B publication Critical patent/CN106844125B/en
Expired - Fee Related 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/25Testing of logic operation, e.g. by logic analysers

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)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention provides a kind of automatic recording device of commissioning stage debugging information to be measured, the debugging information generated when executing and be switched on suitable for the commissioning stage to be measured of automatic recording one, the device includes logic analyser and control terminal computer, the control terminal computer includes first control unit and the second control unit, and wherein first control unit controls the opening and closing of the logic analyser;The output signal of second control unit reception universal input and output port, and judge whether persistently receive holding time for the output signal consistent with preset time, if inconsistent, then the second control unit sends open signal to first control unit and timing, control logic analyser unlatching recording motherboard removes wrong data, second control unit calls recording time, when the opening time of the second control unit transmission open signal and timing arrival logic analyser is identical as recording time, second control unit sends closure signal to the first control unit, control logic analyser closure.

Description

The automatic recording device and method of commissioning stage debugging information to be measured
Technical field
The invention relates to a kind of automatic recording device and method of debugging information more particularly to a kind of commissioning stages to be measured The automatic recording device and method of debugging information.
Background technique
Mainboard is called motherboard (Main Board, abbreviation MB), it is mounted in cabinet, is that computer is most basic and most heavy One of component wanted, it is however generally that, in order to ensure the running stability for restarting process of motherboard, motherboard is gone in factory Toward the switching on and shutting down test needed by thousands of times, common test method is using manually switching on and shutting down and records dependence test The mode of data carries out: setting up logic analyser (Interface Tracer), logic analyser and motherboard are passed through USB The wrong data of removing of motherboard, manual operation control computer control logic analyzer are recorded in the connection such as interface by logic analyser Working condition, it is however generally that, when there is debugging information, manual operation control terminal computer open record debugging information, directly After the completion of recording to debugging information, manually operation control computer stops recording debugging information again, also or, when removing When wrong information and operator can not operate control computer in time situations such as (such as operator away from keyboard control computer), then Be likely to occur not in time open logic analyser or not in time close logic analyser the case where generation, specifically, ought not and When Shi Kaiqi logic analyser, in fact it could happen that the situation that debugging information can not be arrived by record, and when closing logic analyser not in time, It then may cause debugging information and other information be recorded together, so that operator needs to be found in numerous data except wrong letter Breath, what is more, if operator's time departure is too long, and the capacity of logic analyser memory itself is inadequate, then may cause it Preceding debugging information is capped, to generate the loss of debugging information.Therefore, when such method will lead to time-consuming detection Journey, or even operator's graveyard shift is needed to be monitored.
For these reasons, it is really necessary to overcome disadvantages mentioned above, device and the side of a kind of debugging information automatic recording are provided Method, by monitoring the state of commissioning stage to be measured in real time, the debugging information of automatic recording board to be measured is saved without human intervention Human cost and time cost.
[summary of the invention]
Therefore, for above situation, the purpose of the present invention is be to provide a kind of commissioning stage debugging information to be measured automatic Record device and method, the debugging information of automatic recording board to be measured, without human intervention.
In order to achieve the above object, the present invention provides a kind of automatic recording device of commissioning stage debugging information to be measured, is applicable in The debugging information generated when the commissioning stage to be measured of automatic recording one is executed and is switched on, the device include logic analyser and control terminal electricity Brain, wherein when the logic analyser is opened, which reads the debugging information and record;On the control terminal computer The commissioning stage to be measured is set to preset when except wrong operation through a universal input and output port persistently receives an output signal one Time and persistently record board to be measured debugging information a recording time, the control terminal computer and the commissioning stage to be measured pass through logical It is connected with input/output port, which includes:
First control unit controls the opening and closing of the logic analyser;
Second control unit, receives the output signal of the universal input and output port, and judges persistently to receive this general defeated Whether consistent with the preset time enter holding time for the output signal of delivery outlet, if second control unit does not receive persistently The output signal is changed to the preset time, then second control unit sends open signal to the first control unit And timing, after which receives the open signal, which controls logic analyser unlatching, by patrolling That collects analyzer recording motherboard removes wrong data, which calls recording time simultaneously, to second control unit Send open signal and timing reach the logic analyser opening time it is identical as the recording time when, second control unit Closure signal is sent to the first control unit, after which receives the closure signal, the first control unit control Make logic analyser closure.
Particularly, the output current potential of the universal input and output port includes high potential and low potential, when the output current potential is When high potential, which is defined as an output signal.
Particularly, which executes different when restarting test, the corresponding different preset time and the recording Time.
The present invention also provides a kind of automatic recording methods of commissioning stage debugging information to be measured, are suitable for above-mentioned commissioning stage to be measured The automatic recording device of debugging information, the device include control terminal computer and logic analyser, wherein the control terminal computer includes First control unit and the second control unit, this method comprises:
It is lasting through the universal input and output port when except wrong operation in setting commissioning stage to be measured on the control terminal computer It receives a preset time of an output signal and persistently records a recording time of the debugging information of board to be measured;
Second control unit receives the output signal of universal input and output port and timing;
Second control unit persistently receives the universal input and output port according to the timing for receiving the output signal, judgement The one of the output signal holds time with whether the preset time is consistent;
If inconsistent, i.e., the output signal does not continue to the preset time to change, then it is single to trigger second control Member sends open signal and starts timing;
After the first control unit receives the open signal, triggers the first control unit and control logic analyser unlatching And start to be recorded;
Second control unit calls the recording time;
When the second control to the unit sends open signal and starts timing and reach the recording time, second control unit Send closure signal;
After the first control unit receives the closure signal, triggers the first control unit and control logic analyser closure And stop recording.
Particularly, the output current potential of the universal input and output port includes high potential and low potential, when the output current potential is When high potential, which is defined as an output signal.
Particularly, which executes different when restarting test, the corresponding different preset time and the recording Time.
Compared to the prior art, the automatic recording device and method of commissioning stage debugging information to be measured of the invention, passes through prison The output signal for surveying the universal input and output port of commissioning stage to be measured judges the state of the commissioning stage to be measured, automatically controls logic Debugging information is opened and recorded to analyzer, without human intervention, saves human cost and time cost.
[Detailed description of the invention]
Fig. 1 is the block diagram of the automatic recording device of present invention commissioning stage debugging information to be measured;
Fig. 2 is the flow chart of the automatic recording method of present invention commissioning stage debugging information to be measured.
[specific embodiment]
The automatic recording device and method of commissioning stage debugging information to be measured of the invention, by monitoring the logical of commissioning stage to be measured With the output signal of input/output port, the state of the commissioning stage to be measured is judged, automatically control logic analyser and open and record Debugging information saves human cost and time cost without human intervention.
Referring to Fig. 1, the block diagram of the automatic recording device for present invention commissioning stage debugging information to be measured, as shown, The device includes control terminal computer 1 and logic analyser 3, when being suitable for executing booting suitable for automatic recording commissioning stage 2 to be measured The debugging information of generation, wherein when the logic analyser 3 is opened, read the debugging information and record;On control terminal computer 1 The commissioning stage 2 to be measured is set to preset when except wrong operation through a universal input and output port persistently receives an output signal one Time and persistently record board to be measured debugging information ㄧ recording time, which passes through with the commissioning stage 3 to be measured Universal input and output port connection, the control terminal computer 1 include first control unit 11 and the second control unit 12, in which:
The opening and closing of the control of first control unit 11 logic analyser 3;
The output of the second control unit 12 reception universal input and output port (GPIO, General Purpose I/O) Signal, and judge persistently receive the general input/output port the output signal hold time whether with the preset time one It causes, if second control unit does not receive the output signal persistently and do not continue to the preset time to change, this second Control unit 12 sends open signal to the first control unit 11 and timing, which receives the open signal Afterwards, which controls the logic analyser 3 and opens, should by logic analyser recording motherboard except wrong data Second control unit 12 calls the recording time simultaneously, sends open signal to second control unit and timing reaches the recording When the time, which sends closure signal to the first control unit 11, which receives should After closure signal, which controls the logic analyser 3 closure.
Referring to Fig. 2, the flow chart of the automatic recording method for present invention commissioning stage debugging information to be measured, as shown, This method comprises:
Step 21: the universal input output end is penetrated when removing wrong operation in setting commissioning stage to be measured on the control terminal computer Mouth persistently receives a preset time of an output signal and persistently records the ㄧ recording time of the debugging information of board to be measured;
Step 22: the second control unit receives the output signal of universal input and output port and timing;
Step 23: for the second control unit according to the timing for receiving the output signal, it is defeated that judgement persistently receives the universal input The one of the output signal of exit port holds time with whether the preset time is consistent, if so, step 24 is gone to, if it is not, then Go to step 22;
Step 24: second control unit sends open signal and starts timing;
Step 25: after the first control unit receives the open signal, which controls the logic analyser It opens and starts to be recorded;
Step 26: second control unit calls the recording time;
Step 27: the second control unit, which judges to send, open signal and starts whether timing reaches the recording time, if so, Step 28 is then gone to, if it is not, then repeating this step;
Step 28: second control unit sends closure signal;
Step 29: the first control unit receives the closure signal, triggers the first control unit and controls the logic analysis Instrument is closed and stops recording.
In this present embodiment, the output current potential of the universal input and output port includes high potential and low potential, when the output When current potential is high potential, it includes high potential and low potential which, which is defined as an output signal, for example, second control is single Member 12 judges when holding time inconsistent with preset time of high potential, that is to say, that the input/output terminal in commissioning stage 3 to be measured Mouthful high potential duration shorter (do not arrive preset time and be just changed to low potential) or longer (arrived preset time also It is not changed to low potential) when, which sends open signal, which controls the logic analysis Instrument 3 is opened and records the debugging information.
In this present embodiment, which executes different when restarting test, corresponding different preset time and The recording time.
A specific embodiment of the invention and embodiment are elaborated above in conjunction with attached drawing, but the present invention is not It is limited to the above-described embodiment and examples, within the knowledge of those skilled in the art, this can also be not being departed from It is made a variety of changes under the premise of inventive concept.

Claims (6)

1. a kind of automatic recording device of commissioning stage debugging information to be measured is suitable for the commissioning stage to be measured of automatic recording one and executes booting When the debugging information that generates, which is characterized in that the device includes:
Logic analyser reads the debugging information and records when the logic analyser is opened;
Control terminal computer, setting the commissioning stage to be measured, persistently to receive one by a universal input and output port when except wrong operation defeated A preset time of signal and persistently record a recording time of the commissioning stage debugging information to be measured out, the control terminal computer with should Commissioning stage to be measured is connected by universal input and output port, which includes:
First control unit controls the opening and closing of the logic analyser;
Second control unit, receives the output signal of the universal input and output port, and judges persistently to receive the universal input defeated Whether holding time for the output signal of outlet be consistent with the preset time, if second control unit persistently receives the output Signal does not continue to the preset time to change, then second control unit sends open signal to the first control unit And the timing opening time, after which receives the open signal, which controls the logic analyser Open, by logic analyser record the motherboard of the commissioning stage to be measured except wrong data, which calls record simultaneously Time processed, when the opening time of the second control unit timing is identical as the recording time, second control unit transmission is closed Signal is closed to the first control unit, after which receives the closure signal, which controls this and patrol Collect analyzer closure.
2. the automatic recording device of commissioning stage debugging information to be measured according to claim 1, which is characterized in that this is general defeated The output current potential for entering output port includes high potential and low potential, when the output current potential is high potential, output current potential definition For an output signal.
3. the automatic recording device of commissioning stage debugging information to be measured according to claim 1, which is characterized in that this is to be tested Board executes different when restarting test, the corresponding different preset time and the recording time.
4. a kind of automatic recording method of commissioning stage debugging information to be measured, is removed suitable for commissioning stage to be measured described in claim 1 The automatic recording device of wrong information, the device include control terminal computer and logic analyser, wherein the control terminal computer includes the One control unit and the second control unit, which is characterized in that this method comprises:
One is persistently received by universal input and output port in setting commissioning stage to be measured on the control terminal computer when except wrong operation One preset time of output signal and the recording time for persistently recording the commissioning stage debugging information to be measured;
Second control unit receives the output signal of universal input and output port and timing;
Second control unit according to the timing for receiving the output signal, judgement persistently receive the universal input and output port this is defeated The one of signal holds time with whether the preset time is consistent out;
If inconsistent, i.e., the output signal does not continue to the preset time to change, then triggers second control unit hair It send open signal and starts the timing opening time;
After the first control unit receives the open signal, triggers the first control unit and control the logic analyser and open and open Beginning is recorded;
Second control unit calls the recording time;
When the opening time of timing reaching the recording time, which sends closure signal;
After the first control unit receives the closure signal, the first control unit is triggered and controls the logic analyser being closed and stopping Only record.
5. the automatic recording method of commissioning stage debugging information to be measured according to claim 4, which is characterized in that this is general defeated The output current potential for entering output port includes high potential and low potential, when the output current potential is high potential, output current potential definition For an output signal.
6. the automatic recording method of commissioning stage debugging information to be measured according to claim 4, which is characterized in that this is to be tested Board executes different when restarting test, the corresponding different preset time and the recording time.
CN201510883092.7A 2015-12-03 2015-12-03 The automatic recording device and method of commissioning stage debugging information to be measured Expired - Fee Related CN106844125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510883092.7A CN106844125B (en) 2015-12-03 2015-12-03 The automatic recording device and method of commissioning stage debugging information to be measured

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510883092.7A CN106844125B (en) 2015-12-03 2015-12-03 The automatic recording device and method of commissioning stage debugging information to be measured

Publications (2)

Publication Number Publication Date
CN106844125A CN106844125A (en) 2017-06-13
CN106844125B true CN106844125B (en) 2019-05-31

Family

ID=59149662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510883092.7A Expired - Fee Related CN106844125B (en) 2015-12-03 2015-12-03 The automatic recording device and method of commissioning stage debugging information to be measured

Country Status (1)

Country Link
CN (1) CN106844125B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722880B (en) * 2020-05-11 2024-02-09 深圳市共进电子股份有限公司 Equipment production method and device, terminal equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854258A (en) * 2010-06-01 2010-10-06 杭州和利时自动化有限公司 Implementation method and device for eliminating communication chip failures
CN102541702A (en) * 2010-12-30 2012-07-04 精英电脑股份有限公司 Test method for automatically restarting mainboard and recording debugging datum as well as restarting device of mainboard
CN102790869A (en) * 2012-07-31 2012-11-21 福建捷联电子有限公司 Realization method for recording programs in TV

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9645870B2 (en) * 2013-06-27 2017-05-09 Atmel Corporation System for debugging DMA system data transfer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854258A (en) * 2010-06-01 2010-10-06 杭州和利时自动化有限公司 Implementation method and device for eliminating communication chip failures
CN102541702A (en) * 2010-12-30 2012-07-04 精英电脑股份有限公司 Test method for automatically restarting mainboard and recording debugging datum as well as restarting device of mainboard
CN102790869A (en) * 2012-07-31 2012-11-21 福建捷联电子有限公司 Realization method for recording programs in TV

Also Published As

Publication number Publication date
CN106844125A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN110347085A (en) Automatization test system, method, vehicle and computer-readable medium
US20070021848A1 (en) Testing system and related method for testing an electronic device by determining a power on/off signal
CN104994459B (en) Terminal digital power amplifier configuration method and device
CN112148515A (en) Fault positioning method, system, device, medium and equipment
CN108009065A (en) The method and apparatus for monitoring AXI buses
US20110057643A1 (en) Oscillograph and signal integrity test method using the oscillograph
WO2023001169A1 (en) Automobile instrument test method, apparatus and system, and storage medium
CN113407393B (en) Chip verification method, terminal device, verification platform and storage medium
US20190278645A1 (en) Log post-processor for identifying root causes of device failure during automated testing
CN110750790B (en) CAN bus vulnerability detection method and device, terminal equipment and medium
CN102789405A (en) Automated testing method and system for mainboard
US20210111967A1 (en) Graphical user interface for traffic capture and debugging tool
CN103760394A (en) Automatic processing method and device for measured data of oscilloscope
CN106771453B (en) Testing method and device for oscilloscope
CN112822440A (en) Biological sample preparation monitoring method, application server, system and storage medium
CN106844125B (en) The automatic recording device and method of commissioning stage debugging information to be measured
CN104468279A (en) Routing protocol interaction testing method and tool
CN109597389B (en) Test system of embedded control system
CN107576864A (en) Self-learning type relay protection automatic test approach and system
CN116860535A (en) Automatic testing device, system and method
CN116306429A (en) Method, device, computer storage medium and terminal for realizing state data capture
CN113590498B (en) Method and system for testing application starting time of desktop operating system
CN109522212A (en) A kind of acquisition terminal software reliability safety half detection system in kind
CN114879647A (en) ECU fault code test system, electronic controller and car
CN113140217B (en) Voice instruction testing method, testing device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190531

Termination date: 20211203