CN107203460A - For basic input output system except wrong message output intent - Google Patents

For basic input output system except wrong message output intent Download PDF

Info

Publication number
CN107203460A
CN107203460A CN201610150976.6A CN201610150976A CN107203460A CN 107203460 A CN107203460 A CN 107203460A CN 201610150976 A CN201610150976 A CN 201610150976A CN 107203460 A CN107203460 A CN 107203460A
Authority
CN
China
Prior art keywords
subprogram
except
wrong
message
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610150976.6A
Other languages
Chinese (zh)
Inventor
王义龙
吕景翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitac Computer Shunde Ltd
Shencloud Technology Co Ltd
Mitac Computing Technology Corp
Original Assignee
Mitac Computer Shunde Ltd
Shencloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitac Computer Shunde Ltd, Shencloud Technology Co Ltd filed Critical Mitac Computer Shunde Ltd
Priority to CN201610150976.6A priority Critical patent/CN107203460A/en
Publication of CN107203460A publication Critical patent/CN107203460A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Abstract

One kind is for basic input output system except wrong message output intent, implemented by a computer installation, the basic input output system includes multiple test programs, each test program includes multiple subprograms, each subroutine pack is corresponding except wrong instruction containing one, each subprogram should be relevant to except wrong instruction one have a unique code except wrong message, this method is included:In the subprogram in going to a test program, the code for instructing related being somebody's turn to do to remove wrong message except mistake according at least to being somebody's turn to do corresponding to a particular decision condition and the subprogram, determine whether that being somebody's turn to do corresponding to the output subprogram removed related being somebody's turn to do of mistake instruction and remove mistake message.

Description

For basic input output system except wrong message output intent
Technical field
The invention relates to except wrong message output intent, particularly relate to one kind for basic input output system except wrong message output intent.
Background technology
When the information processing system of such as computer resets or started, it is installed on basic input output system (the Basic Input/Output System in computer, BIOS) multiple test programs can be performed for computer hardware, i.e., is checked and tested for the computer hardware of such as processor, motherboard, memory etc..In general; each test program has multiple subprograms (sub-routine); in the specific subprogram of some of subprogram such as this, for example, need to perform the subprogram of tediously long testing procedure, it will usually be separately added into one except wrong message (debug message).When BIOS is performing each subprogram, as long as the subprogram has except wrong message, the correspondence of performed subprogram will be removed wrong message and exported by computer, such computer can learn that this makes a mistake when specific subprogram is performed by being exported when stopping being made a mistake when performing some specific subprogram except wrong message, be carried out to be subsequently directed to the specific subprogram of this except mistake.
Only have in existing test program in some specific subprograms except wrong message.But, when not the grade has the specific subprogram except wrong message to the subprogram made a mistake, because being not added to except wrong message, even if the subprogram made a mistake is performed, it there will not be except wrong message is output, lead to not learn to be which subprogram makes a mistake.To avoid such situation from occurring, another practice is all added as far as possible in all subprograms except wrong message, but according to existing mechanism, if all being added except wrong message in whole subprograms, as long as will then be exported except wrong message because each subprogram is performed, cause the substantial increase of transmission information and make transmission speed slack-off, the speed that BIOS performs test is also relatively slack-off, or even can produce mistake because of a large amount of data transmissions.
Therefore, disadvantages mentioned above how is improved, then as the theme further to be inquired into of this case.
The content of the invention
Therefore, the purpose of the present invention, that is, providing one kind for basic input output system except wrong message output intent.
Then, the present invention is for basic input output system except wrong message output intent, implemented by a computer installation, the basic input output system includes multiple test programs, each test program includes multiple subprograms, each subroutine pack is corresponding except wrong instruction containing one, each subprogram should be relevant to except wrong instruction one have a unique code except wrong message, the method includes the steps of:
In the subprogram in going to a test program, the code for instructing related being somebody's turn to do to remove wrong message except mistake according at least to being somebody's turn to do corresponding to a particular decision condition and the subprogram, determine whether that being somebody's turn to do corresponding to the output subprogram removed related being somebody's turn to do of mistake instruction and remove mistake message.
Of the invention the effect of, is:In the environment of each subroutine pack is containing a corresponding instruction except mistake, pass through the computer installation, according at least to the particular decision condition and should except wrong instruction it is related should except the code of wrong message, determine whether to export corresponding to the subprogram should except wrong instruction it is related should be except wrong message.Therefore, in the environment of each subroutine pack contains a corresponding instruction except mistake, can solve because no lead to not learn to be the problem of which subprogram makes a mistake except mistake message.In addition, by conditional output except wrong message, can effectively increase the speed that BIOS performs test.
【Brief description of the drawings】
Fig. 1 is a block diagram, illustrates a computer installation, and it is used for implementing one of embodiment of the present invention for basic input output system except wrong message output intent;And
Fig. 2 is a flow chart, illustrate Fig. 1 computer installation how to implement the embodiment of the present invention except wrong message output intent.
【Embodiment】
Refering to Fig. 1, illustrate that the one kind for being used for implementing the embodiment of the present invention is used for the computer installation 1 for removing wrong message output intent of basic input output system (Basic Input/Output System, BIOS).For example, the computer installation 1 can include a storage element 11, a processing unit 12 and user's inputting interface 14.
The storage element 11 stores the BIOS, the BIOS includes multiple test programs, each test program includes multiple subprograms, each subroutine pack is corresponding except wrong instruction containing one, each subprogram should be relevant to except wrong instruction one have a unique code except wrong message, and each subprogram should include a confirmation code except wrong instruction.
The processing unit 12 electrically connects the storage element 11 and user's inputting interface 14.
Refering to Fig. 1 and Fig. 2, illustrate how the computer installation 1 implements one kind of the embodiment of the present invention for BIOS except wrong message output intent.In this embodiment, for example, the BIOS mono- has N number of subprogram, and the processing unit 12 will sequentially perform the grade test program, and sequentially perform during each test program is performed the test program this etc. subprogram.It is worth noting that, the present embodiment should be except wrong message output intent, for example operating system (the operating system from the computer installation 1 are not received in the BIOS, OS) under any related execution request of (not shown) or user's inputting interface 14, all subprograms of the BIOS will be sequentially performed, wherein " i " is defined as i-th currently performed of subprogram of the processing unit 12.
In step 201, when initial, the processing unit 12 performs the 1st subprogram, that is, i=1.
In step 202., the processing unit 12 judges whether confirmation code that should be removed included in wrong instruction of i-th of subprogram matches with a code presupposition.If judged result is affirmative, that is, when there is a matching between the two, flow carries out step 203.Otherwise, flow carries out step 205.In the present embodiment, the confirmation code can also be stored in the storage element 11 by the processing unit 12, for example, be stored in one in the storage element 11 by CMOS (Complementary Metal-Oxide-Semiconductor, CMOS) random access memory (Random Access Memory, RAM) or a buffer (not shown) that are constituted.On the other hand, the code presupposition can be for example, by one via external target-probe (In-target probe, ITP) or extension remove mistake port (extended debug port, XDP what is) connected removes wrong equipment (not shown), the execution of the reason interruption subroutine of unit 12 or perform in this place after all subprograms, the input signal according to produced by user's inputting interface 14 is come to set the code presupposition be, for example, 1.However, in certain embodiments, the code presupposition can also be set to 0.
In step 203, what the processing unit 12 judged i-th of subprogram should be except the related multiple different condition intersymbols that should be included except the code and a particular decision condition for wrong message of wrong instruction be with the presence or absence of a matching.If judged result is affirmative, flow carries out step 204, otherwise, and flow carries out step 205.
In step 204, when the processing unit 12 judges that confirmation code that should be removed included in wrong instruction of i-th of subprogram is matched with the code presupposition, also judge simultaneously i-th of subprogram should except wrong instruction it is related should be included except code and the particular decision condition of wrong message this etc. condition intersymbol matched in the presence of one when, preferably, i-th of subprogram not only should be instructed related be somebody's turn to do except wrong message was exported to a such as external display (not shown) by the processing unit 12 except wrong, also i-th of subprogram is exported to the external display in the lump, so that i-th of subprogram with this remove wrong message can together be displayed on the external display so that user watches, but it is not limited.It is worth noting that, in other embodiments, what the processing unit 12 can be only by i-th of subprogram should be except wrong the instruction related display or computer (not shown) that should be exported except wrong message to outside one.
Follow in the step 205 after step 202-204, the processing unit 12 judges that whether the processing unit 12 i-th of subprogram is n-th subprogram, that is, judge whether i=N.If judged result is affirmative, flow terminates.Otherwise, flow carries out step 206.
In step 206, the processing unit 12 performs (i+1) individual subprogram, and i also is set into i+1.Afterwards, repeat step 202-206 is until i=N.
It is worth noting that, in the present embodiment, mentioned in Fig. 2 step 203 this etc. condition code can for example have previously been stored in the storage element 11.But, in actual use, when the processing unit 12 can for example make a mistake going to some test program and stop processing, all according to the external display except wrong message and subprogram and update the specified conditions via the artificial input operation of user's inputting interface 14.In this way, effectively and can positively determine that out which subprogram makes a mistake and can reduced and known be used to exporting and show the resource wasted except wrong message of each subprogram.
In addition, it is worth noting that, in other embodiments, such as step 202 in Fig. 2 can be omitted, and the processing unit 12 need only judge in step 203 i-th of subprogram should except wrong instruction it is related should be included except code and the particular decision condition of wrong message this etc. condition intersymbol matched in the presence of one when, be carried out step 204.
In addition, it is worth noting that, if during Fig. 2 program is performed, when the processing unit 12, which receives executions for being relevant to fc-specific test FC program or specific subprogram from the OS or user's inputting interface 14, asks, the processing unit 12 no longer will sequentially perform remaining subprogram.In the case, this execution request is considered a dynamic or selectivity performs request, and the processing unit 12 asks related fc-specific test FC program or the specific subprogram by the execution is preferentially performed.So, the test program or subprogram of executed before the fc-specific test FC program or the specific subprogram are likely to be, and the processing unit 12 performs request in response to this, it will perform the fc-specific test FC program or specific subprogram that performed again, but be not limited.
In summary, in the environment of each subroutine pack is containing a corresponding instruction except mistake, pass through the processing unit 12, the processing unit 12 of the computer installation 1 is according to the specified conditions and should be somebody's turn to do except wrong instruction is related except the code of wrong message, and the confirmation code that included and the code presupposition should be instructed except wrong, determine whether that export this is somebody's turn to do except wrong message except wrong instruction is related.Therefore, each subroutine pack containing one it is corresponding except wrong instruction in the environment of, the present invention except wrong message output intent can be solved because leading to not learn to be the problem of which subprogram makes a mistake except mistake message without output.In addition, by conditional output except wrong message, can effectively increase the speed that BIOS performs test.
The embodiment and embodiment of the present invention are elaborated above in conjunction with accompanying drawing, but can not with restriction the scope of the present invention, the impartial modification and transformation made in scope of the present invention patent should all belong in the scope of the claims of the present invention.

Claims (7)

1. one kind is for basic input output system except wrong message output intent, implemented by a computer installation, the basic input output system includes multiple test programs, each test program includes multiple subprograms, each subroutine pack is corresponding except wrong instruction containing one, each subprogram should be relevant to except wrong instruction one have a unique code except wrong message, it is characterised in that:This method is included:
In the subprogram in going to a test program, the code for instructing related being somebody's turn to do to remove wrong message except mistake according at least to being somebody's turn to do corresponding to a particular decision condition and the subprogram, determine whether that being somebody's turn to do corresponding to the output subprogram removed related being somebody's turn to do of mistake instruction and remove mistake message.
2. according to claim 1 remove wrong message output intent for basic input output system, it is characterised in that:The specific decision condition includes multiple different condition codes.
3. according to claim 2 remove wrong message output intent for basic input output system, it is characterised in that:When the code and the particular decision condition this etc. condition intersymbol matched in the presence of one when, the computer installation determines output should be except wrong message.
4. according to claim 2 remove wrong message output intent for basic input output system, it is characterised in that:The wrong instruction that should remove of each subprogram includes a confirmation code, wherein, the computer installation not only according to corresponding to the particular decision condition and the subprogram should except wrong instruction it is related should except the code of wrong message, the confirmation code that is included always according to this except wrong instruction and a code presupposition come determine whether to export corresponding to the subprogram should except wrong instruction it is related should be except wrong message.
5. according to claim 4 remove wrong message output intent for basic input output system, it is characterised in that:When the confirmation code is matched with the code presupposition, and the code and the particular decision condition this etc. condition intersymbol when being matched in the presence of one, the computer installation determine export corresponding to the subprogram should except wrong instruction it is related should be except wrong message.
6. according to claim 1 remove wrong message output intent for basic input output system, it is characterised in that:Also include:
When the computer installation determine export corresponding to the subprogram should except wrong instruction it is related should be except wrong message when, will be corresponding to the subprogram should should be exported in the lump together with the subprogram except wrong message except wrong instruction is related.
7. a kind of computer program product, can be stored in a store media, and comprising multiple instruction, performs the grade by a computer and instruct, it is characterised in that:The method described in claim 1 ~ 6 can be completed.
CN201610150976.6A 2016-03-16 2016-03-16 For basic input output system except wrong message output intent Pending CN107203460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610150976.6A CN107203460A (en) 2016-03-16 2016-03-16 For basic input output system except wrong message output intent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610150976.6A CN107203460A (en) 2016-03-16 2016-03-16 For basic input output system except wrong message output intent

Publications (1)

Publication Number Publication Date
CN107203460A true CN107203460A (en) 2017-09-26

Family

ID=59903697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610150976.6A Pending CN107203460A (en) 2016-03-16 2016-03-16 For basic input output system except wrong message output intent

Country Status (1)

Country Link
CN (1) CN107203460A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672477A (en) * 2020-05-15 2021-11-19 佛山市顺德区顺达电脑厂有限公司 Automatic debugging message providing method for basic input output system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362671A (en) * 2001-01-05 2002-08-07 英业达股份有限公司 BIOS tracing and debugging method
CN1432918A (en) * 2002-01-18 2003-07-30 英业达股份有限公司 Debugging method via USB connection system
CN101425030A (en) * 2007-10-29 2009-05-06 环隆电气股份有限公司 Debugging method for basic I/O system
TW200937183A (en) * 2008-02-25 2009-09-01 Mitac Int Corp Error detection message processing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362671A (en) * 2001-01-05 2002-08-07 英业达股份有限公司 BIOS tracing and debugging method
CN1432918A (en) * 2002-01-18 2003-07-30 英业达股份有限公司 Debugging method via USB connection system
CN101425030A (en) * 2007-10-29 2009-05-06 环隆电气股份有限公司 Debugging method for basic I/O system
TW200937183A (en) * 2008-02-25 2009-09-01 Mitac Int Corp Error detection message processing system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672477A (en) * 2020-05-15 2021-11-19 佛山市顺德区顺达电脑厂有限公司 Automatic debugging message providing method for basic input output system

Similar Documents

Publication Publication Date Title
US8627290B2 (en) Test case pattern matching
US7930162B1 (en) Accelerating hardware co-simulation using dynamic replay on first-in-first-out-driven command processor
FR3044126A1 (en) SYSTEM AND METHOD FOR AUTOMATICALLY CREATING TEST CASES BASED ON REQUIREMENTS RELATING TO CRITICAL SOFTWARE
CN106415504B (en) Test cases technology system and the recording medium for recording test case
CN106776334B (en) Comment-based test case generation method and device
US8745447B2 (en) System and method for analyzing an electronics device including a logic analyzer
US20120290993A1 (en) Logic verification module apparatus to serve as a hyper prototype for debugging an electronic design that exceeds the capacity of a single fpga
CN112270149A (en) Verification platform automation integration method and system, electronic equipment and storage medium
US20120144256A1 (en) System and Method for Analyzing an Electronics Device Including a Logic Analyzer
JP5308098B2 (en) Information processing apparatus test program and method
CN110580226A (en) object code coverage rate testing method, system and medium for operating system level program
KR101110241B1 (en) Program test device and program
CN108595336A (en) A kind of computer software testing system based on Ethernet
CN113901745A (en) Chip testing method and device, electronic equipment and computer readable storage medium
CN106598637A (en) Selective loading of components within a node to accelerate maintenance actions
CN108572892B (en) PowerPC multi-core processor-based offline test method and device
CN109783837A (en) Emulator, analogue system, emulation mode and simulated program
US20190347152A1 (en) Failover of a hardware accelerator to software
CN113157508A (en) Test method, system, device, equipment and storage medium of embedded system
CN107203460A (en) For basic input output system except wrong message output intent
Lee et al. Collecting big data from automotive ECUs beyond the CAN bandwidth for fault visualization
KR101371895B1 (en) An automatic packet analysis method in can communication
CN108345471B (en) The method and detection device of detection device processing asynchronous event
CN111566625B (en) Test case generating device, test case generating method, and computer-readable recording medium
US10545858B2 (en) Method for testing a graphical interface and corresponding 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170926