CN109558324A - A kind of detection method and equipment - Google Patents
A kind of detection method and equipment Download PDFInfo
- Publication number
- CN109558324A CN109558324A CN201811459400.3A CN201811459400A CN109558324A CN 109558324 A CN109558324 A CN 109558324A CN 201811459400 A CN201811459400 A CN 201811459400A CN 109558324 A CN109558324 A CN 109558324A
- Authority
- CN
- China
- Prior art keywords
- interface
- equipment
- checked
- information
- external interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/366—Software debugging using diagnostics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/273—Tester hardware, i.e. output processing circuits
- G06F11/2733—Test interface between tester and unit under test
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a kind of detection method and equipment, the equipment includes converter and first processor, it is connect if the first communication interface is arranged in converter with default external interface, then the first information can be sent to detection device by first processor, so that detection device gets the mark for the bios code for including in the first information;It is connect if the second communication interface is arranged in converter with default external interface, equipment can be communicated with external device.In the embodiment of the present invention, by the way that default external interface to be connect with the first communication interface, user can be made to get the mark of bios code by presetting external interface, it is compared with the prior art, easy to operate without carrying out tearing machine open, it is practical, and cost of human and material resources can be reduced.
Description
Technical field
The present invention relates to technical field of information processing more particularly to a kind of detection methods and equipment.
Background technique
In the start-up course of equipment, delay machine is a kind of relatively common phenomenon.Equipment can be read during startup
The code of basic input output system (Basic Input Output System, BIOS) and execution, wherein in bios code
Basic power-on instruction comprising equipment, for example, hardware detection instruction and software parameter initialization directive etc..If a certain section of BIOS generation
The hardware of code equipment detected is damaged (or the error of software parameter initialization procedure), then executes to the bios code
When, equipment can generate delay machine phenomenon.Therefore, the position for causing the bios code of equipment delay machine how is accurately positioned, for row
Except the hardware and software failure of equipment, guarantee that the normal boot-strap of equipment is very important.
In order to determine the position for the bios code for causing equipment delay machine, the prior art is pre- usually in the internal circuit of equipment
If interface, which can be used cooperatively with specific Debug Card, for example, Port80 Debug Card.Specifically, research staff can be with
Debug Card is inserted into preset interface in advance, and can by checking the operational process of the code of real-time display on Debug Card, thus
Position where can determining to cause the bios code of delay machine in equipment delay machine.However, needing to set using this kind of method
After standby casing is dismantled, error card can be installed in the preset interface of internal circuit, operated more complicated;And it is connect with default
The Debug Card that mouth is used cooperatively generally has more special structure, so as to will increase research and development cost.
To sum up, at present the urgent need to resolve prior art determine it is complicated for operation, higher cost when causing the code of equipment delay machine
Technical problem.
Summary of the invention
The embodiment of the present invention provides a kind of detection method and equipment, causes equipment delay machine to solve prior art determination
The technical issues of complicated for operation when code, higher cost.
A kind of equipment provided in an embodiment of the present invention, the equipment include converter, and the converter is external including presetting
Interface and the first communication interface and the second communication interface with the default external interface selective connection;The equipment is also wrapped
First processor is included, the first processor is used to run input-output system bios code in the equipment start-up course,
And the first information is exported to first communication interface, wherein the first information includes described in the equipment start-up course
The mark of the bios code of one processor operation;
It is connect if first communication interface is arranged in the converter with the default external interface, the equipment passes through
First communication interface and the default external interface export the first information to the inspection connecting with first communication interface
Measurement equipment;
It is connect if second communication interface is arranged in the converter with the default external interface, the equipment passes through
Second communication interface and the default external interface, the external device connecting with the default external interface are communicated.
Optionally, the equipment further includes controller, and the converter further includes control interface, the controller with it is described
Control interface connection;
The controller is for after receiving preset instructions, generating control signal, and passing through the control interface will be described
Control signal is sent to the converter;
After the converter is used to receive the control signal that the controller is sent, first communication is set and is connect
Mouth is connect with the default external interface.
Optionally, first communication interface is universal asynchronous receiving-transmitting transmitter UART interface.
Optionally, the default external interface is general-purpose serial bus USB interface, and the converter further includes that power supply connects
Mouthful, the equipment is that the external device or the detection device charge by the power interface;Alternatively,
The default external interface is earphone interface.
A kind of detection device provided in an embodiment of the present invention, the detection device include detection interface, second processor and
Display;
The detection interface is connect for the default external interface with measurement equipment to be checked;
The second processor, for obtaining the first information that the measurement equipment to be checked is sent by the detection interface,
And the first information is parsed, obtain the mark of the bios code of the first processor operation of the measurement equipment to be checked;
The first information includes the mark of the bios code of the first processor operation of the measurement equipment to be checked;
The display, for showing the mark of the bios code.
Optionally, the default external interface is USB interface or earphone interface.
A kind of detection method provided in an embodiment of the present invention, which comprises
Measurement equipment to be checked is connect by the default external interface of the measurement equipment to be checked with detection device;
After the measurement equipment to be checked receives preset instructions, the first information is transferred to the detection device;Described first
Information includes the mark of the bios code of the first processor operation of the detection device.
Optionally, the default external interface of the measurement equipment to be checked is USB interface or earphone interface.
Optionally, the measurement equipment to be checked is provided at least one key;The preset instructions are by described at least one
What the programmable button in a key triggered.
A kind of detection method provided in an embodiment of the present invention, which comprises
Detection device is connect by the default external interface of the measurement equipment to be checked with detection device;
The detection device receives the first information of the measurement equipment transmission to be checked, and solves to the first information
Analysis obtains the mark of the bios code of the first processor operation of the measurement equipment to be checked;It include described in the first information
The mark of the bios code of the first processor operation of measurement equipment to be checked;
The detection device shows the mark of the bios code.
In the above embodiment of the present invention, first processor can run input-output system in equipment start-up course
Bios code, if converter is arranged the first communication interface and connect with default external interface, the connect with the first communication interface
One processor can export the first information to the first communication interface, so that the detection device connecting with default external interface is got
The mark for the bios code for including in the first information;Correspondingly, if the second communication interface and default external interface is arranged in converter
Connection, then equipment can by the second communication interface and default external interface, the external device being connect with default external interface into
Row communication.It,, can be with by the way that default external interface to be connect with the first communication interface in equipment delay machine in the embodiment of the present invention
So that user easily gets the mark of bios code by presetting external interface, machine is torn open without carrying out, compared to existing
Technology, it is easy to operate, it is practical, and cost of human and material resources can be reduced;And default external interface can choose and first
Communication interface or the connection of the second communication interface, it can it is selected as Debug Card interface or normal communication interface, so as to
So that the application of default external interface is wider.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of possible system architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 a is a kind of structural schematic diagram of measurement equipment to be checked provided in an embodiment of the present invention;
Fig. 2 b is the structural schematic diagram of another measurement equipment to be checked provided in an embodiment of the present invention;
Fig. 2 c is the structural schematic diagram of another measurement equipment to be checked provided in an embodiment of the present invention;
Fig. 3 a is a kind of structural schematic diagram of the detection device provided in the embodiment of the present invention;
Fig. 3 b is the structural schematic diagram of another detection device provided in the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram that measurement equipment to be checked is connect with detection device provided in an embodiment of the present invention;
Fig. 5 is the corresponding flow diagram of a kind of detection method provided in the embodiment of the present invention;
Fig. 6 is the corresponding flow diagram of a kind of detection method provided in the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
Equipment in the embodiment of the present invention can be the equipment with display screen, or may be without display screen
Equipment, specifically without limitation.Hereinafter it is described so that equipment is laptop as an example.
At this stage, Port80 Debug Card is a kind of common detection device.Specifically, by carrying out tearing machine open to equipment,
And Port80 Debug Card is mounted in the preset interface (for example, interface A) of equipment internal circuit, user can pass through Port80
The operational process of bios code when Debug Card gets equipment starting.Wherein, on the detection interface of interface A and Port80 Debug Card
Ten ports are all had, therefore, Port80 Debug Card can be connected by the detection interface of ten ports with interface A, be realized logical
Letter.
Under normal conditions, there can be some default external interfaces (for example, interface B) in equipment, commonly preset external connect
Mouth includes general-purpose serial bus USB interface, earphone interface etc..However, interface B usually has small number of port, for example,
There are four ports, respectively two data transmission ports, power port and grounding ports for USB interface tool;For another example, earphone interface
There are three ports, respectively two data transmission ports and grounding ports for tool.It follows that the Port80 with ten ports is removed
Mistake card cannot be connect with default external interface, that is, cannot achieve communication.
It needs to carry out equipment to tear machine open due to connecting the method for obtaining bios code with interface A by Port80 Debug Card,
So that complicated for operation, the practicability is poor, may waste of manpower resource and material resources so that the experience of user is poor.Cause
This, needs a kind of detection method at present, to solve the prior art determine cause the code of equipment delay machine when complicated for operation, cost
Higher technical problem.
Fig. 1 is a kind of possible system architecture schematic diagram provided in an embodiment of the present invention, as shown in Figure 1, the system architecture
It may include measurement equipment 100 and external equipment 200 to be checked.In the embodiment of the present invention, measurement equipment 100 to be checked can be for default
Measurement equipment to be checked of external interface, such as laptop, tablet computer (ipad) etc., measurement equipment 100 to be checked can be by pre-
If external interface is connect with external equipment 200.
In the embodiment of the present invention, default external interface can for universal serial bus (Universal Serial Bus,
USB) interface, or may be earphone interface;External equipment 200 can be external device, or may be detection device,
Specifically it is not construed as limiting.If default external interface is USB interface, measurement equipment 100 to be checked can pass through USB interface and external device
(such as mobile hard disk, mouse, USB flash memory device etc.) connection or measurement equipment to be checked 100 can also pass through USB interface and detection
Equipment (for example, Debug Card) connection.In another example, if default external interface is earphone interface, measurement equipment 100 to be checked
It can be connect by earphone interface with external device (for example, earphone, bluetooth, sound equipment etc.) or measurement equipment to be checked 100 can also be with
It is connect by earphone interface with detection device.
Based on system architecture illustrated in Figure 1, Fig. 2 a is a kind of knot of measurement equipment 100 to be checked provided in an embodiment of the present invention
Structure schematic diagram, as shown in Figure 2 a, measurement equipment 100 to be checked may include converter 110 and first processor 120.Converter 110 can
To include default external interface 111 and lead to the first communication interface 112 and second of default 111 selective connection of external interface
Believe interface 113.Wherein, presetting external interface 111 can be USB interface, or may be earphone interface, not limit specifically
It is fixed.
In specific implementation, first processor 120 can be connect with the first communication interface 112, and first processor 120 can be used
In the operation input-output system bios code in 100 start-up course of measurement equipment to be checked, and the first information is exported to the first communication
Interface 120, the first information may include the bios code that first processor 120 is run in 100 start-up course of measurement equipment to be checked
Mark.Wherein, the mark of bios code can refer to the number of the row where bios code, or may also mean that bios code
Mark program field;The mark of bios code by octal representation or can also perhaps be gone back by hexadecimal representation
It can be by binary representation, specifically without limitation.In one example, first processor 120 can be in laptop
Basic input-output system BIOS chip can store various hardware devices in laptop start-up course in BIOS chip
Initial code and various hardware devices detection code, laptop starting when, first processor 101 can obtain
It takes the bios code stored in BIOS chip and is run according to the sequence of bios code, execute boot program.
In the embodiment of the present invention, first processor 120 can export the first information according to predetermined period, or can also be real
When export the first information;Correspondingly, the first communication interface 112 can obtain the first information according to predetermined period, or can also be with
The first information is obtained in real time, specifically without limitation.It in one example, may include that first processor 120 is transported in the first information
(for example, the number of the row where Nth row bios code is N, N is the number of row where capable nearest a line bios code
Integer greater than zero), at this point, first processor 120 when bringing into operation a line bios code every time, it can will include row BIOS
The first information of the number of code is exported to the first communication interface 112.
In one possible implementation, the first communication interface 112 can be universal asynchronous receiving-transmitting transmitter
(Universal Asynchronous Receiver/Transmitter, UART) interface, the first communication interface 112 can have
There are multiple function ports (for example, transmission port, supply port, grounding ports etc.), wherein transmission port can be used for transmitting
UART data.In the embodiment of the present invention, the biography of the quantity of the transmission port of the first communication interface 112 and default external interface 111
Defeated port number can be identical, and in one example, presetting external interface 111 has the first output port, then the first communication connects
Mouth 112 can have first input port, at this point, the first communication interface 112 can obtain the first letter from first processor 120
Breath, and after the first information (bus data format) is converted to UART data format, it is sent to external equipment 200.Another
In a example, presetting external interface 111 has first input port, then the first communication interface 112 can have the first output end
Mouthful, at this point, the first communication interface 112 can receive the third information of the input of external equipment 200 (for example, BIOS generation to be updated
Code), and third information is transferred to first processor 120.In yet another example, it is defeated with first to preset external interface 111
Inbound port and second output terminal mouth, the first communication interface 112 has the first output port and the second input port, at this point, first
Communication interface 112 can be with the simultaneous transmission first information and third information.
In the embodiment of the present invention, by the way that the quantity of the transmission port of the first communication interface and the biography of default external interface is arranged
The quantity of defeated port is identical, and the communication connection of the first communication interface Yu default external interface may be implemented, so as to realize
The communication connection of one processor and detection device, and then the mark of the bios code run in first processor is supplied to use
Family, the method that can not obtain bios code by presetting external interface compared with the prior art, can increase the simplicity of operation.
In the embodiment of the present invention, if converter 110 is arranged the first communication interface 112 and connect with default external interface 111,
Measurement equipment 100 to be checked can be exported the first information to first by the first communication interface 112 and default external interface 111
The detection device that communication interface 112 connects.Correspondingly, if second communication interface of the setting of converter 110 113 and default external interface
111 connections, then measurement equipment 100 to be checked is by the second communication interface 113 and default external interface 111, with default external interface 111
The external device of connection is communicated.
In the embodiment of the present invention, in measurement equipment delay machine to be checked, by the way that default external interface and the first communication interface are connected
It connects, user can be made easily to get the mark of bios code by presetting external interface, machine is torn open without carrying out, compare
It is easy to operate in the prior art, it is practical, and cost of human and material resources can be reduced;And default external interface can choose
It is connect with the first communication interface or the second communication interface, it can it is selected as Debug Card interface or normal communication interface, from
And the application of default external interface can be made wider.
It should be noted that can be closed by the connection of the hardware circuit in setting equipment 100 in the embodiment of the present invention
System can make equipment 100 preset external interface 111 by default and connect with the second communication interface 113.Correspondingly, exist
After the default external interface 111 of setting is connect with the first communication interface 113, writing from memory to equipment 100 can be restored in several ways
Recognize state.In one example, the communication process of memory 120 and recording device can be detected according to predetermined period, if detection
It does not communicate, then can restore to the default conditions of equipment 100 with recording device to predetermined period built-in storage 120.At another
In example, it can restore automatically after the restarting of equipment 100 to the default conditions of equipment 100.It in yet another example, can be with
Equipment 100 is restored to the default conditions of equipment 100 by the first preset instructions, the first preset instructions can be user's input
First voice messaging, or may be that user passes through the first programmable button touching at least one key on pointing device 100
Hair, specifically without limitation.
Fig. 2 b is the structural schematic diagram of another measurement equipment 100 to be checked provided in an embodiment of the present invention, as shown in Figure 2 b, to
Detection device 100 may include converter 110, first processor 120 and controller 130, and converter 110 may include default outer
Set interface 111, with the first communication interface 112 of default 111 selective connection of external interface and the second communication interface 113 and control
Interface 114.
In specific implementation, controller 130 can be connect by control interface 114 with converter 110, and controller 130 can be with
After receiving the second preset instructions, control signal is generated, and converter is sent control signals to by control interface 114
110.Correspondingly, the first communication interface 112 can be arranged after the control signal for receiving the transmission of controller 130 in converter 110
It is connect with default external interface 111.
In one example, controller 130 can be the embedded controller (Embed in laptop
Controller, EC).EC can be an independent controller, such as single-chip microcontroller, be in open state in laptop
When, EC can be used for controlling the keyboard, control charging indicator light or control fan of laptop;It is in laptop
When off-mode, EC also may be at open state, for waiting the power-on instruction of user, control laptop it is standby,
The states such as suspend mode.
In the embodiment of the present invention, the second preset instructions be can be by using the user of measurement equipment 100 to be checked to trigger, specifically
Triggering mode can there are many.In example 1, at least one key can be set on measurement equipment 100 to be checked, second is default
Instruction can be that the programmable button passed through at least one key triggers.Wherein, programmable button can be a key, or
It may be combination button, be specifically not construed as limiting.In example 2, speech detection dress can be set on measurement equipment 100 to be checked
It sets, the second preset instructions can detect the voice messaging of user's input for speech detection device and trigger.Other possible
In example, the second preset instructions can also trigger otherwise, and the embodiment of the present invention is not construed as limiting this.
By taking example 1 as an example, a kind of possible application scenarios are that measurement equipment 100 to be checked when delay machine, is used during starting
It family can be by the programmable button (for example, programmable button is Ctrl key+T key) on beating keyboard, so that measurement equipment to be checked
Corresponding functional module is based on corresponding function the second preset instructions of generation of programmable button and is transmitted to controller 130 in 100;Phase
Ying Di, controller 130 can receive to the second preset instructions, and measurement equipment 100 to be checked can be determined according to the second preset instructions
Delay machine during startup.
In the embodiment of the present invention, the second preset instructions can be user by clicking programmable button triggering, so as to
In equipment delay machine, user can easily get bios code by way of click keys, convenient for operation, practicability
By force, and the experience sense of user can be provided.
Fig. 2 c is the structural schematic diagram of another measurement equipment 100 to be checked provided in an embodiment of the present invention, as shown in Figure 2 c, to
Detection device 100 may include converter 110, first processor 120 and controller 130, and converter 110 may include default outer
Set the first communication interface 112 and the second communication interface 113, control of interface 111 and default 111 selective connection of external interface
Interface 114 and the first power interface 115.Wherein, presetting external interface 111 can be USB interface.
In specific implementation, measurement equipment 100 to be checked can be that external device or detection device are filled by the first power interface 115
Electricity.In the embodiment of the present invention, is powered by measurement equipment to be checked to detection device, may not need and use external power supply for detection device
Power supply increases practicability so that the operation is more convenient.
Fig. 3 a is a kind of structural schematic diagram of detection device 210 provided in an embodiment of the present invention, and as shown in Figure 3a, detection is set
Standby 210 may include detection interface 211, second processor 212 and display 213.Wherein, detection interface 211 can with it is to be checked
The default external interface 111 of measurement equipment 100 connects, so that detection device 210 and measurement equipment 100 to be checked communicate to connect.
In specific implementation, second processor 212 can obtain that measurement equipment 100 to be checked sends by detecting interface 211 the
One information, and the first information is parsed, obtain the first processor 120 of measurement equipment to be checked 100 for including in the first information
The mark of the bios code of operation.Further, the mark for the bios code that second processor 212 can obtain parsing is sent
To display 230, so that the mark of bios code is shown to user by display 230.In the embodiment of the present invention, display 230
Can be liquid crystal display, perhaps or charactron or can also be projector, specifically without limitation.
In one example, the first information includes the row where nearest a line bios code that first processor 120 is run
Number, then detection device 200 shows that the process of the mark of bios code is referred to the following steps a~step c and realizes:
Step a, the four nearest row bios codes that second processor 212 obtains are identified as { 1,34,4,84 }, then and second
Metric mark { 1,34,4,84 } can be converted to hexadecimal mark { 01h, 22h, 04h, 54h } by processor 212,
And it is sent to display 213 and is shown.
Step b, nearest a line bios code that the parsing first information of second processor 212 obtains are identified as 69, then
Metric mark { 69 } can be converted to hexadecimal mark { 3Fh } by second processor 212, and be sent to display
213 so that display 213 mark { 01h, 22h, 04h, 54h } shown on display 213 is updated to 22h, 04h, 54h,
3Fh}。
Step c, nearest a line bios code that the parsing first information of second processor 212 obtains are identified as 105, then
Metric mark { 105 } can be converted to hexadecimal mark { 96h } by second processor 212, and be sent to display
213 so that display 213 mark { 22h, 04h, 54h, 3Fh } shown on display 213 is updated to 04h, 54h, 3Fh,
96h}。
In the embodiment of the present invention, connected by detection interface with default external interface, can make detection device (for example,
Debug Card) and measurement equipment to be checked communication connection, to be run without that can be got in measurement equipment to be checked in the case where tearing machine open
Bios code so that it is easy to operate, be easy to implement;And display is provided on detection device, user can be made to pass through aobvious
Show that device gets the operational process of bios code in real time, increases the experience of user.
Fig. 3 b is the structural schematic diagram of another detection device 210 provided in an embodiment of the present invention, as shown in Figure 3b, detection
Equipment 210 may include detection interface 211, second processor 212, display 213 and second source interface 214.
In specific implementation, second source interface 214 can be connect with the first power interface 115, so as to be detected set
Standby 100, by the first power interface 115 and second source interface 214, power for detection device 210.
Fig. 4 is a kind of structural representation that measurement equipment 100 to be checked is connect with detection device 210 provided in an embodiment of the present invention
Figure, as shown in figure 4, the default external interface 111 of measurement equipment to be checked 100 can connect with the detection interface 211 of detection device 210
It connects, and the first power interface 115 of measurement equipment to be checked 100 can be connect with the second source interface 214 of detection device 210.One
Aspect, measurement equipment 100 to be checked can be powered by the first power interface 115 and second source interface 214 for detection device 210;
On the other hand, detection device can obtain the transmission of default external interface 111 of measurement equipment 100 to be checked with 210 by detecting interface 211
The first information, and can parse to obtain the mark of bios code, be shown on display 213.
In the above embodiment of the present invention, first processor can run input-output system in equipment start-up course
Bios code, if converter is arranged the first communication interface and connect with default external interface, the connect with the first communication interface
One processor can export the first information to the first communication interface, so that the detection device connecting with default external interface is got
The mark for the bios code for including in the first information;Correspondingly, if the second communication interface and default external interface is arranged in converter
Connection, then equipment can by the second communication interface and default external interface, the external device being connect with default external interface into
Row communication.It,, can be with by the way that default external interface to be connect with the first communication interface in equipment delay machine in the embodiment of the present invention
So that user easily gets the mark of bios code by presetting external interface, machine is torn open without carrying out, compared to existing
Technology, it is easy to operate, it is practical, and cost of human and material resources can be reduced;And default external interface can choose and first
Communication interface or the connection of the second communication interface, it can it is selected as Debug Card interface or normal communication interface, so as to
Increase the application of preset interface.
For above equipment, the embodiment of the present invention also provides a kind of detection method, and the particular content of this method can be applied
Into above equipment.
Fig. 5 is a kind of detection method provided in an embodiment of the present invention, this method comprises:
Step 501, measurement equipment to be checked is connect by the default external interface of the measurement equipment to be checked with detection device;
Step 502, after the measurement equipment to be checked receives preset instructions, the first information is transferred to the detection device;
The first information includes the mark of the bios code of the first processor operation of the detection device.
Optionally, the default external interface of the measurement equipment to be checked is USB interface or earphone interface.
Optionally, the measurement equipment to be checked is provided at least one key;The preset instructions are by described at least one
What the programmable button in a key triggered.
Fig. 6 is a kind of detection method provided in an embodiment of the present invention, this method comprises:
Step 601, detection device is connect by the default external interface of measurement equipment to be checked with the measurement equipment to be checked;
Step 602, the detection device receives the first information of the measurement equipment transmission to be checked, and to the first information
It is parsed, obtains the mark of the bios code of the first processor operation of the measurement equipment to be checked;It is wrapped in the first information
Include the mark of the bios code of the first processor operation of the measurement equipment to be checked;
Step 603, the detection device shows the mark of the bios code.
It can be seen from the above: in the above embodiment of the present invention, first processor can be in equipment start-up course
Middle operation input-output system bios code, if converter is arranged the first communication interface and connect with default external interface, with the
The first processor of one communication interface connection can export the first information to the first communication interface, so as to connect with default external interface
The detection device connect gets the mark for the bios code for including in the first information;Correspondingly, if the second communication of converter setting
Interface is connect with default external interface, then equipment and can preset external connect by the second communication interface and default external interface
The external device of mouth connection is communicated.In the embodiment of the present invention, in equipment delay machine, by by default external interface and first
Communication interface connection can make user easily get the mark of bios code by presetting external interface, without into
Row tears machine open, compared with the prior art, easy to operate, practical, and can reduce cost of human and material resources;And preset external connect
Mouth can choose to be connect with the first communication interface or the second communication interface, it can is selected as Debug Card interface or normal logical
Interface is believed, so that the application of preset interface is wider.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention
Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of equipment, which is characterized in that the equipment includes converter, the converter include default external interface and with
The first communication interface and the second communication interface of the default external interface selective connection;The equipment further includes the first processing
Device, the first processor is used to run input-output system bios code in the equipment start-up course, and exports first
Information is to first communication interface, wherein the first information includes the fortune of first processor described in the equipment start-up course
The mark of capable bios code;
It is connect if first communication interface is arranged in the converter with the default external interface, the equipment passes through described
First communication interface and the default external interface, the first information is exported to the detection connecting with first communication interface and is set
It is standby;
It is connect if second communication interface is arranged in the converter with the default external interface, the equipment passes through described
Second communication interface and the default external interface, the external device connecting with the default external interface are communicated.
2. equipment according to claim 1, which is characterized in that the equipment further includes controller, and the converter also wraps
Control interface is included, the controller is connect with the control interface;
The controller is for after receiving preset instructions, generating control signal, and by the control interface by the control
Signal is sent to the converter;
After the converter is used to receive the control signal that the controller is sent, be arranged first communication interface with
The default external interface connection.
3. equipment according to claim 1, which is characterized in that first communication interface is universal asynchronous receiving-transmitting transmitter
UART interface.
4. equipment according to any one of claim 1 to 3, which is characterized in that the default external interface is general string
Row bus USB interface, the converter further include power interface, and the equipment is the external device by the power interface
Or the detection device charging;Alternatively,
The default external interface is earphone interface.
5. a kind of detection device, which is characterized in that the detection device includes detection interface, second processor and display;
The detection interface is connect for the default external interface with measurement equipment to be checked;
The second processor, for obtaining the first information that the measurement equipment to be checked is sent by the detection interface, and it is right
The first information is parsed, and the mark of the bios code of the first processor operation of the measurement equipment to be checked is obtained;It is described
The first information includes the mark of the bios code of the first processor operation of the measurement equipment to be checked;
The display, for showing the mark of the bios code.
6. detection device according to claim 5, which is characterized in that the default external interface is USB interface or earphone
Interface.
7. a kind of detection method, which is characterized in that the described method includes:
Measurement equipment to be checked is connect by the default external interface of the measurement equipment to be checked with detection device;
After the measurement equipment to be checked receives preset instructions, the first information is transferred to the detection device;The first information
The mark of the bios code of first processor operation including the detection device.
8. the method according to the description of claim 7 is characterized in that the default external interface of the measurement equipment to be checked connects for USB
Mouth or earphone interface.
9. the method according to the description of claim 7 is characterized in that the measurement equipment to be checked is provided at least one key;Institute
Stating preset instructions is triggered by the programmable button at least one described key.
10. a kind of detection method, which is characterized in that the described method includes:
Detection device is connect by the default external interface of measurement equipment to be checked with the measurement equipment to be checked;
The detection device receives the first information of the measurement equipment transmission to be checked, and parses to the first information, obtains
The mark of the bios code run to the first processor of the measurement equipment to be checked;It include described to be detected in the first information
The mark of the bios code of the first processor operation of equipment;
The detection device shows the mark of the bios code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811459400.3A CN109558324A (en) | 2018-11-30 | 2018-11-30 | A kind of detection method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811459400.3A CN109558324A (en) | 2018-11-30 | 2018-11-30 | A kind of detection method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109558324A true CN109558324A (en) | 2019-04-02 |
Family
ID=65868476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811459400.3A Pending CN109558324A (en) | 2018-11-30 | 2018-11-30 | A kind of detection method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109558324A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806152A (en) * | 2021-09-14 | 2021-12-17 | 合肥联宝信息技术有限公司 | Fault diagnosis card and equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6064368A (en) * | 1997-04-09 | 2000-05-16 | Lg Electronics Inc. | User interface device for PC system |
CN104035844A (en) * | 2013-03-04 | 2014-09-10 | 联想(北京)有限公司 | Fault testing method and electronic device |
CN104077203A (en) * | 2014-07-16 | 2014-10-01 | 合肥联宝信息技术有限公司 | Method and device for diagnosing computer hardware through USB interface |
CN104375916A (en) * | 2014-10-17 | 2015-02-25 | 合肥联宝信息技术有限公司 | Method and device for directly achieving computer hardware diagnosis through USB interface |
CN104731681A (en) * | 2015-03-09 | 2015-06-24 | 联想(北京)有限公司 | Diagnostic device and information processing method |
CN206193763U (en) * | 2016-11-16 | 2017-05-24 | 广州番禺职业技术学院 | A diagnostic card for embedded equipment |
CN108038034A (en) * | 2017-12-12 | 2018-05-15 | 北京小米移动软件有限公司 | Electronic equipment adjustment method, adapter, device and storage medium |
-
2018
- 2018-11-30 CN CN201811459400.3A patent/CN109558324A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6064368A (en) * | 1997-04-09 | 2000-05-16 | Lg Electronics Inc. | User interface device for PC system |
CN104035844A (en) * | 2013-03-04 | 2014-09-10 | 联想(北京)有限公司 | Fault testing method and electronic device |
CN104077203A (en) * | 2014-07-16 | 2014-10-01 | 合肥联宝信息技术有限公司 | Method and device for diagnosing computer hardware through USB interface |
CN104375916A (en) * | 2014-10-17 | 2015-02-25 | 合肥联宝信息技术有限公司 | Method and device for directly achieving computer hardware diagnosis through USB interface |
CN104731681A (en) * | 2015-03-09 | 2015-06-24 | 联想(北京)有限公司 | Diagnostic device and information processing method |
CN206193763U (en) * | 2016-11-16 | 2017-05-24 | 广州番禺职业技术学院 | A diagnostic card for embedded equipment |
CN108038034A (en) * | 2017-12-12 | 2018-05-15 | 北京小米移动软件有限公司 | Electronic equipment adjustment method, adapter, device and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806152A (en) * | 2021-09-14 | 2021-12-17 | 合肥联宝信息技术有限公司 | Fault diagnosis card and equipment |
CN113806152B (en) * | 2021-09-14 | 2024-04-19 | 合肥联宝信息技术有限公司 | Fault diagnosis card and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10846160B2 (en) | System and method for remote system recovery | |
CN103412769B (en) | External card parameter configuration, equipment and system | |
WO2019153544A1 (en) | Annotation backend check method and apparatus, computer device and storage medium. | |
US7930162B1 (en) | Accelerating hardware co-simulation using dynamic replay on first-in-first-out-driven command processor | |
US20170031694A1 (en) | System and method for remote system configuration managment | |
WO2022213832A1 (en) | Computer device, virtualization acceleration device, remote control method and storage medium | |
US10921870B2 (en) | System and method for hybrid power supply | |
TW201821990A (en) | Computer system and detection method | |
WO2017020459A1 (en) | Method and apparatus for configuring plugin package for host | |
WO2020019490A1 (en) | Interface testing method, electronic device and storage medium | |
EP3442166B1 (en) | Composing by network attributes | |
WO2024007510A1 (en) | Server management method, apparatus and system, and electronic device and readable storage medium | |
CN102147831A (en) | Logic verification method and device | |
US10275299B2 (en) | Efficient transfer of data from CPU to onboard management device | |
US11429723B2 (en) | Multi-domain boot and runtime status code drift detection | |
CN110209335A (en) | The control method and device of intelligent terminal | |
CN109558324A (en) | A kind of detection method and equipment | |
WO2024032388A1 (en) | Mainboard for security validation, security validation method and apparatus, and medium | |
WO2011109971A1 (en) | Circuit and method for microcontroller online debugging, microcontroller | |
US10628285B1 (en) | Dynamic configuration of availability of debugging messages | |
TW201349120A (en) | Method for performing basic input output system utility program without system management interrupt mechanism | |
US9058184B2 (en) | Run time generation and functionality validation of device drivers | |
US11995562B2 (en) | Integrating documentation knowledge with log mining for system diagnosis | |
JP5489278B2 (en) | Information processing apparatus and activation method thereof | |
US10866922B1 (en) | Firmware debug trace capture using serial peripheral interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190402 |